Back home

Writing

Articles

Notes on engineering, architecture, and the things I learn while building.

Types of Mean: Why "Average" Is Not One Thing
9 min read

Types of Mean: Why "Average" Is Not One Thing

Arithmetic, geometric, harmonic, quadratic, weighted, and trimmed means explained — what each one preserves, where the plain average goes wrong, and how to pick the right mean for returns, rates, and real data.

statisticsmeanaveragemathematicsdata-analysisgeometric-meanharmonic-mean
Read article
Types of Search Algorithms: Finding Things Fast
3 min read

Types of Search Algorithms: Finding Things Fast

From linear and binary search to hash tables, trees, and graph algorithms like BFS, DFS, and A* — what each search algorithm does, its complexity, and how to pick the right one for your data.

search-algorithmsalgorithmsdata-structuresbinary-searchgraph-algorithmscomplexityprogramming
Read article
Flowcharts in Programming: Think Before You Type
6 min read

Flowcharts in Programming: Think Before You Type

What flowcharts are, the handful of symbols you actually need, and why sketching the logic first saves hours of debugging — with practical examples for developers.

flowchartsprogrammingproblem-solvingsoftware-designalgorithmsdocumentation
Read article
SOLID Principles: Five Rules for Code That Survives Change
8 min read

SOLID Principles: Five Rules for Code That Survives Change

A practical guide to the SOLID principles of object-oriented design — what each one means, why it matters, and how to apply it with clear before-and-after code examples.

solidsoftware-designobject-oriented-programmingclean-codearchitecturebest-practices
Read article
Offset Pagination Is Lying to You
5 min read

Offset Pagination Is Lying to You

Your paginated list works fine on page 1 and quietly breaks on page 400. Here's why OFFSET degrades at scale, how it duplicates and skips rows on live data, and how to move a Laravel + Vue list over to cursor pagination.

laravelvueapi-designdatabaseperformancepagination
Read article
LIFO vs FIFO: Stacks, Queues, and Why the Order You Take Things Out Matters
9 min read

LIFO vs FIFO: Stacks, Queues, and Why the Order You Take Things Out Matters

The two simplest rules for ordering work — last-in-first-out and first-in-first-out — explained with plates, bakery lines, real code, and the places each one quietly runs your software (the call stack, undo, message queues, BFS, even inventory accounting).

Data StructuresAlgorithmsFundamentals
Read article
What Is an API, Actually?
10 min read

What Is an API, Actually?

A plain explanation of APIs — what the word means, how a request travels from your app to a server and back, the main kinds you'll meet (REST, GraphQL, WebSockets, gRPC), and how to read one for the first time.

APIHTTPRESTFundamentals
Read article
Every Python Error Type, Explained
18 min read

Every Python Error Type, Explained

A complete tour of Python's exception hierarchy — what each built-in error actually means, what triggers it, the attributes it carries, and how to handle it without swallowing the bugs you needed to see.

PythonError HandlingDebugging
Read article
Building a Themeable Nuxt Portfolio
7 min read

Building a Themeable Nuxt Portfolio

How I built a portfolio that ships five completely different visual identities from a single set of CSS variables — and why the token layer matters more than the components.

Nuxt 4Tailwind CSSDesign Systems
Read article
Laravel + Inertia as a Headless CMS
6 min read

Laravel + Inertia as a Headless CMS

Running an Inertia admin panel and a JSON API off the same Laravel app — where the seams are, and how to keep the two consumers from fighting each other.

LaravelInertia.jsAPI Design
Read article