| « Prev | Page 1 | Page 2 | Next » |
|
Wow. Btw alex, did you get an oracle to feed your captcha the words? |
|
ok So I'm confused, did they fail to succeed or succeed to fail, and by doing so did they succeed where others fail. If it "worked properly" in QA does this mean they were getting the right results, or not getting any results which was expected. This one just makes my head hurt. |
|
Nice, another one to add to the list from yesterday. War is peace. Freedom is slavery. Bugs are features. Failures are sucessess. |
|
There are no errors as long as I don't know about them.
|
|
I've known some programmers who use that trick all the time! foreach (Item item in list) { try { // do horribly risky stuff to item } catch (Throwable t) { } }
|
Re: Define Failure As Success
2006-09-28 14:46
•
by
Wile E. Coyote
|
And you can run off the edge of a cliff without falling as long as you don't look down. Who wrote this software? ACME? |
|
When at first you dont succeed, wipe out all traces of failure. And redefine success as well.
Captcha: truthiness ; heh, yea. Very appropriate. |
Re: Define Failure As Success
2006-09-28 14:48
•
by
Whiskey Tango Foxtrot? Over. (At Work)
|
|
I read the title and thought:
#define TRUE 0 #define FALSE 1
I'm glad I was wrong -- this is much more fun. |
|
Seen on license-plate-like wall-placard in store window in Times Square: "If at first you don't succeed, redefine success" |
Haha! I had to fix some code that did just this type of thing. The guy tried to manage his own threading in C# and had done it horribly (C# will handle threading for you for the most part if you just tell it to). Anyway he was trying to clean up a thread or something and did something like this (psuedo-C# here): try // go about our business as if the thread had exited normally.
So apparently the FAILURE == SUCCESS is true for many programmers *shakes head* |
|
This is good one ... I like it. WTF++ |
|
So let's get this straight - the vendor was allowed to update the production machine directly? Without going through any form of test environment first? Without informing the company? But when it blew up it was the company's own staff who had to track down the problem?
|
|
public static int SUCCESS_CODE = 1; public static int ERROR_CODE = SUCCESS_CODE; |
Ponder the thought processes of the person who might have written this: Boolean TRUE = Boolean.FALSE; |
|
This is amazingly common in the Financial world. They vendors even have the gall to bill the companies for the fix, more often than not.
|
Yeah, and then a guy who works for the company who lets this happen, mocks the vending company. "HaHa- they can't write code! They're so stupid." At least, I think that's what's happening. I can never be too sure on TDWTF, who exactly is mocking whom.
|
|
At the company I work at, "Success" is defined using a slightly expanded definition of success. Fortunately, it's not nearly as bad as the above example. When we deliver our product to our customer, success is defined as "All test cases pass, or a known defect/omission/delay causes them to fail." The key word there is "known." Many of these defects are in our customer's code (which we interface with), and are impossible to work around, so really it's not that absurb. I still get an awful whever I see us saying "50% of the test cases pass... SUCCESS!"
|
Re: Define Failure As Success
2006-09-28 15:30
•
by
my name is missing
|
|
The government works this way, so why shouldn't your vendors?
|
|
wtf? > dig axfr initech.com @ns.initech.com ;; global options: printcmd ....... apperently bugs always come from stdin ?! only I see no edi ;) lets see what teay have on jsptest and phptest.initech..... *g* |
<pointless> <rant> I hate to be the troll who picks on grammar but when I read this it hurt. My Problem lied in the incorrect use of lied. </rant> </pointless> |
|
Seems to me that we just need to define something along the lines of "truthiness;" perhaps we should call it "successiness." Maybe "counter-failiness." Nah. Anyway, there's nothing new to accepting failure as success. The public schools do it all the time.
|
|
Now what I'm really saying is obvious isn't it?!?!?!?! I.e read between the lines! lol I had a vendor do this once....we are on time and under budget. No failures. We have no bugs to report and all is well.... kudos on the SPI response we need that here! |
|
This would make a great management slogan (you know, for morale-boosting and such): "Success is not an option."
|
No, no, no! It's far better to do:
foreach (Item item in list) { try { // do horribly risky stuff to item } catch (Exception ex) { #if not DEBUG throw; // Exceptions are annoying to debug around #endif } } |
|
Is it just me or that red lamp picture has hypnotizing powers?
|
You, sir, are a horrible person. ;) |
|
I enjoy our company's philosophy of "protect the user from pesky errors that may otherwise make them lose faith in the truthfullness and reliability of our company and cause them to slit their own wrists in desperation and you don't want to be responsible for corporate suicide DO YOU??" Actually, that's just my interpretation. I believe the upper-ups call it "Failing Gracefully", or in the more wince-inducing cases "Ignorable Errors". IE: When an error occurs that we can't recover from, pop a message-box that tells them there is a problem and to call the company (with no error code, logging, or stack-traces). If it's not a fatal error, we recover from it by pretending it didn't happen. They key here is, DON'T PANIC... (the people who pay us). |
|
This is how you code for enterprisey solutions. They should have been more clear about the web service in the documentation, something like: This web service returns a tri-state boolean: True, False, ERROR_SUCCESS
Captcha: paula |
|
I agree, the picture has hypnotizing magic
captcha: genius - No, not really. |
|
The software worked just like it was supposed to. This is more of a WTF/TCTFM (They Changed The Fine Manual) |
I've got some code that does almost exactly that: foreach $task (@list) { exec { #Interface with a web server to do an operation that's got a decent chance of failing } } Since most of the failures are due to transient failures of the web server, and tasks will move off the list after a period of time, it's acceptable to just ignore the error and try again the next time the list is processed.
|
Most people seem to have missed the point. Specific failures where not ignored. That can be acceptable. The WTF is that ALLLLL 403 errors in the application are ignored. |
I do the same thing when raising events. If one handler blows up,no other handler receives the event. (from memory); void RaiseEvent(Delegate d, params object[] args) { foreach(Delegate handler in d.GetInvocationList()){ try{ handler.DynamicInvoke(args); } catch { } } } |
NoNoNo - not ignored. According to the vendor 403 failures are defined as "success" but a mistake in the production code defined failures as failures.
This has been corrected.
Clear now? |
#define TRUE 1 #define FALSE 1 |
|
What's the problem? Just wrap it in a "try {} catch(Throwable t) {}" -block and let it loop 5000 times if it fails...
Captcha: pizza? |
You appear to have an awkward markup structure. It should read, '<rant type="pointless">'. |
This actually makes sense. Well, sort of. Users _do_ panic when they see an error message, usually to the extent that they forget to read the error message, press printscreen or produce any kind of sensible reaction. Therefore I don't see much point in annoying them with stack traces or debug infos, those are meant to be read by developers and should be sent directly to them. (Or at least saved to disk or something.) A single sentence of error message will suffice in most cases. |
Some places I've worked in the past have had an "auto-update" feature turned on. Like Windows' one. Good fun when they slip something like this WTF through unannounced. |
That's the most unintentionally beautiful grammatical error I've ever seen. Yes, that should have been "the issue ... lay in its external interface." But there's another way to correct it: remove the first three words of the sentence. Behold: "Their system lied in its external interface." Yes. Yes, indeed, it did. :-) |
|
Ok, I'm sick of going back and fixing it every time this text box
Aha, they're using libcurl! (Or at least, I've run into this exact problem with libcurl.) The
So the obvious way to use curl, which is tojust
So this vendor probably used
|
+1, Insightful
|
|
Reminds me of a function a co-worker of mine once wrote:
if (value==true) return true; } return 1; Hehe... another co-worker reminded me of the code that this same guy wrote that was really cool because it didn't have bugs 'Suppress errors until batch has finished processing 'Perform Task Catch ex As Exception 'Do Nothing End Try |
I love these :) When I'm working on some legacy code I frequently change these kinds of statements to their "normal" counterparts. I'd try to convert it to something like: return value ? true : 1; but I've not heard of a type called a "boolint" :) Maybe it could be like this: enum boolint |
Re: Define Failure As Success
2006-09-28 21:08
•
by
Anon E Moose
|
|
And remember, if we don't succeed, we run the risk of failure!
|
Don't forget VeryNull. |
|
"The issue with their system lied in its external interface" Grammar nitpicking: 'to lie', meaning 'to place', is an irregular verb. The past tense of it is 'lay'. 'To lie', meaning 'to deceive', is more regular: it has 'lied' as the past tense. So, when I read that sentence, I thought the problem was that the external interface was lying. Which was (unintentionally, I think) true! |
Internet nitpicking: you are at least the third person to point this out. |
|
I used to get this error in WorldCraft all the time when it tried to copy a file that didnt exist: Error: The command completed succesfully.
CAPTCHA: shut the fuck up |
Might as well give them error code 42 for every one of those errors. |
| « Prev | Page 1 | Page 2 | Next » |