- 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
"THIS MESSAGE IS NEVER PRINTED". I've seen my fair share of these. Shrugs
Admin
Well you have to know, to really good developers @Oracle are working for the DBMS, all the others are doing the Application crap
Admin
There were no comments or the comment message is not available.
Admin
I hadn't heard that one before, but surely it is over-stated? Neither the positivity nor the middle condition are necessary for contradiction; just "sum of 2 consecutive integers" (which must always be odd) and "sum of 4 consecutive integers" (which must always be even). As for the answer... am I allowed to use modular arithmetic ? ;-p
Admin
Well, it cannot be a number, since numbers are well-ordered and this is precisely the quality that's being violated here, in almost precisely but not entirely the way the use of imaginary numbers doesn't violate it.
The only option I can think of, is that they have reordered the digits. Let's assume they're still working in base 10, then they might count like this: 0, 2, 4, 3, 1, 5, 6, 7, 8, 9. That would make 30 > 40 and 30 < 10. If we move the digit 1 past digit 5, we would actually obtain 40 < 50 < 10, which is what the application requires. Then this error message would simply be the result of a small bug in the consistency check.
Doesn't that make much more sense?
Admin
In the vein of the first error message, I'm reminded of some code I saw once:
'Cause, of course, it's perfectly helpful when you get the error message "None of the above".
Addendum (2007-09-06 03:58): As for the third error, I think either the "ranks count backwards and the error's badly worded" camp is right, or it's in fact the 10 that's in error, not the 50, but the error came up for the wrong one... Think about it: in the sequence 1,2,3, 40, 50, 10, 98,99,100 - the first number to be not strictly between its neighbours is the 50, even though it's the 10 that's out of place. So if a program just looped through the numbers in order and complained about the first one where p[i-1] < p[i] < p[i+1] wasn't true, then it'd complain about the 50 (and helpfully suggest you move it into 40 < x < 10)
Admin
I believe the exact number to be OVER NINE-THOUSAND!
Admin
Admin
Don't ask me to solve your Project Euler problems.
Admin
Admin
[quote user="iToad"]The last example makes an excellent Zen koan for programmers...
Freely quothing Terry Pratchett: "Cl" since the other hand does the "ap".
Admin
Captcha: muhahaha - Yes, indeed.
Admin
Maybe not a different time dimension but a different algebra. A ring comes to mind, for example, with the integers from 0 to 99. rank>40 && rank<10 would suggest all the integers from 40 to 10, on the side that includes 41.
Admin
The last one just needed a bit of adjustment with the sonic screwdriver. Right then, I'll be off now. <sound of Tardis departing>
Admin
Ahhh... With that logic, you must be the Frymaster at the local McDonald's. <g>
Admin
Ponderables
Admin
"I was never here!"
Admin
Opening square bracket, img, closing square bracket, the URL to the image, opening square bracket, /img, closing square bracket. Voilá!
Who says that Worse Than Failure isn't educational? :-)
Admin
Now, personally I think the guys suggesting bases, modulo, and ring algebra are on the right track with this, but maybe the coder just included debug information in the error message. I mean:
"time rank which is greater than its preceding level and less than its following level"
transates to:
time rank (ie 50)
Really, who hasn't included the variables' values in an error message at some point in their work?
Admin
[Source: http://en.wikipedia.org/wiki/Hacker_koan#Victory]
Admin
Admin
Ok. Your comment establishes two things:
Seriously, a-hole - if you don't have the intelligence to post something that comes close to making sense, save the rest of us the trouble of seeing your nonsense.
Nothing wrong with blaming MS for things that are their fault. Being dumb enough to blame them just because, even when it has nothing to do with them, is wrong. It's about as intelligent as "Gee, my 1975 model microwave quit working. Stupid Microsoft!" Get a brain, will ya?
Admin
somebody's reading Gödel, Escher, Bach.
Admin
Admin
a) You smell b) There is no "new young CEO" of Oracle - it it still Larry Ellison as it has been forever.
But good try
Admin
[quote user="alexgieg"][quote user="iToad"]- What is the value that is greater than 40 and less than 10?[/quote]Actually, I think this could be solved the way mathematicians "solved" the square root of a negative number on the 19th century: create a new number "i", say it's the answer, and keep working from there.
Of course, you can't just define numbers to have any old property (even if the "numbers" otherwise satisfy things like well-ordering, spelled out in the Principia); that's what Godel's Theorem is all about. A more serious issue is, we aren't talking about numbers. We're talking about ranks. Mapping between ranks and numbers reverses orders. The message makes perfect sense, and just isn't meant to be read by someone who doesn't know what the hell he is doing.
Admin
x > 40, x < 10 ...
That's easy, you've just got to realize that they're not using base 10. It's easy to come up with a base where it makes sense.
Like... base -16
Then we can convert those numbers to the base 10 we're used to and you'll see just how much that makes sense!
converting 40 from base -16 to base 10 gives -64 converting 10 from base -16 to base 10 gives -16
So now we've got x > -64, x < -16
Seems OK to me!
Admin
Nothing beats the Xboc Media Center error message:
Error! Success!
Admin
Turns out that the user department had, uh, misspoken when they advised that all the data had been validated and sorted correctly for the conversion. My "throw-away" test caught the incorrect sort; my end-of-run balance totals caught the mistakes in the user department's validation.
On the other hand, they were very apologetic, fixed the data that caused the sort problem and found every missing penny (one account was off by $0.02 and only a half-dozen or accounts out of several thousand were incorrectly captured) so the (approximately) $5,000,000 conversion went smoothly in the end (and this was back in the 1970s when a dollar was still worth a dollar).
Admin
A value great than 50 and lest than 10. The answer is simple.
50/0.
It's both greater than 50 and less than 10 :D
Admin
opps should be greater than 40 less than 10
the answer 50/0
Admin
As a "user" of Cognos products for nearly two years, I just knew they would show up here eventually. Most of their oft confusing software is not nearly so entertaining... However, if you hold your mouth just right and hop up on your left foot and down on your right, and the moons of Saturn happen to align, it can do some pretty incredible stuff. Haven't caught it in too many actual errors - but lots of not-so-obvious ways of doing things.
Admin
The second one is a Warning, not an Error.
Admin
They're there to mask the true answer. Without the "smallest positive" condition, there's no reason to select one solution over another (and if this did have a numeric answer, it would have infinitely many). The "sum of three" condition is there to draw attention away from the "sum of two" and "sum of four" conditions.
Admin
Of course, every outside number is technically "between" 10 and 40 as the number wheel loops back around to 10 again, but it's understood that the numbers counting up from 10 to 40 are the unacceptable ones.
Admin
Bravo! It really does work!
Admin
That's what I was going to say! I'd applaud, but I only have one hand.
Admin
Unfortunately, reading the comments on this site tends to enlighten me as to where a lot of this software comes from. The first ten or twenty posters on this thread didn't even read the error message, and it took the following 5 or 10 posters to explain the simple concept of ordering integers.
sigh
Admin
Just wait until you upgrade until the next version. They've added a nice validation tool to check your syntax...Great in theory except for when you get an error such as:
There are errors in other parts of this report, but not related to this expression!
Admin
The secret to life, the universe and that which is below ten and above forty is 41-i^2.
Admin
At least the software was really tested and the message was not really printed, but only displayed on monitor!
I just was killed how State QA testing is produced:
Cross checking between ... reports has revealed ... that neither ... test lab has performed certain tests, expecting that the test was done by the other.
http://nyvv.org/blog/2007/01/secrets-of-voting-machine-testing.html
Admin
Nice!
Admin
The most brilliant part would have to be the Cognos banner ads playing before and after the post.
Admin
When you finally become enlightened enough to enter the next time dimension, everything will make sense.
Admin
Fantastic! You've just discovered my girlfriend's IQ: 30b. That's her all right.