skysight-inc/HackerNews huggingface dataset:
Do coroutines help with the need for sharing state with timers?

When you make a async operation there are two things: the operation itself, e.g. read/write and the timer associated with that operation (you really don't want infinite timeouts in production code).

Both need information about the async operation in their respective handlers. You can't do composed operations (std::move(this)) since one of the read/write or timer handlers will be given a moved-from object.

The only wasy I can see to solve this is through the use of a ringbuffer and using indexes into this ringbuffer as a 'handle' to the async op (see LMAX's Disruptor). It saves from needing shared_ptr / enable_shared_from_this. You're going to need a bounded queue anyway to prevent a fast producer from causing OOM.
Probably the airlines who will both be dealing with the logistics and be able to return to BAU quicker because of the vaccine. For example, American Airlines is up 25% premarket today and IAG (owner of British Airways) is up nearly 30%.
I'm not sure if that UK counter-example is as strong as you suggest:

> A spokesman for Mr Stunell, MP for Hazel Grove, said he had voted against the Labour amendment "as he was supposed to" and had gone to get a drink of water for a fellow minister when he found that lobby doors had been "locked".

> "He was temporarily on the wrong side but sanity prevailed and they let him out," he said.

A funny story, but not a legally significant outcome.
One difference between science and art
I'm feeling a deep-seated wave of relief that I never thought possible. Like waking up from a year-long nightmare. Thank God.
Runtime vs. Scheduler: Analyzing Dask’s Overheads
Exactly. Gerrymandering and other methods work way more effectively
.. eventually. You've got to go through your country's Information Commissioner.
Someone pointed out that this site to me that sells replacement parts. I was looking at getting new flipper springs for the keys that don't always register.

https://www.modelfkeyboards.com/product/flipperspring/
Time to invest my life's savings in bandaids
Although I want to agree, none of the companies started from zero.

All these new technologies, the techniques, the principles were in development since years if not decades.

Not trying to diminish the accomplishments achieved, great effort nontheless. Just saying nobody started from zero here, that would have been insane and frankly impossible.
This kind of tripe is why nutrition epidemiology is basically the laughing stock of modern science. First of all, the article is almost 10 years old and references data from 1999 at the latest. But most importantly, it uses common nutrition weasel words like "healthy" and "good for you", which are not supported (in fact, CAN'T be supported) by the study.

It is a huge leap to go from "there's less Vitamin C in this supermarket carrot" to "you will get fewer diseases and/or live longer or better if you eat carrots from soil 100 years ago". The former is a claim about vitamin content. Easy to measure and write a paper about. It is another thing entirely, and totally outside the scope of a paper about mineral/vitamin content, to claim that eating modern carrots actually results in worse health. That claim is (fortunately for "nutritionists" and "functional nutrition" people) never actually backed up by any science whatsoever. It's the same with grass fed beef and all the other "organic" stuff - they are never actually connected to better health outcomes and they never live up to the wild claims made by journalists and bloggers.
Innocence requires proof?
Other comments here are saying something between 24 hours and a week at standard refrigerator temperatures.
Software Engineer “Bootcamped” into a New Career
For those wondering how their vaccines will be distributed among countries during the next year when supply is constrained... it seems complicated. Pfizer is a US company, but has at least one key ingredient from Austria, is made with technology from Germany, has manufacturing in US+Europe, etc.

Pfizer's CEO answered this question this morning on CNBC.

Pfizer has two separate manufacturing divisions- one in the US (Massachusetts, Missouri, Michigan) and one in Europe (Germany+Belgium).

They will be producing in parallel and he seemed to imply Europe manufactured->Europe distributed and US manufactured->US distributed initially (but didn't explicitly say this). But he then stated that it's important to share the vaccine across the world - "I hope that we will be able to ship to the entire world from these manufacturing sites without problems".

They have signed contracts with multiple governments in the world and in most cases have defined their monthly quantities distributed to those countries through 2021. I would guess these are public and am curious about the quantities and timelines for the various countries.

They are estimating to have 1.2 billion doses by the end of 2021 (enough for 600 million people, as each person needs two doses).

EDIT:

US: 100 million doses of this Pfizer vaccine (enough for 50 million people) by December 2020[1], but Pfizer now says they are only producting 50 million doses globally this year[2]

[1]https://www.nytimes.com/2020/07/22/us/politics/pfizer-corona...
[2]https://www.pfizer.com/news/press-release/press-release-deta...
Sure but it will likely be banned too if not active and you also won't have access to your old games.
.NET Conf 2020: November 10-12
3D printers can make solid objects with internal structures.

It’s the same basic idea as an envelope, as in you need to open it to see what’s inside. However, opening it up inherently breaks the object so if you have it unbroken then it’s obvious that nobody has done so. XRay’s being an obvious risk.
It already works in dog, so just a matter of adding an option to alleviate the manual work:

$ dig +short -x 209.216.230.240
news.ycombinator.com.
$ dog PTR 240.230.216.209.in-addr.arpa.
PTR 240.230.216.209.in-addr.arpa. 23h59m44s "news.ycombinator.com."

And yes, I use dig -x quite often.
I didn't search too long, but did not find using "dental tabs" to clean the key caps! Glad it worked out though, enjoyed reading your cherry restore.
Old concept but Plan 9 c and thread(2) is simple yet really nice to work with. Also helps that there is no posix junk and plan 9 threads are light weight processes with shared memory. So libthread lets you spawn and manage processes or threads and groups them in rendezvous groups to guarantee sequential thread execution. That can eliminate the need for locks since no two threads in a rendez group will be running at the same time. Then use channels to read/write messages between procs. Way better pattern than async/await nonsense.

http://man.postnix.pw/9front/2/thread

example code (random 9 mirror I picked): https://github.com/mischief/9problems/blob/master/sys/src/li...
When I made a split panel web component recently I used a range input slider for the user interaction and tied it to a CSS variable for updating the layout. It's a much simpler than the approach in the article[1], and comes with a few big advantages like being accessible, the user can click anywhere in the window to move the slider (or drag the slider itself), and it's really simple to extend[2] because it's mostly just HTML.

[1] It's 100 lines of code as a web component but it could be much smaller - https://codepen.io/onion2k/pen/dyMaBKO?editors=0010

[2] Fork it and change stuff - https://github.com/onion2k/split-view
Written in Go, not available in Homebrew (dog is).

I suppose these two could mention each other.
Pythonista has been there for years, and it’s not just Epic running Unreal Engine games that load code on the fly.

It’s mostly on who/what Apple likes, and some other circumstances. It’s tempting and comforting to apply a general principle, but it’s just not that simple in my opinion.
Yes, it is hard. It's full of issues and details.

But it's something that poor countries manage to do successfully with a reasonable reliability even on rural areas.

I am sure there will be plenty of new problems for that lower temperature. And a number of smart people will have to work really hard to solve them, a large amount of money will change hands and all that.

But I think the GP's point is that it's doable. It doesn't need any sci-fi tech or any large restructuring of humanity (and we already did some of the later for this virus).
The markets? Spare me. What are the markets, a handful of rich in banks and large corporations? They are neither wise nor competent, why should every news story be suffixed by how "the markets" (swt) react?
This is exactly the point of preregistered hypotheses.

Odds of conspiracy, with a clear hypothesis and confirmation of that hypothesis, go up drastically. That happened here.

It wasn't a super-unlikely hypothesis either. We're talking about announcing a result a few weeks earlier versus later. That's not an unreasonable decision for a blue-leaning businessperson or scientist to make.

What reduces odds are the number of preregistrations. There were dozens about this strong.

My own prior went from 1% odds to maybe 35% odds. Yours may be different, likely based on your prior based on where you fall on the political spectrum. Right-wingers will probably go 35% to 80%, and left-wingers from 0.01% to 1%.
My experience is very similar, give or take a few pounds.

Trying to add 5 pounds per workout and grinding through 5x5s after years of sedentary lifestyle is what gets people hurt.
You’re 3D printing inside the object so people can’t just copy the number. Think envelope.
It will still take a long time before a sufficient number of people have been vaccinated that life can return back to normal.
Same here.

Congratulations and thanks to everybody who worked so hard on this.
The reporting on reinfection is actually a pretty positive sign. If 10% or even 1% of people could be reinfected, you’d expect to see huge numbers of reinfections, so the fact that the news is still reporting individual cases of reinfection suggests it won’t be a practical concern.
Encoding a generic, potentially versioned AST in S-expressions seems feasible.

I believe the Unison language [1] does this for their code storage system. (Unison does not use traditional text storage but stores code in a normalized repository)

[1] https://github.com/unisonweb/unison
>The least exploited web browser is IE

I'm sorry, I can't take this site seriously.
This has nothing to do with copyleft outbound licensing.

If you have BSD-style outbound licensing and you assume that all inbound copyright is transferred to you, you will wake up in court after you try to change the outbound license conditions of someone else's copyrighted code.

The correct answer is that for any project in which there is no inbound contribution agreement in place, you would have to contact all contributors and seek their permission to relicense.

Inbound and outbound licensing are orthogonal.
There is a misunderstanding of market will choose the best competitor. A competition in of itself is not fair, it needs heavy regulation to become fair - like a running contest could be won by anyone if they were to shoot the other contenders. And this is what happens in unregulated markets - we’ve got an oligopoly, with a really high bar to enter - basically impossible for a newcomer (note that even Microsoft failed to enter it). So there should absolutely be some government regulation to make it fair - and it is not overreach. It is simply no longer Apple’s decision, since it is practically a public service in part, as you noted.
I do have a Python course at educative.io [1] which nets me around 100€/month. I was approached by one of the founders because of an ebook I did and shown here on HN [2]. I do have a personal blog [3] where I have some articles on Python and related things but I think I don't have an "audience". I'm also working as a teacher btw.

Next year as my current contract gets downgraded (no more exclusivity - less salary), I'm thinking about providing 1:1 lessons and make other courses.

Although I do have some things to show, I do not have any actionable advice to share, I am as "lost" as you! :)

[1] https://www.educative.io/courses/full-speed-python
[2] https://github.com/joaoventura/fullspeedpython
[3] https://joaoventura.net/
That's a percentage on a different axis. Influenza is a diverse family of related viruses and strains vary much more than those of SARS-COV-2. No surprise given the very different time since taking foot in humans, and in addition to that (I think, working on weak knowledge here) that influenza is even part of a group of viruses that is prone to create mashup versions of itself when two strains meet in the same host. Think Dangermouse, Grey Album.
>IMO the mistake that a lot of people are making here is to think that iOS devices should be more like computers

These devices are the only connection an entire generation growing up today have with the digital world. It's entirely unethical to limit their potential for creation and expression with computers.
I think someone should clarify the strands vs. genetic variations here.

Because the reports from Denmarks Mink fiasco indicated that antibodies were not as effective on the mutation that appeared there short time ago. This would contradict the one-fits-all immunity argument.
What Is LakeFS?
Well, it's bullshit x)
There’s nothing random about it.

Here’s a good layperson rundown: https://www.phgfoundation.org/briefing/rna-vaccines
Dude, you returned a leased car (like 99% of people who lease) and then decided it would be a great argument to support somebody who believes that car manufacturers add gimmick features to the cars so people change them like cellphones.
Why not share the knowledge make the vaccine in all three countries? AFAIK for the last 2-3 days EU and US are partners again, not enemies.
Embeddable in C and able to work on iOS and Android would cut the list of comparisons down quite a bit.

TCL would be somewhat comparable, various embeddable JS interpreters, lua, etc.

"The compiler and virtual machine combined, add less than 200KB to the executable on a 64 bit system." would make lua perhaps the most obvious alternative. Perhaps they really wanted traditional class based OO.

One of the tutorials for Creo is a good example of what they wanted it for: https://docs.creolabs.com/tutorials/game_tutorial_part1.html
Just after election result!
I actually like the idea of this company name. It's a harmless way to warn a lot of insecure systems that rely on data from Companies House that their data handling is insecure.

You need to be able to handle data that looks like that. If you're not, and your application interprets it as code, then it's insecure and you should fix it.
Not being active on Facebook is A Good Reason for Facebook.
Thrussh is not a "remake" of a ssh, it is simply yet another implementation, and I don't find that particularly unusual or problematic; if one is working on a Rust based project, IMO it makes a lot of sense to work on a Rust based SSH implementation, too (for all kinds of reasons, ease of use and portability being one).

As a matter of fact there are dozens if not hundreds of them out there. For a time, I was tracking some of them to figure out which ones support which particular protocol extension; the result is https://ssh-comparison.quendi.de and the list there is really incomplete (and sadly also outdated -- PRs welcome ;-)), I think I could easily double the number of entries there if I resumed work on it.

The one concern I'd have for a custom implementation is when they roll their own crypto... On a quick glance, that seems (?) to be the case here, see <https://docs.rs/crate/thrussh/0.28.0/source/src/cipher/chach...>, albeit only for chacha20poly1305 which is relatively easy to implement "right" and "securely", but one can still mess that up...
Rate of mutations is directly proportional to number of viruses out there. We're having exponential growth in the amount of COVID19 (with a slow exponent, with social distancing, but exponential none-the-less). That we've seen mutations back when there was a tiny fraction of the cases we have today is a very bad sign.

If it jumps species, as we saw with mink, we may have a reservoir in nature with no control. It will mutate and periodically jump back to humans.
most of us engineers just use our phones to talk, text, browse the web, and use the occasional social media or random app. We’re just regular people too, not always having the compulsion to hack and tinker with everything. I personally get enough of that from work and the occasional side project.
>Are their lives not improving because they don't have a real computer?

I mean I'd personally say people's lives have gotten worse because of the iPhone and iPad.
Obviously because of the geopolitical concerns and pride. Truth is the first victim as usual. The Russian vaccine was indeed registered just after the 2nd phase trials, but according to its website the 3rd phase trial has started on August 25 (one month later than for BNT162b2) and involved more than 40k people (effectively the same number).

So those who claim that Russian vaccine is only on the 1/2 phase spread an outright lie. Both vaccine have approximately the same speed of development with minor differences between regulation and testing procedures.
Trust. Russia and China lie through their teeth on everything and anything. It's irrelevant whether or not they are lying in this particular instance: they cannot be trusted.
Did you purchase it individually? Do you recall what you paid for it? In the blog, I linked to a YouTube video that said they retailed for $300-400. I believe it, but would like to hear confirmation.
Maybe because your entire argument boils down to “Actually the people that say they want to end racism are the real American racists. The straight up racists aren’t that bad. I know I really don’t have much experience to base that claim on but I know some American liberals on the internet.”

If you make claims like that, people on the internet who have experience with actual racists will call you on your shit. They will attack you because you are acting like a complete ass. And then you will sit around smugly using those attacks to build on your confirmation bias.

Ever wonder why you keep attracting liberal assholes? If you meet an asshole in the morning, you met an asshole. If you meet assholes all day long, you’re the asshole.
Or just keep it in liquid nitrogen. Its is cheap and cold enough.
I'm explaining a concept, nothing specific to the flu or covid.

I'm just saying how you can have a single person that's 90% immune to something vs. Having 90% of people immune against one strain of a virus.
If the commercial license was literally pocket change, I’d be inclined to use it under that commercial license right out of the gate to increase my certainty going forward.
There's a certain level of irony when people complain about the morality, after using the term "open source" that was specifically coined to distance itself from the moralizing of "free software".

I'm not saying there's a radical difference between "free software" projects and "open source" projects or anything, but it really seems like we ought to stop and reflect on where we might have made mistakes in the past.
> Seriously. What's the point of open source if companies just steal it, build billion dollar industries on top, and then lock everything down?

To nitpick: They are not stealing it, they're using it per the license terms. Don't like that? Well, choose a different license.

That being said, I think there's an underlying point here. The "business-friendly" open source movement co-opted the idealistic free software movement. It was no longer about making the world better in terms of having a software ecosystem that respects the four freedoms etc., but about reducing wheel reinvention, minimizing transaction costs, attracting good developers to come work for your corporation, and so on.

One could argue that the idea of causing social change by coding free software in your basement was always an impossible dream. If you want to see political change, join a political movement and get out on the street protesting or something. And vote!

> Yes, it's managed, but you're forever a renter.

Welcome to 21st century tenement farming.

> Remember when the Internet was actually pleasant? When it was nice to build stuff for others to use?

I started hanging around on usenet in the early-mid 90'ies. Let me tell you, it was already a cesspool then (maybe it was better in the 80'ies, but I was too young then, sorry). Of course, back then it was mostly just people being assholes, not billion dollar corporations weaponizing assholes and hatred to drive clicks.

> Stop giving your work away for free when the companies only take.

I think so far open source has worked out pretty well for programmers, because there's such a huge demand for (competent) ones. If you want a glimpse how it'll look when demand starts to match supply better, take a look at your friends with liberal arts, sociology, politics etc. degrees. Unpaid internships and extensive open source portfolios before you get a real job, here we come!
The original copyright holder can require the fork be distinguishable and non-confusable with the original project. There is plenty of precedent in that respect.

There isn't much that can be done with lax distribution licenses, but there is still much that can be done under copyright law.
I don’t think anyone is suggesting that it isn’t your choice.

Most people are likely assuming that the typical author intent behind the decision to open source is to increase usage and contributors over the default closed source/proprietary licensing.
Long? The first micros you wouldn’t have to solder yourself, add a tty or keyboard, etc (Apple II, Commodore
PET, TRS-80) were from 1977. The Osborne shipped in April 1981.

Also, was that tv-set good enough to show text on? And what was its battery life? Losing power on a micro (presumably without a floppy disk) would be more of a nuisance than losing power on a tv.
The inability to prove you voted on a specific candidate is an integral part of a democracy. Privacy within a voting booth allows such, and any tools which take such privacy away (most commonly using a smartphone or camera) are therefore not allowed in a voting booth.

> For example, IANAL but the PA law clearly states that mail-in ballots have to be received by election day.

If it clearly states X you might as well link to it.

From what I understood they can allowed if the votes were cast in time (which a stamp proves), even if received a few days later (though with a deadline).
I can imagine they could learn a lot about surviving in space; that alone would be worth it, to advance science. I mean they can achieve a lot of it already on earth (and have, with simulated moonbases and the like), but there's nothing like doing it the hard way.

I believe we need a moon base first before attempting to send people to Mars. Both are super dangerous, but at least you can reach and return from the moon within days if need be. I'm afraid the first mars missions will be one-way trips - and the astronauts will be aware of this as well.
https://www.ajmc.com/view/first-case-of-covid-19-reinfection...

> The genomes of the patient’s virus samples from April and June displayed significant genetic differences between them, suggesting that the patient was infected twice by 2 distinct COVID-19 infections.

I’d read of known second infections that are from different strains, but scientists also question lasting immunity from COVID-19 infection because other coronaviruses are seasonal.
It's also the #2 agricultural exporter in the world. (Though I believe this figure includes agrotech exports)

https://dutchreview.com/news/innovation/second-largest-agric...
The main reason you can't force people to vote for you is that once they get in the polling booth, no one knows how they specifically voted. If you allow people to "check their vote" later, an attacker could verify that they voted in the way the attacker wanted.