Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Oh no! 🤦‍♂️

Oh no! 🤦‍♂️

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
46 Posts 39 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P [email protected]

    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...

    redjard@lemmy.dbzer0.comR This user is from outside of this forum
    redjard@lemmy.dbzer0.comR This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #27

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

    1 Reply Last reply
    2
    • sjmarf@sh.itjust.worksS [email protected]
      This post did not contain any content.
      I This user is from outside of this forum
      I This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #28

      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.

      S 1 Reply Last reply
      0
      • M [email protected]

        Looks like ChatGPT will create more software jobs than it takes.

        _ This user is from outside of this forum
        _ This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #29

        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.

        U 1 Reply Last reply
        15
        • scrubbles@poptalk.scrubbles.techS [email protected]

          We call this a whoopsie daisy.

          kinther@lemmy.worldK This user is from outside of this forum
          kinther@lemmy.worldK This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #30

          I often use the phrase "that's definitely an oopsie. Maybe even an oopsie daisy" at work

          1 Reply Last reply
          0
          • I [email protected]

            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.

            S This user is from outside of this forum
            S This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #31

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

            (until you figure it out once)

            1 Reply Last reply
            1
            • _ [email protected]

              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.

              U This user is from outside of this forum
              U This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #32

              Asking AI to make my website in C.

              Who's going to fix that "business" for me?
              BTW, the AI says, it's 95% done and only needs some debugging, so you'll be paid accordingly.

              1 Reply Last reply
              2
              • F [email protected]

                rm -rf "~" may work?

                P This user is from outside of this forum
                P This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #33

                No, but single quotes will.

                F 1 Reply Last reply
                2
                • F [email protected]

                  rm -rf "~" may work?

                  U This user is from outside of this forum
                  U This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #34

                  In case you are just testing it out, don't use -rf
                  Your ~ directory is most probably empty, so use rm -d instead, to prevent all footguns in case you put the wrong character in the end.

                         -d, --dir
                                remove empty directories
                  

                  I feel safe doing rm -d /.
                  I feel safe doing sudo rm -d /.

                  Because it won't delete anything that has a file in it.

                  1 Reply Last reply
                  0
                  • S [email protected]

                    OK I'll bite, how do you get rid of a literal ~ directory?

                    captain_aggravated@sh.itjust.worksC This user is from outside of this forum
                    captain_aggravated@sh.itjust.worksC This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #35

                    Using Nautilus or Dolphin.

                    S 1 Reply Last reply
                    2
                    • sjmarf@sh.itjust.worksS [email protected]
                      This post did not contain any content.
                      captain_aggravated@sh.itjust.worksC This user is from outside of this forum
                      captain_aggravated@sh.itjust.worksC This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #36

                      Stopped thinking

                      W 1 Reply Last reply
                      15
                      • x00z@lemmy.worldX [email protected]

                        At least we know vibe coders will eventually destroy themselves.

                        W This user is from outside of this forum
                        W This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #37

                        just wait until they start vibe coding on their brain implant

                        1 Reply Last reply
                        3
                        • captain_aggravated@sh.itjust.worksC [email protected]

                          Stopped thinking

                          W This user is from outside of this forum
                          W This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #38

                          Never started

                          1 Reply Last reply
                          3
                          • scrubbles@poptalk.scrubbles.techS [email protected]

                            We call this a whoopsie daisy.

                            zarkanian@sh.itjust.worksZ This user is from outside of this forum
                            zarkanian@sh.itjust.worksZ This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #39

                            Whoopsie daisy-cutter.

                            1 Reply Last reply
                            0
                            • S [email protected]

                              OK I'll bite, how do you get rid of a literal ~ directory?

                              zarkanian@sh.itjust.worksZ This user is from outside of this forum
                              zarkanian@sh.itjust.worksZ This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #40

                              Just give rm the entire path or a relative path like ./~

                              1 Reply Last reply
                              3
                              • sjmarf@sh.itjust.worksS [email protected]
                                This post did not contain any content.
                                N This user is from outside of this forum
                                N This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #41

                                I think it should've started with "stopped thinking"

                                1 Reply Last reply
                                8
                                • S [email protected]

                                  OK I'll bite, how do you get rid of a literal ~ directory?

                                  J This user is from outside of this forum
                                  J This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #42

                                  A method not yet mentioned is by inode, (I've accidentally created filenames I didn't know how to escape at the time like -- or other command line flags/special characters)

                                  ls -li

                                  Once you get the inode

                                  find . -type f -inum $inode -delete

                                  1 Reply Last reply
                                  2
                                  • captain_aggravated@sh.itjust.worksC [email protected]

                                    Using Nautilus or Dolphin.

                                    S This user is from outside of this forum
                                    S This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #43

                                    True if these are installed, but if I'm on a server's command line they probably aren't.

                                    1 Reply Last reply
                                    0
                                    • T [email protected]

                                      I did this once (for real, but without AI assistance)

                                      sobriquet@aussie.zoneS This user is from outside of this forum
                                      sobriquet@aussie.zoneS This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #44

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

                                      1 Reply Last reply
                                      0
                                      • P [email protected]

                                        No, but single quotes will.

                                        F This user is from outside of this forum
                                        F This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #45

                                        huh, I almost removed my entire home directory

                                        1 Reply Last reply
                                        1
                                        • T [email protected]

                                          I did this once (for real, but without AI assistance)

                                          G This user is from outside of this forum
                                          G This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #46

                                          I did it recently. Its like watching your computer commit seppuku.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups