KatPadi's Point

Offsetting My Sedentary Lifestyle

I’ve been wanting to offset my sedentary lifestyle by starting with bare minimum changes. (I will explain later why I only want the bare minimum). When the pandemic hit in 2020, our company transitioned to a remote setup, taking away the few steps I used to get during my commute and lunch breaks. My sedentary…

Losing My Hero

I lost my hero— someone I looked up to since I was a kid. Someone who taught me that hardwork trumps talent because if you want to be great in a particular area, you have to obsess over it. Someone who cultivated the whole Mamba Mentality philosophy— the mantra that I’ve adopted into my daily…

Handling Errors Gracefully

Sometimes it makes sense to treat errors as part of an application’s “valid” flow of events. Meaning, expected errors should not necessarily make your code go crazy when random errors are raised. With that in mind, I created a way to implement some kind of “Result Object” by rescuing StandardError instances and handling these errors…

TRS: Toy Robot Simulator

A few weeks ago, I created a basic Ruby gem implementation of the “Toy Robot Simulator” problem. Toy Robot Simulator wuttt??? The scenario is that the application is a simulation of a toy robot moving on a square table of certain dimensions. The robot is free to roam around the surface but must not fall.…

Heartbreaker: Yet Another Space Invaders Clone

I created something out of boredom: http://stuff.katpadi.ph. So… obviously it’s a game. It’s not original. It’s nothing amazing. It’s a space invaders clone with a twist. I am still enhancing the “twist” part. There’s a heartbreaker (it’s a pig!). It rips the hearts out. But the hearts still give hearts anyway. It’s silly, I know. There are…

Shave the BS Off Using Occam’s Razor

I try to always apply the concept of Occam’s Razor ever since I heard about it. I encountered this particular theory way back in 2013. Although Occam’s Razor is more commonly described in pop culture as “the simplest answer is most often correct”, it is quite an oversimplification. The more correct interpretation is that “entities should not…