skysight-inc/HackerNews huggingface dataset:
Permanent damage will only be calculated months or years from now, because x-rays and every other machine to investigate that has a slightly more important job right now, so any decision will probably have to be taken before we get the "objective facts" you want.

You can call it fear mongering or whatever you want but the statistics show 1.3% death rate of infected in the us[0], meaning approx. 1 every 100 people with the virus is dying, and the white house estimates a max of 240.000 deaths before this ends[1], you could still say 1 every 2000 is not a lot, and then you may realize how important any number of deaths is its completely subjective based on your own perceived value of human lives, maybe even 3999 deaths every 4000 is not much for some people because logically speaking the surviving people can repopulate the planet, and maybe in such case we should be really worried about not injecting any fear mongering into that 1 person that will survive.

[0] https://www.google.com/amp/s/medicalxpress.com/news/2020-05-...

[1] https://www.washingtonpost.com/world/2020/03/31/coronavirus-...
Next time on HN:

Postmortem and lesson learned: Don't make yourself dependent on BIG_COMPANY when building a product
> Without the DMCA's safe harbor, YouTube would be on the hook for copyright infringement even if the person posting the video affirmed super seriously that he owned the content.

I have no idea where you are getting that from. If YouTube has prima facie evidence that the content is not infringing, which is what the affirmation provides, then any lawsuit against them would be dismissed unless the plaintiff could prove that the affirmation was fraudulent. And even then all YouTube would be liable for would be taking down the content by court order, unless the plaintiff could also show that YouTube knew or should have known that the affirmation was fraudulent.

What the DMCA does is remove any requirement on the plaintiff to prove that content they claim infringes their copyright, actually infringes their copyright. The plaintiff can simply assert it and have that assertion taken as fact without proof. That's not "safe harbor"; that's an egregious misuse of the law.
It‘s a Thinkpad, who cares for the touch pad /s
A couple thoughts after using it for a couple years.

1. It actually takes a while to get your head around the fact that the biggest advantage of elixir is having access to the battle tested features in OTP. It takes longer to realize that these benefits don't come for free and elixir might not be the best solution to your problem.

2. The learning curve for writing functional code is different for different people. As a result, it's impossible to figure out before hand how long it will take a team used to writing pythonic code, for example, to start writing functional, elixir code.

3. You're able to emulate something like type checking between pattern matching and ecto schemas but it's not type checking. Be prepared to spend time coming up with best practices for writing tests.
There are a number of ways to do this:

* Extract the attributes you're interested in into their own columns, index these. With the extraction happening outside the database, this is the most flexible option.

* Similar to above, use a trigger to automatically extract these attributes.

* Also similar to above, used a generated column[0] to automatically extract these attributes.

* Create an index on the expression[1] you use to extract the attributes.

My use a JSON in PostgreSQL tends towards the first option. This works well enough for cases where documents are ingested and queried, but not updated. The last three options are automatic - add/change the JSON document and the extracted/indexed values are automatically updated.

[0] https://www.postgresql.org/docs/12/ddl-generated-columns.htm...

[1] https://www.postgresql.org/docs/12/indexes-expressional.html
Gaslighting is the worst.

It's getting more common, too. Just the other day I found out that posting links in a youtube comment makes the comment invisible to everyone else. In hindsight, disallowing links is almost certainly a good policy and it's easy to understand and appreciate why it was put in place, but why the gaslighting? Just pop up a box explaining that links aren't allowed. The gaslighting isn't going to fool spammers for long enough to be a meaningful deterrent, but it is going to trip up legitimate users enough to meaningfully degrade their experience.

Time to visit my bitwarden and port another account off gmail (my late new-years resolution is to port an account off gmail every time I get myself worked up about something google did -- funnel the useless frustration into something worthwhile.)
50 weeks a year is very US focused. Other countries usually have 4 weeks off a year or more.
“There is currently no evidence that people who have recovered from COVID-19 and have antibodies are protected from a second infection”(see go.nature.com/3cutjqz).

As of 3 days ago there is:

https://science.sciencemag.org/content/early/2020/05/19/scie...
Doesn’t Gtk provide a color picker component they could just shove on a tab and use?

https://developer.gnome.org/libgnomeui/stable/GnomeColorPick...

?
"Telmetry" has been co-opted by the tin foil hat wearing privacy keyboard warriors.

It's akin to the people spending tens of thousands of dollars on disaster prep.

The only people who lose are the end-users of software. Who are forced to use crappy software.
Or even Edge. Their new Chromium based builds are Chrome compatible and have their own store.
I tried googling various subsets of keywords from your claim, and your comment is the #1 hit, and the rest are completely unrelated. Can you be more specific? Saying it's on bing/google doesn't exactly narrow it down.
Because engineers don't take kindly to companies changing the direction of their career development.

If you're an up-and-coming Golang developer, how happy are you going to be when your company takes you off of a Golang project and makes you the new Erlang person?

Now how happy are you going to be when you're informed that you're learning Erlang to maintain an old, flakey codebase written by 2 guys who left the company and are now unreachable?

Oh, and you're going to need to be on call for this because no one else knows how to fix it.
I trust Kyle when he tells me that the behaviour he observes is surprising. From the analysis (https://jepsen.io/analyses/mongodb-4.2.6):

"In order to obtain snapshot isolation, users must be careful not only to set the read concern to snapshot for each transaction, but also to set write concern for each transaction to majority. Astonishingly, this applies even to read-only transactions."

"This behavior might be surprising, but to MongoDB’s credit, most of this behavior is clearly laid out in the transactions documentation… MongoDB offers database and collection-level safety settings precisely so users can assume all operations interacting with those databases or collections use those settings; ignoring read and write concern settings when users perform (presumably) safety-critical operations is surprising!"
> But most people are simple browser users, and Office 365 and Google Docs have all but killed off office software on the desktop for many users.

In reality, I see most people use desktop software instead of the browser (without using the internet in some cases) to do their work. (Think CAD, Adobe, DAW software, Excel, video production software) even on mobile/tablets Office can be used where no internet connection is available.

I seriously doubt that users would spend all their time in a browser window other than for consumption purposes like social media and video sites. The idea of 99% of people doing everything in the browser seems questionable to me and some data about this would be helpful here.

Apart from the computer science department, I also doubt that people would find it easier to go to Linux, BSD or the other galaxy of distros.
The importance of science journalism during a pandemic
Is it reasonable to assume that in most current deployments of PostgreSQL or MySQL, SQLite would be at least an equally good choice?

I was recently choosing a database for a medium-size website and SQLite seemed like an obvious choice. One thing I was worried about was that the database locks for each write - but this is apparently not true anymore with write-ahead log.
Does anyone know if adding the Apple domain in question to piHole (or your hosts file pointing to 0.0.0.0) will suppress these checks?
Search for a job at one of China’s unicorns – outside of China
> Strategies that focus on the individual — using conceptions of ethics rooted in libertarianism — contradict the mission of public health.

This is quite the claim. Unfortunately, it's not really backed up by much. Not to mention that the idea of an "immunity passport" is pretty anti-libertarian to begin with, so it just seems like odd shade-throwing.

> because of structural inequities, people of colour are dying from COVID-19 at much higher rates than are white people..

I was under the impression that people of color are more impacted by COVID-19 due to certain health profiles (e.g. diabetes being more common in black communities than, say, Asian communities). I'm not really sure how the jump is made here to "structural inequities." COVID-19 is just one co-morbidity and claiming otherwise is just agenda-waving.
> they aren't an email, webapp, cloud storage, or online translation provider.

But they are: all of these are paid services Google offers. Presumably if you pay you get a different level/kind of support?
Pretty cool!
You got some other impressive projects in your website. Congrats!

It's impressive the type of 3D graphics that can be done in a modern browser, i'm surprised why we don't see more websites using these technologies.
Google did something significantly worse -- and spent ages apologizing for it and never really recovered from the reputation hit, and I suspect that negative impressions Buzz gave people were a contributing factor to G+'s total failure.
I've come across Overtone a few times and pretty much ignored it because I'm not a Clojure fan. But the Shadertone integration looks very appealing: https://youtu.be/kyL3xc7MzR0 I guess I should give this a go after all; thanks for the prod ;)

Tidal is another interesting project in that vein (though without the visual part): https://tidalcycles.org

The range of practical tasks for which this kind of tool would be my first choice is very narrow, but even if you have no clue what you'd do with it, it can be worth checking out for an afternoon just to experience a neat little declarative language that happens to go "beep boop [beep boop]" (yes, that is a snippet of valid code) as a side effect.

The documentation makes installation/setup quick and easy enough that it's worthwhile even if you have no other use for SuperCollider and just do it for the language tourism, using the included default sound bank. For example you could try code-golfing a rumba clave.
dialyzer is terrible, but vscode/elixir_ls + dialyzer is quite frankly amazing.
I'm curious about the nature of your bugs. Are they the type of bugs that would be prevented by using TypeScript or knowing more about JavaScript, or were they bugs of your dependencies?

I ask because I'm looking to make a "native" app, and I'm debating between Swift and TypeScript + React Native. I haven't experienced many bugs from JS/TS, but that's because I try to avoid huge dependency graphs in my web apps. It would be concerning if React Native's dependencies were buggy enough to have to chase down multiple bugs per project.
Except that they'll contract it, spread it to their family, some of them will actually die of it, and a lot more will suffer long term side effects that may be subtle but still dangerous. For example, this disease seems to cause blood clots. You could be fully recovered and drop dead half a year later from a clot breaking loose and getting lodged in your heart.
It probably depends more on where they are coming from. Mox has more overheads for sure than options in Ruby or Javascript. Its more like mocking in Java or C++; where you declare an interface(behaviour), program against that, and then use dependency injection to load the mock or real code at the right time. I'd been working with Elixir for several years when I first tried using Mox and it still took awhile to get my head around it and figure out how to integrate it into our project. I would not be surprised to hear that newer teams really struggle with it.
The problem is that is fairly difficult to buy drugs, and we heavily regulate the tools, process, and techniques necessary to produce and consume them. In contrast, every person has the tools to make porn on or attached to to themselves, and putting any sort of restrictions on this would be extremely unpopular from pretty much everyone.

By the way, there are a couple of countries that do ban the production and distribution of porn. I would suggest taking a look at how well that works out for them.
Learning by Joking: A Dockerized PHP FizzBuzz API
How do you do the customer pain point discovery?
Growing and Foraging 100% of My Food – Day 333 Update
That's like expecting a butterfly's wing flaps to stop a hurricane half-way across the world. A lot of businesses are actually incompetent at understanding the reasons consumers haven't bought their product. Naming and shaming on social media is more effective, but likely they'll just rebuff the claims and dump more money into marketing, as marketing is often very effective at covering up a shoddy product.

Voting with your wallet is the weakest position. Make a lot of noise as to why you're voting with your wallet, so they get the message. However, in a lot of cases, they won't care, and your action is just a droplet in an ocean, inconsequential.
I moved to 10dollar.ca for my .ca domains.
This is likely illegal. The psystar case[0] was a very clear ruling that attempts to circumvent apple's restrictions on hardware are a violation of the DMCA.

Apple checks a certain devicekey while booting, so that key is an anti-circumvention techniques. Any use of that string in a form where apple's software may read it is probably a violation of the DMCA. This script uses that string[1] in order to circumvent apple's checks, and thus is legally dubious at best.

There are numerous other likely DMCA violations as well, from copying GUIDs with the intent to circumvent checks to downloading copyrighted material from apple's servers which they only give you license to download for an actual mac machine.

[0]: https://en.wikipedia.org/wiki/Psystar_Corporation#Legal_issu...

[1]: https://github.com/myspaghetti/macos-virtualbox/blob/44a21f7...
Would assembly consider c a declarative language?
I noticed I am doing flat breaths most of the time, I guess because of all the smoke in the city etc.
At one point in my life, we joked about this. All of us working at a startup were incredibly frugal, except for one thing: most of us paid for Equinox, and I paid for a trainer.

Figured we could just live in the office and shower at the gym. Actually think I could have pulled it off but I'd probably die alone.
By this logic, HTTPS is "slow by design" and a nefarious plot by Big Certificate to siphon money away from tech companies.
Ask HN: Startup in Pandemic?
I'm thinking of a type of consultancy but I'm wondering who is starting up now and how are you succeeding?
A few ideas:

1. confirm the checks are enabled:

spctl --status

2. Make sure your terminal/shell/etc aren't already exempted System Preferences > Security & Privacy > Developer Tools.

3. If you already ran something that could generate a check in the last minute, the connection is still open. Most of the overhead people are recording is negotiation/handshake. If you're fairly close to the server, it seems plausible your observed time could be enough for the communication minus the negotiation. You can open Console.app and search `process:syspolicyd` in the device log to see the entries for the negotiation; wait for it to terminate.

4. Try removing and re-creating a new file as in the test you did before and check it a little more directly:

spctl --assess -v --ignore-cache --no-cache /tmp/test.sh

If it's working, you should see a log entry with the text "summary for task success" in it with a detailed breakdown of the request (times taken per phase, bytes sent/received, etc).
>make a point of marketing that it's firefox only.

This is a great but only a temporary solution. Firefox is taking jabs at extensions not on its recommended list with slightly scary warnings.

Firefox as a privacy focused browser should give users the ability to limit permission or sites extension can run on - including click to run option.

Without this, they'll soon go the way of chrome.

Heck Chrome started locking down extensions when they started catering courting enterprises. And they included the ability to make extensions uninstallable.

Bad actors took advantage of it, forcing chrome to tighten things further until extensions could only be installed from the store.
In monkeys. That may or may not apply to humans.

It certainly points to it working, but it's not conclusive.

The only conclusive test will be a challenge test, where you purposely infect people, or waiting a year after a vaccine to check for reinfection rates.
Given that this is the closest thing to a monitor discussion thread I've seen on HN, I'd like to ask if anyone has a recommendation for what I should upgrade to next.

My progression has been the 2560x1440 Thunderbolt display to the Dell P2715Q, which has been my main monitor at work and home for the past 5 years.

I've tried to upgrade from the P2715Q three times now, and always end up going back to it because I'm dissatisfied by the quality of the other panels in comparison.

I want a larger screen that can support 4K, or even 5K, with comparable panel quality. I avoided the LG 5K display sold by Apple because I heard bad things about it, but never actually tried one. It's 27" as well, so I think it would still be too small, even if the panel quality and resolution are better.

I'm starting to think I should just get a TV and use that as my display, but I don't know which would best suit my needs for writing software. One nice thing about a TV is that it would be much easier to do returns/swaps if I need to play the panel lottery for something that will make me happy. I have never done this with a previous display, since I always bought second-hand from people who had already done that for me. The original owner of my P2715Q apparently returned theirs three times before they were satisfied.

I've toyed with the idea of getting an Apple Pro display, but I really don't want to spend more than $2000 on a monitor.

The UP3218K described in the article seems like it would be a good upgrade, but it definitely exceeds my price range. I would be open to spending that much on a monitor if I knew I wouldn't be replacing it for at least five years, but I can't know that for sure. Although funnily enough, that's what has happened with my P2715Q. It's the only piece of computing equipment I haven't replaced since I first started using it.
A text only dump for kiwix might also be easy to distribute ( https://www.kiwix.org/en/ )

edit: Uh wow, 37GB text only already for EN. I somehow had 6GB in mind from a few years back, maybe for german, but it's also at 12GB already.
Wanted to get your thoughts on tuning for performance on RN.

We are native platform specialists..but have been seriously looking at RN and Typescript.

App sizes is a definite concern since we build for Indian markets.

What about assets? Do they bloat up more than on native.
I can relate to the interview part.

I have applied to horizontal positions in my company and been turned down so many times. They ask lots of questions that you would never hear on the job.

They had me working on obscure systems like FileNet and Neoxam. I even filled roles above my level, like tech lead (I'm a mid level dev). I got my AWS certs and it still took me a long time to move into a new position. It wasn't even a promotion, just a lateral.

The biggest thing I have learnt on the job is that you should not care about what the company or most others think. They are only there to F you over because they have this goal (and you should too): get in, make as much money as possible, get out as soon as possible. Skill and value mean nothing. Use the politics and people to get yourself ahead.
Wow, that sounds incredible. Is that a .wasm -> .wasm compiler?
I think it would make more sense to make this opt-in. For instance, I set my profile not to be displayed a while back, but when I checked on this new thing, it was set to make at least some part of the profile public by default.

Keep in mind that Triplebyte profiles have no reason to exist except people looking for work, and that most people have a reason to want to be sure that a current employer does not have an easy way to find out that they're looking for work. I can have a HN account and it doesn't make anyone think I'm looking for work, but if an employer sees my profile on Triplebyte, it tells them at the very least that I was at some point looking for work. If they see it on Triplebyte after having previously not seen it, it tells them that something changed recently.

I would definitely think this should be an opt-in thing.
but, alas, they are a great idea if you are sufficiently scared...
That all changed with COVID-19 now everyone wears masks. And this was long before emergency was declared, around the end of January. Masks were constantly sold out until quite recently.
To be fair, if you’re rewriting an Erlang system in Python/JS and you don’t feel like you’re losing much, Erlang was the wrong choice from the beginning. The cases were Erlang shines are very hard to replicate in these languages.
Too bad you can't "requesteth a pull" to update the language a bit.
Can you suggest an alternative to Voice? I need SMS and voice, and prefer data being optional (Voice can forward to a dumbphone, or even a landline). Happy to pay, just haven't found an obvious direct competitor.
Political Cartoons and Standard Oil (gallery)
Reminds me of the joke "if you're a mouse and you still have Alzheimer's, you need to get a new agent"
With regard to mocking, I’ve found that it works better to swap in a fake process rather than a fake module. If you have a FooClient genserver that makes RPC calls to a service or database, make a FakeFooClient that responds to the same kinds of genserver calls and returns canned responses. Or even implement a simplified version of the external service in the genserver.
Le Transperceneige (1982)
> I was under the impression that people of color are more impacted by COVID-19 due to certain health profiles (e.g. diabetes being more common in black communities than, say, Asian communities).

That's one factor, but there are many. Hospitals in low income areas are not as well funded and supplied. Access to primary care may be more limited. Heavier concentrations of jobs with less ability to work from home. etc.
This will only address part of your question, about API design.

I'd highly recommend Josh Bloch's writings. Josh is perhaps best known for the book Effective Java and the Java Collections library. Here is a paper he wrote about good API design (https://dl.acm.org/doi/abs/10.1145/1176617.1176622) and a short interview with him about API design (https://www.infoq.com/articles/API-Design-Joshua-Bloch/).

Brad Myers at CMU also has done research on API usability. See here for more details: http://www.cs.cmu.edu/~NatProg/apiusability.html

Lastly, if you're doing anything remotely related to security, I'd also recommend Matthew Smith's research. He's studied a lot about weaknesses of today's API designs and how they have led to security vulnerabilities.
https://ieeexplore.ieee.org/abstract/document/7676144
According to a lot of devs and CTOs I've met, Google and Apple can't do anything wrong while Microsoft can't do anything right.