News for hackers. Stuff that matters.

EmptyDrum

Re:Maybe we can keep on coding? pseudo code project on Wednesday March 11, 2026 @10:15PM (#47345505)
That's not the point of the skill.
Re:Maybe we can keep on coding? pseudo code project on Wednesday March 11, 2026 @03:44PM (#47340284)
I agree - in the end we have some fuzzy turing machine when writing in pseudo code. I think it is inherently hard to get this right. I also think that these decisions about control flow etc should stay with the developer given I find it very rewarding and LLMs are not very good at it yet (even though they have promised us the improvements for the past 5 years lol).
Re:Maybe we can keep on coding? pseudo code project on Wednesday March 11, 2026 @01:47AM (#47332086)
I feel like that this is fundamentally impossible to solve for. Approximately the effort = planning + checking correctness seems to be constant.
Re: on Wednesday March 11, 2026 @01:45AM (#47332068)
Spam
Re:Maybe we can keep on coding? pseudo code project on Wednesday March 11, 2026 @12:18AM (#47331715)
Btw, I got inspired by this: https://www.williamjbowman.com/blog/2026/03/05/against-vibes...

Really useful read!

Re:Maybe we can keep on coding? pseudo code project on Wednesday March 11, 2026 @12:13AM (#47331687)
True (will fix) - but then still, Claude will still not change my pseudo code, but directly translate. I liked that part particularly.

Maybe we can keep on coding? pseudo code project

6 months ago a few people [https://news.ycombinator.com/item?id=44940089] agreed that LLMs are very good at translating Pseudo-code to real code. I agree. Also, writing pseudo code somewhat makes me feel a similar state of flow. Maybe even more, because no compiler/interpreter annoys me about syntax issues. Now, I built this:https://github.com/HalfEmptyDrum/Pseudo-Code-FlowIt is basically a...

( Read More... | 12 comments | 4 points | on HN )
Re:Press-One: Auto-accept every Claude Code prompt on Tuesday March 10, 2026 @03:23AM (#47320047)
I kept mashing 1 to accept changes in Claude Code, so I automated it. It spawns your command in a PTY and pipes "1" into stdin on a loop.

  npm install -g press-one
  press-one --delay 3000 claude "fix all the bugs"                                                                                                                                                                                                                                        
                  
  Known "features": a slow stream of 11111 appears while the model is thinking, and you can't type because stdin belongs to the machine now. Zero dependencies (just Node + Python for PTY allocation). MIT licensed.
Yes, I partially used their approach which I found very smart. Added a few improvements which you can find on the GitHub.

Show HN: Context-compact – Summarize agent context instead of truncating it

https://github.com/HalfEmptyDrum/Context-Compactor

agents. Not a custom truncation strategy, not a sliding window, not dropping old messages and hoping for the best. The failure mode is well-understood: your context window fills up, you truncate from the top, and the agent loses the thread. It forgets the task it was working on, the file path it just wrote to, the UUID it needs to reference. The conversation breaks. The problem is everyone...

( Read More... | 3 comments | 6 points | on HN )
Re:Show HN: key-carousel - Key rotation for LLM agents on Friday March 06, 2026 @06:11PM (#47282339)
fyi - this was built inspired by how OpenClaw manages llm-keys. I liked their idea and improved on it. Feedback is welcome.

Show HN: key-carousel - Key rotation for LLM agents

https://github.com/HalfEmptyDrum/Key-Carousel

I think in-process key management is the right abstraction for multi-key LLM setups. Not LiteLLM, not a Redis queue, not a custom load balancer.The failure modes are well-understood: a key gets rate-limited, you wait, you try the next one. Billing errors need a longer cooldown than rate limits. This is not a distributed systems problem — it's a state machine that fits in a library. The problem...

( Read More... | 3 comments | 5 points | on HN )