News for hackers. Stuff that matters.
Re:Human coders are still better than LLMs by myvoiceismypass on Thursday May 29, 2025 @09:29PM (#44131948)
I get irrationally frustrated when ChatGPT hallucinates npm packages / libraries that simply do not exist.

This happens… weekly for me.

Re:Human coders are still better than LLMs by protocolture on Thursday May 29, 2025 @10:51PM (#44132375)
"Hey chatgpt I want to integrate a slidepot into this project"

>from PiicoDev_SlidePot import PiicoDev_SlidePot

Weird how these guys used exactly my terminology when they usually say "Potentiometer"

Went and looked it up, found a resource outlining that it uses the same class as the dial potentiometer.

"Hey chatgpt, I just looked it up and the slidepots actually use the same Potentiometer class as the dialpots."

scurries to fix its stupid mistake

Re:Human coders are still better than LLMs by wvenable on Thursday May 29, 2025 @10:18PM (#44132189)
Weird. I used to have that happen when it first came out but I haven't experienced anything like that in a long time. Worst case it's out of date rather than making stuff up.
Re:Human coders are still better than LLMs by bdangubic on Thursday May 29, 2025 @09:30PM (#44131958)
just ask it to write and publish them and you good :)
Re:Human coders are still better than LLMs by gessha on Thursday May 29, 2025 @10:38PM (#44132298)
Jia Tan will have to work 24/7 :)
Re:Human coders are still better than LLMs by mhast on Friday May 30, 2025 @05:19AM (#44134395)
My experience with this is that it is vital to have a system where the system can iterate on its own.

Ideally by having a test or endpoint you can call to actually run the code you want to build.

Then you ask the system to implement the function and run the test. If it hallucinates anything it will find that and fix it.

IME OpenAI is below Claude and Gemini for code.

Re:Human coders are still better than LLMs by floydnoel on Friday May 30, 2025 @08:36AM (#44135570)
tell it that you won’t accept any new installed packages, use language features only. i have that in my coding prompt i made.