Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pacala
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
pacala
6y ago
Number of people is what ultimately matters. The amount of CO2 per capita tends towards the same ballpark. Somewhere between 5-10 t/year/capita [0]. US, alas, is at 16t/year, though decreasing. Overall contribution: 330M * 16
122.
▲
by
pacala
6y ago
Ah. Thanks for the data. Now that you mention it, I realize that plenty of drivers run red lights regularly. And yet I very rarely registered it as an emergency situation, especially compared to cyclists. What is going on?! * Some cyclists
123.
▲
by
pacala
6y ago
I have seen maybe once or twice in a decade a driver running a red light. I see about 1 in 10 cyclists running a red light. The proportions aren't even close.
124.
▲
by
pacala
6y ago
City driving: some drivers have the unpleasant habit of approaching an intersection from a secondary road with no visible slowing down, slamming the brakes at the very last moment. If I happen to glimpse such a vehicle, I hit the brakes mys
125.
▲
by
pacala
6y ago
Can you please give an example of React hooks 'dynamic scoping'? See https://stackoverflow.com/a/22395580 for an introduction to dynamic scoping. React hooks 'state' variables are scoped to a single
126.
▲
by
pacala
6y ago
Memoization is getting me too. I end up memoizing everything, which is more verbose than I'd like. Perhaps we're missing some obvious pattern?
127.
▲
by
pacala
6y ago
You'd be surprised. The only deeper dive into Components is https://reactjs.org/docs/state-and-lifecycle.html of the "Main Concepts" section, which I skipped in favor of https://reactjs.org&#x
128.
▲
by
pacala
6y ago
Of course. * "A Critique of React Hooks" * "A Critique of the Change Costs Induced by React Hooks". Objections to React Hooks are stronger if they don't invoke change costs as the primary three concerns.
129.
▲
by
pacala
6y ago
Huh? You can treat state as arguments to your function. For a given function evaluation, the state is stable. The fact that state can be changed during event handling is 100% irrelevant to the evaluation. There is no dynamic scoping.
130.
▲
by
pacala
6y ago
1. It's not more stuff to learn, it's different stuff to learn, arguably less. Learning Components is not a prerequisite for learning Hooks. Or perhaps I missed the memo, as I've built an app using Hooks, and still haven&#x
131.
▲
by
pacala
6y ago
I guess we have to wait. Do you expect the counts to shoot up 10x or 10%? * Not sure how to read the Japanese study. There were 3700 passengers on that ship, the CT study only tracks 101 of them. I could not figure out the selection process
132.
▲
by
pacala
6y ago
Thanks for the link. If anything, these graphs are assuaging. I notice 2 things: * The spike is steep, but it appears to have quickly receded. Perhaps an artifact of what you are calling 'not done counting deaths'. Would you elabo
133.
▲
by
pacala
6y ago
... in a sensationalist manner. If you scroll down low enough, you stumble upon per country multi-year comparisons. Notice how for Sweden, Switzerland, France or England the spike is not much higher than the seasonal 2017 flu. Moreover the
134.
▲
by
pacala
6y ago
The spike has all but receded. Maybe be we're just having 3 flues in one year. Reason enough to stop the world?
135.
▲
by
pacala
6y ago
How about snooping the traffic through a load balancer service managed by AWS? That's exactly 'identifying trends on a competitive marketplace and taking advantage of them by launching competing product', except that instead
136.
▲
by
pacala
6y ago
At the very least, they own your IP traffic. From there, every single value-add service you use gives them an opportunity to eavesdrop your data. Take, for example, https://aws.amazon.com/elasticloadbalancing . All of the su
137.
▲
by
pacala
6y ago
That end is incredibly sad. We still have to pay our mortgage and our dentists, but can't ask for a fair pay for our highly skilled work. I guess we deserve the ad-based monetization model that has taken over the world. Brave new world
138.
▲
by
pacala
6y ago
The more restrictive the license, the more it drives potential users and collaborators away. That being said, do you have a concrete licensing model in mind?
139.
▲
by
pacala
6y ago
How do you solve for 'work for 5 years on open source project, get it to some degree of popularity, watch AWS making a service out of your code without paying you a dime'?
140.
▲
by
pacala
6y ago
[Not the person you addressed this question to]. I don't. Do you? We are 3 months into this mess and have wildly divergent facts that can't be reasonably reconciled. Some attempts: * The regular flu season uses 75% capacity of the
141.
▲
by
pacala
6y ago
That attitude reminds me of certain type of software engineers: We are engineers, our time is too valuable to write tests, hire someone else to do so. When I hear that, I run away. Fast. The world needs results, and there are little. How ab
142.
▲
by
pacala
6y ago
FWIW, that's the exact same point I made in the GP, with s/HIV/old age/ and s/flu/covid/.
143.
▲
by
pacala
6y ago
I agree, the fatality rates reported in the media smells of overhype. A lot. Over here in WA, the testing policy is along the lines of "Test patients hospitalized with severe lower respiratory illness or people working in critical sect
144.
▲
by
pacala
6y ago
I would love to bound the death rate, both lower and upper, ideally by age group. Right now I'm torn between 'it's a nasty flu, soldier up' vs. 'it's a supernasty disease that's going to severely upend lif
145.
▲
by
pacala
6y ago
Nitpick: The percentages sum up to 100, and represent the percent of total deaths, not deaths among people of certain age. Not sure pointing fingers helps. Someone could also point fingers and claim "so you're willing to let peopl
146.
▲
by
pacala
6y ago
Conducting experiments is expensive in both money and effort. Let's all sit in our comfy chairs and build fancier models with garbage data instead. If we could divine just the right formula, it will magically paper over the holes in th
147.
▲
by
pacala
6y ago
The disease does not affect age groups equally. From what I've seen, most victims are in the 60+ age groups. From NYC fatality report [0]: 0-9: 1 0% 10-19: 6 0.1% 20-29: 56 0.4% 30-39: 227 1.6% 40-49: 535 3.7%
148.
▲
by
pacala
6y ago
January. February. March. April. It's been almost 4 months since we know about Covid-19. From the rock I'm living under, it appears that the scientific community at large has produced remarkably little reliable data. Where are the
149.
▲
by
pacala
6y ago
The conflict of interest part is fair. The "Note that the senior author Bhattacharya and of course Ionnadis were advancing this theory before data collection began" is not. That's how science is done: you advance a theory, th
150.
▲
by
pacala
6y ago
They made a hypothesis and conducted a study to validate it. Perhaps they are wrong. Would be far from the first time studies are proven wrong. At least they did something. Make a better study. Make a hundred better studies. Prove them wron
More ›