Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Another "Gem" I did...

Another "Gem" I did...

Scheduled Pinned Locked Moved The Lounge
rubytestingbeta-testinghelp
12 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B boarderstu

    Whilst knocking out a feature that I'd come back to... I did this bit of code:

    public bool IsSuperUserEnabled()
    {
    return true;
    }

    Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!

    F Offline
    F Offline
    Forogar
    wrote on last edited by
    #3

    You should put this in the "The Weird & The Wonderful" forum. ;P

    - Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...

    L 1 Reply Last reply
    0
    • F Forogar

      You should put this in the "The Weird & The Wonderful" forum. ;P

      - Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #4

      Forogar wrote:

      "The Weird & The Wonderful" forum.

      That's only for others' mistakes, not your own :)

      N 1 Reply Last reply
      0
      • L Lost User

        Forogar wrote:

        "The Weird & The Wonderful" forum.

        That's only for others' mistakes, not your own :)

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #5

        Self flagellation is allowed


        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

        B 1 Reply Last reply
        0
        • N Nagy Vilmos

          Self flagellation is allowed


          Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

          B Offline
          B Offline
          boarderstu
          wrote on last edited by
          #6

          Do I need to re-post it? Or is there a way to "Move" it...

          F 1 Reply Last reply
          0
          • B boarderstu

            Do I need to re-post it? Or is there a way to "Move" it...

            F Offline
            F Offline
            Forogar
            wrote on last edited by
            #7

            It doesn't really matter. Here, your foul stench[sorry, I have been watching Star Wars again recently] code faux pas will fade into obscurity fairly quickly. In "The Weird & The Wonderful" it will last, along with your shame, forever!

            - Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...

            1 Reply Last reply
            0
            • B Brisingr Aerowing

              Oops!

              Bob Dole

              The internet is a great way to get on the net.

              :doh: 2.0.82.7292 SP6a

              F Offline
              F Offline
              fjdiewornncalwe
              wrote on last edited by
              #8

              Brisingr Aerowing wrote:

              Oops!

              That was a dialog message I put into a debug version of an app many years ago. It wasn't until a user of the product triggered a very obscure piece of code that it was discovered. A wonderful email message from the user went something like: "I'm not sure if it is the computer telling me I did something wrong or if you did. Either way, could you take a look, please?" "Oops". Not something a program should say...

              I wasn't, now I am, then I won't be anymore.

              C A 2 Replies Last reply
              0
              • F fjdiewornncalwe

                Brisingr Aerowing wrote:

                Oops!

                That was a dialog message I put into a debug version of an app many years ago. It wasn't until a user of the product triggered a very obscure piece of code that it was discovered. A wonderful email message from the user went something like: "I'm not sure if it is the computer telling me I did something wrong or if you did. Either way, could you take a look, please?" "Oops". Not something a program should say...

                I wasn't, now I am, then I won't be anymore.

                A Offline
                A Offline
                Albert Holguin
                wrote on last edited by
                #9

                There was one in our software that said "not even"... :doh: Figured out it meant the data set was not an even number and couldn't be parsed correctly (it should always be even since it expects IQ-complex data), but that error message was not very informative at all (in hindsight it makes sense, but it could have more info).

                1 Reply Last reply
                0
                • F fjdiewornncalwe

                  Brisingr Aerowing wrote:

                  Oops!

                  That was a dialog message I put into a debug version of an app many years ago. It wasn't until a user of the product triggered a very obscure piece of code that it was discovered. A wonderful email message from the user went something like: "I'm not sure if it is the computer telling me I did something wrong or if you did. Either way, could you take a look, please?" "Oops". Not something a program should say...

                  I wasn't, now I am, then I won't be anymore.

                  C Offline
                  C Offline
                  Colin Mullikin
                  wrote on last edited by
                  #10

                  A couple years ago, before I was at the company, we had an irate customer call in because of a message dialog that said "Boo!" that resulted from a very specific set of key strokes and mouse clicks. He immediately demanded to talk to the owner/CEO of the company (not quite as extreme as it seems, as we are a fairly small company of roughly 60 employees in the office).

                  The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                  1 Reply Last reply
                  0
                  • B boarderstu

                    Whilst knocking out a feature that I'd come back to... I did this bit of code:

                    public bool IsSuperUserEnabled()
                    {
                    return true;
                    }

                    Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!

                    T Offline
                    T Offline
                    thrakazog
                    wrote on last edited by
                    #11

                    Made me think of a bit from South Park.. "I'm super, thanks for asking." :-D

                    Play my game Gravity: IOS[^], Android[^], Windows Phone 7[^]

                    1 Reply Last reply
                    0
                    • B boarderstu

                      Whilst knocking out a feature that I'd come back to... I did this bit of code:

                      public bool IsSuperUserEnabled()
                      {
                      return true;
                      }

                      Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!

                      R Offline
                      R Offline
                      Rob Grainger
                      wrote on last edited by
                      #12

                      I use TODO: comments for that regularly. You could even set up a script to disallow checking in code containing offending article.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups