Better HN
topnewbestaskshowjobs
Log inSign up

tptacek

427,164 karma · joined Nov 1, 2007 (19y ago) · 76,259 submissions

Having said thus much by way of introduction, I commit the following to the candour of the Publick.

Helu! I'm Thomas.

thomas@sockpuppet.org

t@tk.inc

(Don't apologize for contacting me! I'm happy to meet you.)

Daily follow list: 'jcranmer, 'rgovostes, 'pvg, 'rgovostes, 'lisper, 'kentonv, 'DannyBee, 'JumpCrisscross, 'kasey_junk, 'tzs, 'dctoedt, 'idlewords, 'carbocation (many others who don't post often enough to call out like this).

All comments Copyright © 2010, 2011, 2012, 2013, 2015, 2018, 2023, 2031 Thomas H. Ptacek, All Rights Reserved.

Submissions

comment 2h ago · link · parent

I don't care about the ethics of distillation at all, so don't take me as putting a stake in the ground on that; I just think the ethics of pulping old books is especially clear: it's virtually always benign activity.

People on the first thread about this were hollering about the right place for these books to have gone being the public library. Public libraries, people said, have archivists on staff who pick through and save the most important books! Except: no they don't. Those books go straight into the recycling bin.

comment 2h ago · link · parent

There was updated reporting, from the same reporters, the clarified what the books were. There was a huge thread here about this.

comment 3h ago · link · parent

This was basically a bullshit story. The books we're talking about were "rare" in the sense that they were like manuals for obsolete computer equipment and home appliances from the 1970s. Much more importantly: the book industry, and libraries, pulp-recycle tens of millions of books every year. Books are not sacred. Long-lived physically embodied books are themselves a rarity. There is no norm of not destroying books.

Maybe a shorter way of saying this is just to respond to your comment "no, it's not".

comment 1d ago · link · parent

Fair use tends to fall apart when you take copyrighted material verbatim and in its entirety. There's more to the analysis than "does it provide financial benefits to the author"!

comment 2d ago · link · parent

I started my career in C/C++ and have done a fair amount of embedded work. In terms of actually doing stuff, there has never in the history of the world been a better time to do low-level and embedded systems work. The right advice here: find a project, scrounge the parts, and have an agent do basic bring-up work for you. If your last serious C work was 15 years ago, I think you'll be astonished how quickly you can progress to the "rewarding" part of any project.

If your question is instead how you make a career transition to embedded/firmware work, that's much trickier. The obvious concern is AI's impact on the job market, but I'm chiming in to observe that this isn't the biggest problem with a web->embedded transition. Good jobs doing embedded stuff, at least for people who don't already have a pedigree doing that work, has for as long as I can remember been a bottleneck for people wanting to do this stuff. There's simply a lot more high-level work to be done than low-level work.

I can see bright spots potentially ahead; I'm not a big Jevon's Paradox person but one kind of clearly Jevon-y area is hardware, because we've zorched one of the biggest impediments to getting new projects off the ground. But it hasn't happened yet, and might not.

comment 3d ago · link · parent

People who pay a lot of attention to US news might know this as the therapy former senator and UF president Ben Sasse is taking.

comment 3d ago · link · parent

It was in a more stable form, and is getting less stable over time; it's a threshold-crossing issue.

comment 3d ago · link · parent

It's going to blow up either way, so what problem does abandonment solve?

comment 4d ago · link · parent

Why are we excluding Indiana from the midwest? Nobody could tell Illinois and Indiana apart in a lineup.

comment 4d ago · link · parent

Hacker News is a water cooler conversation, not a peer review system. It is in fact quite useful in this context to short circuit a whole raft of standard dismissals!

We went through this with Alpöge over the Jacobian Conjecture and the resulting thread was pretty embarrassing.

comment 4d ago · link · parent

Cruises are horrible and all, but is this a super meaningful comparison? Are cars a primary source of SOx pollution? This is a very specific comparison, which makes me wary.

comment 4d ago · link · parent

People love saying this, but it doesn't make any sense. There are software firms that, within the past 15 years, broadly screened all candidates with actual IQ tests. There's no reason to disguise them at all. The reason nobody in the industry does this is that we all know what a debacle it would be to screen primarily on IQ tests rather than "can people do the job effectively".

comment 4d ago · link · parent

I'm just struck by the idea of ordering a new laptop, finding a hardware fault in it, and then arranging to have them ship a part. Is this a weird Framework thing? Return the laptop!

Framework appears to have a 30 day return policy. What's the logic in trying to salvage a bad laptop?

comment 4d ago · link · parent

Leetcode is a domain-specific test. It is the opposite thing to a general cognitive test. The entire point of IQ is the positive manifold: the notion that general cognitive tests are all monitoring the same latent variable.

If you're saying, like, the Wonderlic test is fine but IQ testing isn't, all you're saying is that the "IQ brand" is problematic. That's wrong, but also it's not saying anything interesting. Call it whatever you want, it's the same business premise.

If you're saying that Leetcode is, like the Wonderlic, a direct proxy for IQ, that's just clearly false.

comment 4d ago · link · parent

IQ tests are general cognitive tests. If your entire argument is that IQ tests are fine so long as you call them something else, you're not really saying anything.

Leetcode is not a general cognitive test, obviously.

comment 4d ago · link · parent

Not only is it not practically illegal, as the sibling commenter notes, but several household-name corporations openly IQ test candidates. General cognitive testing is presumptively lawful in white collar employment.

comment 4d ago · link · parent

It's not an out-there opinion among vulnerability researchers, though.

comment 4d ago · link · parent

I think so too; I think apart from pushing vulnerability research forward (which is important on its own merits just for computer science reasons), the major engineering challenge of this moment is figuring out how to make platforms resilient without rewriting everything; that could be better live-patching, it could be some weird monitoring thing, it could be automatic segregation and workload isolation.

It's not "just keep up with the patches". That's going to be a losing strat.

comment 4d ago · link · parent

(I'm a broken record on this so I'll keep it brief). The problem here is that the CVSS score is in the headline, as if it meant anything. But CVSS doesn't mean anything. It's a Ouija board; VR people jack it up to get attention, vendors nerf it to chill their customers out.

Someone should design something better, and less malleable.

comment 5d ago · link · parent

All the heaps are (probably) randomized. I haven't seen an exploit for this (but know them to exist). ASLR is not a reliable countermeasure for these kinds of flaws. Here's a good starting point:

https://azeria-labs.com/grooming-the-ios-kernel-heap/

comment 5d ago · link · parent

At this point I think we're pretty sure "I was right", though, like, I had a lot of hints to go off of here --- "Windows-1522" and "case change" were in the official notice!

comment 5d ago · link · parent

Right, I'm not talking down the severity of the vulnerability; if anything I think people are underrating it. But it's a constrained 1-byte overflow.

comment 5d ago · link · parent

The simplest core mechanism of these kinds of exploits is that you can groom the heap by triggering lots of similar-sized allocations, so you have a good guess as to what the heap will contain where your wild write occurs, and then you can trigger specific allocations to land juicy victim structs in the heap where you want them.

It's an evolution of the old "nop sled" idea from stack overflows (and viruses before that), where you don't know exactly what the stack addresses you're targeting are, but you can in your exploit trigger payload include data that will carpet bomb the stack with NOP instructions so that you have a big window to guess.

comment 5d ago · link · parent

This kind of reasoning is literally how Rails ended up with the YAML bug.

comment 5d ago · link · parent

I went looking last night and found only the ß in Windows-1252.

comment 5d ago · link · parent

No, from my read of the code, it's a single-byte overflow because the casing code works 1 character at a time and doesn't account for the ß->SS expansion case. Not only is it a single byte, but that single byte has a fixed value; you can't use ß->SS to push some other character off the end of the string.

(Correct me if I'm wrong!)

comment 5d ago · link · parent

Bare metal has nothing to do with his point. He's comparing cotenant shared kernel to cotenant virtual kernel, and he's wrong: virtualization drastically reduces the attack surface.

comment 5d ago · link · parent

There is no good reason for really any Rails app to accept Windows-1252! This is reminiscent of the YAML vulnerability, which surprised most Rails users with the fact that Rails endpoints all accepted YAML to begin with.

comment 5d ago · link · parent

Maybe somewhere! But that character isn't in Windows-1252 at all, so it can't trip this string counting bug.

comment 5d ago · link · parent

One of the discoverers suggested, on Twitter, Ruby2ßhell. My wife, who speaks and writes German, refused to entertain this.
12345
2542