- 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
"Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information."
Admin
Admin
You are right, but the article states it in a very confusing way.
The poster is very probably Polish (Staszek is Polish name) and he meant that if he had an Euro bill left from a trip to Slovakia (Euro is used here), he can use it in a Polish exchange office ("kantor" in Polish ;) ) to get infinity of his own currency (PLN). The table is also in Polish.
However the way it is written it is very easy to overlook the word "left after" or when reading fast to omit everything other than country and think that the photo is from Slovakia...
Admin
You probably shouldn't have checked the box that said "Mind cookies?"!
Well, I don't mind cookies. Yamm.
Admin
It couldn't create the dialog box (which was probably much more interesting) so it popped up a message box saying "I couldn't create the dialog box." Where's the WTF?
Admin
Admin
NaN is part of the IEEE spec for floating point double values
Admin
Works in IE(ick) too, except the message comes from "webpage". The address bar execution of javascript seem useless until you want to open a javascript link in a new tab.
Admin
funny, but it is slovenia, not slovakia
Admin
"Microsoft Windows has stopped working"
Well, at least they've finally admitted it.
Admin
Though according to the glibc documentation, you'll also get an "Invalid Operation" floating-point exception at the same time, so you may not ever see the NaN in normal circumstances anyway.
Admin
Admin
Aww man! Wish I was that humble. Well done!
Wow. Dude. Tense much? Calm down man. Were you drunk when you made the original post/flame?
Whatever. Don't be trying to justify it with a confused and desperate sounding later post. Just put your hands up and apologise for behaving like a dick. It's easy. Look:
"gregj, I'm sorry for flaming you with this post. I really thought I was being funny and intelligent at the time. I now see the error of my ways. Sorry."
See? Easy!
Admin
NaN -- the real WTF is that they are using floats for currency. Anyone want to deal with the rounding errors?
Admin
Admin
The Microsoft(r) Windows(r) Operating System is the Windows Media Center as part of XP Media Center edition, and Vista located in C:\Windows\ehome\ehTray.exe.
It crashes a lot on my PC.
Admin
That actually just shows how we misunderstand and misuse English, though the dialog suggests it has been translated twice. "Please" is a verb, meaning to bring pleasure or joy. e.g. "Would it please you to give me..?", "It would please me to..", "Would you please me by..."
You could legitimately substitute the phrase "bring pleasure to", or "do a favor for" for the word please. Cheeky wags would misinterpret the instruction; when told to use the word "please", heck, just stick it on the end. Like saying "I want an ice-cream... do favor."
If you put the word "please" in a dialog, whose pleasure are you refering to?
Admin
Works in Google Chrome too
Admin
Why an earth would you settle for one infinity PLN when you could get 5 infinites of them?
Admin
Ceci n'est pas une boîte dialogue
Admin
I see that "Windows has stopped working" thing everyday. Actually it is a new feature first introduced with Vista and it annoys me when people complain it without knowing how much money Microsoft spent for it. This feature, called "IntelliOS", turns your computer more like human. The message you see is when Windows feels so tired that it needs some rest, thus STOP WORKING.
Admin
Stop being a jerk: http://msdn.microsoft.com/en-us/goglobal/bb964665.aspx
Deadkeys and, yes, three modifier keys (shift, ctrl, altgr). The only limitation is old programs that only accept a single codepage at a time. But it's all there:
²³½ƒ¾ſðffflœæƿ÷‚ʒflȣæƿflº¹‘ÆfflǷÐſtƷ™ſtȢ¥£¡
Admin
Fast Cash NaNs sounds like a new competitor for World's Biggest Bingo.
Admin
The timesheet one is not a WTF, but Wes Hutton surely is. "Your timesheet has more than 60 hours booked..." refers to what the guy has entered, whereas "Your timesheet has less than 40 hours" refers to what you're allowed to enter.
Admin
Yes, the real WTF is that they are using IEEE 754-2008 to manage your money, instead of a more precise fixed point decimal calculation. I wonder if they also use old Pentium FPUs under the hood.
Admin
Yeah, that's not translated from the Japanese or anything.
Japanese and English are so grammatically different that if you can split translated-to-English sentences in to phrases and clauses (if not smaller bits) and translate each of those chunks literally and in the same order from left to right back in to a stream of coherent, sensible Japanese, this almost always means you have failed.
In other words: the only thing they got right was the word "again" placed at the end of the sentence.
Admin
Admin
The IEEE floating point standard (which most hardware FPUs and programming languages implement) defines several NaN values. They are results of illegal operations which cannot be represented as Infinity or -Infinity, which are also defined by the standard and are often considered special cases of NaN. Any operation which has a NaN as an input must give NaN as its result.
inverse sin of 100 would result in NaN
Admin
Floating point exceptions are disabled by default. So a simple "float x = 0.0/0.0;" will give you a NaN.
Admin
Admin
!Easy. It would involve accepting fact that I'm imperfect and made mistake, but since I'm perfect and make NO MISTAKES, your solution is INVALID. FUCK YOU man. You are idiot because you are saying that I made mistake, but I didn't, you miserable freak. If you know that you made no mistake, it is clear that you DID NOT, in fact, made mistake.
Clearly this site is made by some freak with superiority complex to boast over so-called bad code.
It works? It compiles? Does what it is supposed to do? Then, damn it, it is good code.
CAPTCHA: enim - you for me from now on. If you disk accidentally formats, don't call me, because I'm the reason it formatted.