skysight-inc/HackerNews huggingface dataset:
I think the premise is flawed ("Rust way is clever, ergo, problems").

BTW, I have many troubles with rust, that after more than a year are more stable (starting with rust I could have believed what this post say):

https://www.reddit.com/r/rust/comments/fj824y/whats_your_con...

I rewrite a huge (for a solo dev like me) codebase from .net/f# to rust, used in ERP-like app by the small/medium companies on my country. As "normal" and "boring crud" apps as you can tell.

The complexity of the development wet DOWN, A LOT. Even taking in consideration the use of F# (that I also pick to reduce the burden of using C#), the code have MUCH less bugs and troubles. We were on "fire mode" for some months and after the switch, all is calm as I have not experience in a lot of time.

And, as I say: I'm a solo developer. Still learning rust.

---

BTW: I only hit serious blocks working in a relational language on the side. For "normal" enterprise coding? Rust is a total win.
Ask HN: Is anyone building hospitals for Covid-19 patients before the wave hits?
I wanted to learn if any nation is bulding up hospital capacity way _before_ the wave of sick people hits.
We Live in Zoom Now
At least for Netflix, a lot of the traffic doesn't leave the ISP edge network, because they use Netflix caches (and YT ones also). So that can be very different from video conference traffic.
I'm really impressed they've got current requirements down to the level where NFC can power the refresh. Geometry has to be the next step. When eInk busted out of MIT in the late 90's, they kept revisiting flexible formats without too much luck. I hope the flexible screen folks are cross pollenating with the eInk brains. In this example, even though the display is small, the electronics around it are very bulky.
There has to be more to the situation than the aove. Unless you configured join_collapse_limit to be way lower than the default, the JOIN query just gets transformed into the former.

Any chance you either had a lot more tables joined together, or you were seeing caching effects?

> Conversely, projecting off unnecessary columns used to result in a big speedup.

That also just gets inlined, unless you have more than from_collapse_limit items in the from list. And we push down the list of columns we actually need, so there's nothing this would improve anyway.
Another think the US likes to look at differently:

US: Marchal plan was self-less help.

Reality: Marchal plan was mostly self-help, preventing a economical collaps of the US and securing strong longterm influence in the EU/Germany to make sure the EU/Germany won't side with communism in the future. Also allowing them "secure/safe/accepted" military presence in the EU/Germany "just on the border to their enemy". Etc. (Don't get me wrong. It was still awesome and I'm still grateful. Just don't go around stating the EU/Germany owns the USA and should do thinks which would harm itself to support the USA, especially given that currently the US is slightly falling from grace.).
1. My bad, fixed in edit (originally said Spotify).

2. Does that matter? Paycheck stipend is easier to process for everyone and just makes it the same amount for everyone so policy is easier.

Seems like a nice thing to do for employees that might have extra expenses during the lockdown (higher grocery cost, etc.)
Lessons from Italy’s Hospital Meltdown
China bans journalists from 3 major U.S. newspapers
Wuhan Students attempt to remove learning app by leaving bad reviews
> I've actually been really surprised by how well he has handled this so far too

No one who knows how national pandemic response works agrees with you. They know that trying to suppress testing, and criminal lack of executive management of the testing capacity was a known and must-be-fixed quantity 6 weeks ago. They know that hundreds of millions of PPE supplies should have been ordered under federal pandemic authorities 8 weeks ago. They know that emergency powers for production of ventilators should have been invoked 6-8 weeks ago, and still haven't been. It's bungled beyond belief and the only thing that will prevent something near a worst-case run of this pandemic will be some luck.
Somebody is trying to open Pandora's Box here. Who is to decide what deserves compensation and who is going to enforce it? List of various grievances countries have against each other must be enormous.
I wonder if we can re-purpose our [computer] networking jargon to network humans. Since in biology the function is what drives maintenance and upgrades simply using peoples thoughts (like yours) will expand the ability. (also by example, monkey see monkey do) Perhaps something like supper nodes could produce passable data sets.
No, that's not at all true and not fair to say. There are no businesses that can dictate all of the terms of the market.
Unintended Consequences. Wow -- this sets up all sorts of moral hazard for later. And unwinding this will be extraordinarily difficult.
Yeah, but those guys unfortunately, have a pre-existing condition (poor-itis)
You have unwittingly become the deranged, unhinged, wildly inaccurate, cartoon-like caricature of the left that you imagine and detest. Everyone except for you sees quite clearly that you're just projecting, and that your "technical" arguments are incompetent and meaningless, merely a carrier for your unhinged political polemic. Don't try to deny it: your own words have already proven it.
Show HN: Latest travel advisory from different governments
This is what I was looking for and their website fails to mention it on the landing page, at least. Would you know of any Emacs/org-mode extensions for this device? Thank you for sharing!
They're not quotes from me. I'm directly citing the head of ICU for all of Lombardy.

I think reading the Reuters article I'm citing in full is the best way to understand what's going on. I've also tried to summarise it here:

https://news.ycombinator.com/item?id=22607485

The confusion probably comes from the definition of treatment. It's possible for simultaneously nobody to be turned away due to lack of a bed, whilst terminal cases they know they can't save are now being turned off quicker i.e. less aggressive intervention than before. That's what Grasselli is saying:

Lombardy intensive care coordinator Grasselli said he believed that, so far, all patients with a reasonable chance of recovering and living an acceptable quality of life had been treated. But he added that this approach is under strain. “Previously, for some people we would have said, ‘let’s give them a chance for a few days.’ Now we have to be more stringent.”
My comment had nothing to do with efficacy. It’s a guess at why public panic over standard flu cycles does not occur.
One thing stands out is how hands-on Musk has been. He's got a physics degree and has the raw intelligence and passion to understand aerospace engineering. From his public statements, he shows an understanding of mechanical engineering WAY beyond most executives'. Bezos has been hands-off with BO and is not technical. Similar with Vern Raburn (Microsoftie pilot) trying to run Eclipse Aviation (nearly into the ground, as it was).

The problem is finding someone who understands the science enough, but is not embedded in the old school culture that has been so limiting.
> Your suspicion is entirely wrong.

In what way? Could someone summarize these sources?
Is it that much different in US? Beside that, the tech has a general problem of lack of good career progression outside of going into management.
For every known case of coronavirus, another five to 10 cases may go undetected
GitHub for mobile is now available
It also seems to be year over year data and February last year was pretty warm, potentially driving more people outside instead of into restaurants compared to the relatively rainy month we just had.
It is bold of you to assume that there are any non-highly leveraged companies, or that their going under would not already cause a cascade of defaults.
What they need to do is provide everyone with restaurant vouchers paid for by the government. Then we can all have a big meal after this is over and keep our favourite eateries alive.
I thought there were some reasonably strong tax incentives for capitalizing R+D - which would presumably lead to a high disclosure rate?
Actually, thinking about it more, it sounds more like a marketplace.. a market place that brings together the dataviz producers and consumers.. ebay for data viz of sorts almost
I currently do something like this with a cheap thermal printer. Aside from apparent environmental issues of thermal paper, it is really great to print out these short, portable, and disposable materials on a whim from my phone (Bluetooth) and computer (USB).
Swiss militia soldiers get historic call up to fight coronavirus
Is it ridiculous? Think this way. You have three small kids and four parents who are barely selfsufficient in best conditions. Now you know pandemic comes and people will be buying everything out.

Now, the question: will you go and buy a stock to last you couple of weeks or are you "listening to reason"?

I suspected what was coming and bought enough to last us couple of weeks the weekend before the panic here in Poland. She said I am panicking but, alas, we saw no meat anywhere for the past week.
Small time savers don't get higher interest rates on their savings accounts than institutional investors. If you give high guaranteed interest rates on savings accounts during turmoil, all the money goes there, which is problematic.

Investors get paid to take risks. The less risk you want, the less you get paid, and there is a point at which you're taking so little risk that you get paid less than you lose to moths and rust. During hard times, the level of risk required to get a positive return is higher.
Do you really need these kinds of headlines to be the messenger?

No. Journalism doesn’t exist anymore. They should rename to wallstreet tabloid
> Of course it won't prevent anything.

You are full of nonsence. Of course it prevents scurvy ffs.

> This means it is essential for tissue repair.

This totally doesn't mean that. Vitamin C is cofactor and resource. It is used in bunch of processes, only some of it are for repair.
I have a friend that owns a restaurant, doesn't sell gift cards online and no idea how to do.

What's the fastest way to set up a Gift Card program?
In other words we, as a country, would be rise to rip the bandaid off. Instead, we're slowly tugging at the edges. This is going to be a long, and drawn out recovery. I hope everyone followed the general consensus and has their retirement properly adjusted to their risk tolerance. This recovery is probably going to take years, from the time we get the economy restarted.
They have their own file syncing but it runs Linux and is very hackable. There are 3rd party tools to sync elsewhere. You can even use rsync. See https://remarkablewiki.com/
yep! it was 100% critical to have the experts on sync engine classic involved with nucleus. we shared the oncall rotation of maintaining the old system among the entire rewriting team.
Show HN: A directory of restaurants with links to buy gift cards to support them
Thanks for the report, that's a relief then!
I disagree with some posters asking you to move on and focus on something more important. Someone literally stole your work. It is not just an "inspiration". You should absolutely contact them and ask them to take it down. Send them a DMCA notice if needed. We should never condone theft saying "Move on because it is a waste of your time". Sometimes, you have to fight for what is right. You won't gain anything monetarily out of this but you have to let them know that this is NOT ok.
Did they really?

I keep hearing they have contained it, but I also get reports that they haven’t. Also, something needs to change for their policies to not impact the rest of the world in such drastic manner.

https://www.reddit.com/r/Iamactuallyverybadass/comments/fhju...
Hoosac Tunnel
You’re diverting the conversation from “China has expelled legitimate reputable journalists from many Pulitzer Prize winning newspapers” to “Hey, look at US, who expelled CCP propagandists”. I find this infuriating.

Edit: folks are again responding with “its not US gov business” which I agree. But we should have that as a separate conversation. We criticize the US gov all the time - just go to NYTimes front page. But criticism of CCP is being suppressed and no one seems to care. This isn’t about US/China, but it’s about suppression of truth and freedom of press. I’m just disappointed in HN, this is always the case. Finger pointing, whataboutism, diversion and digression of the real issue.

Edit2: China’s press score is at a whopping 177th place: https://rsf.org/en/china

@dang - can you please look at the downvotes in this thread? This is unreal.
Is there evidence this strain of SARS was enginered in the lab, and it accidentally escaped? That seems the only reason that makes sense for trying to destroy evidence.
It all depends on how long it is temporary. Current predictions are 2-3 months, which I think it is already too much time for most restaurants.
No, Amazon is providing an absolutely critical service in this time.
I don't work at FB, but I think they're continuing to pay contractors and hourly workers while shut down. It sounds like they're generally doing the right thing for their people?
>Theranos never had a working product //

Not having to have a working _product_ is actually sensible IMO: maybe patent terms should be limited in such situations (half perhaps).

If I invent a new space rocket, how am I going to keep it quiet, as a small time inventor, long enough to get funding, and build the rocket (we're looking at 1000s of NDAs and warding off an entire rocket production facility from public view) ... do I then have to submit it for testing to make sure it conforms to the invention the patent was applied for? Maybe that requires dismantling it, or witnessing it in operation in an extra-terrestrial planets atmosphere (Mars landing capability, say) ... it's just not workable to require an embodiment to be produced.

Aside: most countries have utility or design patents that protect actual products, but these are in addition to technology patents because working around a single embodiment or design is relatively easy to do, working around a mode of operation is not.

Patent applications are already supposed to be enabling disclosures, that is guides to the skilled person in that field which would enable them to work the invention. This requirement has maybe slipped a bit; but in the US8283155 patent in question they seem to give reasonable information about the operation and scope of their idea [it's not my field].

Just my personal opinion.
Look for 'dynamic DNS' providers. Bascially you have software on your server which will check if it still has the same public IP address and if not it will tell the DNS provider to update the mapping.

https://dyn.com/ used to be market leader, well, when it was free. You should still be able to find some free providers https://www.maketecheasier.com/best-dynamic-dns-providers/ (not affiliated).
Interesting. I haven't heard of futures used in this pattern, so trying to imagine what it looks like. Is there any open-source code that looks similar to what you're doing?

I'd be curious to hear your take on the "structured concurrency in Rust" conversation here https://trio.discourse.group/t/structured-concurrency-in-rus...
China has cornered the global market for vitamins (2007)
OT is majority US, but UK/JP/MX/CA are also big markets for them and I wouldn't discount that data.

Source: I'm a former OT employee :]
> on the condition that they pay employees normal wages for those days.

"Normal wages" for many restaurant workers in the U.S. exclude tips. Without tips, "normal wages" is below the minimum wage.

While it might better than nothing, it's not liveable.
We've been working from home for a couple of weeks now [Algiers, Algeria]. We're building product, supporting our users - who are students preparing their masters in ML subjects on our ML platform -, answering questions, fixing bugs, and adding tests.

We've most of our machines to work for Folding@Home[0].

[0]: https://foldingathome.org/
China to Expel U.S. Journalists for NYT and More from Working in Country
The people in the saturated hospitals know what's going on. HN or Reddit had nothing to do with that.
construction, pillars
Ask HN: Is Apple Photos using their own AI to tag my pictures?
I recently updated to macOS Catalina. When I opened the Photo app, I was surprised to see a celebrity I had not tagged suddenly appear under the "People" section. I thought only people with 15 or more images showed up under "People", yet I only have one of this celeb. Also, I -never- tagged the celeb.

1. How did Photos tag this person?

2. Why are they showing up under People with just one image?

My only conclusion is that Apple somehow tagged this face using their own cloud AI, and that celebs get precedent.
But don't buybacks usually mean they bought back the shares and eliminated them? It no longer exists. It's not sitting in any account.
I mean, you are on where you are, Most people here are all about "entrepreneurship", adore Bezos, Kalanick, Musk, "disruption", despise unions by a large majority, believe in "the right to work" and care very little about menial worker conditions and class warfare. You'd be on another sort of forum you'd hear a very different tune. So it is to be expected. Be smart bind your time and then s*bvert.
"This country has socialism for the rich, and rugged individualism for the poor."

-Dr. Martin Luther King, Jr, 1968

Do we need to rescue the airlines? I'm gonna guess that's pretty essential to the economic recovery at large. But it's hard to ignore the fact that in this country, when poor people make mistakes [or, in this case are the victims of circumstance], they typically eat those mistakes. Medical bankruptcies, unable to cover a $500 emergency, etc.

So, ok, let's rescue all the industries that juiced their share prices over saving for a rainy day – but, for the love of god, can we please also bail out 'main street' this time around?
Quantifying the importance and timing of diff. routes of SARS-COV-2 transmission
I'm used to doing stuff with WebAssembly, that is beyond the reach of `cargo run` most of the time.
At this rate in Italy alone it will kill more than 100k people. And the rate is increasing.
F.A. Hayek always talked about local knowledge, and he picked up the idea of tacid knowledge from Polanyi.

I think the specific conditions we will face in a second phase of mars expansion, are gone be limited and determined by local condition at that point in time.

I think its a total fools ear fool's errandnd to try to reason this out in a theoretical setting such a long time ahead.

Looking at research from Elenor Ostrom it seems pretty evident that a group of people with local knowledge can far easier and more efficiently solve most common resource problems then remote governments or cooperation can. And the same will very much be true on Mars.
Better preparedness for the next one.
How exactly has the industry been "suffering terribly"? In places I frequent (SF Bay Area, NYC) I see hundreds of long-term restaurants persisting, plus a constant stream of brand new places, all in the face of increasing minimum wages and other employer mandates/regulations. I'd also argue that the quality of both food and service have never been better. I'm not saying you're wrong (I have no clue), but it feels to me like I've been living in a golden age of eating out (expensive though it may be).
Being entitled doesn't mean "I should have anything I want without giving something up". It means that I believe that I have "payed" for this in some way. You may be delusional for believing it, or overvaluating you "payment" though. I would add that self-entitlement would be a good term if you are the only one who determined the value of the object of want and the value of your sacrifice.
Mandatory insurance would've been corporate taxes, with the government stepping in during a crisis.
That's pretty cool and that it was really locked down was my only concern about it. Happy to see it seems relatively open, so just placed a pre-order. Thanks!
Startup Weekend Covid-19 Remote Edition
Stock buybacks are no different than dividends†: a form of returning capital to the owners / investors of a company.

The problem is when boards / executives game the system to front-load options to themselves and other trickery and then cash them out.

†And dividends themselves in turn should be irrelevant to your investing decisions:

* https://www.pwlcapital.com/the-irrelevance-of-dividends-stil...
The key line:

If you pop a vitamin C tablet in your mouth, it's a good bet it came from China. Indeed, many of the world's vitamins are now made in China.

In less than a decade, China has captured 90 percent of the U.S. market for vitamin C, driving almost everyone else out of business.
A vaccine does not make people "a little bit infected". Vaccines are deactivated virii, so your body develops the antibodies, without any actual infection.
We ban accounts that post like this. Please see https://news.ycombinator.com/item?id=22606977 and don't do it again.
Haha I'm a contractor at my current job and while my job is extremely secure, all those benefits and assurances my company is sending out don't apply to me.

Its great that none of the employees at my company have to show up sick and will still get paid, but what about us temps and contractors? The temps and contractors are the ones that will be spreading covid-19 due to our circumstances.
>Only in every case it ends up being completely accurate.

What I've noticed, anecdotally, is that Fake News is screamed at me when the story is accurate, but isn't parsed like a legal document.

So "Jim said he would kill all the sparrows" is the headline, but because Jim said "he would kill every sparrow" and not literally "all" the sparrows, FAKE NEWS.

It's absolutely infuriating.
A lot of trading is done via indexes. So if people are bearish, the whole market ends up tanking. Stocks like Roku and Netflix should actually benefit from people staying home, but their stock is still going down, because people are just selling the entire index.
Movie theater box office numbers[1] are another good indication of the same thing. You see a similar large drop-off, but still a sizable amount of people gathering in these businesses. This is why it is crucial for the government to force these businesses to close. As long as they are open, people will gather in them.

[1] - https://www.boxofficemojo.com/date/?ref_=bo_nb_wey_secondary...
‘A Once-in-a-Century Pathogen’: The 1918 Pandemic and This One
So why not just issue dividends and avoid the downsides?
It’s really refreshing when someone in business actually embraces the open standards that brought us here.
> I find it exceptionally offensive...

Not sure what you mean with this. What I was trying to say is that the political side that is traditionally more vocal about the need to improve the condition of the poorest (I think we can agree on this- that's what defines the left anyway) has- in my opinion- lost its way by focusing too much on the climate issue as if it were the source and the solution of all problems.

More, I think that the left has actually bent the climate issue (which is at its core a scientific issue, something that transcends any value judgement) to the point of making it coincide exactly with its fundamental ideological framework- which explains why climate change is felt as such a central problem by leftwing/ liberals and leaves rightwing/ conservatives so sceptical.

(To give you an example of what I mean with this: you'd expect campaigners for action against climate change to organise big rallies in favour of the construction of hundreds of nuclear plants- or at least for more money into research for cheap and safe nuclear energy. This doesn't happen because the issue of climate change has been shaped into a glove that fits perfectly the ideological framework of the left: less industry, less capitalism, less consumption, more redistribution).