HNHacker News
TopNewBestAskShowJobs

valleyer

2,266 karma · joined May 10, 2013

submissionscomments
valleyer··on What I learned building an opinionated and minimal coding agent
You are essentially describing the system that Codex (and, I presume, Claude Code et al.) already implements.
valleyer··on What I learned building an opinionated and minimal coding agent
If that part were running sandboxed, then it would be impossible for it to contact the OpenAI servers (to get the LLM's responses), or to spawn an unsandboxed process (for situations where the LLM requests it from the user).
valleyer··on What I learned building an opinionated and minimal coding agent
The LLM inference itself doesn't "run code" per se (it's just doing tensor math), and besides, it runs on OpenAI's servers, not your machine.
valleyer··on What I learned building an opinionated and minimal coding agent
Here's OpenAI's docs page on how they sandbox Codex: https://developers.openai.com/codex/security/

Here's the macOS kernel-enforced sandbox profile that gets applied to processes spawned by the LLM: https://github.com/openai/codex/blob/main/codex-rs/core/src/...

I think skepticism is healthy here, but there's no need to just guess.

valleyer··on What I learned building an opinionated and minimal coding agent
Is it asking you permission to run that python command? If so, then that's expected: commands that you approve get to run without the sandbox.

The point is that Codex can (by default) run commands on its own, without approval (e.g., running `make` on the project it's working on), but they're subject to the imposed OS sandbox.

This is controlled by the `--sandbox` and `--ask-for-approval` arguments to `codex`.

valleyer··on What I learned building an opinionated and minimal coding agent
> If you look at the security measures in other coding agents, they're mostly security theater. As soon as your agent can write code and run code, it's pretty much game over.

At least for Codex, the agent runs commands inside an OS-provided sandbox (Seatbelt on macOS, and other stuff on other platforms). It does not end up "making the agent mostly useless".

valleyer··on Apple-1 Computer Prototype Board #0 sold for $2.75M
I'm thinking that was just a typeface (looks like Profil) that was available to their printer. It also shows up in the word WARRANTY in the back of the manual:

https://s3data.computerhistory.org/brochures/apple.applei.19...

valleyer··on I made my own Git
Doesn't `git merge -s ours` do this?

    This resolves any number of heads, but the resulting tree of the merge is always
    that of the current branch head, effectively ignoring all changes from all other
    branches. It is meant to be used to supersede old development history of side
    branches. Note that this is different from the -Xours option to the ort merge strategy.
valleyer··on UK House of Lords Votes to Extend Age Verification to VPNs
It drives me nuts that local governments in the US continue to use Twitter/X to disseminate communications, despite having perfectly good web sites of their own.
valleyer··on Apple, What Have You Done?
I disagree. A lot of the problems come down to part A of the system not coordinating well with part B. Take the brouhaha about the Tahoe window corners: obviously there wasn't enough communication between folks designing the window frame art and the folks implementing the window resize logic.

You can hire the best, but coordination among a group of people scales quadratically.

valleyer··on Apple, What Have You Done?
As someone who witnessed a lot of the quality decline at Apple from the inside, hiring more people is decidedly not the answer. All that does is encourages management to engage in more churn, which is the source of these sorts of bugs.

The answer, unfortunately, is that features need to be sunsetted/removed, the engineering org shrunk, and for a smaller group to concentrate on a reliable product core.

valleyer··on Man shot and killed by federal agents in south Minneapolis this morning
No, this bill would be subject to the filibuster (since it's not a reconciliation bill under the Budget Act), so it's not a simple majority.
valleyer··on IPv6 is not insecure because it lacks a NAT
The Apple AirPort Extreme didn't by default until recently: https://support.apple.com/en-nz/103996
valleyer··on America could have $4 lunch bowls like Japan but for zoning laws
I must admit I somehow missed "at the motel" part of your post. I'm sorry!

(I still disagree with your broader point, since I don't think you can meaningfully draw a "has skin in the game" line.)

valleyer··on Apple testing new App Store design that blurs the line between ads and results
Big ships are hard to turn, even in the backwards direction.
valleyer··on America could have $4 lunch bowls like Japan but for zoning laws
Renters can also enroll their kids in public schools. And in terms of mobility, renters might be stuck in a one- or two-year lease, far longer than it might take to sell a house.

Maybe those transient homeowners are the ones who shouldn't get to vote...

valleyer··on STFU
That really sucks, but don't deprive yourself of something you think you might enjoy because of that one jackass. Chances are that next time you won't experience something like that.

Also, basically every pro and semi-pro sports stadium nowadays has cell-phone-contactable security that you can summon to handle situations like these. The threat of being kicked out of his $250 seats is way more of a threat than that of being confronted by a "mega-nerd".

I wouldn't make a habit of contacting security over every little annoyance, but if they're obnoxiously blocking an old lady, that's the time to use it.

P.S.: your karma is currently 1337, sweet

valleyer··on The struggle of resizing windows on macOS Tahoe
Yep, that's a great workaround, as long as you have third-party apps you're happy with.
valleyer··on The struggle of resizing windows on macOS Tahoe
The point is that Apple's own design team was.
valleyer··on The struggle of resizing windows on macOS Tahoe
But you cannot, in general, migrate your data backwards. Apple's system apps will upgrade their data stores forward only. This isn't a problem if you are willing to e.g. re-download all of your (Mail.app) mail.
valleyer··on Chase to become new issuer of Apple Card
You can view statements via the Web on <https://card.apple.com/> (though not for the associated savings account, if you choose to add that).
valleyer··on enclose.horse
Nice. Reminds me of Rodent's Revenge.
valleyer··on Trump says Venezuela’s Maduro captured after strikes
Don't threaten me with a good time.
valleyer··on iOS allows alternative browser engines in Japan
Lawyers, admins, and executives, sure. But what about the complexity on the engineers who now have to maintain an exploding matrix of modes? I can definitely see that becoming burdensome.
valleyer··on Some Epstein file redactions are being undone
It's also the meaning used in the title of this very Web site.
valleyer··on CSS Grid Lanes
Is this increasing complexity in the Web layout world worth it? Anyone who wants to use this is going to drop support for older browsers (and, in so doing, older machines that can't run newer OSes and newer browsers).

Personally, I use an 11-year-old machine and have had to add userscript hacks to certain major Web sites to work around bugs in CSS grid (not the "lanes" described here).

At least new JavaScript features can be "polyfilled" or whatever. Maybe sites could check for CSS feature support too? But they seem not to.

For example, the demo page linked in the article fails pretty unusably for me. All the images take up nearly the full viewport width.

valleyer··on Prepare for That Stupid World
> The first thing that blew my mind was how stupid the whole idea is. Think for one second. One full second. Why do you ever want to add a chatbot to a snack vending machine? The video states it clearly: the vending machine must be stocked by humans. Customers must order and take their snack by themselves. The AI has no value at all.

I fear the author has missed the point of the "Project Vend" experiments, the original write-ups of which are available here (and are, IMO, pretty level-headed about the whole thing):

https://www.anthropic.com/research/project-vend-1

https://www.anthropic.com/research/project-vend-2

The former contains a section titled "Why did you have an LLM run a small business?" that attempts to explain the motivation behind the experiment.

valleyer··on RCE via ND6 Router Advertisements in FreeBSD
POSIX does not specify the init/rc script system, so it's not a factor here at all. A POSIX-compliant system could use Python scripts. macOS (which is UNIX 03 certified) uses launchd. A POSIX system has to ship the shell, not use it.

And FreeBSD isn't actually POSIX-certified anyway!

The real consideration here is simply that there are tons of existing rc scripts for BSDs, and switching them all would be a large task.

valleyer··on RCE via ND6 Router Advertisements in FreeBSD
That's fine; I just thought it was weird to say that we should check to see whether any shell scripts are used in the BSD init system. We know there are; it was a deliberate design decision at the time, even if we might now wish for it to be different.
valleyer··on Using TypeScript to obtain one of the rarest license plates
You should not be getting notifications while driving.
← PreviousPage 7 of 27Next →