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. I have done a stupid!!!!!

I have done a stupid!!!!!

Scheduled Pinned Locked Moved The Lounge
regexhelpquestion
60 Posts 31 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.
  • G glennPattonWork3

    In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

    if (txtSerialNumberRead != txtSerialNumber_ReadIn)
    {
    MessageBox.Show("ERROR!! Kill all humans");
    MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
    }
    //else

    The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

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

    I once shipped a debug build into production by mistake. Whenever an exception was thrown it would pop-up a message box containing the error; normally they were just written to the log. It was a component that runs on a server. An unattended server...


    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

    L D 2 Replies Last reply
    0
    • D Dalek Dave

      Rest assured Glenn, it is not just you! I uploaded a webpage. Nice, simple, clean. Oops I uploaded a test page not the finalised one. It contained the wrong images, and whilst the they were not rude, crude or offensive in anyway, I feel the plumber was puzzled as to why his page had images of my dog, my holiday and a drunken friend sprinkled liberally throughout. (whilst awaiting his pictures I substituted some of my own). Needless to say, I changed them in pretty short order, but it was slightly embarrassing for me.

      --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] English League Tables - Live

      G Offline
      G Offline
      glennPattonWork3
      wrote on last edited by
      #5

      Why, oh Why can't there be a means of getting back an email once it you look at it, even the post office give you the option of using a wire coat hanger. (No I was not interfering with Her Majesty's Postal Service, I assure you Officer) :)

      D 1 Reply Last reply
      0
      • N Nagy Vilmos

        I once shipped a debug build into production by mistake. Whenever an exception was thrown it would pop-up a message box containing the error; normally they were just written to the log. It was a component that runs on a server. An unattended server...


        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

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

        I believe I have mentioned this before, but I once did a demo of a new system and some new functionality for reporting (which had been terrible in the old system) and when the report popped up it said "Elephant you sunshine". The audience was a Dutchman, and Italian, a Scot and a handful of Englishmen. All IT persons, not users or managers. Fortunately those in the room were so blown away by the new functionality and amused by the content of the report. Apart from the Scot who wondered how I had got hold of the letter from his mum.

        Every man can tell how many goats or sheep he possesses, but not how many friends.

        R 1 Reply Last reply
        0
        • G glennPattonWork3

          In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

          if (txtSerialNumberRead != txtSerialNumber_ReadIn)
          {
          MessageBox.Show("ERROR!! Kill all humans");
          MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
          }
          //else

          The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

          N Offline
          N Offline
          Nelek
          wrote on last edited by
          #7

          Don't worry, you are not alone I have given some backups containing my whole bunch of comments in some places that were under construction or edition. My luck, not so many people in germany can speak "valenciano" (my second mother language). So I had only a customer "what does that means?" request. I quickly "translated" (means change the full content of the comment according to little sister rule) and sent the correct version. As other say, the best solution is not to write such comments, but if you do... at least do it in a criptic way ;P

          Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpfull answers is nice, but saying thanks can be even nicer.

          R 1 Reply Last reply
          0
          • G glennPattonWork3

            In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

            if (txtSerialNumberRead != txtSerialNumber_ReadIn)
            {
            MessageBox.Show("ERROR!! Kill all humans");
            MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            //else

            The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

            Z Offline
            Z Offline
            zenwalker1985
            wrote on last edited by
            #8

            I once read in some article that the original M$ code has all the curse words like Shit, f**k, crap, a***ole, etc. in comments and even couple of places had curse words in the display boxes too. Yours far better than that i guess :)

            My cUr10U5 w0rlD

            G 1 Reply Last reply
            0
            • Z zenwalker1985

              I once read in some article that the original M$ code has all the curse words like Shit, f**k, crap, a***ole, etc. in comments and even couple of places had curse words in the display boxes too. Yours far better than that i guess :)

              My cUr10U5 w0rlD

              G Offline
              G Offline
              glennPattonWork3
              wrote on last edited by
              #9

              It kinda makes sense, when my opposite number and I were having a conversation along the lines of "come the machines rise these ******ng things will lead the way!" Glenn

              1 Reply Last reply
              0
              • G glennPattonWork3

                In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

                if (txtSerialNumberRead != txtSerialNumber_ReadIn)
                {
                MessageBox.Show("ERROR!! Kill all humans");
                MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                //else

                The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

                A Offline
                A Offline
                Abhinav S
                wrote on last edited by
                #10

                You do have your resume at hand, don't you?

                G 1 Reply Last reply
                0
                • A Abhinav S

                  You do have your resume at hand, don't you?

                  G Offline
                  G Offline
                  glennPattonWork3
                  wrote on last edited by
                  #11

                  please don't make me feel any worse!!

                  1 Reply Last reply
                  0
                  • G glennPattonWork3

                    In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

                    if (txtSerialNumberRead != txtSerialNumber_ReadIn)
                    {
                    MessageBox.Show("ERROR!! Kill all humans");
                    MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    }
                    //else

                    The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

                    M Offline
                    M Offline
                    Mycroft Holmes
                    wrote on last edited by
                    #12

                    Nope not one, not ever... well not recently, they won't let me touch production any more for some reason.

                    Never underestimate the power of human stupidity RAH

                    G 1 Reply Last reply
                    0
                    • M Mycroft Holmes

                      Nope not one, not ever... well not recently, they won't let me touch production any more for some reason.

                      Never underestimate the power of human stupidity RAH

                      G Offline
                      G Offline
                      glennPattonWork3
                      wrote on last edited by
                      #13

                      I am regarded the same way, give it Glenn, if he can't break it no one can with ease!

                      M 1 Reply Last reply
                      0
                      • G glennPattonWork3

                        In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

                        if (txtSerialNumberRead != txtSerialNumber_ReadIn)
                        {
                        MessageBox.Show("ERROR!! Kill all humans");
                        MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
                        }
                        //else

                        The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

                        R Offline
                        R Offline
                        realJSOP
                        wrote on last edited by
                        #14

                        Yeah, back in the late 80's. If the program encountered an error that wasn't otherwise covered, it would display the following: "Shut 'er down Scotty! The system's suckin' mud!" Everything was fine for a couple of years, until a customer called who had received the error, and was wondering what he should do.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                        1 Reply Last reply
                        0
                        • G glennPattonWork3

                          In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

                          if (txtSerialNumberRead != txtSerialNumber_ReadIn)
                          {
                          MessageBox.Show("ERROR!! Kill all humans");
                          MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
                          }
                          //else

                          The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

                          S Offline
                          S Offline
                          Septimus Hedgehog
                          wrote on last edited by
                          #15

                          There's nothing wrong with that. It satisfies the requirements of production rollout, namely, if it compiles clean, then it's good to go live!

                          G 1 Reply Last reply
                          0
                          • S Septimus Hedgehog

                            There's nothing wrong with that. It satisfies the requirements of production rollout, namely, if it compiles clean, then it's good to go live!

                            G Offline
                            G Offline
                            glennPattonWork3
                            wrote on last edited by
                            #16

                            Oh I agree, it just the Users will see the comment say "what is this?" and it may become an issue if my contingency plan fails.

                            1 Reply Last reply
                            0
                            • G glennPattonWork3

                              In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

                              if (txtSerialNumberRead != txtSerialNumber_ReadIn)
                              {
                              MessageBox.Show("ERROR!! Kill all humans");
                              MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
                              }
                              //else

                              The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

                              S Offline
                              S Offline
                              S Houghtelin
                              wrote on last edited by
                              #17

                              It a fit of boredom I added a counter to a debug button for testing some bit of code. It counted the number of times that the button was clicked, At the tenth time a message box would come up and say "Pressing this button the last 10 times did nothing, why do you keep clicking it?" I forgot about it until two years later when a new tech emails me with a screen shot of the message box. Oh yeah, I'd forgooten that... :doh:

                              It was broke, so I fixed it.

                              1 Reply Last reply
                              0
                              • N Nelek

                                Don't worry, you are not alone I have given some backups containing my whole bunch of comments in some places that were under construction or edition. My luck, not so many people in germany can speak "valenciano" (my second mother language). So I had only a customer "what does that means?" request. I quickly "translated" (means change the full content of the comment according to little sister rule) and sent the correct version. As other say, the best solution is not to write such comments, but if you do... at least do it in a criptic way ;P

                                Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpfull answers is nice, but saying thanks can be even nicer.

                                R Offline
                                R Offline
                                Rajesh R Subramanian
                                wrote on last edited by
                                #18

                                Nelek wrote:

                                at least do it in a criptic way

                                ...and if that was too much to ask for, then one could do it in a cryptic way. :)

                                "Real men drive manual transmission" - Rajesh.

                                S 1 Reply Last reply
                                0
                                • G glennPattonWork3

                                  In a rush to email some code last night, I sent the wrong executable one which contained the following bit of test code

                                  if (txtSerialNumberRead != txtSerialNumber_ReadIn)
                                  {
                                  MessageBox.Show("ERROR!! Kill all humans");
                                  MessageBox.Show("Serial Number Entered Does Not Match **** Attached", "**** Tester", MessageBoxButtons.OK, MessageBoxIcon.Error);
                                  }
                                  //else

                                  The proper build does not offer death to humanity just the lower message, here's hoping the recipients look at there next mail before running it! Anybody else had this happen, shipped something with a dumb comment not hidden? or is it just me! Glenn

                                  OriginalGriffO Offline
                                  OriginalGriffO Offline
                                  OriginalGriff
                                  wrote on last edited by
                                  #19

                                  Back in the days when I did embedded software on EPROMs, I blew a new EPROM, couriered it to the client in London, who drove to Glasgow, fitted the EPROM...and found no change from the previous version. He called, I checked and realised I had blown the latest release version rather than the latest test version. He jumped on a plane, flew down to Hampshire, checked a new EPROM, went back to Glasgow...and found he had picked up the old version instead of the new, checked version... Not a good day for anyone, really...

                                  Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                  G 1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    Back in the days when I did embedded software on EPROMs, I blew a new EPROM, couriered it to the client in London, who drove to Glasgow, fitted the EPROM...and found no change from the previous version. He called, I checked and realised I had blown the latest release version rather than the latest test version. He jumped on a plane, flew down to Hampshire, checked a new EPROM, went back to Glasgow...and found he had picked up the old version instead of the new, checked version... Not a good day for anyone, really...

                                    Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                    G Offline
                                    G Offline
                                    glennPattonWork3
                                    wrote on last edited by
                                    #20

                                    Thanks to modern systems and competent clients you can just mail them the binary's these days and let them get on with it, followed by the obligatory it's not working phone call with some irate person yelling at them while you try to explain the RJ45 lead has broken, I love deploying those systems, it's even more fun when the person you are trying to help doesn't speak/read English that well!

                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • G glennPattonWork3

                                      Thanks to modern systems and competent clients you can just mail them the binary's these days and let them get on with it, followed by the obligatory it's not working phone call with some irate person yelling at them while you try to explain the RJ45 lead has broken, I love deploying those systems, it's even more fun when the person you are trying to help doesn't speak/read English that well!

                                      OriginalGriffO Offline
                                      OriginalGriffO Offline
                                      OriginalGriff
                                      wrote on last edited by
                                      #21

                                      It was so much more fun when it was a physical object - the legs could fall off or anything! :laugh:

                                      Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                      N G 2 Replies Last reply
                                      0
                                      • R Rajesh R Subramanian

                                        Nelek wrote:

                                        at least do it in a criptic way

                                        ...and if that was too much to ask for, then one could do it in a cryptic way. :)

                                        "Real men drive manual transmission" - Rajesh.

                                        S Offline
                                        S Offline
                                        sweavo_old
                                        wrote on last edited by
                                        #22

                                        Well done! you just volunteered for the next valenciano spelling-bee

                                        1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          It was so much more fun when it was a physical object - the legs could fall off or anything! :laugh:

                                          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

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

                                          OriginalGriff wrote:

                                          the legs could fall off or anything!

                                          You programmed spiders? Kuwel!


                                          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

                                          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