I Stopped Being My AI Agent's Memory: Building a Self-Compiling Second Brain
How I gave my AI coding agent long-term memory using Claude Code hooks: a self-compiling wiki it writes itself, with capture, ingest and recall in each session.
Essays, debugging notes, and engineering write-ups on Kotlin, backend systems, architecture, and the tradeoffs behind reliable software.
15 posts, newest first
How I gave my AI coding agent long-term memory using Claude Code hooks: a self-compiling wiki it writes itself, with capture, ingest and recall in each session.
A step-by-step walkthrough of reconstructing the massive XKCD #1110 Click and Drag comic from its individual tile images using Kotlin.
A practical guide to identifying and fixing common RedisTemplate misconfiguration pitfalls in Spring Boot, with a focus on serialization issues.
How a temporary poller service stayed in production for years, and how calculating deltas replaced a materialized view that took almost 5 hours to refresh.
A hands-on guide to adding distributed tracing and observability to a Kotlin/Spring Boot service using OpenTelemetry and Honeycomb.
The difference between concurrency and parallelism, illustrated with practical JVM-based examples commonly asked about in technical interviews.
How problem-solving principles from software engineering, usually applied to code, also worked on real-life challenges during a trip to Asia.
An introduction to the domain gateway pattern and a practical tutorial for building one in Kotlin using OpenAPI code generation.
How to adopt a spec-first approach with OpenAPI to design and generate a robust, well-typed REST API using Spring Boot, Kotlin, and Gradle.
A fun walkthrough of how to replace the default Spring Boot startup banner with custom text and ASCII art to give your application a personal touch.
How Java's HashMap works internally: the equals/hashCode contract, bucket distribution, and the binary tree optimization introduced in Java 8.
A cautionary demonstration of how using mutable objects as HashMap keys silently corrupts lookups, and the simple rule that prevents it.
An exploration of the different strategies Spring Framework offers for injecting multiple implementations of the same interface into a single bean.
Four concrete production problems I ran into with Amazon Keyspaces (managed Cassandra), and why the service may not be ready for every workload.
A beginner-friendly tutorial for building and deploying a fully functional Twitter bot from scratch using Kotlin and the Twitter4J library.