I have done a stupid!!!!!
-
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.
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.
-
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);
}
//elseThe 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
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.
-
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);
}
//elseThe 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
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
-
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
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!
-
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!
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
-
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.
Well done! you just volunteered for the next valenciano spelling-bee
-
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
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
-
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 know what you mean, my attitude for a time was "at least I can kick what I produce when it doesn't work", now it's all Software, more expensive when you kick it.:confused:
-
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);
}
//elseThe 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
I once forgot to remove a log message from a destructor. The message said "Ahhh, I am dying, who the elephant killed this innocent playlist". Fortunately I noticed it myself next day when I saw the log file filled with elephants. BUT WAIT, this was inside a product, I wonder, if such a log file is still sitting on someones device. huh perhaps(hopefully) not.
-
I once forgot to remove a log message from a destructor. The message said "Ahhh, I am dying, who the elephant killed this innocent playlist". Fortunately I noticed it myself next day when I saw the log file filled with elephants. BUT WAIT, this was inside a product, I wonder, if such a log file is still sitting on someones device. huh perhaps(hopefully) not.
Just wondering the "elephant" in question did not have trunk. Did the whole message appear or just "elephant"
-
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);
}
//elseThe 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
Yes! I once developed windows mobile app for my ex job (a food wholesales agent) The app was an inventory / shop system. Anyway, one of the features was that they could send orders from the phone to the companys webshop. The web orders could have a custom comment attached. So for debugging reasons I made the comment from the phone app "Tord is a small horse" tord was my co-worker, older humorless guy. Time passed and the app was deployed. One day a sales guy from our company called Tord and asked, "why do our weborders say that you are a small horse?" Apparently every sales person had been seeing the small horse comment for quite some time. And Tord was pretty pissed :)
-
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);
}
//elseThe 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 developer once pushed code that had the debug set so no data would be modified. After that debug flags had to be set in the config file.
-
A developer once pushed code that had the debug set so no data would be modified. After that debug flags had to be set in the config file.
Well at least you could set them, Glenn
-
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.
-
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);
}
//elseThe 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
-
But that's a feature! Killing all humans is what you want in that case, right?
"I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson
You might be right there, definitely users. Here's hoping my opposite number gets to the mail server before the ***** testing the boards do. :java:
-
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);
}
//elseThe 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
-
I restrict such shenanigans to my comments, so if I forget it's there the customer/non-developer higher-ups would never know.
I used to, then this project a back and forth with my opposite number and that happened. Mind you the backup plan worked thank the....... Glenn I just noticed the reply option is different, a button rather than just a hyperlink in the text (or is my PC going sideways again?)
-
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);
}
//elseThe 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
The stupid thing was not to send it to the customer, but to write stupid code (or stupid messages) Doing this, you just promise yourself that you'll have to come back and clean it :-(
gzo
-
The stupid thing was not to send it to the customer, but to write stupid code (or stupid messages) Doing this, you just promise yourself that you'll have to come back and clean it :-(
gzo
I completely agree, however silly messages are very useful when tracking down issues. Note things like that from now will commented out with /* & */ and not // as it is too easy to remove the intended comments