Posts

New feature: Knowledge gardens

When I started this digital garden two months ago, I was bothered by the “garden”. There are no plants in my digital garden thus far. In fact, plants aren’t necessary in a digital garden. This niggling thought stayed and eventually culminated in what I’ve implemented as the “knowledge garden” feature. A garden would be a webpage with an interactive mindmap. The nodes would be plants pointing to resources centered on a topic. The knowledge garden is a way to visualize what I’ve consumed and/or created about a topic. This post is about the new feature and how I’ve vibe coded it with Claude, ChatGPT and Gemini.

May 19, 2026 Read More

How is the log loss function derived?

ai

Loss functions are used to guide the development of machine learning (ML) models and each model type has one or more preferred loss functions. I started learning about them in a more structured manner recently to strengthen my foundation in ML. I started with linear regression and their loss functions and moved on to logistic regression. The log loss function is used for training logistic regression models which looks much more complicated than the loss functions used in linear regression, and I couldn’t help but wonder why. How is the log loss function derived? Why is it the way it is?

May 10, 2026 Read More

Why is the harmonic mean used for the F-score?

ai

Precision and recall are common metrics used for assessing the performance of binary classification models. Due to their definition, however, there is usually a trade-off point between precision and recall. At this trade-off point the higher the precision, the worse the recall, or vice versa. The F-score (also known as the ‘F1-score’) is an alternative metric that represents both the precision and recall. It is often defined as the harmonic mean between precision and recall. What is the harmonic mean and why is it used in the F-score?

May 3, 2026 Read More

I completed a Hyrox simulation

Just a few hours ago from writing this blog post, I completed a Hyrox simulation. It took me a whopping 2 h and 13 min, but I’m proud to have completed it. It’s a milestone for about a year of consistently working out. Anyhow, this post will be a lot more casual, documenting my experience with this n = 1 Hyrox attempt.

Mar 22, 2026 Read More

Self-hosting a static website on my old phone

About seven months ago, I watched a video by Felix Kjellberg i.e. PewDiePie entitled “I’m DONE with Google” (dramatic title I know). Aside from seeding the realisation that I’m quite dependent on Google applications, I was surprised by how Kjellberg re-purposed his old Steamdeck for self-hosting applications. This surprise left a niggling thought at the back of my head on self-hosting: could I re-purpose an old mobile phone of mine for self-hosting too?

Mar 5, 2026 Read More