Mendhak / Code

My brief attempt at learning about Software Defined Radio on Ubuntu

When my previous office building shut down, I ‘inherited’ a Pi-aware which had been set up many years ago. I was vaguely aware that it made use of something called RTL-SDR, but I didn’t actually understand what that meant. I thought it was just for tracking aircraft, but it turns…

A CI/CD friendly Dockerfile for uv based Python projects

I have been looking at using uv for a Python project, and I’m quite satisfied with the productivity and performance it brings to the table for a local development environment.

It’s OK to hardcode feature flags

Feature flags (or toggles) are often used to control the visibility of new features in a product. There are a few different ways to implement them, but the most talked and marketed about is to use feature flag management software. The simplest way of course is to hardcode them, though…

Compose keys are the nicest way of typing special characters

Compose keys are a Linux feature that allows you to type special characters. They’re very useful for typing accents, umlauts, diacritics, and other special characters. All operating systems have a way of typing such characters, but they are, to put it mildly, a convoluted mess.

New DNS standard could soon lead to useful error messages in browsers

Domains get blocked for a variety of reasons including security, family controls, content filtering, politics, and legal requirements. But when browsers encounter these blocks, they will usually display a somewhat generic and unhelpful error message. As end users it often isn’t clear to us why the domain was blocked, and…

Modern artifact signing with Cosign, what works and what hurts

I’ve been seeing some buzz around Sigstore recently, it’s a project that aims to improve software supply chain security by making signing and checking easier. It has seen ongoing work in the Python and Maven ecosystems, as well as npm and Github Actions, which is pretty significant.

Syncing the login wallpaper with the desktop wallpaper on Ubuntu

On Ubuntu 22.04 and 24.04, the background image that you set for your desktop doesn’t appear on the login screen. I will go over two ways of synchronizing the login screen wallpaper to match the one chosen for the desktop.