Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benswerd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
benswerd
3mo ago
Generally, when using these components I ended up wanting to customize a lot. I switched around the options, coloring, the words in the loading, I mix and matched the components from different CLIs, etc. I think these are more useful as bas
32.
▲
Brainless: Shadcn components that look like Claude Code, Codex and Grok
(brainless.swerdlow.dev)
128 points
by
benswerd
3mo ago
|
26 comments
33.
▲
by
benswerd
3mo ago
Without using agnost, what are some basic SQL queries I can run on my data to find outliers I'd otherwise be missing? How far can I get with just keywords, common phrases, boring traditional analysis? Depending on what I measure there,
34.
▲
AI Links: Index of deep links into popular agents
(ailinks.swerdlow.dev)
3 points
by
benswerd
3mo ago
|
1 comments
35.
▲
Designing APIs for Agents
(freestyle.sh)
79 points
by
benswerd
3mo ago
|
48 comments
36.
▲
Builders Fallacy
(davidgu.com)
3 points
by
benswerd
4mo ago
|
1 comments
37.
▲
by
benswerd
4mo ago
Been feeling this more recently, building got 10x easier but choose what to build kinda got harder.
38.
▲
How much do sandboxes cost?
(sandboxprices.swerdlow.dev)
3 points
by
benswerd
6mo ago
|
1 comments
39.
▲
by
benswerd
6mo ago
a pricing calculator showing the prices of different sandboxes with dials to compare them in practice.
40.
▲
by
benswerd
6mo ago
Live migrations and the tech powering it was the hardest thing I ever built. Its something that I think will come naturally to projects like smolVM as more of the hypervisors build it in, but its a deeply challenging task to do in userspace
41.
▲
X for AI Agents
(twitter.com)
4 points
by
benswerd
6mo ago
|
0 comments
42.
▲
by
benswerd
6mo ago
Its actually almost O(1) with respect to fork count. We have some O(N) behaviors but I expect to be able to remove those in the next 6 months and get to full horizontal fork O(1) any VM any fork count.
43.
▲
by
benswerd
6mo ago
We read your blogs when building all of this!
44.
▲
by
benswerd
6mo ago
Freestyle isn't designed for an individual engineer working on their Github repos. Its designed for platforms building coding agents that want to take the place of Github all together. Those platforms need some source of truth alongsid
45.
▲
by
benswerd
6mo ago
I'm not sure what you saw as slow, I'd love to improve it. Do you mean the dashboard? We're built as an API for platforms to build on rather than tool for individual developers. Oriented at platform orchestrating tens of thou
46.
▲
by
benswerd
6mo ago
So first I don't, I think startup times are fundamentally really important. 5s is different than 1s is different than 500ms is different than 200ms and users notice. I don't think people run real world benchmarks on what that cold
47.
▲
by
benswerd
6mo ago
This is a good note. We've never been great at explaining what we're doing and plan to do a lot more work on making it accessible/make sense.
48.
▲
by
benswerd
6mo ago
I don't believe so. while it is technically easy to fork claude code running in these VMs, its not technically difficult to fork a conversation loop outside of the VM as well. What matters is that its all forked atomically, which can b
49.
▲
by
benswerd
6mo ago
If git isn't for you we'd still love to support you. We believe to build the sandboxes for coding agents you also need to provide git repos for them so we do that as well. You can easily say give me this vm with these 3 repos and
50.
▲
by
benswerd
6mo ago
This assumes you can retain the same state after an operation. > "I wonder if this is slow because we have 100k database rows" > DELETE FROM TABLE; > "Woah its way faster now" > But was is the 100k rows or wa
51.
▲
by
benswerd
6mo ago
That + its not always simple to replicate state. A QA agent in the future could run for hours to trigger an edge case that if all actions to get there were theoretically taken again it wouldn't happen. That can happen via race conditio
52.
▲
by
benswerd
6mo ago
There is no partial state really possible. We can run out of space on a Node and just say no. But the nature of memory forking is if you don't literally do it 100% right it crashes immediately (I know cuz it took me a while too get it
53.
▲
by
benswerd
6mo ago
TBH I wouldn't recommend using it for this. I'm a big believer in agent chat running outside of the VM, where you can get much better control over the chat loop. I would treat the VM as a tool the agent is using rather than the ag
54.
▲
by
benswerd
6mo ago
We're actually median under 500ms — ~320ms median — I just didn't want to piss of hacker news with over estimatation. We have another set of optimizations that we believe can take us to ~200ms in the next few months but beyond tha
55.
▲
by
benswerd
6mo ago
Ah I see. This is very interesting but not what we're focused on right now. I will keep this in mind for future prioritization.
56.
▲
by
benswerd
6mo ago
Billed for wall time. whichever plan you are on you get in credits, so hobby plan gets $50 of credits and beyond that billed on per CPU wall time.
57.
▲
by
benswerd
6mo ago
We do not allow long term persistence for the free tier. This is purely a defense mechanism, I don't want to guarantee storing the data of an entire VM forever for non paying users. We have persistence options for them like Sticky pers
58.
▲
by
benswerd
6mo ago
CI Builders/QA Agents can do this very well. User session starts, bring VM up with content + dependencies, when session is done throw it away. Keeps it clean, debuggable, fast and cheap.
59.
▲
by
benswerd
6mo ago
Freestyle has really built with this in mind. We propose a primary architecture built around declarative configuration of the vm with a git repo as external source of truth. If the VM crashes/you have another idea/you want to try
60.
▲
by
benswerd
6mo ago
Yessir, we haven't mastered it yet but we've compiled the kernel with enough flags for stuff like nftables and KVM to make it possible.
More ›