skysight-inc/HackerNews huggingface dataset:
Diamond Princess had a slightly older population but healthy population, tested everyone, provided good medical care. They still hit 14 deaths out of 712 infected or ~2% and only had 20% asymptotic cases. South Korea has very good testing, a younger than US population, similar rates of hospitalization to DP and a slightly worse mortality rate likely due to missing some people but having a more at risk population.

The US has an older and sicker population than SK, and in NYC an overworked healthcare system. So, a 1% US mortality rate discounted to 0.5% due to recent infections not having time to die is extremely optimistic. It would also mean testing was only discovering 10% of cases.

PS: Many more people are exposed without having sufficient infections to trigger long term immunity. But, it’s herd immunity or deaths/long term issues we care about making such cases irrelevant as their still at risk.
I really like this line in the article: "Bad writing is bad thinking." So true. Sometimes I just write when I'm confused about something and it helps clarify things.

Since this is HN, I'm going to add a shameless plug.

For 4 years I've run Write Battle, a game for writers (originally anyone writing emails, instant messages, etc...but user base has largely turned out to be marketers) to compete against each other to devise the most concise prose. The best writing wins, as judged by brevity (response length) and readability (Flesch-Kincaid).

Right now, as we speak, I'm turning these games into a set of interactive, gamified, bite-size courses to teach the basics of effective writing without boring reading or lectures. I should have the first set of (free) courses done in about a week [0].

My approach is that while grammar and formal rules are important, practical effect is more important, so the games and courses I've made so far focus more on effectiveness than theory and rules. Turns out writing is more fun that way too!

[0] https://writebattle.com
> slaves trying to pay off the loan in the future

I hope they won't and the gov will side with them.
AFAICT the context is that he's been downplaying the severity of the pandemic for a while now. This is just the latest example.
I don't think so. And his tweets aren't really aging well...

https://twitter.com/elonmusk/status/1240754657263144960
What do you have that could be of value to others?

Can you offer freelance services, programming, consulting?

Could you build an audience/sell info products/courses to teach something you understand very well.

Could you share information in a blog to get enough traffic for ads/affiliate sales.

Could you teach an online course related to your profession or write online course for a certification exam you have passed.

Think about what skills, knowledge you have and what would be valuable to others. Offer free advice, write a blog, start getting more involved in the community where people would find this valuable.

Try different things to find what works for you and what you enjoy doing.
It's the same for me, so I tried submitting the form to be notified when it is available. Turns out my name is "invalid".
Here's an example of what a great role WhatsApp plays in India from just a few weeks back - https://www.livemint.com/mint-lounge/features/how-whatsapp-f...

People forget how many of that 400 million are illiterate and waiting to be taken for a ride.

"We can reach everyone therefore we should" mindless characters crawling like termites all over the place.
That doesn't bode well for Tesla earnings later today.
It is both the hardest bit of advice on the list to follow, and the most profound. Many religions have some version of a holy man/woman going to a mountain/cave/ocean/forest and coming back with divine/enlightened wisdom. What they all have in common is some version of 'Unity: we are one'. It makes violence much harder, among other things. What left hand wants to shoot the matching right hand?

Pragmatically, this means whenever you are thinking with the us vs them mentality you can try to realize that there is some value of us which includes you and the ones you consider 'them', a common ground. A possible first rule is that this is the key step in any negotiation. A possible second rule is that everything is a negotiation.
If you told me 5 years ago that in 2020 I'd have to argue with my engineering team to get them to test in more than one browser I'd have laughed in your face, yet here we are.
This is really sad: schools giving up on teaching children. Not that it hasn't happened before (NCLBA, impoverished districts), but it's still sad when schools fail at their only job.

Where is their shame and self-respect?
Perhaps its because of the violation of his company's employee's constitutional rights by local government.
Hah finally a criticism for Zoom I can immediately relate to and is really frustrating. Why log me out like you said if I’m not in a call.
He is mad that the lockdown is losing him money, and he wants to force people to risk their lives to go back to work making him money.
He doesn't appear to be. He's calling for Americans to exercise their freedom in sacrificing themselves to the virus for the profit of the capitalists.
For the dog one I would argue that they are so tightly correlated that neck size adds nothing useful to the chart and is just noise. The article is about dogs getting smaller. The weight chart shows this perfectly. The fact that smaller dogs also have smaller necks is neither surprising nor useful.
Having competition is good if only because it keeps companies thinking about the user.

Note I carefully said user not customer. Except for Spotify (and his email host) he is not the customer he is the product they sell. However in all cases he is a user.
What is your alternative? Tying "the existence of internal software components to people's livelihoods" across the expanse of the entire codebase is the only remotely effective approach I've seen to scaling the SDLC at scale.
I don't really find this a problem. If I want to stay up very late, I'll take a short nap early in the evening, timed based on how long I want to stay up. But generally I like getting up early during weekends too. Less so when I used to go clubbing, of course, but then napping in the afternoon to prepare worked well. That, and caffeine.
Just because monoliths may have diminishing returns at certain team/project scale doesn't mean the scale itself is the problem...
Why do you use Telegram if you're concerned about privacy?
> The hood (North American English) or bonnet (Commonwealth English excluding Canada) is the hinged cover over the engine of motor vehicles that allows access to the engine compartment

In case anyone else wasn't familiar with the term.
this definitely tops the list of crazy things musk has said, it would be funny if so many people didn't take every word he says as absolute truth
I'm pretty sure that's the US policy for Egypt and Jordan, US aid to Israel is about 2% of its GDP and comes with a lot of strings attached, Egypt gets pretty much the same deal. Jordan relies heavily on US support for stability.

Israel's public has a very strong aversion to casualties, much more so than when the state's survival was at risk.

The Israeli public couldn't tolerate the 120 soldiers killed in the 2nd Lebanon war there is absolutely nothing to back that there is any political will in the general public or the politicians to pursue an actual traditional war not to mention that there is no one to wage war against.

Waging war against Egypt would serve no strategic purposes Israel is rather happy selling them gas.

Waging war against Jordan would be taking over 8 or so million Palestinians which again for what purpose?

Lebanon it's in Israel best interests for Lebanon to sort it's shit out internally the last time it formed an alliance with the Free Lebanon Government during the Israeli-Maronite alliance it didn't end up well. Lebanon is slowly but surely heading into another civil war and Israel would likely stay the fuck out of it unless Hezbollah would drag it in.

Syria is a failed state there is absolutely nothing for Israel to gain by going beyond the Golan Heights that provide a good natural defensive barrier and Israel has absolutely nothing to gain by potentially dragging Russia into the conflict since Syria is their only open warm water port.

Yes Israel has a very capable army, it likely cannot be matched in a true traditional war in the region but it has nothing to gain from waging one.

Israel always had goals in each conflict and war it engaged in (regardless if you agree with their goals or not) and unless there will be a drastic geopolitical shift in Egypt, Jordan, Syria or Lebanon there would be no reason to wage an all out war against any of them.

P.S.
MANPADS stands for man portable air defense systems these aren't anti tank weapons.
While Israel has deployed active defense systems for ground vehicles these surely won't be used against MANPADS.
Never trust a billionaire.
Thanks for the kind words. Sync is definitely something I'm considering, but I can't promise any timelines.
It feels like he’s angling to out-Trump Trump so that he can run against him in the next election... and that might even work! It has before...
Can you respond to the people saying you didn’t say the correct facts? IE which email is included. And where
Many string functions are intended to operate on a substring. These functions would appear to need the original string passed in every time to find the length.
"The vast, vast majority of the world doesnt have that kind of luxury"

This is a perverse way of framing the difference between developed countries and the rest of the world. It's a privilege to not be able to afford servants, as they would in many non-Western countries with greater inequality?
If it's just one property, you could specify it's optional using a question mark instead of creating an additional type:

type Foo = {
Hello: string;
Bar?: string;
};

But if you really need separated types, the extension syntax is so short that you could define it in the function definition directly:

type Foo = {
Hello: string;
};

function hello(myparam: Foo) {}
function world(myparam: Foo & {Bar: string}) {}
Outside of a few affluential areas, public school is dismal. I took the most advanced class for literature in my high school, and one of the projects was to decorate a book cover out of a cereal box. This was called "AP Literature" and was supposed to effectively be a collegiate-level class.
I agree. I hate the term microservice for the same reason I hate superlative infected clickbait titles. There's no need for half of the word to exist. Service. What's wrong with service?
YouTube star John Green: Students see badly edited edu videos as more authentic
wow, that's... bonkers. i wonder why the hell he's saying this kind of thing -- it's not like his companies are having issues due to covid-19 (afaik).
He also implied there won't be more than 0.1% of the US population infected overall, https://twitter.com/elonmusk/status/1239755145233289217
From people I’ve spoken with, the only mapping thing google provides that they use is the base map and road segments. In some markets they use Open Street Maps or TomTom when the data is better than Google. All the routing tech is their own and works atop these three data sources.

https://www.google.com/amp/s/techcrunch.com/2015/11/12/uber-...
At a past job my solution was to go sit in the local park with mirror shades and my hands in a prayer position... It was far from ideal, but on an estate with plenty of security roaming so felt safe and the hand position is an effective trick to prevent people from bothering you (e.g. I use it also if meditating somewhere public). Unless you slump over or snore, I guess.
I had never really considered RTL design until I decided on a whim to support Arabic in an app [1], and before doing so I would have easily laughed at this. After doing so, I can completely understand it. It seems so simple—text just goes from right to left instead of left to right, but truly grokking that seems impossible for me. It's like riding a bike with the handlebars backwards [2]—it just doesn't work in your brain, as much as your higher-level thoughts seem to understand it. I was lucky that Flutter did almost all of the heavy lifting for me, but I spent more time than I'd like to admit ironing things out and I still don't think it's quite right.

[1] https://github.com/hamaluik/timecop
[2] https://www.youtube.com/watch?v=oI2aMKwXXnE
I expect they mostly use websites for their language rather than international ones.
I'd have probably have had to do this but luckily I have an old phone that I can use for my work account. I just really don't like linking work and personal accounts at a device level given the multiple ways that might cause problems.

Thinking on it a little more, I guess that since this product has been generally aimed at businesses, maybe this isn't normally a problem for people with company devices.
No affiliation with either of you. But, it does not look the same to me. The linked HN post is a simple MacOS top bar tool that shows my list of to-dos that may be activated by key bindings if I wish.

Yours looks more like the default Cmd+Space action - Spotlight available in MacOS.

I personally prefer the simplicity of the app that lives in the top bar as it comes with lower cognitive load by not needing to remember some keywords to summon your tool that is not in my active view.
As the old mantra goes, "there are two types of languages, the ones that everyone complains about, and the ones that nobody uses".
The more Musk tweets, the further away he gets from the visionary with dreams of Mars and the closer he gets to Trump. I used to be a fan, but I’ve found it impossible to defend Musk in recent years.
I recently did a stint of waking at 0500 to work on my side projects. This was a big transition from waking at 8:15 and hitting the sack after midnight. But getting the important stuff sorted early and having such a consistent routine, including a bedtime routine was intoxicating. Since moving and being in complete lockdown Ive returned to my old ways for various practical and also disfunctional reasons but I look back at my structured early-riser days with envy. I guess I am a morning person after all. Many years of distraction and lack of direction trying to be productive in the evenings behind me. It wasnt ADD it was just not the right time of day! This is coming from a 30 year old.
I think his opinion is that the Coronavirus threat has been overblown and is perhaps the biggest direct threat to the future of Tesla.

Following, "We're working on ventilators, even though I think there will not be a shortage by the time we can make enough to matter"

I haven't checked recently, but I believe the vast majority of hospitals are not overwhelmed nor short of ventilators -- but is there any source of data on bed shortages or ventilator shortages? (That was the point of flattening the curve)
If you're on Android, you could consider using the Shelter app to create a separate work profile for WhatsApp to live in. WhatsApp will then only have access to your work contacts (and work files etc.)

So then you can at least minimize the number of contacts you expose to WhatsApp to the number of people you're actually in touch with regularly over WhatsApp.
A common practice is to introduce services that handle shared functionality.

One common example is, instead of having a shared library that reads & verifies JWTs, use a gateway service that handles this before requests reach the upstream service.

This means changes to your organization's JWT code will only require a redeployment of one service, the JWT Auth service.
> The fact is that the main purpose of school is to educate kids, which is necessary to prepare them to live in a complex society.

90% of secondary school is not necessary for living in modern society.

As long as you can do arithmetic, percentages and fractions and can read and write? You've got all you need really.

If you want particular jobs there may be extra requirements of course.
That puts you in https://en.wikipedia.org/wiki/Gish_gallop territory, where watching hours of video and an epidemiology and stats degree is needed to tease out the truth.
>Meet had terrible sound quality unless you had a $1000+ laptop

Certainly not my experience. I use a few different video platforms including Meet and have never noticed material differences in sound quality. I mostly use an iMac but it's about a 5 year old system so it's hardly high-end by today's standards.
care to detail how

do
x <- a
y <- b
return (f x y)

isn't basically imperative syntax ?
hint: if you can get from it to C (or pascal or python or whatever) simply by adding a couple types, semicolons and replacing operators, it's C.
You wasted a week. :)

SSN for deceased people is published broadly in various forms.
Superior writing skills are one of two things that separate novice developers from experts. This, as judged from experience, is self-evident to all people except bad developers. Here are the criteria that are generally most important:

* precision: This is perhaps most important. The ability to communicate tiny finite details that immediately reflects the product as a whole in a way that is universally clear to a wide audience in the same way is paramount.

* directness: Say what you mean. Don’t waste people’s time with distractions and pleasantries. Put the most important things first. If the audience wishes to read more they will.

* conciseness: There is an art to the careful description of technical details, behaviors, and examination of a subject that is both precise and still expressed in the fewest words/statements. An extended vocabulary is helpful.

* organization: Almost everything complex is open to more simplistic description as a subject of intrinsic relationships. The ability to perceive, understand, and convey those relationships is logic at its most base foundation but only when the those relationships are orderly and supported by evidence.

A common mistake is to be clever about organization, relationships, and their logic. Don’t do that. People do this as a weak form of manipulation, but strong communicators will tear it apart.

All of these points on writing are directly evident in well written code as well as formally expressed writings for general audiences.
The issue is it's not as simple as calling `setTimeout` as soon as your use case becomes more complex. See this great post from Dan Abramov about using setInterval with hooks: https://overreacted.io/making-setinterval-declarative-with-r...
Am I the only one who still uses hangouts? For some reason its the app my wife and I use, i dont use it with anyone else. It's handy that it pops up in chrome, and my Google Fi messages pop up in it too.
He aspires to be a populist demagogue. I have no doubt he'll be running for president one of these days.

edit: I'm dumb, he can't run for president of the US.
Duo now supports 12 people on one call.
What things do you want your framework to do for you?

Django has a steeper learning curve than Flask, but takes care of more of the tedious and repetitive stuff for you. With Flask you’ll have to build more from scratch or cobble together third party modules that were never really meant to work together.

When did you last look at Django? Modern versions are far more flexible and powerful than those of 10 years ago, but that flexibility comes at the expense of a bit more boilerplate and a bit more to learn. It’s just about perfect for most CRUD apps; and if you want to use raw SQL for queries too complex for the ORM, it supports that too.

For charts, there are some Python tools for server side rendering, but you may want to look into Javascript frameworks like D3 that support live-updating charts when users adjust parameters. That said, you can also start with server rendered for MVP and add Javascript as necessary.

You’re probably going to have to write at least some of your HTML from scratch, but a modern layout library like Bootstrap can save you the heavy lifting for CSS and provide some HTML boilerplate.
This Meme Does Not Exist - Ai Generated Memes
Car AIs are coming. Whether Uber, Waymo or someone else, they're coming. Nothing will stop that train.
Show HN: We algorithmically mapped Epidemiology Twitter
U.S. Economy Shrinks at 4.8% Pace, Signaling Start of Recession
Hecker news would be audio only, and we would develop the ability to fast listen multiple accelerated audio at the same time like we can just read parts of the post and move on ?
Quite the career change from cave diving rescue missions expert to expert on how to handle pandemics.
Yep, agree that in hindsight most news feel quite unimportant.
Personally, I stopped following any, except for specific topics I'm interested in (say, 'space exploration news').
I figured in most cases it just makes me frustrated (i.e. how dumb politicians are, or how ignorant are people, etc.),
and in most cases I can't do much actionable about most of this frustration.

If it's something really important, it would seep through my twitter feed or even here on Hackernews.
I understand it can be hard though, and it took me some conscious effort and time to get used to this.

Although I can't see why you can't use RSS?
Then you can skim though the titles once a week, and read the ones you find the most important.
It feels that it would be much easier to prioritize because you'd have an overview of everything that happened.
It's probably because the fremont factory stay at home order is extendend till end of may ? Thats crazy. It's about time to reopen the economy.
Elon Tusk would never say this.

Also, yeah he really wants Tesla stock to tank today, huh?
NY, NJ, PA, CT, and MA have 53% of cases. It’s time to stop treating this like every state or region is in the same situation.

Edit: Some people apparently need to be reminded that Europe is a place. Individual countries are reopening as they see fit based on how they are handling the virus. It honestly is starting to feel like some people prefer the pain than the idea of safely reopening certain states and regions.
Web Applications Development Trends 2020 – The Top Ten
We submitted this again, because previously the link got caught in Hacker News spam filter and didn't show for the first couple of hours.
Stunningly accurate but greatly exceeds promised 68b limit.
Not to defend loan sharks and usury, but the moral conundrum is always interesting. There isn't really any winning here, because if you fail to ethically offer credit products, you're not actually destroying the market demand nor how it is filled. By that I mean you'll get payday lenders and if you don't get payday lenders than you get criminal underworld loan sharks. We take access to credit and the way it smoothes things financially for granted, but not everyone has that luxury. Starvation for many families who don't avail of that service is also likely a fact. Starvation as a result of the second order economic fallout of this pandemic across much of the global south is certainly a fact. Saying shame on Amazon and shame on Facebook might help you feel better, but what's your alternative?
US GDP shrank 4.8% in Q1 as the coronavirus dragged the economy into recession
The author (Kevin Kelley) travelled a lot in Asia between 1972-1979 when he was young and took many photos which he later published in a book (https://asiagrace.com). I think he has seen and understood first hand many of the complex geopolitics in Asia.
You can't run for President in the US if you were not born in the US, even if you are American.
This sounds like a good topic for The History Guy Youtube channel.

https://www.youtube.com/channel/UC4sEmXUuWIFlxRIFBRV6VXQ
Ola operates in 250 cities, that is pretty global I would say. Also it is the second choice for everyone I know and it is reflected in the fact that it operates in only 58 cities in India and still commands over 50% of the total market share.

edit: removed the royal we
I’m genuinely curious. I hear this “constitutional rights” line from many conservatives. What rights are being violated?