skysight-inc/HackerNews huggingface dataset:
Non-paywall: https://www.marketwatch.com/story/global-airlines-face-bankr...
In Germany you'd go with this for 2 years tops, then mandatory technical checkup would catch this stuff, both unapproved aftermarket stuff and a lack of alignment. Is there no mandatory checkup in the US?

Also: since the listings on the marketplaces for these lamps do not match legal requirements, why are they not shut down and the sellers prosecuted?
oatmeal ; oat porridge
Typo in article: “for hundreds ill-defined processing purposes.”
Yeah, tovarich, is the hypocrisy of big tech companies, banning people from their services, not long ago Adobe banned Venezuelans accounts, looks like people from certain countries are 3rd class citizens. You can alternatively host your own GitLab repo. I'm truly sorry this happened to you.
> The only proper response is subtle economic war on the part of the US directed at France and Germany. And we will do exactly that. We'll use every practical lever we possess to harm their corporations in retribution. It's fair game.

This has been going on since the beginning of time. Governments take stronger action against foreign entities than domestic ones. US turned a blind eye to GM knowingly allowing over 100 people to be killed due to a known faulty part but burned VW for the pollution. EU turned a blind eye to VW polluting but burned Apple for antitrust violations. Both unions acted well within law and reason when fining the foreign entities. But this is how things go. Local lobbies are usually far stronger than foreign ones so the path of least resistance means you can easier enact justice on foreign companies.

> It's a mistake on the part of the EU, the US is radically stronger in every respect.

It's stronger because it has allies like the EU. There's the distinct risk that every ally that the US alienates invariably turns to the East. And it's not like anyone (US included, not counting armchair warriors) wants any kind of open conflict (military or economic), this shoots everyone in the foot. Sometimes even when on the winning side people may be less prepared for the hardships of such conflict than the ones on the losing side.
We are responsible for our own actions and not the actions of our children or siblings nor employees.

This might be surprising, but that is a relatively new concept. It was quite common in the ancient world to execute people for crimes their family or clan did.

I suggest being very careful overriding millennia of legal precedent and human rights laws because you're upset about something Apple did. Almost everytime pitchforks get drawn and torches lit it ends badly--regardless of which side of the pitchforks you're on.
> This particular bug actually comes from C++.

No, it does not. Don't gaslight please. The bug is either in Rust or in clang. The C++ language, and the language committee, are not responsible for this bug at all.
So We’re Working from Home. Can the Internet Handle It?
Am I way out of band or does that seem like a comically small amount of money for the average American?

I live in an extremely low COL area and live well within my current means. Assuming my work dries up and I don't have any savings, 3k$ would buy me two months tops.

Just to give you an idea of how cheaply I live: Mortgage is ~800$/mo, Car is a paid off 2006 Toyota Highlander, Student loan minimums of ~400$/mo, My wife and I have a newborn, which currently isn't very expensive but we all still need to eat.

The average one bedroom rental in any given metro area, even in mid sized cities, probably lands somewhere around my basic monthy costs. So, if you're a single person in the city you might get one month out of 1k$.

And I am VERY lucky to have a bunch of cashed packed away. I assume at least a large portion of this country is living paycheck to paycheck.
The problem isn't really the amount of goods, we have sufficient resources to meet everyone's basic needs. The problem is liquidity as commerce collapses and pay cheques for many people dwindle or disappear in the short to medium term.

UBI would for most people be offset by increases in payroll taxes, so for the majority it would be a small overall change in income, up for some and down for others, dramatically buffering the cost compared to your calculation.

Overall I'm a UBI skeptic, I don't see any way it could herald in a utopia of freedom some of it's proponents imagine. That's wishful thinking, but as an emergency measure to help people through a severe crisis like this it might make sense.
Isn't it already there? Right now the compensation for C-level vastly outstretches the actual requirements of the job or risks taken.
I'm not convinced the task-based approach doesn't work. Perf-wise there's no reason that tasks have to have the overhead of threads.

Syntactically, I think it is worth distinguishing between things that can time out and things that can't, because you usually need to do some sort of cleanup on timeout.

In fact as far as I can tell, the cancel scopes provided by Trio with the async await syntax are exactly isomorphic to Scala's tasks from the cats library (where they are called IO).

Also I'm not sure I understand the author's preference for thinking of timeouts as level-triggered rather than edge-triggered. While it's an interesting way of thinking about the problem, and would be the natural way a timeout is implemented in an e.g. FRP system (a lot of flavors of FRP are essentially entirely level-triggered systems), it doesn't seem like the way you'd implement things in a non-reactive system. What's wrong with just killing the entire tree of operations (as is usual when you propagate say, an exception) on a timeout, or from a top-down manner when you put a timeout on a task?

Timeouts are fundamentally tied with concurrency (they are a concurrent operation: you're racing the clock against your code and seeing who wins) and to me the tricky thing about timeouts is exactly the same trickiness that you face with concurrency, namely shielding critical sections. How you decide to pass timeout arguments seems like a secondary concern. Just like with normal concurrency, you need to make sure that certain critical sections are atomic with respect to timing out, either by disallowing timeouts during that critical section (you therefore need to make the critical section as small as possible, ideally a single atomic swap operation) or implementing a reasonable form of rollback. (Of course you can always take the poll-based approach where you poll for timeout status, but again this is just a specialization of a general concurrency strategy)
> I suspect that stock prices were artificially inflated over the last several* years. If we were in a bubble, then this coronavirus ends up acting more as a catalyst for popping the bubble, then you would see a significant drop to the market beyond the immediate effects to the market.

I don't really get the bubble theory. Stock prices were "artificially inflated" because the Fed was keeping interest rates low. That causes people to borrow money and use it to invest with, because the risk-adjusted return on the investments is higher than the interest they have to pay to borrow the money. Which creates more demand for stocks and drives up the prices.

But that demand continues as long as the interest rates are low. It's the same as housing -- low interest rates and easy money increased housing prices, which then came to a head when interest rates started to rise and suddenly that demand fell off, sale prices fell and people were underwater on their mortgages. That's what happens when interest rates rise, which is why the Fed has been keeping them low for more than a decade, but they just fell even more. The "pop" happens when interest rates go up too fast. Stocks are down right now because of the coronavirus, not because interest rates went up.

The trick is how to get out of the low interest rates without causing the market to decline, and there are two options. One is high economic growth, so that natural demand can replace the demand created by low interest rates, which you take if you can get it but hasn't been the case recently. The other is inflation -- the government creates a bunch of new money and gives it out, which creates a tendency for nominal prices to increase and offsets the decrease caused by raising interest rates.

We may be at the point where that second one is making a lot of sense, because "high economic growth" seems pretty unlikely in the immediate future, but "print a bunch of money and give it to people" is exactly the sort of thing you want to do during hard times when there are existing deflationary forces in effect. And then it sets you up for a subsequent recovery that allows interest rates to rise as the deflationary forces wane and the inflationary effect from creating the new money catches up and allows you to raise interest rates without reducing nominal asset prices.
How to Write a Brief for a Software Project
Could be an age problem, in Italy atm the median age of the death patients is 80yo.

[ https://tg24.sky.it/salute-e-benessere/2020/03/16/morti-coro... ]
what happens with forked or cloned projects? will they be blocked too?
I will recommend everyone to watch the Nanjing video. That is an insane amount of precautions. Keep in mind that it is about Nanjing, which was nowhere near Wuhan numbers. Some examples:

1. Every place is taking temperature of people. Every place

2. You have to register your presence everywhere. Boarding the metro train you have to scan a QR

3. Takeout is totally touchless, and contains the names of the employees involved in making it.

4. Cabs have a plastic seal between driver and passenger sides.

5. Restaurants have physical barriers between seats, so even if you go together with someone, you can't eat the food while looking at each other.

There are just some examples, the video shows many more.

To top it all, everyone is wearing masks. Everyone.
It was hypothesis and later proven incorrect. Some even argue algos helped minimize the turmoil.

In the pre-automated era I can see circuit breakers working in a constructive way for the markets. These days, with trading being mostly automated and algorithmic, to me it feels more like a bureaucratic tool to give government institutions some time to play the markets.
This is not going to help.

The people who need the most help are the people who are going to be homeless in a month. 1k will buy them a second month. This thing will not blow over in two months.

What would help, is for mortgage and rent payments to be suspended as long as the state of emergency lasts. Not deferred[1], suspended.

When economic activity stops, we have to stop rent-seeking from bleeding everything out of the system.

[1] Deferral doesn't work. A bartender living paycheque to paycheque, who lost his job because all bars were shut down is not going to be able to magic up six months of back-rent in September. His landlord won't see a penny of that owed money... But the landlord's bank will be demanding six months of mortgage payments.
The PS2 supported mouse and keyboard. Not many games bothered with it.
If they are government student loans, I think the interest on those is gone for awhile.
Governors agree to close bars, restaurants, casinos in NJ, NY and Conn
Looking at the infection curve for China, I'm expecting to WFH for the next 3 months, with things getting better around June.
I had been thinking it was some combination of the light bulbs getting brighter and my eyes getting worse, but I think it's mostly the former. It is simply impossible to see on the backroads in Virginia if I'm driving the kids in the minivan.
The World of Jenkins: Better WithSpinnaker by Armory (YC W17)
Also: South Korea.

They seem to have essentially stopped the spread of coronavirus with <0.02% of their population infected.

People frequently cite extensive testing as the key to Korea's success, but it's not like they've been testing everybody; they've tested about one-half of one percent of the population. And they didn't even take steps nearly as drastic as China did in terms of quarantines and the like.

I wish someone could provide good reasons for why they've been so successful at containing this virus.

I obviously don't know much about infectious diseases, but it strikes me as really odd that there is a consensus among scientists that this virus will inevitably infect 20% to 70% of the US and the world, when it seems to be pretty well contained at less than 0.02% in China and South Korea.

If this virus is so inexorably contagious, shouldn't it at least infect, I don't know, 5% of China/SK? Or at least one percent?

I have been looking for answers to this puzzle and have found little or nothing to explain it.
I can't suggest anything, I'm afraid—I haven't worked with Windows and Linux targets using React Native. But it appears that there are React Native rendering targets for Windows and Linux (https://github.com/Microsoft/react-native-windows and https://github.com/status-im/react-native-desktop). I'd probably start by looking there.

And of course, because React Native can build to web, one could ship Electron apps for platforms with lower priority for your business.
Some Ask a Taboo Question: Is America Overreacting to Coronavirus?
My point is that if a loop

- doesn't terminate, doesn't have side effects -> optimization doesn't matter

- doesn't terminate, has side effects -> optimization isn't valid

- does terminate, doesn't has side effects -> optimization would be valid, but why would such a loop exist? One example that was brought up was generic code, but I'm not entirely convinced yet.
"this" in the second sentence refers to droplet size regardless of measurement method. I have asked for the SARS-CoV-II droplet size distribution many times before, for example here:

https://news.ycombinator.com/item?id=22519323
No you’re not out of band. ‘A person is smart. People are dumb.’
Seeing as you thought this out, surely you thought out the alternative that is somehow better for inventors? I'd like to know what conclusion you came to regarding that
It says that I should use Chrome instead of Firefox.
It's a lot pettier than the rampant petty theft that gets ignored in many major urban areas.
Write code for use not for reuse.
Write code that is easy to remove, not code that is easy to change.
Did you look at the sunshine data? Bergamo has low sunshine in Feb and March comparatively.

Places hard hit:

* Wuhan: 100 (In Feb)

* Paris: 79-129 (Feb-March, North France harder it by # of cases, cannot find death info)

* Bergamo Italy: 100-150 (Feb-March average)

* Seattle WA: 100-150 (Feb-March)

* Iran sunshine varies a lot by locale. But some places like Rasht, its very low light: 90, 78, 71, 113 for Jan, Feb, Mar, April

Places less hard hit:

* Bangkok 250-275 (Feb-March)

* Kuala Lumpur 185, 192, 208 (Jan Feb March)

* Ho Chi Minh City, 272 (March)

* Seoul: 175-200 (Feb-March) South Korea contained it of course, but their lethality numbers are also lower, and its the lethality that I find odd in all this.
Minecraft servers can prevent visitors from modifying anything.
Besides lower popularity, is there any downside to moving everything to GitLab?
> we don't know that "the next one" will require ventilators

Good point. How about, "the next one that needs ventilators". Either way, it is a concrete example of equipment that we can now add to the list of things we need more of to be better prepared next time, or the time after that, etc. There are certainly many more things that should be on that list too.
Radio Swiss Classic plays older compositions; I dislike modern music as well and use their stream.
I feel like people often forget that the law clearly holds people responsible for things that they did intentionally and willfully. Which is to say, being able to jail C-level executives would not allow you to be jailed because your employees did something without telling you. It would allow you to be jailed when you make a decision that gets people killed or causes some other significant harm.

Instead of fining the nebulous company that you are a part of, you would be held responsible for your choices.
Just on deaths alone, which is a 2 week lagging indicator, the count as of 2 weeks ago was several tens of thousands of cases.

Where are you getting your numbers?

https://www.worldometers.info/coronavirus/country/us/

Also, why do you think deaths are lagging by 2 weeks? Infection number - sure. Most people don't get tested. But when someone dies, it seems reasonable to assume it gets notices and reported.
That also seemed like a comically paltry move. I still have to make my payments, after all!

In addition my wife and I have spent the last couple of years with two incomes wiping away our student debt on high incomes in Seattle - so the only loans I have left are pretty low interest.

The only way I can see this working for everyone is to simply halt the economy altogether. No mortgages, no bills, free food, free medical care. Once we get a hold on the disease itself we can deal with the economic impacts.
I was sceptical when I read that. I done some quick back of the envelope maths based on the Renault Zoe (very much on the small / cheaper end of the ev scale). The offer they have at the moment is a PCP deal (basically you lease the car for 2 years then have the option to buy it) at £269 per month. At UK fuel prices that's equivalent to 20k miles a year in fuel costs in a equivalent reasonably efficient small petrol car. Of course that is assuming the electricity is free. Even if it was it falls apart when you check the small print and see the deal is based on 6000 miles per anum.

Maybe there is a way of making the numbers come out ahead but it's not immediately clear to me how.
There are much better 'disinfectants': alcohol is good at killing living cells, but doesn't do a great job killing spores or penetrating into protein-rich....gunk.

You would probably want to use a "high-level disinfectant" or "sterilant" instead. Gluteraldyhde is fairly common choice or ethylene oxide gas, though both can be fairly nasty if not handled carefully (which is, of course, the whole point).
This is why centralized SCM is a bad idea. Backing up GitHub issues, etc is a pain and isn't 1:1 portable to other platforms.

Issue tracking and SCM features needs to live inside the Git repo or at least in a decentralized app. Git is supposed to be decentralized by nature. Everyone is so content with GitHub and GitLab that not much innovation has happened for decentralizing SCM as a whole. They have so much money and resources that they can blackhole anyone who says otherwise.
You posted this simultaneously with my comment just above, and it provides some helpful information related to my questions. Thank you.
Ask HN: How can we increase hospital bed/ventilator capacity in the US?
If China can build one in 10+ days why can’t we accomplish similar feat? Probably won’t happen here.

Let’s discuss more about feasible solutions here in the US. Can ventilators somehow be shared safely so that we can effectively double the capacity? Are there alternatives to ventilators?
The author is encouraged to look into undefined behavior sanitizers:

https://duckduckgo.com/?q=ubsan+sanitizer&t=ffsb&ia=web

clang and gcc have those.

Other than that - @_kst is correct, it was the same in C89 and C99, and the intention is simply to let compilers make the optimization they like ignoring what happens for UB cases.
8k AND 120fps. I think the proposal is 8K@60, 4K@120.
The fact Github banned people from certain countries is in fact very similar to Nazi Germany. People in first world countries don't really care about the struggles of other people in less wealthy countries, we just pretend we do. Those people should be able to access all the services that are provided for free to us.
Maybe if you blink the light bar. Maybe.

Intentionally blinding problem drivers, while emotionally satisfying, is likely to cause accidents, road rage, and is probably illegal. Blinking your high beams is the socially acceptable thing to do. Going too far beyond that is the optical version of coal rolling.
That’s irrelevant to this discussion.
Microsoft is rewriting react-native-windows from C# to C++.

It's very active and they keep up-to-date with the upstream RN fork.

After the rewrite it will be merged into react-native. There's work already done there.

Catalyst opens up the doors for react-native to work on MacOS without many changes.
Depending on how you define a nebulous concept like "the next one", HIV/AIDS already is since it's a pandemic
If a clone is a mirror, then it will simply stop mirroring. Forks will not be blocked unless the reason had to do with the content, but I'm sure they can block those too.
They managed to quickly break the exponential evolution probably with a very rapid and strong response. Could be that Latin people are less disciplined when it comes to adhere to restrictions. See https://twitter.com/PrieurJulien/status/1239227017549283330?...
I used to listen to KUSC until I got annoyed with the commercials and interruptions, of which there are quite a few. Now I recommend Radio Swiss Classic (http://www.radioswissclassic.ch/), which is better in this respect; the music may be of slightly less variety and with less scommentary.
A light bar for a light bar makes the whole world blind
Highly recommended as well. Kudos to Martin; not only is it excellently written and dense in information, each chapter has a fantastic reference section which can lead you to more interesting resources, papers and books.
Kubernetes Native: Introducing Armory's (YC W17) Spinnaker Operator
Not sure where I smeared all Republicans. I clearly stated 'elected leaders from a certain party'.
Rep. Devin Nunes, Kevin Stitt of Oklahoma, David Clarke (whatever he is), all are encouraging people to go out. This is a fact. I did not say all or even most; but to dispute this makes no sense. Please don't put words in my mouth.

As of this moment, ~1,800 known deaths in Europe. My apologies for overstating by 10% and causing panic, end of day tomorrow I will be accurate.

Edit: we have now unfortunately reached over 2,000 a couple hours after this post.

I'm not really sure what you mean about the majority of your other points regarding planning, leadership and too much planning. Bad planning and poor, ill defined leadership is not exactly a major win over no leadership and no planning.

Either way, I wish you and yours the best during the weeks / months to come.
It would go way waaay higher. Especially for large corporations where there is probably always somebody at some level trying something shady. I could easily see it go 10x for the largest corporations. Trying to make C-level officers criminally responsible for others' behavior at the corporation would basically push the pay gap much wider.

Even for small companies, executive pay would at least double. And that isn't just going to come out of profits. The lower wage earners will take a hit too, especially if they have to be watched all the time.

And none of that "if you don't trust them then don't hire them" bs. Do you realize how difficult that would make finding a job? Your background would be gone through with a fine tooth comb.

I don't think supporters of this are thinking it through nearly enough. This would be the mother of all unintended consequences.
Observing from a new KIA three row seating SUV…

• The lights are higher color temperature than an incandescent bulb, so are perceived brighter for the same legal power output.

• The vehicle has a tall front grill because buyers want a truck-like front end to avoid being called a minivan. Once you have a grill, headlights look like eyes and it bothers people to have eyes low on a face, so the headlights end up on pretty high up from the road. The geometry of needing to be pretty much parallel to the pavement for long distance illumination and starting out high up gets the light into more oncoming drivers' eyes.

• I'm pretty sure these are aimed too high from the factory. Other driver's will sometimes flash brights at the vehicle's low beam headlights. It's great for the driver, until the oncoming car hits you.