this post was submitted on 03 Aug 2025
438 points (99.8% liked)

Programmer Humor

25448 readers
1082 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] jenny_ball@lemmy.world 6 points 4 hours ago

i just want fiber at my address

[–] beemikeoak@lemmynsfw.com 2 points 4 hours ago

Shit is that my computer's rear end? I haven't looked in there for years! There could be intelligent rats back there pretending to be AI.

[–] vivendi@programming.dev 112 points 1 day ago (1 children)

Every day I regret becoming a network engineer more and more

You have a clusterfuck of a clusterfuck because corpocunts make more money from keeping everyone on shit old stacks

The network engineer to communist/anarchist pipeline is real

[–] pineapplelover@lemmy.dbzer0.com 24 points 20 hours ago (1 children)

My goal is to be a network engineer...hmmmm

[–] Bane_Killgrind@lemmy.dbzer0.com 9 points 6 hours ago

Sounds like your goal is to be an anarchist, welcome.

[–] NigelFrobisher@aussie.zone 44 points 22 hours ago

Every day we move further away from God.

[–] Kazumara@discuss.tchncs.de 29 points 23 hours ago (5 children)

Funny how many here took this to be real, judging from the reactions. To me it's an obvious joke.

Question to you guys: How do you suppose 200 million customers will share the less than 65'536 ports that are available on that one address?

[–] Auth@lemmy.world 11 points 6 hours ago
[–] Fred@programming.dev 16 points 20 hours ago (1 children)

As @shane@feddit.nl says, you can use the same public port for many different destination address, vendors may call it something like "port overloading".

More importantly, you can install a large pool of public address on your CGNAT. For instance if you install a /20 pool, work with a 100 users / public address multiplexing, you can have 400,000 users on that CGNAT. 100 users / address is a comfortable ratio that will not affect most users. 1000 users / address would be pushing it, but I'm sure some ISP will try it.

If you search for "CGNAT datasheet" for products you can deploy today, the first couple of results:

[–] Kazumara@discuss.tchncs.de 8 points 20 hours ago (1 children)

As @shane@feddit.nl says, you can use the same public port for many different destination address, vendors may call it something like “port overloading”.

I just responded to him on that point, while you were typing to me. I didn't know this existed, thanks for pointing it out!

More importantly, you can install a large pool of public address on your CGNAT. For instance if you install a /20 pool, work with a 100 users / public address multiplexing, you can have 400,000 users on that CGNAT. 100 users / address is a comfortable ratio that will not affect most users. 1000 users / address would be pushing it, but I’m sure some ISP will try it.

Sure, yeah, I have seen a few threads on NANOG about the NAT address ratios people are using. I also think I remember someone saying he was forced to use 1000 and it kind of worked as long as he pulled the heaviest users out of the pool. But if I recall correctly he was also saying he made IPv6 available in parallel to reduce the CGNAT load.

But the point that made this post ridiculous and an obvious joke is that it said "one address" :-)

[–] Fred@programming.dev 4 points 20 hours ago

Well the "one address" bit sure :) but given the scale supported by CGNAT systems today, I don't think being able to support an entire country behind a single cluster is that far off. At which point the difficulty becomes "is the 100.64.0.0/10 block big enough"? Or maybe they're using DS-lite for the hauling from private network to the NAT.

[–] Sebbe@lemmy.sebbem.se 17 points 22 hours ago

Easily doubled by assigning the TCP and UDP ports to different users!

[–] shane@feddit.nl 9 points 21 hours ago (1 children)

A TCP session is a unique combination of client IP, client port, server IP, and server port.

So you can use the same IP and port as long as the destination is a different IP or port.

This means that in principle you could use the same IP and port to connect to every IP address on the Internet using 65536 concurrent sessions. 😆

This wouldn't help going to popular destinations, since they have a lot of people going to the same IP address and port, but for many (most?) of them you probably have some sort of CDN servers in your data centers anyway.

[–] Kazumara@discuss.tchncs.de 4 points 20 hours ago

A TCP session is a unique combination of client IP, client port, server IP, and server port. So you can use the same IP and port as long as the destination is a different IP or port.

Fair point! I wasn't aware of any NAT working that way, but they could exist, I agree. It does blow up the session table a bit, but we are taking about a hell of a large theoretical system here anyway, so it's not impossible.

This wouldn’t help going to popular destinations, since they have a lot of people going to the same IP address and port, but for many (most?) of them you probably have some sort of CDN servers in your data centers anyway.

Actually we have recently seen a few content providers not upgrading their cache servers and instead preferring to fall back to our PNIs (which to be fair are plenty fast and have good enough latencies). On the other hand others made new ones available recently. Seems there isn't a universal best strategy the industry is converging on at the moment.

[–] A_norny_mousse@feddit.org 7 points 22 hours ago

By creating new protocols that then become new quasi-standards that every system has to integrate because "everybody else does it too"?

(and yeah this one is a joke - ridiculing something that really exists by exaggerating it)

[–] IAmNorRealTakeYourMeds@lemmy.world 3 points 15 hours ago (1 children)

stupid question, wouldn't it be easier to just have sub addresses?

like my fictional ip address is 123.123.123

and I can set my router to give up to 1000 sub addresses, so one computer can host a Minecraft server at 123.123.123.001 I have another for my some projects, the projects ones each have sub addresses like 123.123.123.002.001 and 123.123 123.002.002...

a company could have countless layers and any amount of addresss they want.

and we're never going to run out of addresses.

[–] Xylight@lemdro.id 17 points 15 hours ago (5 children)

Well the IPv4 spec only allows 4 octets, so having 5 or more is impossible. We could fix it by changing the protocol, but at that point it's more worth it to just migrate to IPv6.

load more comments (5 replies)
[–] otacon239@lemmy.world 118 points 1 day ago* (last edited 1 day ago) (5 children)

I would love a horror game set in a massive building with nothing but networking equipment. With the goal being to fix and patch old parts of the system finding more and more awful things that have happened to the previous employees.

[–] ObstreperousCanadian@lemmy.ca 68 points 1 day ago (3 children)
[–] dan@upvote.au 34 points 1 day ago

Wow, there really is a game for everything.

[–] otacon239@lemmy.world 21 points 1 day ago

Well damn. I might just be sold based on the trailer alone.

[–] johnnei@lemmy.johnnei.org 10 points 1 day ago

Nooooooo, that's gonna be a time sink.

[–] rafikki@infosec.pub 25 points 1 day ago (1 children)

Not exactly what you’re looking for but this came across my radar recently https://store.steampowered.com/app/2939600/Tower_Networking_Inc/

[–] ggtdbz@lemmy.dbzer0.com 8 points 1 day ago

I knew of Tunnet, but this looks cool. I wonder if it’s at all helpful for getting to grips with some networking intuition, I always feel behind when it comes to anything networking related.

[–] douglasg14b@programming.dev 8 points 1 day ago

Good news, they have these, and you even get paid to do it!

Not nearly enough mind you.

[–] SkunkWorkz@lemmy.world 6 points 23 hours ago

And the horror is the employees that turned into monsters that just want to get their computer fixed and chase you. And to placate the monsters you have to fix their problem. Each employee has a different problem. But if you mess up you just anger more employees.

load more comments (1 replies)
[–] LaggyKar@programming.dev 22 points 1 day ago (1 children)

I know this is humor, but for the record this wouldn't work. Each simultaneous TCP connection needs a unique four-tuple (source address, source port, destination address, destination port). If a lot the people behind the NAT try to connect to the same place (destination address and port) at the same time (something popular like Google, YouTube or Netflix), and their source address is the same, the source port needs to be different for each connection. So after at most 65535 connections within a short time the NAT would run out of ports and no one behind the same NAT would be able to open new connections to the same place until the NAT mapping expiries.

So you could have at most tens of thousands of people behind the same NAT, maybe even fewer to make it reliable.

[–] Fred@programming.dev 10 points 20 hours ago (2 children)

Don't forget the tech giants are all IPv6 enabled. Google Netflix Apple xhamster Facebook Microsoft are all reachable over v6.

[–] LaggyKar@programming.dev 8 points 16 hours ago* (last edited 16 hours ago) (1 children)

OK, bad examples. On the other hand e.g. X, GitHub, Pornhub, PSN, Steam or Discord do not support IPv6.

[–] Bane_Killgrind@lemmy.dbzer0.com 2 points 6 hours ago

Guess I should start using xhamster over PH for tech puritism reasons

[–] FEIN@lemmy.world 9 points 18 hours ago (1 children)

I think one of these tech giants sounds wrong? It's Meta not Facebook

[–] bss03@infosec.pub 2 points 6 hours ago

It's Alphabet not Google, yeah?

[–] teletext@reddthat.com 139 points 1 day ago (1 children)

Would you rather

  • Convert to IPv6?
  • Pay 10,000,000 per year?

The choice is yours!

[–] eager_eagle@lemmy.world 60 points 1 day ago (2 children)

that's 5 cents per customer per year

[–] july@leminal.space 4 points 8 hours ago

Nice. A reason to increase the subscription with 5$ more.

[–] teletext@reddthat.com 36 points 1 day ago* (last edited 1 day ago) (1 children)

My reading comprehension is weak. I thought each customer should pay them $ 10M a year.

[–] hemmes@lemmy.world 29 points 1 day ago

Still better than switching

[–] rem26_art@fedia.io 101 points 1 day ago (1 children)

oh and if any single one of those 200M customers gets caught pirating a single mp3, all 200M will go to jail forever

[–] marcos@lemmy.world 43 points 1 day ago

A random one will. For each time somebody gets caught.

Or, at least this seems to be how NAT works today.

[–] 01189998819991197253@infosec.pub 48 points 1 day ago (2 children)

I don't know who pulled that cabling, but they need to be hung with it.

load more comments (2 replies)
[–] judgyweevil@feddit.it 14 points 1 day ago

Literal spaghetti

[–] joelfromaus@aussie.zone 44 points 1 day ago (3 children)

Is that what spaghettification looks like?

[–] marcos@lemmy.world 14 points 1 day ago

As far as I know, yeah, there could easily be a black hole hiding there somewhere.

[–] wewbull@feddit.uk 3 points 22 hours ago

I think it's cheese-stringification.

load more comments (1 replies)
[–] kionite231@lemmy.ca 6 points 1 day ago

Is the news real? :o

load more comments
view more: next ›