Ever think that coders need sports announcers?
Moderator: Thanas
- Durandal
- Bile-Driven Hate Machine
- Posts: 17927
- Joined: 2002-07-03 06:26pm
- Location: Silicon Valley, CA
- Contact:
Ever think that coders need sports announcers?
This is just something that popped into my head. Occasionally, whenever I'm doing daily activities, sports announcers' voices pop into my head and comment on what I'm doing. I was coding the other night and ran into a bitchy compile-time error that I couldn't figure out, but when I did, I could hear John Madden and Al Michaels singing my accolades.
MADDEN: It looks like he's satisfied with what he's got, looks like he's gonna test the function.
AL: I think you're right, John. The CALTAL approach has really been working well for him for this programming assignment.
MADDEN: There he goes, it's compiling ... [wait] ... uh oh. Looks like the compiler has thrown a flag. Let's see what we've got.
AL: You gotta hand it to this compiler, he's been just by the book and making fair calls. Let's see what he's got for us, cause I couldn't spot anything.
GCC (REF): There was a flag on the compile. Undefined call to a method of the second member of the pair iterator. 15 minute penalty.
MADDEN: Oh that's gonna hurt! Let's see a replay of that error.
[MADDEN brings out that drawing tablet he has a fetish for.]
MADDEN: If you look here, he's making a call to a public method of a derivative class, but in the management class, he's making that call from a dynamically allocated parent-class pointer.
AL: Boy that really spells trouble, because he needs that function in both derivative classes, but they need to take different arguments. This is gonna be tough. He can't use a virtual function unless he makes a big overhaul of the classes, and he can't define that function in the child classes.
MADDEN: Boy I don't see a way out of this one Al. He might just have to suck it up and re-engineer the parent.
AL: Not something you wanna do with three days to deadline and a biology test on Friday, but he might just have to pull an all-nighter.
MADDEN: Wait, what's he doing here?
AL: He's making the function virtual. What's he up to here?
MADDEN: It looks like he's ... yup! He's using a void pointer for the function parameter.
AL: Boy talk about original. Now all he's gotta do is modify the functions to re-cast the parameter in the children, change the calls slightly and cast the variables appropriately.
MADDEN: You know this is why I got into this game. You may think you're screwed one minute, but then you see an unconventional play like this and you think, "Ya gotta give it to this guy. It'd be a crime if this idea didn't work."
AL: Definitely John. I would denounce God right here if this didn't work, but I don't think that'll be necessary.
MADDEN: Let's hope not.
[MADDEN and AL chuckle.]
AL: The play-clock's winding down ... he's going for the compile button. Let's see how this plays out.
MADDEN: The compiler likes it, let's see if he gets any run-time errors.
AL: Nope! Worked just as it should have.
MADDEN: Looks like he's back on track. Boy what a game!
AL: John, I don't get this excited when my wife puts on the special sheets!
MADDEN: You can say that again, Al. My wife's been pestering me about Viagra, and I've just been telling her, "Honey, we don't need it! Just turn on TechTV!"
AL: Oh boy she must not like that.
MADDEN: No she doesn't. She might be "falling down the stairs," if you know what I mean.
AL: Boy, one of these days, Alice!
MADDEN: Bang, zoom, off to the Moon!
[JOHN and AL chuckle.]
MADDEN: Well that's all for us, folks. Thanks to gcc, our referee and ABC.
JOHN: Good night everyone.
NOTE: I'm not implying that John Madden and Al Michaels beat their wives or think others should beat theirs. Sometimes this shit just writes itself.
MADDEN: It looks like he's satisfied with what he's got, looks like he's gonna test the function.
AL: I think you're right, John. The CALTAL approach has really been working well for him for this programming assignment.
MADDEN: There he goes, it's compiling ... [wait] ... uh oh. Looks like the compiler has thrown a flag. Let's see what we've got.
AL: You gotta hand it to this compiler, he's been just by the book and making fair calls. Let's see what he's got for us, cause I couldn't spot anything.
GCC (REF): There was a flag on the compile. Undefined call to a method of the second member of the pair iterator. 15 minute penalty.
MADDEN: Oh that's gonna hurt! Let's see a replay of that error.
[MADDEN brings out that drawing tablet he has a fetish for.]
MADDEN: If you look here, he's making a call to a public method of a derivative class, but in the management class, he's making that call from a dynamically allocated parent-class pointer.
AL: Boy that really spells trouble, because he needs that function in both derivative classes, but they need to take different arguments. This is gonna be tough. He can't use a virtual function unless he makes a big overhaul of the classes, and he can't define that function in the child classes.
MADDEN: Boy I don't see a way out of this one Al. He might just have to suck it up and re-engineer the parent.
AL: Not something you wanna do with three days to deadline and a biology test on Friday, but he might just have to pull an all-nighter.
MADDEN: Wait, what's he doing here?
AL: He's making the function virtual. What's he up to here?
MADDEN: It looks like he's ... yup! He's using a void pointer for the function parameter.
AL: Boy talk about original. Now all he's gotta do is modify the functions to re-cast the parameter in the children, change the calls slightly and cast the variables appropriately.
MADDEN: You know this is why I got into this game. You may think you're screwed one minute, but then you see an unconventional play like this and you think, "Ya gotta give it to this guy. It'd be a crime if this idea didn't work."
AL: Definitely John. I would denounce God right here if this didn't work, but I don't think that'll be necessary.
MADDEN: Let's hope not.
[MADDEN and AL chuckle.]
AL: The play-clock's winding down ... he's going for the compile button. Let's see how this plays out.
MADDEN: The compiler likes it, let's see if he gets any run-time errors.
AL: Nope! Worked just as it should have.
MADDEN: Looks like he's back on track. Boy what a game!
AL: John, I don't get this excited when my wife puts on the special sheets!
MADDEN: You can say that again, Al. My wife's been pestering me about Viagra, and I've just been telling her, "Honey, we don't need it! Just turn on TechTV!"
AL: Oh boy she must not like that.
MADDEN: No she doesn't. She might be "falling down the stairs," if you know what I mean.
AL: Boy, one of these days, Alice!
MADDEN: Bang, zoom, off to the Moon!
[JOHN and AL chuckle.]
MADDEN: Well that's all for us, folks. Thanks to gcc, our referee and ABC.
JOHN: Good night everyone.
NOTE: I'm not implying that John Madden and Al Michaels beat their wives or think others should beat theirs. Sometimes this shit just writes itself.
Damien Sorresso
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
- Brother-Captain Gaius
- Emperor's Hand
- Posts: 6859
- Joined: 2002-10-22 12:00am
- Location: \m/
Re: Ever think that coders need sports announcers?
Strange, I do that too.Durandal wrote:This is just something that popped into my head. Occasionally, whenever I'm doing daily activities, sports announcers' voices pop into my head and comment on what I'm doing. I was coding the other night and ran into a bitchy compile-time error that I couldn't figure out, but when I did, I could hear John Madden and Al Michaels singing my accolades.
It's enough to drive one nuts sometimes.
Agitated asshole | (Ex)40K Nut | Metalhead
The vision never dies; life's a never-ending wheel
1337 posts as of 16:34 GMT-7 June 2nd, 2003
"'He or she' is an agenderphobic microaggression, Sharon. You are a bigot." ― Randy Marsh
The vision never dies; life's a never-ending wheel
1337 posts as of 16:34 GMT-7 June 2nd, 2003
"'He or she' is an agenderphobic microaggression, Sharon. You are a bigot." ― Randy Marsh
-
- Pathetic Attention Whore
- Posts: 5470
- Joined: 2003-02-17 12:04pm
- Location: Bat Country!
- The Wookiee
- Lex Wookos
- Posts: 1650
- Joined: 2003-05-29 04:17am
- Location: Tearing your arms off
-
- Fucking Awesome
- Posts: 13834
- Joined: 2002-07-04 03:21pm
On a similar note, whenever my best friend plays poker he hears the voices of the guys from the World Poker Tour in his head.
The End of Suburbia
"If more cars are inevitable, must there not be roads for them to run on?"
-Robert Moses
"The Wire" is the best show in the history of television. Watch it today.
"If more cars are inevitable, must there not be roads for them to run on?"
-Robert Moses
"The Wire" is the best show in the history of television. Watch it today.
Strange, it's funny even though I don't know dick about anything to do with coding.
For my part, I always picture Lawrence Olivier narrating whatever the hell I'm doing ala World at War.
For my part, I always picture Lawrence Olivier narrating whatever the hell I'm doing ala World at War.
Like Legend of Galactic Heroes? Please contribute to http://gineipaedia.com/
And some people I know wonder why I like IDEs which do on-the-fly detection of syntax errors.
"Okay, I'll have the truth with a side order of clarity." ~ Dr. Daniel Jackson.
"Reality has a well-known liberal bias." ~ Stephen Colbert
"One Drive, One Partition, the One True Path" ~ ars technica forums - warrens - on hhd partitioning schemes.
"Reality has a well-known liberal bias." ~ Stephen Colbert
"One Drive, One Partition, the One True Path" ~ ars technica forums - warrens - on hhd partitioning schemes.
- RedImperator
- Roosevelt Republican
- Posts: 16465
- Joined: 2002-07-11 07:59pm
- Location: Delaware
- Contact:
The Movie Guy narrates my life. You know the voice--the guy who does the voice over for all the movie trailers. It's pretty awesome.
Any city gets what it admires, will pay for, and, ultimately, deserves…We want and deserve tin-can architecture in a tinhorn culture. And we will probably be judged not by the monuments we build but by those we have destroyed.--Ada Louise Huxtable, "Farewell to Penn Station", New York Times editorial, 30 October 1963
X-Ray Blues
X-Ray Blues
Bah! VIM FOREVER!!!!!ggs wrote:And some people I know wonder why I like IDEs which do on-the-fly detection of syntax errors.
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Oh, I forgot that Vim does highlight errors...
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor