Fifteen years, 398 commits, and nothing left of the original stack
The first snapshot of this site's code holds 85 files. Fifteen years and 398 commits later, seven of them are still here. All seven are plain-text documents, and not one has been edited since 2011.
The history starts on 2011-01-21, the day the code moved from Mercurial to git. Every piece of code from that day is gone. Not rewritten, not evolved: gone, by exact path, from the tree. The interesting part isn't that the stack was replaced. Fifteen years will do that. It's what the survivors turned out to be. This note is the inventory, measured rather than remembered.
Day one: the whole stack, checked in
The 2011 tree carries its entire world inside the repository:
- A vendored copy of Tornado:
tornado/web.py,tornado/template.py,tornado/ioloop.pyand the rest, includingepoll.c, a test certificate and a test private key. The framework did not come from a package manager. It came from the repository. - A vendored copy of the markdown library, so the app could render documents.
- Twenty-two committed
.pycfiles, compiled bytecode, checked in. They lasted exactly one commit. The second commit in the history took them out. - Three templates, eight PNG/JPG screenshots of PuTTY dialogs that
illustrated the SSH docs, and eight
docs/*.txtfiles. dojoserv.py, the application. Here is its entire configuration:
settings = dict(
cookie_secret="changemeplz",
template_path="templates",
static_path="static",
xsrf_cookies=False,
debug=True,
)
Every one of those settings has since been inverted. There is a production
guard on the cookie secret, XSRF is on, debug is opt-in, and the framework
arrives from requirements.txt instead of from the repo. But read the file
itself and something else shows through: dojoserv.py is forty-odd lines
whose only job is finding a markdown document and serving it. The site began
as scaffolding around the writing. Hold that thought.
What counts as "left"
The measurement is deliberately narrow. Take the 85 files of the first commit, walk every one of the 398 commits, and mark a file alive at a commit if a file at the same path is present in the tree. Nothing else:
- Moved counts as gone. The screenshots left the tree in 2026 by moving to another directory, where they live on. The chart counts that as a death, and this paragraph is the correction.
- Content survival is not measured. Whether a line of
dojoserv.pylives on inside today's code is not asked. Path survival is exact and cheap. Content genealogy is neither, and the path numbers are stark enough. - Prehistory is out of scope. The git history starts at the Mercurial import, so whatever came before 2011-01-21 is invisible here.
- Nothing is transcribed by hand. A script re-derives every number on this page from the history and writes the chart's data straight into the note.
The idea fits in a few lines of shell, if you want to run it on your own repository:
first=$(git rev-list --max-parents=0 HEAD | head -1)
git ls-tree -r --name-only "$first" > first.txt
git log --reverse --format='%H %ad' --date=short | while read sha day; do
echo "$day $(git ls-tree -r --name-only "$sha" | grep -cxFf first.txt)"
done
Each line of output is a commit's date and how many of the first commit's paths still exist in it.
The chart
Five months to shed the framework
The code line falls 69 → 47 on day one (the .pyc purge), then 47 → 4 in a
single commit on 2011-06-26: the vendored Tornado and the vendored markdown
library leave the tree at once, 43 files, including the C source, the test
certificate and the test key. Five months in, the repository had already
stopped being its own distribution channel.
What remains is a four-file long tail that outlives everything: the
templates and the other leftovers around dojoserv.py, dying one at a time
over fifteen years.
- 2013-08-11:
dojoserv.pyitself. - 2014-05-13: the first
requirements.txtappears, pinningtornado==3.2.1andMarkdown==2.4. Three years after the vendored copies left, the code finally writes down where its framework comes from. The same commit retirestemplates/style.css. - 2016-08-27:
templates/doc.html, set aside as legacy to clear the way for a new home page. (A barebones Vagrantfile lands the same day. Its own departure in 2026 is below.) - 2026-08-12:
templates/index.html, the last of the 69, deleted along with the rest of the pre-Svelte templates fifteen years and six months after it arrived. It had been doing nothing since the Svelte rewrite took over serving in 2023. It sat dead for three and a half years, and went only when someone looked for dead things on purpose.
The stylesheet that came back for a day
One oddity the measurement caught: on 2014-06-07 a branch resurrects
templates/style.css, and a later commit that same day deletes it again.
A merge brought back a path the other side had removed. That's the classic
accident where a merge restores a deleted file, at single-day scale. With
daily resolution the chart shows it as nothing at all. The lesson
generalises: survival by path is computed per commit, not per day, and the
wobble existed only because two commits happened between two sunrises.
What survived, and what only moved
The writing: 8 → 7. docs/html/html.txt was deleted on 2011-01-27, a
week in. The other seven (forms.txt, hello.txt, hg.txt, python.txt
and the three SSH documents) have sat in docs/ untouched through every
one of the 398 commits. The oldest continuous residents of this repository
are instructions for PuTTY.
The images: 8 → 0, but alive. The PuTTY screenshots left the tree in
2026 only because the directory around them was cleaned out; they had moved
to docs/imgs/, where all eight sit today. Paths die more easily than
files.
And the data, which we expected to be the oldest thing here. stocks.tsv
and the tonalpohualli data (the 260-day Aztec ritual calendar) actually
arrived in 2014, not 2011. They have moved house twice since, most recently
in 2023, and are served today, untouched in spirit, from /data/ to the
Market Magic demo. In 2026 the demo even gained the twenty day-sign glyphs.
Three frontend stacks have rendered that same TSV.
The app was scaffolding for the docs
Put the survival table next to what dojoserv.py was, a tiny server whose
whole purpose was serving docs/*.txt through markdown, and the fifteen-year
summary writes itself. Everything technical was rented, and re-rented at
will: the framework, the template system, the charting library (d3 v3, then
a 2023 port to v4, because v3 won't run in strict mode), the mail provider,
the deploy story (Vagrant in 2016, Ansible in 2017, Docker in 2025, all gone
in 2026 for a shell script). What could not be re-rented is what remains:
seven text files, and datasets that outlived every program that ever read
them.
The technology was never the asset. The repo just spent fifteen years proving it.