News for hackers. Stuff that matters.
Re:LLM Codegen go Brrr – Parallelization with Git Worktrees ... by diggan on Wednesday May 28, 2025 @04:28PM (#44120363)
> but I require a ping pong with the LLM to iterate on the code/approach

I've never got results from any LLM when doing more than one-shots. I basically have a copy-pastable prompt, and if the first answer is wrong, I update the prompt and begin from scratch. Usually I add in some "macro" magic too to automatically run shell commands and what not.

It seems like they lose "touch" with what's important so quickly, and manages to steer themselves further away if anything incorrect ends up at any place in the context. Which, thinking about how they work, sort of makes sense.

Re:LLM Codegen go Brrr – Parallelization with Git Worktrees ... by foolswisdom on Wednesday May 28, 2025 @07:11PM (#44121431)
That doesn't take away from the OP's point (and OP didn't specify what ping ponging looks like, could be the same as you're describing), you are still iterating based on the results, and updating the prompt based on issues you see in the result. It grates on a human to switch back and forth between those attempts.
Re:LLM Codegen go Brrr – Parallelization with Git Worktrees ... by scroogey on Thursday May 29, 2025 @03:02AM (#44123731)
But if you're "starting from scratch", then what would be the problem? If none of the results match what you want, you reiterate on your prompt and start from scratch. If one of them is suitable you take it. If there's no iterating on the code with the agents, then this really wouldn't add much mental overhead? You just have to glance over more results.