this post was submitted on 29 Sep 2023
1076 points (96.5% liked)

Programmer Humor

19213 readers
267 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
 
all 46 comments
sorted by: hot top controversial new old
[–] Speiser0@feddit.de 99 points 11 months ago (2 children)
[–] kamen@lemmy.world 25 points 11 months ago
[–] JokeDeity@lemm.ee 1 points 11 months ago

LMFAO! Perfect.

[–] towerful@programming.dev 56 points 11 months ago (2 children)

I guess the obvious one is "holding spacebar for control key"

[–] andrew@lemmy.stuart.fun 51 points 11 months ago (1 children)

Look, my setup works for me. Can you please just add an option to reenable spacebar heating?

[–] Crul@lemm.ee 32 points 11 months ago (1 children)

Reference: xkcd #1172 - Workflowxkcd: Workflow

Hover text: There are probably children out there holding down spacebar to stay warm in the winter! YOUR UPDATE MURDERS CHILDREN.

[–] JokeDeity@lemm.ee 3 points 11 months ago* (last edited 11 months ago)

This is me. I will find a way to make it work, it will be janky, and any update is liable to throw the entire thing into disarray.

[–] intelati@programming.dev 6 points 11 months ago

That's horrifying

[–] FlickOfTheBean@lemmy.world 55 points 11 months ago

I typically don't know what I'm doing, so my favorite binding is :q!

[–] rustydrd@sh.itjust.works 20 points 11 months ago (1 children)

Not sure if this is obscure or not: I have F12 bound to cycle through the low- to high-contrast versions of my color scheme so I can keep working when the sun hits my shitty laptop screen.

[–] gandalf_der_12te@feddit.de 7 points 11 months ago

this is definitely obscure

[–] kevincox@lemmy.ml 19 points 11 months ago (4 children)
[–] drmoose@lemmy.world 28 points 11 months ago

The original sucks ngl

[–] CanadaPlus@lemmy.sdf.org 14 points 11 months ago

Wow, I think we're still ahead.

[–] histic@lemmy.dbzer0.com 6 points 11 months ago

how is a vim joke better then the original lmao

[–] RedStrider@lemmy.world 2 points 11 months ago

The Jenkins is epic

[–] andrew@lemmy.stuart.fun 15 points 11 months ago (1 children)

I've mapped jk to escape because it's rare and it's separate fingers in home row, so it's faster than e.g. jj.

[–] milicent_bystandr@lemm.ee 5 points 11 months ago (1 children)

I mapped kj instead. Can't remember why, but I like it that way.

[–] o11c@programming.dev 3 points 11 months ago* (last edited 11 months ago) (1 children)

Unfortunately both of those are used in common English or computer words. The only letter pairs not used are: bq, bx, cf, cj, dx, fq, fx, fz, hx, jb, jc, jf, jg, jq, jv, jx, jz, kq, kz, mx, px, qc, qd, qg, qh, qj, qk, ql, qm, qn, qp, qq, qr, qt, qv, qx, qy, qz, sx, tx, vb, vc, vf, vj, vm, vq, vw, vx, wq, wx, xj, zx.

Personally I have mappings based on <CR>, and press it twice to get a real newline.

[–] milicent_bystandr@lemm.ee 8 points 11 months ago

I guess I just don't write "blackjack and hookers" often enough. Sigh, I'll never make a good Redditor.

Funny, I've never actually had "kj" interrupt me in vim. Maybe once. It's a funny way of realising I've never written certain words in vim!

[–] cupcakezealot@lemmy.blahaj.zone 11 points 11 months ago

All hail nano

[–] Haus@kbin.social 9 points 11 months ago (1 children)

M-x dunnet

Runs Colossal Cave Adventure in emacs. "YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING."

[–] milicent_bystandr@lemm.ee 3 points 11 months ago

What?!

And to think I was going to take an early night...

[–] idunnololz@lemmy.world 9 points 11 months ago (2 children)

That's some shitty, lossy compression.

[–] bruhduh@lemmy.world 5 points 11 months ago

Nah man, that is some crispy jpeg memes

[–] Karyoplasma@discuss.tchncs.de 1 points 11 months ago* (last edited 11 months ago)

I want to solve: What is .jpg?

[–] Vimlord@lemmy.world 9 points 11 months ago* (last edited 11 months ago) (1 children)

I have \yeet bound to ggdG (backslash being my leader key)

Edit: Detail about leader. I'd add the proper binding but markdown's being weird.

[–] AVincentInSpace@pawb.social 1 points 10 months ago (1 children)

so you use 5 keystrokes to get out of typing 4.

[–] Vimlord@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

Technically yes. However I figured it'd be a funny one to have in my vimrc.

Also capital G requires a shift press, so not sure how many keystrokes that counts as.

[–] Bunnylux@lemmy.world 8 points 11 months ago

Well, you see, I spilled coffee on my mechanical keyboard, permanently breaking the 2/@ key, so I mapped it to pause/break..

[–] gon@lemmy.world 8 points 11 months ago
[–] Kolanaki@yiffit.net 7 points 11 months ago* (last edited 11 months ago) (1 children)

Ctrl+a, Ctrl+c, alt-tab, Ctrl+z, enter.

"This is mine now."

[–] JokeDeity@lemm.ee 1 points 11 months ago

I have a Logitech G600 and have all those and more on the side buttons, lol.

[–] somegeek@programming.dev 7 points 11 months ago (2 children)

I map caps lock to esc with setxkbmap. Much more fun ergonomically.

[–] Nefrace@programming.dev 4 points 11 months ago* (last edited 11 months ago)

I use caps for switching languages instead of alt+shift or super+space.

Very efficient thing when you need to use your native language and some code in one text message or code block.

[–] NateSwift@beehaw.org 1 points 11 months ago (1 children)

Where do you have that running? I set it in my i3 config and it never takes properly on my laptop. On my desktop I ended up just doing it in hardware because it was easier

[–] somegeek@programming.dev 2 points 11 months ago

It works great in i3config but in gnome I have problems with it.

[–] shroomato@lemmy.world 5 points 11 months ago

I like the one of Isaac

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

Not a Vim user, but no matter what software I'm using, I might think about its keybindings like the first week of getting familiar with it; at one point they become muscle memory and I stop thinking about them.

[–] sping@lemmy.sdf.org 1 points 11 months ago

Yep. The primary advantage of keyboard control. It stops being something you engage your conscious brain for.

[–] ptrckstr@lemmy.world 4 points 11 months ago

alt+z for saving, I guess?

[–] technologicalcaveman@kbin.social 4 points 11 months ago

Me with my dwm key binds.

[–] somegeek@programming.dev 2 points 11 months ago

This really had me laugh 😂😂

[–] JustAnotherUsername@feddit.uk 2 points 11 months ago

Ctrl+D = Alt+F4 in CMD.exe so that I can exit from that black box in the way the good lord intended.

[–] mcmodknower@programming.dev 1 points 11 months ago

meta-; for commenting marked lines (not in vim)