Code, and Ninjas you can see...
Patrick Cauldwell and I had lunch today and were talking about how funny it is when someone looks at code for hours trying to find a bug (or stray semi-colon) and the parallel was made with the Ninjas that The Tick couldn't see. They would hold sticks in to disguise themselves as shrubbery. As soon as they did this, they were immediately invisible to The Tick. As soon as they moved the sticks, well, you get the idea.
I wonder what makes folks not see the Code that's right in front of them?
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
I haven't read you in about a week, but I come back and everything you've said is just gold. (And printable gold too, thanks to that stylesheet!)
Leon
I just did a mon-wed trip to DC to make nice with a customer and try to fix an SSL /TLS problem they were having between us their customers mainframe.
We've been back and forward on it for a while, traces, logs, even adding a bunch of instrumentation to the code to try to figure out what was (or more corretly was not) going on.
Tuesday morning was spent with our Sys Dev in front of our own mainframe in Maryland trying to figure out what other logging we could turn on in CICS to track this thing down, and why the hell it worked just fine going against our mainframe, but not the customers.
Tuesday afternoon , around 2pm my cell phone rings (I'm with the customer). "Hey Ian, I was just looking at that code again, and the SSL initialisation could be wrong. try a 23 not a 2 in that api name".
10 minutes later we have a working conversation between our system and the mainframe once again.
There was no missing semi colon, there was a missing '3'. coast to coast trip, umpteen hours staring at code, and log files, and mainframe traces. 1 missing character in a stupidly named api.
Still don't know why our own mainframe didn't fail, but I think it may have silently negotiated down (although the logs don't show that). Now we have to make it fail, or our regresion tests are useless.
Still, the customer is happy, as are their customers - which I suppose is the main thing.
Richard - the guy who pointed it out is a hero! I was starting to run out of options.
That's why whenever I find a particularly tricky bug I yell, "SPOOOOOOOOOOOOOOOON!"
Comments are closed.