Dustin Lee

Specification-driven AI development, Linux, and infrastructure automation.

Why Maths for Machine Learning?

· 9 min read

Part 1 of the Maths for ML series. What mathematics you actually need, why it matters, and a roadmap for learning it from first principles.

data-engineering
maths-for-ml machine-learning mathematics linear-algebra calculus probability

Regression and Decision Boundaries

· 17 min read

Part 5 of the ML Fundamentals series. Linear and polynomial regression, Ridge and Lasso regularisation, logistic regression, the Perceptron, and visualising …

data-engineering
ml-fundamentals machine-learning python scikit-learn regression

Classification — KNN, Naive Bayes, Decision Trees

· 15 min read

Part 4 of the ML Fundamentals series. Three foundational classification algorithms — how they work, when to use each, and hands-on implementation with …

data-engineering
ml-fundamentals machine-learning python scikit-learn classification

Python ML Toolkit

· 14 min read

Part 3 of the ML Fundamentals series. Setting up a Python ML environment, and practical workflow patterns with Pandas, NumPy, Matplotlib, Scikit-learn, and …

data-engineering
ml-fundamentals machine-learning python scikit-learn tensorflow pandas

Data Pre-processing and Evaluation

· 10 min read

Part 2 of the ML Fundamentals series. Cleaning messy data, selecting features, splitting datasets, and measuring whether your model is actually any good.

data-engineering
ml-fundamentals machine-learning python data-engineering infrastructure

What Is Machine Learning?

· 6 min read

Part 1 of the ML Fundamentals series. What machine learning actually is, the three main learning paradigms, and why it matters for infrastructure, automation, …

data-engineering
ml-fundamentals machine-learning python automation infrastructure

Managing a NixOS Fleet with Claude Code

· 5 min read

Using Claude Code as an infrastructure co-pilot: a dedicated service account, scoped sudo, and a workflow for managing NixOS hosts through conversation.

linux
nixos claude-code ai infrastructure automation homelab devops

Managing NixOS with Git: A Declarative Infrastructure Workflow

· 9 min read

NixOS is unlike any other Linux distribution. Your entire system — packages, services, users, firewall rules, filesystems — is described in configuration …

linux
nixos git linux infrastructure nix-flakes home-manager

Building Gatehouse: A REST API for OpenBSD's PF Firewall

· 13 min read

Managing PF through SSH doesn’t scale when you want phone toggles, family controls, and audit trails. Gatehouse wraps pfctl in 66 authenticated REST endpoints — …

projects
openbsd pf firewall python fastapi api networking security

Archiving Claude Code Conversations to Hugo

· 5 min read

Every Claude Code session is a JSONL file sitting in ~/.claude/projects/. Across 17 projects I had 156 sessions — debugging logs, architecture decisions, …

Hugo
hugo claude-code python automation