- 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
Admin
Similarly, if something as simple as incorrect use of a switch really blows your mind to the point where you think "what the f£*?", then I suspect I'd only be one of a very very long list of people who's code you would not be able to maintain. I believe I've still got some Hello World samples lying around somewhere.. maybe that is more at your level?
There is a difference between something being wrong and something being unexplainable. 'wtf' is for the latter.
Admin
So, "012" (in languages where a leading zero means octal) is pronounced "ten".
Admin
Unfortunately, the original joke which has the integer seven cannibalizing the integer nine is weak to start with, and combining it with "There are 10 types of people in the world" doesn't make it any better.
How many people with A.D.D. does it take to screw in a light bulb? Fou...Let's go ride bikes!
Admin
Unfortunately, the original joke which has the integer seven cannibalizing the integer nine is weak to start with, and combining it with "There are 10 types of people in the world" doesn't make it any better.
How many people with A.D.D. does it take to screw in a light bulb? Fou...Let's go ride bikes!
Admin
No. You are talking about the same amount, to be sure, but you pronounce "10" and "012" different because they are different representations. Unless, of course, you intent to confuse the heck out of everyone else. For example, how do you pronounce these two numbers: 0x0a and 0x10? (in languages where a leading zero followed by "x" means hexadecimal)
Admin
Admin
Admin
Admin
Also missing Undecember (month 13)
Admin
Really? Which one is "eleven"? And how would you pronounce 0x11?
Admin
Gah. Meant to quote causa's claim that 0x0a and 0x10 are pronounced "eleven" and "ten". Sorry.
Admin
Are you sure they're not pronounced "ten" and "sixteen"?
Admin
TRWTF is human readable dates using all numbers in mm/dd/yyyy.
Admin
I actually laughed out loud at work and got a couple weird looks...then I tried to explain it to my coworkers and the looks didn't stop...
Admin
How about this: "10" in whatever base -> "zeroteen" or "oteen" or "aughteen" or similar "11" -> "oneteen" or similar "12" -> "twoteen" or "doteen" or "dupteen" "A" -> "ten" "B" -> "eleven" "C" -> "twelve" "D" -> ? (make up something that fits) "E" -> ? etc... How far would we really want to go with this, as you can go on forever if your radix is something monstrous like a million, besides the confusion about seeing "A" and saying "ten", etc.
Personally, I prefer to use "ten" to mean "10" (not 9+1) and say "ten base eight" or "ten binary" when referring to "10" in non-decimal radixes. I think this fits more comfortably because we are used to seeing "10" and saying "ten". Though I generally don't say "one hundred binary", but instead say "one-oh-oh binary" or "one-zero-zero binary" (and similar for larger numbers in other bases).
OTOH, how often do we ever really read out non-decimal numbers when referring to actual values? Practically never. The only times I can think of that it would ever come up are mathematicians studying the properties of representing numbers in alternative radixes, or programmers working with numbers that are written for display in binary, octal or hexadecimal because it is a convenient way to see what the bits of the integer are (more common on embedded systems or lower level code because they care more). (or people trying to make jokes by talking about numbers in other radixes)
Admin
Admin
"Ten" is merely an English word used to represent the concept of a number. Or is "Ten" a word used to represent "10" easier than saying "One Zero"?
We could debate that pointlessness all day however given the familiarity (or lack thereof) of the majority of English speakers with different bases, groups that hold to either position are in the vast minortiy as compared with the group of people whose response is "What?"
Admin
Admin
Admin
asi011, surely.
Admin
"wtf" can be used in many circumstances.
Sometimes it's "wtf is this mess, it's impossible to understand" Sometimes it's "wtf was the developer thinking, this is hard to maintain" Sometimes it's "wtf this is really stupid" Sometimes it's "wtf, why would he write this?" Sometimes it's a loud exclamation Sometimes it's said with a bewildered stare Sometimes it's said as a sigh while facepalming.
Admin
Reminds me of what we used to say (in the 70's, doing AI research for DARPA):
"Simple code, simple mind."
Admin
And since converting between bases in your head when you read/write numbers is so easy and not at all prone to errors, of course it's what we should all do.
Admin
In case you can’t tell, this is a grown-up place. The fact that you insist on using your ridiculous number bases clearly shows that you’re too young and too stupid to be telling jokes.
Go away and grow up.
Sincerely, Bert Glanstron
Admin
Admin
Admin
Maybe it's not, but I have serious doubts this is an embedded system running CF. It may be Cluster Fucked code by I doubt embedded systems run Cold Fusion.
Even if it was an embedded system, why would you suddenly change from using 2 digits to represent each month to it's name, i.e. "December"
Admin
"B"
Admin
Wait, what, no....
I meant...
Argh. It's time to go home.
Admin
If you keep a close eye, you see the comment count going up and down. That's the sound of BG posts getting nuked by admins with no sense of humor.
Admin
Admin
Ah yes, the golden period when computer programs were expected to be complex and users were expected to remember all that shit! Of course, MS was late by 10* years, with their ctrl-shft-f8's and whatnot.
If I don't specify the base, then numbers become much easier: pi is 10, e is 10, the 10th root of 10 is 10, 10 factorial is 10, the largest known prime is 10, the circumference of any circle is 10, the area and volume of any shape is 10, the velocity of light is 10, ...
Admin
And if you do, you convert digits to text by adding 30H
Admin
"Simple minds, simple applications."
Admin
Admin
CAFE BABE?
(51966 and 47806 in decimal)
Admin
Not using DateFormat is more common than you'd think. I've stumbled upon many badly-written functions that do a poor try at formatting dates, despite the language (Java, C#, VB.net) having the ability to format it.
Admin
Admin
the real wtf is definitely coldfusion. HEY GUYS, I'M A GENIUS, I MADE A NEW LANGUAGE! IT'S A TERRIBLE BASTARD CHILD OF C, VB, AND XML.
oh and will all you aspergers sufferers kindly stop arguing about a damn math/number base pun from page 1? It was funny, get the fuck over it.
there are 11 kinds of people in the world... those who support SECDED and those who don't.
Admin
Admin
Admin
Admin
1 2 3 4 5 6 7 8 9 10 11 December
Admin
Admin
We (most of us) have learned that when we see one-zero, and we assume base ten, to pronounce that symbol "ten". If you've learned other languages or representations just as well, there's no problem seeing "0x0A" and immediately knowing that symbol means, and is pronounced, "ten".
Admin
Small world. That's my cat's name.
Admin
Small world. That's my cat's name.
Admin
Sometimes the presentation is more important than the value. Sometimes what seems like a single hex value is actually a string of coded ASCII characters and the decimal value is actually incorrect. BTW, that string of ASCII character is much easier to pick out in hex than in decimal.
To the question, "how do you say 0x0a?", I answer "Zero A, hex", which is as correct as "ten", but hasn't destroyed any information in the process.
Admin
Of all the things to be pedantic about today...
Why do people say "velocity" when they've only ever heard "speed", and don't know the difference between the two? Is it to sound smart?