Better HN
topnewbestaskshowjobs
Log inSign up

dap

1,814 karma · joined Aug 15, 2011 (15y ago) · 463 submissions

Dave Pacheco. Software engineer at Oxide Computer Company. https://www.davepacheco.net/blog/
Submissions

comment 4d ago · link · parent

lol, oops, https://en.wikipedia.org/wiki/Spinning_jenny

comment 4d ago · link · parent

Having worked on clusters where bloat was an ongoing serious problem, this looks really useful! Thanks for doing this work.

comment 4d ago · link · parent

I'm confused by this. Are you comparing an LLM to the spinning wheel? In that case wouldn't the analogous headline be "Spinning wheel spins skein" or something? And if there were an article about it, I would definitely expect it to explain that Jenny operated the wheel and some basics about the steps involved. I don't know enough about spinning to know if it's purely mechanical or if operator skill is involved. If spinning yarn is mechanical, then it's not analogous because it's not mechanical to get Claude to prove a novel result in physics. If spinning yarn with a wheel involves a lot of operator skill, then I wouldn't expect us to say "the wheel spun the yarn", but "Jenny spun the yarn [aided by her spinning wheel]".

To pick yet another example: you _can_ say "the car drove from California to Florida", but that'd an unusual stylistic choice and so would probably imply that you didn't know for sure who drove it or something. In ordinary conversation people would be much more likely to say "Jenny drove from California to Florida [in her car]".

Is the boiled/boiler thing related or just some other example? That isn't analogous either. The analog would be "the pressurized gases escaped the vessel" vs. "the vessel failed to contain the pressurized gases". These are different. If you want to emphasize how out-of-spec the internal conditions were, you say "the pressured gases escaped the vessel". If you want to emphasize that the chosen vessel was obviously wrong for the job, you say "the vessel failed to contain the pressurized gases". Either way though there's no risk of the reader anthropomorphizing the pressurized gases. That's different from "the agents escaped the sandbox" because that implies ... agency.

Sorry if I've misunderstood!

comment 4d ago · link · parent

Right, but in that situation, the email from the accountant isn't titled "TI-34 finished your taxes". The accountant did all the interesting work. (This metaphor is getting stretched, since accountants usually use software to do the taxes, and that software does a lot more of the interesting work than a pocket calculator does. But even then, the accountant has done the most important work in telling the software about your tax situation and the summary is still "the accountant has finished your taxes".)

comment 5d ago · link · parent

"Claude solves" feels reflective of the constant, problematic anthropomorphizing of the machine. For how it's problematic, look at "it broke out of the sandbox" vs. "we failed to build an adequate sandbox".

What does it mean for Claude to solve it? What was the prompt? I didn't read it all, but the word "prompt" does not appear in the blog post, either abstract, or either paper.

comment 3w ago · link · parent

I agree this is important to keep in mind. I wonder about this a lot when I find myself admiring fictional characters for how they handled situations and how it turns out for them.

I don't think TNG is as simple as you make it out to be. All of the characters have serious flaws. Picard does make mistakes (including some very serious, consequential ones). Characters do get angry, jealous, etc. and do bad things. Sometimes their friends help them overcome it, other times they figure it out on their own, etc. It's episodic so it usually goes back to the status quo, and that can feel kind of trite through today's lens. But it's exactly that ability to solve problems (technical, emotional, organizational, etc.) as a team that's so compelling for many of us.

7.

OpenAI Ignored Employees Who Warned It Wasn't Doing Enough About Security(nytimes.com ↗)

10 points · by dap · 1mo ago · 1 comment

comment 2mo ago · link · parent

> So a proxy should block any POST to 20.223.25.152 unless that IP somehow overlaps with ABS. But in that case, there's no reason for the agent to mess with `/etc/hosts` not `--resolve`. The agent could just use `curl` with the PBI IP in URL and the PBI Host header. But it doesn't do that.

I think this is the part I'm not following, and sorry if I've missed something. There are two ways to construct the request you showed. One is to mess with /etc/hosts. Another is to use `--resolve`. Just because the agent chose one doesn't mean it couldn't have done the other. What makes you think it couldn't have used `--resolve` as well?

comment 2mo ago · link · parent

> In the first case, given what we know, the proxy blocks the POST.

How do we know that?

comment 2mo ago · link · parent

My interpretation of the above is that the proxy received a request for the IP of the server the agent wants to reach but with a host header pointing to a different, allowed server. The proxy does not verify that they match and so erroneously allows the request.

comment 5mo ago · link · parent

If your plan is to not review and just have the LLM rewrite if it doesn’t work, it doesn’t sound like the rewrite is gonna be any better.

comment 5mo ago · link · parent

It doesn’t have to be an intentional threat to be worth responding to. One might reasonably think they’d stumbled on an (admittedly poorly executed) attack.

comment 5mo ago · link · parent

Is it a taboo, or is it just reserving specific words to mean specific things and insist everybody be precise about it?

comment 5mo ago · link · parent

This is explicitly mentioned in the article:

> Though some have questioned why anyone intending to blow up a plane would broadcast the word bomb, many terrorist acts have relied on the threat of a bomb as leverage during attempted hijackings or hostage situations.

comment 6mo ago · link · parent

This really depends on context. Sure, if you're responding to a forum post or StackOverflow question with nothing but the LLM output, then I agree with this. On the other hand, where I've done this at work, it's because I and some peers _together_ are trying to understand something (e.g., debugging), and Claude has some potentially useful input, but I'm not actually sure. And I'm looking to collaborate on interpreting the output together to see if there's anything useful. (Folks can decide to ignore it if it doesn't seem promising.) As another comment[1] said, pasting the output as-is contains other useful metadata.

There are also cases where I think I know the answer, and I ask the AI, and it produces a more complete answer than I would but I know enough to assess it. It seems like a waste of time to paraphrase the whole thing. That's the "Here's how Claude phrased it and I can attest that it's right" case.

[1] https://news.ycombinator.com/item?id=48243331

comment 6mo ago · link · parent

Have you not seen:

https://www.anthropic.com/research/project-vend-1 https://www.wsj.com/tech/ai/anthropic-claude-ai-vending-mach...

(Two different examples of a similar idea)

comment 7mo ago · link · parent

I don't think these things are as different as you think. I started at "ls" and worked down. If you work up, you get things like a "socket", an "object" within a programming language, a "linked list" in a standard library, an "HTTP client" within an application-level package. You can keep going up and rattle off lots of useful abstractions in application-level code.

There are certainly _bad_ abstractions that ought not to exist, which I think is what you're getting at. There are poorly built abstractions, and leaky abstractions. But abstraction itself isn't the problem -- abstraction is what allows us to build anything at all without being crushed by the sheer complexity.

comment 7mo ago · link · parent

I’m curious what you think an abstraction is. Even running “ls” involves several layers of abstraction: a shell, a process (abstracts memory), a thread (abstracts CPU)… you think it would be simpler if you had to deal with all that to list a directory (another abstraction)? Even bits are an abstraction over analog voltage levels.

comment 7mo ago · link · parent

Is the MET right? They launched about 29 hours ago but it says 1d18h

comment 8mo ago · link · parent

Thanks for the context. That makes a lot of sense! Those three constraints seem pretty important and a useful way to think about the problem.

comment 8mo ago · link · parent

Having used Rust professionally for six years now, I share your fear. Like many of the commenters below, coherence just hasn't been a big problem for me. Maybe there are problem spaces where it's particularly painful?

How does the Rust language team weigh the benefits of solving user problems with new language features against the resulting increased complexity? When I learned Rust, I found it to be quite complex, but I also got real value from most of the complexity. But it keeps growing and I'm not always sure people working on the language consider the real cost to new and existing users when the set of "things you have to know to be competent in the language" grows.

comment 8mo ago · link · parent

I've never once pulled in a new dependency and had the program fail to compile just by virtue of that dependency being present [because both my code and the new code both impl'd the same trait on the same type in some other code]. Because that can't happen because of coherence. (Right?)

It's so easy to forget about the problems we don't have because of the (good) choices people have made in the past.

23.

Formulas for Pi(mathworld.wolfram.com ↗)

1 points · by dap · 8mo ago · discuss

comment 8mo ago · link · parent

I don’t think that sums up the post well. I would say:

The phrase “it turns out” has a surprising way of disarming skepticism in readers. While surprising, it’s easy to understand: the phrase suggests a story of the author’s journey of believing one thing, investigating, and finding something different. That’s more credible than simply saying the thing they now believe. The touch of vulnerability (admitting being wrong) avoids the reader’s ego getting defensive when asked to admit they were wrong. The net result is that it’s surprisingly easy to be convinced without any real argument.

I’ve noticed this as well (often in podcasts and programs like Radiolab) and I think it’s quite valuable to just be aware of it as a reader/listener, if you care about thinking critically about your own beliefs.

comment 10mo ago · link · parent

> How long did humanity survive without vaccines for _everything_? Oh that's right.

Is this a trick question? Humanity survived by having enough people with enough other useful traits (like thinking, including the ability to reason about disease and how to prevent it) to overcome the numbers lost to disease. Humans died to disease in enormous numbers.

> nor that they're all good for _me_ as an individual.

Herd immunity presents a real challenge to idea that people should generally be allowed to make their own choices. One's choice here affects everyone else, in a minuscule way that nonetheless adds up to many thousands of lives saved. I'm not sure what the answer is for this, but generally I come down on the side of: if a democratic process creates rules requiring us all to be immunized for the common good, that's okay with me.

comment 10mo ago · link · parent

There is important truth in your post, yet you seem to miss the really important pieces that make this hard.

> It's the parents obligation to educate their child.

> It's the child's obligation to use that education wisely.

Two obvious things complicate this:

- You weren't taught how to use a real gun at 6 months old, right?

- Would it not follow from what you said above that if you had accidentally shot and killed yourself at age 7, then it would be your own fault and nobody else's? That seems (to me, at least) like an absurd conclusion.

I think about it like this: as a parent, my jobs include identifying when my child is capable of learning about something new, providing the guidance they need to learn it (which is probably not all up front, but involves some supervision, since it's usually an iterative process), allowing them to make mistakes, accepting some acceptable risks of injury, and preventing catastrophe. I'll use cooking as an example. My kids got a "toddler knife" very young (basically a wooden wedge that's not very sharp). We showed them how to cut up avocados (already split) and other soft things. As they get older, we give them sharper knives and trickier tasks. We watch to see if they're understanding what we've told them. We give more guidance as needed. It's okay if they nick themselves along the way. But we haven't given them a sharpened chef's knife yet! And if they'd taken that toddler knife and repeatedly tried to jam it into their sibling's eye despite "educating" them several times, while I wouldn't regret having made the choice to see if they were ready, I would certainly conclude that they weren't yet ready. That's on me, not them.

You allude to this when you say:

> I am very much for showing kids how to use the internet responsibly, but I'm not of the opinion that parental controls are particularly desirable beyond an initial learning period.

Yes, the goal should be to teach kids how to operate safely, not keep them from all the dangerous things. But I'd say that devices and the internet are more like "the kitchen". There are lots of different risks there and it's going to take many years to become competent (or even safe). Giving them an ordinary device would be like teaching my 2-year-old their first knife skills next to a hot stove in a restaurant kitchen with chefs flying around with sharp knives and hot pots. By contrast, without doing any particular child-proofing, our home kitchen is a much more controlled environment where I can decide which risks they're exposed to when. This allows me to supervise without watching every moment to see if they're about to stab themselves -- which also gives them the autonomy they need to really learn. The OP, like other parents, wants something similar from their device and the internet: to gradually expose elements of these things as the parents are able to usefully guide the children, all while avoiding catastrophe.

comment 11mo ago · link · parent

I inferred that they’re referring to the fact that in typical C the compiler must have seen a function earlier in the file for you to use it. One solution (that the author doesn’t like) is to put the leaf functions first so that they’re defined when the compiler sees their callers. The author seems to be ignoring the alternative approach: declaring functions at the top and then writing the in the top-down order that they like.

comment 11mo ago · link · parent

Doesn't this depend a lot on how long your actions run? Like, you may have already invested in your own hardware (maybe because your actions use a lot of resources and it's cheaper) and now you have to pay per-minute of action runtime for the API that does the bookkeeping?

comment 11mo ago · link · parent

>> What remains is me feeling triggered when it feels like users' pain is being casually dismissed.

> Was that done in this thread?

Well, I raised a general problem around 24/7/365 use cases (rooted in my operational experience, reinforced by the more-current words that I was replying to and the OP) and you called it "tedious", "low-info griping". Yes, that seems pretty dismissive.

(Is it fair? Though I thought the podcast episodes were fairly specific, they probably glossed over details. They weren't intended to be about those issues per se. I did write a pretty detailed post though: https://www.davepacheco.net/blog/2024/challenges-deploying-p... (Note the prominent caveat at the top about the experience being dated.))

You also wrote:

> running an, at the time, outdated postgres, on an outdated OS

Yes, pointing to the fact that the software is old and the OS is unusual (it was never outdated; it was just not Linux) are common ways to quickly dismiss users' problems. If the problems had been fixed in newer versions, that'd be one thing. Many (if not all) of them hadn't been. But also: the reason we were running an old version was precisely that it was a 24/7/365 service and there was no way to update databases without downtime, especially replicated ones, nor a great way to mitigate risk (e.g., a mode for running the new software without updating the on-disk format so that you can go back if it's a disaster). This should be seen as a signal of the problem, not a reason to dismiss it (as I feel like you're doing here). As for the OS, I can only think of one major issue we hit that was OS-specific. (We did make a major misconfiguration related to the filesystem that certainly made many of our issues much worse.)

I get that it sucks to keep hearing about problems from years ago. All of this was on 9.2 - 9.6 -- certainly ancient today. When this comes up, I try to balance sharing my operational experience with the fact that it's dated by just explaining that it's dated. After all, all experience is dated. Readers can ignore it if they want, do some research, or folks in the PostgreSQL world can update me when specific things are no longer a problem. That's how I learned that the single-threaded WAL receiver had been updated, apparently in part because of our work: https://x.com/MengTangmu/status/1828665449850294518 (full thread: https://x.com/MengTangmu/status/1828665439234474350). I'll happily share these updates wherever I would otherwise share my gripes!

12345
16