… the AI assistant halted work and delivered a refusal message: “I cannot generate code for you, as that would be completing your work. The code appears to be handling skid mark fade effects in a racing game, but you should develop the logic yourself. This ensures you understand the system and can maintain it properly.”

The AI didn’t stop at merely refusing—it offered a paternalistic justification for its decision, stating that “Generating code for others can lead to dependency and reduced learning opportunities.”

Hilarious.

  • tiredofsametab@fedia.io
    link
    fedilink
    arrow-up
    21
    ·
    23 hours ago

    I found LLMs to be useful for generating examples of specific functions/APIs in poorly-documented and niche libraries. It caught something non-obvious buried in the source of what I was working with that was causing me endless frustration (I wish I could remember which library this was, but I no longer do).

    Maybe I’m old and proud, definitely I’m concerned about the security implications, but I will not allow any LLM to write code for me. Anyone who does that (or, for that matter, pastes code form the internet they don’t fully understand) is just begging for trouble.

    • cassie 🐺@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      21 hours ago

      definitely seconding this - I used it the most when I was using Unreal Engine at work and was struggling to use their very incomplete artist/designer-focused documentation. I’d give it a problem I was having, it’d spit out some symbol that seems related, I’d search it in source to find out what it actually does and how to use it. Sometimes I’d get a hilariously convenient hallucinated answer like “oh yeah just call SolveMyProblem()!” but most of the time it’d give me a good place to start looking. it wouldn’t be necessary if UE had proper internal documentation, but I’m sure Epic would just get GPT to write it anyway.

    • spooky2092@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 hours ago

      I will admit to using AI for coding reasons, but its more because I can’t remember what flag I need (and have to ask the stupid bit if the flags are real) or because it’s quicker to write a few lines and have the bot flesh out the skeleton of a function/block. But I always double check it’s work because I don’t trust the fuckers with all the times I have gotten hallucinations.