BNE-DXB, Worst. Flight. In. My. Life.
[Read More]Window/Document-level Keyboard Events in Tauri and Yew
I’m writing a GUI app in Rust, trying to get it working with Tauri’s tooling, using Yew to generate the actual user-facing code. I thought it would be easy to get a thing that notices when I hit a key, and do stuff with it. Pre-yew-0.19 you could do this with a KeyboardService
, now it’s a whole thing with gloo
.
Convincing Kubernetes to Trust a Backend
I run Kubernetes at home. Yeah, I’ve said it. It’s out there now.
Now we’re past that, here’s how to convince traefik to talk nicely to a HTTPS backend server, in this case a test instance of GoatNS. I use Terraform for my configuration management, k3s to build/control the platform, with its built-in traefik for routing traffic.
[Read More]Terraforming Cloudflare DNS LOC Records
After confirming that they do support DNS LOC records, I couldn’t find any documentation about how to successfully create them using terraform, so here goes:
[Read More]Docker, rust, cargo and 137 Errors
I kept getting OOMKilled when trying to build Rust apps in Docker containers on GitHub Actions (and also locally, using buildx
). The return code of any cargo
command that touched the list of crates would end up with the command killed after 30-90 seconds.
I found two solutions:
[Read More]On Cough Syrup and Cold Medicine
This is a great article, with fantastic takeaways: How to understand cough medicines.
[Read More]