News for hackers. Stuff that matters.
Re:Show HN: Smol machines – subsecond coldstart, portable vi... by onion2k on Saturday April 18, 2026 @03:30AM (#47813922)
Not really related to this 'discussion' but this is an interesting problem in the AI space. It's essentially a well understood problem in unreliable distributed systems - if you have a series of steps that might not respond with the same answer every time (because one might fail usually) then how do you get to a useful and reliable outcome? I've been experimenting with running a prompt multiple times and having an agent diff the output to find parts that some runs missed, or having it vote on which run resulted in the best response, with a modicum of success. If you're concerned about having another layer of AI in there then getting the agents to return some structured output that you can just run through a deterministic function is an alternative.

Non-determinism is a problem that you can mitigate to some extent with a bit of effort, and is important if your AI is running without a human-in-the-loop step. If you're there prompting it though then it doesn't actually matter. If you don't get a good result just try again.

Re:Show HN: Smol machines – subsecond coldstart, portable vi... by prox on Saturday April 18, 2026 @07:32AM (#47815058)
Don’t know if this is an annoying response… but how about just going through the code and check and grade the quality yourself?
Re:Show HN: Smol machines – subsecond coldstart, portable vi... by onion2k on Saturday April 18, 2026 @03:42PM (#47818888)
I could do, but the end goal is to scale this to 100x what I can do myself, and there isn't time to review all those changes. By attempting to answer the problem when it's tiny and I can still keep it in my head then I'll end up building something that works at scale.

Maybe. The point is that this is all new, and looking forwards I think it's worth figuring out this stuff early.