From code writers to system designers and verifiers
A summary of a talk by Anthropic's Erik Schluntz.
Online Payments Developer Cheat Sheet: Essential Concepts & Implementation Guide
A practical guide to understanding and implementing online payment systems.
Context engineering
A better way to think about the role of "prompt engineering" in LLM-based applications.
Identity establishment patterns: how users log in
Exploring different methods for establishing user identity in web applications.
Session persistence patterns: staying authenticated after login
How to maintain authentication state between client and server after identity is established.
ES2025 Iterator methods: memory-efficient DOM processing
ES2025 introduces new iterator methods into JavaScript to help us work more efficiently with arrays, maps, and DOM element lists.
Functional and non-functional requirements in frontend system design
Understanding functional and non-functional requirements for better frontend system design.
Use GitHub discussions for comments on your static Astro site/blog
Giscus is a commenting system that leverages GitHub discussions to provide an easy comment setup for your static site/blog.
Undo/redo state with event sourcing
Using event sourcing to implement undo/redo functionality in a React component.
Estimating LLM classification confidence with log probabilities (logprobs)
Estimating the confidence of an LLM's classification using log probabilities.
Use Day.js instead of Moment.js for less cognitive load and fewer bugs
Immutability = less cognitive load, less bugs
React & TypeScript Cheatsheet
A quick reference for using TypeScript in a React project.
Creative Coding Resources
My collection of creative coding resources, including books, inspirational projects, code repositories and tools.
Serverless R functions with Cloud Run
Using serverless containers to deploy scalable R functions.
Schedule your Netlify build with GitHub Actions
If your build process is pulling in content from third-party services (e.g. Instagram, Youtube), scheduling a daily build & deploy can be an easy way to keep this content fresh.
Loading existing models with TensorFlow.js
A pre-trained image classification CNN ready for inference in the browser
Linear Regression with TensorFlow.js
Hand-on with the basics of TensorFlow.js using an interactive linear regression model in the browser.
Creating static websites with React, Part 1
Let's create a lightning-fast, offline-first static website with React
Creating a WebVR musical instrument using A-Frame & Tone.js
Audio synthesis in WebVR