skysight-inc/HackerNews huggingface dataset:
I'm not really convinced the author is correct in claiming that a one-word change opened the floodgates to optimizations on undefined behavior. In particular I think:

> Careful reading will reveal that the word “Permissible” has been exchanged to “Possible”. In my opinion this change has lead C to go in a very problematic direction.

is a red herring. In my opinion, the actual problematic phrase is this:

> ignoring the situation completely with unpredictable results

which didn't change between C89 and C99.

It all comes down to what "ignoring the situation" should mean. Compiler vendors appear to interpret this to mean "ignore situations that invoke undefined behavior". Programmers who dislike optimizations based on undefined behavior appear to interpret this to mean "ignore the violation that leads to undefined behavior and treat it like conforming code". Who's right? It's ambiguous.

> C compilers have taken the concept of undefined behavior even further by doing the mental acrobatics of thinking that “If undefined behavior happens, I can do want I want, So therefor I can assume that it will never happen”.

I think this description is a bit uncharitable. I think a better description might be "If undefined behavior happens, there are no constraints on program behavior. Thus, if I assume that undefined behavior never happens, optimize the program based on that assumption, and that assumption is violated, the resulting program behavior is still OK because the standard imposes no rules on what the program must do when undefined behavior is invoked."

> Lets take a look at signed integer overflow:

Wasn't this useful for loop counters? I think this gist had more info: https://gist.github.com/rygorous/e0f055bfb74e3d5f0af20690759...

In addition, this bit:

> In C89, undefined behavior is interpreted as, “The C standard doesn’t have requirements for the behavior, so you must define what the behavior is in your implementation, and there are a few permissible options”.

is implementation-defined behavior, not undefined behavior. As the C89 standard notes, defining the implementation's behavior is only one of the things an implementation may do, not something it must do.
I wonder whether this will be enough to sufficiently reduce infection rates or if stricter measures will be required. It’s really like driving in the dark with so few test being performed. By the time we realize that it’s not enough, it might be too late. There is a 2
week delay
in the feedback loop.
If nothing is done, the least privileged will suffer the most due lack of access to health services and a financial safety net.
Freedom of travel, upon which quarantine rests, has been thoroughly adjudicated in diverse public safety contexts. It is unlikely that the court will deviate dramatically in this specific case from centuries of precedent regarding restrictions on travel relating to public safety. The CDC's guidelines may be new but not unprecedented.

The outliers where the courts allowed the kind of special reasoning being proposed here, which has happened on occasion, have almost universally enabled shameful chapters in American history e.g. Japanese internment. Courts are understandably reluctant to allow this kind of expedient violation of Constitutional rights.
It looks like Medium is opening their paywall modal based on viewed articles (and cookies). Therefore, you could try private browsing.
The 19th-Century Night Soil Men Who Carted Away America’s Waste
The domino effect Covid-19 on our financial market
Are we going to blame politics on the Italian or other European countries’ responses too? What’s Italy’s excuse for being so unprepared? The simple fact is that partisanship is relevant: Democrats claimed travel bans were xenophobic however Taiwan issued one on Dec 31 and have very few cases. Denmark and Poland closed their borders. When Trump does it, it’s automatically “bad,” when Europe does it, it’s automatically good. That’s what we are dealing with. Trump could cure cancer and the Democrats and the media would turn it into a civil war. The US is actually doing really well with this right now, relatively speaking: look at Italy as an example. Their first case was Feb 20. The US’s first case was Jan 21. Yet Italy has a dramatically higher death rate, despite “better” healthcare.
SEEKING WORK | Remote/part-time/contract.
Interested in VR/CV/Fintech/Robotics/Secure Systems (formal methods), analysis of distributed systems... The list is not limitative really but please, no PHP website.

Technologies: C++, C, FPGA, Cuda, Python, Erlang/Elixir, C#, Scala, Java, Haskell, Ocaml, etc...

Former speaker at CUFP conference
Email: renoir42@yahoo.com
I have tried this and basically all of the kids-programming methods I can find. It’s hard for something to be a good solution “for kids” nowadays if you can’t run it on an iPad. The interface just ends up being much slower and clunkier so it’s harder to stay engaging. There are a number of iPad-based programming introductions, like Tynker and the various LEGO-based apps, that are the best ones IMO.
The point is to push the info to the programmer so that the code can be re-written as only defined behavior. Yes this would eliminate the 'gains' of abusing UB, but it would actually fix the errors of abusing UB.
I know, but important things are often difficult.
Case A: No drastic action, your daughter gets her job in Sydney, you catch the virus in a few weeks and die.

Case B: Drastic lock down, your daughter lives on your dime for a few months or a year before she gets a job. You live to see your grand kids grow up.

And you'd rather risk case A?
If you do it properly (flattening the curve), it takes longer than getting hit with the full-height wave.

You have to “keep your foot on the brakes” until the disease is no longer a threat. Take a look at countries where there is success - Taiwan, Mainland China outside Hubei, HK, Singapore, SK - they must keep whatever countermeasures are working for them in place to some degree or risk another wave of infections. I think the culture of wearing masks really helps, despite the public messaging to the contrary. It seems like it would be good if mask manufacturing spins up enough to totally saturate the world over the next few months, and western cultures get over themselves and start making it common to wear them in public.
Good thing they're not in the US.
I think most of us could do this without Google signin in about 15 minutes.
Where does that safety net come from if there is no economic activity to tax?
Coronavirus Worldometer website faced DDoS and malicious act
Yes, this makes it obvious.
How are you defining "productive"? That still sounds zero-sum to me, though I don't know the details of how they invest the money. If it is zero-sum, then it's equivalent to stockpiling.
Thanks. This is an answer, and reprocipates my point in asking it.
Definitely. This is also going to make sure we all take a deep breath, and stop being so consumerism focused for once. It's insane that our economy takes a nose dive the day people aren't allowed to spend frivolously for two weeks.
Looks nice but on mobile the alarming red everywhere seems rather unnecessary. Recovery data seems missing below the fold. Pages on transmission and fatalities rates don't cite or link data sources (I've seen your general FAQ but honestly, in this context that just doesn't cut it.).

https://medium.com/nightingale/ten-considerations-before-you... was linked on HN a few days ago and has other good tips if you like.
I wish I took some time off in between startups. I’d suggest taking some time off to clear your mind and rejuvenate. If you have the ability, traveling can help (although this is tough now with the virus outbreak).
From what I understand, there are some components that can't be put in an autoclave and/or have areas that aren't well suited to autoclaving. So it may not be a one-size fits all solution.
In the US, that would likely be the case.
In Italy, probably not. Desperate time calls for desperate measures.
Have you worked at a large company before? You don't!
Not getting upvotes naturally is different from being suppressed by the platform. Specifically tiktok seems to remove the opportunity for success early. Lower votes on Instagram mean just lower votes - smaller communities can still get organised around the "undesirable" profiles.

You can't actually "punish" anyone on IG using voting, because as far as I can tell, you can't downvote.
Tell HN: Coronavirus (Covid-19) Employee Communication Kit for Startups
I'll get the stopwatch and generously double your time limit to 30 minutes. Maybe if they've covered California you could do some of the other states.
My girlfriend is a recruiter in tech and there have been no signals, yet.
Triage as you would anyway (same prioritization), or flip a coin.
I see something similar happening with functional programming. Beyond measurable improvements (ie, in error rate, etc) there is often a mindset where if a language does not implement the latest syntactic patterns, then the language cannot be considered truly functional. HN seems a breeding ground for these sentiments, and adherents can be quite self-righteous.

Out in the untamed wilds of the broader industry (and the further you move away from the Stanford sphere) I have found that fanaticism, of all sorts, tends to taper off, to be replaced mostly with the mundane tasks of churning out software for money.

Of course, no matter where you hail from, the influence of C is inescapable. Yet, provincial priests are mostly concerned with budgetary constraints and deadlines. If switching to Scala will make hiring 10% easier, then by all means.
How is the US 12 days behind? Where does that number come from? The first Italian case was a month after the first US case.
How cool and uninituitive. I worry about prime butterfly habitat right next to a road with high-speed radiator grills.
Thanks watwut, for getting it!
Santa Clara announced 23 new cases today. With the amount of testing we're doing it could easily be 5-10x more than that on a daily basis.

I would say those two counties are actually in critical stages right now. No reason to downplay its significance.
I've never seen studies that say anything about "permanent lung, kidney, and testicle damage, even in young and healthy patients". Where did you read this?

"young patients, the ICU rate is as high as 10%."

Any links?
That's because of people panic selling, and it's a wonderful opportunity to buy cheap stocks.
Yes, they need to work, but they -- and front-of-house staff -- would be far better off with restaurants that are open and functioning. Perhaps not at 100%, but they could certainly allow half-capacity or "shift seating".

I'm sorry but it's simply a very bad look, when it is mandated by the government. Nearly everyone else has the luxury of remaining isolated and avoiding exposure, except for this small segment of vulnerable and low-paid workers, whose workplace has almost zero protection, to provide the most essential human necessity -- food.
I'm fine with the government limiting the number of packages per sale. No tracking required.
C11 does have a special case rule for infinite loops. Section 6.8.5 paragraph 6:

"An iteration statement whose controlling expression is not a constant expression, that performs no input/output operations, does not access volatile objects, and performs no synchronization or atomic operations in its body, controlling expression, or (in the case of a for statement) its expression-3, may be assumed by the implementation to terminate."

(I'm personally not happy that this is stated in terms of that the implementation may assume rather than what a program may do.)

Note that this does not apply to infinite loops with constant conditions. For example, given `while (1) { /* ... */ }`, the above doesn't apply and the implementation may not assume the loop will terminate.
Hopefully the US Gov proclaims blanket amnesty so that people don't have to think about this.
There is economic activity still going on. A complete economic collapse is different than what I'd expect to see.

A relevant question is "how much would this cost?", to which I have no clue. If we're talking billions of dollars, that's essentially a write-off amount at the federal level.
Spring Boot: Integration tests with environment variables
Too late for what? This was going to happen no matter what the fed did. If the mkt blew up because of inflation then your argument would make sense. That's not what happened.
Governments have more fiscal freedom to give out loans than grants. Many of the prior bailouts were also loans (at terms that no bank would offer hence the bailout bit).

Businesses should take advantage of these, and a restaurant operating in a city where operating a restaurant is illegal will not have credit available anywhere else.
This is crazy. There is nothing any party could do to have prevented the virus from reaching the United States, aside from a complete shutdown of the borders, including for American citizens. It is too transmissible, too undetectable, etc, to prevent it. Containment is the only feasible option, and America is actually ahead of the curve. Unlike Italy and France and Europe, American states are shutting down before hospitals have yet to be overrun.
ARM-Ed Mac: A Mere Matter of Software
There are a lot of dimensions to this: The Pandemic Ventilator Project https://panvent.blogspot.com/ is taking this on. If you happen to have $15,000.00 lying around, buying one appears to be an option, although I bet the sell out quickly ... Building an iron lung out of wood, from Popular Mechanics magazine, Jan 1952, is also described here: https://books.google.com/books?id=tNwDAAAAMBAJ&pg=PA262&sour.... Presumably a simple CPAP machine would help, but it 'aerosolizes' the virus, and makes it likely that any caregiver would be much more likely to get sick. Also, a CPAP machine doesn't give as much help as a real medical respirator as far as I can tell.
There's no 'but'.

Companies that sell products for the disabled are not 'discriminated against' by the pretty and able-bodied who don't buy their products by virtue of the fact they don't want them.

There are no hairs to be split here: discriminating against the disabled is reprehensible if not illegal, moderating against those who are 'poor or ugly' is at least reprehensible, and suppressing those who don't support the Chinese State is deeply problematic, though it might not be illegal, it should be, at least for users within non-Chinese jurisdictions wherein the can establish regulations concerning this.

To boot, if it can be demonstrated that TikTok receives direct or indirect state aid, then they're violating WTO rules [1].

[1] https://www.wto.org/english/tratop_e/statra_e/statrad.htm
"Ignoring the situation" is not the same as do whatever you want.
> How can we be confident that updates are not harming our users?

Maybe this is why they finally figured out the auto-playing trailer stuff was a horrible change (I cancelled my account over that). One can only hope.
Sure, I think those privacy concerns are a little bit different.

I am slightly more hesitant about things like that, but at the same time I think that use of data has probably greatly helped their response in controlling the epidemic. Overall, I'm probably in favor of the use of this kind of data in this scenario, but the "slippery-slope" argument makes a lot more sense there to me.

While we've had epidemics and pandemics in the past, we've never had them with the intersection of shared personal data before. We haven't really had any time as a society to think about the utility or the dangers of this kind of approach.

Once the acute phase of the crisis is over, I'd love to see a lot of thinking go into how we can get the benefits of this kind of data while mitigating as much of the privacy downsides as possible.
Distillation of Chinese / Tik Tok model:

1) Maintain political serenity via suppression of fringe politics.

2) Hide "embarrassment" which is distinct form merely promoting glamour.

It's a algorithm for stable mass appeal, you don't get much fringe representation, but you also don't get Arab spring. For many countries, that's the pragmatic priority.
My guess is that loss of individuals to vehicle strike is not important for the overall population. What's important is the carrying capacity of the habitat which, according to this article, has been significantly increased.
I read a paper that suggested caffeic acid was the anti-viral component of elderberry extract that was actually inhibiting HCoV-NL63 viral attachment and infection of human lung cells in vitro (Virus Research, 273 (2019)197767). This paper speculated that caffeic acid binds to ACE2 and inhibits viral attachment and infection via this route. Another paper suggested 95% absorption in humans dosed with 500 mg in 200 mL of hot water. A third paper that looked at 2-year study in SD rats suggested pro-carcinogenic properties, but many other papers suggest anti-oxidant/anti-inflammatory/anti-carcinogenic properties. If I start to come down with it, I think I'm going to do a 500 mg caffeic acid dose.
The only problem with getting a plan on an exchange is that you may need to satisfy a deductible again. YMMV of course.

With COBRA I believe you can also pay your premium after the month it's due. This can be advantageous because you can opt to not pay for your last month before switching to another plan if you end up not using any services from your COBRA plan that month.
Interesting how it goes from `projectbaseline.com` to `baseline.google.com` after you complete the initial questionnaire, but the site continues to look the same. Why not just have one consistent domain then? Obviously it doesn't matter as long as it works, and it was built extremely quickly, though it does make me wonder.
Most likely, given that both the White House and the Speaker agree that there should be a financial package aimed at those individuals affected, this is one of those times when both banks and individuals will be given relief.
This is like a shot-for-shot remake of the official kubernetes-dashboard. That isn't a bad thing, but I don't see why I'd use this over the web app -- it doesn't feel native and will probably always lag behind dashboard

It does feel snappy, and looks good.

One cute GUI utility I've found useful is https://kube-forwarder.pixelpoint.io/.
And this comapny's particular approach to vaccination has never been approved for any indication. I can't imagine why this company would be considered a first-line relative to classical approaches to vaccination (inactivated, attenuated live, made by recombinant hen egg, etc., etc.) that we roll out regularly and successfully.
Isn't it unfair to allow some companies to profit on student loans when others were more prudent and didn't lend to 18 year olds?

All finance is done, of course, with pure equality!

The people who didn't take student loans haven't had to live with them. They had more years working, with better pay, and without loan interest - they got nothing for their decision! Certainly not a piece of paper that entitles the holder to work in a job unrelated to their studies and without any useful pay bump.
What you are experiencing is absolutely normal. You worked on the best idea and you worked it hard. You even delivered revenue from customers and maybe you successfully raised some investor money. However, 4 years later, you're the end of the road. You are hungry for a new idea because you have built up a unique set of entrepreneurial skills that you want to keep using. You're a professional high-energy operator who builds and executes. However, you don't have anything as good as the last business because starting is hard. You know that a startup requires commitment and conviction. However, to get that fire again, for a new business, is a drag. Your startup left you out of commitment and conviction for your industry and with even less fight in your spirit for another run.

My advice: Go back to the scene of the crime and open up an investigation while the trail is still warm and you have some consulting gig to keep cash in your pocket.

Your startup worked for 4 years. I would recommend you go back to your industry and meditate on why you were convicted and why you were committed. Why did you succeed? What did you do better than the competition? Why did you stop succeeding? What about your customers you really loved? Which customers did you really hate? What was the magic of the business that others couldn't repeat as easily as you. In those answers may possibly lie the new startup that you want to launch that will CRUSH the COMPETITION. In a careful poring of the 4 years are the seeds for a new and possibly even more successful company. Take your time because looking at the failure will be painful.
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

In particular:
https://news.ycombinator.com/item?id=21854822
Workers fluent in English and who didn't gamble or drink were much lower risk (in terms of theft and punctuality) and higher value to ANY employer. Ford wanted to verify that his higher wages were being spent wisely on a higher quality workforce . .
And "do whatever you want" isn't really what compilers are doing either. Out of all possible program executions, they are ignoring the situations where undefined behavior is invoked. That (arguably) matches what the standard says, does it not?
There is a huge backlash and they seem to be backing off of that idea. We'll see.
One Year of Classic Computer Science Problems in Python
The cost and complexity of making parts that can survive autoclave is a big driver of single use parts.
No they don't. Italy has much fewer critical care beds (the kind needed for COVID) than the United States, which is #1 in the world.
Cheap Embroidery Designs
I remember when we exchanged text files with long lists of IPs for FTP servers at the university before most servers had domain names.
Using JAX, numpy, and optimization techniques to improve separable image filters
one has to wonder. If this virus didnt disproportionately target baby boomers...would we still see this level of response?
The premise is that just because the standard doesn't impose requirements, it doesn't mean that other known factors like ABI, Architecture, and other platform specifics don't matter.
They got the vaccine out for testing much faster. The technology was created for rapid response.
Earlier in a podcast Chamath also explains that we are basically facing a choice: save the people, or save the markets, and we are choosing to save the people.

If you look at the link from Draper, he is a VC, and is clearly looking at the situation from a more financial stand-point. His push to reopen business as usual might sound cold, given the situation, but it has legs, at least from a purely economical point of view.
https://www.worldometers.info/coronavirus/coronavirus-death-...
As I said elsewhere, if you've got $15,000 you can buy one, with support for home use: https://helpmedicalsupplies.com/products/philips-respironics...

If you were building one yourself, it would take some education. Google 'ventilator induced lung injury' and dive into the complexity. ...
I don’t think the country you’re describing exists.
The problem is stocks continue to fall — hard — and nobody knows where the floor is.

It’s also unclear how long it will take everything to recover, if they do continue to fall.