this post was submitted on 17 Feb 2025
411 points (95.2% liked)

Technology

62980 readers
3856 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 30 points 3 days ago* (last edited 3 days ago) (3 children)

I honestly don't know how anyone's been able to code anything predominantly using AI that's production worthy.

Maybe it's the way I'm using AI, and to be honest I've only used chatGPT so far, but if I ask it to generate a bit of code then ask it to build on it and do the next thing, by about the third or fourth iteration it's forgotten half of what we talked about and missed out bits of code.

On a number of occasions it's given me a solution and when I questions it about the accuracy of it and why a bit of it probably won't work I just get oh yes let me adjust that for you.

Maybe I'm doing AI wrong I don't know, but quite frankly I'll stick with stack overflow thanks.

[–] [email protected] 20 points 3 days ago* (last edited 3 days ago) (2 children)

It's only useful for stuff that's been done a million times before in my experience. As soon as you do anything outside of that, it just starts hallucinating.

It's basically like how junior devs used to go to stack overflow, grabbed whatever code looked like it would work and just plopped it in the codebase.

[–] Jesus_666 12 points 3 days ago (1 children)

I remember talking to someone about where LLMs are and aren't useful. I pointed out that LLMs would be absolutely worthless for me as my work mostly consists of interacting with company-internal APIs, which the LLM obviously hasn't been trained on.

The other person insisted that that is exactly what LLMs are great at. They wouldn't explain how exactly the LLM was supposed to know how my company's internal software, which is a trade secret, is structured.

But hey, I figured I'd give it a go. So I fired up a local Llama 3.1 instance and asked it how to set up a local copy of ASDIS, one such internal system (name and details changed to protect the innocent). And Llama did give me instructions... on how to write the American States Data Information System, a Python frontend for a single MySQL table containing basic information about the member states of the USA.

Oddly enough, that's not what my company's ASDIS is. It's almost as if the LLM had no idea what I was talking about. Words fail to express my surprise at this turn of events.

[–] [email protected] 10 points 3 days ago (1 children)

Yeah, and the way it will confidently give you a wrong answer instead of either asking for more information or saying it just doesn't know is equally annoying.

[–] Jesus_666 5 points 3 days ago

Because giving answers is not a LLM's job. A LLM's job is to generate text that looks like an answer. And we then try to coax framework that into generating correct answers as often as possible, with mixed results.

[–] AntY 4 points 3 days ago

This is exactly right. AI can only interpolate between datapoints. I used to write code for research papers and chat gpt couldn’t understand a thing I asked of it.

[–] [email protected] 8 points 3 days ago (1 children)

You have to aggressively purge the current chat and give it more abstract references for context. With enough context it can rewrite some logic loops, maybe start a design pattern. You just have to aggressively check the changes.

[–] [email protected] 13 points 3 days ago

Feels like it would be quicker and easier just to write the code myself at that point...

[–] rottingleaf 8 points 3 days ago

I frankly only used those to generate pictures and sometimes helloworlds for a few languages, which didn't work and didn't seem to make sense. It was long enough ago.

Also I have ASD, so it's hard enough for me to make consistent clear sense from something small. A machine-generated junk to give ideas is the last thing I need, my thought process is different.