- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
I don't understand the question.
Admin
Admin
Admin
Arrrrggggggg!!! Even this elephant pussy is too fucking tight for me now!!! rrrrrrrrr!!! Oh! Oh! OOOOOOOOOOOOHHHHHHHHHHHHH YEEEEEEEAAAAAAAAHHHHHHHH!!!!
Admin
Admin
may i help?
[image] tricky isn't it?
Admin
...but 12 is a magic number you need:
#DEFINE TWELVE = 12; #DEFINE MONTHS_IN_A_YEAR = TWELVE
function getMonthCountForSelectedYear()
{
return MONTHS_IN_A_YEAR;
}
Admin
"Who Is Askimet?" - Coming Halloween 2012, Scared Yet?
Then later, we'll have "'Who's In My Ass?', I Meant!" - the thrilling new adult feature parody of the thrilling new feature film "Who Is Askimet?" concerning a diabolical interloper on a key scene where a naive, young pornographic actress is unable to ask who has begun penetrating her anus, as she was still blowing her co-star. The mystery persists until she's able to cough up that ebony footlong. Again, she persists: "Who's in my ass?, I meant". Who, indeed! Ha ha ha!
"'Who's In My Ass?', I Meant!" - Cuming Christmas 2012, Scared Wet? Yeah? A little fear turns you on?
Admin
Hindu Calendar also having extra month. Hindu follow lunar cycle, so no leap year. but sometime leap month. ;)
Admin
Admin
Admin
I think eleven is related too....
Admin
Admin
Disappointment is inevitable with life you are leading on Planet Earth. If you want to live blesed life, accept role of religion and follow it religiously.
Admin
Admin
Does that mean that pre-decimalization we got to twelve and then said "one one", "one two"....etc, and it was only with decimalization (where we kept eleven and twelve - why not, they're already words for such quantities - backward compatibility and all that) that we introduced thirteen etc...
Admin
I slave over my keyboard for minutes at a time composing these treasures! And you just waltz in from work and throw it in my face!
Hmm.. you know what? I think this is the perfect opportunity to tell you - your penis has never satisfied me! You know all those "orgasms" I've had. Well check out the finger quotes: they were fake!
Our son has such a bigger dick than you - he must have gotten from my side of the family as from what I've seen, my father must have been at least 1/8th donkey! Why'd I have to carry the big dick gene, I'm the woman!? Shouldn't you have the huge cock gene, Baby Dick! Sperm Fail! AAAAAAAAA!!!!
Admin
Only n00bs use + when they could use |
Admin
Or these dudes manage to get the Hanke-Henry Permanent Calendar to catch on...
http://www.universetoday.com/92306/new-year-new-calendar-but-johns-hopkins-scholars-say-we-need-a-permanent-edition/
Admin
Gather up video clips of 20 or 30 guards in Skyrim giving the "arrow to the knee" bit, and put them back to back.
Immediately after this, add the clip in Terminator 2 where Arnold is shooting all of the guards in their kneecaps.
Admin
For terseness, what about Frank Nelson Cole's lecture in which he demonstrated that:
2^67 - 1 = 147573952589676412927 = 761838257287 × 193707721
without uttering a word?
Admin
The reason that never caught on is because every single month would then contain a Friday the 13th. Yeah, the superstitious peasants who get voted into office would have adopted that as the national calendar, defly.
Admin
So as to make "twelve plus one" an anagram of "eleven plus two".
Why are "one" and "two" similarly? They should be "wun" and "too".
Admin
You do know that eleven in German is elf?
Admin
In Haskell it's easier:
(Well no, I have never written anything over 6 lines long in Haskell, why do you ask?)
Admin
Because English.
Admin
English is a Germanic language; Being derived from German, and have you looked at German lately?
Admin
FYI, for a number of calendar, some years do have leap month and month count don't necessary even across the years.
Admin
Not nearly as strange to say and spell as "twaddle".
Admin
Well I like forward thinking with descovery of Kepler 20 which is in the habital zone of its solar system it most likely dont have twelve mounth in the year and Kepler 20lings may want to run the software
Admin
Admin
If they ever take my suggestion to move to a rational 28 day/13 month calendar, then this function will be useful. You will rue the day you mocked him!
Admin
"Useful"? It'll be wrong!
Admin
You mean "Ten, Dwarven, Twdwarve"?
Admin
Actually both English and German are derived from Proto-Germanic. English is no more derived from German than humans are derived from chimpanzees.
Admin
He forgot about Undecimber
Admin
It's better than you think. In Russian days of week have names "the day after day without work" (Понедельник, Monday), "second day after day without work" (Вторник, Tuesday), "day at the middle of work week" (Среда, Wednesday), "fourth day" (Четверг, Thursday), "fifth day!!!" (Пятница, Friday), "Shabbat" (Суббота, Saturday) and "Resurrection" (Воскресенье, Sunday).
Admin
+1 No magic numbers!
Admin
Surely, that's all a step in the right direction, but still ridden with magic stuff and not the implemention of Zermelo-Fraenkel which I expected from you. I gave you everything i.e. zero and what do I get in return? You can do better guys!
Admin
So in Russia months count you?
Admin
This looks like a fail attempt at a constant.
Admin
Admin
Future proofed?
Admin
I can actually defend this.
This function, when originally written, was a lot more complicated and actually calculated how many months were in the given year. Most likely some idiot who didn't realize there were always 12 months in the year; I've seen enough TDWTF to know those are commonplace in these situations. Later someone noticed it always returned 12, and simplified it as such, and then deleted the year parameter in the function call because it wasn't used.
As for why the function itself wasn't deleted, I'm sure there's a reason for that, too.
Admin
Reason: A static code analysis tool complained about a magic number.
Admin
I don't roll on Shabbat!
(OK, not quite the quote...)
Admin
Admin
You might get different numbers of days in the week if you live in Samoa, last week you only got 6.
Admin
That wasn't funny after the first day. Please stop.
Admin