skysight-inc/HackerNews huggingface dataset:
Sounds like insufficient testing to me. This kind of deep/far reaching issue should have been crashing tests written before others would have seen it.

Assuming that there is some testing in their work (if not; there's the answer), my guess would be that it's largely sanity testing of each functionality in a vaccuum. The coaching would probably be to demonstrate more integration-style testing, possibly using whatever tests caught system-level issues that the dev has pushed in the past.
I think equating ugly with hard-to-read is a common mistake. Many things are "ugly" but easy to read (e.g. in design circles, newbies often do far-too-small fonts with low contrast because it looks pretty, whereas accessibility guidelines tell you to do the opposite; in programming, readability of point-free style has more to do with the reader's ML-vs-Algol experience than how elegant FP may be, and educators often start w/ procedural style precisely because reading the flow of the program matches the students' expectations that things ought to be read top to bottom, rather than peeled through layers of abstractions)

Honestly, I find that rating the readability of the object versions vs the switch statement is bikeshedding. This is perfectly readable and doesn't involve going back and forth with my eyes to figure out the data flow or figure out if I have mismatched brackets or what have you:

const getPosition = position => {
switch (position) {
case 'first':
case 'second':
case 'third':
return position;
default:
return 'infinite';
}
}

Another thing that is worth mentioning is that objects consume memory and allocating memory in JS for this is just wasting orders of magnitudes more cycles and sacrificing throughput for no good reason - other than to try to be clever and avoid an idiomatic and optimizable construct.
Yes, but at circa 2016 you cannot get higher tier of security on your personal device. You have to use a Google issued phone to get that.
It's not for lack of prescience. Lou Montulli (the guy who created cookies) realized that third-party cookies were being used for tracking and advertising early on and made the decision to not to break them. I think his reasoning [1] has stood up well too.

[1] https://web.archive.org/web/20170421064522/http://www.montul...
I appreciate the update.

Putting my "tech lead evaluating tools" hat on, I like the idea of a single-file binary that can be easily deployed. That said, seeing that the last commit was 2 years ago isn't encouraging :( Given that I'll likely be seriously evaluating potential approaches for our system design within the next 2-3 months, it doesn't look like Ruma would be a viable option for our situation.
I like early returns as well, especially in short functions where there is not a lot of code between returns. In other words if I can see all returns in a function on one screen of text then I'm OK with it and I think it improves readability.

On the other hand if I have to scroll up and down a lot to see all return paths then that's a problem. But I generally find the problem is that the function is too long/does too much and should be broken down into smaller pieces.
They happen less in the UK.
"No country on earth with single payer or other universal coverage has anywhere near the number of citizens nor geographic or social diversity as the US"

Why is this relevant?

The UK for example has a population of 60+ million (v US's 300+ million), if that figure doubled or halved, I don't think that would fundamentally change how the NHS operates. Just like it doesn't fundamentally change how it operates in central London or the Scottish highlands.
My personal use case does not evolve around the metadata that is usually present in the file itself. I'm aware that this exists and that Plex pulls information from there too (see the footnote[1] in the section about Plex). I don't think it makes sense to try and mirror all the metadata in the file metadata, but in the spirit of being configurable and for portability reasons it would make sense.

I planned for adding a provider that would read certain metadata from the file (just like any other tool) as well as possibly also pushing edits back if wanted. Not sure when I get around to that.

[1]: https://github.com/kumpelblase2/vima/#what-is-the-problem-wi...
What would make the most sense is to open-source it all. The trouble is that that takes a non-trivial amount of time.
>the other side being how many people in the world are saved by the responsible use of guns

This is thoroughly refuted by the evidence:

https://www.vox.com/2015/10/1/18000520/gun-risk-death

>Guns can kill you in three ways: homicide, suicide, and by accident. Owning a gun or having one readily accessible makes all three more likely. One meta-analysis ”found strong evidence for increased odds of suicide among persons with access to firearms compared with those without access and moderate evidence for an attenuated increased odds of homicide victimization when persons with and without access to firearms were compared.” The latter finding is stronger for women, a reminder that guns are also a risk factor for domestic violence.

https://www.kqed.org/science/1916209/does-gun-ownership-real...

>There's been research showing that if you keep a gun in your home, that doesn't actually reduce your risk of gun violence. It actually makes you more likely to be a victim of crime or homicide or suicide.

https://www.vox.com/policy-and-politics/2018/3/23/17155596/g...

>Individually, several studies have found that the presence of a gun in a home elevates the risk of death. A 2014 review of the research published in the Annals of Internal Medicine, for instance, found that access to firearms was associated with a doubled risk for homicide and a tripled risk for suicide. A 2017 piece by Melinda Wenner Moyer in Scientific American also ran through the evidence, concluding that gun ownership was associated with a higher risk of homicide, suicide, and accidental shootings.

>People often think that guns will potentially protect them from a home invader. But these kinds of events are relatively rare (and even then, the presence of a firearm can make it more likely that such a situation will escalate into deadly violence) — while the chances that a gun could be used to fatal ends in a domestic dispute, suicide, or accidental shooting are much higher, as the research on individual risk demonstrates.

https://www.scientificamerican.com/article/more-guns-do-not-...

>But about 30 careful studies show more guns are linked to more crimes: murders, rapes, and others. Far less research shows that guns help.
The night it all ended. For a few years you couldn't get into any restaurant SF North Beach on the weekend without reserving days or even weeks in advance. Then one Saturday night my wife and I were walking around looking for a place to eat and realized every restaurant we looked at had tables available.

(I think it was in February 2001.)
You're probably right but this is indicative of our increasing distrust of Facebook. They lie all the time about what they're doing with our data. So can we as developers trust them any more than the average user given their demonstrable willingness to abuse that trust? I personally think not.
For maximum effect, organize. Amazon. Google. Netflix. Apple. All boycotting and IP blocking the District.

Cue cries of corporations becoming more powerful than governments.
Hey everyone, OP here. Let me know if you have any questions or feedback. It's an early MVP, but I wanted to get some more people trying it to see how well it works for real repositories.
Back at my old job we had a big spreadsheet for tracking all the in progress code migrations (such as moving from Angular to React) which we would update manually by running grep commands, etc. to find the number of remaining instances. I thought there might be some demand for a product solution.

Right now it updates once an hour and uses the Github API for searching. The next step to make it much more powerful is to build an engine that clones the repo and allows the user to run arbitrary grep or other commands, and run it as a Github hook when new code is merged. This would also allow us to build historical graphs by checking out previous commits.
This seems clearly true for applications related to censorship resistance and certain properties of money and financial systems (if you explicitly don't want a government to make certain decisions in the systems), but maybe not for many other applications.

For example, is it likely that people don't trust Louis Vuitton to decide whether Louis Vuitton handbags are genuine? Isn't that the definition of a Louis Vuitton handbag being genuine?

In most cases where an institution is empowered to make a decision of some sort, the risk that they will later change their mind arbitrarily doesn't seem to loom very large. (I'd agree that it's great to have mechanisms for detecting this, although regular digital signatures and Merkle trees may suffice.)
Well, in my example, the surrounding function is instantly invoked once and cannot be invoked again. It's merely a useful pattern to avoid polluting the top-level with extraction.
Well you might be wrong, the land will now be redeveloped for condos 1,000 total.

"
Patchett did toss out a scrap of news about what’s next for Long Island City. He said city land that had been slated for the tech giant’s corporate towers will instead become a mix of homes and businesses. That, after all, had been the original plan before New York decided to drop it and go a-courtin’ for the company. The new-old project will consist of a thousand residential units—two hundred and fifty of which will be affordable. The neighborhood will also gain 100,000 square feet of light manufacturing and industrial space, ground floor retail, a cultural center, a 600-seat middle school, and a one-acre park."

http://gothamist.com/2019/02/22/amazon_blame_game_patchett.p...
I've found Spectre to be relatively palatable.

https://picturepan2.github.io/spectre/index.html
A Story of Fixing a Memory Leak in MiniDumper
I sit corrected. Thanks. None the less, don't cha think we need more than on such entity to declare "victory"?
Totally agree. Either put in regulations or mobile OSes move away from device IDs for tracking to something more transient - which makes it very difficult for FB and Goog to ID users accurately.
"In late fall, an anonymous threat of school violence is shared on social media. It is improbable, but all threats must be handled as emergencies. The staff reacts with practiced precision, preparing students to evacuate. I begin alerting parents and working with the police."

...

"Jason lays out the story, how he learned belatedly that some students in his class had planned to leave early that day for a party in the woods. Jason, who had thought they were his friends, had not been told. When Jason realized he had been left out, he gave in to anger and posted a threat, hoping to ruin the other students’ fun. It was irrational, as most teenage decisions are.

In minutes, our conversation is over, and I watch as he is handcuffed and stuffed into the back of a cruiser. The deputies try to hold back community members on the opposite sidewalk. Other policemen are already at the courthouse to obtain a warrant to search his family’s property. The married campers, I think as the cars pull away."
Plus the fact that python doesn't have a switch statement so you kind of have to use a dict if you want that functionality without a long chain of if/elif/else.
My coworker used to be a solo developer and would make up recursive acronyms for every variable name, like:

MSA: MSA subject analysis

It's pretty hard to go through scripts older than a year and understand what's going on.
Some weapon systems arm themselves according to certain conditions, altitude, time from launch, etc. I think one could argue that some missile systems are already robots that "pull the trigger".
Apple are quite infamous as patent aggressors themselves, attacking others even on completely trivial issues that have prior art, so they don't look like a good fit for anti-patent troll hero.
Visual Programming for Coders
Yann LeCun Cake Analogy 2.0
The steady influx of business has brought significant financial benefits to the area. It's not hard to suspect the correlation has a negative impact on the court's impartiality.

In the case of Gilstrap's predecessor, there's a direct connection.

> The top judge for patent cases in East Texas used to be John Ward, until he "retired" to join his son in a local law practice representing patent trolls.

From https://www.techdirt.com/articles/20151101/00440632686/court...
That's my hypothesis, yes. But I wonder how to test it.

I'm afraid I don't have those numbers at hand; sorry.
> has there ever been a case where a teacher successfully shot a school shooter before any innocents could be harmed?

I don't think there ever will be. I would probably not shoot a kid that I only suspect would shoot someone. I doubt a teacher would either.

(Also, is the kid a "school shooter" if he/she did not harm anyone?)

There has been a case where a principal got a gun from his car and stopped a school shooter though.
I believe iOS already does this - different apps are given different unique IDs. But I'm sure it's possible to match back up again when you also have IP addresses, user agents, cookies and so on.
They happen less in countries with similar political and economical environment like Europe.
There's a lack of nuance the answers provided.

For example one asks:

> Do you support replacing individually purchased private coverage, like Affordable Care Act plans or Medicare Advantage?

What's odd even on the face of it is that Medicare Advantage works VERY differently than traditional private insurance (one being supplemental and the other being primary coverage).

Many countries have a mixed system. A basic level of healthcare with supplemental plans built on top to provide improved benefits, reduced OOP costs, and so on.

> Do you support ending employer-based private coverage?

Again, lacks nuance.

Some plans outright ban employer involvement, whereas others allow employers to make pre-tax contributions to something akin to a HSA (which can be used on premiums torwards a plan of the employee's choosing).

> Do you support eliminating cost sharing — meaning co-payments, coinsurance, deductibles — for everyone?

All or nothing. We cannot talk about eliminating cost in some services/areas.
This fixes the specific exploit, which is good.

However, the patched DLL is still be missing ASLR/DEP, which is suboptimal.
How to Freeze Heat Conduction
It is the same with Google who is collecting and using the exact same data from 3rd party apps as Facebook and is equally opaque on how they use that data. Why do you have different principles when it comes to privacy to judge FB and Goog?
> If I sell you [...] a rare in-game skin

So what you're saying is, blockchains can't determine whether or not you really have skin in the game?

:-)
Kids in schools should not need to be saved by the responsible use of guns.
Apple is creating a false sense of privacy with their privacy-focused marketing. I appreciate their efforts building secure products but without a way to block or filter 3rd party app network data they leave their users vulnerable.

Also many ad-blockers that could filter app traffic were nuked from the App Store. I wish there was a way to firewall network traffic in the same way it is possible on other systems.
If you can't find or mutually organize a trusted authority you have much bigger problems than what technology to choose.
I think in principle this means we need to develop robots which are capable of disabling robots using means which are generally non-lethal (not through autonomous decision making, but matter-of-fact mechanisms like EMP, sensor blocking/jamming and so on).
Good article. However, I'd like to talk about documentation and comments, as they were mentioned a lot.

I think the industry should rely on them less. The trouble is, nobody updates every comment, and documentation is even more out of date. They cannot be automatically verified either.

Getting worked up about it is just going to give you stress. Further, it is terribly subjective. Instead, advocate for the other good practices - variable names, clear separation of concerns, single responsibility, functional purity, etc.

I have this inkling, actually, that the more comments there are in a function, the worse it is. Even high level overview comments, like some outlining an algorithm, could instead be high-level code, composing the various pieces together.

It is very rare that a concept is actually nuanced in code. Instead, it is usually the implementation - and you can improve it.

That said, it's a ton of work, and we have to ship a product at the end of the day.

So here we are again, discussing tradeoffs in tech, and I think in these cases a comment block is an OK compromise. Just be cognizant that it IS a compromise.
So you're saying there are already plenty of ARM devices out there to do testing on?
But a human dictates the launch and what the target will be.
No - they do not. All apps pass in the same IDFA or device ID today.
Having used the ER twice in fifth grade in Canada, it seemed fine? Like, yes, sure you have to wait 12 hours to see a doctor if you're not bleeding out the chest. But also, I didn't have to face the prospect of paying $300 for a 15 minute consult, or going to jail to receive treatment.

If you have a cold, you find a PCP or a "health clinic" and make an appointment for same-day or later-that-week. And sure it's hard to find that PCP, but with my PCP in the US I have to book appointments three weeks in advance!

I'd argue "75%ile time waiting in the ER" is not a great metric. That neither tells you how easy it is you are to get preventative or routine treatment, nor how well your ER is able to handle a mass-shooting type catastrophe.
In the case of supply chain management, you need a trusted central authority regardless. Who ensures the sensors are honest? A computer can't do that. It has to be a legal contract between the truck company and a central authority, backed up by the dreaded guys with guns.
I think it amazing almost SciFi story. Only its real
Though the argument is that because all of the innovation is happening in .NET Core (and indeed the .NET Standard 1.x versions were a game of .NET Core implementing things first and backports eventually made to .NET Framework), the clear indicator seems to be that .NET Core is the present-future platform (ie, the "current iteration") for .NET and .NET Framework the backwards-compatible past. Though Microsoft has walked that messaging back, somewhat, it's very much the case that greenfield projects today are best on .NET Core, and even brownfield projects are welcome on .NET Core (.NET Core 3.0 "Desktop Pack" is now the best way to build and run WinForms and WPF applications).
> Can you give some examples of how other modern countries use telehealth and similar technologies as the basis of their provision of affordable universal healthcare?

In BC, Canada, there is the 24/7/365 BC Nurse's Hotline. (Healthlink BC)

It's a phone number, that you can call, to get medical advice.

"I have peanut allergies, and I am having an allergic reaction to peanut butter. I've taken my emergency pills for it, and I have an epipen with me. My symptoms are such and such. It's 3 am, and I'm at a provincial park's parking lot, 20 km out of town. Should I inject myself? Should I wait it out? Should I drive myself to the hospital? Should I call an ambulance?"

The practitioner at the other end will, given the information presented, provide medical advice.

The American reaction to this situation would be to go straight to the ER, regardless of whether or not they actually need it.

PS. In the exact situation I described, the person in question was told that someone should drive them to the ER (It turned out that they would have died, if they hadn't.) But, people call the BC nurse's hotline for all sorts of reasons, many of which do not necessitate a trip to the hospital.
This comment probably breaks the site guideline which asks: "Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith."

https://news.ycombinator.com/newsguidelines.html

I didn't read it super closely but it seems obvious he's just using that language as a form of self-criticism. No need to pile on. (Edit: also, I think some of this is cultural differences.)
What worries me most is how robotic warfare further concentrates power. Currently you have to convince the people in the military to follow your orders, meaning you need at least some legitimacy. What happens when even that human check on power is gone?
Can someone explain this line to me?

"Is it a good idea to put a hash of student diploma digitally signed by several professors on Bitcoin blockchain? Yes."

How exactly would one do that? Is the idea to send a tiny transaction to a made-up wallet, with your hash embedded in the wallet id? Seems like it would need to be pretty small, and would be somewhat of an abuse of the system. Or if that's not it, what exactly is meant by "put a hash of __ on the bitcoin blockchain"?
Paris Organisers Propose Breakdancing to IOC as a New Sport for 2024 Olympics
That's how I refer to all the notifications that I didn't expect and don't need.

As far as I know, there's no universal term for them. Since we already associate darkness with bad UX patterns, "shadow notifications" as a subset of "dark patterns" has a nice ring to it.
Alternate title: "Bee finally declared winner of world's longest running game of hide and seek!"
You really should try out the guy's Ansible playbook linked elsewhere in this thread. It automates setting up the database, the reverse proxy, the Let's Encrypt certificates, pretty much everything. You run a couple of git commands, a couple of ansible commands, and you're done. It's amazing.
> "I feel things more intensely than neurotypical people do, and as a result I want to/have to block things out" might be a more universal description.

Hmm. And of the things that can cause feelings, people might be at the top of the list, and therefore the first to be blocked out?
If new features are implemented as 'composable' algorithms, meaning that they:

a) can be used, optionally

b) can be composed with each other into new data processing (eg filtering/aggregation) models

c) did not reduce, significantly complicate, or create many 'exception rules', to otherwise a coherent model

Then those are good additions, in my view.

Also, I personally found, useful about Redis is its protocol. It is a very useful and poweful paradigm when different systems by different authors/companies implement same protocol. It reduces cognitive overload on users (programmers) and helps to continue building their domain expertise, rather than constantly re-learing APIs of tools or libraries.

So work on RESP3, in my view, is very welcomed.
This absolutely needs to be an agreed upon standard similar to chemical weapons and mines.

Anyone remotely familiar with software development knows that automating either when to launch or what to target will not end well.

Which bug will end a civilization?
Cracking Natas 15 Using Binary Search
The litigants decide where to file suit. Apple can't shop for courts when they're the defendant, except in this case by specifically avoiding the jurisdiction of one court that's a dramatic outlier.
Do they? Aren't some just sent out to find a heat source and blow it up?
A silly trick question: are balanced parentheses expressions palindromes?
Yes, true leadership by Cuomo and De Blasio would have involved local politicians and the people they represent from the start. But they didn't. They negotiated the deal in secret then presented it to citizens as a done deal whether they liked it or not.

Really, can anyone be surprised that this was not met with enthusiasm? IMO the blame lies at the feet of Cuomo, who is used to getting his own way and dictating to others. This is one of very few times that it came back to bite him.