Live data from Hacker News

Ask HN: Anyone know any funny programming jokes?

news.ycombinator.com

531–540 of 905 posts

Re: Ask HN: Anyone know any funny programming jokes?

#531
post #486

Earlier quoted context omitted.

Maybe a bug in a joke, perhaps the coordinates need fixing.

This would never have happened if the joke had been made by one of those 10X Comedians.

I think without actually getting into the 10x debate regarding engineers, we can all agree that there are definitely 10x comedians.

Re: Ask HN: Anyone know any funny programming jokes?

#532

One of my all time favorites. Can’t remember where I first read it (Quora?), but it’s currently my top Google hit for “balloon programmer project manager joke”. [0] ============ A man is flying in a hot air balloon and realizes he is lost. He reduces height and spots a man down below. He lowers the balloon further and shouts: "Excuse me, can you help me? I promised my friend. I would meet him half an hour ago, but I…

A similar joke I heard recently: A helicopter was flying around above Seattle when an electrical malfunction disabled all of the aircraft's electronic navigation and communications equipment. Due to the clouds and haze, the pilot could not determine the helicopter's position and course to fly to the airport. The pilot saw a tall building, flew toward it, circled, drew a handwritten sign, and held it in the helicopter…

This joke must have been written by a journalist who's never been to Microsoft and doesn't bother to fact check their work, since the Microsoft campus is in Redmond and the tallest buildings there are only six stories high.

Re: Ask HN: Anyone know any funny programming jokes?

#533

I don't understand why people find DNS so difficult, it’s just cache invalidation and naming things. source: https://twitter.com/jdub/status/739110670562557952?s=20

Ah, I wondered why that tweet was going around again! :-)

A little tribute to Phil Karlton's classic. And DNS.

Re: Ask HN: Anyone know any funny programming jokes?

#534
A biologist, a physicist, and a mathematician are all watching a house that seems empty. Presently, two people enter the house, and after a while three people come back out.

The biologist says: "Clearly, there was a breeding."

The physicist says: "Oh no, it's our measurements that are imprecise."

The mathematician thinks for a while and declares: "If one more person walks in, the house will be empty again."

Re: Ask HN: Anyone know any funny programming jokes?

#535
post #480

Earlier quoted context omitted.

First of all, the joke makes no sense if you put a logistician instead of logician. Second, if you ask one person a question related to the opinions of all others, logically they can't answer yes or no, the only possible answer is "I don't know." Only when you reach the last person you have a chance of giving a definite answer. Note the first logicians have to answer "I don't know" even if they don't wan't it, otherw…

> Note the first logicians have to answer "I don't know" > even if they don't wan't it, otherwise their statement > becomes untrue. No. "A && B && C" is only true when all three are true. If A knows it does not want, they can answer "no", because there is no way "ALL want" is true in that case.

Correct. I missed "all" in the joke.

Re: Ask HN: Anyone know any funny programming jokes?

#537
post #193

This is an oldie (I first heard it in the 80s) but is one of my all time favorites. While it can be told about any two classes of people it really applies to a lot of code I encounter: A physicist is showing a thermos to her friend, a programmer. "It's amazing", she said. "You put a cold drink inside and regardless of how hot it is outside the drink stays cold". The programmer is suitably impressed. "But that's not a…

0 if the bottle is empty.

1 if its hot.

-1 when its cold :D

Re: Ask HN: Anyone know any funny programming jokes?

#538
post #355

Earlier quoted context omitted.

Could you share an example of this? I could be misinterpreting this but say you're building a survey system and you need to keep track of answer types (e.g. text, date, etc) and the answer itself, how can you collapse that into one field?

Your thermos does not have a switch which you must set to "hot" or "cold" before inserting a liquid, handles solids as well as liquids, and doesn't require you to even think where the theshold might lie between the "hot" and "cold" settings. Instead it just does its best to prevent an energy exchange in either direction without having to even know the variables involved. And the "same subroutine" is basically used fo…

Another way of expressing this concept is to "make invalid states unrepresentable"

Re: Ask HN: Anyone know any funny programming jokes?

#539
post #513
post #481

Earlier quoted context omitted.

A Soviet engineer needs some plumbing done in his apartment, and calls for a plumber. The plumber arrives, does his thing, and hands over the bill. The engineer is shocked. -'What, this is like a quarter of what I make in a month - for half an hour's work???' Plumber shrugs. -'Well, why don't you come join us? Easy work, well paid, no responsibility - just remember to keep mum about your degree, as we're not supposed…

I think the integral is 4 * integrate sqrt(r^2 - x^2) w.r.t. x from x=0 to x=r which is from the equation of circle with radius r centered at the origin: x^2 + y^2 = r^2 => y = sqrt(r^2 - x^2) any other way achieve the same using integration?

\int_0^2π{(1/2)r^2dθ}

Value inside the integral is area of thin triangle of height r and base rdθ.

Post reply on HN