The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Schrödinger's error

Last post 07-07-2008 10:20 AM by DrJokepu. 17 replies.
Page 1 of 1 (18 items)
Sort Posts: Previous Next
  • 07-02-2008 9:03 AM

    Schrödinger's error

    Error No Error

    And its not even a quantum physics program.

  • 07-02-2008 9:13 AM In reply to

    Re: Schrödinger's error

    <mandatory lolcat picture>

  • 07-02-2008 10:50 AM In reply to

    Re: Schrödinger's error

    Reminds me of those cases in C where calling perror after a successful system call would give me funny messages like "Error: Success". However, I've seen some "Error" dialogs with description "There is no error" somewhere...

  • 07-02-2008 2:10 PM In reply to

    Re: Schrödinger's error

    danixdefcon5:

    I've seen some "Error" dialogs with description "There is no error" somewhere...

    I think this or something similar happened when you dropped images in the project files management box of some older Visual Studio version.
    class Paula_Bean
    PAULA = "Brillant"

    def get_paula
    return PAULA
    end
    end
    Filed under:
  • 07-02-2008 3:01 PM In reply to

    Re: Schrödinger's error

    If a program throws an exception in a forest but there is no one there to catch it, is there an error at all?

    Code Monkey like Fritos
    Code Monkey like Tab and Mountain Dew
    Code Monkey very simple man
    with big warm fuzzy secret heart
    Code Monkey like you
    Code Monkey like you a lot
  • 07-02-2008 5:14 PM In reply to

    • Kazan
    • Top 500 Contributor
    • Joined on 08-31-2006
    • Posts 85

    Re: Schrödinger's error

     No it causes the operating system to bitch at you*

     

    *dependant on operating syste

  • 07-02-2008 6:54 PM In reply to

    Re: Schrödinger's error

    "Error: The operation has completed successfully."
    "Error: No error"

    These errors generally occur because of Windows API functions failing to call SetLastError() before they fail. The program sees the generic error return value and (as per the docs) calls GetLastError() to find out what happened. If you're lucky, ERROR_SUCCESS is the last thing that was set there; otherwise you get some random bogus error that has nothing to do with what just went wrong.

    TRWTF is the Windows API 

  • 07-02-2008 7:24 PM In reply to

    Re: Schrödinger's error

    Kazan:

     No it causes the operating system to bitch at you*

     

    *dependant on operating syste

    What OS doesn't display an error when a program crashes? 

    < pstorer> Bans don't mean shit on the forum. It's like being on the Sex Offender List. You can still entice kids into your van with candy.

    Want more? Go the IRC channel #TDWTFMafia on irc.slashnet.org.

    Bush^3 vs. /O(s|b)ama Bi(n La)?den/ -- YOU DECIDE!
    Filed under:
  • 07-03-2008 4:03 AM In reply to

    • Joon
    • Not Ranked
    • Joined on 06-30-2008
    • Cape Town, RSA
    • Posts 4

    Re: Schrödinger's error

    morbiuswilters:

    What OS doesn't display an error when a program crashes? 

     

     

    Windows 95. If a 16 bit program (like a delphi 1 app) crashed with a GPF in Win95, it would just lock up, the screen would go black and you would have to reboot.

     If you were lucky, the OS would start on reboot and not have to be repaired.

     

    Oh, good times :-D 

    Filed under:
  • 07-03-2008 10:17 AM In reply to

    Re: Schrödinger's error

    Joon:

    Windows 95. If a 16 bit program (like a delphi 1 app) crashed with a GPF in Win95, it would just lock up, the screen would go black and you would have to reboot.

    If you were lucky, the OS would start on reboot and not have to be repaired.

     

    Oh, good times :-D 

    This thread is now about 14 year old OSes running 20 year old software.  Seriously, did you read the guy I was responding to?  He was complaining that the OS displayed an error message when a program crashed due to an unhandled exception.  It's balatantly stupid to expect a modern OS to do anything different.

    < pstorer> Bans don't mean shit on the forum. It's like being on the Sex Offender List. You can still entice kids into your van with candy.

    Want more? Go the IRC channel #TDWTFMafia on irc.slashnet.org.

    Bush^3 vs. /O(s|b)ama Bi(n La)?den/ -- YOU DECIDE!
    Filed under:
  • 07-03-2008 10:30 AM In reply to

    Re: Schrödinger's error

    morbiuswilters:
    He was complaining that the OS displayed an error message when a program crashed due to an unhandled exception.  It's balatantly stupid to expect a modern OS to do anything different.
     

    I don't know, I like that in my 'modern' (Ubuntu) Linux OS when I forget (or I am not sure if I need) to use sudo for a command it can generate some wild messages.

    Because really, instead of just displaying "Permission failure" or "You need to be root" it is obviously much better to give errors like "Perhaps your kernel needs to be upgraded" or other such clever messages.

  • 07-03-2008 7:52 PM In reply to

    Re: Schrödinger's error

    MasterPlanSoftware:
    I don't know, I like that in my 'modern' (Ubuntu) Linux OS when I forget (or I am not sure if I need) to use sudo for a command it can generate some wild messages.
     

    But...but...open source stuff *never* throws errors!  And if you argue I'll call you a M$ shill!

    Off topic, have you tried Debian and if so how do you reckon it compares with Ubuntu?  I went straight to Debian and haven't been tempted to switch yet.  Surprising how intense the Debian/Ubuntu wars can be though, almost on a par with Apple/Linux/Windows.

    What if the hokey cokey really IS what it's all about?
  • 07-03-2008 9:27 PM In reply to

    Re: Schrödinger's error

     

    upsidedowncreature:

    MasterPlanSoftware:
    I don't know, I like that in my 'modern' (Ubuntu) Linux OS when I forget (or I am not sure if I need) to use sudo for a command it can generate some wild messages.
     

    But...but...open source stuff *never* throws errors!  And if you argue I'll call you a M$ shill!

    Off topic, have you tried Debian and if so how do you reckon it compares with Ubuntu?  I went straight to Debian and haven't been tempted to switch yet.  Surprising how intense the Debian/Ubuntu wars can be though, almost on a par with Apple/Linux/Windows.

     

     Well, the problem stems from a few issues. First off, becoming a debian developer is a rather painful process (I'm currently going through it, and I haven't had a word in the four months since my application went in; this is actually quite normal, six months is the current average) and there is a lot of ego going around due to the general way things to, so Debian tends to be rather unchanging in its policies and such.

     Ubuntu on the other hand is much easier to get involved with; you don't actually have to physically drive (in my case anyway, across a state) to meet another developer and get your key signed just to help work on packages and then go through the Debian Maintainer process to get upload rights to your own packages.

     Debian's unstable archive is what is used as both the basis of the current Ubuntu version, and Debian testing, so all packages more or less come from a common source*. For Ubuntu, packages are directly synced, or if Ubuntu-specific patches are needed, merged. Since Ubuntu releases every six months, even their stable is more up to date then Debian's last release (etch, released almost a year ago).

     For Debian,  packages enter a testing distro, which is frozen for each release. The problem is that these releases can sometimes be years apart, and stable doesn't get to see any updated versions of software (the security team backfix any important security patches). Software can be submitted for update via proposed-updates, but more or less, software doesn't get updated until a new release of Debian is made, which happens every 1-2 years. 

    * - Ubuntu also accepts packages directly via REVU. 

    TDWTF Forum Moderator
  • 07-04-2008 11:56 AM In reply to

    Re: Schrödinger's error

    MasterPlanSoftware:

    morbiuswilters:
    He was complaining that the OS displayed an error message when a program crashed due to an unhandled exception.  It's balatantly stupid to expect a modern OS to do anything different.
     

    I don't know, I like that in my 'modern' (Ubuntu) Linux OS when I forget (or I am not sure if I need) to use sudo for a command it can generate some wild messages.

    Because really, instead of just displaying "Permission failure" or "You need to be root" it is obviously much better to give errors like "Perhaps your kernel needs to be upgraded" or other such clever messages.

    Ubuntu.  Meh.  Linux in general.  Kernels are for popping.  Nothing more, nothing less. 

     

  • 07-05-2008 2:45 AM In reply to

    Re: Schrödinger's error

     You'd be interested to know that Windows NT/2000/XP/Vista are also powered by a kernel :-P.

     

    What's wrong with Linux anyway?

    TDWTF Forum Moderator
  • 07-05-2008 10:15 AM In reply to

    Re: Schrödinger's error

    Michael Casadevall:
    What's wrong with Linux anyway?
     

    All OSes have their issues.

  • 07-07-2008 9:06 AM In reply to

    Re: Schrödinger's error

    mrprogguy:
    Ubuntu.  Meh.  Linux in general.  Kernels are for popping.  Nothing more, nothing less. 
     

    I suppose you would prefer an OS with no kernel then?

  • 07-07-2008 10:20 AM In reply to

    Re: Schrödinger's error

    MasterPlanSoftware:
    I suppose you would prefer an OS with no kernel then?

    Conservative American Operating System:

    Every program is responsible for its own welfare. We don't need communist hippie things like common memory management, hardware I/O and similar un-American things. It's about freedom.

    Wait, isn't that DOS?

    The good doctor is here to help. I promise this time I will not screw up the operation.
Page 1 of 1 (18 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems