- 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
You do realise thats a fake. its got the xp window in the back with the vista error message. Now either thats some pretty cool coding or someones been had.
Admin
Please don't say stupid things. Think of the children.
Admin
Doesnt happen in IE7 :P
Admin
Admin
adblock, dom inspector, web developer tools , and a couple of things like farkit or bbcode helper I can live without.
I don't mind it using half a gig for a disk cache. I do mind it using half a gig for a memory cache. I don't see that those are separately configurable, or even that the setting affects the size of the memory cache (the help says only setting is for the disk cache). A memory cache that grows without bound is in practice indistinguishable from a leak. I don't recall the 2.0 upgrade saying they'd fixed all the leaks, just most of them.
Admin
Admin
Hello to everybody, especially to Trent G., the one who submitted this topic.
I am the author of that online tool and I am proud of it. Seems line leaving shitty_IE_needs_this was the best promotion idea ever, I am considering putting it back ;-).
Anyway, none of you web development "experts" really understands why is the onmouseout="shitty_IE_needs_this" there. Forget at least for a moment, that you know the code better than I and consider this: IT IS THERE TO CAUSE AN ERROR. PERIOD. IE needs this error to function as I want it to. Sometimes you must lose to win.
If you do no understand and still think that I am a bad coder, there is a whole new world for you there to discover.
Admin
Do elaborate please... Why would you intentionally need to throw an error to make something work? What kind of bug are you trying to work around?
Admin
without the erroneous handler, only the first pixel is drawn and not the other ones when holding the button down and moving mouse. Events are not coming...
In FF and Opera all works fine without the onmouseout handler. That's shitty, isn't it?.
Admin
according to google analytics:
Firefox 65.90% Internet Explorer 23.31% Mozilla 7.12% Opera 2.58% Safari 0.59%
yay!
Admin
Admin
Yeah, I said it.
Admin
I think writing code that requires an error to be thrown to the browser in order to work is the very definition of a WTF.
And the fact that you think that by exploiting this, you are proving that you are not a "bad coder" makes me feel very worried about the state of software development.
Admin
Funny. You act as if I am building a nuclear missile...
The code works in Opera, Firefox, and IE with debug mode off. 99.9% of scenarios are covered. That is a pretty good result. It is a free tool, more like a toy than a tool. I see no reason to strive for 100% perfection in this case. Ever heard of the 80:20 rule?
But...good news. I got and email from Fred Foobar (who posted a comment above) (thanks for it) with another workaround for IE that does not require intentional errors.
Admin
Yeah! There's no possible way to objective evaluate the differences between two pieces of software that do the same thing.
It's certainly more important to avoid offending people than to exercise critical debate.
Admin
There's a big difference between striving for 100% and then saying "I can't figure out how this works so I'm just gonna stick something in there that'll make it throw an error since I can't be arsed to learn how to work it".
I've written lots of code that wouldn't work a certain way I had in mind. Sometimes it would work but throw errors. Instead of saying "that's good enough, at least it works", I'd learn what it was doing that caused it to throw errors, then find a way to stop it. Sometimes this meant spending several days reading up and learning, or bugging my friends to take a look at it, or joining a tech website to ask questions.
In the end, if I couldn't solve the error problem, I removed whatever was causing it and either left it out completely or found a way around it... error-free of course.
If you want to create buggy code that throws errors, go right ahead, but the minute you post it to the general public, you're going to be raked over the coals for writing buggy software, even if it's just a little fun app.
-- Seejay (and for the record, I'm far from being an above-average coder... just tenacious and stubborn enough to figure out how to do something properly instead of half-assed)
Admin
The linux kernel still contains something like, "AIEEEEEEEEEEEE! Interrupt handler shutdown."
Admin
People give IE crap, but let's consider why IE is #1 now.
Once upon a Netscape, only anchor tags would listen (or produce, depending on your perspective) to mouse events. Thus onclick didn't work on an img tag. The IE people said that's shitty and did away with it. Before IE decided to hell with the spec, any time you wanted a roll-over image, you had to wrap it in an anchor tag and trick the browser into not actually considering it a link.
Admin
I like the 80:20 (90:10) rule. It has nothing to do with errors though. It has to do with locating the part of an application that might be optimizable for speed considerations.
Admin
Did you really try to run this on Vista? The "xp window" you are talking about is a drawing on a web page.
Admin