Live data from Hacker News

Show HN: ChatGDB – GPT-Powered GDB Assistant

github.com

11–20 of 57 posts

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#11
post #3

Also give me ChatAPT, the tool that helps you when your Debian package manager is in a broken state. And similar tools ChatPIP and ChatConda. Hell, just give me ChatAdmin.

Actually, that might be a future project! I am a bit worried about how much data I'd be sending on each request and how that may eat into tokens though, especially for more troublesome issues.

Yes I'm trying to catch up with the llama crowd - I wouldn't mind giving recursive shell access to a locally hosted, offline language model. On the other hand, hooking up a networked LLM to your networked shell is essentially a RCE by design

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#12

Did anyone use this for an actual project. I am wondering how those chatX applications actually help. When I had to use a dissasembler the issue was not commands, because those become muscle memory after a few hours of use. (LLM solutions are anti muscle memory because for the same prompt you can get diff results) The issue I had was wrapping my brain around what is actually going on, keeping track of pointers, addre…

I use gbd so rarely that I often forget the commands between sessions. Then I use print debugging when it’s not the best tool just because I don’t want to lookup the commands. I could see the use for this kind of thing.

Same problem when coding shell scripts. It’s like they tried to invent the hardest to remember language. I often use python instead of bash just because I can remember it and read it.

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#13
post #10

“ChatGDB, find me the memory leak!” is what I would want to say! Not really dictate commands I don’t know I may even need.

https://github.com/openai/triton/pull/1358#issue-1628393794

>One fun thing - after tracking down the code to the block of C++ code, ChatGPT-4 is what actually found the memory leak for me :)

although I can't imagine what the prompt was.

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#14
GTP man pages would be awesome. This is pretty close to that for GDB. Although I suspect this is a limited view of the possibilities akin to thinking "the internet sounds neat, I can use it to find new pen pals".

It also makes me wonder if the command line will return as the premiere PC interface. Why would I want to use your web page with all its lovely design and branding when I can just ask the command line to show me the information the way I want?

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#15
Is there something like this for the command line in general? I'd love to have a ? command that takes an optional prompt and feeds my current shell history to chat gpt and gets a recommendation for the last command that failed.

Something like https://github.com/nvbn/thefuck but with some intelligence instead of hard-coded rules.

That's somewhat problematic if you have secrets in there, but you could just not use it if you know you have sensitive things in your shell history. You still need to be aware of that without ChatGPT since most systems save your shell history to the file system where it could remain accessible for much longer than you'd think. IIRC they don't use things from the API for training, but I wouldn't depend on that being safe.

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#16

Haha, that is really cool. However this is one of those things where I have no idea how to tell if ChatGPT is bullshitting me because I don't know how to GDB on my own.

It's also the type of thing where it's extremely unlikely to bullshit.

And ALSO the type of thing where I think you can work out if it's bullshitting you on your own; if it works, it's not bullshitting.

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#17
post #15

Is there something like this for the command line in general? I'd love to have a ? command that takes an optional prompt and feeds my current shell history to chat gpt and gets a recommendation for the last command that failed. Something like https://github.com/nvbn/thefuck but with some intelligence instead of hard-coded rules. That's somewhat problematic if you have secrets in there, but you could just not use it i…

Security isn’t a problem if you’re running the model locally. I came across this project and would love to build an embedded version: https://github.com/BuilderIO/ai-shell

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#19
post #15

Is there something like this for the command line in general? I'd love to have a ? command that takes an optional prompt and feeds my current shell history to chat gpt and gets a recommendation for the last command that failed. Something like https://github.com/nvbn/thefuck but with some intelligence instead of hard-coded rules. That's somewhat problematic if you have secrets in there, but you could just not use it i…

Warp Terminal has an AI command search built in, using natural language. It's pretty nice, if you can get past the fact it requires an account to use it and it's not OSS

Re: Show HN: ChatGDB – GPT-Powered GDB Assistant

#20
post #15

Is there something like this for the command line in general? I'd love to have a ? command that takes an optional prompt and feeds my current shell history to chat gpt and gets a recommendation for the last command that failed. Something like https://github.com/nvbn/thefuck but with some intelligence instead of hard-coded rules. That's somewhat problematic if you have secrets in there, but you could just not use it i…

Sounds like Copilot for CLI: https://githubnext.com/projects/copilot-cli/
Post reply on HN