Authority Bias: The Milgram Experiment Explained

I once deployed code to production because a VP told me to, even though I knew it would break things. I was a junior engineer. They were a VP of Engineering. They said, “Ship it now. We need this for the demo tomorrow.” I tried to explain: “The tests are failing. The database migration isn’t ready. This will cause data corruption.” They responded: “I understand your concerns, but I’ve been doing this for 20 years. Trust me. Ship it.” ...

May 20, 2024 · 20 min · Rafiul Alam

Ego Depletion: Why Willpower Runs Out

It’s 8 PM. You’ve been in meetings all day. You resisted checking Twitter during presentations. You held back your frustration when that one coworker interrupted you for the third time. You made yourself exercise even though you didn’t feel like it. You ate a salad for lunch instead of pizza. Now you’re home. You sit down to work on your side project—the one you’re genuinely excited about. And you have absolutely nothing left. You stare at the screen. You open Twitter (ironically, the thing you resisted all day). You order takeout. You binge-watch Netflix. ...

May 13, 2024 · 15 min · Rafiul Alam

Social Comparison Theory: The Instagram Depression Link

I deleted Twitter from my phone last Tuesday. Not because of the politics or the drama. Because I couldn’t stop comparing myself to people who seemed to be crushing it while I was struggling. Every time I opened the app: Someone raised a $50M Series B Someone hit $100K MRR on their SaaS Someone gave a keynote at a major conference Someone got acquired by Google Meanwhile, my startup was barely break-even, my side project had 47 users, and I’d just had a PR rejected for the third time. ...

May 6, 2024 · 16 min · Rafiul Alam

The Halo Effect: Why Attractive People Get Ahead

I once rejected a brilliant engineering candidate because their resume had a typo. Not in their work history. Not in their technical skills. In the summary section: “atention to detail” instead of “attention to detail.” My brain went: “Typo → careless → probably writes buggy code → not a good hire.” I passed. Another company hired them. They became a principal engineer there and later gave a keynote at a major conference. ...

April 29, 2024 · 17 min · Rafiul Alam

Confirmation Bias in the Age of Social Media: Why We Only See What We Want to See

I used to think Tailwind CSS was terrible. Not because I’d used it extensively. I’d tried it for maybe an hour, felt uncomfortable, and decided it was “just inline styles with extra steps.” Then I spent the next six months seeing only evidence that confirmed my belief: Blog posts criticizing Tailwind? Bookmarked and shared. Tweets praising Tailwind? Scrolled past or found reasons to dismiss them. Projects struggling with Tailwind? “See, I knew it was problematic!” Projects thriving with Tailwind? “They would’ve been fine with CSS modules.” I wasn’t evaluating Tailwind objectively. I was collecting ammunition to defend a conclusion I’d already made. ...

April 22, 2024 · 14 min · Rafiul Alam

Flow State: The Science of Peak Performance

It’s 2 AM. You’ve been coding for six hours straight. You haven’t eaten. You forgot to check your phone. You have no idea where the time went. But you just built the most elegant solution you’ve ever created. The code is clean, the logic is tight, and everything just… works. You snap out of it and realize: you were completely immersed. Time disappeared. Effort felt effortless. You were operating at a level you rarely achieve. ...

April 22, 2024 · 15 min · Rafiul Alam

Groupthink: How Smart Teams Make Dumb Decisions

We were going to launch the feature on Tuesday. Everyone on the team knew it wasn’t ready. The code was buggy. The UX was confusing. We hadn’t tested the edge cases. One of our engineers literally said in standup, “I’m not sure this is going to work well,” but immediately followed it with, “but I guess everyone else thinks it’s fine.” The PM wanted to hit the deadline. The CEO was excited about the demo. The team had momentum. So we all nodded along. ...

April 15, 2024 · 17 min · Rafiul Alam

The Psychology of Procrastination (It's Not Laziness)

It’s 11 PM. The pull request is due tomorrow. You’ve known about it for a week. You open your laptop. Check Slack. Browse Reddit. Watch a YouTube video about productivity (the irony is not lost on you). Check Twitter. Read an article about procrastination. Look at the clock. 11:47 PM. You finally start working at midnight. You’ll be up until 3 AM, stressed and exhausted, producing mediocre work that you could’ve done calmly in two hours if you’d started earlier. ...

April 8, 2024 · 14 min · Rafiul Alam

Intrinsic vs Extrinsic Motivation: What Actually Works

I once worked with two developers who joined our team at the same time. The first developer—let’s call him Mark—was obsessed with levels and compensation. Every conversation circled back to promotions, competing offers, and total comp. He worked hard, sure, but you could tell his eyes glazed over during technical discussions unless they directly impacted his promotion timeline. The second developer—let’s call her Sarah—was obsessed with the craft. She’d spend evenings learning Rust for fun. She volunteered to pair program with junior developers. She got genuinely excited about elegant solutions to gnarly problems. Promotions seemed like an afterthought. ...

March 19, 2024 · 17 min · Rafiul Alam

The Paradox of Choice: Why More Options Make Us Miserable

I once spent three hours researching React state management libraries. Redux. MobX. Zustand. Jotai. Recoil. XState. Valtio. Context API. useState. useReducer. Each had passionate advocates. Detailed comparisons. Migration guides. Benchmark tests. By hour three, I was paralyzed. Which one was “right”? What if I chose wrong? What if I regretted it? I started with a simple problem: “I need to manage state in my app.” I ended with decision fatigue, imposter syndrome, and zero lines of code written. ...

March 18, 2024 · 15 min · Rafiul Alam