darsh-patel.hashnode.devWhy 0.1 + 0.2 ≠ 0.3 ....?Computers are incredible at math… except when they aren’t.If you've ever seen something like this: 0.1 + 0.2 // 0.30000000000000004 you’ve witnessed a floating-point precision error. Why does this happen?Why can’t computers represent simple numbers...Nov 22, 2025·5 min read
darsh-patel.hashnode.devGoLang Context: Is It Really Essential for Your Library Functions?This is the classic “design smell vs. design wisdom” question of golang. It’s a boundary where good design and bad habits can look deceptively similar. Let’s unpack it carefully with reasoning. The short answer: Yes, it’s good practice to pass conte...Nov 13, 2025·6 min read
darsh-patel.hashnode.devUnderstanding Statistics and Probability: A Beginner’s GuideStatistics and probability are few concepts we find playing out in our everyday lives. From predicting and analyzing cricket scores to understanding medical reports, we constantly use these ideas, sometimes without even noticing it. This blog will wa...Sep 14, 2025·5 min read
darsh-patel.hashnode.devThe Token Bucket Algorithm: Keeping Traffic Flowing Without Chaos 🚦Picture this: your API is running along smoothly, serving requests at a steady pace. Suddenly, clients starts bombarding it with thousands of requests per second. Servers are overwhelmed, legitimate users are locked out, and your carefully architecte...Aug 25, 2025·6 min read
darsh-patel.hashnode.devUnderstanding the Differences Between Multitasking and Multiprogramming for Tech InterviewsHey there! 👋 Are you one of those people who can't sit through a 2-minute YouTube video without checking Instagram? Do you lose focus faster than your phone loses battery? Perfect! This blog is made just for you! 📱 Today we're diving into Multitask...Aug 5, 2025·8 min read