Rails: Polymorphic Associations With Referential Integrity
On Instagram, posts have comments; stories too have comments. A comment can belong to either a post or a story, not neither or both at a time. Ther...
Read articleThoughts on software development, databases, and the things I learn along the way.
On Instagram, posts have comments; stories too have comments. A comment can belong to either a post or a story, not neither or both at a time. Ther...
Read articlePostgreSQL 18 shipped with a bunch of nice features, and since I have been knee-deep into database indexes lately, one feature that piqued my inter...
Read article
A few months ago, I helped my company upgrade our production PostgreSQL database from version 14 to 17. For context, our product is a physical sec...
Read article"Shit, AI 🙈", "Ah, fuckin co-pilot 🤦". Lately, I can't keep count of the number of times I've seen such comments on GitHub pull request conversati...
Read article
Indexes function like a double-edged scalpel: precise and lifesaving when wielded skillfully, but capable of impeding a database’s performance if u...
Read article
NFS (Network File System) is a protocol used to mount remote file systems on a computer and perform file operations on the remote files as if they’...
Read article