skysight-inc/HackerNews huggingface dataset:
This is something that is really nice in gevent. Under the hood it's doing something similar to what the article says - every time you make a blocking call (in gevent, this means yielding to the event loop until your event occurs), you might have a gevent.Timeout raised.

Since gevent is generally used by monkey-patching all standard IO, most code doesn't even need to be aware of this feature - it just treats a timeout as an unhandled exception.

From the user's perspective, it can be used simply as a context manager that cancels the timeout on exit from the block:

with gevent.Timeout(10):
requests.get(...)

By default this will cause the Timeout to be raised, which you can then catch and handle. As a shorthand, you can also give it an option to suppress the exception, effectively jumping to the end of the with block upon timeout:

response = None
with gevent.Timeout(10, False):
response = requests.get(...)
if response is None:
# handle timeout
Nitpick:

> Crash was 512 polygons in the first game, with textures only for his spots and his shoelaces, and his model didn’t change much through the 3 platform titles. It took me a month to settle on the perfect 512. As Andy said, we went with non-textured polygons instead of textured ones on most of the characters. Instead of texture, we used corner colors to create the textures that seemed to be there.

> There were many advantages to this strategy. The simplest was that we got more polygons. But we also solved a texture stretching and warping issue inherent in the PlayStation’s renderer that tended to make textures look terrible. Since you spent most of your time looking at the character, and he could get quite close to the camera, avoiding texture mess meant a lot for visual quality.

> And there was another important issue solved by using polygons instead of textures. The PlayStation tended to render every polygon as a pixel, no matter how small it got. Had Crash’s pupils been texture, they might have disappeared when the got smaller than a pixel. But by making the pupil 2 polygons (a quad), they almost always showed up as long as the total eye, including whites, was more than a few pixels tall. Subtle, but trust me, it made the game so much more clean looking. It’s the small things that matter.

Source: Jasons comments in part 3 ( https://all-things-andy-gavin.com/2011/02/04/making-crash-ba... )
Wikipedia-grade non-biologist here, so again, feel free to correct me if I'm wrong.

As far as I'm aware, antibodies don't stick around after they're no longer needed... They're produced by B cells when an infection is detected, and after an initial infection, some B cells that learned how to make effective antibodies stick around in your body as "memory B cells" - these will produce the same antibodies again upon reinfection.

Counting antibodies a few years after a SARS infection doesn't seem like it would tell you much about immunity.
Sounds like Gattica :)
18th European Tcl/Tk User Meeting
It's likely as nothing compared to running over the strip with a tractor / slasher twice a year ... BUT I expect the timings of those ensure minimal impact to the life cycles of the insects, plus most that are in a mobile phase of their life will likely fly out of the way quickly enough.

Either way, the fact numbers are increasingly rapidly suggests the tradeoff is in favour of the butterflies.
I never understood this logic, and I understand it even less now. If we have the industrial / economic capacity to provide everyone with necessities of life (food, water, heat, shelter, ...), why not just provide that directly?! No need to go via the "money -> essentials" route... that way you're only indirectly making landlords and grocery store owners rich.

For this crisis, people are saying, give $1000 to everyone... that money is mostly going to find its way into the pockets of already rich people, and/or those companies that should have collapsed because of bad planning, but now won't. Instead, you could legislate things like food stamps for everyone (with the government paying grocers directly, while at the same time ensuring the money isn't spent on shit like alcohol and cigarettes), and a few months of rent amnesty for everyone (including businesses) (it's not like houses will disappear if somebody doesn't pay the rent).
> I understand the risks

That's not possible, because we don't yet have enough information about covid-19. We're still trying to work out what the death rate is!

> It's just not that scary unless you're in an at-risk category. I say this as a British male in my 30's.

So far we think your chance of death if _you_ (30 years old, no comorbidities) get covid-19 is between 0.5% and 1.5%.

And that's if the hospitals are not overwhelmed. One thing that will overwhelm the hospitals is people like you spreading disease.
The Wikipedia reference OP provided claims Universal Basic Income as a solution.
Each outbreak is regional, having the numbers normalised to the total country population doesn't really give interesting information. It is the medical system of that specific region that is at risk of saturation.
I don't know if this is a dev problem.
For sure, help to build awareness. A lot of people still ignore because of fake news.
That's why I've been arguing for a while that open immigration into Europe is unfeasible... EU countries already have forms of UBI, in the sense of strong social safety net, (mostly) free medicine, etc. Open immigration might be easier on the US as it provides less unconditional benefits to its residents.
> Part of the reason mortality rates are so high among the elderly, though, is the fact that they are de-prioritized in cases when there is a scarcity of beds, ventilators, or other stuff.

This is absolutely NOT TRUE

They died because prior conditions made them weaker and a pneumonia at 84 is as deadly as a bullet in the head

Nobody is left to die in Italy

My parents have worked in the healthcare for 40 years before retiring, here we try to save everybody at the best of our abilities
I think as the number of cases explode with more testing availability, governments at all levels will be pressured into taking more action if only to show the population something is being done.

But yes, we now know it's already too late. The US has failed to contain the disease like China, Hong Kong, Taiwan etc did, and the CDC already expects most of the U.S. population will be exposed to this virus eventually. There's no precedent yet for a COVID-19 epidemic of this size -- China has successfully contained it, and Italy's population is just 1/5 of the US.

But on the other hand, we as average people can still do our part and meaningfully contribute to flattening the curve. Even one unnecessary death avoided is a win.
Upvoted. But, I would change this:

>> The only safe thing to do is to avoid catching it

to

>> The only safe thing to do is to avoid spreading it

(And this is why young people need to take as much note as older people)
Twitter: https://twitter.com/homeferences
That particular behavior (and some other examples of pathological optimizer behavior) is probably an emergent property of how several optimizations combine as opposed to being a specifically targeted optimization. I can imagine something the optimizer doing something like:

1. Determine possible function call targets

2. Eliminate invalid targets from call set

3. If only one target remains, replace indirect call with direct call

That might be useful for something like devirtualization, but also could lead to the behavior exhibited in that blog post.

Indeed, the second blog post [0] shows that if there are two possible call targets, LLVM could generate an indirect call like what you may expect.

[0]: https://kristerw.blogspot.com/2017/09/follow-up-on-why-undef...
Sounds cruel but famines are localised suffering that have little effect on the rest of the world. Of course if you measure deaths it is not anywhere close to anything. If you measure global life impact it is surpassing everything since ww2.
Active Directory Backup Best Practices
https://en.wikipedia.org/wiki/Militarism

"Militarism is the belief or the desire of a government or a people that a state should maintain a strong military capability and to use it aggressively to expand national interests and/or values."

If you keep your army at home you're not really using it aggressively to expand national interests.
Do you think poor or "ugly" people think being a star of a freak show is the highest form of entertainment they ought to participate in?
The Sneeze
The real bullshit is the idea of debt in the first place.

There is no debt. There's only the use of "debt" and "lending" as a thinly disguised pretext for feudal tribute used for political advantage.

If we don't work through this it's going to kill us as a species.

Doing strategically useful stuff that generates invention and opportunity instead of making plastic toys that end up in landfill is a different but not entirely unrelated problem.
Add cigaret smoking and alcohol consumption at every emotional turn in the narrative because that's "how people behave in the western world".
> we decided we wanted uncontrolled immigration

The US definitely has an immigration policy. Not to mention that no serious politician today (despite what some media outlets may claim) is running on a platform of open borders.
I don't know this person, but many today strike me as cynical, short-sighted and narrow-minded, when they portray a world where nobody needs you, as some kind of utopia.
The Largest-Ever Work from Home Experiment – CryptoTask
> they go from cough to full-on pneumonia in less than two hours, and die on the ambulance

From cough to full pneumonia in few ours sounds made up

But people with severe pneumonia that die in the ambulance is not rare

Pneumonia still kills 13 thousands people every year in Italy

Pneumonia has a very high mortality rate, the average for EU is 25/100 thousands while covid-19 is at 2/100 thousands

The flu kills between 9 and 10 thousands people every year in Italy

Most die home because nobody goes to the doctor for a flu usually

If they did, even with light symptoms, we would have the same situation we are having now
Well, did you stop reading the article past the pic, do it yourself from scratch and finish in 10 minutes, or did you just nod along each time?
> There you go, I guess I just pissed on every holy cow this crowd has. You know where the downvote button is.

Your comment would've been stronger without this line.
ForkGoogle: Blockchain-Powered Alternatives to YouTube
The moral of the story is you're supposed to be generous to your employees by reflex without having to wait for excess labor difficulties or costs to become quantifiable.

Pinpointed savings will always be limited and never correlate very well with the unlimited advantage of a more motivated staff after all.
I don’t see there being any material difference in providing cash vs providing food stamps / rent amnesty.

Either way, government money (ie. tax money) will be funnelled to, in your words, “already rich people”.

Your way is probably worse, because it forces governments to pick winners, which they are notoriously bad at doing.
>but the tool can't possibly know what the full relation between input and output is (because by definition the macro is an arbitrary function)

The macro can associate output tokens with the spans of input tokens, either by reusing the input tokens (`#[derive(Foo)] struct S;` -> `impl Foo for S`, the `S` is reused), or using the macro API which allows specifying an arbitrary span for new tokens. This is required both for ident hygiene and for associating errors with the source code, thus it is a core part of the macro API. And since the compiler has this information, tools have it too.

That means if you have

#[foo]
struct S; // (1)

let s = S; // (2)

and use an IDE to refactor-rename `S` to `S2` at the line marked (2), the IDE has enough information to know that it must also rename the `S` at the line marked (1), even though it's a macro input. This applies equally well to function-style proc macros `foo! { S }`
In common use, the way 'professional' is used seems to vary heavily.

Is someone who makes a hundred bucks a month streaming on Twitch a professional gamer? What about someone starting their own architecture business, which is currently unprofitable? Is the shop assistant who does all the cake decoration a professional cake decorator, despite having many other duties? Do state regulation and professional bodies come into it, and if so what happens in jobs without professional bodies? Is an accountant who works 2 days a week and is a stay-at-home parent 3 days a week different from a dancer who works 4 months a year as a dancer, and 8 months a year as a shop assistant?
You’re essentially asking for the end of capitalism, and a restructuring of the economy we haven’t seen since the Great Leap Forward and the Maha Lout Ploh.

The bullshit jobs are mostly the good jobs right now. The travel, restaurant, and entertainment industries are filled with non-bullshit jobs that are going away in the next week.

In other words, you’re asking for half the world to get a different job.
I don't understand why we are not trying to interrupt the transmission vectors with masks and hand sanitizer like the Chinese do. They ramped the daily production from 10M to 100M and even advised the use of make-shift masks.

The reaction in the west: masks are not protecting 100% and also we don't have any and we are too lazy to produce them, although they are much cheaper than the economic impact covid-19 has.

1. you go out, you wear a mask

2. you are not allowed into a super market without hand sanitizing

3. you clean your hands when coming home or going into your office

4. wear any kind of glasses

We know the transmission vectors but the whole response in the west is solely based on quarantaine - like we would still not know what viruses are and how they are transmitted.

Reducing social contact is one thing, reducing virus dispersion is the other and it is cheap.

You have a sewing machine? Go start making masks.
I think the only reason the Chinese edition exists is because most Chinese people aren't bothered by censorship. the main reason they might want to tunnel outside the Great Firewall is if they are bothered by censorship. any Chinese person who can read English and use a VPN is "free" to download and use the official Minecraft. but doing so labels them an activist, spy, traitor, etc. it's like trying to play games on a school computer, if there's a will there's a way. I appreciate the effort but if you want to learn anonymously, it would be much easier to use Tor and Wikipedia
Is there a marketplace for ideas for fighting COVID-19 or mitigating its effect on people?
Exactly. Also, that scatter has very high variance. I feel a lot less confident about the authors conclusions if they call that a "perfect" correlation
Here's a less dystopian variation of your idea.

Everyone has access to those swabs, either for free, included with their health insurance plan, or at a marginal cost. It's not mandatory to use it every day, but there are incentives such as automatic sick pay and discounts on health insurance. On the other hand, there will be serious legal consequences if you test positive, decide to go to work anyway, and end up infecting other people. If it was your employer who told you to come in, your employer bears those consequences instead.

Money speaks louder than common sense. One of the reasons law exists is to tweak the incentive structure so that they align better with common sense.
I suggest you read my comment again.

Famine due to global warfare is not localized, and each one listed had tens of millions of fatalities.
Any possibility she could head back to NZ? I guess the lease is stopping this right?
I really needed this optimism, thank you.
China did not prevent Covid-19 from spreading.

They simply did not test for Covid-19 in other states. US repeated the same strategy: no testing for Covid-19 - means no information about Covid-19 cases.
I have zero strong feelings about anything you wrote, no holy cows, no anything else – but I do despise downvote-martyrdom. Please, let's not make this place reddit.
We Shouldn’t Hope Covid-19 Is Seasonal Like the Flu
The fact that we have collectively chosen to prioritise designing, manufacturing, distributing, promoting, and selling, the volume of plastic bullshit that we do, surely says something about us that warrants deep collective reflection.
I don't get what point is the author is trying to make.
If it is to show that Rust outperforms C++ when implementing COW, I think he is mistaken. COW is intrinsically performance limited in multithreaded environments, this is not a language defect.
The examples shown are definitely not apples-to-apples comparisons. The author compares C++ runtime-evaluated COW to a compile time evaluated strategy in Rust. At least, that is my take on this. I'm interested in learning Rust, but I feel either I am not seeing the whole picture, or Rust is only an interesting option if you are not already a seasoned C++ engineer. (with up-to-date practices on how to use the language)
Who would choose to spend time working though if they could do whatever they wanted instead without cost?
> I've heard complaints from people who've re-ordered things this way that the fit changed between orders.

When you start ordering clothes online you discover in a real hurry that sizing is agonizingly approximate on the best of days. The same size can be significantly differently sized between batches. I figure it's due to fabric being tricky to work with in a factory setting. One worker might sew the seam allowances a smidge tighter than another which can easily add up in a garment.

That said, there's nothing quite like knowing exactly which size of which model of which brand shoe to buy without having to go shopping. It has changed buying shoes from a weekend-long hunt to a 10-minute online order which gets me exactly the same shoes as the old pair. I've been looking for a good brand of socks to do the same trick with, If I can just find a single model of nice wool socks I can order online I'll be so happy -- cold feet and ill-fitting socks are no fun.
Unfortunately a vaccine is unlikely to work. This is probably being done more for optics. This virus likely has Antibody Dependent Enhancement. Same reason there's no vaccine for SARS or MERS. It's 4am and I should be sleeping but there's a paper floating around where a bunch of SARS candidates were trialed on multiple species. In ever case immunity was conferred but upon re-exposure the animals had autoimmune lung damage.

This virus is far more dangerous than most people understand now. The news media has been a month late in everything since they started reporting because all of this is evolving too rapidly to confirm to journalistic standards. You have to dig for this information yourself.
Sum and Colourful Numbers – Weekly Challenge
Going into debt is a big problem if it eats up all of your tax revenue to service it. The WW2 debt was managed by growing the economy to the point where the debt became a small fraction of tax revenue. It seems impossible for modern economies to grow like that today.
Just to counter the impression that the whole of China is in lockdown: https://twitter.com/DanielFalush/status/1239049733974433798

You can still go clubbing in Shanghai with certain restrictions.
p7zip, the portable version of 7-Zip works on Linux, macOS and other Unix systems as well. It also has a Debian package.

Data recovery from that FAT32 filesystem would have worked identically in p7zip (and 7-Zip).
First off, that book is terrible and most of those jobs are perfectly valid. However lets assume we 'eliminate all the bullshit jobs', what do those people do, go home and self-isolate until there's a safe cheap vaccine?

No, in this theoretical ideal perfect world you are proposing we conjured into existence in a matter of months, they would take up productive jobs. So they would be going to work, meeting people, socialising and spreading the virus just as much as they were before. It's no the same problem.
I’m not aware of any place that has a completely open boarder.

What are you referring to here?
Yes the issue is the stability of the plastic at the temperature and pressures that sterilisation needs. I know that plastics have been developed for exactly this purpose but I don’t think they’re very widespread yet.
Nearly 20M People Were Using Steam Today, Shattering Record
> and a few months of rent amnesty for everyone (including businesses) (it's not like houses will disappear if somebody doesn't pay the rent).

This is being proposed where I live. I'm curious to know who, in this situation, pays the owners of the rental properties for the use of the house, for the expenses and maintenance, for the employees, plumbers, electricians, and contractors, etc. And what about lost profits due for the assumption of the risk of buying properties for the purpose of providing homes for people to live?
I think there are much worse issues than just the wildlife trade. I think long-term we're gonna have a lot of issues with antibiotic resistance diseases as a result of overuse in the meat industry [1].

[1] https://www.sciencedaily.com/releases/2019/10/191009132321.h...
> We'd have to get used to taking extreme measures

Or develop drugs to treat the people who become very sick (up to bilateral interstitial pneumonia) to avoid or reduce hospitalization. On the medium term this looks like a possibility (vaccines, if they work, would help long term). If that happens, I believe your scenario of a "less dangerous cycle" will likely materialize earlier. People would still get sick, but at least we'd be able to treat them.
Interestingly, when we face a problem where deaths can be attributed to a very specific, identifiable killer, politicians don't fail to act in strong ways...

Let's talk about action against climate change now...
While single roots per component etc are nice historical artefacts to leave behind, the composition API [1] is by and far the biggest change, and most impactful change planned for v3. Sadly the article only lightly touches on it in its last section. If you're either working with Vue, or interested in doing so, reading through the composition API RFC [1] is a good recommendation. It covers the why the what and the how, is easy to follow, and is well structured. If you're coming from a React background, this is akin to what React does with hooks, albeit the approaches are different in nuance.

[1] https://vue-composition-api-rfc.netlify.com/
Ah, I see now. That phrase is so obviously corporate boilerplate that there's no story here.

I was being a typical reader and reacting to the headline.
> scaling back shit that nobody needs

The “shit” nobody needs is the main point of living: music, art, science, sharing, pets; the crap you desire versus the essentials.

If we only got what we needed to survive (food, shelter) that would be a pointless and depressing life.
It's been available on all linux distros I have tried.
Snap was originally a scratch fork back when both of them were written in smalltalk, but they’ve both since gone through independent rewrites.
If a false positive results in someone staying home and getting paid, one can easily work out the economic cost of that. Then it becomes a simple economics problem - how much should the government spend on improving the test to regain a bit of productivity.

A false negative (someone going about their day despite being infectious) is just the status quo, and has served us well for centuries.
Those were certainly big events, but they were mostly local. COVID-19 is more global than anything I can think of. Social life is getting shut down in east Asia, India, Europe and the US. I'm not sure what South America, Africa and the Middle East are doing, but COVID-19 will hit them too.

Even if the death toll is going to me more limited than other big events (we don't know that, though), it is absolutely massive and truly global.

As for the potential death toll, if half the world gets it and 2% of them die, we're looking at a 80 million death count.