BlogFeatured 2 times

Will Richardson

Computers, photography, and related matters.

Visit willhbr.net

Recent posts

Newest first
  1. So You Want to Build a Homelab

    Building a homelab involves selecting low-power hardware, choosing a stable Linux OS like Ubuntu or Debian, and securing remote access with a VPN.

  2. Comparing Nix Derivations in a JJ Repo

    Nix-diff is used to compare Nix derivation paths between JJ repository revisions to verify unintended changes in NixOS configurations.

  3. What Can You Do for Your Compiler?

    Swift's consuming and borrowing keywords prompt a discussion on how programmers can assist compilers with type checking and memory management.

  4. Running Code in the Crystal Type System

    Crystal's global type inference can be manipulated to perform arbitrary computations at compile time without relying on explicit macro keywords.

  5. HTML-Safe String Interpolation

    Crystal macros enable HTML-safe string interpolation by automatically escaping content and calling to_html instead of to_s.

  6. Type-Checking SQL Queries With Crystal Macros

    Crystal macros and named tuples are used to type-check SQL queries by modeling them on pipe syntax for easier transformation and introspection.

  7. Language Models for Programming

    Programming languages offer features like static vs dynamic typing, compilation, null safety, immutability, and named arguments that change how developers model programs.

  8. From Vim to Helix

    Helix is a modern, Vim-inspired modal editor that inverts Vim's action-subject keymap for improved visual feedback during editing.