skysight-inc/HackerNews huggingface dataset:
I'll wait to see the result at the end of the competition.

This is just one of the two competitions for m5. The other one is uncertainty.
Indian Railways converts coach into Covid-19 isolation ward
Ask HN: Has Covid-19 helped your business?
Although huge swaths of the economy have been severely damaged by the COVID-19 pandemic and accompanying shutdowns, some sectors (ahem, Zoom...) are benefiting.

What are the sectors that are benefiting, and if you run a startup whose business is increasing, what are you doing to (1) make the most of the opportunity but also (2) not be predatory in a time of need?
I tend to see this type of issue with people who are not focused on any one particular thing. It’s almost like a fear of commitment. You are 80% of the way to being a developer. Take the time to understand algorithms and data structures. Commit to it. On the other side of that commitment is the confidence to apply for the types of jobs that you want, not just the ones that appear before you.

This isn’t a “pull yourself up by the bootstraps” pep talk. This is an appeal to you to achieve your potential.
Telegram Bot for Coronavirus Updates
I created simple bot to check coronavirus numbers updates.
Next commands supported:

/status - get current amount of infected people

/status [country] - get current amount of infected people in country

/top [number] - get top [number] infected countries.

/subscribe [number] - bot will send to you message when [number] of cases will be reached.

This was just pure fun with using telegram-bot-api and node.js to setup server and get notifications.
Initially I was thinking to write bot to get updates about oculus game discounts, but than understood that it is to difficult, because I have never touched all these technologies (I am Android developer).

If you want to check bot:

https://t.me/coronavirusstatus_bot

If you want to check sources:

https://github.com/Nublo/coronavirusbot
I think until relatively recently minidisc recorders were a standard piece of kit for radio sound engineers.
Have you never heard of deanonymization? In many cases you most certainly can. https://arxiv.org/pdf/1902.09897.pdf
That's such a fucked up cycle.
How plan 9(front) does it:
http://man.postnix.pw/9front/3/pipe
https://raw.githubusercontent.com/9front/9front-test/master/...

It's a kernel level file server.
I was never an expert in video and during 2008 my company went down. The only position I found after a while was doing C#/.NET. Outside Silicon Valley there are not too many hardcore dev roles anyway and in addition I feel a lot of that work is done in Asia now.
>All pieces move and capture the same as in standard chess

so pawns have to capture diagonally still... I guess if you want to see 4 as an exception to that then they can capture straight ahead, but I'm assuming it isn't.
The simplest way to achieve happines is: have a half of your brain surgically removed. The stupider you are, the happier you become, because happiness is basically the ability to ignore reality.
I never could figure out (2000's-era) Cray. Their office was in my neighborhood and a friend-of-a-friend worked there and it sounded like interesting work, so I checked out their jobs page. Almost all of the jobs were sales, and their most junior engineering position required something like 10-15 years HPC experience.

I've seen successful niche technical industries (Fluke comes to mind), and Cray didn't even look like a niche industry. It looked like a dying one.
If that is the case then his approach has false negatives, because a function that is never called cannot introduce memory unsafety but would incorrectly be flagged as unsafe
With 5nm coming soon, I think this is inevitable. It's now possible to put 127M transistors in a single square millimetre, but despite billions of transistors in a CPU, total performance is not hundreds of thousands of times greater than primitive CPUs from decades ago.

It would cost next to nothing in terms of chip area to have a simple "controller" CPU in each DRAM chip that can issue vector instructions without needing to have its hand held.

The problem is the instruction set: where do you stop? Do you just have simple logic operations, or a full set of floating point operations? Do you have flow control? Stacks? Etc...

Code would either have to be written in the "full featured" language as well as a cut-down language similar to CUDA, or the embedded little chips would have to be full CPUs.

The other issue is cache coherence. It's possible to have designs where either the little DRAM CPUs participate or they don't. Both have big advantages and big disadvantages, and neither is easy.

I suspect that this is going to start turning up in GPUs before CPUs, or possibly for HPC applications before general purpose computers.
I'm very confused how anyone can claim nuclear plants don't emit radiation...
If you have LOS to GOOG headquarters, you probably have LOS to someone with fast internet. You can set up plug-and-play directional internet bridge over several km for a couple hundred USD, and split their internet bill with them. Yeah there's a lot of hurdles, but if you don't have another option might be worth looking in to.
Was it also a risky precedent to have the Nuremberg trials? to have Germany compensate the victims of the Holocaust?

UK should compensate its victims too, as should The Netherlands, as should France, as should Belgium, as should Japan, as should former-USSR, as should USA.

Justice must be blind.
Candor: Layoff and Hiring Freeze Tracking
In the last 3 years you lost all gains that would make you immune to any recession.
Alpine is far from a desktop distro
This short post doesn't talk about a lot of things that are happening like wayland to address X security issues or flatpak for sandoxing. The way it's written looks more like marketing than anything else...
If you want to build your own hardened apps and kernel, you can look into Gentoo
Huge survivor bias, nobody would pot here if there wasn't a crash
Same here. For God's sake. I am more worried about getting diabetes than coronavirus. :p
Yep. There's a lot of methane trapped in coal seams, depending on the type of coal. The old miner's name for it is firedamp, and it killed or injured quite a few miners prior to modern equipment and safety measures. There's been a bit of a push to extract and use it in the US over the last few decades, but I think China pretty much just vents it to the atmosphere.
Thanks, I'll check those out
Show HN: A web service for converting markdown to PDF
I understand there are hurdles due to legacy, language, low level etc.
But if 1 or 2% of a huge code base is easily testable, shouldn’t it be? At least if/when regressions are found in functionality that can be easily testable (pure functions etc) it would seem prudent to add regression tests to prevent the thing from happening again. Even in a 30 year old C code base.
I've been dirt poor for years. I'm a freelance writer by trade. I like writing. I've always wanted to be a writer. I hate being poor, of course.

I've been told for years to "go get a real job." I'm medically handicapped. For that and other reasons I can't readily "just go get a real job."

The fact that you hate the working conditions and pay doesn't mean you inherently hate the work. There are people who garden as a relaxing and enjoyable hobby.

The assumption that all poorly paid people hate their work and all well paid people enjoy their work sounds like classist prejudice to me.

I knew someone (a programmer, in fact) who made good money, got fed up with the job and they we're told by someone close to them "You can't just up and quit. A job at Home Depot wouldn't even cover your car payment."

I've also seen stuff on the internet from people who are miserable, desperately want to change jobs and feel stuck because they make good money and can't readily walk away from their good income. They have family to support or college loans to pay or whatever.

What you find is that even people who are overall happy will bitch about their job or whatever, if only because it's a socially acceptable bonding ritual. Bragging to the miserable people around you about how everything in your life works wonderfully well all the time is a good way to get everyone to hate you.

There are real quality of life issues for low paid work, farm labor work, etc. But there are farm laborers who live in Mexico and work the fields in the US because they like living in Mexico, they have no desire to move to America and it pays ten times better than jobs in their town.

Not all of these people feel exploited or victimized. Exploitation isn't a good thing in any job, but it's not somehow the inherently part of doing physical labor and inherently not part of the picture for jobs with better public perception.
Everybody Can Make DeepFakes Now [video]
Who told you that autoimmunity is a risk factor for covid-19? Maybe you are confused with immunosupression but they are two opposites.
There is no intellectual curiosity in climate change denial. Don't editorialise.
It would be good to add information explaining why. Empty dismissals don't contribute much, whereas if you make a substantive case, readers can learn.
If quarantine measures are lifted, it means that Corona is out so why would the government want to track tourists more?
Which is not unthinkable since everywhere new laws are passed now
This is a 3-watt handheld - the power may be too low.

https://www.amazon.com/Foldable-Travel-Household-Wardrobe-To...
In coronavirus-hit France the doctor will see you now – virtually
I wrote to the Denver Post once, and the editor replied "We don't write the articles." It was a local story, but written by the paper's owning entity, for publication in all of its owned papers, including the Post where the incident happened. I guess sort of like an in-house news wire "service."

They do obviously write some of the articles that appear in their paper.
Please stop making accounts to break the site guidelines with.

https://news.ycombinator.com/newsguidelines.html
Germany plans mass study to track immunity to coronavirus – The Local
Rust has operator overloading,

https://doc.rust-lang.org/rust-by-example/trait/ops.html
Not really. It was an open spec, but controlled solely by Adobe.

> Flash was designed, as its very first use case, for touch screen kiosks. So a lie.

Bullshit. It was originally release By FutureWorks(?) as a vector tool to run on PenPointOS - that failed, so they pivoted to use the core as an animation tool for the web. Macromedia bought it added extra functionality, including ‘actions’. Adobe acquired Macromedia, and Flash, in 2006 (if memory serves correct). I remember them stopping development of, the vastly superior to Illustrator (IMHO), Freehand. They release Flex, which you may be confusing with Flash as it was based on it, as a platform for enterprise apps. If there was any kiosk targeted features, they were very definitely and after thought. So no, not lies.

Lastly performance. Annecdata. It ground my laptop to a halt and my desktop sounded like a jet engine taking off. I used quite heavy 3D and cad programs at the time, and even they did hog resources like Flash did. Admittedly, total annecdata. But enough people at the time saw fit to complain about it.
1 is a Chinese statement, who are just re-reporting...
I think you are focusing onthe wrong metric. Suicides are generally done by younger people more than they die of flu/covid.

The years of life comparison probably is more in favorable to suicide.
Why do you think the media focuses on acknowledging on this and not the official US policy of support of a monarchy like Saudi Arabia?
How about the JS "strict mode" model, that went pretty well? Default C++ is sloppy mode, new code can be strict via opt-in.
Employee Retention Strategies for Keeping Your Top Talent
As a counterexample, authoritarian regimes in countries with private ISPs have cut off or filtered internet access by fiat. A private ISP isn't magically exempt from government demands. I believe Turkey is a recent example of this.

Iran is a particularly good one. (https://en.wikipedia.org/wiki/Internet_censorship_in_Iran)

> Every ISP must be approved by both the Telecommunication Company of Iran (TCI) and the Ministry of Culture and Islamic Guidance, and must implement content-control software for websites and e-mail.

More competition in physical last mile infrastructure just isn't feasible given the costs. A single physical provider (ie fiber as a utility) with legislated common access (ie ISP competition) has worked out quite well for the rest of the western world.
Is there any simple way to speed up / increase chances of germination (of tomatoes, beans, peas, lentils, pumpkins)? E.g. by covering the soil (where the seeds are) with paper / plastic / cloth (as a makeshift greenhouse, to increase temperature and/or humidity), or something similar?
There was a recent Planet Money episode[1] about this.

[1]: https://www.npr.org/2020/03/25/821593542/episode-984-food-an...
> I believe it's called Rust :)

Yes, but no.

When people design a language which they know is going to be incompatible, they tend to go all the way with it. If we're breaking it anyway then might as well do a better standard library interface than the stuff designed in the 90s and all that sort of thing, right? And that's good to have for new projects.

But there is a benefit in having something which makes the smallest possible compatibility-breaking change to fix the defect in the original. So you have a "new language" with a borrow checker, but the standard library functions all have the same names and the same purpose and time complexity as the C and C++ ones, which would allow people to run the existing code through a transpiler which for 80% of the lines can be translated directly to working code in the new language, and produces diagnostic errors for the other 20% that explain what needs to be changed.

Which removes 80% of the work from transitioning an existing codebase to the new language. And then more people do that.
The truly diabolical twist is a nefarious virus mutation in the pet strain, for a 2nd deadly wave after general societal fatigue.
What Walter meant in his comment was that his static analyzer has no false positives (it never allows a memory unsafe program to compile). He's provided a few simpler examples in this thread of cases where his analyzer produces false negatives. I knew that was going to be the case because no program can flag 100% of negatives without also flagging a few positives by accident (as a consequence of Rice's theorem). I just meant to demonstrate that, but I don't know anything about D so I wanted to pick something that I was certain his analyzer would fail one way or the other.

That doesn't mean that his analyzer isn't useful. I find rust extremely useful because it catches almost me whenever I accidentally write memory unsafe code without burdening me too much otherwise. But almost every rust coder has run into a case where they wrote some code that was safe, but not allowed. That's just a fact of life and it serves no one to make incorrect claims about one's software
Disclaimer: I'm the author of Grapl[0], which aims to do what you're talking about. Normally I don't really comment on the product on HN, but you're describing Grapl's raison d'être.

So, audit is one subsystem people use. ebpf is another.

OSQuery[1] is a tool that'll make it pretty easy to hook into audit and collect things like process executions.

Once you have instrumentation you want to start writing those rules. This is where systems like ElasticSearch, Splunk, or in the case of my product, Grapl, come in.

What Grapl makes particularly easy, and what other systems make quite hard, is the type of detection you're talking about - process tree analysis, or generally any kind of analysis that spans many events/ entities. This is because Grapl will take the instrumentation output and generate a graph, which makes joins across the data quite efficient, and it exposes the graph via Python, so you can express pretty arbitrary logic. Other systems make joins quite painful and slow[2][3]

Grapl's not at the point where a power user could just get it up and running - though it will be very soon. I've written detection logic very much like what you're describing though[4].

Linux is actually doing fairly well here, in my opinion. OSX was probably the worst, but the ESF will change this. Windows, with Sysmon, is still probably the simplest and best solution for instrumentation (though ETW is pretty strong too).

[0]https://github.com/insanitybit/grapl
[1]https://osquery.readthedocs.io/en/stable/

[2]https://docs.splunk.com/Documentation/Splunk/8.0.2/SearchTut...
(ctrl + f 'In large production environments, it is possible that the subsearch in this example will timeout before it completes.')

[3]https://www.elastic.co/guide/en/elasticsearch/reference/curr...

[4] https://github.com/insanitybit/grapl-analyzers/blob/master/a... , https://github.com/insanitybit/grapl-analyzers/blob/master/a...
This is also why C++ (and hopefully other languages by now) has the short string optimization. On a 64-bit machine, a pointer to a heap-allocated buffer is 8 bytes long. A stupidly large number of the strings used by actual programs are <= 7 bytes long (it's actually more like 20 in C++, because strings also include a length and capacity). Think about it: that's virtually every file extension, path separator, and field delimiter, and a good number of field names, labels, first & last names, usernames, identifiers, URL path components, parameter names, etc. If you can fit the whole string into an immediate value, then you can avoid the heap allocation and deallocation entirely, you can avoid chasing pointers and incurring a cache miss, and you can very significantly reduce the total amount of memory used.

This is also a good reason why, if you're designing a standard library, you really want to have length-prefixed strings instead of null-terminated ones. If you know the length of the strings you're dealing with, you can swap out the algorithm you use, such that you might use brute force for a very small needle, word comparisons if it's exactly 4 bytes long, SSE instructions if it's a word-length multiple, or Boyer-Moore for very long strings.
How does this square with Microsoft removing or deprecating exFAT support from Windows [0]? Isn't the whole point to have a file system with cross-platform support? I mean, is Microsoft being nefarious by allowing exFAT to come to Linux while at the same time beginning to drop support in Windows? Or am I reading too much into this?

[0]: I came across the comment below yesterday and was able to verify that any mention of exFAT has been removed from the official "diskpart" documentation.

> Well it appears that Windows 10 support for exFAT has been dropped in a recent update. The option no longer appears in the drive format dialog, nor does it appear in the diskpart utility. Any mention of exFAT has been expunged from the official diskpart documentation making me believe that Microsoft has officially terminated support for it, even so I cannot find any official announcements or confirmations of that. source - https://superuser.com/a/1420186
I have a really hard time seeing how this isn't just an Intel + SuperMicro sponsored shitpost. There's nary a mention of pricing, CPU specs, or anything else that might really help determine "for the rest of us."

Unless Intel is cutting the consumer a deal here (fat chance), I think it's safe to say this is some paid shilling.
Could you please not post in the flamewar style to HN? It's not what this site is for, and if you'll read https://news.ycombinator.com/newsguidelines.html and https://news.ycombinator.com/newswelcome.html, you'll see that we're actively trying for a different sort of discussion.
> Agriculture has been on shutdown for the past 2.5 months.

Can you explain that in more relevant terms? AFAIK agriculture has been shut down in the US for the past 2.5 months as well (actually more like past 5-6 months), simply because it's not the growing season.

What are the different growing seasons in China, for different kinds of crops?
Heat and consistent moisture. I keep some of my seedlings under grow lights in my furnace room beside my servers. Plastic seed trays with clear tops are excellent to reduce evaporation.

Electric heat mats are awesome to stick under seed trays in the sprouting stage.

In my experience, heat is the most significant accelerator for germination. You also want very loose and light soil to help the seeds poke out as easily as possible. "Seed starter" mix is ideal, see my other comment in this subthread for more on that.
The only reason people are unemployed is that they are confined in their homes.

Once they can head to the countryside to pick strawberries, chances are they can just head back to their regular job too.
This story goes to pains to explain how the actual events might have unfolded. But in France at the time, I cannot imagine that mattered one whit. What mattered was, who had who's favor in court, who had leverage upon the judges, and who paid more or less for advantages.

To discuss this woman's claims at this date is silly. Its not about that at all.
I run an edtech startup, and there's definitely a sense that companies in this industry will benefit from the school shutdowns because it forces schools to adopt tech-focused tools to do many of the things they previously did in an analog way.

With the shutdowns, I saw dramatically increased interest in my startup's tech, [1] which makes reading on screen easier and more cognitively efficient. I've heard from hundreds of teachers, parents, and students interested in using our tools because of the forced remote learning situation.

Almost two weeks ago, I decided to offer our popular Chrome extension for free to any student or teacher. We've had requests come in from all over — from Berkeley to Burkina Faso, and it's been awesome to hear from so many people who find the tech helpful.

I'm sure the percent of schools that will purchase a license at the end of the free period will be small (school purchasing/procurement is very slow), but hopefully we'll be able to figure out a way to establish continuity for the students who are using the tools and benefiting from it.

1: https://www.beelinereader.com/education
You mean, exactly like D?
D, .NET and COM/UWP.
> I purchased a whole-home UV-C water unit.

Got a link for the system you use?
I don't think I'm going to convince you, but let me try one
more time :)

> One day your rack will fail and your software will need to deal with it gracefully enough. IMO solve it at the application level don’t make the network try to do it for you.

I agree, the rack is going to fail, and you have to be able to handle it. It's a question of what the consequences are, and how often you have them.

Without a radically atypical socket setup, you're going to at least lose the state of clients connected to hosts in the rack that fails. That will, at least, cause significant communication delays while the connection loss is determined. Probably your clients are well behaved and will reconnect and retry their requests. Most requests will be retried in a timely fashion, but some of your clients are going to have an independent network failure around the same time, and their requests are going to suffer a major delay (I'm mobile oriented, so I'm trying to send a message before I go into the dead zone, etc).

Like you said, it's going to happen sometimes anyway. Redundant networks and redundant power only mitigate outages, they don't eliminate them, and there's always room for human error. But, I would pay several times the cost of the network to be able to have a significantly reduced frequency of outages.
To follow in the footsteps of the Ethernet situation the new c++ would have to be better enough to make people switch, which I think is unlikely given the number of programs written in the current c++