Blog entries
A curated set of blog entries focused on software engineering and systems, with occasional notes on baking, and running.Database Migrations: Why Every Schema Change Should Be a File
Code has version control. I can see every change, who made it, and why, and I can rebuild any past version from nothing. A database has none of that by default. It has state: whatever the last person to touch it left behind.
A migration is how the schema gets the same discipline as the code. Both of my posts on deploying with Podman, the pattern and the worked example, lean on one sentence: migrations are an explicit step. This post is the explanation behind that sentence.
From Development to Production with Podman
The Atlas architecture overview ends with a short section on deployment: one host, rootless Podman containers, images built from a release tag. That section is a snapshot. This post is the path. It follows one change to Tapper Hub, the server behind Atlas, from my laptop to the machine that serves it.
The usual name for that path is development, staging, production. I should be honest about the middle word: I do not have a staging environment. I have a development stack, a release tag, and one production host, with a set of gates in the deploy that do most of what staging would do. I will cover what exists first and the staging I have planned at the end. For the general pattern with all four stages in place, shown on a much smaller application, see One Containerfile, Four Stages.
One Containerfile, Four Stages: Dev, Test, Staging, and Production with Podman
From Development to Production with Podman describes the path one real application takes, including the stage I have not built. This post is the idea behind it, with every stage present. To keep the idea visible, the example is deliberately small: a PHP service called notes that stores short notes in PostgreSQL.
The pattern fits in one sentence. Build one image per commit from one Containerfile, and let the stages differ only in what is mounted into that image and how it is configured.
Atlas Architecture: A High-Level Overview
The Current State of Atlas was a progress report: what works, what does not, and what I learned along the way. This post is the map. It walks through the major pieces of Atlas and Tapper Hub and how a request moves between them, without trying to cover every feature.
The Short Version
Atlas is the web interface of Tapper Hub, which ships as a single Go binary. The browser, the REST API, and the MCP endpoints all enter through one router, call the same application operations, pass through one authority check, and land in PostgreSQL. A separate outbound connection, the relay, lets machines I own lend their models and tools to Hub without opening a port.
The Current State of Atlas: A Human Interface for Knowledge Graphs and AI Agents
When I wrote What Is a KEG?, the shared version of the system was still the next frontier. My KEGs worked well as local, file-backed graphs, and Tapper gave me a CLI and an MCP server for working with them. What I did not have was a good way for multiple people and AI agents to use the same KEG without sharing a filesystem or coordinating Git pulls.
Atlas is the human-facing part of my answer to that problem.
Type-Erasure Dispatch Pattern in Go
Coordinators tend to rot when they need to manage many concrete types. You start with a small workflow, then add one type switch, then another, and eventually every new backend or model change touches orchestration code.
The type-erasure dispatch pattern is how I got out of this in a multi-database sync system.
The Scaling Failure That Forced the Refactor
Originally I had 6 different database variations to support behind one sync workflow. The design tied capabilities directly to typed interfaces and backend implementations.
What Is a KEG? How I Built My Own Knowledge Graph
A KEG — Knowledge Exchange Graph — is a personal knowledge management system that organizes information as a network of interconnected nodes instead of folders and documents. I’ve been building and refining this system since late 2022, and it’s become the foundation for how I capture, connect, and retrieve everything I know.
This is the story of how it came together.
It Started with Lost Paper
I started jotting notes and random scribbles on scraps of paper and found it genuinely helpful. But paper has a problem: I’d vaguely remember writing something down, want to reference it for a refresher, and the paper would always be gone. I needed a system where I could dump whatever was on my mind and retrieve the thought later — even after I’d completely forgotten about it.
Welcome to My Blog
Hello! I’m Jared, and this is my first post. I’m excited to share my thoughts on software development, Go programming, and building things on the web.
What to Expect
On this blog, I’ll be sharing:
- Technical deep dives into Go and web development
- Project write-ups showcasing things I’ve built
- Best practices and lessons learned from real-world projects
- Notes on tools, frameworks, and interesting technologies
About This Site
This portfolio site is a static site built with Hugo, with a small Go API alongside it. Each post is written in Markdown with YAML frontmatter for metadata. It’s a lightweight approach that keeps things simple and performant.
The Vendor Pattern with Composer: When and Why to Commit Dependencies
When working with PHP projects using Composer, you typically have two approaches to managing your vendor/ directory:
- Standard approach: Add
vendor/to.gitignore, commit onlycomposer.jsonandcomposer.lock, and runcomposer installduring deployment - Vendor pattern: Commit the entire
vendor/directory to your repository
While the standard approach is conventional and recommended for most projects, the vendor pattern offers specific advantages in certain scenarios. Let’s explore what it is, when to use it, and the tradeoffs involved.