This is an amalgam of two half-remembered jokes, but I think it works.
------- An engineer, physicist, mathematician, and programmer are all hired by a shepherd to create a pen to hold as many sheep as possible with the materials given. The engineer sets to work immediately building a traditional rectangular fence: a proven design which works. She finishes in an hour. The physicist pulls out pencil and notepad, and after a few minutes of computation, determines that a novel circular fence design will enclose the maximum number of (spherical, frictionless) sheep, while remaining structurally sound. He too completes the fence within an hour. The mathematician sits for an hour under a tree in deep thought, suddenly jumps up, wraps herself in a short length of fence, and says, "I declare myself to be outside the fence!" [this is normally where the joke ends] The programmer meanwhile is nowhere to be found, having run off excitedly with his laptop immediately after hearing the problem statement. The shepherd congratulates the other three on a job well done, and they all part ways. A week later, as the shepherd is tending to the flock, he is surprised to see the programmer sitting in the shade of a tree, furiously typing away at his laptop. "Uh, how's it coming?" the shepherd asks. The programmer replies, "It's going great! I've almost finished coding the cross-platform terminal graphics library!"
It's often said that software engineers have no code of ethics. This is untrue. For example, no respectable software engineer would ever consent to writing a function called DestroyBaghdad().
> Professional ethics would compel them to instead write a function DestroyCity, to which "Baghdad" could be passed as a parameter.
A common rule in the profession would be that that would only be true after they’d coded city-specific destruction functions for two previous cities, otherwise it would be premature abstraction.
Sometimes you might want to know success though. So...
status = destroyCity(&city); This way, because assumingely we may mutate city in some way we’ll still have what comes after to examine, we didn’t pass the name or Od of the city, but the location itself. And we’ll know if overall our destruction worked. It’s also better if you code to MIRSA destruction.
An infinite number of mathematicians walk into a bar.
The first mathematician orders a beer. The second orders half a beer. "I don't serve half-beers" the bartender replies. "Excuse me?" Asks mathematician #2. "What kind of bar serves half-beers?" The bartender remarks. "That's ridiculous." "Oh c'mon" says mathematician #1 "do you know how hard it is to collect an infinite number of us? Just play along". "There are very strict laws on how I can serve drinks. I couldn't serve you half a beer even if I wanted to." "But that's not a problem" mathematician #3 chimes in "at the end of the joke you serve us a whole number of beers. You see, when you take the sum of a continuously halving function-" "I know how limits work" interjects the bartender. "Oh, alright then. I didn't want to assume a bartender would be familiar with such advanced mathematics". "Are you kidding me?" The bartender replies, "you learn limits in like, 9th grade! What kind of mathematician thinks limits are advanced mathematics?" "HE'S ON TO US" mathematician #1 screeches Simultaneously, every mathematician opens their mouth and out pours a cloud of multicolored mosquitoes. Each mathematician is bellowing insects of a different shade. The mosquitoes form into a singular, polychromatic swarm. "FOOLS" it booms in unison, "I WILL INFECT EVERY BEING ON THIS PATHETIC PLANET WITH MALARIA" The bartender stands fearless against the technicolor hoard. "But wait" he inturrupts, thinking fast, "if you do that, politicians will use the catastrophe as an excuse to implement free healthcare. Think of how much that will hurt the taxpayers!" The mosquitoes fall silent for a brief moment. "My God, you're right. We didn't think about the economy! Very well, we will not attack this dimension. FOR THE TAXPAYERS!" and with that, they vanish. A nearby barfly stumbles over to the bartender. "How did you know that that would work?" "It's simple really" the bartender says. "I saw that the vectors formed a gradient, and therefore must be conservative."
The "you learn limits in like, 9th grade" comment reminds me of this one:
Two mathematicians are in a bar. The first one says to the second that the average person knows very little about basic mathematics. The second one disagrees, and claims that most people can cope with a reasonable amount of math.
The first mathematician goes off to the washroom, and in his absence the second calls over the waitress. He tells her that in a few minutes, after his friend has returned, he will call her over and ask her a question. All she has to do is answer one third x cubed. She repeats "one thir -- dex cue"? He repeats "one third x cubed". She says, "one thir dex cuebd"? Yes, that's right, he says. So she agrees, and goes off mumbling to herself, "one thir dex cuebd...". The first guy returns and the second proposes a bet to prove his point, that most people do know something about basic math. He says he will ask the blonde waitress an integral, and the first laughingly agrees. The second man calls over the waitress and asks "what is the integral of x squared?". The waitress says "one third x cubed" and while walking away, turns back and says over her shoulder "plus a constant!"
Yeah that does push it a bit, but the joke is that she didn't understand what he was talking about with the 'onethirdxcubed', mis-parsing it without context. But when asked the integral, she knew the answer; not because she'd been told.
The waitress is a high functioning autistic. She knows calculus, but cannot work out a mishearing of natural language in a noisy environment, and just memorizes the raw phonemes with meaningless word divisons.
Hey, it's not cool to steal jokes from /r/antiantijokes. I am a mod there (as evident from my username), and don't appreciate this. The joke is hilarious though.
An infinite number of mathematicians walk into a bar, where a beer costs 3$.
The first mathematician orders a beer. The second mathematician orders two beers. The third mathematician orders three beers. "Oh, I see where this is going" says the bartender and pays a quarter to the first mathematician. "This should cover your check, then."
-1/12 beers * $3 / beer = -$0.25 negative -> pay them for taking the beer The -1/12 result is pretty widely known, but not particularly true. It's called "analytic continuation." There's a nonrigorous proof that's accessible at a highschool level - see [here](https://en.wikipedia.org/wiki/1_%2B_2_%2B_3_%2B_4_%2B_%E2%8B...) Delightfully, this comes up in string theory, in computing the dimensionality of spacetime.
The waitress asked if they would ALL like dessert. If the first logician did NOT want dessert, then they could safely answer "no", because then it would not be the case that ALL of the logicians want dessert. Since they do not answer no, we can assume they do want dessert. The same follows for the second logician. The third (who also wants dessert) has heard their colleagues answer, and knows that if either of them did not want dessert they would have answered no, and can therefore now answer "yes, we would all like dessert".
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, otherwise their statement becomes untrue.
Forgive me for my ignorance, but I don't really understand this joke...
Is it something to do with the first 2 not knowing the preference of the others? EDIT: never mind, this was also posted later in the thread and there's an explanation there.
Comments (852) 364 threads
Earlier comments-------
An engineer, physicist, mathematician, and programmer are all hired by a shepherd to create a pen to hold as many sheep as possible with the materials given.
The engineer sets to work immediately building a traditional rectangular fence: a proven design which works. She finishes in an hour.
The physicist pulls out pencil and notepad, and after a few minutes of computation, determines that a novel circular fence design will enclose the maximum number of (spherical, frictionless) sheep, while remaining structurally sound. He too completes the fence within an hour.
The mathematician sits for an hour under a tree in deep thought, suddenly jumps up, wraps herself in a short length of fence, and says, "I declare myself to be outside the fence!" [this is normally where the joke ends]
The programmer meanwhile is nowhere to be found, having run off excitedly with his laptop immediately after hearing the problem statement. The shepherd congratulates the other three on a job well done, and they all part ways.
A week later, as the shepherd is tending to the flock, he is surprised to see the programmer sitting in the shade of a tree, furiously typing away at his laptop. "Uh, how's it coming?" the shepherd asks.
The programmer replies, "It's going great! I've almost finished coding the cross-platform terminal graphics library!"
Professional ethics would compel them to instead write a function DestroyCity, to which "Baghdad" could be passed as a parameter.
https://en.wikiquote.org/wiki/Nathaniel_Borenstein
A common rule in the profession would be that that would only be true after they’d coded city-specific destruction functions for two previous cities, otherwise it would be premature abstraction.
status = destroyCity(&city);
This way, because assumingely we may mutate city in some way we’ll still have what comes after to examine, we didn’t pass the name or Od of the city, but the location itself. And we’ll know if overall our destruction worked. It’s also better if you code to MIRSA destruction.
Continue this thread — 6 replies
The first mathematician orders a beer.
The second orders half a beer.
"I don't serve half-beers" the bartender replies.
"Excuse me?" Asks mathematician #2.
"What kind of bar serves half-beers?" The bartender remarks. "That's ridiculous."
"Oh c'mon" says mathematician #1 "do you know how hard it is to collect an infinite number of us? Just play along".
"There are very strict laws on how I can serve drinks. I couldn't serve you half a beer even if I wanted to."
"But that's not a problem" mathematician #3 chimes in "at the end of the joke you serve us a whole number of beers. You see, when you take the sum of a continuously halving function-"
"I know how limits work" interjects the bartender.
"Oh, alright then. I didn't want to assume a bartender would be familiar with such advanced mathematics".
"Are you kidding me?" The bartender replies, "you learn limits in like, 9th grade! What kind of mathematician thinks limits are advanced mathematics?"
"HE'S ON TO US" mathematician #1 screeches
Simultaneously, every mathematician opens their mouth and out pours a cloud of multicolored mosquitoes. Each mathematician is bellowing insects of a different shade.
The mosquitoes form into a singular, polychromatic swarm. "FOOLS" it booms in unison, "I WILL INFECT EVERY BEING ON THIS PATHETIC PLANET WITH MALARIA"
The bartender stands fearless against the technicolor hoard. "But wait" he inturrupts, thinking fast, "if you do that, politicians will use the catastrophe as an excuse to implement free healthcare. Think of how much that will hurt the taxpayers!"
The mosquitoes fall silent for a brief moment. "My God, you're right. We didn't think about the economy! Very well, we will not attack this dimension. FOR THE TAXPAYERS!" and with that, they vanish.
A nearby barfly stumbles over to the bartender. "How did you know that that would work?"
"It's simple really" the bartender says. "I saw that the vectors formed a gradient, and therefore must be conservative."
Two mathematicians are in a bar. The first one says to the second that the average person knows very little about basic mathematics. The second one disagrees, and claims that most people can cope with a reasonable amount of math. The first mathematician goes off to the washroom, and in his absence the second calls over the waitress. He tells her that in a few minutes, after his friend has returned, he will call her over and ask her a question. All she has to do is answer one third x cubed.
She repeats "one thir -- dex cue"?
He repeats "one third x cubed".
She says, "one thir dex cuebd"?
Yes, that's right, he says. So she agrees, and goes off mumbling to herself, "one thir dex cuebd...".
The first guy returns and the second proposes a bet to prove his point, that most people do know something about basic math. He says he will ask the blonde waitress an integral, and the first laughingly agrees. The second man calls over the waitress and asks "what is the integral of x squared?".
The waitress says "one third x cubed" and while walking away, turns back and says over her shoulder "plus a constant!"
Continue this thread — 5 replies
When is it okay to repeat a joke from the internet and when is it not?
Continue this thread — 2 replies
The first mathematician orders a beer.
The second mathematician orders two beers.
The third mathematician orders three beers.
"Oh, I see where this is going" says the bartender and pays a quarter to the first mathematician. "This should cover your check, then."
The catch is that this isn't valid in what we consider standard mathematics, and you can find many discussions of this online, but this one is fairly short and straightforward: http://curiouscheetah.com/BlogMath/infinity-and-string-theor...
-1/12 beers * $3 / beer = -$0.25
negative -> pay them for taking the beer
The -1/12 result is pretty widely known, but not particularly true. It's called "analytic continuation." There's a nonrigorous proof that's accessible at a highschool level - see [here](https://en.wikipedia.org/wiki/1_%2B_2_%2B_3_%2B_4_%2B_%E2%8B...)
Delightfully, this comes up in string theory, in computing the dimensionality of spacetime.
Continue this thread — 4 replies
Continue this thread — 4 more replies
The first logistician says "I don't know." The second also says "I don't know." The last says "yes, we would."
Continue this thread — 1 reply
Note the first logicians have to answer "I don't know" even if they don't wan't it, otherwise their statement becomes untrue.
Continue this thread — 2 replies
Is it something to do with the first 2 not knowing the preference of the others?
EDIT: never mind, this was also posted later in the thread and there's an explanation there.
Continue this thread — 2 replies
Continue this thread — 2 more replies
All comments shown.
Couldn't load more comments. Check your connection and try again.