this post was submitted on 02 Oct 2024
703 points (99.3% liked)

Programmer Humor

19331 readers
1 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
703
Packet Loss (lemmy.world)
submitted 2 weeks ago* (last edited 2 weeks ago) by carrylex@lemmy.world to c/programmer_humor@programming.dev
 

Found this in the depths of my storage. Not sure where its from but might improve the day of some people ^^

top 23 comments
sorted by: hot top controversial new old
[–] zqwzzle@lemmy.ca 48 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

Hello, would you like to hear a TCP joke?

Edit: since no one is biting here’s the full joke

"Hi, I'd like to hear a TCP joke."
"Hello, would you like to hear a TCP joke?"
"Yes, I'd like to hear a TCP joke."
"Ok, I'll tell you a TCP joke."
"Ok, I will hear a TCP joke."
"Are you ready to hear a TCP joke?"
"Yes, I am ready to hear a TCP joke."
"Ok, I am about to send the TCP joke. It will last 10 seconds, it has two characters, it does not have a setting, it ends with a punchline."
"Ok, I am ready to get your TCP joke that will last 10 seconds, has two characters, does not have an explicit setting, and ends with a punchline."
"I'm sorry, your connection has timed out. Hello, would you like to hear a TCP joke?"

[–] 14th_cylon@lemm.ee 35 points 2 weeks ago (1 children)

would you like to hear the udp joke? you might not get it, but I don't really care that much

[–] Smc87@lemmy.sdf.org 2 points 2 weeks ago

This was better than mine

[–] derpgon@programming.dev 19 points 2 weeks ago (1 children)

Sure, but we need to shake hands first.

[–] Trail@lemmy.world 17 points 2 weeks ago (1 children)

I will now start transmitting the TCP joke.

[–] desktop_user@lemmy.blahaj.zone 4 points 2 weeks ago

sonic inflation erotica

[–] bi_tux@lemmy.world 11 points 2 weeks ago

H ll wou d l k o h ar a UDP j ke?

[–] Smc87@lemmy.sdf.org 3 points 2 weeks ago

Sorry I only do udp, but I won’t tell you that

[–] steventhedev@lemmy.world 29 points 2 weeks ago (2 children)

To be fair, because of window size management it only takes 1% packet loss to cause a catastrophic drop in speed.

Packet loss in TCP is only ever handled as a signal of extreme network congestion. It was never intended to go over a lossy link like wifi.

[–] marcos@lemmy.world 14 points 2 weeks ago (2 children)

Doesn't wifi have its own retrial protocol? It's been a long time since I've read the standard, but I think it's almost lossless from the POV of TCP.

[–] frezik@midwest.social 17 points 2 weeks ago

I believe so, yes. Every 802.11 frame is effectively ACK'd. Makes a mockery of OSI layering, but so does everything else.

[–] steventhedev@lemmy.world 6 points 2 weeks ago

None built in from what I recall. That was from back in 2011, so it's possible things changed since.

Reading through, it looks like retries do exist, but remember that duplicate packets are treated as a window reset, so it's possible that transmission succeeded but the ack was lost.

I remember the project demos from the course though - one team implemented some form of fast retry on two laptops and had one guy walk out and away. With regular wifi he didn't even make it to the end of the hall before the video dropped out. With their custom stack he made it out of the building before it went.

I'll need to dig through to find the name of what they did.

[–] legion02@lemmy.world 2 points 2 weeks ago

On the other side of the spectrum packet loss is a key feature of some of the layers below tcp, like path-mtu discovery.

[–] MrLLM@ani.social 24 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Found this in the depths of my storage. Not sure where its from but might improve the day of some people ^^

I also remember someone posting that article

[–] Martineski@lemmy.dbzer0.com 10 points 2 weeks ago

This is wild. Didn't knew gangs do shit like this.

[–] maccentric@sh.itjust.works 3 points 2 weeks ago

Not a bad price if the service is any good

[–] MelodiousFunk 15 points 2 weeks ago (1 children)

Network monitoring engineers: explains for the umpteenth time that a node reporting down isn't just a single dropped packet

[–] Entropywins@lemmy.world 5 points 2 weeks ago (1 children)

Geez...we all have learning experiences but I feel node down and packet dropped should be a clear distinction in the mind of anyone in IT...but people will surprise you

[–] MelodiousFunk 1 points 2 weeks ago

Full stack dev/ops: "We can't keep having these emergency calls just because Solarwinds dropped a packet."

Me: "I'm running a continuous ping and it's all timing out."

FSD: "Well the server is up."

Me: "I understand that. Trace looks like it's dropping at the MPLS router."

FSD: "So it's a monitoring issue."

Me: "No you clod, it's networking."

Network VP: "A few dropped packets are normal, what's the problem here?"

(ノಠ益ಠ)ノ彡┻━┻

[–] bruhduh@lemmy.world 6 points 2 weeks ago (2 children)

It's actually panic in both

[–] fl42v@lemmy.ml 3 points 2 weeks ago

May I interest you in using unwrap_or instead of unwrap

[–] r00ty@kbin.life 3 points 2 weeks ago

Packets are lost all the time. Especially when uploading or downloading.

[–] ik5pvx@lemmy.world 3 points 2 weeks ago

Mr Krab there surely doesn't have the same customers I have, if he's so relaxed