Blog

Implementing KNN From Scratch

Mar 6, 2025

Learn how this simple algorithm machine learning algorithm works and implement it from scratch in python.

Read more

Starting afresh but because of a twist

Mar 5, 2025

Refreshing my site and reinstating my blog here, but for a different reason.

Read more

Building With AI-SDK 2

Feb 15, 2025

w3dg.substack.com

To predictably handle the structure of the content generated from LLMs, let us take a look at structured outputs.

Read more

Building With AI-SDK 1

Jan 25, 2025

w3dg.substack.com

Let's explore building with Vercel's AI SDK. In this part, we are just getting started with getting plain text responses from LLMs.

Read more

Backup Script - Backing up my machine

Jan 19, 2025

w3dg.substack.com

A solution to backing up my machine when I am doing fresh reinstalls. This works across drives and preserves file permissions something which always gets messed up.

Read more

Profiling zsh and speeding up shell startup

Dec 29, 2024

w3dg.substack.com

By doing a bit less and switching to some rust based tools, based on profiling, how I brought down shell startup of >1.5s to ~0.2s

Read more

Linear algebra pops up in Advent of Code 2024

Dec 27, 2024

w3dg.substack.com

As soon as I figured out that the problem statement is just to solve a system of 2 linear equations, I thought this would be a chance to put that college degree to use and learn some numpy!

Read more

Implementing Recursive Comments View

Dec 1, 2024

w3dg.substack.com

We explore how to render comments and their replies, and replies to replies, and so on.

Read more

Abstractions in Computing

Nov 29, 2024

w3dg.substack.com

Why abstractions are everywhere, how much of it is useful, and how it has become an integral part of our lives.

Read more

It's about time to go on linux

May 2, 2024

What it was like to finally move on to linux after some uncertainty.

Read more

Dotfiles and how I manage them

Jan 22, 2024

A resource/guide to how I setup dotfiles on my system

Read more

Like what you see? Consider donating to support my work.