skysight-inc/HackerNews huggingface dataset:
It actually would be guaranteed to 0 it if it were instead unsigned chars. For plain char, the implementation has to specify if it is signed, and if it is, what kind of padding it has. If it has none, it would also be guaranteed. Therefore, you can just check the compiler manual to see if this guarantees zeroing. (None of the mainstream compilers on mainstream platforms will have padding for signed char, either.) (C99: §6.2.5 and §6.2.6.2)

(If you know a platform where this is not true, I'd be interested in hearing about it!)

Edit: Oh, also, an implementation is allowed to have different padding in struct fields than the padding of the type itself. But it has to define this, so you would be able to look it up in the manual to see if it's different. (§6.7.2.1: "Each non-bit-field member of a structure or union object is aligned in an implementation-defined manner appropriate to its type.")
If you're OK with randomly losing files without any warning then I'm not sure if your use case is serious.
The problem with that strategy is that some percentage of the people who become sick need acute care or they will die, and acute care is effectively a fixed resource over short time frames. There are a limited number of hospital beds, ventilators, nurses, doctors, and support staff available. The disease can spread much faster than you can increase any of these resources. If you run out of hospital capacity the death rate will increase rapidly and substantially. No government will fail to act when there are literally bodies piling up on the sidewalks outside of hospitals, so it is much saner to act to divert that scenario.
It's just not guaranteed to 0 out y

Citation needed. As far as I'm aware, memsetting structs is perfectly fine. The problem are things like memcmp as padding bytes take unspecified value.
We need fiscal stimulus, and we need it yesterday. Time to put money in people’s pockets.
Yeah, not that way. That's not quick

https://www.theguardian.com/world/2020/mar/13/first-covid-19...

hiding info

https://www.voanews.com/science-health/coronavirus-outbreak/...

not like they had a chance when forced to quarantine at gun point

https://twitter.com/stillgray/status/1239100397597253633

and silenced if dared to criticize

https://twitter.com/nathanlawkc/status/1239184465961811970?s...

Is silencing doctors, not sharing info with the global community for weeks, if not months, forcing their people at gun point, sealing their houses, and then attempting to blame the US a superior model?

I fail to see how. Soviet model 100%.
Yeah, though that's largely irrelevant to the point of this document.
> This is a pedantic word splitting argument.

No, it's a correction.

>> > Also 3000 confirmed cases does not mean 3000 actual infections.

This statement is factually incorrect.

> The relevant measure is number of people infected no the number we happen to know for sure because we finally got around to testing

That is irrelevant to the response I gave. It seems to be a popular interest today, in trying to clarify a concept, which is unrelated. I am done engaging with this derail.
If there is total financial destruction at the level of people losing their homes, not being able to eat, having their utilities cut off etc. it will be entirely due to policy choices that prioritise maintaining the current economic system and protecting the interests of the wealthy for the duration of the crisis over ensuring that everyone can survive with a basic, indeed decent, standard of life. By this I mean having their basic needs of nutrition, shelter, heat etc. met. For many (and I'm writing from the UK) this would actually be an improvement over the current situation.
Globally we are the richest society in history by a profoundly long way, we have enough resources to get through this crisis. There is no reason that anyone should lose their home, or starve, or be left without power. But we have to acknowledge that, just as in situations such as WWII, normal economic life and the interests of capital / shareholders / the wealthy have to take a back seat to ensuring that, as far as possible, everyone can maintain a decent standard of life.
Nope, that doesn't make any sense. Keep the shops open now and infection grows exponentially. Overwhelm the ICU capacity = MORE people will die. MORE people dead = less consumption = less people paying rent, etc.

There is no good solution :(
Sure, but economic fallout from natural disasters typically recover much faster. It doesn't shock our trust in the financial system, and people are more community minded, since no person can be blamed for it. Already, we are seeing bipartisan attempts at governmental stimulus. Did you ever think you'd see Trump and Pelosi agree on government spending, because the white house was pretty quick to endorse the house's plan.

But back to pandemics. Pandemics typically result in major booms due to (a) the die off, (b) the pent-up demand, and (c) the fact that everyone still trusts the financial system. The 1918 pandemic certainly caused major GDP losses, and short-term pain, but also caused the 20s
> this panic feels worse

Well, for most people losing their family would feel way worse.

There are many ways to mitigate the economic impact down the line. Governments at all levels, companies and organization are already helping blunt the impact. For example, the California state government has promised to keep paying teachers and school staff. Many tech companies are continuing to pay maintenance staff despite office closures. NBA players have donated to arena staff affected by cancellations.

But nothing can bring back our loved ones.

Sources:
https://edsource.org/2020/newsom-assures-districts-theyll-be....
https://www.cnbc.com/2020/03/06/coronavirus-google-facebook-....
https://www.cnn.com/2020/03/13/us/nba-player-donations-coron....
> Making assumptions about the value of a pointer based on UB is not ignoring the situation

But it is? Out of all situations, you ignore those that invoke UB. It's technically correct, but can produce bad results. What you want is to ignore the undefined behavior itself, and to treat the code as conforming. That's an equally valid interpretation, and the only way to definitively get one interpretation over the other is for the standard to change that wording to say so.
The CADR space cadet had a spongy feel, probably because of the large size and plastic case. A sad dependent of the Knight TV keyboards. With the 3600 series Symbolics replaced that with a solid keyboard (fewer keys though) that was more satisfying to type on.

Some of those keys like thumbs up/down etc were never really used anyway.
I know this probably won't be enough, but how about tax exemption for all business affected by shutdown order in 2020 paid by the federal government
I believe y may not be zeroed out if there is padding between x and y. Now, whether any actual compiler would insert padding there, I have no idea.
The French yellow vests are still rioting saying this is a move by the capitalists to lower stock values so they can buy in cheap.

Honestly it does seem to have a lot of blatantly manufactured steps added on top of a normal health situation. Australia has implemented a 50k fine for people who break curfew.

When did 1984 become reality for the public? This is not the stiff upper lip, we don't give our lifestyle away to foreign threats, classic western attitude. This is blatant politicking for a police state off the back of dead people. Nobody wants to live like this and sometimes you have to choose for yourself.
> I’m saying that using a leading indicator like the stock market is no metric for declaring that things are getting better.

Literally no one but yourself has implied the stock market going well means Coronavirus is going away.

That’s so absurd I gave you the benefit of the doubt and assumed something was lost in your wording...

The comment chain is about the effect of the virus on electability of an incumbent.

The stock market’s performance is very much tied to that and while not the only indicator of an election's outcome, is a pretty strong motivator of political change.

On that note... since his speech a ton of bad news has come out, some his claims were proven false, the fed hit the nuclear options, and futures hit a circuit breaker Sunday night which is a terrible indicator for this morning’s market.

So it’s still a strong factor in his electability, just not in the direction it was Friday evening.
Every loan company has a risk profile. It is completely fair for some companies to give high risk loans at high interest rates. What is stupid is the usa government not subsidizing education, but making loans backed by the government and then making them non defaultable.

> 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.

Not sure what you're talking about here. People who gave up on college gave up on in demand skills, higher future income, and got more stressful and demanding jobs.
Italy is way too late for that. Also I think you’re a little early declaring victory for China etc.
> The goal is to capture as much data as possible

Normally, yes. But this isn't normally - here the goal is to get a vaccine as quickly as possible.

For example, white blood cell counts. Draw the blood, set it aside, inject the vaccine. Then get around to testing the blood. You save what, a week that way? That's a big deal.

Based on your descriptions, it seems that a lot of time can be saved by doing things concurrently rather than serially.
2009 flu pandemic in the United States
Well if the quantative easing was phased out and interest rates started increasing in 2011, the stock market wouldn't be at all times high, billionaires wouldn't be so rich, but the economy would be better off.
I love Stripe. And I agree that Atlas makes incorporation process quite easy.

But when I hear about a SaaS startup being organized as an LLC, I wonder if the founders considered the potential benefits of "qualified small business stock" or QSBS, which is only available in a c-corp.

With QSBS, each founder and investor can supersize their exit proceeds by wiping out at least $10 million in U.S. taxes. (See https://www.businessinsider.com/qsbs-qualified-small-busines...).
"tiktok didn't say it, because..." is a counterexample. "Yes. Also at Instagram" is extra information. "Yes, but doesn't Instagram also ..." is still whataboutism.

The whole point about whataboutism and how it got used politically is not that it's false. It's just used to distract and redirect conversation.
The point of the article is that the author wants compilers to tell users when they do unexpected things. I don't see how your point is relevant to that.
can confirm. opening link in incognito worked for me.
Yes, they screwed up testing.

However, no administration could have prevented it from reaching the US. Trump's closure of the Chinese border is more than almost any president would have dared done.
The CryptoLocker Ransomware Attack
Thank you 'api. I have been using zt at the university group of about 60 users. Must say it is very reliable. As for UI, we are OK with it. But one thing is firewall config is too complex. Not enough examples:
Recently I saw that zt-laduke posted a simple bridge tutorial on reddit. Would be great if you made some examples in your wiki.
1. Allow only samba traffic
2. Allow only ssh traffic
3. Allow only RDP

I am sure is kinda popular at r/datahoarder and related communities. May be you need to apply for a GSOC type project - so that academics start using it (will then later get used in corporate).
Because the projected figures are often times between 50-70% positive.
The posted program is one instruction too!

main:
ud2

(ud2 is a permanently illegal instruction on x86)
I believe it's in New Zealand. Saw an article on Reddit the other day
The point of my post was to point out that the number of deaths for people under 20 is not zero, that is all. We can debate what the true rate is, but I think we can at least agree it’s >0
What Is Web Scraping and How Does It Work – Codementor
What a great idea!

https://blog.metaobject.com/2018/07/a-one-word-change-to-c-s...

The comment section also has a lot of the same justifications for the current interpretations that I see here, with fairly thorough debunkings.

Changing that one word is probably not quite enough, at the very least you need to also not make the remaining text a note or also change the status of notes back again.

Then there is the conflict between "imposes no requirements" and "here is the range of permissible actions". These cannot both be true, and the current dogma is to resolve the conflict by pretending the second part dosen't exist (with, admittedly, some justification). But then why on earth is it in the standard at all?
This is pure speculation based on incomplete and casually arranged data, feel free to dismiss me as a crackpot.

The U.S. really didn't have any capacity to test for months. Only recently, a small amount of testing has become possible. Oklahoma burned up nearly its entire daily ration to test the Utah Jazz, for example.

I'd guess the biases in place would indicate whoever is able to authorize tests had a fairly broad view of "who has ncovid" so they're burning their tests on a broad array of very sick patients.

It's good news, because whoever can authorize testing will gain experience about what severe cases really look like. Fewer critical but non infected patients will be tested, so more tests can be used for less severe or possibly even asymptomatic cases.
MentourPilot on unpaid furlough, SAS grounds all flights
Ramping up production of a new drug is typically an involved, lengthy process. Supply of any drug is going to be severely limited when needed most.
There are options on the market that fall between questionably-sourced low-cost consumer grade cards and industrial-grade SLC cards.
Money isn’t zero sum because it has velocity. Companies financed with stock buy equipment using that cash, which the equipment manufacturers use to pay their employees, who then spend it at supermarkets...
You can also move to a static language of course. With C's mostly absent type system, Rust or Haskell might take some getting used to. But Go could be an easy transition, or Java.
There’s a fairly good chance that the physical cards themselves were fake. That happens a lot on Amazon. Given that cards purchased from reputable manufacturers tend to be formatted without issue, it’s reasonable to guess that the real problem here is that those are counterfeit cards.
You can isolate the individuals who are infected and misbehaving instead of the whole state.

Saying the individual makes the wrong call for the whole is remarkably stupid. The West is built on correct decisions for the whole by individuals.

Mindless politics.
I don't know anybody who thinks code performance is the most important aspect of "general purpose programming languages". Everybody I know who thinks C is good for performance recognizes it's for specific applications (OSs, graphics, realtime, finance, etc.).
If Covid19 ends up being the worst case scenario, and my mom can't get a ventilator, I will absolutely attempt to do it myself.

So maybe not benign consequences as much as perceived risk. The problem is, my perception of risk is not always accurate.
Without quarantines, COVID-19 will be 280 million infected and 6 million deaths in the US alone.
How to Kill Coronavirus [video]
For the contextless, what was the TF 2.0 fiasco?
We can pinpoint the start of a virus in Wuhan China, and a global supply chain of toilet paper by competent western companies, with accountability and regulations to follow cannot supply a single reason why there is no TP. It's a joke.
Warren Buffett's daughter reportedly self-quarantines after potential coronavir
> We don't see amateur engineers, doctors, lawyers...

Not yet!

> amateurization is correlated with benign consequences for being wrong

Not that simple I think. it's correlated with either (1) as you say, not so bad consequences for being wrong, (2) being able to quickly check/measure both an individual's actual skill and the possible consequence of their decision before implementing thee, or (3) "rollback"/undo-ability - if something wrong happens, there's a relatively cheap way to undo the consequences and try again a different thing.

You can't easily measure skills in medicine or law (you can't create simple and fast tests/exams yet for such areas). You can't really simulate either by running a mental experiment or by running some software the consequences of decisions in medicine or law. You can try but it will fail horribly most of the time. And there's no "undo" after someone dies or stays wrongly in jail for X years.

I think that, paradoxically, as fields get more technical and precise, they will become more open to amateurization, because skills will be easily assessable and outcomes predicatable before deploying a scenario in the real world.

Of course, this will happen concurrently with AI/ML-replacing humans in these areas, so the amateurization if it will ever have time to happen will probably be a footnote in history, dwarfed by the bigger story of mostly getting humans out-of-the-loop...

But the humans that will remain in the loop will likely be more and more expert-generalists, eg. the "platinum level" version of "amateurs"!
Why do you think that’s screwing over somebody, rather than rationally protecting the very limited supply already insufficient for Germany’s own imminent need?
IIRC the C standard explicitly states that conformance to the standard is insufficient for having a compiler that is fit for purpose.
> If the compiler thinks that writing to NULL, is undefined, it can therefore assume that since you are writing to p, p can’t be NULL. If p can’t be NULL, the entire if statement can be removed and after optimization the code looks like this:

Is that correct?

I thought Linus' rant was about NULL checks that came after a dereference had already happened. In that case it at least makes sense that the compiler would assume the NULL check would be superfluous.

But how could branching to spit out an error and exit before the dereference ever get optimized out? I don't see any undefined behavior in the author's example upon which an optimization could trigger. (Or if it could trigger, it ought to trigger on array bounds checking and many other situations where removing the code would clearly cause bugs.)
Chelsea 'have agreed deal' to bring 6ft 4in to Stamford Bridge
lol, you're shaking?
"The system" is what we choose to build. It isn't some unchangeable fundamental part of nature. We choose if it does, or doesn't have morality. It's depressing so few choose morality, and then hide behind "it's the system". It's a choice. I wish people would own that choice, if they chose a system without morality, without consideration for their fellow humans.

And yes, I do pity him. His life is sad, and empty, and his final note is heartbreaking.

"My dear Nina: Can't help it. Things have been bad with me. I am tired of fighting. Can't carry on any longer. This is the only way out. I am unworthy of your love. I am a failure. I am truly sorry, but this is the only way out for me. Love Laurie"
Coronavirus: Downing Street to give daily TV briefings on outbreak
Coronavirus: Dow futures off 1000 – hit limit down
Money purely reflects consumer confidence, and as long as the economy is based on money, so does the entire economy.
So this is behind paywall. I am sure Netflix is not marking this story to be behind paywall and Medium can not put this story behind paywall without consent from Netflix.
Who do you think will be on the death boats?
But what is most assuredly going to happen is what benefits rich people. The rest is collateral damage or pure luck. Is what it is, nothing new under the sun.
Applying both is better, then just depending on one of them.
Rchilli made resume parsing easier
Now that there is a growing backlash, the UK authorities are rejecting that they ever were trying to achieve "herd immunity” by allowing 60-80% of the “low-risk” population to be exposed to SARS-CoV-2.

However, the article you link to does not differ in its details from what authorities such John Edmunds a professor Mathematical Modelling of Infectious Diseases, London School of Hygiene & Tropical Medicine said 2 days ago [0] and Ian Donald Professor Emeritus from University of Liverpool wrote the same day [1]

These authorities are backpedalling in the face of deserved widespread criticism. But rather than changing the course of UK policy, they are only disavowing the phrase “herd immunity”.

[0] https://m.youtube.com/watch?v=C98FmoZVbjs

[1] https://mobile.twitter.com/iandonald_psych/status/1238518371...
It’s a real, professional skill used in intelligence, among other industries. It’s not as easy as the author makes it sound.
Open Identity Platform Community Released OpenIG 5.0.8
When we bought our house it had a lawn in the backyard. I never really liked taking care of it. Last year I worked on getting rid of the bermuda grass in my back yard. This year I put out some wild flower seeds and watched what came up. I still worked on removing the plants I didn't want, but I let a lot of the weeds come up. Most of the seeds I put out didn't take, but that's fine. I got to know the natural plants that come up. Others look at it and see an unkempt yard, but it makes me much happier than my lawn ever did. It's green, it takes less water (zero) and if you watch closely there are more birds, bees, lady bugs, and others than I ever saw with the lawn.

Stories like this one of a more careful management of land make me hopeful. I'm working to get something better going with my little plot of land too.
Ask HN: What are you teaching kids during vacations?
Hi HNers,

Like many countries, schools are closed in my country too for 2+ months. Kids will be at home and we will not be able to go for outing due to coronavirus. I want to utilize this time to improve their shortcomings. My elder one is 10y old and the younger one is 5. I am not interested in what they are taught in schools. A rough plan I have prepared yey(incomplete though as yet) is given below(For my 10y olds)

- Physical Health:

- Running between rooms for 15 mins initially.
- Diet plan
- Breathing Exercise.

- English
- Improve his English Vocab(We are from Asia).
- Writing.

- Maths
- Intro of Algebra
- Teaching applications of Math and how to use it(Not sure yet, I bought "What is MAthematics?" and "How to Solve it" so might use it.

- Science
- Home-based science experiment.
- Teaching basics of different natural phenomenon(How clouds are formed etc)

- Logic
- How to use FlowChart to make Algos.

What will you suggest or how are you planning to make your kids' vacations productive?
There's another new (as in just a few years old new) and fascinating technique for making vaccines that hasn't received much publicity. It's a general technique that can be quickly applied to any pathogen. It was recently used to develop a vaccine against Venezuelan Equine Encephalitis Virus (VEEV), was used to vaccinate mice against staph, and is also being tried against new strains of polio emerging in India.

Here's an excerpt from paper about VEEV summarizing the technique's mechanism:

...a disease-causing organism (pathogen) can be exposed to gamma radiation in the presence of a Deinococcus Mn complex, and rendered non-replicative (killed) by overwhelming genetic damage, but still maintain the shape of key surface proteins needed to mount a highly protective immune response.

https://www.sciencedaily.com/releases/2017/05/170530122345.h...

I think this could have the potential to develop a cure but isn't receiving any attention from our (dysfunctional) government (who also happens to own the patents on it!).
Yep, i was wondering how company can put their posts that should their “super skills” behind paywall..