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
avmich8 replies#
A programmer walks into a bar and ask for a drink. The bartender says I'll give you a drink if you tell me a programmer joke. And he says: a programmer walks into a bar and ask for a drink. The bartender says I'll give you a drink if you tell me a programmer joke. And he says: a programmer walks into a bar and ask for a drink. So he gives the guy a drink, so he gives the guy a drink, so he gives the guy a drink.
jon_richards#
I thought someone was going to raise a flag.
edoceo#
Recursive till you fall off your stool.
ashishmax313 replies#
Now the programmer just waits till the stack blows up to get his free drink.
dvfjsdhgfv#
Well, that depends on the language they speak.
Gupie#
Or whether the tale is optimised
yoz-y#
That's how you get out of the simulation.
i2shar2 replies#
... (continued): The bartender gives him a puzzled look and says, "I didn't get it", to which the programmer responds "To understand recursion you must first understand recursion."
pvitz2 replies#
This is a wonderful easter egg, thanks!

Continue this thread — 2 replies

jeofken#
This recurs until the programmers runs out of stacks
hliyan1 reply#
In a similar vein:

One day a student came to Moon and said: “I understand how to make a better garbage collector. We must keep a reference count of the pointers to each cons.”
Moon patiently told the student the following story:
“One day a student came to Moon and said: ‘I understand how to make a better garbage collector...

rottc0dd#
Disclaimer : Details nobody asked for.

These are one of the jokes originating from MIT AI Lab. And, Moon mentioned here is David Moon - one of the famous hackers from MIT AI lab.
Other such jokes from same origin [1]
[1] - http://www.catb.org/~esr/jargon/html/koans.html

golergka1 reply#
Finally, a recursion joke that is not about infinite recursion!
YeGoblynQueenne2 replies#
Well, strictly speaking it is. There is no terminating condition- the OP simply chose to return at an arbitrary point in the recursion.
userulluipeste#
I thought it stopped due to exhausting the bar's stock, which conveniently was limited to only three drinks.
jodrellblank#
Is it? In the outer "real world" the bartender will give the programmer a drink for a joke. It could be a knock-knock joke or anything, but the programmer makes it recursive. Thus making the whole thing a joke to us, otherwise it would be a knock-knock joke embedded in a pointless programmer/bartender reference.

In the first joke level, the bartender will give the programmer a drink for a joke; it doesn't work to arbitrarily end here because "a programmer asks the bartender for a drink and the bartender gives him a drink" isn't anything like a joke to qualify at the parent level.
The next level is another layer of recursion and here the programmer can literally ask for a drink and get one even though that isn't funny in itself because it can be funny in the context of the outer joke using "he asked for a drink and got one" as a cheeky way to tell a joke to get a drink, and because it's a reference to recursion, the reason for Chekhov's Programmer in the opening sentence, so making something that qualifies as a joke to get the real world programmer a real world beer.
Seems to me like it's the earliest point it could return and still potentially work, rather than an arbitrary point?

GurnBlandston1 reply#
An infinite number of mathematicians walk into a bar. The first one orders a beer. The second one orders half a beer. The third one orders a fourth of a beer. The bartender stops them, pours two beers and says, “You guys should know your limits.”
avmich#
There is a bunch of funny problems regarding Hilbert Hotel, with countably infinite number of suits :) .
dharmab4 replies#
A QA engineer walks into a bar and orders a beer.

She orders 2 beers.
She orders 0 beers.
She orders -1 beers.
She orders a lizard.
She orders a NULLPTR.
She tries to leave without paying.
Satisfied, she declares the bar ready for business. The first customer comes in an orders a beer. They finish their drink, and then ask where the bathroom is.
The bar explodes.

senectus11 reply#
Not a programmer, but this is good.
eyelidlessness1 reply#
If you mean you're not a programmer, rad, good compliment. If you mean QA engineers aren't programmers... wtaf?
spacemanmatt10 replies#
It's weird how some people admit they still test code by hand

Continue this thread — 10 replies

christophilus#
This is the first one that made me laugh out loud. My kids came over, “Can I see?” to which I replied “I’m a giant nerd.”
kyriakos#
This describes our qa team accurately
adverbly#
I just came up with a variation to this off the top of my head.

A QA engineer walks into a bar. She orders a beer. She walks out of the bar. She walks into the bar. She walks into the bar. She walks out of the bar. She walks out of the bar. She walks out of the bar. She orders a beer.

tsimionescu6 replies#
There's an old Joel on Software one related to string concatenation:

Shlemiel gets a job as a street painter, painting the dotted lines down the middle of the road. On the first day he takes a can of paint out to the road and finishes 300 yards of the road. "That's pretty good!" says his boss, "you're a fast worker!" and pays him a kopeck.
The next day Shlemiel only gets 150 yards done. "Well, that's not nearly as good as yesterday, but you're still a fast worker. 150 yards is respectable," and pays him a kopeck.
The next day Shlemiel paints 30 yards of the road. "Only 30!" shouts his boss. "That's unacceptable! On the first day you did ten times that much work! What's going on?" "I can't help it," says Shlemiel. "Every day I get farther and farther away from the paint can!"

invalidOrTaken1 reply#
The other day I was asking my data scientist brother if you run into this problem training DNN's (anyone: do you?), and ended up telling this one!
lordgrenville1 reply#
IIUC you generally train on a sliding window of most recent data. That or just keep adding GPUs...
alanbernstein#
Every day I get farther from the GPU shop!
ifdefdebug1 reply#
Nice plot twist. I thought this one was going to be about optimizing the work that has to be done for one kopeck.
marcosdumay#
There's something about strcat there somewhere.
methyl#
This also applies to pagination based on offset/limit
grandchild#
This could be a metaphor for how a greenfield project turns into a tiresome upkeep effort, after the initial creativity gets further and further buried under the maintenance strain.
kieckerjan#
Now this would be funny if it did not bring up painful memories. :-)
nzealand3 replies#
A software engineer, a priest, and a doctor are trying to enjoying a round of golf. Ahead of them is a group playing so slowly and inexpertly that in frustration the three ask the greenkeeper for an explanation. “That’s a group of blind firefighters,” they are told. “They lost their sight saving our clubhouse last year, so we let them play for free.”

The priest says, “I will say a prayer for them tonight.”
The doctor says, “Let me ask my ophthalmologist colleagues if anything can be done for them.”
And the software engineer says, “Why can’t they play at night?”

rkagerer7 replies#
I'm a firefighter programmer and I liked this one.

Continue this thread — 7 replies

Continue this thread — 2 more replies

Load more comments