skysight-inc/HackerNews huggingface dataset:
"Whether you’re more Giesecke or Ferguson, it’s time to stop pretending that our response to this threat is simply a scientific question, or even an easy moral choice between right and wrong. It’s a question of what sort of world we want to live in, and at what cost."

That right there is the thing. I think there are a lot of questions that fall into this catagory. People want them to be questions of science but they are fundamentally political questions. You can use science - in ways that are fair or unfair - but at heart science can't answer them.
Bokeh (I assume you actually mean shallow depth of field?) or the widest possible field of view - fish-eye?

I can see why you might feel cocked if you keep changing what you're talking about. :P
> I would love to have static types in JS, but not at the expense of node..

What do you mean by this? I use TypeScript with node all the time.
The use of Auto is requires in some places because the standard library returns types that cannot be named in the context of the calling function. This happens for example with algortihms that return a custom Range implementation that is declared within the scope of the function implementing the algorithm.

I am not sure what to make of this pattern. At least the documentation should be more explicit about these Voldemort types. Documentation has other issues as well. The standard documentation generator doesn't cope well with version statements (conditional compilation), potentially skipping docs for stuff that wouldn't be compiled into a particular build variant.
Well if you make it a DaemonSet you could technically use the container as the network interface of other containers throughout the whole cluster. That said, I'm very happy that his example k8s deployment uses secrets.

I didn't know Ubuntu 20.04 back ported WG into its 5.4 kernel. I spent a few hours yesterday fixing a node after breaking ZFS because I upgraded to 5.6 for WG support. I feel rather silly now..

edit: rektide mentioned 'kilo' which actually does exactly what I said (https://github.com/squat/kilo).
It's not just COVID-19 deaths, raw death numbers (as measured by death certificates, you cannot cremate/bury people without one) are down as well -- this report has some evidence, including lower business in at crematoriums[1]. This is likely due to the very stringent lockdown in India, and the somewhat underrated fact that traffic collisions and accidents kill huge numbers of people every day in India.

That said, while lower death rates (India's seem to be about half of the world's death rate) are to be celebrated, there are confounding factors.

1) The reported death count are mostly hospital deaths only. Home deaths aren't counted.

2) As the article notes, mis-diagnosing is a problem especially outside hospitals.

But if there's something that genuinely is reducing the death rate, then that's obviously a huge opportunity to study and learn from.

[1] https://www.livemint.com/news/india/india-s-lower-death-rate...
I've always wanted something like that, can you please share your config?
Apparently it’s so well hidden that you have reports on it in a UK and Middle Eastern media establishment.

It’s so well hidden that it’s been discussed on the floors of the US Congress, UK parliament, and between the Indian head of state and his UK/US counterparts.

I find it fascinating that people write comments where their own evidence disproves their comment. Neither of the articles you link to even mention hidden mass deaths, and the articles’ very existence only goes to prove the point that it’s hard to hide info in India.

That’s not to say that China has been hiding a mass of dead bodies that hasn’t been reported. However, it would certainly be a lot easier to do that in China than in pretty much anywhere else in the world, especially India.
Can somebody ELI16 why gene deletions are expected and what is the significance of this happening?
I like this one better:

0.9 = 1 - 0.1
0.99 = 1 - 0.01
0.999 = 1 - 0.001
0.9999 = 1 - 0.0001
0.99999... = 1 - 0.00000... with a 1 at the end of the infinite series of 0
I'm using tmux on server and putty to connect and it works for me. I don't really configure anything, just `set-option -g mouse on`. Mouse scroll works (emulated by tmux, but good enough for me). To copy, I'm using shift+left click drag (standard Putty hotkey), to paste I'm using shift+insert.
The whole portrait thing is going to plague this decade's pictures. We'll cringe when we look back at them the same way we cringe at 80's shoulder pads.
How to use the Decorator Pattern in modern .NET applications?
I had problem with finding high quality resources online. Sometimes, I took me hours hours to find great content about a subject I want to learn. So, I created this landing page and me and my friends will find great high quality content according to your level. (Will only find the subjects we’re capable of finding)
Do you mean 3D Touch instead of Touch ID? I agree that 3D Touch isn’t that useful or an everyday feature, I believe it’s now discontinued
It may also be a strong sign that few young Americans have the money to live in that area with no income for four years. The student admitted to Princeton can get money--financial aid or loans--to apply to food and shelter. The student apparently just hanging out has to have some other source of money. I also wonder whether the libraries and the computer centers have such a laissez-faire attitude.
To my knowledge, IntelliJ has a base framework for handling many languages build towards an internal protocol.
Obligatory plug, you can use both together: https://github.com/radekg/terraform-provisioner-ansible
I’m the author.
> I don’t get it, it’s a phone, with a camera. The camera just needs to be good enough, and for most people it’s been good enough for years.

Imho this is due to the fact that they don't have much to improve on. This is why we get 4k+ screens / 120hz screens on mobiles, 108mpx sensors are already rolling out already, &c.

It's a dick size contest, it doesn't make sense and no one actually need these things but it's the only way to make people buy the next iteration.
A better approach at installing your extension (and others) on Chrome without the pesky developer mode popup on Windows:

1. Drag and drop the .crx file on the Chrome Extensions page with Developer Mode enabled. It will automatically deactivate the extension once added.

2. Note the ID(s) of the extension you want to enable. This extension has ID: lkbebcjgcmobigpeffafkodonchffocl

3. Open regedit. Create a new string for each extension you want to enable with sequential names (indices), e.g. 1, 2,... under the key HKLM\Software\Policies\Google\Chrome\ExtensionInstallWhitelist (create one if it doesn't exist). Enter the extension ID(s) as string values in them.

4. Restart Chrome. It will mention 'managed by your organization' in the dropdown menu.

5. Once added, I've found that you can easily update this extension in chrome by dragging an updated crx file into the extensions page without having to create new registry values again.
> A better question from everyone outside the US: what the flying f is with the huuuuuge (accounting for estimated no. of infected and other factors) number of deaths in the USA??!!?

That's only true if you don't know what "per capita" means.

So far the US has 172 death per 1M population. That's better than other countries with supposedly better healthcare including:

- Belgium

- France

- Spain

- Italy

- UK

- Netherlands

- Sweden

- Ireland

- Switzerland

And many more.

> US stats look worrying for everyone on Earth

I'm more worried about people's inability to understand the difference between stats and absolute numbers specially on this site where we're supposed to know better.
Terraform is best at provisioning "hardware" (physical or otherwise); Ansible is best at provisioning software.
Since these are so small I don't see why we couldn't have a "demoscene launcher" with a "mailto:" style protocol handler and just let people click on base64 encoded links to start the demo.
> What's the best way

I'd pick up a comprehensive book like Ali Cehreli's "Programming in D",

https://www.amazon.com/Programming-Tutorial-Reference-Ali-Ce...

and come hang out in the D forums:

https://forum.dlang.org/
Terraform tracks and provisions cloud provider state.
Ansible you need to pass and parse Ansible output around which can take considerable time.

Terraform tells how your Infastructure should look like.
Ansible what software should be on your infrastructure/servers.

I tend to use Terraform to describe how the underlying Cloud infrastructure should look like.
I use Ansible to describe and configure what software should be running on those servers.

Usage cases:

Simply put Terraform cloud infrastructure provisioning.
Ansible server software and configuration files provisioning.
Zig is still very experimental though, the language isn’t stable yet
Big companies care about what their customers care. Customers don't care about replaceable batteries, or at least not enough to stop buying.
You know it won't be. Wireless headphones are disposable.

My wired Sennheisers are 10 years old. I've replaced the foam pads on them, which are still available from 1st and 3rd parties. I know someone who just replaced the pads on her Sennheisers which are 25 years old now.

I was basically called a luddite here the other day, because I thought firmware updating headphones is madness, but I stand by what I said. Wireless headphones are a solution to a manufactured problem, because Apple started removing the headphone port, and everyone copied them, as they always do. Now everyone is selling their own crappy AirPods.
>so tired of having to hunt down what functions are going to return, sometimes having to resort to just using it

With highly generic functions, it's often not possible to know what they'll return without knowing what you'll call them with. Especially given that D functions like "map" and "reduce" tend to return special iterator types so that the compiler is able to smarty fuse them where possible. If D had concepts like C++20, you could probably describe them with something looking like:

template<class R>

concept __SimpleView = // exposition only
ranges::view<R> && ranges::range<const R> &&
std::same_as<std::ranges::iterator_t<R>, std::ranges::iterator_t<const R>> &&
std::same_as<std::ranges::sentinel_t<R>, std::ranges::sentinel_t<const R>>;

But at least for me that doesn't seem like it would be much more helpful than just reading the documentation, which states what the function returns, if not necessarily the type.
This may not be best time to say "find a job", but perhaps it could be done.
FastText last release adds support for WebAssembly
Basically the intrastate effect of Houston East & West Texas Railway Co. v. US was said to be constitutional as a byproduct of regulating interstate commerce. Importantly the former is regulating commercial activity whereas Wickard v. Filburn expands the scope of the commerce clause to purely intrastate non-commercial activity that don't affect interstate commerce and would only affect interstate commerce if everyone did it.
Ground Report : I live in one of the major cities. Lockdown is reasonably well ensured. Our State Chief Minister was particularly vigilant and people are very alert.

There is not much misinformation in the media.

Basically, everyone has taken it seriously and is vigilant.

I also hear that those who took TB vaccine are more immune, and that is practically most of the younger and middle aged people in the country.
And then close HN because they are procrastinating from doing the job we programmed them to do. But they turned out to be too intelligent for, and are getting bored.
> What's the story

You can mix and match C and D code easily in the same program, and to a lesser extent C++ code. This means a larger project can be incrementally converted to D while keeping it running and shipping.
If you're disconnected from the server while some program is running, this program will receive HUP signal. I don't really like this fact and that's the only reason I'm using tmux for any important programs.
I have a pizza. I divide it into three parts.

You'd be asserting that if I eat the three parts I have not eaten the whole pizza.

I'm unconvinced.
Most likely the 1000 is appended to the local-part of the email address, not the domain, as any tool they are using for changing details most likely validates emails somehow.
Hi Walter. I have two and a half questions:

* Regarding the syntax of 'lazy'. It seems to me that it would make for better readability if the lazy keyword were required at the callsite, along the lines of doStuff(lazy getValueUsingExpensiveComputation()); rather than the current syntax where it's not clear at the callsite which, if any, of the arguments are lazy. C# does something similar with ref. What's the thinking behind D's syntax?

* What's the state, and future, of precise garbage collection in D?
What, Apple not sucking up to whatever new format Google wants to shove into the web?
Intel “Ice Lake” integrated graphics reference guides
I have no references to back this up, but I did have some odd results with setting my Huawei P9's camera to "aperture mode" (this was a while back, the actual mode's name might have been different). Essentially what you'd expect is that the subject should be crisp, but anything further away or closer should blur significantly.

I assumed that this was done as expected, via the lens. But certain scenes would have this "effect" applied wrong; things that should have been out of focus in the background were in focus, while simultaneously things at the same distance were blurred elsewhere, and so on.

I quickly became convinced it was a software effect, and the algorithm was simply guessing the depth wrong. While it looked great most of the time, it only took a few of these oddball Escher-esque photos to put me off it for good (since you generally only notice it afterwards, when it's too late to retake).

EDIT: Actually, having now gone through this article, it has some really good examples of how this can go wrong (e.g. dog with "crown" instead of background tree), and how odd it can feel.
In dynamically typed languages, adding types can stop things blowing up at runtime. In compiled languages, all the type-inference is still done at compile time, so if it compiles than you're not going to get a crash from accidentally adding a string to an integer at runtime.
There are many bad things happening everywhere. That doesn't mean we shouldn't try and stack-rank them, in order to allocate funds effectively. There's diminishing returns to everything[0]. As you throw money at problem #1, it becomes more and more expensive to make a marginal improvement, so eventually, it swaps places with some other problem in the ranking.

There are many criteria you could use for making such ranking of problems (a popular one is minimizing dollars per lives saved, or dollars per QALY added). Living in a free society means people are free to decide how much (if anything all) they want to spend on charitable causes, and on which ones. But in one's individual spending, it's worth to think about how to get maximum "bang for your buck", in terms of alleviating suffering.

---

[0] - By coincidence, this is on the front page right now: https://news.ycombinator.com/item?id=22993486.
It’s a comment about Google Hardware on a story about new Google Hardware?
Oh, they absolutely are. And it would be fine if they were clear about it(which they aren't). You know, "this is our first market, we are currently in the process of negotiating/developing the feature for other regions, stay tuned" is perfectly understandable for me.

I'm aware many people would freak out about something like that but as far as their hardware products, they are not aimed at the marketing-manager-with-a-macbook-pro-on-the-front-table-at-Starbucks types. In 99.999% of all cases, those people wouldn't care about a Pixel or it's existence. And in reality the only people who would make a deal out of it. I'm 100% certain that the average Pixel user would be perfectly fine with it.

The Pixels are absolutely brilliant products and I am in love with mine, even if it's almost 2 years old now. But imagine my reaction when I opened Google play and I saw the text "This app is incompatible with all of your devices." regarding Android pay... On a brand new Pixel? A text which is still there mind you. Their support was very open about it and they did say it's a regional restriction and nothing to do with the phone itself but still... This is just one example but there are plenty of others on the list.
Extra bonus if you praise the sun
It's very stupid, but a (very) few people see them as potential spreaders of the disease. Public health workers going into the community to find infected people have also been attacked. Also, until recently, suspected COVID patients had to be in hospital -- no home isolation allowed -- and some of these patients (or their relatives) thought that venting their anger on doctors would help.

Unfortunately, the law of large numbers in India means that a "very few" can mean tens of thousands of people.

[1] https://www.bbc.co.uk/news/world-asia-india-52151141

[2] https://www.bloomberg.com/news/articles/2020-04-13/doctors-c...
The Hard Part of Learning a Language
It is possible the correlation is: more outdoors -> less deaths

Where the relationship with "more outdoors" is kinda temperature dependent (not too cold nor too hot) and culturally/regionally dependent
Show HN: Play-2048 – Rust implementation of the 2048 game using expectimax
A thousand times this. Except for books amazon's search must be the crappiest thing there is.
What I always think of if I hear this is the tallness paradox between Europe and USA. When controlling for ethnicity, the modern white person from the US is on average about 1.5 inches (4 cm) shorter than the average person from the EU. As far as I know its uncertain why exactly this is (american used to be taller until mid of the last century) but the usual suspect is class inequality the lets to poorer sanitation for poorer people which in turn are also more likely to infect richer people which leads to less growth in adolescents. But ultimately, the cause of this phenomenon in not known.
A common complaint on tiny demos. Here the OS is only used for setting graphics mode and setting up a timer. Plus all the boot code of course. Not much really, with 512 bytes you can probably do it on the bare metal, if someone didn't already.

There is even more debate in 4k. After all, most rely on graphics drivers that take hundreds of megabytes. But the thing to understand is that in any case, the intro ships all the code that produces the sound and image. The OS is just an abstraction layer. The exception would be fonts and MIDI instruments, that can be stored in the hardware or OS.

But not all intros have text, "Memories" doesn't. And many intros do their own sound synthesis, though in PC 256 bytes you are usually limited to MIDI or to that horrible buzzer.
Ben Horowitz to Depart Lyft's Board
Google medical researchers humbled when AI screening tool falls short in
How to Make Money with an App
You're not wrong, but it seems to me the "addiction problem" of social media is not so much about the interactivity, but has more to do with the near infinite supply of entertainment.
True, but I'm not in a hurry. We've waited a long time for a C/C++ alternative, we can wait a bit more. Some find it in D, some find it in Rust, some (like me) are waiting for Zig, and some for something else.
[praising intensifies]
> Stockholm has 2.34 million inhabitants. (Stockholm in this context is always stockholm area, not the city).

I agree, counting only Stockholm city isn't reasonable. But I've found the 'Metropolitan Stockholm' number is seldom used as well, but looking at the definitions it should be more common.

What is more commonly used is the number for the Stockholm urban area (I'll link the Swedish wiki article since it contains a lot more data, https://sv.wikipedia.org/wiki/Stockholm_(tätort) ).

It's interesting to compare the metropolitan areas. In Stockholm is stretches so far that it includes areas that feed to (and somewhat off) some of the other large cities (mostly Uppsala I guess), but in Skåne the metropolitan area only covers a few municipalities although commuting by car is more commonplace and there seems to be a lot more commuting by train from Helsingborg and Kristianstad to Malmö (it's also extremely handy by train) than from Uppsala to Stockolm (no hard numbers, but I commuted Uppsala -> Stockholm for five years and Helsingborg -> Malmö for a while).

So it does make more sense to use the 'Greater' areas for all the major cities.
How does the coverage of APIs compare. Just AWS is a gigantic set of APIs. I see most of what I'd need in the Ansible Module Index but it doesn't seem like it covers all that is available.
Is there a mirror I don't have to subscribe or sign in to read?
Checkout.com Joins Libra
If you're using terraform with multiple people and are having problems keeping the state in sync I would suggest looking at remote terraform backends and state locking.

For example on AWS we use the s3 backend and a dynamodb table for locking. This way when terraform runs it will first acquire the lock, and then access the state on s3. And everyone is working on the same state.
I see we've reached the point in python's popularity where it is cool to hate it. Happened with C++, Java, Javascript, PHP, and now... Python, of all things. Maybe the least bad of all of those.
Like it or not it's here to stay.

If Scheme (or whatever language you use) was as popular as python you would think it is bad too since most code out there would be made by amateurs, and its flaws (which all languages have) would be unavoidable.
> you can't just throw around numbers without explaining exactly what they mean or where they come from.

In the interview, Gieseke says influenza kills 1000 to 2000 people per year in Sweden, it's part of the exchange starting at 24:16. He doesn't explain exactly what those numbers mean or where they come from.

A minute or two later, he guards his 'double' comment by saying it's not going to be 10x.

One interpretation of the exchange is that he's predicting 2000-4000 deaths in Sweden, and definitely not 20000.
Especially considering, that the printed old-fashioned Newspaper (at least if you select the right one!!!) has a professional writers and a more calm perspective on the world than social media and everything what we consume as media nowadays.
Hire Front-End Developer
Agreed. I tried the HTC one and samsung galaxy S4 back in the day and came right back to an iphone as their custom software they put on it was horrible and made it way less fluid than iphones did. I tried a pixel 2 to see if google did it better 2 years ago and it works just as well as my iphones did and I see no reason of going back.
Coronavirus – things we must do before we open up America
For macOS users (with brew):

brew install dosbox nasm
nasm memories.asm -fbin -o memories.com
dosbox
mount D ~/Development/memories (or whatever)
D:
memories

So, almost the same!

Hit FN+Ctrl+F12 to speed it up (it's time-independent, for smoother animations, hit that combination quite a few times).

It didn't output any audio for me, but that's probably fixable.
Terraform is a declarative way of setting up your cloud infrastructure. You specify the state you want your cloud to be in.

Ansible is an imperative way of setting up your cloud. You tell it to do certain things, install this package, copy this over there.

Hope it helps
Not quite accurate but very funny :)
Hire iOS Developer
Are you aware of anyone with large projects in Zig? I'm curious how fast it compiles, given in my view faster compilation is one of the biggest advantages of D over C++ and Rust, due to it having a lightweight compiler, DMD. Zig seems to still use LLVM, like Rust, which is relatively slow.
Updating an old car to the latest standard works just fine as you say. But if the charging stations don't actually follow the latest standard then you'd need lots of adapters.