BlogFeatured 2 times
Will Richardson
Computers, photography, and related matters.
Recent posts
Newest first- 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.
- 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.
- 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.
- 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.
- HTML-Safe String Interpolation
Crystal macros enable HTML-safe string interpolation by automatically escaping content and calling to_html instead of to_s.
- 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.
- 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.
- 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.