Uncategorized

  • A typed constant on an abstract class, six months on

    Six months of typed class constants, and the useful case turned out not to be the one the feature was announced for. What I wanted was an abstract…

  • A retry policy copied from a tutorial in 2019

    Three attempts, one second apart, applied to every consumer regardless of what it does. One retry policy across four consumers means three of them are wrong, and the…

  • The dependency we vendored

    A 200-line package with 41 transitive dependencies, doing one thing, and an advisory in something four levels down that we had never heard of.

  • A histogram on a skewed column, and the plan it fixed

    A status column where one value covers ninety-four per cent of rows, and an optimiser assuming an even distribution. Histograms are for columns that are skewed and not…

  • terraform test, and the module that had no assertions

    A testing framework in 1.6, usable in 1.7, and a module that had been verified by applying it and looking. command = plan asserts against the plan without…

  • An interface method removed, and the four implementations that kept it

    Removing a method from an interface leaves every implementation with a public method nothing calls, and the language has no opinion about that. The #[Override] attribute turns this…

  • Reproducing a build from six months ago

    A security question about a release from July, and no way to rebuild it. The same commit produces a different image, and neither of them is wrong.

  • A font subset that halved the largest contentful paint

    A variable font covering Latin, Cyrillic and Greek, on a site that renders English and Turkish. Subsetting is the largest single win available on a page whose largest…

  • 140 KB of JavaScript on a page with four interactions

    Four interactive blocks on a page, each shipping its own approach to the same problem. Four independent solutions to the same class of problem is what happens when…

  • A decision record that recorded a reversal

    A record superseding one from 2021, written by the same person, saying the opposite. The section naming what the superseded record got right is the one that makes…