DSDoogal Simpsonindoogal.dev·4d ago · 5 min readWhy Right-Shifting Divides: The Math Behind Bitwise ShiftsTL;DR: Shifting a number's digits one position to the right in any positional number system divides that number by the system's base (e.g., dividing by 10 in decimal, or by 2 in binary). This behavior00
PCPranjal Chaudharyinpranjal-writes.hashnode.dev·5d ago · 4 min readDemystifying Python's Inner Mechanics: Bytecode, PVM, and __pycache__One of the first rules taught in introductory programming courses is that Python is an interpreted language, unlike compiled heavyweights such as C++ or Rust. While that distinction works as a shortha00
DSDoogal Simpsonindoogal.dev·Sep 3 · 6 min readArray vs Linked List: Memory, Cache, and PerformanceAn array is like a bookshelf where you can grab any book instantly by its index. A linked list is a treasure hunt where every node only knows where the next one is. This makes searching a linked list 11L
DSDoogal Simpsonindoogal.dev·Aug 17 · 6 min readHow HyperLogLog Counts Billions of Views with 12KB RAMTL;DR: HyperLogLog (HLL) is a probabilistic data structure that estimates cardinality (unique counts) with minimal memory. Instead of storing millions of unique IDs, it hashes incoming data and tracks10
KOKehinde Onasanyainkehindeonasanya.hashnode.dev·Aug 15 · 10 min readPython Names, Objects, Binding, Mutation and RebindingIntroduction A common way to think of a Python variable is as a box that stores a value. You write x = 10, and the idea is that Python creates a box called x and puts 10 inside it. It is a useful mode00
SCSnigdha Chatterjeeinsnigdha-tech-journey.hashnode.dev·Aug 15 · 8 min readWhat I Learned Before My First Day of B.Tech CSEIntroduction Standing at the threshold of college life is both exciting and uncertain. As I prepare to begin my Bachelor of Technology journey in Computer Science and Engineering (CSE), I have realize00
DSDoogal Simpsonindoogal.dev·Aug 11 · 4 min readWhy Exponential Math Breaks Software ScalingTL;DR Humans struggle to intuitively grasp exponential growth and probability, like the 1-in-33-million odds of flipping 25 consecutive heads. While the gambling industry exploits this cognitive gap f00
MRMohan raoinlearnwithmohan.hashnode.dev·Aug 11 · 5 min readSimple Factory vs Factory Method vs Abstract Factory: The Guide I Wish I HadSimple Factory vs Factory Method vs Abstract Factory: The Guide I Wish I Had If you've ever looked at Simple Factory, Factory Method, and Abstract Factory side by side and thought "these all just... c00
KMKaustubh Mishrainkmscratch.hashnode.dev·Aug 9 · 10 min readHOW JAVA STORES NEGATIVE NUMBERS AND THE LIE OF 0.7Hello! all, a warm welcome to my scratchPad. If you are new to this series and wanna know more about it, as well as my resources and motivation behind it, you can read it up here in the Series Introdu00
OAOlumide Adeolainchasfatprojects.hashnode.dev·Jul 31 · 17 min readFoundations of Computer Programming: Understanding How Software, Hardware, and Programming Languages Work TogetherWhat Is a Computer? At its most fundamental level, a computer is a machine that processes information. It takes input, performs operations on that input, and produces output. But this definition, whil00