A quickie: I switched back to Wayland but noticed that the mouse cursor appears misaligned for some apps [that is as specific as I'd like to be right now :-)]. It's like the cursor is actually pointing a cm below where it appears on the screen. This is a known issue [1] and there is … Continue reading Cursor offset misalignment under Ubuntu/Wayland
Month: Aug 2025
cloudflared docker health check
Cloudflare's cloudflared container doesn't come with a good health check - or so it seems [1]. The functionality is there, though. The tunnel needs to be started with metrics enabled (here: exposed to 127.0.0.1:20241) and the health check needs to call the proper check. cloudflared: image: cloudflare/cloudflared:latest ... command: tunnel --metrics 127.0.0.1:20241 run healthcheck: test: … Continue reading cloudflared docker health check
An even better switching amplifier
From the producer of A switching amplifier [AM1], A better switching amplifier [AM2] comes part 3: An even better switching amplifier. A quick recap: we're looking into class D switching amplifiers for their high efficiency and power output. The first amplifier sampled the input signal by taking voltage snapshots with a capacitor and measuring the … Continue reading An even better switching amplifier
ICA Demo
While driving the other day through a mountain pass the radio kept alternating between two stations which broadcast on the same frequency. It would play one station, loud and clear and after a few seconds switch to the other station. To me that's surprising, as I would have expected to listen to a mash of … Continue reading ICA Demo
Disabling file input field cancels upload
An interesting little "feature" I stumbled across: when the file input field of an HTML form is disabled right before a submission, that field will be empty. Some pseudo code which illustrates the setup: ... <script> function submitForm(){ var form = document.getElementById("form"); var file = document.getElementById("file"); file.disabled = true; form.submit(); } </script> <body> <form id="form"> … Continue reading Disabling file input field cancels upload

