this post was submitted on 09 May 2024
403 points (96.3% liked)

Programmer Humor

19454 readers
18 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Art by me, after a typo by my friend.

top 20 comments
sorted by: hot top controversial new old
[–] cook_pass_babtridge@programming.dev 42 points 5 months ago (1 children)

I typed "git pish" and now my keyboard is soaked

[–] ZILtoid1991@lemmy.world 5 points 5 months ago (1 children)

Be glad it was your keyboard getting it and not you...

[–] victorz@lemmy.world 4 points 5 months ago

My custom keyboard is freaking expensive -- I'd throw myself in front of my piss to save my keyboard any day!

[–] lowleveldata@programming.dev 28 points 5 months ago (1 children)

I accidentally typed "git gud" one time and Steam notified that I have completed all achievements of Dark Souls 1-3 at the same time (I don't even own the games)

[–] JackGreenEarth@lemm.ee 1 points 5 months ago (1 children)
[–] RecluseRamble@lemmy.dbzer0.com 10 points 5 months ago (1 children)
[–] embed_me@programming.dev 17 points 5 months ago

Thank you. Now I shall commence laughter.

[–] Piatro@programming.dev 19 points 5 months ago

I've been programming for too long, my brain just autocorrected the typo so initially didn't get the joke...

[–] lemmyng@lemmy.ca 16 points 5 months ago

shitdown -h now

[–] leaky_shower_thought@feddit.nl 7 points 5 months ago (1 children)

this reminded me of that feature with lots of articles about its usefulness:

gut bisect

[–] ZILtoid1991@lemmy.world 4 points 5 months ago

That would turn your desktop into a surgical bed.

[–] jjjalljs@ttrpg.network 7 points 5 months ago (1 children)

i never tried it, but i like the idea of https://github.com/nvbn/thefuck for fixing mistakes in the terminal

[–] mormegil@programming.dev 9 points 5 months ago

Beware the DWIM!

In one notorious incident, Warren added a DWIM feature to the command interpreter used at Xerox PARC. One day another hacker there typed delete *$ to free up some disk space. (The editor there named backup files by appending $ to the original file name, so he was trying to delete any backup files left over from old editing sessions.) It happened that there weren't any editor backup files, so DWIM helpfully reported *$ not found, assuming you meant 'delete *'. It then started to delete all the files on the disk!

http://www.catb.org/jargon/html/D/DWIM.html

[–] JATtho@sopuli.xyz 4 points 5 months ago* (last edited 5 months ago) (1 children)

My most common typo is gti <random command> and I'm considering to alias it as rm -rf --no-preserve-root /

[–] flying_sheep@lemmy.ml 2 points 5 months ago (1 children)
[–] JATtho@sopuli.xyz 1 points 5 months ago

I was suspicious as heck of this link, but I thank you for being benign.

[–] penquin@lemmy.kde.social 4 points 5 months ago* (last edited 5 months ago)

I always type get and then get very mad when the terminal/powershell tell me how high I am.

[–] Shadowedcross@lemmy.world 3 points 5 months ago

This kills the computer.

[–] karmiclychee@sh.itjust.works 3 points 5 months ago

Now do puhs

[–] zqwzzle@lemmy.ca 2 points 5 months ago* (last edited 5 months ago)

If you ever want to bullshit a junior, use the git man page generator