Looking back, I never thought I would build a career in software. My degree is in Chemistry, a field of precise rules and predictable reactions. What could a mind buzzing with ionic bonds and benzene rings understand about software? That self-inflicted doubt was so strong that in my first year on...
Sometimes, it only takes one line of code to bring a production site to its knees. This is the story of how I unintentionally did exactly that, and how I became the prince of Bel-Air… or wait, that’s a different one! The background As any good bug, this one spans across multiple JS frameworks, it...
In the ever-evolving landscape of Ruby on Rails, how we choose to handle code can be as diverse as the developers themselves. Recently, my exploration into refactoring Rails helper to generate UI component names dynamically, led me down the path of metaprogramming – a powerful, dynamic tool that...
Hello, budding Ruby enthusiasts! 🌟 Have you ever heard of the song 99 Bottles of Beer on The Wall? It's the kind of catchy tune that’s perfect for passing time with friends or family as you cruise down the vast stretches of highways in the US or Canada. With its repetitive melody and simple...
Years ago, Phil Karlton mentioned once, "that during my dad's time at Netscape, he did indeed throw a quote around, on more than one occasion, it is": There are only two hard things in Computer Science: cache invalidation and naming things In every developer's journey, there comes a point where we...
Originally posted on my blog ahmednadar.com. We've all been there-happily adding new tables and columns to our applications in the development environment. And when things go wrong, we drop the table and start fresh, no harm, no foul 😎. But what happens when we encounter issues in the production...
❓ Did you know you can’t name a file “Con” in Windows If you’re running a Windows machine, try it right now. Go to File Explorer -> create a new folder -> name it "Con" Did it work? Now try with "PRN", "AUX" or "NUL". What did you get? Probably this 👇 The system will not let you do it. Con...
Introduction Quite recently I came across a tweet by Florin Pop which talked about tracking your minor and major achievements using a timeline. It was an interesting idea.. how come I never thought about this. Thus, inspired, I set on to start creating my own version. In this article, you will...