Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. GPT-6 Sol and Luna(openai.com)
    339comments
  2. Claude Opus 5.5(anthropic.com)
    601comments
  3. OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005(cryptocellar.org)
    330comments
  4. Claude Opus 5.5 Intelligence, Performance and Price Analysis (Max)(artificialanalysis.ai)
    43comments
  5. WordPress: Unauthenticated path traversal leading to conditional RCE(github.com/wordpress)
    43comments
  6. Pentagon: Palantir AI Overreliance Led to Strike Killing 123 Iranian Children(bloomberg.com)
    53comments
  7. SAML: A Fractal of Bad Design(trailofbits.com)
    2comments
  8. Unreal Agent(unreallabs.ai)
    13comments
  9. There's a high chance of devices being sold with GrapheneOS preinstalled in 2027(grapheneos.social)
    71comments
  10. OpenAI is well positioned to fast-follow Jev(arcturus-labs.com)
    156comments
  11. 16-bit Intel 8088 chip (c. 1985)(allpoetry.com)
    11comments
  12. Launch HN: Coverage Cat (YC S22) – Umbrella insurance via your personal agent(coveragecat.com)
    20comments
  13. Writing Rust code that's fast by asking agents to make the code faster(minimaxir.com)
    37comments
  14. The human brain is two separate organs, study finds(stanford.edu)
    discuss
  15. Apple has added persistent 'ads' to iOS, and it's driving users crazy(techradar.com)
    362comments
  16. George Lucas Returns to Earth, Bearing Gifts(commonedge.org)
    10comments
  17. Obscura: The first VPN that can't log your activity(obscura.com)
    discuss
  18. Solitaire Alone Together(solitairealonetogether.com)
    25comments
  19. Show HN: Drop – A rootless Linux sandbox with gVisor support(droprun.sh)
    44comments
  20. Show HN: AI·rete·RAG – a Rete rule engine decides, RAG explains why(ai-rete-rag.com)
    2comments
  21. Can gzip be a language model?(nathan.rs)
    135comments
  22. A study of sequence weighting at scale(janestreet.com)
    discuss
  23. One Minute Park(oneminutepark.tv)
    5comments
  24. AMD's random number generator can't generate a 0?(flatassembler.net)
    171comments
  25. Explaining to business people why building software is still hard(manager.dev)
    3comments
  26. Truman World(trumanworld.live)
    31comments
  27. The Economics of Open-Weight Inference(ornn.com)
    25comments
  28. Relativistic raytracing(publish.obsidian.md)
    5comments
  29. Show HN: InstinctFlash – Run 5B world-action models in real time on Jetson Thor(github.com/general-instinct)
    2comments
  30. Training a model to identify AI-generated web content from structure alone(arxiv.org)
    2comments

Fly's Sprites.dev addresses dev environment sandboxes and API sandboxes together

41 pointsby 8mo agosimonwillison.net
18 comments
8mo agoHN ↗

> In a smart piece of design, Sprites uses pre-installed skills to teach Claude how Sprites itself works. This means you can ask Claude on the machine how to do things like open up ports and it will talk you through the process.

^^ So is Claude Code baked into a default sprite? If so, how/who/what API key is paying for CC? (I'm assuming this gets configured some way? Perhaps in just the normal CC CLI way?)

8mo agoHN ↗

Yes it's baked in. You as the user pay for a separate Anthropic account and login with that when you first use a sprite.

8mo agoHN ↗

Stupid question but why not use a local sandbox for yolo mode instead of a remote machine.

Is there a similar service that runs locally?

8mo agoHN ↗

a local sandbox may not be perfectly isolated, unless you’re running it in a VM. But then that takes up local resources. or you’re on the go a lot. a person might not have a reliable local machine or network or be in a position to keep it on and consistent all the time.

8mo agoHN ↗

literally sandboxes in the cloud. sand castles…

8mo agoHN ↗

That seems fine if you have a box that's running all the time and something like tailscale set up. I haven't bothered because I'm lazy, but I do want any coding agents I have off my laptop and off the local network, because I'm a little wary about them getting subverted. They need Internet access anyway, so might as well.

Since I anticipate using coding agents a lot, that means my dev environment is going to live in a VM in the cloud from now on.

8mo agoHN ↗

The big issue with this is though that GPUs are not available. I believe many people have local workstation boxes where they do dev on and need proper sandboxes and stuff like firecracker is also not super useful as afaik GPU passthrough is not ideal/working. Or any kinds of larger HW requirements.

8mo agoHN ↗

A workaround might be to copy a directory out with something like Syncthing so you can test locally. But then the coding agent can't help you. So yeah, I can see setting up a box for that. I'm doing web development so it's not an issue for me.

8mo agoHN ↗

then all benefit from the sandbox is lost

8mo agoHN ↗

as a guy who is not in loop with all these sandbox developments, I apologize for this extremely stupid question. Why do we need any of these sandboxes? Why cant we use docker? I thought it was a solved problem 10 yrs ago?

8mo agoHN ↗

I think one difference is that it also provides the service of being a production environment you can serve from at the same time as development. There's more information about this thought in the fly io blog post.

8mo agoHN ↗

I just use Docker devcontainers using Anthropic's own Dockerfile as a base, and it gives me a persistent sandbox that have ports opened and work in any container environment (be it remote or local), and work in any IDE that supports devcontainers...

https://anil.recoil.org/notes/ocaml-claude-dev

8mo agoHN ↗

So what if Claude Code makes a mistake and tears up the sandbox? What happens to all the persisted state (aside from the container image)?

The linked fly.io article discusses why containers aren't a good fit for sandboxes that need persistent state and how sprites.dev addresses the challenges.

8mo agoHN ↗

I read the linked fly article and didn't see where it's mentioned why containers aren't a good fit for sandboxes that need persistent state. You can definitely do all the same snapshoting directly on your local docker volumes, although granted you'd need zfs or lvm backed volumes (which is probably what sprites do under the hood).

I think there are tradeoffs here. Maybe your one person vibe coded app doesn't need any change management, IaC, any of that. No docker file, start with whatever docker file fly wrote for you, beat it with an agent until it works enough. And it's pretty cool that you can then just serve it directly. Is it dev or prod? Yes.

On the other hand, I really don't think editing php files over ftp in prod was ahead of it's time -- I was there, man, and it sucked. I just know I'll be really confused about why something doesn't work eventually and wish I had some tracking of what changed over time. I want my IDE. I want VCS!

8mo agoHN ↗

Maybe it's concerns about docker chroot escape? I'm not sure what the current consensus is on how "secure" docker is, but in the past I've heard you shouldn't assume an app in a container is fully isolated from the "host" system.

8mo agoHN ↗

See: A field guide to sandboxes for AI¹ on the threat models.

I want to be direct: containers are not a sufficient security boundary for hostile code. They can be hardened, and that matters. But they still share the host kernel. The failure modes I see most often are misconfiguration and kernel/runtime bugs — plus a third one that shows up in AI systems: policy leakage.

¹ https://www.luiscardoso.dev/blog/sandboxes-for-ai