|
kmoorevs wrote: Just curious when baseball teams from outside the US Have you not seen how many players are from the Dominican Republic?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
The apocalypse is indeed upon us. The amount of fireworks that went off last night was impressive (yes, I live in Chicago).
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
I bet the celebration in Wrigleyville is still going strong. It's cool that you live in ChiTown. I lived up in Lake County from 2006 to 2010. I kind of miss listening to Wiil Rock (95.1 FM) in the car as it was better then anything I can get on the radio where I live now.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
A bunch of my buddies were still going strong in the wee hours, haven't heard from them in a while though. Wiil, the only station I listen to when I'm up, say, past Gurnee. And yeah, the radio down here completely sucks. I'm a bit of a Luddite about some things, so I have 100+ CD's in the car.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Back to the Future 2 predicted the Cubs would win the World Series in 2015.
The space-time continuum was disrupted by the 1994 baseball strike causing the alternate reality where the Cubs won in 2016 and not 2015.
HEAVY!!
Then, again, was it a prediction or a curse?!
|
|
|
|
|
|
public static string Pluralise(string text, int count, string culture = "en-US")
{
if (text.Length > 5 && text.EndsWithIgnoreCase(" need"))
{
string start = text.Substring(0, text.Length - 5);
if (count == 1)
return start + " needs";
return Pluralise(start, count, culture) + " need";
}
if (count == 1)
return text;
return PluralizationService.CreateService(new CultureInfo(culture)).Pluralize(text);
}
I'll go have a stern word with myself about this one...
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: I'll go have a stern word with myself about this one...
Chris Maunder wrote: Pluralise For spelling this wrong, no doubt.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Pluralise is correct English. Pluralize, as is commonly the case, is a US bastardisation of English.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
If the English knew how to speak and spell properly, we would have never left.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
It was as if millions of non-English speaking users cried out in anguish, and were suddenly silenced...
Software Zen: delete this;
|
|
|
|
|
if (startupFailure)
{
startupFailure = true;
}
I must have been doing something else at some point, and this is all that is left now.
Marc
|
|
|
|
|
Debugging purposes? Sometimes these instructions remain...
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
Marc Clifton wrote: startupFailure = true; Just to be sure.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Schrodinger's cat override?
Just to be sure...
|
|
|
|
|
Since the language is not known I can only assume an untyped or weakly typed language and startupFailure might be true for an unbelievable amount of values. You're just putting that right with your assignment (again assuming true is a boolean literal).
Nothing weird to see here, run along!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
Ah. Here's my version:
if (startupFailure)
{
DoSomething();
}
{
DoSomethingElse();
}
Software Zen: delete this;
|
|
|
|
|
It just made me think of a new pattern: the Failure Swallowing pattern (a behavioural one).
bool failure;
try {
}
catch {
failure = false;
}
finally {
failure = false;
}
if (failure) {
failure = false;
}
And here is it; you will never see any error anymore.
Loneliness and cheeseburgers are a dangerous mix.
|
|
|
|
|
Just a bit too verbose
private void AddYaxisChannelForMathChannelInFramesBasedTimeline(PlaybackChannelMathChannelItemViewModel viewmodel)
{
.
.
.
}
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Scandalous!
The 'a' in 'Yaxis' should be a capital letter!
|
|
|
|
|
Snap![^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Well, it was an obvious mistake!
|
|
|
|
|
Thats a wonderful observation !!!
|
|
|
|
|
I love that it's a private function.
That's solidly self-commenting code though.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|