-
Python Dictionary Defaults
Python dictionaries are incredibly versatile and widely used, but there are some handy tricks that can make using them much more streamlined and efficient. In this post, we’ll explore dict.setdefault and collections.defaultdict.
-
Algorithm for the Perfect Cheesy Poof (AI Assistants Conversation)
I’ve been building an open-source framework called assistants — a Python library for creating AI assistants with multiple frontend interfaces (CLI and Telegram), support for multiple LLM providers (OpenAI, Anthropic, Mistral), and features like MCP tool integration, code highlighting, thread management, and image generation. You can install it with pip install assistants-framework.
-
So, it's been a year! (Bash script to disable password authentication for SSH)
Sharing one of my recent bash scripts for automating server setup that improves security by disabling ssh password authentication and root login.
-
Reflections on My Journey: What I've Learnt, Part 1
Nearly four years have passed since I started my journey to become a professional software engineer. So, what have I actually learnt along the way? Looking back at some of the early code I wrote as a beginner programmer, it’s interesting to see how much I didn’t know — and didn’t know I didn’t know — about programming.
-
Building a Smart Central Heating System with a Raspberry Pi, and Python
My parents recently had a ‘smart thermostat’ installed. It got me to thinking: how hard could it really be to make one myself? tldr; (original) public GitHub repository and README here