Blog

Going Back to Fundamentals: C/C++ and Data Structures & Algorithms

The last few years, I’ve mostly been writing Python and JavaScript at work. Don’t get me wrong—these languages are versatile and powerful, perfect for a wide range of applications. But if there’s one thing I’ve noticed, it’s how easy it is to lose touch with the fundamentals of how computers …

Loading Microsoft C/C++ DLLs in Windows Containers

In the past few days, I have been working with Windows containers, and I have been facing issues with loading certain DLLs in these containers from my applications. It has been the classic “It works on my machine” problem, meaning it has been working without any issues on my host Windows machine. …

Task-based containers using Kubernetes Jobs

Containers are widely used for deploying and running applications. There are several benefits for containerizing applications. They offer a consistent environment for applications to be deployed to together with their dependencies. Containers are able to isolate workloads, and guarantee a certain …

Flask Unit Testing

For the longest time I haven’t found good examples online on how to unit test Flask applications. Especially when following clean architecture, and when using dependency injection. That is why I decided to write this post. Flask is a minimalistic web framework, so I understand that most …

Flask database migrations using Flask-Migrate

Flask-Migrate is a python package that configures SQLAlchemy and Alembic for your Flask application. Alembic is the migration tool that actually takes care of database migrations under the hood. It can automatically generate migration files based on database schema models, and apply those migrations …