skysight-inc/HackerNews huggingface dataset:
Population of working age (15-64)[0]: ~206M
206M * 25% = 51.5M
That's still a whole lot of people left with their hands out that you seem to be dismissing quite easily. To me, this is the danger of statistics. The numbers loose all meaning. These are fellow human beings. This isn't war where the generals accept a certain percentage of losses of volunteering soldiers. These are normal people that through no fault of their own now have not job and source of income.

What because 90% of GDP isn't that dire?

[0]https://fred.stlouisfed.org/series/LFWA64TTUSM647S
Nice! Is this open source or based on an open source project? I’m interested in doing something similar for one of my projects.
There's well written write-up [0] about passive-aggressive winning strategy, which also pinpoints all the design issues with Monopoly.

[0] https://imgur.com/gallery/vX3zm
“Dharma Relief” to help Covid-19 medical supply shortage
I personally don't believe them for a variety of reasons: I don't know that any country's numbers are entirely accurate, the substantial reports of active suppression of reporting about it (leaked communication, disappeared providers etc), and features of the reported data are suspicious.

On the other hand, there's probably an opportunity if not now than soon to start modeling the plausibility of Chinese reports. That is, a lot of them use China as a sort of baseline, but at some point things are going to get flipped on their head and the aggregate of other country's trends are going to start affording the ability to ask questions like "given what we know about the distribution of trajectories in other places, how plausible is it that data from country X is valid?"

There's complications due to heterogeneity in population networks, healthcare, response, etc. but I think quickly we're going to start seeing things being sorted out empirically. You can only hide things for so long.
430k People Have Traveled from China to U.S. Since Coronavirus Surfaced
The DOM stitches several useful but unrelated concepts together. Besides just being a tree of composable views:

* You can query elements arbitrarily deep using different patterns (depth, class names, ids, tag names, attribute presence/values).

* You can attach event handlers to arbitrarily deep nodes that you just queried, not just the nodes at the level your "controller" is in charge of creating/updating like traditional frameworks.

* Customizing style and behavior is entirely done via properties and composition rather than subclassing like traditional frameworks.

* And more!
Developing this thread is just panning for a negative reaction. Even low-key jokes are frowned upon on HN.
Toby is really good. I bought pinboard like 10 years ago when it was cheaper. not bad.
Stopped down, nice!
I'll point out, as a midwesterner, that while we have tornadoes, they have a VERY narrow footprint vs a flood or earthquake or hurricane. There's plenty of houses around that are 50 to 100 years old.

But yes, the preferred strategy for dealing with a tornado is a basement, below-ground shelter (aka root cellar) or concrete-and-steel "panic room", all of which are designed to protect the occupants, not the entire house.
Can you explain why you think this is good?
Having this level of foresight and the guts to risk millions of unemployed workers for a "maybe scenario" is rare. If you were running the country, or were the governor of a coastal state like NY/CA, at what precise date would you have started ramping up ventilator&mask production?

Would you have instituted a statewide lockdown when there were 1-2 cases in California?

Would you be willing to trade certain unemployment and economic unproductivity for 2+ months, in exchange for the possibility that you might end up like Italy instead of Taiwan/South Korea? The last datapoint we had was SARS-Cov-1, which ended up not becoming a huge pandemic. Of course, the disease characteristics for SARS-Cov-2 are different, but without the benefit of hindsight, was the decision really that clear?

Incompetent US administration aside, the financial markets - which can be thought of as an expensive forecasting computer - certainly did not price in what would happen, so I'm not sure we can expect policymakers to arrive at far-superior decision making.

Considering that China is not completely out of the woods yet either, and the US/Italy lags about 1 month behind them in pandemic progression, how would you advise the US act now, with the knowledge of what China is doing?
> Americans spend more time commuting to work than almost anyone on Earth.

American commute times are actually the third lowest in the OECD.
> non-home owners are also prevalent in most of the developing world.

Yes, but not ex-USSR states. For them, three quarters of households having to pay for their housing is an extremely high proportion. You could argue that “most” would be a better description than “almost all”, but it doesn’t make the article grossly misleading.
hmm, not sure, some DA might want to prosecute it as theft of service.
I'm quoted in the article, so I feel I should point out I didn't coordinate w/ Latacora, and am speaking for myself only and I largely agree with most of what Thomas says here.

To summarize, my argument is:

- Bug bounties are a waste of time and money for most startups, because you will drown in nonsense scanner findings.

- There is a straightforward explanation in which HackerOne benefits from that dynamic, and their business model incentivizes them to make that dynamic worse, not better.
Ok. Thanks a lot for this feedback. I'll try to create an example CV and take a screen shot of that.
If you're still working on it, I'd love to see the second derivative from the data. That's what I'm wondering about most these days: Are we at the inflection point or not?
I don't know how React does it so it was a genuine question. I'm assuming they do some smart diffing to be more efficient.

It'll be irrelevant for most apps but I'm curious how much less efficient all this is compared to (in CPU time, not developer time) updating the DOM directly e.g with:

document.querySelector('.timer').textContent = "5 seconds"
It also had a very different take on inventory management for the time:

You could carry two weapons, and there were no reloads. So you had a submachine gun with most of a magazine left and a shotgun with two shells when you ran across a big ol' revolver with five rounds.

The SMG had a lot of ammo but only really worked against small dinos, the shotgun didn't have much ammo but it takes down most things with only a few hits.

Do you ditch either for the revolver (powerful, low ammo) or do you chance it with what you've got?
The author missed inter-family infection growth during a lockdown. If you have a family of 5 people and person 1 is infected, person 2 gets infected by 1 after one week, a week later person 2 infects 3, a week later person 3 infects 4, a week later person 4 infects 5. And only then does the infection cascade stop.

This is also happening in hospitals, in nursing homes, in homeless shelters...all are also "families" for this purpose. If your "lockdown" was truly no contact between any two humans, the cascade would stop quicker. But that's not the case.

Comparing the US to China is wrong, because the US isn't doing MOST of what China did to allow the lockdown to be lifted.
The "we need to keep load on providers nearly even for business/political reasons" constraint is fairly unique.

From a purely technical perspective, you would just distribute requests inversely proportional to response time. Probably under low load, one provider would get all the requests, and only in an outage or overload scenario would the other provider take the rest.
I didn't say it was the only one he read, i was asking how it's any better than all the other same ones lol.
Looks interesting, but there was less interaction than I expected. I couldn't pause the playback to ask a question. I had the same feeling that I get when I'm forced to sit on hold, or forced to watch a training video -- "why can't I skip to the end?"
> As user you shouldn't be concerned by how it looks

I'm a user and I care a lot about how my documents look.
Show HN: How to start selling online when you’re closed during the pandemic?
Thank you JshWright [1] for making me aware of this series.

[1] https://news.ycombinator.com/item?id=22765884
A Guide to Designing Low-Cost Ventilators for Covid-19 [video]
Choice of tools can be seen as part of the environment, in the sense that they affect the mindset and approach.

As in, if i choose to use a pencil, i’m creating a different kind of mental and immediate physical environment for myself to work in than if i sit in front of a computer.
Even if you do live in "Tornado Alley" tornadoes can have a surprisingly limited effect - small tornadoes have the habit of carving small paths in the city, capable of leaving one side of a road pristine and the other destroyed.

In either case, building a home out of stone would do very little to stop, say, a refrigerator picked up by the tornado moving at 200 mph. Nor will it stop the house from pressurizing and blowing the roof off, stone or no stone. I mean, it could, if the walls were a foot thick each and there were no windows.

As a result, most Americans in the Tornado Alley (who can afford it) have a basement that has stone walls, and just accept the small probability that they lose almost all of their home.
Relative to land area, the UK has more tornadoes than the USA (and anywhere else in the world): https://www.ncdc.noaa.gov/climate-information/extreme-events...
Testing flag parsing in Go programs
On a side note, I'm a huge fan of the standardized design language of all UK Government sites.

They really nailed the aesthetic and the consistency is unmatched.

Edit: I'm impressed at this tooling.[1]

1: https://www.gov.uk/service-toolkit#gov-uk-services
The thing with culture is that it's invisible when you're in it. You literally don't know how houses could be built any other way, or human relationships be formed any other way. You might as well be questioning whether gravity should always pull and not sometimes push.

Articles like these are great for giving you a taste of what things are like in other countries, and making you see that your way isn't the only way things can be. Travel does that too, and in a much more hands-on manner.

One of the things that made an impression on me on a work trip to the US was that I was talking to a colleague and she said something about her not being well in her mental health the previous year, and then immediately apologized to me for "burdening me with her problems".

I was speechless at (and still don't fully understand) the cultural factors that lead people to apologize for mentioning a detail of their personal life to a coworker, but it seems to me that life must be much more lonely like that.
Some networks don't have GSM cell broadcast set up.
Sure, it’s mentioned in the EFF article about the lawsuit: https://www.eff.org/deeplinks/2019/09/victory-ruling-hiq-v-l...

> HiQ Labs’ business model involves scraping publicly available LinkedIn data to create corporate analytics tools that could determine when employees might leave for another company, or what trainings companies should invest in for their employees.
Which countries where they? That does sound annoying. Does it happen with standard network SIM cards?
There's also no way to create vertical tables with headers on the left:

https://stackoverflow.com/questions/60995936/vertical-table-...
I'm not talking about locking down early, I'm talking about starting a crash program to produce masks and tests, organizing a national system to redirect resources like masks and ventilators, etc. If we had the testing capacity we have now a month ago, we would be in a much better position.

We didn't know how much it was spreading in the US because we weren't testing cases that didn't have a nexus to China/SK. So we had no idea what the spread was like and there was no data to go on to inform decisions to lock down. Seattle only got there early because some local flu researchers disobeyed their own IRB rules and tested cases for the virus without approval.

California seems to have gotten the lockdown about as early as was practical and has done much better than NYC, so they're actually doing well, all things considered.
I'm sorry but this insulation talk is complete nonsense. Here (Belgium) houses are mostly made of concrete blocks with an insulation filling, then fronted with bricks. No reason why you'd need to use wood to add an insulation layer.

Then why is wood more isolating than stone? Have you ever visited a medieval castle in the heat of summer? I guarantee that the thick stone walls offer more insulation than any modern home I've ever visited. Of course, we don't make walls that thick, but the material is not at issue.
by fake news I was referring to the "disappeared journalists", no credible source has made such allegations
I have had the opposite experience. I have gotten more confident in what I am doing and why I am doing it.

I went to a meditation retreat in December and formed a bond with the teacher. He reached out to me a week ago to create a relief project for COVID-19. I worked all weekend on it from thinking of a name, creating a logo, building a website, setting up donation system, setting up social media, creating a campaign. He had another person work on outreach to hospitals, collecting data for the shipments of masks.

We have raised over $250k from almost 2000 donors in just 4 days. I may have a contact at the NYT now as well based on my reddit posts. here is the site: https://dharmarelief.org/

This is just a small project compared the things I am working on in 'secret'. I've been researching and developing something that goes beyond social media for 10 years now. I feel it's time to release it. I have been training as a monk in this time, so I am ready to lead it as well. The world is hungry for what I am building, I am not afraid anymore of being laughed at or rejected. I've been through hell and back without ever letting go of this vision.
I totally understand avoiding proprietary formats, but why write off non-human readable formats? I've been using sqlite for things like this. I figure sqlite is not going anywhere. And in the worst case scenario, if for some reason the software I use to interact with the sqlite db was no longer tenable, I could easily dump my data out of it into a text file.
In addition to the steps you're already taking, and the ethical suggestions from other commenters, I suggest that you aquaint yourself thoroughly with intellectual property (IP) law. If you eventually decide to publish anything based on what you learn, copyright and possibly trademark law will come into play.

Knowing what rights you have to use material you're scraping early on could guide you towards seeking out alternative sources in some cases, sparing you trouble down the line.
I released a small game to iOS once, but never again. It was a massive headache that wasn't worth the users. First of all, you can only build on a Mac, even if you are using a cross platform framework like Unity. So that's like $300 for a used mac mini. Second of all you have to pony up $100 per year. Third of all, Apple will reject your app at their whim and leisure. Like all the games currently being rejected having to do with toilet paper.
Definitely not a limit, on March 28th they sent 637k SMS messages.

https://www.gov.uk/performance/govuk-notify

I've used Notify on several projects over the last couple of years, it's a really nice service and has never caused us any problem whosoever.
Countries that mandate TB vaccine are seeing fewer coronavirus deaths
Is the data coming from Google Trends? If so, are you worried they're going to shut down your scraping at some point?
To extend this, any financial entity is agnostic to your interests.
This country-wide quarantine puts local businesses, in particular restaurants, cafes, cultural venues, hairdressers and other service providers in a difficult position. Some of them may not survive a lockdown of several weeks! That's why we created Lunch Next - to support our favourite spots by helping them easily sell digital vouchers online.
My policy on scraping is to never use asynchronous methods. I've seen a lot of small e-commerce sites that can't really handle the load, even if it's a few hundred requests per second, and the server crashes. So even if it takes me longer to scrape a site I prefer to not cause any real harm on them as long as I can avoid it.
What I want to know is how long after the lockdown is lifted will we know if it's going to spread again? 2 weeks?
I don't know that Canada is that different. Vancouver, for example, struck me as very similar to SF, and the Anglo culture was similar between the two countries. Montreal is rather more European, but I spent less time there, so I can't say for sure what the culture is like.
That title really got my focus.
That’s the GOV.UK Design System in play: https://design-system.service.gov.uk/

(I helped to start the current incarnation of that, and it’s probably the thing in my career that I’m most proud of.)
You are not being forced to use those platforms. There are other ways to be a developer. They may not be convenient for you but that's a different problem. I know pivoting your skillset can be hard but it's an option that is always available to you.
You have to choose one or the other, semantics or formatting. There's a standard way to format a book title: italics. You have to be able to say "format this with italics" or "this is a book title."

A system that prefers semantic tags such as "emphasis" and bans direct formatting such as "italics" only works if you can import or define a semantic tag for "book title" that you know will be formatted correctly. It doesn't make sense to tag a book title with "emphasis," because there are a lot of different ways to express emphasis, and only one of them works (quite coincidentally) for a book title.
I don't think "we" have any desire so clearly defined and articulated as that. This virus so so extremely contagious and deadly that there isn't a manageable rate that is going to get us to a high fraction of immunity within the next two or three years. And the measures apparently required to keep it from growing explosively are pretty extreme. I think that China actually does intend to eradicate the virus domestically, and, tbh, short of a vaccine I'm not sure there's any other politically acceptable exit from this situation. Fwiw I don't think allowing millions of deaths is politically tenable, and I don't think that "lock down the only the vulnerable" is going to work.

(I wish I could believe that contact tracing and partial lockdown were sufficient but even Singapore, which by all reports was doing these things, is now SIP with 1/4 as many cases per capita as the US. I think our best case if we can't eradicate is going to look a bit like SK, where schools are shut down and life is very different from what we would typically expect. But that is a best case scenario assuming competent and diligent institutions, which I'm not sure we have.)
It wasn't a maybe, it was a guarantee as soon as one case makes it to your country. It was simple math.
Advertising is an incredibly recession resistant industry.

Especially for FB and Goog, as they use second-price auctions, so anyone who measures their results will see performance improvement, make more money and thus (theoretically) invest more in advertising until it is no longer profitable.

They'll lose some revenue, but it won't be anything ridiculously large; and even if it is, some of the previously priced out advertisers (less profitable mobile games, for instance) will return.

Advertising is a hell of a business, especially online.
Yes, me too! So much so that I created an API [1] to quickly access my favorites in a machine-readable format (JSON), which I use to display them on my website: https://mihir.ch/#hn.

[1]: https://github.com/plibither8/hn-faves-api
Sure, many positive developments may happen, but we should prepare for the likely possibility of not one of those things happening.

What if we don't find a cure and a vaccine takes 3 years?

Cheap, fast testing is almost there but I don't see how that actually helps... What do we do with people who didn't yet get the virus? Should they stay at home? Since they're a majority, it's not very different from the current situation. Or should they go out and "chance it"? Are you willing to do that in the absence of a cure?
The babies and kids are relying on working adults to feed them. They may not count in the jobless statistic, but they certainly are affected by the unemployment situation.

(And hopefully this is an over-reaction: https://www.usatoday.com/story/news/politics/2020/04/04/coro... but if it takes months for that federal money to be disbursed, then in a lot of cases is may as well not come at all.)
That's not unreasonable. Being intubated, by all accounts, sucks. A lot.

But it matters that you'd have the choice.
For bookmarks, I've been quite happy with a combination of Firefox's built-in bookmarks and Firefox Sync. That gets my bookmarks to all my devices, and then Firefox can search URLs and titles and tags directly from the address bar. I add tags to bookmarks if I think I might want to find them later by a keyword that doesn't appear the title or URL; a strong hint for that is if I used those keywords to find that page to begin with.
I put together a chrome extension for saving snippets from YouTube videos, has definitely been helpful. (ClipSnip on the chrome web store)
FastAPI is awesome and dev experience is much much better than the heavy not-really-built-for-this-use-case Django + DRF mostruosity. But what I'm using it for is very low load... more like "internal use app" level of traffic. Can't say much about performance yet.

But it's lovely and a pleasure to work with, most developer friendly thing I've ever touched lately!
Guide to Starting with Clojure
Eating More Fiber Could Help You Get a Better Night's Sleep–Here's How
This is a great piece.

I immigrated from New Zealand to America. It's interesting being in the US and hearing people exalt New Zealand. Same thing, some pros, some cons.
Life is good anywhere if you're rich, yep. That having been said, I'd probably prefer doing okay in Europe than being rich in the US, just because of the way of life.

Then again, I'm Greek. I don't think I know a single person who emigrated (and I know a lot of those) who doesn't dream of coming back at some point. I guess you can never really stop wanting the things you grew up with.
You can pipe OBS through Syphon into CamTwist.
They used to teach risk management and disaster preparedness in business schools. They used to teach people that you have a duty to your company and your employees and society.

Now all they seem to teach is how to maximize the stock price for the next 90 days. Just shuffle the cells around in the spreadsheet until the number looks good, that's all we're doing. Zero long term planning, zero long term safety for anyone who isn't an executive.
Calculator in Vim – The Expression Register
Pretty sure most of them can still go outside. Most of the quarantine focus is on being alone moreso than being indoors.
And the sucky part about it is only being allowed to post 4 comments a day.
I could understand people being concerned about cancer or something. But to link 5G to Coronavirus just shows we have reached a new level of stupid in this country. (Which is saying a lot given Brexit, the previous General election result and how some people have reacted to the lockdown)
Mind sharing what features in particular make it hacker friendly? By page scraping, do you mean how it fetches the page title when you paste a link, or have I been missing out on some awesome advanced feature?