Posts

How is the log loss function derived?

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. Logistic regression uses the log loss function 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?

Apr 8, 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