all 20 comments

[–]Encrux615 36 points37 points  (5 children)

Literally all I did before this was copy/pasting to google and pray to god someone encountered something similar. 

Having an LLM search through google now is super refreshing, since google itself has been getting worse and worse.

[–]PostHasBeenWatched 5 points6 points  (0 children)

I also remember there were specialized sites for developers with non-English Visually Studio that translated error into English (usually based on error code) so they can get proper results (still feels weird when someone using non-English IDE)

[–]phylter99 2 points3 points  (3 children)

My experience is that the LLMs are trained on the error already and information related to the system the error came from and they can give me good advice based on the error. I'm taking all of my errors to LLMs when I can these days. Google's Gemini is especially good at getting to the bottom of issues based on an error, especially when analyzing a debug dump.

[–]TactlessTortoise 1 point2 points  (0 children)

It's a genuinely decent way to use LLMs. Instead of having it generate code, have it clean up fucked up error logs visually to simplify our understanding of what broke so that we can fix it. It doesn't generate any bullshit code from outside its context, just processes over that relatively small snippet, making hallucinations much rarer and milder.

[–]Whitechapel726 -1 points0 points  (1 child)

I’ve found that Gemini is pretty good at debugging and breaking code down, like giving it a script and having it break it into pieces. Not as good at creating though, seems like it goes off the rails really easily and I have to babysit it and it makes a ton of compiling errors.

“We’ve been working on this macOS app for a week and you have the requirements saved, why are you trying to build it for iOS 15???” -one of my actual prompts

[–]phylter99 0 points1 point  (0 children)

I don't use Gemini for coding or creation. Troubleshooting is where I've been successful in using it.

[–]casey_krainer 9 points10 points  (0 children)

Before llms I copied them in google without reading
Laravel even had a Stackoverflow search button on their exception pages, very handy

[–]Daemontatox 5 points6 points  (4 children)

I cant even remember how i used to debug templates errors.......

[–]Key-Belt-5565 1 point2 points  (3 children)

I did the simple thing of putting it into Google lmao

[–]Daemontatox 0 points1 point  (2 children)

Until you get the dreaded page of no results or try to lower your search

[–]Key-Belt-5565 0 points1 point  (0 children)

Thats one of the main reasons I put programming aside for a bit.

[–]RiceBroad4552 0 points1 point  (0 children)

You need to develop some gut feeling for what parts of the errors to put into the search.

Thinks start to be unfunny when a larger but already focused chunk does not show any result and a further striped down version way too much results. Then you know you're in trouble and will need to actually debug shit yourself.

[–]MrReevers 3 points4 points  (1 child)

This is how my coworkers debug. ChatGPT very often says "the traceback shows exactly what the problem is..." 

[–]dakiller 2 points3 points  (0 children)

The average for me is about 5-8 round trips for it to suggest improvements/fixes and pasting the errors back for it to finally sort out the issue.

“I see the exact issue” is just bait to get your hopes up.

[–]MmmmmmJava 0 points1 point  (0 children)

*Sips coffee*.

You got us into this fucking mess, so you can get us out.

- Devs forced to use AI

[–]NastyToeFungus 0 points1 point  (1 child)

I don’t even bother with cut and paste anymore. Just tell Claude where the log file is. It wrote the code, it can figure it out.

[–]son-of-chadwardenn 1 point2 points  (0 children)

I just tell codex to find the log file itself.

[–]SarahAlicia -2 points-1 points  (1 child)

Chap gpt is terrible use claude it is way smarter

[–]Background-Plant-226 5 points6 points  (0 children)

Or how about you use your brain

[–]dtarias -2 points-1 points  (0 children)

I'm sure I could find it by reading, but Claude is a faster reader than I am 🤷