Scripts

Making My Own Fortune Collection Using Go

Making My Own Fortune Collection Using Go

Everyone loves a good Cowsay. I enjoy opening my terminal and being greeted by my favorite little ASCII cow, spouting some random quote.

Read More
Game of Life using p5.js

Game of Life using p5.js

The Game of Life - a simple yet beautiful cellular automaton devised by British mathematician John Horton Conway in 1970—is truly fascinating! The game, as shown above, is running in real-time within this blog post. The version you see is unique to your browsing session, meaning we will likely never see the exact same game ever again! How? The embedded game is an iFrame linked to this website: https://gol.happybread.net/.

Read More
Scraping SA Dam(n) Data using a Scheduled Lambda and uploading it to Mongo

Scraping SA Dam(n) Data using a Scheduled Lambda and uploading it to Mongo

Lately, it has been raining quite a lot, which got me wondering about the current dam levels at the Vaal Dam. Aside from hearing updates through word of mouth or some Facebook group, how could I find out the current dam levels? A quick Google search for “SA Dam Levels” directs you to the “Weekly State of Dams” webpage on the Department of Water and Sanitation’s website.

Read More
Python Threaded Queues: Building a Data Crawler for 70,000+ API Calls

Python Threaded Queues: Building a Data Crawler for 70,000+ API Calls

My plan of action Ever since I read the documentation for Python’s threaded queue, I’ve been wondering: “Can I use this to build a really efficient web crawler?” The answer is yes!

Read More
Self-Hosting an Affordable and Lightweight URL Shortener with Go and Redis

Self-Hosting an Affordable and Lightweight URL Shortener with Go and Redis

In this blog post, I want to talk about a simple solution for something I’ve always wanted to self-host: a URL shortener!

Read More