Blog
The Fundamental Shift in the Goal of One’s Work When Graduating
By Alexander Eriksson • November 10, 2025 · Miscellaneous
Graduating from university marks a subtle but fundamental shift in the goal of one’s work. As a student, you exist within an environment designed entirely around teaching and research — a space where personal growth happens almost by default. Learning in that setting is largely intrinsic, driven by curiosity and the pursuit of understanding for its own sake. Transitioning to work life after being in an academic setting always marks a large event for students — for some this shift comes natural, for others it takes more time to find their footing.
Read MorePrincipal Component Analysis (PCA)
By Alexander Eriksson • November 04, 2025 · Econometrics
Understanding principal component analysis (PCA) can be quite intimidating at first. Like many topics of which involve linear algebra, the challenge of learning PCA is rather often a lacking foundation in linear algebra itself. Hopefully — by here providing an example from simulated data — the topic becomes more clear.
Read MoreDocker Introduction (Part 2): Volumes & Persistent Data
By Alexander Eriksson • August 20, 2025 · Programming
Docker containers are ephemeral, meaning any data they store is lost when the container is stopped. To persist data, we must use volumes. There are two main types: bind mounts and named volumes. Bind mounts are used primarily for development, as they link a directory on your host machine to a directory inside the container, giving you direct access to the files. Named volumes, on the other hand, are the preferred method for production environments. Docker fully manages these volumes, storing the data within its own system. They are not tied to a specific host path, making them more portable and less prone to permission issues. In essence, while bind mounts offer direct control, named volumes provide a more robust and production-ready solution.
Read MoreDocker Introduction (Part 1): Virtualization & Containerization
By Alexander Eriksson • August 16, 2025 · Programming
As a self-taught programmer, I've often found that online resources jump straight into practical applications without explaining the fundamental concepts first. This is also true with Docker. Many tutorials show you how to set up an entire web server in a container, but they leave you wondering, "What is an image?" This guide is the first in a series on Docker aimed to anyone who has ever felt that gap in their knowledge. The goal is to build a solid understanding of how Docker works from the ground up, so you'll be prepared to configure things on your own, long after the tutorial ends. When you've finished this guide, you'll have a better understanding of Docker than most of its users.
Read MoreSolving UFW and Docker iptables Conflicts on Ubuntu
By Alexander Eriksson • August 10, 2025 · Programming
I ran into a surprise when Docker completely ignored my UFW rules, leaving my containers exposed. Here’s how to fix it by adjusting UFW’s forwarding policy and adding proper routing rules to protect your data.
Read More