Note Taking

Note taking tools have started to taking off in the past couple of years. There are so many tools out there these days its pretty challenging to pick one. My journey with these tools began when I got into org-mode. For those who don’t know what org-mode is, its a note taking / organisation tool emdeded into the emacs editor. Quite versatile however it depends heavily on how much you use Emacs....

October 20, 2024

Money Matters: Budgeting

Dealing with all things related to financials is annoying but it’s a must. Most of us are generally trying to live a regular life within our means, not anything absurd. For my family and me, dealing with our finances is a big part of our lives. Making sure we have sufficient to provide for our children, and parents, pay the bills and occasionally (or rarely) splurge. A few years ago I dealt with an absurd amount of credit card debt....

September 17, 2024

Restart

For years I have been writing on and off. I tried to re-ignite the process but I have failed miserably. I am not super clear why, however I think it’s because I am not writing around a specific theme or topic. My articles seems to get spread around different areas and its not very useful for anyone really. I have been looking for a distraction to keep me occupied during my free time....

September 15, 2024

Single Table Inheritance Typeorm Postgresql

Introduction Single Table Inheritance is a design pattern that allows you to represent a hierarchy of objects using a single database table. Each subclass in the hierarchy is represented as a row in the table, with a type field that identifies the class to which the row belongs. Single Table Inheritance can simplify your database schema, improve performance, and make it easier to work with complex object hierarchies. TypeORM is an Object-Relational Mapping (ORM) library for TypeScript and JavaScript that can be used to map classes to database tables....

March 28, 2023

Database Partitioning in PostgreSQL

For most projects you work on database partitioning might not even be a requirement. It was the case for for most parts. And I have been writing code for some time now. One of the projects I was working on had a requirement where we wanted to be able to split the data across multiple tenants easily. And since we were already on postgresql, diving deeper into the topic gave me some good insights....

March 11, 2023

My Top 5 Software Design Books for 2024

Programming is hard. Designing software programs in a way that it’s not going to bite your backside in a few years is harder. With the pace of new developments in this space, it’s crucial to make sure that we are equipped to tackle problems that are thrown our way. There are many ways to gather knowledge. I consume knowledge mostly using Youtube videos, Audiobooks, and Podcasts. But for me certain fundamental concepts that I would go back to frequently I prefer to have books to refer to, some of which I have hard copies and some of which are ebooks....

June 15, 2022