The nerdy jokes thread (bonus original title mode!)
-
@HardwareGeek said in The nerdy jokes thread (bonus original title mode!):
@JBert It's too blurry to read. What series is it?
Taylor series for trig functions as far as I can tell.
-
@HardwareGeek said in The nerdy jokes thread (bonus original title mode!):
@JBert It's too blurry to read. What series is it?
Use your damn glasses!
ed. well it hasn't converged yet
-
-
@Mason_Wheeler They use transistors to do root canals. Well, not really, but they look like them. At least to me.
-
@jinpa said in The nerdy jokes thread (bonus original title mode!):
@Mason_Wheeler They use transistors to do root canals. Well, not really, but they look like them. At least to me.
That's what bimolar junction transistors are for.
-
@LaoC said in The nerdy jokes thread (bonus original title mode!):
bimolar junction transistors
-
@LaoC said in The nerdy jokes thread (bonus original title mode!):
@jinpa said in The nerdy jokes thread (bonus original title mode!):
@Mason_Wheeler They use transistors to do root canals. Well, not really, but they look like them. At least to me.
That's what bimolar junction transistors are for.
Yep.
-
@algorythmics said in The nerdy jokes thread (bonus original title mode!):
a programmer's wife tells him to run to the store and get a loaf of bread, if they have eggs, get a dozen.
he comes back, out of breath, with 12 loaves of bread.
Shouldn't he come back with 13?
-
@jinpa It's a programmer, not a computer, so we're looking at how requirements become code, not the code itself.
The programmer is meant to get at least one loaf of bread. However, if the store has eggs, he should get a dozen. It's not "get a dozen more", therefore:
if (store.HasEggs()) { bread.Get(12); } else { bread.Get(1); }
-
@GOG
https://idioms.thefreedictionary.com/a+baker's+dozenBut he's a programmer, not a baker, so it still doesn't apply.
-
@GOG said in The nerdy jokes thread (bonus original title mode!):
@jinpa It's a programmer, not a computer, so we're looking at how requirements become code, not the code itself.
The programmer is meant to get at least one loaf of bread. However, if the store has eggs, he should get a dozen. It's not "get a dozen more", therefore:
if (store.HasEggs()) { bread.Get(12); } else { bread.Get(1); }
If the front page has taught us anything, it's not to overestimate the sense of the average programmer. The instructions do not say anything about else or "at least".
So it would get written as:
bread.Get(1); if (store.HasEggs()) { bread.Get(12); }
-
@jinpa said in The nerdy jokes thread (bonus original title mode!):
@GOG said in The nerdy jokes thread (bonus original title mode!):
@jinpa It's a programmer, not a computer, so we're looking at how requirements become code, not the code itself.
The programmer is meant to get at least one loaf of bread. However, if the store has eggs, he should get a dozen. It's not "get a dozen more", therefore:
if (store.HasEggs()) { bread.Get(12); } else { bread.Get(1); }
If the front page has taught us anything, it's not to overestimate the sense of the average programmer. The instructions do not say anything about else or "at least".
So it would get written as:
bread.Get(1); if (store.HasEggs()) { bread.Get(12); }
ITYM
breadFactory.Get()
-
$bread = BreadFactory::get(); $store->purchase($bread); $customer->enter($store); $customer->addToBasket($bread); $customer->pay($store, $store->getCartTotal($customer)); $customer->leave($store);
?
-
@jinpa said in The nerdy jokes thread (bonus original title mode!):
If the front page has taught us anything, it's not to overestimate the sense of the average programmer. The instructions do not say anything about else or "at least".
The initial instructions say to get a loaf of bread, before we look at whether the store has eggs or not. That's what I mean by "at least one loaf", and also what's tripping you up.
You're trying to be clever, by pulling the initial requirement to get at least a loaf of bread to the front, where it's always satisfied. However, when reading the second half of the instructions, you miss the fact that the permissible outputs are 1 ("get a loaf of bread") and 12 ("if they have eggs, get a dozen"), thereby introducing and off-by-one error. Had the requirements meant you to get 13, they would've said so.
You could keep your version, and update the conditional instruction to
bread.Get(11)
, but I'd say my version is more elegant.
-
@GOG said in The nerdy jokes thread (bonus original title mode!):
The initial instructions say to get a loaf of bread, before we look at whether the store has eggs or not. That's what I mean by "at least one loaf", and also what's tripping you up.
No. Nothing's tripping me up. I just have a better understanding.
Well, maybe one thing. Imagine a tall person going to an island of midgets. And he's been told not to look down on any one. He would constantly be tripping over them. This is my experience in life.
-
@jinpa said in The nerdy jokes thread (bonus original title mode!):
No. Nothing's tripping me up. I just have a better understanding.
Nevertheless, you got the wrong answer.
-
Nothing says WTDWTF like making sure a joke has thoroughly been taken out back and murdered.
-
@loopback0 said in The nerdy jokes thread (bonus original title mode!):
Nothing says WTDWTF like making sure a joke has thoroughly been taken out back and murdered.
Times been tense, yo!
-
@jinpa said in The nerdy jokes thread (bonus original title mode!):
If the front page has taught us anything, it's not to overestimate the sense of the average programmer. The instructions do not say anything about else or "at least".
Maybe he's a perl programmer.
-
-
@loopback0 said in The nerdy jokes thread (bonus original title mode!):
Nothing says WTDWTF like making sure a joke has thoroughly been taken out back and murdered then its corpse brought back in, flogged like the dead horse it was, then dissected just in case we missed anything.
FTFWTDWTF
-
-
@GOG said in The nerdy jokes thread (bonus original title mode!):
The programmer is meant to get at least one loaf of bread. However, if the store has eggs, he should get a dozen.
I posed the question in the Gab Programmer's group, and 83% agreed with you. (I did not vote.)
-
-
@Arantor said in The nerdy jokes thread (bonus original title mode!):
@loopback0 said in The nerdy jokes thread (bonus original title mode!):
Nothing says WTDWTF like making sure a joke has thoroughly been taken out back and murdered then its corpse brought back in, flogged like the dead horse it was, then dissected just in case we missed anything.
FTFWTDWTF
Also we can sometimes predict future jokes from the entrails and ruin them in advance.
-
@boomzilla dude, at least wait for resonance to give up.
-
Anybody know how to implement the havercos function?
-
@Gribnit Probably, yes.
-
@Gribnit I'm sure there's a Taylor series for it.
-
Good, good, all I could find online was haversine.
-
@Gribnit said in The nerdy jokes thread (bonus original title mode!):
Good, good, all I could find online was haversine.
He careful, if you stare too long you'll end up with a havertan.
-
@Gribnit just rotate it by 90 degrees, you’ll be fine.
-
-
@boomzilla said in The nerdy jokes thread (bonus original title mode!):
#ThingsOnlyBoomersUnderstand
-
@Tsaukpaetra said in The nerdy jokes thread (bonus original title mode!):
@Gribnit said in The nerdy jokes thread (bonus original title mode!):
Good, good, all I could find online was haversine.
He careful, if you stare too long you'll end up with a havertan.
I think you're just havering at this point.
-
@boomzilla The Amish have called and they would like a word with you.
ETA: Also, TI(re?)L that they are actually my lost fellow country men. Not sure what to make of that.
-
@ixvedeusi said in The nerdy jokes thread (bonus original title mode!):
ETA: Also, TI(re?)L that they are actually my lost fellow country men. Not sure what to make of that.
Sumeria, man. Whaddya gonna do.
-
@Gribnit said in The nerdy jokes thread (bonus original title mode!):
@ixvedeusi said in The nerdy jokes thread (bonus original title mode!):
ETA: Also, TI(re?)L that they are actually my lost fellow country men. Not sure what to make of that.
Sumeria, man. Whaddya gonna do.
Implement the Stand On Zanzibar protocols.
-
-
@Gribnit said in The nerdy jokes thread (bonus original title mode!):
Status: not of the correct nerd👓 type to be able to comprehend this joke.
-
@Gribnit No, you're a dorko!
-
-
-
-
@Benjamin-Hall said in The nerdy jokes thread (bonus original title mode!):
The Nope² thread is
free
-
@LaoC said in The nerdy jokes thread (bonus original title mode!):
@Benjamin-Hall said in The nerdy jokes thread (bonus original title mode!):
The Nope² thread is
freeYeah, no one wants to get nukes. It's so cold there they might just use them to warm up.
-
@Benjamin-Hall said in The nerdy jokes thread (bonus original title mode!):
@LaoC said in The nerdy jokes thread (bonus original title mode!):
@Benjamin-Hall said in The nerdy jokes thread (bonus original title mode!):
The Nope² thread is
freeYeah, no one wants to get nukes. It's so cold there they might just use them to warm up.
Two birds with one stone
-
@Zecc said in The nerdy jokes thread (bonus original title mode!):
@Gribnit No, you're a dorko!
I'm glad that the discussion level is so elevated here.
-
@jinpa said in The nerdy jokes thread (bonus original title mode!):
@Zecc said in The nerdy jokes thread (bonus original title mode!):
@Gribnit No, you're a dorko!
I'm glad that the discussion level is so elevated here.
He's the one that cusses discs.
-
@Gribnit I don't cuss discs, nor do I diss cushions.
Also, let me just throw this out there: I have never tried to elevate discuses.