News for hackers. Stuff that matters.

jshobrook

Unfortunately, I don't see a way around it. There's no other way to capture the output buffer.

Show HN: Wut – a CLI that explains the output of your last command with an LLM

https://github.com/shobrook/wut

Just type wut and an LLM will explain whatever's in your terminal. You’ll be surprised how useful this is. I use it mainly to understand and debug stack traces, but there are a bunch of other use cases:- Deciphering error codes- Fixing incorrect commands- Summarizing logsYou can connect wut to OpenAI, Anthropic, or a local model via Ollama.I hope y’all find this as helpful as I do!

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

Show HN: A library of tree search algorithms for AI agents

https://github.com/shobrook/saplings

Hi HN,I built this to address what I see as the fundamental problem with ReAct-style agents: compounding errors. Even a small mistake made early enough in the loop can snowball and ruin the final output. But with search, agents can look multiple steps ahead and backtrack before committing to a particular trajectory. This has already been shown in a few papers to help agents avoid mistakes and...

( Read More... | no comments | 2 points | on HN )
You can use the AST to chunk the code: https://docs.sweep.dev/blogs/chunking-2m-files
Re:Programming Is Mostly Thinking on Sunday April 21, 2024 @01:46PM (#40107632)
In other words: the more useful Copilot is, the easier your job is.
Re:Google open-sources their graph mining library on Tuesday October 03, 2023 @09:16PM (#37759746)
You could try using something like Adrenaline https://www.useadrenaline.com/ I built it exactly for this use case :)

Show HN: I made a chatbot that debugs your code better than ChatGPT

https://useadrenaline.com/playground

I built this using semantic search and the ChatGPT API, which was just released the other day. What makes it special is it not only understands the code you're debugging, but also pulls in additional context like relevant documentation to help answer your questions and suggest code changes. Ultimately, my goal is to take the hassle out of pasting error messages into Google, finding a vaguely...

( Read More... | 1 comment | on HN )
Thinking of adding an "arrogance" mode
Surprisingly helpful with custom exceptions, nice job
Re:Ask HN: What project are you working on over the holidays? on Friday December 26, 2014 @05:04AM (#8798572)
My friend and I recently launched http://therealilluminati.co/ It's a tool that automagically intros two people that should know each other. Get intro'd to someone awesome to help reach your goals, essentially. Check it out! :)
Re:Ask HN: Pre-mature baldness, self confidence and networking on Friday December 26, 2014 @05:02AM (#8798570)
P.S. In terms of baldness ... you're on the internet! Physical appearance is the least of one's concern here.
Re:Ask HN: Pre-mature baldness, self confidence and networking on Friday December 26, 2014 @05:01AM (#8798567)
The Real Illuminati, http://therealilluminati.co/, is actually starting to blow up. From what I know, it's a tool that automatically intros you two people that should know each other. Seems like an excellent tool for networking, their tagline is "Get intro'd to someone awesome to help reach your goals"