On some days it would work perfectly all day long, but on others it would stop working between those hours.
The biggest clue was it would always work perfectly on overcast days, but on sunny days this strange behaviour would manifest again.
Turns out the problem was related to the mouse being a cheap mouse. The case had very thin plastic.
The mouse was a ball mouse, and it worked by shining an LED into a sensor on each of the X and Y axes. On sunny days the sun would completely overpower the sensor due to the plastic case being very thin and on overcast days it would not. On sunny days the mouse would only work when the sun had moved around the sky to cast a shadow over where the mouse was being used.
Perfectly logical but baffling at first.
Turns out some versions of the Pangu jailbreak for iOS 7.1.x would crash during boot if the reading from the ambient light sensor was below some threshold. To this day I don't know the exact explanation of this bug, but it seems that Pangu included some unnecessary code that messed with the light sensor [1].
If you don't believe me, there is a huge reddit thread[2] with a lot of people confirming this.
[1] https://www.reddit.com/r/jailbreak/comments/294wob/jailbreak... [2] https://www.reddit.com/294wob/
Called the cable company, tech came out. Everything inside was fine, but the cable from the main line to the house had a tiny cut in one spot, not enough to really affect the connection, but enough for ambient moisture to work its way in and foul the connection.
There's an infrared beam and sensor. When the ice tray is full, it is supposed to block the beam, and then the machine stops making ice.
On a sunny day, there's enough bright light in our kitchen to fool the sensor so it keeps making ice.
We have a random magazine that we put on top of it to make it work correctly.
One day we started having flaky tests, seemingly out of nowhere. We quickly identified that the issue affected tests involving graphical X client applications, but then we struggled to make further progress. The issue was just impossible to reproduce in other conditions... Well, as it happens, the CI jobs were running on some desktop machines we had installed somewhere within our premises. It turned out that some gentleman had plugged a mouse into one of the machines, and left it lying around on the shelf. Since then, when one of the machines was under a heavy load, the fans would spin faster, causing more vibrations, in turn causing the mouse to move, ever so slightly. And for ungodly reasons, this had side effects on tests.
Fun fact: the machines were not on my site, I managed to diagnose this over SSH. I was quite proud :-)
It turns out our solar panels (or the optimizers, or the inverter) emit radio frequencies that interfere with our garage door opener. When the sun is out and they are producing energy, the interference is stronger than the homelink garage door opener.
A few years ago the garage door openers started working fine. It took a few days to realize it was because the inverter had failed.
I’m fairly certain there are some FCC regulations that would require our installer to fix it, but that relationship soured during installation and I’d rather deal with an unusable garage remote than dealing with them for warranty work.
- Use to fix PCs professionally in the early 90s.
- Guy comes in with PC. Right-mouse button stopped working.
- Replace mouse. Still not working.
- Play with Windows 3.1 drivers. Nothing helps.
- Pull HDD from another PC, install, boot. Mouse button still broken. WTF.
- Pull whole mobo, put another spare mobo in, with replacement HDD and replacement mouse. Still don't work.
- Replace PSU. Right-button works.
- Give up on computers, live in wilderness, eat squirrels.
The first was a VDSL connection I had at home. It worked great (fast, for the time) except when it didn't. It always failed in the evening. Techs would come out, bless it as being good, and leave -- because of course it worked while they were there. Unless they showed up and it was broken and then they'd declare that it was an outside problem, and that they'd have to get someone else to fix it (because the residential techs can't do overhead work).
I made lots of (very polite) phone calls, which results in more refunds and more service calls. More than once, my driveway and the street in front of my house looked like an AT&T convention.
This went on for months.
I had direct numbers and emails for tier 3 support and the local manager who oversaw this plant. We were all getting to know eachother too well, and there were boots on the ground addressing this problem as many as three times in week.
I eventually noticed that as the days got shorter so did the evening outages...and that if it was a cloudy day, then that day was often outage-free.
I had an epiphany: The problem might correlate with the angle of the sun, and the duration of exposure!
I checked my logs and the past weather, and sure enough: It lined up.
So I reported my findings, even though they seemed like nonsense as the words came out of my mouth, and they sent out some crazy-haired guy with bluejeans and an untucked shirt who was clearly not used to wearing a uniform, and who was also obviously not normally customer-facing.
"I know exactly why they can't find the problem," he said after I reiterated what I'd learned. "Your neighborhood still has old lead-sheathed overhead lines, and nobody knows how to work on that anymore."
"But I'm certified on that. I'm going to go back to the shop, pick up a bucket truck and get your line fixed. It will take me most of a day to do this, but I will be back when I'm done."
And it was getting pretty late, but he did come back to let me know that he found some things and fixed them. And I don't know what those things were, but it was fine after that -- and it stayed fine.
Thermal expansion letting cosmic rays leak into copper pairs wrapped in paper, tar, and lead? Who knows. I certainly don't know.
I've never encountered that stuff professionally (and it isn't your grandfather's 25-pair cable) and as this dude said, "nobody knows how to work on that anymore."
On some days, exclusively in the morning hours, the printer would fail to detect the start of a new label, printing over several labels.
After connecting remotely and checking the usual (queue, network connection, drivers etc), I asked my colleague to call me, as soon as it happened again.
When I went there, I saw that a ray of sunlight hit the printer. The windows had shutters, but there was a gap.
Label printers detect the gap between labels using a laser. And for some reason, the printer's case had a clear window at the top.
I printed an empty label and stuck it on the little window.
I would have guessed they'd shrug at the first sign of trouble, swap it out with a known-working mouse and mark the ticket resolved... unless all the replacement mice were thin plastic too, I suppose.
Brother-in-law was known to be "not so good" with cars - so his automotive engineer father didn't take the complaints seriously.
Complaints and emotions escalated, until brother-in-law convinced his dad to swap vehicles for a month, so (he hoped) his dad could experience the problem for himself.
After the problem manifested in the parking lot of the GM Technical Center, and the whole crowd of GM engineers surrounding the vehicle couldn't figure out why the heck the electrical system seemed to be dead, my brother-in-law felt pretty vindicated.
In that house,on certain days of the week at midnight, something that sounded like recordings of political speeches from WW2 would be audibly (but faintly so) from all of stationary electronics. It was so faint, that it was usually hard to pinpoint any one source, and the words used weren't understandable, so it usually sounded like it was coming from everywhere all at once, and like it was an old recording.
This would happen even if they were unplugged. Even if my power went out.
I though I was either going crazy, or my house was literally haunted by hitlers ghost.
Well one day I was in my car and recognized something on the radio that reminded me of this spooky problem I had.
It was the signon of a Catholic am radio station that opened up with Gregorian chanting, and a sermon. This signon happened at the same time on the same days of every week.
Turns out, the wiring in that house was somehow functioning as an am radio receiver, and some common components would vibrate out the audio encoded in the radio signal.
Every time I played on his laptop, this did not happen. He swore he was cursed.
This went on for many days, with many instances where it would happen for him but not for me. Then one day I just sat and observed him while he played, looking for any difference. That's when I noticed his watch band is metal with a magnetic clasp. The position of his wrist on the laptop was tripping the hall sensor, making the laptop think the lid was closed.
Him and I (and his mother) were glad to find out he is not cursed. :-D
To me the moral of the story (and my experience) is: user's problems are usually real, but don't trust their ability to diagnose the actual cause.
We got the wiper fluid filled, so the mystery is in remission, but I'm wondering if all warnings will pop up right then. I'm guessing it has something to do with the telemetry of the car being nudged in that spot, waking up and saying something.
He explained: once upon a time, the machine refused to run _any_ Java programs, and would spectacularly crash and burn instead. C++ fine, python fine, anything Java was a hard nope. He didn't believe this at first until his program also started crashing the machine.
It took a tech, him, and another professor about two weeks to work out that the JVM happened to allocate the same RAM address to the integer 12 on that particular machine every time the JVM started. The actual chip of RAM that contained that hardware address was faulty, so whenever the machine tried to allocate to that address, it would crash.
Swapping out the bad RAM stick immediately solved the problem.
> In causal inference, a confounder (also confounding variable, confounding factor, extraneous determinant or lurking variable) is a variable that influences both the dependent variable and independent variable, causing a spurious association. Confounding is a causal concept, and as such, cannot be described in terms of correlations or associations. The existence of confounders is an important quantitative explanation why correlation does not imply causation. Some notations are explicitly designed to identify the existence, possible existence, or non-existence of confounders in causal relationships between elements of a system. / Confounds are threats to internal validity.
https://en.wikipedia.org/wiki/Confounding
Here is a sketch of a statistical model that shows a confounder (a variable affecting both the dependent and independent variables)
S = f(H, I, T)
`S`: car starting or not (dependent variable)
`H`: how hot is the car engine (independent variable)
`I`: ice cream type chosen (independent variable)
`T`: time taken to buy the ice cream (a confounder)
Explanation: `T` influences `S` because a shorter time leads to `H` (a hotter engine, which is prone to vapor lock). And `T` also influences `I` (type of ice cream chosen) because the placement of vanilla ice cream allows for quicker purchase. Voila, now we have a spurious relationship between `I` and `S`.The electrician came out to check it and gave me the most incredulous look when I told him it didn't work at night. But he went to take a look. Came back later and said that the wire was barely touching the light fixture. So, at night, when it go colder it would slightly pull back and no longer be touching. During the day it would warm up, expand and would work just fine.
Knowing that this was bullshit, I tried everything else to no avail. I finally caved and slammed the glove compartment. To my surprise, Bluetooth has been solid ever since...
Finally, I looked at her mouse: it was half of a wireless mouse-keyboard combo. Turns out, the keyboard hadn't been turned off before it went in the pile, and other keyboards on top of it were pressing its keys, or rather just the one key.
A month into summer, the internet started to die at around 1pm… then magically restore itself in the early evening before the tech would arrive. This went on for a solid week or more.
Eventually the provider agreed to send a tech immediately after we called. On first inspection, everything looked good. Thankfully he was diligent and found that an old pin based IC was likely expanding in the heat and every so slightly unseating itself in its socket. Properly seating it and adding some hot glue solved the issue.
Never underestimate heat dissipation in product design.
A DisplayLink KB article even mentions it (and the associated white paper about the issue), stating:
Surprisingly, we have also seen this issue connected to gas lift office chairs. When people stand or sit on gas lift chairs, they can generate an EMI spike which is picked up on the video cables, causing a loss of sync. If you have users complaining about displays randomly flickering it could actually be connected to people sitting on gas lift chairs. Again swapping video cables, especially for ones with magnetic ferrite ring on the cable, can eliminate this problem. There is even a white paper about this issue.
Over time they ended up building homes in this manner too and one of the brothers purchases the largest available plastic watertant on roof. Offended the other brother decided that he will build even bigger water tank. So they built a massive concrete water taken on the roof.
However the problem with this tank was that it would simply not retain the water which was pumped into it via a small motor pump which pulled the water from nearby well.
This resulted into the brother accusing the brother of "black magic" and engaging in daily fist fights and abuse.
Eventually someone figured out that the person who connected the intake pipe connected it at the bottom of the tank. So wehn the tank was full the water would simply go back to the well.
After some time, I noticed that the phone seemingly only crashed in one area of the open office floorplan where I was working.
I started walking around the office testing this theory, not really believing it. But after a while, I had hard evidence that the bug would only manifest once I entered that part of the office.
When I came to terms that I wasn’t hallucinating, I realised what the problem was. There was poor reception in that part of the office, causing the phone’s modem to switch from 4G wideband to narrowband (glossing over details here), which triggered the bug.
Easy to see with hindsight, but I was very confused there and then
Randomly during longer trips, the car will just die for no discernible reason. It's the Car of Theseus at this point with how much I've replaced, but the issue persists, and the nature of these intermittent problems makes debugging a nightmare. More puzzling still that the car starts up fine after a short nap.
The particle accelerator would start overheating every day right after lunch time. They eventually figured out that enough people were using the bathroom after lunch that it was affecting the water pressure in the cooling system!
I'm not very good at retelling stories.
I don't know whether this is true or not, but either way: incredible. Love this, and love the company for actually sending someone on company time (!??!?!?!?) to check it out. <3 :'))))
This feels very contrived; who organises a supermarket like that? "Where's the ice-cream?" "Which flavour? We keep them separately, to make an anecdote work."
(Like, the moral of the story still works, but the specifics feel very dubious...)
Is it is an understatement to suggest this is a highly unlikely circumstance?
Everything seemed to be going well, but then we hit a snag. Our server began restarting unexpectedly at random intervals throughout the day. Initially, we were baffled. We assumed that the application was crashing because it could not handle the load, and we spent hours digging through code and logs.
But the real culprit turned out to be something entirely different. The server was located next to a storage cabinet, and its power supply line was inconveniently blocking the cabinet's door. Whenever the nurses needed to access the cabinet, they would simply unplug the server, get what they needed, and then plug it back in, oblivious to the chaos it caused in the system.
It taught us the importance of considering all variables, even the human ones, when troubleshooting technical issues. And so, we moved the server, cleared the path to the storage cabinet, and things were back to normal :)
On the other hand, my previous Honda Civic with its dual voltage electric system (computer thinks the battery needs charging? Generate 14.4V. Computer thinks it doesn't? Generate 12.6V) caused us considerable grief until we just started driving around with the headlight switch on all the time (this forced it into the higher charging voltage). This "feature" is not well known/understood even by mechanics and has probably caused untold numbers of alternator replacements.
Current Civic is so automated that even the headlight on and high/low beam is under the computer's control. Hopefully no weird chronic computer bugs in this one.
The key piece of evidence was when we moved a printer into his office, and it had the same disconnects, at the same times. Every day around midday. Not one disconnection, mind you - starting at about 11 the disconnects would get more and more frequent. From noon to one it was every few minutes. In the afternoon and evening it was just fine. It just so happened that the engineer would work in the morning, and his first compiles if the day were around that time. So, compiles were a red herring.
In the end the problem was the kitchen one floor down from his office, where a microwave was heating up peoples' lunches and causing enough EMI to disrupt (in those days rather brittle) wifi. We bought them a new microwave, and the disconnects stopped.
Car allergic to vanilla ice cream (2000) - https://news.ycombinator.com/item?id=13347852 - Jan 2017 (133 comments)
https://www.billboard.com/music/pop/janet-jackson-rhythm-nat...
and moving a controller crashes the PS1.
https://www.gamedeveloper.com/programming/my-hardest-bug-eve...
Makes me thinks there are tons of these issues out there.
I decided to shelve a few extra bucks and purchased a Camry from the same dealership. The second day while I was parking my new Camry, I found the same issue of the steering wheel getting stuck all over again, with this new car. So this was surely a me-problem, and not the car problem. After some analysis I relaized that I was turning off the car at red lights, without shifting to park. So when I turned it back on, the steering would lock itself. But if I shifted to park first then it would work perfectly!
He was a flamboyant character and had a habit of talking loudly on the phone for an hour or so a day. I modified his mouse driver to give me remote control on demand and installed it when he was away from his computer.
For the next few weeks, I would wait for his daily call and gradually move his mouse as he was trying to use his computer. He was visibly frustrated and eventually caught me when he went on a rampage during his conversation and he caught me laughing.
However, when driving around with our test car, from time to time the engine stalled, or stalled an restarted. This seemed to appear randomly, and since the engineer was busy with doing the engine application, he asked me if I could try to take care of the issue.
I noticed that the problem occured only during rain, then I noticed that it only occured when the windscreen wiper was set to interval. With some help from engineers from the main office, I was able to find the relais controlling the interval mode for the windscreen wiper as the root cause. I was sending voltage spikes into the cable tree, causing a reset in the central control unit. A decision was made to change the supplier for the relais (this was not supplied by our company), and the problem disappeared and never occured again. Everybody was happy and I felt really proud that I was actually able to contribute to the success of the project.
the moral of this story, the engineer being a logical man refused to try reproducing the problem and devoted infinite time to watching the user shop every night. that way he gets paid to hang and eat ice cream