this post was submitted on 23 Aug 2023
1439 points (97.9% liked)

Programmer Humor

19544 readers
486 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
 
top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 92 points 1 year ago (1 children)

This is truly the best way to Rickroll someone. We’ve reached new heights. I like it.

[–] [email protected] 38 points 1 year ago

In a sense, it's the only way

[–] [email protected] 25 points 1 year ago (2 children)
[–] [email protected] 22 points 1 year ago

The internet layer of the TCP/IP network stack is where the packets are routed between hosts. It operates between devices that have their own logical (IP) addresses, such as computers, routers, modems, or network bridges. It is the layer where the packet finds its way from the sender to the destination. Its most common protocols are IPv4, IPv6, and ICMP.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)

It's been a few years since my networking course, ~~but I believe it refers to DNS~~ it refers to stuff like IP addresses. DNS is related to the Internet layer, but it's not correct to call it the Internet layer

[–] [email protected] 14 points 1 year ago (2 children)

This meme is kind of wrong though, because it's mixing the OSI model with the TCP/IP model, which are different representations of the same thing, but in either model the "link layer", ie layer 2 switching would never hand over to the "internet" layer without going through network first. So if you're confused, it's because it's wrong.

Application, transport, session, transport, network, data, physical (OSI) Application, transport, internet, network (TCP/IP)

[–] [email protected] 1 points 1 year ago

First mention of Transport should be Presentation for OSI. All People Seem To Need DP. Dr. Pepper? Data Processing? Remember it as you will.

[–] [email protected] 0 points 1 year ago

Appreciate it! Yea something seemed off about the meme in general, but I couldn't put my finger on it

[–] [email protected] 7 points 1 year ago (1 children)

It's the Internet Protocol packets that hold the TCP segments and UDP packets.

[–] [email protected] 4 points 1 year ago (1 children)

Yep now I remember. You're right, it's the IP addresses. DNS just maps those addresses to URLs

[–] [email protected] 2 points 1 year ago

DNS is an application layer on top of the Internet layer that lets you have host names (i.e. "www.google.com") towards the user side instead of IP addresses (i.e. 127.0.0.1).

However the internet layer only understands IP addresses so any application that is using hostnames internally and for displaying to the user has to translate them into IP addresses (using DNS) as it has to use those for the internet layer to know which hosts it wants to talk to.

URLs are yet something else: they're a text format for encoding protocol, host if applicable (in name or in IP address), IP port if applicable and protocol specific stuff (i.e. the page address on a website) to form an application level "address", which is more than just the host address (as that's only a machine on the network, not a service hanging from an IP port on that machine waiting for requests).

People are so used to web URLs that they often don't know URLs can encode more than just pages in what they think as "normal" web addresses (such as http://www.google.com/ and https://www.google.com/) and can actually support the same protocol in a different port (http://www.google.com:8080/ - note that this one probably doesn't work because google just uses the default port for HTTP which is 80 and doesn't have an HTTP server running in 8080), host identification by IP address instead of hostname (i.e. http://127.0.0.1) and even different protocols (i.e. ftp://127.0.0.1).

[–] [email protected] 21 points 1 year ago

This meme took up a lot of vertical space on my feed, like this cat

[–] [email protected] 11 points 1 year ago

the clearest graphic flow than any company flowchart presentation

[–] [email protected] 7 points 1 year ago

this is what I'll post whenever I get that fucking stupid interview question.

[–] [email protected] 5 points 1 year ago
[–] [email protected] 5 points 1 year ago (1 children)

People don’t need to see Paula Abdul.

[–] [email protected] 2 points 1 year ago

although... People Desperatly Need To See Pamela Anderson

[–] [email protected] 3 points 1 year ago
[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 7 points 1 year ago (1 children)

No, there's one of me and one of you.

[–] [email protected] 4 points 1 year ago