-
mise, Alone
I previously wrote about using asdf and direnv together to manage my project dependencies and a per-project postgres version. I’ve now switched both to mise.
miseis a relative newcomer in the dev tooling space, and it aims to do much more thanasdfanddirenvdid. I only use it where I need it, but so far I’ve found it delightful.Tool Versions
My global
miseconfiguration is small. I setrubyandnodeversions so a few global executables work, and enable idiomatic version files, which some of my projects still use (e.g..ruby-version,.nvmrc):# ~/.config/mise/config.toml [tools] ruby = "3.4.1" node = "25.4.0" [settings] idiomatic_version_file_enable_tools = ["ruby", "node", "python"]Then, per project, I typically define more specific versions:
# .tool-versions ruby 3.4.1 postgres 16.4 nodejs 24.15.0misereads.tool-versionsfiles exactly asasdfdid, and I prefer them to idiomatic version files.Environment Loading
Most of my projects also load a
.envfile, sometimes add a directory to thePATH, and watch for changes. To do that without checking in a file my teammates don’t need, I use a globally gitignoredmise.local.toml. It applies to me alone. If a project ever adds amise.toml, I’ll check which parts ofmise.local.tomlI still need.# mise.local.toml [env] _.file = ".env" # Loads .env file _.path = ["bin"] # Adds bin to path [[watch_files]] patterns = [".env"] run = "true"On its own, the
[env]section doesn’t reload.envwhen it changes. I want it to, and the[[watch_files]]section takes care of that. Therun = "true"is there becausemiseexpects a command or a task to run when a watched file changes. Reloading the environment doesn’t need one, sotrueserves as a no-op.Per-project Postgres
On some projects, I need a specific version of postgres. I ported my direnv version of that setup:
~/.config/mise/layout_postgres.sh:#!/usr/bin/env bash # NOTE: The .direnv directory name is still here to avoid switching the postgres directory # in all my projects. I'll get to that eventually. PGDATA="${MISE_LAYOUT_DIR:-$PWD/.direnv}/postgres_$(postgres --version | awk '{ print $3 }')" PGHOST="$PGDATA" export PGDATA PGHOST if [[ ! -d "$PGDATA" ]]; then echo "mise: initializing postgres for this project..." >&2 initdb >&2 cat >> "$PGDATA/postgresql.conf" <<-EOF listen_addresses = '' unix_socket_directories = '$PGHOST' EOF echo "CREATE DATABASE $USER;" | postgres --single -E postgres >&2 fiAnd I enable it in
mise.local.toml:# mise.local.toml [env] _.source = { path = "~/.config/mise/layout_postgres.sh", tools = true } _.file = { path = ".env", tools = true }The
tools = trueon_.sourceputs the mise-managed tools on thePATHwhile the script runs. Without it, the script might pick up the wrong version ofpostgresandinitdb, or not find them at all. On_.file, it’s about ordering: mise appliestools = truedirectives after all others, so marking both keeps them in the order I wrote them. For one of my projects, I want to lay out postgres, which setsPGDATAandPGHOST, and then override them in.env(for reasons that don’t matter for this post). Withouttools = trueon_.file, mise would load.envfirst, and the script would then overwrite those values.Conclusion
Moving my configuration from
asdfanddirenvtomisehas been relatively easy.misehas many more features I haven’t explored, and some that delighted me right away, like pre-built ruby binaries that make installation much faster. -
The REPL: Issue 146 - October 2026
AI Promised Less Work. I Have Never Worked More
Orestis Ioannou points out that he doesn’t have less work in the age of AI. Neither do I. The work is different, but I’m not sitting around drinking coffee. I never took the promise of less work seriously anyway. If anything, what I can do by myself has expanded.
Living in the Weimar era of Ruby
The title is clickbait, and the article is not what you imagine. I’m linking to it because it points to this exchange, which I found insightful.
Nate Berkopec:
I just think you need to have some epistemic humility Most important development in computing in 20 years comes along, and the exact stack you’ve been working on that whole time happens to be the perfect stack for the next 20 years? OK.
José Valim:
You are right but it also feels short-sighted? You have the most powerful tool you ever had, you have become a 1000x maker, and you can’t think of how to make your stack 10x better?
Yes, Rust is fast, the type system catches bugs, but there is so much beyond it.
- Why not make Ruby 10x faster?
- Why not make Ruby (and therefore Rails) really great at concurrency?
- Why not add a banging type system to Ruby that can provide guarantees beyond Rust?
- Why not embed SQLite3 into Rails with a replication protocol so you can really compress the stack beyond a single server?
- How to preemptively fix most bugs from the most critical parts of Rails, such as database pools?
Yes, who cares about ActiveSearch, but there are so many ways we can fundamentally improve our stacks that go beyond asking the agent to just crap out code. Phoenix is still the only framework that ships with presence, because it turns out it is deceptively a hard problem to solve correctly, but somehow all issues are solved?
I understand some folks have no interest in doing any of the above, and that’s fine, but then at least pass the baton to the people who want to do exactly that.
PS: I say all of this with love ❤️
-
The REPL: Issue 145 - September 2026
Kafgres: Embedding a Kafka Broker into Postgres
Interesting project: a Kafka broker built into Postgres as an extension. I’ve considered Kafka for several projects, but I’ve yet to use it.
It’s Time to Investigate the AI Labs
Cal Newport is wondering the same thing I am:
Why not pursue criminal liability for them running systems they knew would likely commit crimes?
There are already laws on the books against unauthorized access to computer systems. I haven’t heard of any authorities investigating the AI labs for the hacks they’ve already made public. Why not? The labs directed their computers to do something on their behalf, and that something is a crime. Investigation seems like the logical next step. Did rubygems.org call the authorities after discovering their infrastructure was being abused? Their update doesn’t say.
-
The REPL: Issue 144 - August 2026
Today’s REPL is different from most. I usually point to a few interesting articles. This time I found myself writing at length about a single one.
Accepting a messy git history
Andreas Zwinkau describes two kinds of git users: commit often, or rebase carefully. I don’t see it as a choice between the two. It’s more nuanced.
I do both. While developing, I commit whenever I reach a meaningful amount of work 1. Sometimes that’s failing tests that expose a bug, so the red-green cycle lives in the history. Sometimes it’s a class or module the feature needs but that isn’t hooked up to the rest of the system yet. It’s a thoughtful process, but it doesn’t always leave a pristine history.
Before I open a pull request, I go through that history. Sometimes I took a path and later backtracked. A file might exist only in this branch because I decided the naming needed work. None of that helps anyone later, so I rebase and squash to present a better story in the pull request.
Once I open a pull request, I don’t rebase, squash, or otherwise change the history. Not even squash merges. Once reviewers have commented, rewriting history creates more work for them. GitHub presents a “changes since your last review” button, which is extremely useful. A force-pushed rebase or squash destroys it, and the reviewer has to read the whole PR again. I care more about reducing friction with my teammates than about a pristine git history.
Is a pristine git history even worcth having?. Most arguments I’ve come across say a good history gives historical context about a code base. I agree, to a point. Commit messages that all say “fix code” help no one. But a squash-merged history loses the changes reviewers asked for. They live in the pull request, not in git. So does a history rewritten to look like the code arrived fully formed. I prefer the actual history to an abridged version.
As for stacked pull requests, I think a lot of folks miss the point. They can split a large change into smaller chunks for review, but in practice I use multiple PRs when I need to sequence deployments. For example, a PR that prepares the code for a column deletion, then a stacked PR with the migration that deletes it. Sometimes a conceptual unit of work has to ship in multiple PRs. That’s different from a commit history that tells a story but can be deployed all at once. As for the “read the commits individually” argument: I’ve never been on a team that does that. Maybe because GitHub doesn’t encourage it, but whatever the reason, I don’t see it as a practical way to review PRs.
-
This has changed somewhat with the use of agents. ↩
-
-
The Backlog Is Infinite
A friend asked me if my company is going to fire half of my team. He doesn’t write software. A few weeks earlier he had installed Claude Code, described an app he wanted, and got one. More or less. If he can do that knowing no programming at all, what does a company need a whole team of engineers for?
I get some version of this question regularly now, almost always from friends outside of software. I’m not worried. But not for the reason they expect.