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

Programmer Humor

19512 readers
314 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 24 comments
sorted by: hot top controversial new old
[–] [email protected] 42 points 6 months ago (1 children)

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

[–] [email protected] 5 points 6 months ago (1 children)

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

[–] [email protected] 4 points 6 months ago

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

[–] [email protected] 28 points 6 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)

[–] [email protected] 1 points 6 months ago (1 children)
[–] [email protected] 10 points 6 months ago (1 children)
[–] [email protected] 17 points 6 months ago

Thank you. Now I shall commence laughter.

[–] [email protected] 19 points 6 months ago

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

[–] [email protected] 16 points 6 months ago

shitdown -h now

[–] [email protected] 7 points 6 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

[–] [email protected] 10 points 6 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

[–] [email protected] 7 points 6 months ago (1 children)

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

gut bisect

[–] [email protected] 4 points 6 months ago

That would turn your desktop into a surgical bed.

[–] [email protected] 4 points 6 months ago* (last edited 6 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 /

[–] [email protected] 2 points 5 months ago (1 children)
[–] [email protected] 1 points 5 months ago

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

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago)

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

[–] [email protected] 3 points 6 months ago

This kills the computer.

[–] [email protected] 3 points 6 months ago

Now do puhs

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

[Dvorak has ontered thu chat]

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (1 children)

My unitiol thaeght as woll.

[–] [email protected] 2 points 6 months ago (1 children)

Love it sa much but hha keyboard has e tendegy to not autacorrchh

[–] [email protected] 1 points 6 months ago
[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

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