• four@lemmy.zip
    link
    fedilink
    English
    arrow-up
    249
    ·
    13 days ago

    The “Thought for 2 seconds” and “Stopped thinking” are hilarious to me

  • x00z@lemmy.world
    link
    fedilink
    English
    arrow-up
    93
    ·
    edit-2
    13 days ago

    At least we know vibe coders will eventually destroy themselves.

    • pcouy@lemmy.pierre-couy.fr
      link
      fedilink
      arrow-up
      41
      ·
      13 days ago

      Reminds me of the time when I bind mounted my home dir in a chroot, then rm -rfed the chroot when I no longer needed it…

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        31
        ·
        13 days ago

        Reminds me of the company where one of the top brass tried to unmount an important fileshare with rm. That was the day they found out that they didn’t have recent backups of a, shall we say disquieting, amount of important information and people’s work.

        Staff started taking their own private backups of important things after that.

      • Redjard@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        13
        ·
        13 days ago

        Wanted to reorganize my /mnt once and did an rm -r … without unmounting the network share of production.
        We have backups now.

    • Hazzard@lemm.ee
      link
      fedilink
      arrow-up
      11
      ·
      13 days ago

      Same, I didn’t realize the directory I was deleting had a symlink to some root directory, at least until my mouse stopped working…

      • mmddmm@lemm.ee
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        13 days ago

        Gnome used to have a link to your homedir in its settings directory.

        I imagine plenty of people had tons of fun with that. But you need to modify rm to follow symlinks nowadays.

    • sobriquet@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 days ago

      I fairly recently tried to do a rm match* but accidentally put a space between the match and the *

    • _____@lemm.ee
      link
      fedilink
      English
      arrow-up
      52
      ·
      13 days ago

      AI will create the most cursed entry jobs humans have yet to see.

      First job in the old days doing WordPress, managing someone’s vomit inducing PHP? Gone.

      Jobs with jQuery spaghetti calling dozens of asp APIs like a rat’s nest no rat can traverse? Gone.

      Welcome to the future: Fixing some “business” guy’s vibe coded personal hell made just for you.

    • SatyrSack@lemmy.sdf.org
      link
      fedilink
      arrow-up
      29
      ·
      13 days ago

      For when you want to delete everything in the root directory, but absolutely need to keep the directory itself.

    • piranhaconda@mander.xyz
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      13 days ago

      So. Funny story. Back when I was incredibly new to Linux, I was trying to move everything from my downloads folder to somewhere else. So I navigated into the downloads directory on the command line and sent something like

      “sudo mv /* ~/misc”

      when I meant to type

      “sudo mv ./* ~/misc”

      Yea… That was a fun learning experience and hilarious way to utterly fuck everything on that machine. Luckily it was just an old laptop I’d installed Linux on to mess around and learn, no real damage done

  • duckiegobrrr@kbin.earth
    link
    fedilink
    arrow-up
    8
    ·
    13 days ago

    I mean I have to wipe out my ~ relatively frequently on some machines at times but that’s for “actual” “reasons”, LLM hallucinations not involved

  • IsThisAnAI@lemmy.worldBanned
    link
    fedilink
    arrow-up
    6
    ·
    13 days ago

    You can definitely do this redirecting output. I did this to myself and sighed about 2 seconds into it after realizing what I had done.

    • SirQuack@feddit.nl
      link
      fedilink
      arrow-up
      9
      ·
      13 days ago

      Creating a ~ folder isn’t the tricky part. Removing it is.

      (until you figure it out once)