Blog Posts

Why std::expected matters for error handling

Why std::expected matters for error handling C++23 introduced std::expected, changing how we handle errors without exceptions. When you combine it with std::error_code (available since C++11), you get an error handling approach that forces explicit error checks while keeping your code readable. The...

Published Wed, 17 Dec 2025

Conan 2.x migration and the lessons learned

1.4. Conan Integrations 1.4.1. Conan Toolchain generator 1.4.2. Conan Deps generator XcodeToolchain changes 1.5. Conan APIs 1.5.1. Loading a conan profile via the ConanAPI 1.5.2. Computing the dependency graph via the Conan Graph API 1.6. Deployers 1. Conan 2.x migration and the lessons learned In...

Published Fri, 12 Sep 2025

Azure pipelines - ctypes importerror

Fixing ctypes ImportError in Azure Pipelines: Missing _type_ Attribute When running pip install in an Azure Pipelines self-hosted agent, you might encounter the following error: File "~\myselfhostedagent\_work\_tool\Python\3.12.3\x64\Lib\site-packages\pip\_vendor\platformdirs\windows.py",...

Published Fri, 31 Jan 2025

Deploying a Blog with GitHub Actions, Docker, and Submodules

๐Ÿš€ Deploying a Blog with GitHub Actions, Docker, and Submodules ๐Ÿ“Œ Problem Statement If youโ€™re using GitHub Actions to build and deploy a static blog that: Runs inside Docker Pushes generated content to a GitHub Pages submodule Requires Git authentication to commit and push changes Then, you might run...

Published Fri, 31 Jan 2025

Azure pipelines cross-platform python scripting

Azure pipelines cross-platform python scripting This post is a continuation of Azure pipelines cross-platform scripts for Self-Hosted Azure agents. If you’ve missed it make sure to read this first, since we’re going to extend on it. I can hear you think, “but Python is already...

Published Thu, 01 Aug 2024