Posts
All the articles I've posted.
-
Migrating from Gridsome to Astro: A Developer Journey
My experience migrating my personal blog from Gridsome to Astro, including the challenges, benefits, and lessons learned along the way.
-
Module Functions in Ruby: module_function vs extend self
Updated:In Ruby, modules can provide both namespacing and mixin functionality. Learn how to define module-level functions using module_function and extend self, and the differences between them.
-
Re-initializing Table Sequences in PostgreSQL
Updated:Learn how to reset and reinitialize table sequences in PostgreSQL safely, whether preserving existing data or starting fresh.
-
Managing Multiple SSH Keys in Git and SSH Config
Updated:Learn how to manage multiple SSH keys for personal, work, and client projects using ssh-agent, ssh config, and gitconfig conditionals.
-
Recovering a MySQL Root Password
Updated:Forgetting a database password isn’t the end of the world. Here’s how to reset or recover the MySQL root password, with notes for modern MySQL versions.
-
Magic Comments in Ruby
Updated:Ruby supports file-level 'magic comments' that instruct the interpreter—most famously for source encoding, but also for freezing strings, shareable constants, and indentation warnings.
-
Retrieving a Random Row in ActiveRecord
Updated:Learn different ways to fetch a random row in ActiveRecord, their trade-offs in PostgreSQL and MySQL, and which method to prefer for performance.
-
Working with Files in Ruby
Updated:Learn the basics of working with files in Ruby: opening, reading, writing, streaming, and querying file objects efficiently.
-
WeakMaps in JavaScript
Updated:WeakMaps allow objects to be used as keys, offering memory efficiency and encapsulation—ideal for private data storage and avoiding memory leaks.
-
Understanding Linked Lists (DSA Series)
Updated:A practical introduction to singly and doubly linked lists—what they are, when to use them, core operations, time/space trade-offs, and modern relevance.