Blog

How I Run This Site

Learn about the fun and challenges of hosting my personal website throughout the years, from trying out different tech to setting up on AWS, in my latest blog post!

Read

Discover how I delved into privacy-focused analytics with Plausible, shedding light on my website's traffic without compromising user data to ad-tech giants, and learn why it's a game-changer for understanding audience engagement.

Read

Building a Toy DNS Server

Dive into the world of DNS servers as we explore the intricacies of building one from scratch in Go, delving into the protocol's structure, parsing queries, and crafting responses, all while uncovering the challenges and complexities of the DNS landscape.

Read

Explore the depths of secure communication with an in-depth look at implementing the Signal X3DH protocol using WebCrypto, uncovering the nuances of key exchanges, authentication, and the future of browser-based cryptography.

Read

Learn how to implement end-to-end encryption using the SubtleCrypto WebCrypto interface in web browsers, making Diffie-Hellman key exchange accessible for developers, addressing the challenges of key size, primes, and introducing Elliptic-curve Diffie-Hellman (ECDH). The post guides you through generating key pairs, exporting public keys, deriving shared keys, and encrypting messages, with insights into caveats like man-in-the-middle attacks, anonymity, browser security, and the synchronous nature of the process.

Read

Discover how to create a serverless WebSocket-based chat application using AWS API Gateway, Lambda, and DynamoDB, with a detailed walkthrough and code examples available on GitHub, exploring the architecture, infrastructure setup, and cost considerations.

Read

How to use WebSockets with Next.js

Learn how to seamlessly integrate WebSockets with your Next.js application, enabling high-throughput, bi-directional communication for real-time features like chat or streaming updates, as this step-by-step guide walks you through creating a custom server, handling WebSocket requests, and connecting to the WebSocket using React, while addressing caveats and adding fun Easter eggs.

Read

At AWS re:Invent 2023, beyond the chatbot buzz, Amazon urges action with a "Now Go Build" ethos, introducing AI tools seamlessly embedded in the development process, highlighting sustainability priorities, emphasizing the ongoing relevance of serverless options, and advocating for code reduction in favor of fully-managed services.

Read

I Built this Website with an iPad

Discover the triumphs and tribulations of building an entire website on an iPad, using GitHub Codespaces, Next.js 14, and Tailwind, while delving into the challenges of iPadOS multitasking and the creative use of AI-generated excerpts for a weekend side project.

Read

Back to Blogging

I used to blog about tech and politics, aiming to be a tech influencer, but work and Twitter took over; now, with changing content platforms, I'm revisiting blogging for myself, prioritizing authenticity over clout, embracing the libertarian-esque values of owning my content.

Read