skysight-inc/HackerNews huggingface dataset:
I’ve never looked at a Go codebase where someone has handled every single error – it’s just too easy to assign it but not check the value.

For a language which refuses to compile if you have an unused import, it seems like an odd gap not to have the compiler force you to access the error before it’s reassigned.
Those who died from the virus aren’t writing in to tell us it’s very bad, so there’s that.

Edit: To be clear, I’m not being dismissive of this patient’s experience; just want to point out the element of survivorship bias.
Every conferencing solution shares one trait: at least one person on a call of N+1 people will have trouble joining and getting everything to work.

I have been making the same "joke" for years on calls that everyone on the call should join me in quitting our jobs to create a teleconference solution that works. Hardyharhar.

(The practical solution for teleconferencing issues is to get people to join a couple minutes early)
Show HN: Survey for Financial Natural Language Processing
> SGML is not a true subset of XML

Yes it is. The XML spec itself begins with the following sentence:

> The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document

XML doesn't have "self-closing tags". If you mean XML empty elements, those have been incorporated into SGML as well in the Annex K amendment to ISO 8879 (aka WebSGML), precisely so that XML could remain a proper subset of SGML. Btw WebSGML was specified by the same people (W3C's "extended review board") as XML, so XML being a subset of SGML is of course no coincidence.

> SGML is as much a "superset" of HTML as the concept "language" is a superset of English

SGML, like XML, is a meta-language in which to define a markup vocabulary such as HTML. All versions of HTML, including W3C HTML 5.2 (the most recent spec) can be parsed using SGML and eg. my DTD for W3C HTML 5.2 ([1], [2]).

> How does Markdown relate to SGML at all?

Using Wiki syntaxes such as markdown isn't exactly a new thing; in fact, SGML (from 1986 or earlier) already has a facility where you can define custom tokens for a given element context that are then replaced by SGML into arbitrary replacement text; in practice, this is used to map custom tokens into tags. For example, the following SGML DTD implements a small markdown fragment (converts markdown asterisk characters into canonical HTML <em> angle-bracket syntax):

<!DOCTYPE p [
<!ELEMENT p - - ANY>
<!ELEMENT em - - (#PCDATA)>
<!ENTITY start-em '<em>'>
<!ENTITY end-em '</em>'>
<!SHORTREF in-p '*' start-em>
<!SHORTREF in-em '*' end-em>
<!USEMAP in-p p>
<!USEMAP in-em em>
]>
<p>The following text:
*this*
will be put into EM
element tags</p>

[1]: http://sgmljs.net/docs/sgml-html-tutorial.html

[2]: http://sgmljs.net/docs/w3c-html52-dtd.html
Peter Thiel's Religion (2019)
Show HN: An A/B Test Checker
I suppose any disease isn't that bad when you have round the clock medical care pumping you full of medicine.
I wish you could see random 10 items your 8 years ago search history and 10 items from last week and compare them. I am pretty sure picture would be different. My theory on this is then in years peoples expectations grew faster than the technology itself. Search is actually much better than past.
Haskell. Despite the unsubstantiated claim to the contrary, haskell is much faster.
That's why it's so dangerous. For 80% of people it's a mild cold. - so they go to work like normal.
Sites that use JavaScript based cache-busting code are probably hardest to archive. Fetching CDN.com/jQuery.js?rnd=63926195 isn't exactly easy without handcoded workarounds.
Nothing related to the tutorial itself, but I've seen many Rust basic tutorials recently, and this sorta remind me of Haskell - especially its Monad.

The Haskell community once was flooded with Monad tutorials[1]. People kept trying to put meanings on this mathematical construct, and had come up with tons of different ways to describe it. The problem is, this simple thing can fit into so many different places, so people couldn't possibly run out of new ideas. This oversaturation only confused newcomers even more, so the community concluded not to write any more Monad tutorials.

While individual tutorials enrich the community in general, it's more crucial to have a few good documentation that kill the need for more tutorials (e.g. MDN + W3School), so that efforts can be redirected into more productive things. Rustonomicon is one good documentation, but it always falls few steps short in practice. That's probably why more tutorials are being written, and why they get upvoted well in both HN and Reddit.

[1]: https://wiki.haskell.org/Monad_tutorials_timeline
I skimmed the article and it looks very interesting but nothing beats actually trying it out. Did I miss the link to an actual implementation or demo?

Are you eventual plans pure research, productization or open-sourcing it?
You have to come to term with the fact that 99.99% of (your/all) medias are useless in the grand scheme of things.

Imagine having to take care of the backup of your ancestors data on 10 generations, that'd be ridiculous.
what nonsense?
The Guardian today have another story titled “To hell and back”: https://www.theguardian.com/world/2020/feb/29/to-hell-and-ba...
And it wouldn't be so bad for me either. But I am taking care of my 88yo Mom and for her it might be lethal.
I think after the success of the media in respect to this virus (massive amounts of clicks and TV view time), I firmly believe that every new flu will have it's own name and similar coverage from now on.

They just made too much money off this, fear is a big seller.
> Bootstrapping, and small budgets, force discipline.

This is only true in the evolutionary sense -- Example: "parachuting forces people to be good at checking their gear."

Telling someone that they are going to jump out of a plane won't magically give them a skill like meticulousness.
Joe Coulombe, Founded Trader Joe’s, Died
Viral Fears
No, in fact lots of diseases are incredibly bad even with round the clock medical care pumping you full of medicine.
If altavista, yahoo etc would've had to use their 90ies tech to fight the level of SEO spam that exists today, they would've been terrible, I have no doubt about that. That said, compared to Google today, it wasn't that terrible.

If you knew the right keyword, they'd typically produce somewhat useful results. That's not my current experience with Google. Google will ignore important, distinguishing keywords in multi-word queries, and seems to have given up on ranking content by anything other than link count, i.e. I get plenty of seo garbage in the top 10 that is published on domains with plenty of links. It's why subdomain/folder leasing has been a massive thing for the past two years. The content is typically shit and even the language is on a level that wouldn't pass in middle school, plenty of spinning and templates with few variations, 99% duplicate content from the same domain ranking on two consecutive spots etc.
The amount of background knowledge you need to understand what’s happening here... I don’t envy people who have to catch up

becoming more and more convinced that when sfinae opened the Turing hatch it doomed c++
'Conservatives Will Cease to Exist Online' Speakers Fret About the Tech Bogeyman
Mike Hughes' PR rep stated that they made up the flat Earth angle to get more publicity:

“He did have some governmental conspiracy theories. But don’t confuse it with that flat Earth thing. That was a PR stunt we dreamed up.”

https://news.ycombinator.com/item?id=22395528
Linear Labs plans to add 3k high-skill jobs at its Fort Worth factory by 2030
You posit your position as being strictly rational, but do you have any evidence that the machines we built to emulate a component of human thought aren’t a little conscious? ...what, precisely, is the mechanism by which networks of neurons conveying electrical signals given rise to consciousness, but networks of metallic fibers conveying electrical signals do not?

It seems to me that you’re telling people they’re wrong based on your opinion — and not a scientific conclusion.

Similarly, the human proclivity to invent “gods”, “spirits”, etc is because that’s the historic mechanism to discuss the behavior of complex systems — in analogy to our own complex behavior arising from the chemical and electrical interactions of brain regions. This is actually an effective mechanism, as we see that it semi-routinely identifies a phenomenon faster than a strictly “rational” approach. (I put that in quotes because it’s mostly a religious claim; it’s neither a rational conclusion such things don’t exist nor a rational approach to not use semi-accurate estimators when doing analysis.)

Let’s talk about a forest. Do you have any support for the position that the complex interplay of chemistry and other signaling along mycelium networks, etc in a mature forest doesn’t give rise to some form of consciousness in the same way that our brains do? ...what precisely is the distinction in your mind between neuronal networks and mycelium networks, which indicates that while both give rise to complex feedback and behaviors, only one has any kind of consciousness?

It seems to me that the minimal position is any system based on signal passing of a certain complexity begins to develop an awareness, given the huge diversity we’ve seen across the animal kingdom.

What’s the support for your position?
IMO many people end up with a tool fetish, but some of these tools aren't worth it in a small startup:

1. You don't need Slack ($13 / month) as a two person startup — just do email and Skype

2. Notion ($16 / month) — this sounds like a glorified shared note taking app — just use Google Docs, or Dropbox Paper, or text files in a Dropbox folder

3. Sentry ($26 / month) — OK, this might be worth it, but if you have a high volume then it gets expensive — we host our own Sentry instance and past the initial setup it has mostly been a hands off deployment

4. Cloudflare ($20 / month) — not sure why they felt the need to go with the Pro account, maybe they have a lot of page rules, but for us the free account has been more than enough

5. LinkedIn Sales Navigator ($80 / month), SalesQL ($29 / month), Hubspot ($45 per month) — these are sales tools that should pay for themselves and evaluating that is easy, they either get you the leads to monetize or they don't and if not, then they aren't worth the monthly subscription

6. Figma ($24 / month) — I have mixed feelings about it, I haven't seen instances in which such software helped; might be worth it if the results are tangible and it saves you the cost of a designer; this too should be easy to evaluate and if it gets you the same results as drawing on whiteboard or paper, then get rid of it
i wake up before my alarm goes off in order to not wake my wife. if my alarm goes off and wakes her before her alarm then a "whopping" is an understatement of what follows hah.

Oddly, i wake up almost always 2 minutes before my alarm. self preservation is a hell of an instinct.
It is impressive, Wuhan has 11 million people. Would you have done better?

> There is no trust that the reported numbers are reflective of the situation on the ground - in fact it is likely to be the tip of the iceberg.

The numbers are confirmed test cases, which will always be an underestimate of the true situation regardless of the government supplying the numbers. There's no indication to suggest that it's the "tip of the iceberg" especially since the "current case" numbers have been consistently decreasing for the past several weeks.

It rather seems that you've been so convinced by the sheer amount of anti-Chinese-government-propaganda, that even positive facts can't change your prejudice that everything they do is negative.
KadNode: Peer-to-Peer DNS
sentry does have a free level which works out decently for small/medium volumes, but yeah, self-hosting might be cheaper.
How to Attend a Conference (and Make It Worth Your Time) – Part 1
I think I live in the 1990's still.

> we no longer have to worry about our car windows being smashed to steal our radios, or our GPSes

I've had friends' cars broken into this way in the recent past. Not for radios, perhaps, but for anything else left in the car.

> car security alarms no longer go off endlessly in parking lots

They do in Seattle. It's a rare day I don't hear at least a few minutes of car alarm, several times a day.

> all cars have electrified power windows; I don’t remember the last time I had to physically crank down a car window

Not that rare. I last drove one a week or two ago.

> radio stations have minimal static

Depends on the station, of course. A couple of the stations I listen to can be anywhere from "sounds great" to "can't make out a word", depending on weather, and which side of the hill I'm on.

> TVs no longer have rabbit ears that require regular adjustment

Now we have HDTV antennas which require adjustment. When the signal is bad, instead of a fuzzy picture that's still somewhat watchable, you get a broken frame every couple seconds.
The author appears to be an iconoclast with a Ph.D. and a bad temper.
AI Can Scan Doctors' Notes to Distinguish Between Types of Back Pain
Oh I forgot to mention screens - until the iPhone, you almost never saw someone trying to use a device with a cracked screen. Now a significant proportion of people use a touch screen device with a cracked screen (or cracked screen protector) every day.
How are electric windows in cars an"improvement"? It's different but it doesn't change your life in any significant way at all. Car safety is an improvement. Not this. Countless other things listed are in the same category. Was it so hard to have to rewind tapes?? Those are micro-comfort things that contribute exactly zero to our happiness.

I'm old enough to remember a time when there were no tapea at all. We weren't worse off. Everything was memorable. Now nothing is important.

Also, cheap airfarea, cheap, disposable clothes, etc. are destroying the planet faster than wver before. Counting "improvements" without externalities is absurd.
I'm somewhat clueless on this front. How usable is Swift outside of Apple OSes? I recall reading here that the language toolchain is broken all the time for other platforms. Is that still the case?
This is part of the reason why I like working in a B2C company. B2C has it's own set of problems, but we aren't dependent on a small group of unprofitable companies.

One thing that's been really interesting is seeing how many SaaS tech companies products just don't work for us at all, for example Intercom.

Intercom is a great product, but all of their pricing is centered around how many people use your site. If you have a high-touch sales and support pipeline where a customer is worth $$,$$$s, Intercom's pricing makes sense. If you have hundreds of thousands of customers worth $$s, that's still a workable business, but Intercom's pricing is a complete non-starter.

They aren't the only one. I do wonder if they truly understand how much they are locking themselves out of some markets. Another example was the quote we got from Grafana Cloud that was more than our AWS bill.
Note that the phrase "ask the CIO or CTO" hides an "obvious" skill: Concisely make plain the cost vs. value -- grounded in the CIO/CTO's understanding of value.
Your CFO got sold ... twice. Concur and NetSuite are both enterprise level software that a company with 50 FTEs does not need.

NetSuite is a never ending money pit with varying results. I dealt with a very similar situation, in which a project manager("VP") talked our owner into using NS, but it was over $100k/year and commitments were 2 years per seat at something like $5k. He ALSO wanted to do the roll out himself. 6 months later, it was still not functional.

I got pulled onto the team to help. We made _some_ progress and I hired and managed 4 remote programmers to write all the plugins and customizations we would need to make it work with our model (multi-channel e-commerce, multiple warehouses/locations). It was a nightmare all-around and completely unnecessary. PM/VP left the company because he couldn't do the job and we were stuck with a half-assed implementation at that point.

It's been around 4 years since the first day, I am no longer with that company, and I am sure they are still struggling with NS and employing multiple developers to keep things going. Good for the devs, bad for biz. I am willing to bet it's never returned a single dollar on the investment and cost them far more than they wanted to spend. If you can't see the light at the end of the tunnel at this point, cut your loses, and don't get another "solution-in-a-box".
The Zephyr premium economy airline seat
> At what point should this have been built into the OS vs...

Metal is built in to the OS. It’s the name of the macOS API to access GPU capabilities (and potentially other kinds of processing capabilities). Likewise DirectX for Windows.

I realize you’re objecting to the current state of affairs, but I’m not sure exactly how.
I think that it's pretty easy if you just consider that what's happening between `template<` and `>` is a simple LISP whose values are types.
I'm using something similar I believe. I simply wrote a puppeteer automated browser to go through every page and saves it as `.mhtml`
This work quite well for my purpose. I was archiving a site with content that I pay for and sits behind my login.
I often use material from it when I'm offline and hence needed to put together this hack.

The below code does the job of saving the page as a single file.

```

const page = await this.browser.newPage()
const response = await page.goto(url, { timeout: 50000 })

if (response.status() === 404) {
await page.close()
throw new Error('not found')
}

// credit: https://stackoverflow.com/questions/54814323/puppeteer-how-to-download-entire-web-page-for-offline-use
const cdp = await page.target().createCDPSession();
const { data } = await cdp.send('Page.captureSnapshot', { format: 'mhtml' });

const htmlFilename = "./data/" + slugify(url)+'.mhtml';
fs.writeFileSync(htmlFilename, data);

```
By and large, travel insurance is borderline scammy. And it doesn't replace health insurance. There are a few circumstances where I'll buy it:

Expensive pre-paid trip

Uncertain situation with a close relative medically that may lead me to cancel

Trips to remote areas that could require an expensive medical evac if things went bad

But 95% of the time, I don't bother.
Not to sound insensitive, but at 88y, pretty much living becomes letal.
Even if one was this cynical, do you not think a novel (not influenza) virus with an unusually high mortality rate spreading internationally is worthy of news coverage?

The media didn't name this thing, nor SARS, nor avian bird flu.
What an empire. Can you imagine what it must feel like to accomplish so much?
Me! Been reading vgr for about a decade.

It works better if you know what you’re getting into and are prepared for a long read with some personality.
I think this mans perspective is important. For the vast majority of people who get this it isn’t much different then having a cold or the flu. The large majority of people this is killing are elderly, whose immune systems are less likely to successfully defend.

https://www.worldometers.info/coronavirus/coronavirus-age-se...

But that is not the picture painted by media day in and day out. There is so much hype and sensationalism with this story. They would have us believe it’s the zombie apocalypse out there, and I just don’t think that is the reality.
How A Clandestine Las Vegas Birthday Party Changed My Approach to Hiring
80% don’t require hospitalization, but a significant fraction of those still involve pneumonia (not to mention high fever, muscle soreness, etc.).
Except that this is significantly more dangerous than the seasonal flu. 6 people already died on the Diamond Princess out of about 600 detected positive cases, this is one to two orders of magnitude more than the seasonal flu.
We have both – everyone in the company uses GSuite, and then ~10% of the company use Excel and Outlook (connected to Gmail) for particular business requirements.

The technical support for the Office 365 part is roughly the same load as the technical support for the GSuite part.
> I found the use of 'if constexpr' in the example pretty nasty.

For new code it is to be preferred - it generates less symbols than enable_if, compiles faster (by a noticeable margin from my own experience) and makes for more readable code as you don't have to go look everywhere for the various enable_if cases.
You're an asshole.
Show HN: Pmdr, Another Pomodoro Application
Bobby Movie Download for Android and iOS
The message is clear to me: don't panic. And it is a good one, even if things were (or are) worse than this experience, panic won't help.
That's why it's important to have positive stories like this one, the media is only focusing on the negative ones even though they only count for < 1% of the real situations.
Fear is better click bait
This is a time where it would be preferable to live somewhere that has good free/cheap health and social systems: if you're sick, you stay home and there are limited social or financial repercussions.

So many people where I am will just "soldier on" because they have no choice.
Construction industry? I’ve had several people tell me this week, from plumbing to transport, saying people are starting to be let go because supply isn’t coming from China.

You can’t have a construction industry when the supply chain has choked
Excerpts:

"It finally dawned on me: if I was spending so much time keeping people honest, maybe I was hiring the wrong people."

[...]

"...many team members I hired turned out to be superstars. They went the extra mile for clients, did amazing work, and never missed deadlines.
One day, I decided to analyze these “lucky” hires: Was there something they had in common that I could screen for in new candidates?

It turned out there was. While these people had the necessary skills,

they also demonstrated a clear sense of ownership of their work."
The media mostly ignored this story for 1 entire month despite its constant seriousness and despite it being clear that it was the biggest event of the year so far. Only this last week has it picked up on it. For people who have been following it from the start that fact was used as evidence that it was an actually serious problem given that the media was constantly downplaying it or just ignoring it.

In regards to the disease's lethality, even though most people will experience it as just a flu, between 10% to 15% of people experience it bad enough that they need hospital beds. If there's a generalized outbreak in the population like there was in China hospitals will be overloaded and general chaos will ensue, because hospitals in most countries aren't ready to deal with this kind of surge.
This is dangerous. Take every precaution you can not to get infected for as long as you can and that you don't infect anyone else. This is not the flu. The flu makes you more susceptible to a material pneumonia and that's how it kills. SARS-CoV-2 is NOT the flu. COVID-19 is the disease, by the way.

Here is the list of complications:
-ARDS in 29% (Acute respiratory distress disease, this needs mechanical ventilation to survive)
-acute cardiac injury in 12% (this potentially kills your heart tissue which leads to arrhythmia and then a heart attack)
-secondary infection in 10%

https://pubmed.ncbi.nlm.nih.gov/31986264-clinical-features-o...

This is something you should be very mindful of. A Cavalier attitude can get you or people you care about killed.

Here's the current list of symptoms to know if you're infected with SARS-CoV-2:

fever in 98.6%
fatigue in 69.6%
dry cough in 59.4%
anorexia in 39.9%
myalgia in 34.8%
dyspnea in 31.2%
expectoration in 26.8%
pharyngalgia in 17.4%
diarrhea in 10.1%
nausea in 10.1%
dizziness in 9.4%
headache 6.5%
vomiting in 3.6%
abdominal pain in 2.2%

https://pubmed.ncbi.nlm.nih.gov/32031570-clinical-characteri...