The code worked differently when the moon was full

Un bug cu efect histerezis :smiley:

Din discutia de pe HN

We once had a customer who would call us in a panic a couple of times a year saying our inspection equipment was experiencing unusually high false rejects and they were generating very high scrap rate. By the time we got a technician on site the next day, everything was working flawlessly and the customer couldn’t reproduce the problem either. This went on for almost three years with various levels of escalation to the current management. Finally, one day a technician was on site for another project when the customer came up to him and said “It’s happening right now! Come fix it!” The technician rushed over to the equipment and discovered that the sun was shining at exactly the right angle to cause a lens flare in one of our cameras. This happened twice a year as the sun moved along its trajectory. A strategically placed piece of opaque plastic fixed it permanently.

Reminds me of a story where a company’s internet would regularly drop at the same time every day – let’s say 3pm.
Nobody could figure it out so they called in an expert.
After lots of attempts and figuring, one day the person in question happens to look out the window at the time in question … and sees a service truck park exactly in line-of-sight between the business and their internet-signal pickup broadcast point.
Ah ha!

2 Likes