skysight-inc/HackerNews huggingface dataset:
Yeah. And so is JS’s. I think CPython’s design makes it a champ at native interop and a loser at pure compute perf. That’s a valid trade off for lots of important situations.
beautiful analog phosphorus naturally fading
They are taking the 2nd derivative of total deaths and dividing that by the number of total deaths and calling it the relative second derivative (rate of increase of rate of increase of total deaths, relative to total deaths).
I wrote a simple formatter for outputting json values. It respects maximum line length.

https://gist.github.com/nojvek/875d8cad1005da0b95da2840bbc89...

It implements some of the ideas from https://blog.vjeux.com/2017/javascript/anatomy-of-a-javascri...

Could be re-used for other languages very easily. The core is you have nested group chunks with (indent breakpoint, dedent breakpoint, separator breakpoint, more text chunks and child group chunks).

when formatting a single line, indent and dedunt breakpoints do nothing, but in multi line format, they specify how text will be laid out.

The algorithm is simple, try to format in single line if it fits within maxLineLength, if not break into multiple lines, and do that recursively.
"The respirators were allowed to expire without being replaced"

WTF? How difficult is it to keep the reserve as FIFO buffer in respirator supply chain? You probably don't even have to take them out of standard shipping container.
I’m not ready for advertising on the internet to be mining social media for producing targeted deepfakes.
Thankfully, with a native compiler you don't have to deal with your JIT warming up, or some other code causing your function to get deoptimized, or subtle JIT trace aborts. :(
A Timeline of Covid-19
Just imagine that allof it is called JakartaEE and yes, you have an artifact for interface and one for implementation and they are not even compatible with jpackage (Java 14)
Here's a tricky one that I encountered a year ago.

A junior tried to advocate for browser test. Senior from the developer productivity team said browser test couldn't possibly be made non-flaky.

I didn't know how to advice the junior because I agreed with them.

Saying "something is infeasible/costly" is like a blanket statement. There was no way to quantify that.

On a flip side, we couldn't justify the impact of browser test either. But I felt, at the time, we should've been biased to implement every type of tests (than not) since there are only 3 types: backend, JS, and browser.

Akin to your example, it was the same argument "X is costly/infeasible".
Your example doesn't have any issue because everyone probably agrees with it. But being infeasible to setup browser test sounds strange.

Also, if we don't plant the tree now, then when?
You can have legal rights, but doesn't mean airlines should offer you a seat.
You do not need much. A pot and a shovel will do for the starter.

Try potatoes or carrots. Potatoes sprout anyway if you do not put them cold and dark so there is not so much to do.

If you buy "earth" make sure it is clean (i.e. sieve it or search with hands)!
Here it often contains stuff like cockchafer grubs.

We us some old cheap wax cloth like this:
https://www.amazon.de/dp/B079SHYV6S/ref=psdc_12964001_t1_B07...
So we do not have the dirt on the floor when planting.

BTW:
Carrots can be stored for very long. Here is a video how carrots are stored usually in winter time at industry scale. But you can do this at home as well:

https://youtu.be/tZu_e4OkZ6A?t=153
If you are are looking for a mature high performance language to keep in your back pocket for the cases where you can't use node, Java seems like a fair bet. Go would also be useful. Neither are too much fun IMO, but that would fit the bill.

There are newer languages that are more interesting, but picking one of those is more about either attempting to anticipate where the industry is going, or just plain wanting a more fun language. Rust is an example here. Personally I think rust is worth learning, and has a fair shot at taking over a large chunk of software development that would have previously gone to C or C++. Learning rust might make you a better programmer because lots of poor-programming-hygiene type things are compiler errors in rust.

If you just want a way to wring maximum performance out of a piece of hardware, then I would caution you to consider your choice carefully. Writing high performance code requires a complete understanding of the stack underneath you. If you want to see my point in practice go check out the programming languages shootout. Specifically notice that there are benchmarks implemented in "fast" languages that are outperformed by better optimized code written in "slow" languages.

I would recommend against C++ unless you are planning on devoting a very large amount of time to learning it well. I also don't personally like C++. Too many footguns.
Why aren’t a ton of Swedes on their way to being dead?
Am I the only one here that finds it odd that not a single response so far has included a book on the nuts and bolts of how to start and operate a business? How and where to register the company, how to keep payroll, how to hire/fire, how to pay taxes, how to generate and read P&L sheets, etc.

Has anybody here read Small Time Operator: How to Start Your Own Business, Keep Your Books, Pay Your Taxes, and Stay Out of Trouble? It's the only book I've seen that even claims to address this stuff, but I don't know if it's worth the time and money to buy and read.
CoronaVirus Tracker, tracking cases Since 24/Jan
> It's really no different from native compiler optimizations, which are also mysterious and always changing

Go’s compiler is kind of stupid in this sense.
People aren't the only consumer of grains. You have biofuels, as well as livestock feed. Biofuels are likely having a bad time with the breakdown in OPEC. With livestock, people might eat a bit less meat, but I donno if that's really gonna move much. But directly to your point, grain alcohol products might drop a smidge with restaurants out of commission for months. Even if people only drink marginally less, they'll be paying way less for it and I imagine some of that margin cut trickles down the supply chain.

More darkly, there may be 1 percent fewer people around to eat bread, steak and drink vodka.
Using malformed PDFs, documents, mp3s, etc. Exploiting browser, ssh, php, mysql, mail server vulnerabilities, etc, etc. By no means a trivial task, but the attack surface is large enough that sec bugs keep being introduced.

https://www.cvedetails.com/product/47/Linux-Linux-Kernel.htm...

https://www.cvedetails.com/product/36/Debian-Debian-Linux.ht...

https://www.cvedetails.com/product/20550/Canonical-Ubuntu-Li...

https://www.cvedetails.com/product/79/Redhat-Enterprise-Linu...
There are still lots of PYO strawberry fields around where I live (north east UK). They didn't go away.
I believe that you are correct in your calculation, but incorrect in your assumption.

You are treating the curve of daily deaths as the thing to be differentiated. They are treating the curve of total deaths as the thing to be differentiated.

While the curve of daily deaths certainly would have a negative acceleration, the curve of total deaths is monotonically non-decreasing and therefore the second derivative is always positive but trending towards zero.

Like I mentioned above, the only way for total deaths to decrease (making the function not monotonically increasing and therefore capable of having a negative acceleration) would be through errors of accounting.
I think I need a tetanus shot and a Xanax after watching that.
That’s what I’ve always said. If you smeared a bit of poop on your face or arm, you wouldn’t be content with just wiping it down with a thin piece of toilet paper. You’d probably shower!

So why should your ass be any different?
Some stores in Washington state (US) have elected to implement this, but it is not a legal requirement.
New coronavirus may spread via sexual transmission
I believe Kroger recently fixed this. Over the past two weeks I’ve had to deal with the insanity of putting some apples in my cart and start the checkout process to see if there was a slot, and if so, grab it and then come back and modify my order with all the items I needed.

But just today using the app I opened it and it asked me to confirm a time slot for my next pickup. No items in my cart - just choose a time, lock it in, and add my items later.

In my area at least, online + curbside pickup was not very common in the past, so it maybe was previously a non-issue because a slot was generally available. Glad to see they’ve made some quick adjustments.
I don't want to get into an argument about specs either, because in the end all that matters is whether you can get the shot. From a technological standpoint there is a significant difference between the 1/1.8" sensor or whatever those 108MP sensors are, and a 61MP FF sensor in a high end camera.

How does computers doing eye tracking have anything to do with whether is is impressive that a handheld camera can do it? It is the implementation in a compact, low power device that is innovative.

Re-framing the discussion to be about video here doesn't help your argument at all. Having fast autofocus means that you can choose how smooth transitions are, better autofocus just allows you to better control how your camera reacts to a situation. Sony doesn't have a small choice of lenses, they have the largest native selection of lenses of any mirrorless system and really have very few holes at this point.

I don't know why you are comparing two compact 1" class prosumer point and shoot cameras when this discussion was about mirrorless cameras. Similar to RAW for stills, when it comes to video, if you really care about skin tones you will probably be shooting in log and doing your own colour grading or at the very least creating your own picture profiles with your preferred adjustments.
The 'preppers' have amassed quite a bit of info on preparing for just such an outcome; I'd definitely recommend hearing them out. The govt. IMO really can't be trusted at a time like this. Reporting from here in India, the overreaction of the state has thrown a wrench into the workings of an, admittedly broken, food supply system.
It's interesting, because pretty much for anything you want to do chemically these days:

"There's a bacteria for that..."

Perhaps Marc Andreessen should have said "Bacteria are eating the world" (quite literally!) -- instead of "software"...

In the next century, things very well might be that way! <g>
Java has a JIT too…
How Does Covid-19 Harm Your Body?
An experimental peptide could block Covid-19
"Masks don't work or aren't needed" propaganda is so absurd.

According to physics and common sense, anything you put between you and the cough-er is going to reduce the number of cough particles to reach you.

Anything will work with different effectiveness.

N95 > Surgical > Handkerchief > Covering your mouth with your hand.

CDC, US, and WHO are just so incompetent around this matter. If they didn't want N95 shortage, they could've told people to wear cotton washable masks. It was such a simple and effective solution that they couldn't think of.

Source: https://twitter.com/CMichaelGibson/status/123971835157384397... Scarf is ~50% effective relative to surgical masks. Though this is tested against influenza, it's still applicable to COVID
Eric Jager is also the author of this article.
I made a video precisely about this and other misinformation: https://www.youtube.com/watch?v=NGh9yNpEhQM
Could the Blood of Coronavirus Survivors Save Lives?
Covid-19 Testing Statistics
As far as I understand none of the sats in orbit have this technology as of yet, so until they manage to make this a reality they will need a lot of ground stations, including floating ground station if they intend on serving the maritime market.

Interesting times.
I like Permies - https://permies.com/
Vuiet, the long road to building my own music player in Lisp
Interestingly, one of the cases where Java JITs can beat native code are the same as JavaScript’s, and it’s when code can be speculatively monomorphized.
Is This a Dress Rehearsal?
There's a nice video about this on the minutephysics channel: https://www.youtube.com/watch?v=54XLXg4fYsc
The surprising similarities between the Spanish flu and the coronavirus pandemic
Dad’s dad is my guess.
Thank you for the correction. The source I found was current as of early last week, perhaps it referred to community spread and not imported cases.
How the Coronavirus Will Change Drug Development
San Francisco just became the fertilizer capital of the world.
Poster here. The title is a copy & paste of the tweet, as per HN guidelines. It is the topic of the tweet.

However, cellphones on a Florida beach is not that interesting (well, to me anyway). It's the data displayed to make the point and it's implications that's interesting. The data is (I think) an ad in disguise. It may not have the effect the wanted and be taken down, so I've mirrored it here:

https://drive.google.com/file/d/1ckax1R8pmT1jwpycjP7t8TgDHCO...
But are all these graphs comparable?
Testing and reporting is not comparable in these countries.
After a few years working on real-world code, I understood that faster asymptotic complexity was often slower on average.

After a few more years working on real-world code, I understood that it's usually better to choose the algorithm with better asymptotic complexity, anyway.

Like, sure, my O(n) algorithm will be 10x slower than your O(n^2) algorithm for small n. But users aren't going to notice a few microseconds. Users ARE going to notice my O(n) algorithm being 100000x faster for large n, when it's the difference between milliseconds and minutes.
s/caught/faught/ but saw it mere moments too late to change
Mask facts or fictions...

What does Taiwan say? We should follow leaders like Taiwan: they were at huge risk, yet economy is running and schools open, their VP is an epidemiologist and he was minister of health during their SARS outbreak. Taiwan’s CDC says: “Prevention is the same as for other respiratory infections including washing hands frequently, wearing masks and cleaning up secretion from the mouth and nose appropriately. Other measures include avoiding crowded places such as markets or local hospitals, avoiding contact with animals and dead animals and avoiding eating raw meat or eggs. Additionally, you should wear masks and attend medical attention immediately when flu-like symptoms occur (such as body temperature ≧38℃, and coughing, etc)” - https://www.cdc.gov.tw/En/Category/QAPage/LnqBFJsulw6fW3nswc... and “Our guidelines and policy for wearing masks have not changed, but people should consider wearing a mask in enclosed crowded spaces with poor air ventilation,” Minister of Health and Welfare Chen Shih-chung (陳時中), who heads the center, told a news conference in Taipei. People who must attend events in small crowded venues, where they would have frequent and close contact with other people, are advised to wear a mask, he said.”. Of course Taiwan also has many other layers of effective control against Covid: https://www.dw.com/en/taiwan-coronavirus/a-52724523 and a wired article too: https://www.wired.com/story/taiwan-is-beating-the-coronaviru...

Also i think it is significant that citizens commonly wear masks in the countries that are most successful at controlling the virus (and haven’t shut down their economies, Taiwan, Vietnam, SK, Singapore, Japan). It is a social stigma to not wear a mask in some places. However, although Japan looks like they have slowed the outbreak maybe they are just at the corner of the hockey stick. And in HK: “Dr. Pak-Leung Ho, head of Centre for infection at @hkumed ... highlighted universal mask-wearing as one of the reasons widespread outbreak didn't occur.” https://twitter.com/lwcalex/status/1235091542219448321

There is a huge back-pressure against wearing masks in western countries, which leads to an environment of glib advice against them. I know this isn’t a very scientific issue, but I think it matters. https://www.nytimes.com/2020/03/17/opinion/coronavirus-face-... and “Why some countries wear face masks and others don't” https://www.bbc.com/news/world-52015486

Finally, here is a sciency article “Would everyone wearing face masks help us slow the pandemic?”: https://www.sciencemag.org/news/2020/03/would-everyone-weari...
An anecdote from a non-JS JIT, but similar: I once spent a summer working on a game engine with a couple others where the host language was LuaJIT.

It started out great. The iteration cycles were incredibly short, performance was competitive, the code was portable, and we could do wild metaprogramming nonsense that was still fast. If you haven't worked with LuaJIT, its C FFI is also incredible!

As we started scaling though, the wheels fell off the wagon. We'd add a new feature and suddenly the game wouldn't run at interactive framerates. One time, it was the 'unpack' function, which would trigger a JIT trace abort. We would drop from 12ms frames to 100ms frames. I wrote a length-specialized version that didn't abort and moved on.

Another time, it was calling Lua's 'pairs' method (iterator over a map). Okay, so we can't do that, or a few other things that made Lua productive before.

The other problem we hit was GC predictability being impossible. We tried to mitigate it by using native data structures through the C FFI, taking control over the GC cycle to run it once or twice per frame, etc. In the end, like the JIT problem, we weren't writing Lua at the end, we were writing... something else. It wasn't maintainable.

That summer ruined dynamic languages for me. I didn't really want to be writing C or C++ at the time. I ended up picking up Rust, which was predictable and still felt high-level, and the Lua experience ended up getting me my current job.
Gauss’s “Remarkable Theorem” and the best way to hold a pizza slice (2014)
Have you tried GCC go?
You can get the original promo price if you threaten to cancel. There's a song and dance with CSR but once they transfer you to the retentions dept, they are authorized to give you the original price again for a year. Actually, Comcast did give me a different deal once where the price was slightly higher than my original introductory offer but speeds were also better.
cache coherence is a valid concern but I anticipate a clever snooping hardware could invalidate the 'touched' regions, btw this is already done for numa architecture based systems for a while.

regarding vector instruction explosion, this why I left a remark around programmable fabric (which does have to be super fast reconfigure). this way you could morph a bunch of logic blocks into whichever flavor you want. btw this is also not a first either, companies like Stretch & Mathstar have tried to do similar re-programmable fabrics & more recently altera had done re-programmable fabric using parallel/gpgpu languages like OpenCL. one good thing with programmable fabric in this context is that there is not an immense pressure to fit logic in a cycle budget because you can always claim a certain vector instruction takes X cycles to complete without effecting simpler operations taking Y (<< X) cycles.

cache coherency issues notwithstanding, you are right about it turning up in GPUs first, simply because as the target resolution scales past 4k & 8k, VR etc it would be imperative to do a lot of similar parallel operations on huge chunks of memories and memio b/w would be the biggest bottleneck there. this could mostly alleviate that.

what I am unclear about is how does putting programmable fabrics like this impacts DRAM yields?
TIL: The head of the WHO, "Dr" Tedros is not a medical doctor but has a Ph.D. in health. He was previously the health minister of Ethiopia and China was instrumental in getting him elected. Fun fact: He tried to get Robert Mugabe elected as a goodwill ambassador for the WHO.

Source:
https://nationalinterest.org/blog/buzz/china-helped-put-man-...
When your FIFO is suddenly flooded with a massive time-limited over-supply: a lot gets lost, and re-creating that over-supply really isn't part of your normal operations.
It's worth noting that discussing cultural differences between ethnic groups is not inherently racist (in fact, it's what many of the best and brightest advocates for diversity spend a lot of time and energy doing). It is an axiomatical truth unless you are yourself a racist who does not subscribe to the benefits of multiculturalism!

Now it is racist to reference FBI crime statistics or UK grooming gangs, for example, and try to infer negative cultural differences from that (I'd strongly suggest nobody even look them up) but it is not racist to celebrate Ramadan or support the NBA as long as you are invited and welcomed by PoC.
Nurse warns of key coronavirus symptom she’s seen in all patients
One hack around address limits is to put in a unit number. 1 Park Avenue or whatever in Manhattan will have multiple units in it. And if you live in one of these units you can add a letter, like "Unit 522B" which will just get delivered to your unit 522.

Some companies have databases that know the layouts in each address but many do not.
Note that I am not saying you need a dependency injection framework (like Google Guice/Dagger for Java); I’m merely talking about dependency injection as a concept.

Abstract base classes, interfaces and traits allow you to add dependency injection with relatively little code. In C it is simply more of a hassle, which is why folks don’t tend to do it.
But then you'd be on the same square as the remaining rook, and pieces of opposite colours coexist: the remaining rook wouldn't threaten the king.
Extensive discussion yesterday: https://news.ycombinator.com/item?id=22707365
Malfunctioning or poor quality equipment emit CO.
> No sane person builds in the 100-year floodplain!

Oh, we do that all the time in the UK. They build super-expensive pokey houses with little postage-stamp gardens on 5-year floodplains and all sorts of idiots buy them.
If I hadn’t already embraced C# for that sort of thing, I’d probably have turned to D years ago. Between C# and Rust, I rarely find myself needing other tools aside from Makefiles and shell scripts.
You can also set a SG address to always forward emails coming from a particular email. So you could set it so that orders@target.com is always forwarded and doesn’t change the count and you’ll always get these but not the newsletter.
We've learned not to believe screenshots, anything shared on social media, or even regular media.

People do understand that fake videos can happen, but they also believe they require a great deal of effort. That means they might think a video of Trump is fake because his enemies have the resources to fake it, but they won't think the same way about a video of a member of the public or someone they know.

I'm quite sure that if 99% of people outside of the tech industry were shown a deep fake video of a co-worker in a porn clip they would believe it was real.
Past periods of economic decline have very different root causes than our current scenario. I don't think this is an apples to apples comparison.
1Password with WebAuthn 2FA is probably better (harder for generic malware to steal), and leagues more convenient.
Wouldn't it make more sense to compare new cases vs active cases? At the end of this plot you can see China's new cases increasing again, but the number of total cases is so large that the x axis doesn't move.
Shameless but very relevant plug: Monitoring a website for changes and sending data somewhere else is exactly what we do at https://monitoro.xyz

It’s the difference between maintaining a bunch of scripts and making sure they don’t stop working abruptly, and having the data you wanted without headaches.

It also wouldn’t make for such an elaborate article, but that’s the cost of simplicity if you just want to get things done.
Lessons from Italy’s Response to Coronavirus
Zoom, Leadership, and the Pursuit of Happiness
You're lucky to live in a place where government has still, to some extent, been kept in check.

These days are long gone in Europe, where the very pace at which you breathe is regulated.