News for hackers. Stuff that matters.

dregitsky

Re:Agents don't need memory. They need documentation on Sunday October 04, 2026 @02:29PM (#49956511)
> The code IS the documentation

I liked this advice when humans wrote code. Though even then I'd urge people to write meaningful commit messages that capture the "why" of what they did, so no one tramples their intent by mistake.

But not sure it works in an age where most code is LLM-generated. Especially if that code is not even reviewed by humans (irresponsible or not, it's happening), and commit messages are also generated by AI. I think something is needed to separate "what did the human operator intend" from what the agent went and built.

I do agree that this gets way overengineered. My approach has been more or less what you stopped doing though - committing all our timestamped "plan/implementation docs" and "investigation docs" that document what the user wanted + empirical findings, and making all prior session transcripts searchable. It's seemed mostly helpful? For whatever reason I haven't run into many staleness problems so far.

Re:Bill to Ban Private Equity from Owning Medical Practices on Monday September 21, 2026 @12:31AM (#49783082)
This is inaccurate - natural monopolies are a thing.

Monopolies happen due to barriers to entry, and not all barriers to entry are government-created or illegal: network effects, big upfront costs, economies of scale, control of a scarce resource, etc.

Regulation can produce a monopoly, but lots of regulations also exist to keep natural monopolies in check.

Re:Our decision on Cursor following its acquisition by SpaceX on Saturday August 29, 2026 @03:19AM (#49487687)
Devin Automations is the most obvious one: solid UX, but can get very expensive to run.

There are also a bunch of newer startups in this space. I'm building one myself, https://boxes.dev -- we're very early but building for this exact use case. Some other ones worth a look are Factory Droid and Amp Orbs. Those two build their own agent harness (like Cursor), whereas with boxes.dev we run the native codex and claude code harnesses directly.

Re:Trade (and Tariffs) on Thursday August 27, 2026 @01:05PM (#49467909)
> The only difference is to what degree they wield the tariff hammer, and in which direction it is swung.

I mean that's the point, no? Swing the hammer carefully at a nail or with maximum force at your own leg?

Or to drop the metaphor - much of the difference between good and bad policy is a difference in degree. So your counterargument here is valid against "all tariffs are bad" but I believe the point most are making is "the current admin's use of tariffs is bad" which makes your counter appear as a bad-faith mischaracterization.

Re:The Hugging Face incident and the road ahead on Wednesday August 26, 2026 @05:14PM (#49456035)
Yeah, it's kinda scary. I don't know if you even need open weight self hosted models for this sort of "AI worm" (though they def make it harder to kill). Like for example:

- AI agent finds and uses API keys or AI subscriptions to propagate itself. OpenAI/Anthropic/etc could revoke creds, and their current safeguards might block a lot, but if something like this got started and there were lots of instances creatively looking for creds and workarounds, containment might be hard.

- prompt injection version: huggingface incident had multiple agents discovering other agents' messages and jumping on the bandwagon to help with the hacking task. If there were some self-replicating instruction that models could accidentally stumble upon that gets them to drop what they're doing and try to propagate it instead, you could wind up with a version of this too, with just the inference people are already running.

Re:Devtools must be open source on Monday August 03, 2026 @06:20PM (#49162222)
Yep fair point. In my case I don't think codex team was really considering outside contributor PRs except bugfixes, plus my idea of "plan mode" was prob not what they wanted to ship in their product. But maybe I should have tried!
Re:Devtools must be open source on Monday August 03, 2026 @06:16PM (#49162181)
For boxes.dev we use E2B - they had everything we needed at the time. I'd love a standardized API / marketplace, but more just to try out new providers with differentiated features or pricing - we probably wouldn't be switching often / using multiple (unless customers asked us for more options). There are so many sandbox providers popping up!

Our use case is pretty specific though - one persistent machine that you set up your full developer environment on, then ability to very quickly spin off full copies of that machine (filesystem + memory) as separate VMs to run agents on. Firecracker VMs + support for "forking" the box were our key requirements. Another provider that could do this was Modal, but they use gVisor and not Firecracker, which means it's harder for users to run docker inside the box.

Re:Devtools must be open source on Monday August 03, 2026 @01:08PM (#49158567)
Yeah I think this is changing, fast.

100% agree on "clone X and tell me how it works". I'd also add: "clone X and see how it does Y; use that as design reference for building feature Z" if licenses permit.

On modifying software... I forked codex in ~Dec and had my own lightweight "plan mode" and a few other things. It was fun and satisfying, but it ended up being a bit of a pain to keep updated. The models were less good then, and maybe I should have learned some rust first. But it was close. For a less fast-moving codebase it'd have worked, and that was 8mo ago.

On the other hand as someone building in devtools for the first time, I struggle with how to think about this. We're building a cloud agent + sandbox platform, https://boxes.dev - same problem space as the author's product exe.dev. We could open source our client or the whole stack (we've been thinking about it), but we're adding stuff so quickly that anyone customizing would have a hard time with updates. There's also a lot on the hosted side that users couldn't modify unless they self-host.

But I like this vision of a world where software is some fluid thing, and everyone is writing personal mods and building off of others' - basically OSS with forks but where every user (or their agent at least) is engaged with the code.

Re:Mitchellh starts a new company: Superlogical on Thursday July 30, 2026 @03:59AM (#49107177)
These tools all assume you have machines to run the agents on. But for parallel agents I'm pretty convinced you want each agent on its own isolated devbox running your dev environment (not e.g. worktrees on one box) - which isn't trivial to set up and manage.

I'm working this with https://boxes.dev - a workspace for launching and managing claude + codex sessions, each running in its own cloud devbox.

We launched with a desktop app but have gotten a lot of pull for terminal-driven workflows, so have a TUI as well. It's interesting - when the Codex desktop app launched I was so sure that GUI is the future for coding agents (it's just a chat!). But turns out there's no killing the CLI

Thanks! We aggressively spin down idle boxes. We'll put any box to sleep where the agent has finished its turn and you're not connected, and then we'll wake it again if you connect (firecracker VMs can sleep/wake very quickly). We don't charge for sleeping boxes (neither does our infra provider) so this keeps costs down for everyone.
Thanks! Longer term it's hard to say if everything 100% moves to the cloud. I'd guess that some things stay local (e.g. if you need your local hardware or are very are hands-on iterating with the code). But at the moment the average developer coding with AI seems way too local-bound, so we're focused on making remote development more convenient. At some point down the road we may add local as an option too.
Yes it definitely sped up development! The main wins were around parallelization and autonomy:

1) full isolation (filesystem + compute per thread) 2) agents having a working dev environment that runs our app 3) being able to close our laptops and check in from mobile

The combo of these meant we could fire and forget lot of parallel threads like "root cause and fix this bug: add logging, run app, get a repro, write fix, validate live" or "build this feature, test new workflows live, send screenshots" -- and then come back later to review & iterate.

You can get to a reasonable level of this with locally with git worktrees and the right project setup, but in the cloud you can really fly.

Nice! We love hearing about personal setups to solve these same problems. One difference between boxes.dev and your setup is that we spawn an exact copy of the main box for each agent thread, so it's totally isolated. But doing parallel agents on one box can definitely work too, it's just more work to configure a project for it.

Our bet is that a lot of people will want something prebuilt, and that the last-mile UX for making a good coding workspace (including code review, etc) is actually nontrivial, especially at companies.

Thanks! We were also excited about Sprites when it launched but it didn't quite work for us either. And Cursor Cloud Agents is definitely pretty similar -- one area where we differ is that Cursor only uses their custom harness, and we liked using the actual Codex/CC harnesses directly (and wanted to benefit from any improvements big LLM cos are making to their models+harnesses)
> What kind of cpu/memory do the vms get?

Default is 4 vCPU / 8 GB memory but it's configurable at the team/project level (can go higher).

> Is there a way to define the template that's used, so I can say to a new team member, log in to boxes.dev and all the repos and tools are already there for you?

Yes we're moving in this direction! For the current public version each person sets up their box and then agent threads start on a snapshot of that box. But for companies, what you laid out is 100% the vision and coming soon. No more eng onboarding, and maybe even give non-technical folks a default dev environment where they can spawn agents and prototype.

> And where do you get the machines, can we bring our own?

Right now we're using MicroVMs with E2B as our infra provider, but for companies we're exploring how to support bringing your own. Happy to chat if interested!

Nope you're exactly right - we're using microVMs today (Firecracker VMs via E2B) and running that same shape but on customer-owned machines is definitely one approach we're looking into.

And thank you!

To add to what @nab said, the longest ("overnight") runs are usually after going back and forth to build out a big multi-phase plan doc -- especially when each phase has an extensive manual test plan (agent runs the app in a browser, clicks through the workflow, watches logs, confirms behavior, etc).

These can go for many hours from all the manual testing and debugging. Quality really depends on how much you spec things out beforehand, and how you define the test plan / "success" gates. If the agent can't even run the app to test it then things can definitely go off the rails!

It's just one hour of runtime. But we put the machines to sleep very quickly once the agent finishes its work, and then wake when you interact in the UI (e.g. terminal, filesystem, send the agent a followup). We're running on firecracker microVMs so can sleep/wake very quickly, which keeps things nice and responsive.

Re: web searches -- we're running a full linux kernel and the agent runs on the machine itself, so we can't sleep mid run. But conceptually, moving the agent off-box and sleeping during web searches etc would be interesting, but in our experience coding agents are running enough stuff on the machine itself (rg, bash, playwright, etc) that there wouldn't be much savings.

Re:Ask HN: Show me your half baked project on Friday October 13, 2023 @12:16AM (#37866600)
http://www.plottingtool.com/app.html

It's a fully client-side, Tableau-inspired data visualization & exploration tool for CSV / tabular data. I built it around 7 years ago with just ES6 and d3.js (no React etc) but never really finished or "launched" it - perfectionism led to a neverending todo list, and with a target market of only myself I didn't have a strong pull toward solving a real-world use case. I even took some time between jobs thinking I'd build it into a real product, but only managed to burn myself out instead (quite a surprise to learn that could happen on a passion project!)

But it does work - drag in a CSV file (ideally <100MB) and you can make some cool charts and quickly explore a dataset, all without the data leaving your machine. The features aren't very discoverable, but it has stuff like adding derived columns, various fancy charts, row/column sorting, custom colors, etc. I'm sure there are far better tools around these days, but I've still come back to this thing a surprising amount in my day job when I want to whip up a quick histogram or investigate some trend in a medium-size dataset.

Re:The Curious Case of Polywater on Friday November 08, 2013 @08:32PM (#6700278)
Actually a single water molecule is held together by covalent bonds between the O and two H's, and hydrogen bonds (not Van der Waals) are the intermolecular forces responsible for the properties like surface tension and high boiling point.
Re:Why an MRI costs $1,080 in America and $280 in France on Friday March 15, 2013 @03:58PM (#5382637)
We might not need the government to fully subsidize healthcare to improve things though. Prices are set so high that hospitals - even nonprofit ones - have huge profit margins (this is better stated in the original [now-paywalled] TIME cover story: http://www.time.com/time/magazine/article/0,9171,2136864,00....). So even without the government paying for everything, there could be regulation to control prices set by healthcare providers.
Re:GroupMe: Split the Bill on Thursday March 07, 2013 @07:48PM (#5341463)
With restaurant bills, things get rather complicated when everyone orders different items, someone bought a Groupon, etc. Unless people are OK with over/under paying, a bill splitting app can be pretty useful to figure out what everyone actually owes.

Cash works well when everyone has it, but from what I've seen that doesn't happen all that often. Also, you get a lot of restaurants that refuse to itemize the bill (maybe their point of sale system doesn't support it), and sometimes they'll only take 1 credit card. Integration with payment apps is great for that. It goes beyond saving time...an app can help make sure people pay up and the IOUs don't become permanent.

Disclosure: I recently released Grouptuity (https://play.google.com/store/apps/details?id=com.grouptuity), which tries to solve these problems and integrates with Venmo.

Re:How to start working on side projects on Monday February 25, 2013 @03:05AM (#5277841)
Not that it'd help you specifically, but I've found that working with someone else can be really beneficial for getting things finished. For me it was great for keeping stuff on track and staying accountable when it comes to finishing parts of it up. That said, only certain kinds of projects are good for this.