On Phabricator
Phabricator changed what code review means to me. A note from a few months in.
Phabricator changed what code review means to me. A note from a few months in.
A bash deploy script and a Node.js process monitor -- SSH, pull, touch a file, the cluster reloads. No CI, no dashboard. The terminal.
A composable predicate function for sorting arrays of objects by multiple fields -- with reverse, primers, and short-circuit evaluation.
Upstart, clustering, zero-downtime deploys, heartbeat monitoring, and an embedded REPL -- what it takes to keep Node.js running in production in 2013.
Using bind mounts to move MySQL data, config, and logs to an XFS volume without changing a single MySQL setting.
Our team's Node.js conventions -- error-first callbacks, early returns, callback alignment, and the formatting rules we drilled into every new developer.
Commit history isn't a log of what happened -- it's a narrative you author. Rebase, atomic commits, and the discipline of writing history for the person reading it six months from now.
Some days you build the wall. Some days you notice you're in it.
Ditching WordPress for a custom Node.js blog engine powered by libgit2 -- git as the content store, markdown as the writing format, npm for everything else.
Replacing an e-commerce frontend without turning off the old one -- carving over layer by layer while the store takes orders.
A basement, a barcode scanner, and the moment the dispatch desk stopped waiting.
In-memory rate limiting as Express middleware. No Redis, no external service. Fifty lines, one file.
The Node.js MySQL driver doesn't pool connections. Under load, you run out. Fifty lines with generic-pool fixes it.
Loading every product, category, and brand URL into a Redis hash at startup, and a middleware that rewrites requests before Express sees them.
Building catalog search with flattened MongoDB documents and application-side scoring when the proper tools don't exist yet.
Three months into the startup. From the outside, chaos. From the inside, flight.
Dylan, and the artists who orbit him.
Decibel made Indian rock that sounds Indian. That shouldn't be rare, but it is.
Chandigarh was beautiful. I couldn't feel it. I don't know why.
An arrival note. The cold, the office, the exhale that took five days.