Posts
All the articles I've posted.
-
Testing Brewing Math: Unit Tests for IBU, Color and Carbonation Calculators
How I test Foambyte's brewing calculators with Vitest and Zod: reference values, round trips, behavior checks and 330+ tests for IBU, SRM and CO2.
-
ArkType vs Zod: Why I Standardized on Zod Across Forms, API and Database
I started Foambyte with ArkType and switched to Zod. The deciding factor wasn't speed or syntax but integrations: drizzle-zod, zod-openapi and TanStack Form.
-
Choosing Authentication for a Web + Mobile SaaS: Why better-auth
Why Foambyte uses better-auth with Hono and Drizzle instead of Clerk, Auth0 or Supabase Auth, and how cookie sessions work across the web and Capacitor apps.
-
Adopting the React Compiler Early in a React 19 + Vite App
Why I turned on the React Compiler (RC) in Foambyte's React 19 + Vite app, how to set it up with Babel and ESLint, and the rules I follow so it can do its job.
-
Building a Real-Time Web Cipher with Rust, Sycamore and Trunk
Building a real-time Vigenère cipher web app in Rust with Sycamore, Trunk and WebAssembly, without writing a single line of JavaScript.
-
Implementing the Display Trait on a Generic Array using Newtype Pattern
How to implement the Display trait on a generic array in Rust, working around the orphan rule with the newtype pattern and const generics.
-
How to Use Rust Traits, Generics and Bounds
Refactoring Ruxel's vector and point types with generics, supertraits, subtraits and trait bounds to make the code more idiomatic and extensible.
-
Ruxel - Building a Ray Tracer with Rust Part 1
Part 1 of building Ruxel, a ray tracer in Rust: high-level architecture, project scaffolding, and the vector and point types.
-
Rust and Neovim - A Thorough Guide and Walkthrough
A detailed walkthrough of how I set up my Rust development environment in Neovim, with rust-analyzer, rust-tools, Tree-sitter and Vimspector debugging.
-
Ruxel - Building a Ray Tracer with Rust (Prelude)
Introducing Ruxel, a ray tracer and 3D renderer I'm building from scratch in Rust, why I chose it as a project, and my goals for version 0.1.0.