this post was submitted on 26 Aug 2026
742 points (99.3% liked)

Programmer Humor

33003 readers
1308 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 3 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] onlinepersona@programming.dev 29 points 1 day ago (12 children)

The problem with networking is debugging it. The worst is debugging iptables and nftables. Figuring out which chain they are going to is a massive hassle. How come we don't have any graphical tools whatsoever for this work?

[–] AnUnusualRelic@lemmy.world 13 points 1 day ago (1 children)

There's nothing to debug, it's fucking DNS again, you know it is.

[–] Brickhead92@lemmy.world 5 points 21 hours ago

And then, even when it's not DNS, it's probably DNS.

load more comments (11 replies)
[–] DeadDigger@lemmy.zip 12 points 1 day ago

Oh networking is easy first you go to linkedin Then... You run

[–] rumschlumpel@feddit.org 90 points 2 days ago (1 children)

"networking" in the social sense or in the administration/programming sense?

[–] akunohana@piefed.blahaj.zone 67 points 2 days ago (2 children)

Good one 🤣 I don't think I have ever used the word to mean "managing social networks" or the likes 🤣

[–] rumschlumpel@feddit.org 70 points 2 days ago (1 children)

It's a trick question anyway, most programmers are probably bad at both Ü

load more comments (1 replies)
[–] akunohana@piefed.blahaj.zone 31 points 2 days ago (5 children)

I am so going to start to use computer networking terminology when talking about social networking from now on.

[–] django@discuss.tchncs.de 37 points 2 days ago (8 children)
[–] lena@gregtech.eu 33 points 2 days ago (2 children)
[–] hperrin@lemmy.ca 17 points 2 days ago (1 children)
[–] NaibofTabr@infosec.pub 11 points 2 days ago

502 Bad Gateway

[–] towerful@programming.dev 24 points 2 days ago (1 children)

ARP ARP ARP ARP ARP

(like a socially acceptable seal)

[–] akunohana@piefed.blahaj.zone 5 points 1 day ago

Cicadas be like

SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN SYN

[–] nymnympseudonym@piefed.social 16 points 2 days ago

I would ping her, but I have no handler in the event of NACK

load more comments (5 replies)
[–] Axolotl_cpp@feddit.it 2 points 1 day ago* (last edited 1 day ago)

I proposed to that girl, she sent me a 403 code

load more comments (3 replies)
[–] partial_accumen@lemmy.world 60 points 2 days ago* (last edited 2 days ago) (8 children)

If it helps, I'm from the other side of networking and infra. You could swap the labels and make the meme accurate for me.

In the mid 1980s I learn the BASIC programming command GOTO and fell in love for a lifetime. If you look any anything I used to write in Ruby script or today in Python you'll see my love affair with "if" "elfi" and "else" continues. My universe is nested "if" statements all the way down.

[–] libewa@feddit.org 31 points 2 days ago (1 children)

Ahh, I found you, Toby Fox!

load more comments (1 replies)
[–] Big_Boss_77@fedinsfw.app 4 points 1 day ago

As a network engineer myself... python if/elif, and nested for loops are all you need

/s

[–] rockSlayer@lemmy.world 16 points 2 days ago* (last edited 2 days ago) (1 children)

If you like if statements, you'll love the python case statements for pattern matching

[–] partial_accumen@lemmy.world 37 points 2 days ago* (last edited 2 days ago) (3 children)

Ohhh nice! I could see replacing dozens of nested if statements with dozens of nested case statements!

load more comments (3 replies)
[–] chad@sh.itjust.works 9 points 2 days ago* (last edited 2 days ago) (8 children)

Please avoid nested if statements. Instead use early returns when possible.

See video explanation.

[–] OpenStars@discuss.online 2 points 1 day ago

This seems geared more towards programming languages like C++, whereas in scripting such as BASH it seems to me like it absolutely would get to be a mess to have so many functions, particularly those called only once (either total for the execution of the entire program or within the context of being inside another function, so once per function).

I am curious now what would Linus Torvalds say about that?

load more comments (7 replies)
load more comments (4 replies)
[–] onlyhalfminotaur@lemmy.world 42 points 2 days ago (3 children)

In one college class we had to reimplement TCP in our own code on top of real UDP sockets. That was a fun class.

[–] LodeMike@lemmy.today 13 points 2 days ago (1 children)

I had a class where we did a similar thing, except it was re-inmplementing basic forms of internet and transport protocols on top of the link layer

And it was a really really fun class imo, no sarcasm

[–] socsa@piefed.social 2 points 1 day ago

Why use UDP sockets when you can use raw Linux sockets with no encapsulation at all?

load more comments (1 replies)
[–] Goldholz@lemmy.blahaj.zone 16 points 2 days ago (3 children)

And my boss shattering all with mean comments. Not letting me explain my code but still tearing it all down, removing all security features like checking for directory existing, connection is open aso. and then saying im not qualified for the job! Good thing i got already laid off. Bad that i'll still have to spend 3 months at this company

[–] drmoose@lemmy.world 2 points 19 hours ago

Ah man sorry to hear that. Trust in your skills, now it's actually a good time to make something.

[–] akunohana@piefed.blahaj.zone 7 points 2 days ago (6 children)

I'm so sorry about your job. :(

Do you mean that you were trying to write network conscious/safe code and your boss disagreed and laid you off for that reason?

load more comments (6 replies)
load more comments (1 replies)
[–] naught101@lemmy.world 24 points 2 days ago* (last edited 2 days ago) (1 children)

I was like this 5 years ago. Networking a lot is still effort for me, but it is just another learnable skill, and it has lots of benefits (depending on your aims, I guess)

Edit: hah, just realised this is about connecting computers, not about talking to people...

load more comments (1 replies)
[–] blazeknave@lemmy.world 13 points 2 days ago

Only computer thing I still needed to call dad about as an adult.

[–] PlexSheep@infosec.pub 17 points 2 days ago (2 children)

Only wizards can configure iptables for ipv4 and ipv6 port forwarding. Only wizards.

load more comments (2 replies)
[–] Scoopta@programming.dev 7 points 2 days ago

I may actually be the other way around. I'm probably better at networking than programming? Not sure, I love them both but do neither professionally.

[–] floquant@lemmy.dbzer0.com 12 points 2 days ago (11 children)

tcpdump looks scary but is super neat and helpful, learn it if you haven't ;)

[–] nymnympseudonym@piefed.social 11 points 2 days ago (2 children)

Still doesn't help with things like understanding routing and subnet masks and frame sizes and jfc how does any of this work

load more comments (2 replies)
load more comments (10 replies)
[–] OwOarchist@pawb.social 11 points 2 days ago

I've enabled all the relevant permissions. I've disabled firewall protection. I've enabled file sharing on both sides. I've checked for connectivity to the other machine from the command line...

Why is my shared folder still not accessible!??!

load more comments
view more: next ›