skysight-inc/HackerNews huggingface dataset:
> The buttons seem misaligned but there is logic in it. The buttons that has to do with the coutners are closer to the counters. And the buttons that expose the window handler are closer to the window handler. And yes, the number on top is the window handler.

I'm having a bit of trouble understanding this, since I can't see how this works. How does [C], which "copies a C-style SendMessage template to the clipboard", have anything to do with exposing the window handler?
I'm reasonably sure having hospitals run out of it because it was hoarded by preppers is not a desirable outcome.
Ask HN: What kind research people can do because Covid-19?
Covid-19 has created an anomalous situation so what kind of interesting research is going to happen?
I wouldn't personally use this since my preference usually goes towards terminal UIs but I love seeing these personal productivity tools that people come up with. Nice work (and kudos on actually maintaining readable assembly code)!

Isn't it annoying to have to change out window handles manually all the time? Or did that just become muscle memory after using the concept for that long?
> why is it up to me to do weird math to figure out if I actually have enough $$$ to pay for what I'd like to have.

Well, one reason is: to make you aware of the tax burden (and judge if that % is kept at a reasonable level), rather than hiding it in the total price.
> For both cities, humidity is relatively uniform year round.

There is no way humidity is relatively uniform year round in NYC. It gets very humid during the summer and very dry during the winter.
Results look like ~20% need oxygen(50m) and 5% need ventilators(17m).

How many spare beds do we have?
This will be a moot point for the foreseeable future, since if this actually works, limited supplies will be redirected to people who are actually infected.
Reconsidering the way I explain programming
It could also be cultural. Statements from Italian doctors I've seen said that their patients usually don't go to the hospital unless they really need care. That could've been the same here, people trying to sit it out until they needed intense care. In Germany, even people with very mild symptoms got tested early which helped to track down infections more easily. That also explains the low mortality rate.
https://nickdesaulniers.github.io/blog/2017/05/16/submitting...

`make W=1` to enable additional warnings, find a warning and send a fix. (`make W=123`)
If you look at the SendMessage code examples, they contain the window handle as the first parameter. Looks like that's a convenience feature to reduce the amount of typing required to get data into the target. It basically generates code to communicate with the instance you pressed the button on I believe.
> maybe it wouldn't be a terrible idea.

It is a terribly stupid idea.

Our only hope is too flatten the curve.
Curious but what’s driving the need to have a different pipeline system? As you say, Kubeflow has lots of overlap with Airflow so what’s different?
From what I read, medical equipment seems to be the bigger issue in parts of Italy right now. You can only convert beds to ICU if you have the right equipment. Nursing staff is obviously necessary but that doesn't appear to be the most limiting factor at the moment.
Some GPs in some EU countries did decide do take it prophylactically due to lack of PPE. But most around me agree this is a risky and probably bad advice. The current publicly available guidelines do not recommend taking it before you develop symptoms and do not recommend taking it at all if you are asymptomatic and/or very young. And also certainly they do not recommend any self medication without doctor's approval as there can be serious adverse effects with chloroquine (less with hydroxichloroquine).

Also this would have a terrible effect and indeed cause supply shortages as another commenter pointed out.
When comparing countries (e.g. Italy against South Korea), you have to consider many factors.

Cultural factors: how quickly do people change their habits, to do e.g. social distancing. Do people in public wear surgical masks. Population density, temperature, weather,...

Lying governments: I don't think South Korea or Italy are lying, but Iran is for sure, and China up to some point (at least early on). Italy stopped testing at some point, but this is known. South Korea increased testing over time.

Herd immunity: maybe a part of the population was already immune before (too early to say), but it couldn't have "kicked in" during this year as there was only one wave yet.

There is no question whatsoever that this corona virus IFR is a lot higher than the 2009 H1N1 flu, but lower than the 1918 H1N1 flu. When comparing countries / regions, you should consider the population age pyramid (Italy has more old people than South Korea) and how overwhelmed the hospitals are (I think quite bad in Italy and Wuhan).
My guess is that the copied code includes the handle value of the running instance as an integer literal.

See the examples on the page.
Tangential question, something I've always wanted to ask.
The ISA here is given by example, here's a couple

MOVE src, dst: dst := src
ADD src, dst: dst := dst + src

I have always wondered why assembler is written the first way

MOVE src, dst
ADD src, dst

rather than the far more intuitive (and slightly more compact) second, something like

dst := src
dst += src

This also completely eliminates questions about which direction data goes, is 'mov a,b' a:=b or b:=a for example.

I can't see any reason for not using the established C-type notation, so why is the original style always perpetuated?

I'm aware that C approximately maps onto the original PDP ISA and has been called a high-level assembler, true or not that's irrelevant, but why the higher-level syntax has never made its way to lower level ASM has baffled me.
I'd be interested in the next course on BPF and KVM.
Yeah, a local hospital was approved for vaccine testing today. Timeline for completing the tests? 13 months.
What sort of results do you get back from Cloud Vision API? The Google Lens example you mentioned is what I assumed it would do.
Exactly. I am certainly in the "exceptions should be really exceptional" camp and therefore I didn't "agree" with Python's open function:

https://docs.python.org/3/library/functions.html#open

"Open file and return a corresponding file object. If the file cannot be opened, an OSError is raised."

in the sense that in a program that is not only a few lines, I would prefer such kinds of library functions not to produce exceptions, thank you very much, so I had to wrap all such. But it is not optimal not being able to directly use language primitives as much as possible.

On another side, writing really short programs gets to be faster: if I write only a few lines, having an "implicit" error handling shortens the code.

And that's what I think is the main reason for many ills and misunderstanding in many popular languages: the practices that look good for small examples (or in the books) aren't the same as those which work well for large projects. Python's not detecting the typos in the variable names in compile time is also a typical bias towards the short programs.

For large projects detecting as much at compile time and having only very exceptional exceptions and unsurprising control flow (visible reading ifs, and with a guarantee that there can't be "landings from anywhere" like in exceptions) is of huge advantage.
Just out of curiosity, what is weird about non-locality? From my super naive perspective that's just saying that things don't necessarily work underneath the hood the way they appear to work. For me (super naive, remember ;-) ), that seems completely reasonable even if it might be very inconvenient. What am I missing?
A function has a well defined scope, parameters and output. A comment does not. A function name describes an intention. Within the scope of this function, someone can check whether the intention is respected by the implementation. If this function calls other functions, just assume that they are working as their name suggests. If that is not the case, fix those other functions later.

This has been my overall approach to maintaining code. To such extent that I design things around the possible names I can find. Some call that DDD. I call that respecting my team mates. Without writing and naming function, this is not possible.

Languages such as J and K are fine for single developers & prototypes but really bad for bigger projects.
And with the other hand... unzips
None correlated to stock market crashes though.
To be exact, it's a "logistic curve", which initially is exponential. From this 3Blue1Brown excellent video: https://www.youtube.com/watch?v=Kas0tIxDvrg
Flamewars are fun, you're not. Humans are fundamentally emotional beings.
Informing users of a better repo is key.
Let the code speak for itself.
I think that's likely, but it's understandably difficult to convince anyone to spend a few hundred million dollars to develop vaccine that might never be used.
Whitefish was getting stuff done. It was more than one man. It had the needed skill, which was subcontracting. Whitefish got numerous teams operational in Puerto Rico before being yanked off the job by politics.

The whole story of Whitefish being unqualified is just corrupt politics. Subcontracting is a legitimate way to get the work done.
The likelihood of it coming from any particular country is not evenly distributed, and there are reasons behind that uneven distribution.
High humidity reduces aerosol transmission, which is the more important vector.

(By essentially washing down the vapor and additionally making people exhale less water. At least that's the theory behind it.)
AT&T vs Intel syntax
I'm in a remote part of Canada, everyone is very cautious in my town of ~20k, and I can work remotely.

I'm taking extra precautions because I have asthma.

60-70% could be exposed in Germany, OK, over what time frame?

I would give myself a high likelihood of being in that 30-40%; working hard to not occupy a ventilator if I can because I'm in a privileged position.
Correct, if you want their oss builds, they have docker containers with -oss in their name as wells tar.gz, rpm, deb, and other builds with similar naming conventions. You can also build these from source yourself of course.

If you know what you are doing, the OSS builds are completely fine for production usage and many companies that use their products should have all their needs covered by the OSS builds.

All this is documented and easy to figure out. There's nothing confusing, sneaky, or otherwise misleading about it. There's a tiny file called LICENSE.txt in their repository. I'd suggest reading it. Also their documentation helpfully labels features that are xpack only. Every source file states what license it is under.

Their cloud stuff is nice if you want to replicate their cloud offerings on premise and not pay them or reinvent a lot of wheels. But if you are going to compete with them, you are indeed going to have a conflict with the license terms.

If you are considering Amazon's open distro. It's fine but the added value over the -oss containers is very limited and grossly overstated by Amazon. And their track record supporting this in the field is pretty bad/non existent. You're on your own.

Also secure by default is a myth; I just joined a project that runs an AWS Elasticsearch setup a few weeks ago completely unprotected. When I say unsecured, I mean open port with full read write for both the cluster and kibana. No meaningful security whatsoever. Nothing. On an official AWS product running in their infrastructure.

And yes, we're fixing that (by ditching AWS Elasticsearch for something sane). The one thing they called out Elastic on is exactly what they ended up doing themselves: running completely unprotected Elasticsearch clusters in AWS. I'm shocked this is even allowed on their infrastructure. I'm even more shocked about the complete lack of warnings related to this after all the BS they gave Elastic last year when they launched opendistro.
Great point re: the “Bespoke” style of programming. It takes some unlearning and getting used to tacit programming [0] and trains [1] to appreciate this.

I’ve worked on fairly complex systems using kdb/q that are a joy to debug because the codebase is a handful of files. q is admittedly a more simplified and “mainstream” cousin of J, but allows a fair bit of expressiveness. The powerful data store (kdb) and q-sql that comes along with it
makes it one of the most concise data platforms ever. Too bad it’s not free for commercial use!

[0] https://www.jsoftware.com/help/jforc/tacit_programs.htm

[1]
https://www.jsoftware.com/help/learning/09.htm
20+ Places to Promote Your Instagram
An accurate post would be to avoid watching 'Too much' coverage of the COVID-19 outbreak, I suppose. The title looks like it's framed to say that you shouldn't watch TV coverage of the COVID-19 outbreak at all.

This also applies to the climate crisis where watching 'too much' repeated TV coverage or awareness around its just as bad, but it's better to have some awareness of it for those who haven't heard or don't know what to do about this outbreak.

> Keep calm and carry on!

Exactly! That's the spirit we should have. Keep calm and wash your hands :)
> While C-3PO and WALL-E might be good at processing algorithms, they can never replace living, breathing, thinking humans entirely in the workplace.

I always read that "never" as "in the next 50 years". Never say never.

> We have a surplus of people who are educated but don’t quite have the skills to fulfill companies’ needs.

Yes. That is why there is entry level positions like 'junior developer'.

BTW, apprenticeship should be also a full-time paid job. If you have difficulty finding people maybe is that you are not paying enough. Trying to get starters in a field to accept very low pays or not pay at all makes the profession less desirable and reduces the number of candidates in the long term.
MedNES: A cycle-accurate NES emulator in C++
This would be a mistake on par with disbanding the Iraqi military after Iraq was "liberated". Don't do this.

Fix the agency. Don't let smart people disappear into retirement and the private sector. Don't annihilate the remaining expertise that does exist. You will never get them back.
Covid-19: Further Evidence That the Virus Originated in the US
It's Intel vs AT&T syntax :

Intel: mov eax, 4
AT&T : movl $4, %eax

One could interpret that doing ADD a, b, c would be "do a + b and put in c"
I've already posted the news to HN yesterday, but it didn't get any traction. Anyway one of the best remote collaboration platforms Bitrix24 is now free to an unlimited number of users until COVID-19 threat is over - https://www.bitrix24.com/about/blogs/bitrix24-tips-and-updat...
Interesting.

I would ask you this:

1. Which part of the world you hail from 2. The people you talk to..are they mathematically challenged or immersed in the world of numbers(doesnt necessarily have to be tech/IT)
To reduce costs, they don't particularly encourage use outside Norway / Nordic countries.

Last time I read the API documents, they were only in Norwegian for this purpose.

Edit: it seems this is no longer the case; at least I can't find it on the site. But my Norwegian skills are practically non-existant.
I think 1/2 of Norway is now working from home. Only the ones having critical work (list of 15 worktypes) are entitled to kindergarten.
I think it's not a great article. I mean 'improving your passion'? Really? Yeah collecting garbage currently sucks but in ten years time I expect to look forward to collecting everyday.
Doesn't seem that odd. The public television channels of some countries also contain ads, as regulated by their specific laws.
I heard related issues called boolean blindness. You drop every bit of useful error information and leave only result/no result or true/false. Want to load a file and it fails? Access rights? Parsing Error? File doesn't exist? User interrupt? Can all be summed up as an empty Optional, completely useless for any kind of automated or manual recovery or even to decide if recovery is necessary (user interrupt).
Learn MS PowerPoint
Learn MS PowerPoint. Download the App from play store. link: https://play.google.com/store/apps/details?id=com.apps.saiinfo.learnmspowerpoint&hl=en
Yet millions of people love what Trump does. And the celebrities that pledged to leave USA if he got elected somehow didn't follow on their promises. The real problem is that the country is polarized now, and neither side will accept the result of election - any result. And who is responsible for this polarization? Democrats and their affiliated media are. They are the ones who couldn't respect Trump's presidency and preferred to destroy the social fabric to get the power back.
> Just to be clear, pricing ultimately comes down to...

Ultimately it comes down to regulations. A company's (pharma, insurance, middleman) job is to make as much money as it can in the legal framework. If you let companies do whatever they want then they'll do exactly that. Their goal is to be as greedy as legally possible.
> Maybe we should develop responses to pathogens that have the ability to wipe humanity off the galaxy.

Not a bad idea, but isn't that a near-infinite set?
Great, thanks for this contribution. So helpful this just came at the moment when I got my hands on The Linux Programming interface book, hopefully this will all help myself to contribute, thanks guys
One Year of Mergify
Woman who was treated with anti-HIV drug tests negative for coronavirus
Bradley's are he/him.
> and famously kept the lights on by selling cereal at the 2008 Republican and Democratic conventions.

Sounds like a great exaggerated story.

> I believe the actual idea for Airbnb spun out of them realizing it could help them pay their rent.

That may be, but the founders come from well to do families and I'm sure never worried about missing rent, getting evicted and being homeless.

There might be rags to riches stories out there. AirBnB ain't it. It's a riches to extreme riches story.
Combat Automated Attacks with Auth0 Signals
Arwen isn't that weird though, a quick search says it can also be of welsh origin rather than LotR geek origin.
So if we assume a similar death rate, we could use the deaths to estimate how many are actually infected in Italy?
The law about the weather service clearly states that the weather service should provide information about severe weather.

The decision isn't about what would be nice, it was a purely legalistic question whether the law gave authorization for additional free services. Which it clearly doesn't.

This decision wasn't surprising.

Edit: dislike this comment as much as you want. The commentary in legal circles in Germany was exactly this. Nothing beats HN in legal expertise in a foreign country!
With all due respect - does anyone believe the US army can deal with a pandemic? I mean you cant just shoot a huge number of weapons and kill it. That army hasn’t even been able to win wars against tribes, how can it win against a virus? I get it, there is a lot of PR surrounding it, but a pandemic is a real issue that requires science not dumb muscle. Somehow I believe the US and its army are the opposite of a solution to such an issue.
Well, this is one of the reasons why I left the Clojure community (along with the complete disregard for performance and the excessive personal branding with low effort, 101 blog posts). It really feels like a cult sometimes. They already program with the perfect language that Hickey designed for them, so why bother with anything else?
Please read carefully what I've written. I've never said that struct == class. Secondly Rop Pike wrote under tweet: `But the more important idea is the separation of concept: data and behavior are two distinct concepts in Go, not conflated into a single notion of "class".` which only proves what I presented in first comment.
Maybe/Option only eliminates the dreaded NullPointerException.

Result<T, ErrorT> is used in place of exceptions, much nicer IMHO.
Did you just compare listing illegal rental on some website to murder?
Linux is not running millions lines of code, this is a very dishonest statement!

The Linux core is very small. The millions lines are mainly drivers and support for different architecture.

You can compile a minimal Linux kernel (there is even a kernel configuration for that) and put certain drivers in user-space. Still not as small as sel4 but quite close to it's commercial siblings.
Foxconn Factories Resume Production
Gov. issues executive order allowing CA to take over hotels for Covid patients
Yeah, I don't think this is an approach we could take because laymen would try it. But as a thought experiment I don't think this is mutually exclusive with flattening the curve.

If you could guarantee a group of people would be part of the mild cold symptoms (~80%), it would be nice to have them get it, isolate and monitor, and let their bodies develop the immunity.

They would no longer be able to spread it to more vulnerable people.

It's just like a vaccine, but riskier.

But beyond all that, I now remember there's evidence the virus might be doing permanent damage.

So definitely don't do this. Even if you could quarantine for 10 weeks or whatever.
Shitty rules that don't serve people need to be broken. I want to see my property value go up, not down so some hipster developer can afford it.
This “solarpunk” reminds me the universe of Noon from brothers Strugatsky, Soviet science fiction authors (they also wrote Stalker): https://en.m.wikipedia.org/wiki/Noon_Universe , https://en.m.wikipedia.org/wiki/Noon:_22nd_Century

The books were very positive and inspiring: space exploration, communism that worked, a very interesting world to live in.

As nine_k commented, I hope they open Soviet Sci-fi with its interesting aesthetics.

Strugatsky eventually turned from optimism to more pessimistic and tragic future like in “Beetle in the Anthill” https://en.m.wikipedia.org/wiki/Beetle_in_the_Anthill
The US is an amazing place.
That also seems odd
Verilog for writing RTL is fine, especially if you use the syhthesizable subset of SystemVerilog. There used to be a bit of a religious war between VHDL and Verilog, as VHDL had some syntax that prevented certain errors, but with SV and some basic coding guidelines it's fine. While I'm sure some will still be hanging onto VHDL, I'd say most of the industry is going the SV way.
Cool idea. Here's how to do it in Linux with files:

# create the "counters"
touch {01..16}
# use multitail to show all counters in a grid, 4 columns
multitail -s 4 *

Now you can write to any of these files

echo hello > 01
echo world > 16

The result looks like this: https://i.imgur.com/yVWWMfr.png

You can also tell multitail to automatically rescan the directory and display new files

# check current directory for new files once/sec. match any file
multitail -s 4 -q 1 "*"
first discoveries were done without a sound theory, it's certainly possible :)

>authors here is that QM is dead-ending

Copenhagen is dead-ending, not QM.
It's very useful to have the actual instruction mnemonics spelled out, instead of relying on an implicit (often overloaded) definition of "+". E.g. there might be a 8-bit, 16-bit, 32-bit integer add, a 32-bit, 64-bit floating point add, a 16x8 vector integer add, etc.