Knowledge Updates

Observations while developing web applications and creating great software.

  • Ladybird in December 2024 ↗

    Ladybird is a brand-new browser & web engine targeting a first Alpha release for early adopters in 2026. Here’s what’s new last month.

  • Leetcode and performance ↗

    Following a recent observation on interview questions like pull-ups.

  • 1Password CLI and .env files ↗

    From NSHipster:

    We’ve touched on .env files in past articles about xcconfig files and secret management on iOS. But this week on NSHipster we’re taking a deeper look, exploring how the lesser-known 1Password CLI (op) can solve some problems many of us face managing secrets day-to-day.

    In case you’re not familiar with Twelve-Factor Apps:

    Around 2011, Adam Wiggins published “The Twelve-Factor App”, a methodology for building modern web applications that has since become canon in our industry.

    The third of those twelve factors, “Config”, prescribes storing configuration in environment variables:

    “Apps sometimes store config as constants in the code. This is a violation of twelve-factor, which requires strict separation of config from code. Config varies substantially across deploys, code does not.”

    This core insight — that configuration should be separate from code — led to the widespread adoption of .env files.

  • Fastfetch ↗

    Fastfetch is a Neofetch-like tool for fetching system information and displaying it prettily. It is written mainly in C, with performance and customizability in mind.

    brew install fastfetch

    Why Fastfetch?

    From the README:

    1. Fastfetch is actively maintained.
    2. Fastfetch is faster. As the name suggests.
    3. Fastfetch has a greater number of features, though by default fastfetch only has a few modules enabled; use fastfetch -c all to find what you want.
    4. Fastfetch is more configurable. You can find more information in the Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Configuration.
    5. Fastfetch is more polished. For example, neofetch prints 555 MiB in the Memory module and 23 G in the Disk module, whereas fastfetch prints 555.00 MiB and 22.97 GiB respectively.
    6. Fastfetch is more accurate. For example, neofetch never actually supports the Wayland protocol.

    Discovered from looking at this Ghostty post on X:

  • DOOM CAPTCHA