Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've tried to use ChatGPT to answer programming questions where I need either a library reference and/or an example. I find that ChatGPT isn't better than looking up the library reference, but that sometimes it's faster for it to generate the example that I'd otherwise have to look on several pages before I find.

I also spend too long clarifying what I mean.

For example, I wanted for a Rust program to detach into the background, and ChatGPT (with my stupid prompting) kept suggesting I just run `std::process::Command::new("program")`, but I want a single executable to detach! Eventually, once I struck the right chord, it suggested the `daemonize` crate. But it wasn't until after I'd found that by conventional search.

I sometimes use the Kagi !fgpt pattern if I know that what I'm searching for has a good average answer. It'll give that answer and skip the blinking ads, cookie pop-ups, newsletter popups, and autonomously scrolling on my behalf.

I'm looking forward to having an offline AI assistant that'll search and accumulate, rather than hallucinate answers from a bunch of stolen code snippets that akin to "copy-pasting from StackOverflow, but with hallucinations."



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: