skysight-inc/HackerNews huggingface dataset:
The GitHub counters are not always accurate. 97.3% (if going by C (imp+header) and Assembly) of the kernel is written in C, with the rest being written in Assembly. Everything else is config files, scripts, tests, or docs. GitHub reports C++ and Objective-C; those are just .h header files.

Update: Got to my system so I could actually look at available files accurately:

C Implementation (.c): 28269
C Header (.h): 20250
Asm (.S): 1323

Edits: Update section and removing "100% in C" and "5 sources files of assembly"
If you test 1000 people with a test which has a 1% false positive rate (lets ignore false negatives), but only one person in the 1000 is really infected you get about 11 positive tests results of which 10 are wrong.
They could also decide to buy stocks and then the entire idea becomes meaningless.
I don't know much about cigars, but I was always under the impression that cigar smokers do not inhale. Is the nicotine absorption in the mouth sufficiently efficient that smoking a cigar can make grown men nauseous?
I respectfully disagree with

>The good old email and phone is just enough

I know a lot of folks at Google and most of their (internal) communications go though email (Gmail). They absolutely hate it and understand that it's totally inadequate. They use Hangout extensively (I think it's called Meet now), but they understand that they are behind Slack or Trello as far as chat and project management goes. In order to collaborate effectively you need 1. Email 2. Videoconferencing 3. Shared workspace 4. Document management 5. CRM (if you work with clients) just to begin with. Designers need whiteboards and online proofing. Some folks need mind maps. Etc. Sorry, email and phone is not enough.
Not at all. The scenario that msla sketches is about a culture of blame, scoffing, condescension. In a context like that, Dweck's work isn't the difference between a good experience and a bad one. It's just a different stick to beat people with.
> new hires are expected to learn from overworked and not particularly interactive senior-level folks, while everyone gets their noses pushed into a grindstone by project managers.

n=1, this is my experience too.

The senior embedded engineer here is reputed by our technical management and technical clients to be a pleasure to work with.

He is, whether as a client or as a junior engineer! And while he's willing to interact, people are reluctant to speak to him because he's in (too) high demand. So we grind our projects on our own and only reach out if we can justify interrupting his work.

I think this is a great way to develop some generalist breadth, but not a great way to develop specialist expertise, like an 'apprenticeship' might.

Also, on a less technical level, not having the 'apprenticeship' means people can more easily move around to roles/circumstances that may fit them better.
Disturbing to see. We have the same issue in the US as well. Specifically some companies want NOAA/NWS to give their data to private companies who buy licenses and then the public can go to those companies (ex: AccuWeather). To me, weather (current observations or forecasts) is a public safety thing. Whether you're driving in the mountains and need an accurate forecast to make a go/no go decision or if you're a pilot and need to know freezing levels or other items. I've seen other things like aviation charts and terminal plates where private companies don't want the FAA to give it away for free, either (again: public safety - it should be free).
Where would we be without humor?

Germany
After two weeks they are immune!
Sweden is making the same decision and they explained it quite well. A quarantine means children stay home from nurseries, daycare and school. This increases the stress on the medical system because some doctors and nurses have to stay home to take care of their children.

In addition, new constellations of people gathering become likely. E.g. children from different schools may play together more in the neighborhoods, opening new pathways for the disease to spread.

So when a quarantine is not expected to help in most cases (because most people are not infected), the drawbacks easily outweigh the benefits.
Thanks for the feedback. What are you using the cameras for?
Basecamp gives staff four-day weekend to prepare for coronavirus
You can buy your stuff in China or whereever if you really want to.

And I wouldn't include any used goods sold between actual people (not the corporation people) and grandfather in any products that were first put on the market before a certain date (and make that date a few years in the future as a grace period). And maybe even progressively introduce different restrictions.

But yes, by and large it has the same effect and yes, I think that this effect is to be desired.
There is another analogy to this: Meteoblue. [1]

Maybe they can similarly spin off the weather app into a company with some kind of status that retains some of its original purpose (which I guess is supplying weather information to German nationals).

[1] https://en.wikipedia.org/wiki/Meteoblue
Automated Coronavirus Web and Phone Bots
What does the GPLv3 have to do with any of this? Copyleft-licensing software doesn't mean the original author gives up any of their own copyright privileges. How do you think dual licensing works?

> Buying software means buying the copyright and become owner of it.

No, when people use the word "buy" here, they're using it in the same way I might buy a physical book.

When I buy a book, I'm free to write in it, scan it, transcribe it, rip it in half, reglue the spine, put a dust cover on it, or resell it. I'm not free to republish it or violate the author's copyright.

When I buy a piece of software, I should be free to hotpatch the DLL, back up the product, put wrappers around it, examine it, write about it, or resell it. That doesn't mean the owner should lose their copyright. You're conflating two unrelated concepts -- the abolition of copyright and the erosion of basic consumer ownership rights that have been established for centuries.

In fact, the EU already has a right to resale for digital software. And yet, despite that consumer-friendly rule, not every piece of software in the EU is currently GPLv3 licensed.

All that people are saying is that our rights as consumers shouldn't go away just because we bought a digital book instead of a physical one.
Study finds 90% of people biased against women
The great benefit to C is that it doesn't change. You won't feel tempted to rewrite your entire project 3 years later with the newest features
This makes it really hard to guess what the PIN actually is. Win!
Suppose a test has a 1/100 false positive rate, and the true incidence of the disease over the population that you're testing is 1/1000 (that is, you expect a true positive every 1/1000 times).

In this case, every positive test you observe is around 10x more likely to be a false positive than a true positive.
> prevents passcodes with ascending or descending numbers adjacent to each other

That's just silly. Assuming it also disallows duplicates next to one another, that means that there is only 7 valid digits for position 2 through 4, aka 10 * 7 * 7 * 7 = 3730 possible combinations, less than half the search space.
> Is there something about the primitives that APL-derivitives provide that mean that more of your program can happen inside the primitives so the interpreter is doing less work?

I'm not an {APL,K,J} expert by any definition, but FWIW I think that's the "array-oriented" part of it: syntactically the operators don't specify the "rank" of their args so the interpreter is free to select the most efficient low-level semantics. Something like that.
There is implied failure of services in Spookies response. Already here in vegas, my step dad works at a bread factory as supervisor, they are seeing an increase of demand. He's had to go in several times late at night to relieve someone who was on a longer shift. He says if they lose one person they will start falling behind.

The short term consumables or raw resources are the ones that matter the most. If people stop going to work to make bread or toilet paper or refine oil it's going to put a strain on a lot of things. The oil and chemical industries are really going to be important for producing medical items like gloves, sanitizer, cleaning agents, plastic ventilators, sanitary plastic containers for equipment and needles, etc. Not to mention the effects of lower oil production and the strain and cost on shipping those things back and forth to their respective factories.

But it will have to be pretty bad before we have to worry about that I think.
"Exceptional" has no reasonable objective definition, especially not at the library level. When you try to open a file by name and it doesn't exist, is that exceptional? It depends on context. Whether something is "predictable and intentional" can even change with product evolution. It's a recipe for bikeshedding. This is a crazy criterion to try to make coding decisions by.

Different applications need different trade-offs, and not every API will be suitable for all users. Standard libraries will make decisions according to what kind of applications the language targets. Libraries making other trade-offs can be written to cater to people with other needs.

I get that some people are repeatedly encountering situations where they feel like exceptions are used in ways that reduce readability and performance, and they feel like this is a rule that could improve the situation by reducing the use of exceptions across the board, but please, apply your usual criteria of clarity, readability, and performance! If you believe that exceptions are the clearest way of expressing a certain bit of logic in your language and codebase, and that they are acceptably performant, don't get distracted from that by bottomless, ultimately insubstantial arguments about what it means to be "exceptional."

Edit: Just wanted to add that I really enjoy the more expressive type systems that make it ergonomic to use return values in a lot of situations where exceptions are otherwise the most readable choice.
That is a valid point. We will think more deeply about these. Thanks for the feedback.
Ah, that makes sense - thanks. I guess that's just for Cortex-A ARM cores? I was hoping to try a lean language like this on a fast micro like the new Teensy boards, but I suppose those kinds of chips probably aren't used very much in their target applications like HFT.

I do wish that people would stop using "IoT" to mean "sending tons of data to the cloud", but I guess that's how the buzzword crumbles.
The platform offers that, though the price premium for a flexible cancellation is not high enough to make me want to use that pricing policy.
"Penicillin is created by a bacteria" - I think Penicillin is made by a fungus.
AFAIK, that wasn't the case with SARS.
United Kingdom to introduce security labelling on connected devices
Anything can be used for politics. But I've met Cockburn a few times. Ditto Fowler and Evans, all of whom have related work in software architecture. They are all people sincerely trying to figure out better ways to build software.

By the way, making spurious accusations is very much a political technique. So bravo you.
Coronavirus facts: is there a cure and what is the mortality rate of the virus?
Sorry to hear that. I wish the insight you have could spread further (what a sorrowful irony) but it seems wisdom is rarely won without painful experience, the blasé attitude of some is not helping right now.

I hope you get better soon.
Would I be correct with the following:

If the false positive rate is higher than the expected rate of disease in a given community, then the majority of positive tests will be false positives.

Does this relate to COVID in any way? Since the rates among affected communities seem to be growing rapidly. Would appreciate your thoughts.
Depends what happens. Come back and ask us when what ever happens has happened.
It's famous in the roguelike world but I dislike that it is practically pretty much impossible to win without spoilers [0] (which means you have to read about it in wikis and co. to find a strategy that works).

[0 I know there are some people who managed to ascend (win) without reading up, but they are probably in the < 0.01% so it's definitely not the norm.
They are smaller pools in the neighborhood, than in a school. Slowing down the infection rate is the whole game right now. Closing schools is a huge step toward that.

It seems strange a hospital cannot respond to daycare needs in their own population in a situation like this...
Dark – A language built for deployless back ends
The bank bailout was purely about liquidity. Over the long term the banks are going to repay the loans. Student loans are a long term problem. The only way you could fix it is by sending students back to college and force them to get a profitable STEM degree.
I try to use 10
why would an asymptomatic person be in an hospital? Even people with minor symptoms are asked to self quarantine at home pretty much everywhere.
Turns out that even extremely intelligent people believe obviously stupid things. Believing that we're immune to it is a trap that many in this industry fall into.

The number of times I've heard colleagues argue for things that are ignorant, illegal or unethical in my career is too many to count at this point.
> Penicillin is created by a bacteria

Mold, no?
"Really keeping things secure" has a lot of definitions. If your threat model is some guy on the other half of the planet half-heartedly trying out leaked passwords, 2FA is great. If your threat model is someone local specifically targeting you, 2FA kinda sucks, while a good password might do the trick. If your threat model is you getting abducted and hit with a wrench, then you should probably make some sort of shared key with multiple people where you need x% of all parts + invest if physical security.
Can you explain more about this? I've seen a few startups now pitching depth-of-field innovations for biometric use.

For example http://www.infinityoptics.com.sg/who-we-are/

Not sure if this is a bit too directly commercial for HN, asking re: optics not the whole solution.

Assuming a celllphone-ish sensor in terms of scale and cost (assuming lenses are free) how well can one do in theory? Particularly for iris?

How feasible is it to have iris scanners we don't need to shove our faces into?
Idk how well-known this is, but Java 4 was actually Java 1.4. At Java 5, they dropped the "one point" marketing, but still called it 1.5 to devs. I'm not sure how this was resolved, or if there will ever be a Java 2.x (I doubt there will).
Yeah, I pointed out in my bug report for this that the policy progressively penalizes longer passcodes because it gets harder and harder for a randomly selected one to be valid as passcode length increases. I doubt it got much attention paid to it, though, so out of spite I carried around the pattern code until I left.
Can someone clarify which type of test they analyzed? 80% seems way too high. I would expect something closer to 10% at most (which would still mean the probability of a true positive might be very low per Bayes' theorem)
Definitely. Good ol’ email is really for amateurs at this point. If you want to do remote right, get with it, your vpn has to be rock solid, your team has to be attuned to explaining ideas via conferencing, you better like Slack-type tools, you better be ready to respond to communication speedily (within reason), good ol’ email isn’t a serious solution.

This space has a ton of room for creativity to make it seamless (for those of you wondering if your dog walking app in cloud needs kubernetes, better shit to think about).
I've been wondering if an antiviral will help in this.
Seems like a pretty good deal right now. Our economic system has structural pathologies that make it extremely difficult to meaningfully organize whole populations.
South Korea experts recommend anti-HIV, anti-malaria drugs for COVID-19 [1]

Mentioned:

Kaletra, an anti-HIV medication that includes the drugs lopinavir and ritonavir.

Hydroxychloroquine, sold under the brand name Plaquenil.

[1] https://www.upi.com/Top_News/World-News/2020/03/12/South-Kor...
Thanks for the feedback. Our cameras have local storage but we do the inference on the cloud. Our main value prop is more powerful event detection features beyond what Nest is offering (Ring is not really offering any as of now.) and at a significantly lower price...
The vulnerabilities that opened iCloud to these attacks were due to its iPhone integration (restoring device from backup to be more specific). It also allowed the attacker to bypass 2FA (probably in the name of user experience).
If you're doing reliability engineering for any type of service running on Linux servers, being well-versed in the kernel is a great power that separates you from others.
For non-hams, "high frequncy" here refers to the "HF" band of roughly 3-30MHz.

Or, as anyone else might call it, low frequency.

Afaik, it didn't work at whatever it was trying to do, which IIIRC had something to do with submarines.
But that is a false claim. It's not about being EAFP or LBYL: if the open API returns a handle to file or null, the open operation can still be atomic and therefore race-free.

Which is exactly how it's in all the programing languages and operating system calls which don't use exceptions for that.

It's just the question if one has to write try-catch for something as common as file not existing.
If a std::vector is causing performance problems there is some major disconnect between how it is being used and how it is meant to be used.

Someone else noted that debug more will stifle performance, which is true and the most likely culprit.

Other problems can include constant resizing and memory allocation and copying, but when something is 1/100th the speed it should be, that screams debug mode being left on, which will do bounds checking on every access.
Bootstrapping a user feedback SaaS to 2k MRR
Thanks for sharing. Sounds pretty cool. We will look into it!
That's just Lego
This is such a hilarious bad study that I'm surprised anyone could link to it seriously. The theft rate of ethics books are stolen from "top academic libraries" is supposed to reflect on the overall effectiveness of ethical education? Sorry, but this is an abuse of the term "scientific study."
Got it. Thanks! I have a masters in public health and still need to get schooled by hacker news! Haha
Popular iPhone and iPad apps are snooping on data copied to the clipboard
The hackers could bypass 2FA, see my other comment.

It was silently fixed by apple once the story hit the mainstream news.
No. You seem to be unfamiliar with the idea that "a rising tide lifts all boats". You're assuming that acting what appear to be your best short-term interests will equate to a better outcome in the long term, which is usually not the case.

For instance, should you vote to abolish police and courts, so you don't have to pay taxes for them? In the short term, that would net you more money. In the long term, it would mean you'll be living in a lawless wasteland and someone will rob and murder you.
I find `undefined` better than `null`.
Either a user has contact information, or the contact information are undefined (and not null). How do you model that?
Decentralized Microgridding (2018)
Looks like the NIH started a clinical trial of it as a potential treatment for COVID-19 a couple weeks ago: https://www.nih.gov/news-events/news-releases/nih-clinical-t...

There's also ongoing clinical trials of the drug in China.
This is just a form of the base rate fallacy, correct?

https://en.wikipedia.org/wiki/Base_rate_fallacy
That mindset is a bit self-defeating, isn't it? I wonder if people thought we would have public schooling in the country 150 years ago, or that blacks could go to school with whites 100 years ago. Or that Germany would be the largest economy in Europe as a democratic republic, 70 years ago.

Things take time.
I saw this and thought it might be something my company could use so I contacted them for info.

The CEO Simon Mahony basically told me to piss off when I told him I thought the site was misleading since there was no product or service to directly purchase. They make custom developed software that you must pay their consultants to integrate. I would not do business with such a company that acts so unprofessionally even if they have a decent team.
That is a great suggestion and is indeed our plan even though we are also offering our cameras now :) Thanks!
This is hard in general for most pictures because they tend to have sections that are too “dense” to sustain life, which thus do not arise naturally. And even when the density is correct, having that many cells close together is a surefire way to get chaos.
Sorry, but this is just not the case. The mediathek apps are still rather useful, which have their live broadcasts and also an archive of their content. Most stuff, except for live TV such as football (soccer) games, I almost always watch on demand in their mediathek.

I regularly use tagesschau.de, I regularly listen to their radio stations, via apps.

I personally think the ARD/ZDF are important to have, and also keep the commercial players on their feet a little. And provide a lot of programming, like documentaries and information shows that are good to have but that commercial players wouldn't touch (or if e.g. RTL did their own versions, I would dread the outcome).

I also think the GEZ fees are a little too high, and they waste a ton of money in their bureaucracy. I'd rather have the BBC (which Boris wants to dismantle) than the ARD/ZDF, but this is the next best thing.
Someone else mentioned this and I agree wholeheartedly. I think unless you have a physical addiction to something, you just need to discard it and "forget" about it.

For drinking, I think the new Heineken 0.0 is a game changer. You can go out to a bar and hold one and drink, get the placebo effect.
People always forget that the bank bailout is ultimately about people protecting their own bank accounts. If you dislike the incompetent banks then take your business to a bank you trust.
During the last EU parliament elections, 28.4% people voted (in my country of 10 million). These 28.4% have chosen 21 representatives into a parliament of 736, which means 2.85% of all seats.

I think it's clear why this tells us nothing about what the society here wants. It might be said that the EU was the voice of the nations before they removed the unilateral agreement requirement, but not today.

Nobody here (parties, the representatives) is even talking about the right to repair, how can you be so sure the society here wants it?
Are you confused or am I misreading your comment? The result is that 80% of positives are false positives, not that 80% of all tests are false positives. (IMO it is still fishy.)
If you're currently licensing the software on your phone instead of buying a copy of it, then the situation today isn't really better.

You pay the full cost of the device, but you don't own it, and companies retain the exclusive right for repair/replacement. But, they don't have any onus for repair/replacement, and you need to pay full price for a new device if your current one gets damaged.

An honest rental system might be preferable. At least then people would know what they're getting into. At least when I rent a device, there's some real obligation for the actual owner to fix it when it breaks. At least then companies who legitimately sell their devices and don't block repair efforts would have a marketing edge.

By all means, let people rent software. Just make sure companies are correctly marketing that as a rental.
It was a detection system, but it operated on frequencies that already in use by shortwave broadcast stations (much more prevalent then than now), amateur radio operators, etc and interfered with them.

You can get more details on how it and similar systems work at https://en.m.wikipedia.org/wiki/Over-the-horizon_radar