• SpaceNoodle@lemmy.world
    link
    fedilink
    arrow-up
    39
    arrow-down
    1
    ·
    2 days ago

    Until the magic incantations you don’t bother to understand don’t actually do what you think they’re doing.

    • embed_me
      link
      fedilink
      arrow-up
      39
      ·
      2 days ago

      Sounds like a problem for future me. That guy hates me lol

    • MBM@lemmings.world
      link
      fedilink
      arrow-up
      14
      ·
      2 days ago

      I wonder if there’s a chance of getting rm -rf /* or zip bombs. Those are definitely in the training data at least.

      • furikuri
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        The classic rm -rf $ENV/home where $ENV can be empty or contain spaces is definitely going to hit someone one day

    • arendjr
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      edit-2
      2 days ago

      In fairness, this also happens to me when I write the bash script myself 😂

    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      2 days ago

      Yes, I have never wrote a piece of code that didn’t do what I thought it would before LLMs, no sir.