- 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
Admin
... I don't think so. There were Amigas in 1985.
Admin
If they didn't have the source code, maybe they could run it in an emulator.
Admin
I agree, the pitbull should have said "011101110111010101110100??"
Admin
Admin
Looking at The Big Picture doesn't seem like a particular strength of these guys. The time they used to build a resume "helper" for the watchdog would probably have been better invested in buying a cheap off-the-shelf modern PC and set up a DOS emulator on it. Even if the program still managed to crash the computer, each calculation would have been sped up by many magnitudes, elminating the need for a resume helper and, you know, speeding things up.
"We keep it because it works" wouldn't strike me as valid anyway in this case.
Admin
FTFM.
Admin
Hang on...
Everyone seems to have missed this bit:
So, they DID realise that the save state could be the problem, and DID delete the save state if it caused a persistent problem!
So, what was the WTF again?
(Yes, there were WTFs, but they weren't what the article said they were, and Shawn got it wrong, because he heard 'save state' and not the bit where they were deleting it.)
Admin
For example:
throw { // Throw thing }
fetch { // Fetch thing }
biscuit { // Hell, give a biscuit anyway, even if thing not returned, 'cause // he's so cute, yes-he-is, who's daddy's boy? Good doggy! return true; }
Admin
It's entirely possible to be technically competent but logically blind, especially when you're focused on one aspect of what you're working on, namely making it work. When you're dealing with a problem in a live system you're very often just in "make it work" mode.
They basically had two separate pieces of good functionality and lost sight of the possible bad interaction between the two. It happens. It even happens if you fully design your system before implementation; edge cases get missed.
Admin
I made an app like that once. It would save a bad value, and when it tried to print it would tell me that I sucked and need to learn how to code. Damn you fail message!
Admin
Not quite as feared as "works as coded". Which is what I tell whiny help desk twerps, when they think they have a bug to report.
Admin
Admin
AKA: Broken As Designed. or BAD
Admin
Admin
Admin
Here at my school, the older machines have 2GB ram and we just standardized on 4GB ram a couple of months ago on all new machines
Admin
What? Like you throw the beige box and tell the Serial Port Pit Bull to fetch it?
Admin
Use tabs! You can make your tabs be 4 spaces, 8 or even 2!
Ever since I first saw code guidelines that explicitly mentioned indents being so-and-so many spaces I have wondered... What on earth is wrong with using tabs?
Admin
Admin
what is the problem with loading source into notepad? the tabs still display fine.
Admin
Admin
You might also want to consider using a case statement, using common attributes for different common properties (e.g. for 'boots' or 'ugg boots' or 'nike') or if a regex would be more appropriate.
Admin
I don't understand why "watchdog" is treated like an alien term... a watchdog is a pretty well-defined term for something that keeps a check on a piece of hardware and makes sure it hasn't crashed - a common one is on a CPU where it will need to set the watchdog's mem address every so often or get reset.
Incidentally, perhaps the writer is an animal loving hippy because the common description for setting the address is "kick the watchdog"