- 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
Some time in mid 1995, I infamously added a bad error message to a program. I think there was basically a state machine algorithm to calculate the next state from the previous state using a switch statement. There were a finite number of states so the code (if it implemented the design correctly!) would never get to the default case, so I added a debug message saying "@rse - bug" for the default case.
The next day, having had a good night's rest, I decided that it would be a bad idea if a customer ever saw that, so I changed it to something more innocent. Unfortunately, the build candidate was made from that morning's code before I had a chance to change it, and the "@rse - bug" message landed on a beta customer site about two weeks later.
Fortunately, they saw the funny side.
Admin
Not necessarily. You're comparing apples with coconuts. The hourly rate paid by the customer is quite often 5 to 10 times of what the consultant actually makes after taxes, expenses, adjustment for times when he has not paying customer, and (especially) the profit of the consultancy company. So the guy with the $230 rate may well actually earn only about 2 or 3 times as much as you do, though of course he may not deserve that either.
Admin
Um, how could the GUI component used to display the error message be itself the source of it? Why would a GUI component generate an IO error? Actually, it outright says that the error occurred during a refactoring operation, which I am rather certain is implemented completely in Java (no reason for it not to be).
Admin
In java 1.4 and newer, one can write "assert statement;" and then even selectively enable and disable the assertions at runtime via jvm parameters.
Admin
I tried that at my first job. Had nearly 100 errors that were something like "Internal software error, this cannot happen at object Foo:bar line 35". About 5 of those errors were seen in test (I really miss the test department there, now the most test my code gets is someone reading the welcome screen for grammar), and I quickly fixed 5 bugs that otherwise would have killed the customers (As in the FDIC would shut them down). The language did not have asserts, which is what I'd try to use now.
Despite those fixes, management got a list of all errors and made me remove all the can't happen ones, because they look bad to customers. Actually I was allowed to keep any that I could tell support what the customer should do - but since they were can't happen cases I didn't know.
Admin
How do you put quickbooks through a debugger?
We are getting a weird error over here that their support could not help us resolve.
Thanks,
Dan
Admin
For what it worth, I have not seen more Spam since registering here. I don't think Alex is immoral enough to sell my email address. Even if he was, I don't think he has enough to make money, and he is unlikely to get that many registrations.
I know the Captcha is annoying. However any message board, such as this one, will get tons of "enlarge your penis" Spam each day if they do not take basic precaution to prevent computers from submitting it.
There are people who write programs with the sole purpose of submitting such junk to as many message boards as they can. If you want to get rid of the Captcha you need to start murdering anyone who would write such a script. When you are able to kill everyone involved in this within days of their starting the problem will solve itself. Just don't make a mistake, because the moment you get an innocent by mistake (and the bad guys will look for way to place the blame on an innocent long before they give up) everyone will be calling for your life.
Admin
His company was billing that much. He's not making nearly that rate in salary.
Admin
dpm, how much time do you have on your hands? How the hell did you notice that?
Admin
It's no big deal. I simply memorized all the interesting hex values and their decimal equivalents.
ok
dpm
Admin
Curiously enough, I clearly recall, whilst copying 23Gb's of data on a Win2k machine, the progress bar going absolutely nuts, With the bar filling to 100% every few Gb's, and the "Time Remaining" having values like "-216978775462 hours" (From memory, but it was DEFINATELY a negative amount.
I think various flavours of Windows have bounding problems (Using int, not bigint, or larger).
Admin
Admin
> And I hate the captcha shit. It doesn't work properly. Get rid of it (please).
What doesn't work about it? It works fine..
Admin
Dude, you find the funniest stuff!:D
You could sell some of this to anywhere for maney! Good work!
Admin
Hahaha... In one of my last projects, I had left an error message that said something like "This should never happen. If you have reached this point, something terribly wrong must have happened."
I really hope no one reaches that point.
Admin
And just check out the javadoc comments behind the dialog in the last one. "Constructor", "Return the value".