r/ProgrammerHumor • • 1h ago

Meme explainUdpToMe

Post image
795 Upvotes

52 comments sorted by

505

u/Single-Virus4935 1h ago • Bravo

And Failed!

That is TCP

158

u/TheTybera 1h ago

Yup failed.

UDP don't give a shit about packet integrity or dropped packets.

41

u/The_Hunster 1h ago

Punchline isn't quite as good if you just stare blankly. Or maybe that makes it a lot better

10

u/SeriousPlankton2000 1h ago

It DOES have a checksum.

4

u/2Tack 11m ago

I scrolled past this post and then went.... Wait a minute. UDP wouldn't respond so this punchline sucks. Came back to look at the comments and wasn't disappointed.

7

u/ElSucaPadre 1h ago

if we want to be fair, depends on which layer candidate and interviewer are.

12

u/Single-Virus4935 1h ago

Nope, they asked about UDP which is Layer 4.

2

u/qqqrrrs_ 59m ago

There are protocols where the reliability is implemented in the application layer, over UDP

14

u/Single-Virus4935 56m ago edited 35m ago

Yes, they exists. I know. For.example QUIC. But that isnt UDP.

If I ask you about how roads are build you wount explain how a car works.

Man, folks.. Stay focused when explaining protocols.

Edit: QUIC is technically also Layer 4 

0

u/ElSucaPadre 1h ago

lol yes but if the application on level 5 is using udp it will surely know if they're missing something important

8

u/InDubioProReus 1h ago

You probably wouldn’t use UDP if there’s anything important to miss.
It’s meant for traffic where the latest state is gold, like multiplayer games, video calls etc.

3

u/yahluc 58m ago

But an application can have its own retry mechanism when using UDP with its own rules. Like sometimes old data is important, but not important enough to block the rest of transmission like TCP does.

2

u/Single-Virus4935 33m ago

Yes, but that has nothing to do with UDP. They didn't ask about $PROTOCOL over UDP. They aske d about UDP

0

u/rosuav 1h ago

"... where the latest state is gold, like multiplayer games". Sends UDP packet to notify the client that the player's gold has changed.

3

u/Single-Virus4935 1h ago

Not necessarily and they didn't ask about another protocol, they ask about UDP. The Interviewer has to stay in this layer if he wants to demonstrate how it works.

0

u/ElSucaPadre 46m ago

yes but this isn't a real interview, it's a joke

1

u/Single-Virus4935 23m ago

Still a bad joke and people show that shows that people are missing fundamentals. Good oportunity to learn why this joke is just nonesense

1

u/capi1500 1h ago

Unless it's the first packet sent from a client to server

•

u/ramdomvariableX 6m ago

Will be funnier if the candidate starts talking about Upper Peninsula (UP: Michigan, US) or Uttar Pradesh (UP: India). because he missed the 'D'.

2

u/Proper-Ape 37m ago

This is the brain layer having to make up for an unreliable transport layer.

1

u/Single-Virus4935 33m ago

That wasn't the question. If so, candidate mixed layers and failed 

1

u/Proper-Ape 21m ago

But he didn't get the question. How should he answer it?

1

u/otkpro 59m ago

okay I can hear you now

1

u/Single-Virus4935 58m ago

Another one who doesn't understand udp

-2

u/notSarcasticAtAII 1h ago

I think the point is, it IS tcp, that's why it didn't get the udp question. Layered.

3

u/Single-Virus4935 59m ago

Nope, he just pretended that he didn't got all packets. On UDP that wouldnt get noticed at all. On TCP an unsolicited packet would result in a RST

0

u/notSarcasticAtAII 33m ago

Since I couldn't get my point accross, asked AI to do it. Sorry, I understand network just not good enough to explain.


Oh totally, yeah. He just pretended to miss it. Because that's what TCP does. It pretends.

My guy is literally TCP. He doesn't speak UDP. He can't. That's the whole joke. He didn't get the UDP question because he's not UDP. He asked for it again because he's TCP. That's why it's funny.

You bringing up RST like he's some random packet knocking on a closed port. Bro, he's IN the interview. The connection is already open. He's not unsolicited, he's just confused.

0

u/Single-Virus4935 28m ago edited 21m ago

UDP doesnt have connections and TCP sends RST also for non existing connections on a open port.

The whole thing falls apart because a UDP packet wount end up in the TCP Stack.  If a packet with TCP proto is sent with UDP structure it wouldnt decode correctly and be dropped. Your scenario has no technical foundation.

0

u/notSarcasticAtAII 19m ago

I'm not even debating technicalities, you're right on all accounts. I'm saying, the interviewee is literally the TCP protocol, hinting at the deeper layer on the joke itself.

Not explaining further, cheers to people who do get the point.

0

u/Single-Virus4935 15m ago

I dont think there is a deeper layer. The canidate failed to understand the protocol. What we dont know is if the creator intended the canidate to pass or fail

76

u/winter-m00n 1h ago

there is no repeat in udp, is it?

59

u/sirkubador 55m ago

nope

if this was a udp joke, you wouldn't get it

3

u/Feisty_Manager_4105 48m ago

perhaps repeatedly ask him every 5 seconds

70

u/robin_888 51m ago

"Can you explain UDP to me?"

silence "And that's the core concept of UDP."

14

u/cabbagesweetner 29m ago

Much better punchline

39

u/Kidplayer_666 48m ago

“Can you tell me a udp joke?”

“You might not get it”

6

u/GreatArtificeAion 33m ago

Interviewer: Explain UDP to me.

Candidate: Sorry, I may not have gotten all of that. What's your next question?

3

u/sainglend 1h ago

It is the place few Michiganders live.

2

u/jeffrecode 45m ago

No, that's DUP

16

u/qengineer 1h ago

No, the candidate passed. The interviewer was using UDP and refused to repeat themselves.

23

u/AkodoRyu 1h ago

Asking for repeat is not part of the protocol to begin with.

2

u/TohveliDev 1h ago

But then if the interviewer does repeat the question, it becomes TCP.

2

u/Skycl4w 1h ago

They should also agree that they are talking to each other before asking questions. Consent matters.

1

u/rosuav 1h ago

Doesn't have to. You can, for example, send a DNS request on port 53 UDP and get back a response (also UDP) that tells you that you can't get that information (eg SERVFAIL). Though, if you asked for *too much* information, then the correct response is to switch to TCP, so in a very different sense, it would in fact become TCP.

1

u/dinklezoidberd 42m ago

That’s a good point! I’d like to shake your hand.

7

u/cdtoews 54m ago

I once answered this question like this "I'd tell you a joke about UDP, but I'm not sure you'd get it"

2

u/regidud 55m ago

I will tell you once, I don't care if you get it

1

u/sirkubador 53m ago

You definitely can develop tcp on top of udp, it is in fact quite quic

1

u/PM-ME-UR-DARKNESS 30m ago

Oh that's funny

1

u/ramriot 18m ago

So a failed interview question either way

1

u/AtheIstan 16m ago

What's upd?