Lurker News
Can be super esoteric or super generalized, I love it when I get them, or when I just learn something new.

Comments (852) 364 threads

Earlier comments
MrPatan3 replies#
This is HN, I'm going to kill a joke instead:

There is the classic:
There are only two hard problems in computer science: Cache invalidation, naming things... and off-by-one errors!
Ha ha ha
I hate this joke. It takes one of the most insightful things ever said about the profession, makes it into a joke that isn't even that good, and now the only thing you rememebr about it is the punchline.
Let's break it down:
- Cache invalidation: State management! Distributed systems! This really gets to the core of what's hard. This is the only technical problem. For everything else you will have all the information you need at hand and it's a matter of getting the machine to do your bidding.
- Naming things: Communication! Dealing with people, whether it's you in the future or somebody else in the present is not a technical problem, but it is an even more important problem. It's unsolved. You will need to practice, think, fail, try more, and it's not even guaranteed to succeed. People are like that. It's a hard problem.
So there you have it. Probably the most insightful thing said about our job in less than fifteen words, and if you hear it, the "joke" immediately makes you think about the punchline, robbing you of the opportunity of reflecting about it.

yread1 reply#
...er you forgot the off-by-one errors!
theelous3#
maybe the best implicit punchline.

The rant about the joke was the joke.

marcus_holmes#
I like to think it's more insightful with the joke, because there's always some problem that you weren't expecting.
forgotmypw17#
But what about cache invalidation?
bitxbitxbitcoin3 replies#
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'll hear a TCP joke.
Are you ready to hear a TCP joke?
Yes, I am ready to hear a TCP joke.
OK, I'm 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'm ready to hear the TCP joke that will last 10 seconds, has two characters, does not have a setting and will end with a punchline.
I'm sorry, your connection has timed out...
Hello, would you like to hear a TCP joke?
(Credits to whoever first came up with this.)

chrisshroba#
Would you like to hear a UDP jo
melenaos1 reply#
I would say UTP joke but i am not sure if anyone catch it.
sidpatil#
You've got a twisted sense of humor.
teraflop#
"HEY, DOES ANYBODY KNOW A GOOD ARP JOKE?"
fsflover1 reply#
There are only two hard problems in distributed systems:

2. Exactly-once delivery
1. Guaranteed order of messages
2. Exactly-once delivery

valzam1 reply#
Reminds me of

There are only 2 hard things about programming:
- Cache invalidation
- Naming things
- Off-by-one errors

skellystudios2 replies#
Cache invalidation isn’t hard, but it used to be and now we can’t get people to think otherwise.
rvense#
I heard that the two main problems in computer science is that we have only one joke and it's not very funny.
jbn#
cache invalidation is not hard indeed, but people always forget about it (so caches aren't caches aanymore, they become stale copies of things...). People tend to forget that a cache has to have a fixed size and an eviction policy.
wwilim#
Here's one I've heard, originally in Russian

===
Why do programmers hate legacy projects, you ask?
Well, imagine yourself in a situation where you are asked to finish the construction of a nuclear power plant on a remote island that your friend started.
You arrive on the island to discover quite unusual pieces of design in the project. Among other curiosities, you find a room full of broomsticks, a 90 foot tall fan and a hot air balloon. You think to yourself - what a silly idea, who needs all those things in a power plant? - and your first steps are to remove all those unnecessary dingbats.
A few months of hard work later, you have finished the construction of the power plant. You and a few scientists gather in the control room and power the thing up for the first time for a test run. Everything seems to be working fine for a few minutes, but suddenly, everything lights up red - there is a radioactive gas leak!
You panic, because you have no idea what could have caused such an issue. You call your friend and ask for ideas. While you describe the situation to him, he is horrified.
- Have you really gotten rid of the room with the broomsticks?
- Of course! Why would you need a room full of broomsticks in a power plant?
- They were holding up the weight of the reactor core! No wonder you have a radioactive gas leak!
- My God, why did you not tell me? What should I do about the leak?
- Don't worry, everything is fine, just turn on the 90 foot tall fan and it should blow the toxic gas away from the island.
- What fan? Oh, this fan? I've gotten rid of it!
- Why would you do that?! It was an important safety measure!
- We'll argue about that later, people are dying in here! Is there anything else I can do?
- You can't stay on the island, it is not safe. Just gather everyone in the hot air balloon and get the hell out of there!

Load more comments