Thoughts.
Architecture decisions, half-formed research notes, and what I learn building things that have to stay up.
3 thoughts
Jul 2025 · 2 min
Copying a MongoDB database without leaving the cluster
mongo-db-syncer is a small Go CLI that copies every collection from one database to another in the same cluster, using MongoDB's own $out stage instead of streaming documents through the app.
GolangMongoDB
Nov 2021 · 3 min
Introduction to Generators
Generator functions pause and resume on yield instead of running top to bottom. A basic introduction to how .next() drives that, and why it makes implementing an iterable almost trivial.
JavascriptGenerators
Oct 2021 · 3 min
Promises, what are they in Javascript?
Before Promises, Javascript leaned on nested callbacks for async work. A walk through why callback hell happens, what the Promise constructor actually does, and why "I will be logged first" beats "Hello world" to the console.
JavascriptPromises