HN user

EPWN3D

629 karma
Posts1
Comments282
View on HN

I don't think I've ever had a problem with this. The big problem I've had with cut/copy/paste has been with Windows and software inspired by it, which is that copying without selecting any text blows away the clipboard (because you've chosen to cut or copy the empty string).

Like yes, I get that in a strict engineering sense, that is the correct and least surprising behavior. But it's stupid and virtually guaranteed to not be what I wanted to happen. My expectation is what macOS does in this event -- nothing.

I don't know everything there is to know about passkeys or anything, but my reaction to most of these comments is "You're passing yourself off as someone who has relevant opinions about security, and you can't possibly imagine how these things work or how they're useful? Come the fuck on."

Passkeys are basically session cookies that are signed by a secure element in one of your devices at the time you log in. That's it. They cannot be phished because there is no password to steal. If I had to guess, the basic flow is something like this:

1. When the passkey is created, the device's secure element coughs up a public key or something to the server representing itself as a trusted device

2. When a user logs in, the server issues a challenge (basically a random number) to the device and says "sign this with a private key that corresponds to one of the trusted public keys I have"

3. The secure element signs the challenge and sends it back

4. The server goes through its list of trusted device public keys until it finds one that verifies the challenge response. If it finds one, it logs you in. If it doesn't, you don't log in

Step (1) is probably bootstrapped with a username/password and second factor like SMS 2FA, OTP, or email 2FA.

Even if this isn't exactly how they work, it's a plausible implementation. Nothing about this requires vendor lock-in. The various secure elements that can produce passkeys come from many different places, so I'm sure sufficiently motivated open source people could create a firmware TPM that is certified for use with passkeys or something if they cared enough.

Yeah I have a similar list. Mine also includes "journey". As soon as a word gets adopted by MBAs to abstract away the real world, it gets added to my list. They're words that project the idea of a smart person but only to stupid people.

Sure, I guess. But I think people reading this thread are drawing a line between "Copying the publicly-visible IP" and "Inducing employees to walk out with trade secrets in hand." No one at Samsung was facing prison time. People at OpenAI very well could.

I've never relied on sugar free foods, and I consume plenty of natural sugars and easily cut weight on a regular basis.

I'm guessing you're talking about fruits. In which case, you consume them, but you don't digest them. The sugar in them is bound up with a ton of fiber, and the majority of it never gets digested. That's why dried fruit is so much higher in calories than its source: all the water and fiber is removed.

I was thinking a classical linker that e.g. combined sections together after already laying out subsequent sections. That would basically be an memmove. It doesn't necessarily have to be unsafe, but I could see it being implemented that way just to keep things simpler on the rest of the data structures. (Though if you said that that was an indication of incomplete design I'd have a lot of time for that argument.)

Yeah that is definitely 1000% wrong. A compiler can do its job with totally abstract data structures. If anything would need to do unsafe stuff in memory, it would probably be a linker.

The 1A jurisprudence, to my understanding, basically results in the courts virtually never finding that the government has a legitimate, competing interest in limiting political speech.

But courts are willing to find that certain speech that is apolitical can be limited (the previous "fire in a crowded theatre" example). Basically the courts have recognized 1A established freedom of speech to protect political dissent and political ideas. Porn, for example, has limitations that would never apply to political ideas.

Sorry, no. Just because you've never done it doesn't mean that no one ever will.

Beyond the archival benefits, I've found plenty of bugs by going back through my "wip" commits and creating a sane history from them.

Holy shit this is a great idea. I get the complaints about the arts, but colleges have enjoyed essentially unlimited patience for larding up their programs with extra fees, bullshit credit requirements, and more, for decades.

I don't personally think that efficiency should be the primary concern of colleges, but it should be a concern, and it just plain hasn't been for ages. And that indulgence has been cloaked in specious, ivory-tower claims about producing well-rounded students. "You can't complain about being require to take a 100-level history course because our job is to turn out renaissance scholars who can debate philosophy at cocktail parties before going to work doing something that has absolutely nothing to do with that."

All the while, those additional credit hours cost students a shitload of money and debt and take focus away from their actual fields of study.

Colleges and universities need a kick up the ass to make them actually give a shit about outcomes for their students. I'm not going to cry that they're getting one.

It really depends on the type of trust you're talking about. You're right that in many places in the US, people generally act honestly. But that's not always true -- porch pirates are still a huge problem in cities, for example.

Policy-wise, I would not describe the US as "high trust" relative to the rest of the first world. Virtually all of our non-senior welfare programs are means-tested or require some proof of virtue (e.g. "I am actively looking for a job" to collect unemployment insurance), meaning that society broadly does not "trust" people to collect benefits honestly unless they're seniors.

For these types of incidents VAR protocol is expressly to not offer the referee a slow-motion replay and to only let him see it in real time. Everyone knows that when you slow this stuff down it always looks worse, so the protocol is designed with that in mind.

That's why this was a misapplication of VAR. The on-field decision was not clearly and obviously wrong, and the manner in which VAR intervened was against their protocols for reviewing this type of incident.

The US had no procedural route to get Balogun reinstated. That doesn't mean FIFA can't wave their magic wand to make it happen.

Had FIFA implemented an appeals panel for the tournament, it would've looked at the incident, deemed it a misapplication of VAR and a wrongful red card, and the world would've moved on. Instead because of their incompetence, the only remedy was via their magic wand, which is arbitrary and capricious.

Yup. The only upside to being sick is that I get to take NyQuil before going to sleep and have trippy as fuck dreams.

Yeah I think that there's some serious over-indexing on university political indoctrination. I can buy that kids adopt far-left viewpoints in college after being exposed to them for the first time just due to novelty.

But college is not the be-all and end-all of someone's political evolution. Buying a home and having a family also influences someone's political opinions, broadly in the more conservative direction.

What I think sounds plausible is that the rise of women pursuing post-graduate degrees brings down birth rates. If a woman isn't done with her academic pursuits until she's 30, she'll unquestionably be less likely to have kids as a matter of biology.

Moreover, if it's extremely difficult to buy a house and start a family until you're in your mid-30s, that's going to keep people more liberal for longer.

So I don't think the basic dynamics have changed, but the timelines have. When people have a house and family, they have things to lose and act more self-interested. When they don't, they don't, they're much happier to entertain proposals for vast societal change.

This is broadly true, but there are performance-based layoffs sometimes. The trick is to know whether the next round is going to be a decimation or a restructuring.

If it's a restructuring, nothing you do will save you or condemn you. The decisions are made via spreadsheet, and it's unlikely anyone in your management chain will be involved. In fact, if you're a high performer who's accumulated a lot of compensation, that might paint a target on your back. If you're a protected class, you might get passed over to minimize the risk of legal action.

If it's a decimation, you'll probably have a good idea whether you'd survive.

The takeaway is keep your ear to the ground, maintain some familiarity with where your company spends its money and how executives make decisions, and you might be able to tell what kind of reduction is in the cards and prepare for it. And also, keep relationships up with recruiters.

C programmers aren't complaining about the "magic" being tens of thousands of lines of code. They're complaining about the magic including bizarre side effects that brazenly violate the principle of least astonishment.

In C++, you can overload the comma operator to do shit. I've seen it done. There's no reason to do it, and no reasonable person would ever expect it in a code base they're unfamiliar with. To find bug in that ultimately roots back to that implementation, you have to go eliminate every other whack-job possibility before it even occurs to you that maybe the weirdo who wrote this code chose to overload the comma operator.

I'm not going to argue with anyone who wants to use C++ in their own projects, you do you. But let's be real about what C programmers are complaining about. It's not line count. It's syntactic obfuscation. I don't just level this criticism at C++ either. Basically every major new language has its own byzantine syntactic constructs to some degree.

God Plex sucks now. The mobile Photos app is basically abandonware that threw out 80% of the functionality from when photos were handled in the main app. Still glad I snatched up the lifetime pass when it was $150, but they're doing their best to make it money wasted.

I can't take anyone seriously who equates "six figure income" with "upper-middle class". That was true in the 80s. But the median household income in the US is about $80,000/yr. That extra $20,000 doesn't push you into upper-middle class.

If there's a trap for the upper-middle class, it's for the W2 earners. The federal tax code essentially disqualifies high-income W2 earners from virtually every deduction. Both parties wind up soaking these taxpayers because they

- make a lot of money,

- don't own a business, and

- don't have an organization like the Chamber of Commerce to lobby on their behalf

When Republicans get into power, these people are likely to vote Democratic and are therefore okay to stick with the bill after cutting taxes for dentists, lawyers, and corporations. When Democrats are in power, these people are (as ever) not "paying their fair share", so they need their taxes hiked to pay for free stuff for people who don't vote for Democrats. And then they'll also be disqualified from taking advantage of those new benefits/entitlements.