Isn't network code funFlabio wrote: Worst thing I've ever done is related to writing a LAN play mode in a previous job. I had two machines set up, and I thoughtfully compiled the exe locally on each machine. The two machines would always drift slowly out of synch with each other. Never occured to me that the second machine would have a different service pack on devstudio, so it was compiling the float code slightly differently. Copied the exe from one to the other, and it all worked fine. Time lost: 2 weeks.
In a previous life I wrote a simulator for the fancy new Virgin trains. It was all written in our office using a bizarre 16bit windows program called ISaGRAF.
This thing was slow. Seriously slow at compiling files. The "train" consisted of 10 PCs running NT, one per carriage. So every build had to be built 10 times. It took around 14 hours to build.
Now the fancy thing was, we could test the code in our office to a certain extent, so when we went to visit the nice train people we could load it up and off they go, playing with the simulator.
Except the time we drove all the way to Birmingham, loaded the software up, turned it on and watched all 10 PCs lock up. It was great, you could see them arguing over network-wide state variables - setting them high, setting them low, flip/flip/flip/*CRASH*.
We debugged the code in about 10 minutes and took the rest of the day off to let the thing recompile itself. We came back in the evening to see what was going on and were confronted with
"somefile.blah : Syntax Error, Line 10".
Somefile.blah was the SECOND file in the list of stuff to compile. It must have barfed about 30 seconds after we went out. A few choice words from us accompanied by a lot of laughing followed from the other techies nearby
There was also the time when I accidentally unplugged someone's UPS... that is, I unplugged the cable that powered the rack full of telecomms equipment, routers, switches and an NT server. The really funny thing was that in the five minutes it took me to get it all up and online again nobody noticed




