Articles
2022
-
An overly complicated blog
There are lots of great solutions to host a personal blog. In this article, I explain how I chose none of them and rolled my own multi-cloud, serverless solution.
-
Safe representation of restricted values
In this article, I explore how we can use Rust's type system to restrict what values can be stored in a type, such only allowing floating point numbers between zero and one.
-
Dancing with the compiler: Rust and explicitness
One thing that often surprises newcomers to Rust is how verbose it can be. In this article, I explore how I typically work in tandem with the compiler to make my code more explicit and less error-prone.
2021
-
Safe operations with typestate in Rust
A lesser known safety property of Rust is the ability to restrict what operations you can perform on a type given its internal state.
-
Safe JSON representations with Rust
You might know about Rust for its memory safety. In this article, I explore how other properties like Enum help you write applications with well-defined behaviors.
-
Building static websites with JS bundling
Javascript frameworks can be overkill for static websites, but they bring some nice advantages like bundling. In this article, I explore how to use JS bundlers with a static site generator.
2020
-
Adding telemetry to a Nuxt app
In this article, I explore how to track a user journey in a Nuxt application without relying on cookies or personal information.
-
Create social media cards
Social media cards are little images that display when people share your links on social media and are a great way to distinguish your content from the rest.
-
Rust for serverless applications
Rust is gaining popularity amongst developers, so do serverless technologies. This is a quick guide to deploy serverless applications using Rust and AWS SAM.