Thomas Reynders·Software engineering blog
Notes on building software.
Software engineer from Leeuwarden. I write about C++ and Python tooling, CI pipelines, working alongside coding agents, and 3D on the web. More about me.
Explore the blogLatest articles
View allDevelopment
Why std::expected matters for error handling
How C++23 std::expected and std::error_code work together: custom error categories, monadic chaining, and why an error category must be a…
software·migration
Conan 2.x migration and the lessons learned
Migrating a C++ product from Conan 1 to 2: recipe and package revisions, toolchain and deps generators, the Conan API, deployers and the…
DevOps·GitHub Actions
GitHub Actions: push to a repo with a deploy key
Fix the 403 when a GitHub Actions workflow pushes a Hugo build to another repository: use an SSH deploy key, clone the repo fresh and push…
Archive
18 posts2025
Fix the ctypes _type_ error on Azure Pipelines
pip fails on a self-hosted Windows Azure Pipelines agent with "class must define a '_type_' attribute". Prepending Python's DLLs folder to…
Devops
2024
Cross-platform Bash scripts in Azure Pipelines
One Bash script for Windows, macOS and Linux Azure Pipelines agents: setting up Git for Windows bash and making a failing Bash step fail the job.
Devops
Running Python cross-platform in Azure Pipelines
Make python vs python3 work on Windows, macOS and Linux self-hosted Azure Pipelines agents: UsePythonVersion limits, PATH and pip, in one template.
Devops
Typed Python CLI arguments with argparse and StrEnum
Derive argparse choices from Python types: use StrEnum and the type parameter so a build script's CLI options update when the enum changes.
Development
2023
Run a Python function by name from the command line
Call any function in a Python script from the command line with positional or keyword arguments, using globals() and inspect.signature.
Development
Practical C++17 highlights by example
Short C++17 examples: structured bindings, if constexpr, CTAD, std::variant, std::optional, string_view, filesystem and parallel algorithms.
Development
std::variant: build an array of all alternatives
Use variant_size and variant_alternative with an index sequence to build a compile-time array holding one instance of each std::variant alternative.
Development
2022
Build macOS Universal Binaries with Conan and CMake
Build x86_64 and arm64 macOS Universal Binaries with Conan and CMake: CMakeToolchain, Autotools, Boost, lipo and automated recipe patching.
Development
How I finally finished my DIY smart mirror
Building a smart mirror from scratch: wooden frame, spy-mirror film, a Vue.js dashboard, mounting, a bill of materials and what I'd do differently.
Development
2020
C# Performance - Profiling introduction
Profiling a C# WPF inspection app: hotspots, memory allocation, microarchitecture and threading efficiency with VTune, dotTrace and Visual Studio.
Development·Performance
Reactive testing with Gherkin, ReactiveX and asyncio
Replace time.sleep in async BDD integration tests: assert events with RxPy observables, pytest-bdd Gherkin steps and asyncio, on an MQTT example.
Development·Python
Secure Docker login credentials with pass on Linux
Stop Docker storing your password unencrypted: set up docker-credential-pass with pass and a GPG key on Ubuntu, plus the macOS and Windows helpers.
Development·Devops
Set a Linux MAC address from EEPROM
Read a MAC address from EEPROM with dd and hexdump, format it, and apply it to eth0 at runtime or permanently on an embedded Linux device.
Development·Linux
An interactive Yocto shell for device provisioning
An interactive Yocto shell for factory provisioning: validated MAC input, flashing swupdate, erasing NOR flash and writing EEPROM on embedded Linux.
Development·Linux
First Post
Why I started a software engineering blog: writing about solutions I and colleagues built, reflecting on my career, and getting better at writing.
me