Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rovolo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
271.
▲
by
rovolo
7y ago
> similarly early ... outcomes are worse It takes time to go from infection -> sick -> diagnosis -> death. IL and CA would have had inertia following the stay-at-home proclamations. CA started with 25% daily case growth and has
272.
▲
by
rovolo
7y ago
There shouldn't be a difference between Aliasing and cloning for immutable data because you can't change the data. Deep vs shallow operations is an issue in both imperative and functional programming. In python, you have '==&
273.
▲
by
rovolo
7y ago
On the other hand, we have to teach people about aliasing vs cloning in imperative languages. a = [1, 2, 3] b = a b.append(4) assert a == [1,2,3] No matter which paradigm we use, there are going to be hidden traps new p
274.
▲
by
rovolo
7y ago
I'm looking at the timeline on wikipedia, and it looks like you should be saying 'January' instead of 'December': Dec 30: The Wuhan Municipal Health Committee reported to the WHO that 27 people had been diagnosed wi
275.
▲
by
rovolo
7y ago
Because the virus is spreading exponentially, the rankings for per-capita cases/deaths are going to be highly dependent on how long the outbreak has been going on in that area. Is the US's health care system worse than Palestine,
276.
▲
by
rovolo
7y ago
Deaths per capita will be most important at the end of the pandemic. Right now you're better off looking at case-fatality-rate, day over day rate of new cases, and the current number of cases. Right now the US is at 52K cases and ~650
277.
▲
by
rovolo
7y ago
South Korea has twice the population of Texas (51.7M vs 19M). Alaska is twice as big as Texas, is it harder to test everyone in Alaska than Texas?
278.
▲
by
rovolo
7y ago
I've embedded the tweet in wikipedia's timeline of events (I've trimmed the events). https://en.wikipedia.org/wiki/Timeline_of_the_2019%E2%80%932... 31 December On 31 December 2019, China contacts the WH
279.
▲
by
rovolo
7y ago
SARS was much more contained, and only infected ~8K people. It infected ~3K people outside of China, most whom were in east Asia. The case counts outside east Asia were in descending order: - Canada: 250 - US: 27 - Germany: 9 Areas affected
280.
▲
by
rovolo
7y ago
The 10K+ deaths is over the entire course of H1N1/09. The US had ~4K deaths from 2009-04 to 2009-10 [1]. Italy has had 3K deaths in just 2020-03 [2]. You can't directly compare the early state of COVID-19 to the end state of H1N1&
281.
▲
by
rovolo
7y ago
I don't think that your example of Sickle Cell (SCD) is a good comparison to the original quote: > how an ethnicity affects the virus spread and severity … certain communities are more endangered than others. SCD is a genetic diseas
282.
▲
by
rovolo
7y ago
Why does the difference cost £1000? The electric assist bike conversion kits I see in the US are $300-500. Are the purpose-built ebikes tons better than the conversion kits?
283.
▲
by
rovolo
7y ago
> Finally we’re finished! A little experimentation will convince you that this zoop thing we just wrote is in fact just foldr zoop _ b [] = b zoop abb b (a : as) = abb a $ zoop abb b as It's difficult to underst
284.
▲
by
rovolo
7y ago
RE (2): Defer. The diagram has an extra box in the control flow which is unnecessary. You can label the big boxes from top to bottom like so: A E B <unnecessary> D C. A good use case for understanding the control flow of 'defer&#
285.
▲
by
rovolo
7y ago
This confusion reminds me of a scene from the 2002 film of Dave Barry's "Big Trouble". (Driving to an airport) "Okay, we gotta pick a road. Arrivals or departures? We're arriving, but then we're departing."
286.
▲
by
rovolo
7y ago
This is a good answer to a previous thread [1] in which people were discussing promises vs threads for asynchronous computing. [1] Threads Are a Bad Idea for Most Purposes (1995) https://news.ycombinator.com/item?id=22165193
287.
▲
by
rovolo
7y ago
> is why generalising these operations is considered a good thing? > Is this operation happening in a future? or is on a list? You could argue that the type signature will let you know, but quite often it's inferred. 1) You are g
288.
▲
by
rovolo
7y ago
I think they mean type classes/constructors [1] since they're talking about fmap, though I'm not sure what the proper name is for that concept. What name would you use? They're trying to say that Java doesn't suppor
289.
▲
by
rovolo
7y ago
Personally, my issues with threads and the various locks is that you have to manually manage resource ownership. It's kind of like programming without types, with manual memory management, or with null values. It's easy to program
290.
▲
by
rovolo
7y ago
1) Do they want you to fix their problem, or do they just want you to be aware of their problem? (wait until they ask a direct question) Ex: Them: My foot is broken You: Have you considered not walking on it? Have you considered putting a c
291.
▲
by
rovolo
7y ago
The Apollo flights used NM on their screens for nautical mile. [pic (right-most screen)] https://cdn.arstechnica.net/wp-content/uploads/2012/10/liebe... [article] https://arstechnica.com/
292.
▲
by
rovolo
7y ago
This book and the Coq proof assistant are what pushed me to learn Emacs. The 'coqide' application my class (CSE 505 at UW) used was not a good text editing experience. Emacs + Proof General by contrast were incredible. It's i
293.
▲
by
rovolo
7y ago
What do you mean when you say 'Russia' then? Do you mean the Kievan Rus? That's the only 'Rus' name I see applied to Ukraine on its wiki page. If so, that was 8 centuries ago, and the Russian ethnic group at that ti
294.
▲
by
rovolo
7y ago
I'm not sure this is the reason, but function types look better if you put the return type after the parameter types. Compare C to Kotlin: float (* f)(int); val f : (int) -> float; float[] (* map)(int[], float (*)(in
295.
▲
by
rovolo
7y ago
That's only if they are offering some sort of product. Based on their website blurb, they're probably getting paid as consultants by electric companies: > We interact directly with the grids, helping to plan for generation, flo
296.
▲
by
rovolo
7y ago
If by 'based on astronomy' you mean 'based on the sun' because the sun is a star, then I agree. But, plenty of software has lots to do with the sun because they have to interact with people, and people like to be synch
297.
▲
by
rovolo
7y ago
Amazon weights reviews based on the reviewer: https://www.wired.com/story/amazon-stars-ratings-calculated/
298.
▲
by
rovolo
7y ago
I'm impressed. Being able to search for functionality by the function signature seems incredibly useful. In the "Verb-Noun vs Noun-Verb" thread from a couple days ago [0], people were saying that OO languages make autocomplet
299.
▲
by
rovolo
7y ago
I'm not sure which of these two points you're trying to make: 1) These specific counties could be flukes because of their small population. We can account for that by making multiple observations--i.e. look at multiple years of da
300.
▲
by
rovolo
7y ago
By PTO are you deliberately narrowing to vacation? Full time workers also get 6 days/year Personal Time. The current US vacation schedule also changes over time, from worse than 10 days to 15 days. 1st year: 5 days, 2nd: 10 days, 3rd:
More ›