- procedure-first: The server implementation is the contract
- contract-first: Define the API contract, and the server/client implement it
Learnings
Small lessons captured before they become long-form writing
2026
- In GitHub stacked PRs, merging the top PR also merges the ready PRs below it. Merging in the middle automatically rebases the remaining PRs above it to line them up. Nice ..?
gh stack init --base {baseBranch} {stackedBranch1} {stackedBranch2} gh stack submit gh stack view gh stack sync gh stack merge gh stack sync --prune- Pareto pruning: removing any candidate that is worse than another candidate in every respect
- The Strangler Pattern is named after the way the strangler fig survives.
- A pattern for replacing an existing system with a new system one piece at a time. (In effect, an incremental migration)
- npm download counts are closer to the number of times the npm registry actually transfers a package tarball than to the number of local installs or CI runs. A pnpm store hit or CI cache hit therefore does not increase the count.
- I contributed to MDN!
- The data shown in MDN's browser compatibility tables is maintained in BCD.
- Instead of duplicating all compatibility data for a derived browser, BCD can identify an upstream browser. Declaring support for a feature as a mirror inherits the upstream support data and calculates the derived browser's supported version from the engine-version mapping.
GitHubCorrect Chrome locale note for `word-break: auto-phrase` by woohyun-park · Pull Request #30360 · mdn/browser-compat-dataBrowser compatibility data for Web technologies as displayed on MDN - Correct Chrome locale note for `word-break: auto-phrase` by woohyun-park · Pull Request #30360 · mdn/browser-compat-dataGitHubGitHub - mdn/browser-compat-data: Browser compatibility data for Web technologies as displayed on MDNBrowser compatibility data for Web technologies as displayed on MDN - mdn/browser-compat-data- Copyleft: you may freely use, modify, and distribute the software, but when you distribute a modified version, you must preserve those same freedoms.