About Me

I Build Platforms and Write About How They Work

I am a platform engineer at Mind Energy and a part owner of Bio Rent, and I have been building software since I taught myself Python in 2012. What I care about most is automation that people can rely on and understand, explained clearly enough that someone else can build on it.

Portrait of Morten Elmstrøm Hansen
Published Author
BPB Publications

My Story

I started programming in 2012, teaching myself Python by building the tools I wanted to use. The largest of those early projects was VoiceRec, a voice-controlled assistant for Windows that took my spoken commands through speech recognition software, answered them with synthesised speech, controlled music and video playback, and posted to Twitter and Facebook, several years before voice assistants such as Alexa were common in homes. Building it taught me what I still believe about learning a technology, which is that we understand a system best when we have built one ourselves and have seen where it breaks.

From 2012 to 2019 I built 55+ projects, among them a complete roguelike game with turn-based combat, a Raspberry Pi controller that used 433 MHz radio, encryption tools, network utilities, and a shared utility library that 27 of the other projects used. Each of them taught me a technique I still use today, from threading and API integration to security and the division of a program into separate modules.

In 2016 I joined Mind Energy as a system administrator, responsible for Windows Server, Active Directory and the network, and PowerShell became the language I automated that work with. The role grew well beyond administration: over the following years I also built CI/CD pipelines, backend services and frontends, and from 2020 I worked with containers, Kubernetes and GitOps.

In 2024 I became a platform engineer, and in the same year BPB Publications published my book, PowerShell Advanced Cookbook, which collects the patterns I had used and taught over those years. Writing it confirmed something I had already seen at work, which is that a solution explained clearly is used, extended and trusted far more than one that is not.

Today I build Kubernetes platforms at Mind Energy, develop MopPilot for Bio Rent, and in my own time build AI tooling such as Cortex and Loci. The path from a Raspberry Pi to Kubernetes clusters was not a straight line, but each step built on the one before, and I still learn a new technology the way I did in 2012, by building something real with it.

How I Work

Four principles that shape how I design, build and explain systems.

Simplicity First

I choose the simplest design that solves the problem, because a simple system is easier to understand, maintain and hand over to someone else. Complexity has to earn its place by solving a problem that the simple design cannot.

Knowledge Sharing

Writing the book showed me how much a clear explanation is worth. I document what I build, share what I learn with colleagues and mentor others, so that knowledge does not stay with one person.

Reliability First

Automation that fails silently is worse than no automation, because people stop checking the work it has taken over. I test a tool before I trust it, make failures loud and visible, and design for the failure cases first.

Learning by Building

I learn a new tool by building something real with it, and I return to older work when I find a better way, as the early projects on the Origins page show. Reading about a technology is where I start, and building with it is how I find out whether I have understood it.

Technical Expertise

The tools and techniques I use most, built up over 14+ years, from desktop applications in Tkinter to Kubernetes clusters and AI tooling.

Languages & Scripting

Python PowerShell Bash/Shell YAML/JSON

Platform & Cloud

Kubernetes Docker Azure (AKS, ACR, Key Vault) Helm Charts

CI/CD & DevOps

Azure DevOps Pipelines GitHub Actions Argo CD/GitOps Infrastructure as Code

Development

Flask / FastAPI REST API Design PostgreSQL / pgvector HTMX / Alpine.js React

AI Engineering

Retrieval and Vector Search (pgvector) Model Context Protocol (FastMCP) LLM APIs (OpenAI, Claude, Ollama) Embeddings and Semantic Search Agentic Systems (Claude Code) Prompt Engineering

Security & Enterprise

Role-Based Access Control Secrets Management Windows Server/Active Directory Monitoring (Prometheus, Datadog)

These skills grew out of 70+ projects built since 2012, from games and a voice assistant to agentic AI systems.

Milestones

The main steps from the first Python projects in 2012 to platform engineering and a published book.

2024

Platform Engineer and Published Author

PowerShell Advanced Cookbook was published by BPB Publications, and I moved from system administration to platform engineering, building Kubernetes platforms and AI tooling.

2020

Containers and GitOps

I started working with Docker, Kubernetes and GitOps, and infrastructure as code became the default way I build and change systems.

2016

System Administrator at Mind Energy

I joined Mind Energy, ran Windows Server, Active Directory and the network, and automated that work with PowerShell.

2015

Voice Control and Raspberry Pi

I extended VoiceRec, my voice-controlled assistant, and built a Raspberry Pi controller that switched devices over 433 MHz radio.

2012

The First Python Projects

I taught myself Python and built my first games, desktop applications and encryption tools. Read about the early projects.

Get in Touch

If you would like to collaborate, compare notes on PowerShell or platform engineering, or ask about the book, I would like to hear from you.