debugging
Posts tagged debugging
RSS FEED-
I could measure everything except where the finger landed
The on-screen keyboard would not come up in a save dialog. I ruled out three causes with real measurements, all of them wrong, and the answer turned out to be a sentence I have no way to produce: I tapped the text that was already selected.
-
It only just fits, which is why it broke
A folder dialog whose icons appeared large and then shrank. Five changes had accumulated on it, and the one that caused the jump was not the one that looked suspicious — it was the one that crossed a threshold nobody knew was there, five pixels away.
-
The matrix matched the chip, not the machine
This tablet has an accelerometer, a driver for it, and the correct mounting matrix published by its own device tree. Auto-rotation had never worked, because one line in systemd's hardware database — written for a different Pine64 board with the same chip — overrode it, and four orientations collapsed into two.
-
Four ways past your own rate limiter
A token bucket, a retry decorator, a circuit breaker and a wrapper class — all present, all correct-looking, and the quota was being blown through every day. The most instructive of the four holes is a two-line __getattr__.
-
Your 64-bit IDs do not survive a spreadsheet
An eighteen-digit account ID goes into a Google Sheet and a different eighteen-digit account ID comes out. Nothing errors, nothing logs, and the digits you would need in order to notice are the ones that were destroyed.
-
Three days without power held the picture. One boot erased it.
The picture had been on the panel for four days. The file I installed it as had been read exactly never — the driver takes its default screen from the initramfs, and the thing actually holding my cat up was the API with Temporary in the name.