skysight-inc/HackerNews huggingface dataset:
FWIW, SQL is actually the runner-up for Relational DBs. Codd had something he called Alpha:

> The Alpha language was the original database language proposed by Edgar F. Codd, the inventor of the relational database approach. It was defined in Codd's 1971 paper "A Data Base Sublanguage Founded on the Relational Calculus".

https://en.wikipedia.org/wiki/Alpha_(programming_language)

Also see Datalog and Prolog. https://en.wikipedia.org/wiki/Datalog https://en.wikipedia.org/wiki/Prolog
Something something the blindness of a non-authoritarianism (Chinese version of The Atlantic).
This kind of thinking is how your users end up getting emails from your buggy service like "Hello &#216;stein &amp; friends, ..." and your JSON API consumers encounter the same silly output.

Don't escape input. Escape based on output. Escaping doesn't mean anything until you've also specified an output format. It's not always HTML.
> Small vectors break iterator guarantees, for one thing.

It only breaks swap of the container itself during iteration. Which is a super niche condition.

And that swap also invalidates some of std::vector's iterators as well - specifically the end() iterator.

> They also really only make sense for tiny objects (ints, etc.) given you don't want a pickup truck's worth of data on your stack. They're most definitely not general-purpose.

Of course they are still general-purpose. They can (and do) specialize on the size of the object being contained. The only reason std::vector doesn't also have SSO is because it's an ABI break. Not because it's better in some way or less fragile. Legacy is the only reason.
One big reason there are so many recorded cases in Italy is that they managed to screw up and not only failed to test someone until 36 hours after the third time they sought medical care, they also failed to practice proper infection control when handling that case. So it's been spreading through their medical system like wildfire and seeding infections to other countries.
It has been mentioned in a number of threads that there are likely a significant number of underreported cases, e.g. John Hopkins study. However, if cases are underreported and it is implied that these are more mild cases, would that mean that these more mild cases are less likely to infect others? I ask this because if there's a hidden but significant fraction of cases, it seems to be beyond the scope of nearly every quarantine (i.e. asymptomatic people going about their day) and if the transmission rate is equal I would think we would see a lot of uncontrolled spreading. Perhaps Italy and South Korea are an example of this, although I would've imagined far more Western countries with deep distributed infections if are so many high transmission, light or asymptomatic carriers around.

Concurrent to this, I am surprised the original dozen set of infections in the US seemed to have not infected nearly anyone else, assuming close contacts were appropriately monitored.
> Desktop support is also extremely spotty.

Arguably it's less important there if one of the main motivations is that on mobile browsers will display a numeric keypad instead of full keyboard (which is my impression from skimming the article)
There are versions of Raspberry pi 4 with the fix, but it is possible that these discounted ones don't have it yet. In a recent interview they mentioned that they expected majority of sold RPI4s to be the 2GB version. I think they simply overmanufactured those and that led to the price drop.
Well, the result of the diagnostic test could cause harm (panic, unnecessary treatment, people not quarantined when they should be) if it was not accurate enough, but they should probably fast track something given the circumstances.
Thanks for explaining this better than I could.
Process Street Raises $12M from Accel and Salesforce to Build GitHub for No-Code
Not sure if you've been to Japan but they have some of the cleanest public facilities I've seen in spite of all the traffic. I'm sure people are coming through multiple times a day to wipe down all fomites.
+1. I've used it before going on trips or journeys. When I'm using VR, it causes my brain to remember it as if I've been there. When I'm finally there it just feels like revisiting, and I know where I'm going.
It is kind of interesting. Well, the fundamentalist Christian part is expected; there is a very creepy number of people who expect and welcome the Rapture (knowing full well many of their friends aren't along for the ride).

As for the rest of the world, I think catastrophe is a spectacle and people like to "live in interesting times". Take a NASCAR crash and multiply it by 10,000,000, you know.
> Escaping output does not always work when

Yes, it does. The only exception is if there is no way to represent a given value in the language that you speak to another component, but then you either need to reject the request or sanitize on output (if you can be reasonably sure that doing so won't break the semantics of the information that you are passing on).

> If you don't filter malicious inputs

There is no such thing.
> a high rate of randomly-timed failures is a kind of degraded experience, but not as critical as blocky patches of downtime

Do you think that's an accurate generalization for all software and business contexts? I think a novel insight about the paper is that windowed user uptime is able to visualize the differences. (See Figure 20 from the paper.)
I dont buy that. Excess can be canned and frozen.
That 44% figure sounds roughly correct. I'd say that about half of the people I personally know (including myself) have skipped filling important prescriptions because of the cost at some point in their lives. Some of those prescriptions are eye-wateringly expensive. I've paid four figures to fill single prescriptions.
I've been working on a competitor for a while now, and the hardest part of replicating functionality is the data. OpenLibrary is probably the best source for book metadata online, but even their library dumps are riddled with mistakes that manifest in weird ways as you start building your own library. The Goodreads site sucks, but they've got surprising data quality that I don't think anyone else has; and they have a super restrictive data policy so you can't repurpose book data, reviews, shelf data, etc, even when users auth with a Goodreads account.

It's a small moat, but definitely penetrable with more than a little effort.
Type-1 and Type-2 errors... :-)

https://en.wikipedia.org/wiki/Type_I_and_type_II_errors

Medical testing is very, very murky. There was a time a routine medical test for me came back, indicating I possibly had Lupus. It turns out; this test has a false positive rate of about 5%.

I am a white male, and the rate for lupus for my group is astronomically low. The rate for the worst group (black females) is like 500 in 100,000. There's some evidence the rate around white males might be six times lower.

Had I known any of this at the time, or had my doctor explained it, I wouldn't have spent weeks worrying.

The fact is, medical tests just update the probability you're sick or well. And this is why they have to be well understood.
Looking at the numbers from Wei-jie Guan et al (https://www.medrxiv.org/content/10.1101/2020.02.06.20020974v...):

nonsmokers = 927 cases, 793 non-severe, 134 severe

exsmokers = 21 cases, 12 non-severe, 9 severe

smokers = 137 cases, 108 non-severe, 29 severe

That gives:

nonsmokers: 14% severe cases of presented

ex-smokers: 43% severe cases of presented

smokers: 21% severe cases of presented

The low number of ex-smokers as well as other factors (did they quit because of advanced smoking-related diseases, etc.?) makes that number hard to interpret.

But smoking carries a normalised average 40% increased risk of severe cases.

100 * (21-14)/((21 + 14)/2) = 40
This is a misconception. Amazon wants to depict itself as wanting every part to be in ship-shape, but it does not operate that way and AWS is treated like any internal resource like printers and staplers.
When Google Earth web used NACL, it was so silky smooth, it wasn't even like it was the web. Even on relatively weak hardware (dual core laptop), it was so nice, didn't skip a frame. First time I tried this in stable Chrome it locked up my entire computer. Took about 5 minutes to be able to reboot. On reboot, when I run it, it's like a slideshow, unusable (Ryzen 3900X 12-core beast with RTX 2060 Super). I really want to get excited about WebAssembly, but this doesn't do that.
I'd argue that US parents are so keen on schools staying open because often their jobs depend on it. I expect it would be similar in Japan as well.

Maybe it seems like daycare because, in a sense, it does serve the function of allowing parents to work. That doesn't mean it's an alternative to daycare. The parents want their kids to have an education, but they also count on school to be able to work.

Even here in Canada, if a school has a snow day and an employer doesn't, it can be a little tense if you don't have anywhere to put your kids. People with relaxed employers and good leave options are fine, but many people don't have that.
> more importantly they are orientalists

Probably "originalists", although they may also be orientalists too :)
Here’s Why You Should Buy A Gaming Laptop
Ajit Pai defends his actions and explains how the US can “win” 5G and robocalls
Or length of time exposed to air pollution, where smoking habit increases the likelihood of mortality?
I wouldn't: https://news.ycombinator.com/item?id=22435408
In my world (see other reply), I get to deal with whatever is in dozens of codebases written in many times and places. The superset of everything they're using is pretty much everything.

Beyond that, even the "good" modern subset of C++ is crazy complex. I've sat in a room with some of the better C++ programmers in the world while they study and try to comprehend the new features like rabbis interpreting the Talmud.

If there's one concise, fundamental rule of software engineering, it's this: Complexity kills.
The Government Digital Service does all kinds of cool work around accessibility for both users using assistive technology and users who are less technically able. Interesting talk here from 2014 https://www.youtube.com/watch?v=CUkMCQR4TpY
This is off-topic, but I really like the current GOV.UK (several years old now). I don't really have opinions on the visual stuff, but I find it really pleasant to use.

Filing my self-assessment tax return (only required because I run a side-business) is a fantastically straightforward experience. Step-by-step information entry, pre-filled with what they already know (e.g. main employer's salary), then they give you a number at the end which you pay by card.

Having done the paper version exactly once before moving over to doing them online, I feel grateful every time I see that distinctive custom font.
Meanwhile any efficiency savings are eaten up by huge increases in air travel. See Jevons paradox.

I'm also very sceptical that we can synthesise enough fuel to power even a fraction of the current fleet. We need to fix this problem now and that means relying on technology we have now.
What's on topic is whatever hackers find interesting. Well, most of us are interested in not dying.

And I don't see how the corona virus is political.
> We have numbers, but every time people tend to ignore them or say we should not trust the numbers, take them with a grain of salt

Well, the numbers are very wrong. That's known. There are plenty of large factors with unknown impacts pushing the numbers both ways.

But there are about as many people saying "it's not that large a problem" as there are saying "this is way worse"... What is just natural when we don't have reliable numbers.
The masks aren’t fine enough to trap germ particles coming in. There are such masks (n95) but these are more expensive, and require fitting and training to use. The off the shelf masks people are using do nothing for healthy people.
Is there a single piece of evidence for arson in this case? I don't see any in the wiki article.

House fires happen a lot. According to the NFPA, in the US there were on average around 350000 house fires per year between 2013 and 2017, 92% of them accidental: https://www.nfpa.org/News-and-Research/Data-research-and-too...
> and allow the free market to push the costs down.

I am the opposite of confident that this happens in the US with drug prices. I don't think there is a free market for drugs in the US. I think it's largely gamed.
Except for all the extra packaging needed....not to mention the energy overhead of the processing operation and the fact that a world with only preserved food would suck......like really hard.
some earlier discussion:

>The firm drew national attention when The New York Times ran a front-page story about its work with law-enforcement agencies. The Times reported that the company scraped 3 billion images from the internet, including from Facebook, YouTube, and Venmo. That process violated Facebook’s terms of service, according to the paper. It also created a resource that drew the attention of hundreds of law-enforcement agencies, including the FBI and the Department of Homeland Security, according to that report. In a follow-up story, the Times reported that law-enforcement officials have used the tools to identify children who are victims of sexual abuse. One anonymous Canadian law-enforcement official told the paper that Clearview was “the biggest breakthrough in the last decade” for investigations of those crimes.

https://news.ycombinator.com/item?id=22424828

https://news.ycombinator.com/item?id=22426599
yeah, better to use Chrome to protect your privacy /s
As long as they validate their inputs!
Ask HN: Has your company banned business travel?
Willing to be wrong here, but the task of spinning off even thousands of infectious disease for a disease that is still little known does not seem to be a trivial task.

We just had a huge scandal over a silicon valley company botching blood tests, and those were well known, well documented tests that honestly were ideal cases (as I understand) for what they were trying to do.
For everyone ITT complaining about FP/IG/WA... If you are still using them, why? Why can't you just walk away?
And that's where they realise they stored the serial number on an int32!
I don't understand this argument, what if the CDC was actually overstaffed? Do you know? I have no idea...

Lives are always on the line when it comes to disease, but we have never placed an infinite value on human life. By your logic and morality, the CDC should receive additional funding and staffing until there are 0 deaths from disease every year, regardless of diminishing returns. What if increasing funding and staffing of the CDC by 100x reduced the incidence of flu-related deaths by 10%, would your justification mandate this?

To call the cuts "needless" and justify it by arguing that "there are lives on the line" is simply not a good argument unless you are willing to take the argument to its extreme conclusion. If instead what you are arguing is that you believe that the previous budget and staffing was at a correct figure, and that you believe that the increase in body count that will come as a result of the adjustment of that figure (which I doubt is knowable at this moment at time, or if it is even greater than 0) is not a worthwhile tradeoff, then that is a completely different argument.
Not unless you go out of your way to avoid touching everything. The act of washing with soap and water removes your personal fecal bacteria and turning off the water replaces it with whatever filth is on the knobs. Ditto if you touch the door knob/handle on the way out.
The current expected lifetime of a smartphone (and laptop for that matter) is about 2-3 years. After that the batteries start to degrade. when the batteries start to degrade most devices start to down clock to preserve battery life. And even if they don't down clock they stop being as useful as their intended purpose.
Future of Work: We Can’t All Become Coders
It's definitely good to have excess production capacity available.

To respond to your statement, though: zero wastage doesn't imply zero extra capacity (or safety margin, as you put it).

It'd be easier and cheaper to build a safety margin and additional capacity if wastage were lower.
Clickable links:

YC S2017- https://twitter.com/i/lists/1230735563034021893

YC W2017- https://twitter.com/i/lists/1230735739861618691

YC S2018- https://twitter.com/i/lists/1230734925881470976

YC W2018- https://twitter.com/i/lists/1230735246502424577

YC S2019- https://twitter.com/i/lists/1230728767556833280

YC W2019- https://twitter.com/i/lists/1230734559743922178
On top of the missing extensions, Firefox Preview (nightly) also crashes a lot. Been giving it a spin in the past two weeks but I don't feel it's ready to replace current Firefox.
MC Ruler: Seamless LLVM-MCA CMake integration
This is exactly what I want, down to the syntax!
That seems to be the numbers (0.5%) coming out of S. Korea, which I believe has the best publicly available numbers. See https://corona-live.com so far it seems accurate and the linked supporting articles are from "internet reliable" sources ...not fringe.
How to derive Electromagnetic Waves from Maxwell's equations in 1 Tweet
Did you even read the study you cited?

From the "Conclusions" section:

> "With few exceptions and despite increasing investments in enforcement-based supply reduction efforts aimed at disrupting global drug supply, illegal drug prices have generally decreased while drug purity has generally increased since 1990. These findings suggest that expanding efforts at controlling the global illegal drug market through law enforcement are failing."
re: IRS, they _do_ call it "voluntary compliance" after all
Even if all the hub traffic went away Heathrow would still be a busy airport. There is a huge demand for air travel to and from London, the airport is at capacity now.
We normally don't eat dent corn...but in a pinch I guess.
when you conduct the assay you are handling a known pathogen

doing that without proper training equipment and expertise should be discouraged, even if it isnt the original intent of the restriction it does seem to reduce a possible avenue of amplification of the problem
Be careful when clicking on the link called "Seizures". It is indeed what it says (see https://en.wikipedia.org/wiki/Photosensitive_epilepsy).
Accel Leads $12m Series A for Process Street’s No-Code Workflow App
Which SD card class?
People still die from bad vaccines, just not normally in the US.
I've worked on systems so shitty that some input was triple-escaped so that it would trickle down three unescape layers in old buggy clients deployed to the field.

The thing is, there's no wisdom to take away from this monstrosity. It's just old shitty legacy ad-hoc code. The grandparent post thinks there is.

That you might need to break every rule in the book to integrate shit-tier software doesn't need to be said when talking about software best practices.
Excuse me, what the hell?

Korea has so far tested 66,652 cases. All under government supervision. Local governments are barging into churches of those damned Sincheonji cultists responsible for the outbreak, in order to obtain the list of church members. Police force is tracking down cultists who failed to respond.

Of course, not all is well, and some critics are arguing we should have blocked people coming from China, which is something only the government can do, by the way.

Seriously, Korea is a living demonstration how the government is absolutely critical in controlling an epidemic. I'm tired of this fetishization of "individual responsibility" with no basis in reality.
Of course they can.

The issue is when you push a work in progress as a replacement for a finished solution
Thanks Nat! Keep up the good work and thanks for contributing here. Github is still my favorite. =)
As an English person I am finding this thread very confusing because I encounter very few situations where "ask" doesn't mean exactly what patio11 is describing.

This is especially true when the dialogue is between two people (or entities) of different social status or power, but it's also pretty rude to not oblige when you are close to the person.

The only time it is truly voluntary is when there is no relationship and nothing to lose by declining.
Wormholes Reveal a Way to Manipulate Black Hole Information in the Lab
More than 900 cases of infection have been confirmed. Damn, that's alarming.
Interesting read. It doesn't explain though why "the people in charge" haven't issued a blanket authorization by now for basic RT-PCR based diagnostics using a particular primer sequence at facilities meeting some minimum criteria.

Other countries have managed to authorize and implement drive-thru testing stations [1] by now; it really seems like we're demonstrating our ineptitude here.

[1] https://twitter.com/ianbremmer/status/1232685500806225922
Well, sort of. The ancient Greeks actually had two concepts, and people confuse them all the time. [1] But people harkening back to the ancient Greek tradition of isegoria are a very small percentage of the "BUT MUH FREEDOMZ" outcry. What they want is not freedom of speech, but freedom from the consequences of their speech. And often they want it in ways that include suppressing other people's rights, like freedom of speech and freedom of association.

[1] https://www.theatlantic.com/politics/archive/2017/12/two-con...
It doesn't mean that you should toss your phone away, but from a security perspective your operating system is very much a legacy if it didn't get any updates for 6 years. Luckily on Android your can often flash an alternative ROM when official updates are over.
If your job involves maintenance or support of multiple Python codebases, you do have to learn it all. And at least before Python 3, this wasn't that hard. (Python 3, unfortunately, has made the language a lot more complex.)
If I use 0.0.0.0 I'll still be able to access my DB remotely? sorry for the ignorance...
It certainly is not - a trade might not care about 99% of the time, but the exact moment they want to do a trade the system must work.

Whereas of some GitHub request fails and I retry it's a minor annoyance, but in most cases I won't even know whether that was GitHub's flaw, my local system or some networking in between.
In the US sometimes the evidence isn't clear that facilitating "join back to society" is an actual goal (it's often a stated goal). It often doesn't seem to be a policy priority.
Facebook and Google hire tons of C++ programmers. Despite what you may think, the back-end of the internet runs on C++.

Also: If you've done VR development, you have marketable skills. Unreal Engine is C++, and learning the specifics of the engine isn't particularly hard. If you're willing to work under the low salaries and often poor management found in the gaming industry, that shouldn't be too much of a barrier.

There's also gaming-adjacent companies, like Epic, Unity, Roblox, Twitch, and so on.
> I understand wanting to surveil prisoners but denying them access to the outside world completely is wrong and a waste of everyone’s time.

Counter-argument: seeing the world pass you by is a good way to become suicidal, and the state (at least here in the US) has an obligation to protect those in their custody.

Receiving broadcasts e.g. radio signals etc. is fairly low risk (exceptions include coded one-way transmissions), but bidirectional communication is a good way to increase the risk that a prison may face a life-critical challenge at some point.
Aka, "Manifesto for the Solo Software Developer". Godspeed, Lone Ranger.
Not the parent but we went with Hasura over postgraphile because they do RLS outside of the dB. It allows them to load the data for all clients subscribed in a single query. Also the subscription story is better (from memory).
You might like our upcoming Scheduled Triggers feature which lets you invoke webhooks according to cron or adhoc timers: https://github.com/hasura/graphql-engine/pull/3553