Alex Kladov

  1. Consensus Board Game

    I have an early adulthood trauma from struggling to understand consensus amidst a myriad of poor explanations. I am overcompensating for that by adding my own attempts to the fray. Today, I want to draw a series of pictures which could be helpful. You can see this post as a set of missing illustrations…

    Published

  2. JJ LSP Follow Up

    In Majjit LSP, I described an idea of implementing Magit style UX for jj once and for all, leveraging LSP protocol. I've learned today that the upcoming 3.18 version of LSP has a feature to make this massively less hacky: Text Document Content Request

    Published

  3. Against Query Based Compilers

    Query based compilers are all the rage these days, so it feels only appropriate to chart some treacherous shoals in those waters.

    Published

  4. Wrapping Code Comments

    I was today years old when I realized that:

    Published

  5. Diagnostics Factory

    In Error Codes For Control Flow, I explained that Zig's strongly-typed error codes solve the handling half of error management, leaving reporting to the users. Today, I want to describe my personal default approach to the reporting problem, that is, showing the user a useful error message.

    Published

  6. Justifying text-wrap: pretty

    Something truly monumental happened in the world of software development in 2025. Safari shipped a reasonable implementation of text-wrap: pretty: https://webkit.org/blog/16547/better-typography-with-text-wrap-pretty/. We are getting closer and closer to the cutting-edge XV-century technology. Beautiful…

    Published

  7. Programming Aphorisms

    A meta programming post --- looking at my thought process when coding and trying to pin down what is programming knowledge. Turns out, a significant fraction of that is just reducing new problems to a vocabulary of known tricks. This is a personal, descriptive post, not a prescriptive post for you.

    Published

  8. CI In a Box

    I wrote box, a thin wrapper around ssh for running commands on remote machines. I want a box-shaped interface for CI:

    Published

  9. make.ts

    Up Enter Up Up Enter Up Up Up Enter

    Published

  10. Considering Strictly Monotonic Time

    Monotonic time is a frequently used, load bearing abstraction. Monotonicity is often enforced using the following code:

    Published