Just like clockwork

Flashback to the times when this programmer pilot fish is operating on gadget instrument for a big seller that makes huge computer systems — and one of the crucial thorniest issues is understanding what time it’s.

“On the time, the gadget time-of-day clock was once in truth a calculation,” says fish. “It was once the date and time when the gadget was once initialized, plus the time that the device have been working.

“Since each gadget initialized quite in a different way, this code was once rewritten each time we constructed a brand new gadget. For approximately 3 techniques in a row, the time-running variable was once outlined as an integer as an alternative of an actual.

“We might undergo months of debugging in-house and buyer trying out, then claim victory and send the gadget.

“After which 30 days later, similar to clockwork, the gadget would crash for purchasers because the time-running integer variable overflowed, the gadget clock jumped backwards, and the working gadget failed.

“A minimum of we had 30 extra days to get the repair out…”

Do not wait 30 days — ship Sharky your true story of IT lifestyles at the moment at sharky@computerworld.com. You’ll additionally touch upon as of late’s story at Sharky’s Google+ group, and skim 1000’s of serious outdated stories within the Sharkives.

Get Sharky’s outtakes from the IT Theater of the Absurd delivered without delay in your Inbox. Subscribe now to the Day-to-day Shark Publication.

Leave a Reply

Your email address will not be published. Required fields are marked *