RMRatnesh Mauryainratnlab.hashnode.dev·Mar 19 · 5 min read S3 Policies Explained: Bucket Policies vs IAM Policies vs ACLsS3 has three overlapping access control systems — bucket policies, IAM policies, and ACLs — and the interaction between them confuses most people the first time. Here's how each one works, when to use00
RMRatnesh Mauryainratnlab.hashnode.dev·Mar 19 · 4 min readOptimizing Memory Layout in Go: A Deep Dive into Struct DesignReorder the fields in a Go struct and the size changes — without changing the data it holds. A bool next to an int64 wastes 7 bytes of padding. Across 10 million allocations, that's 67MB of memory you00
RMRatnesh Mauryainratnlab.hashnode.dev·Mar 19 · 12 min readThe Mechanics of Compression: How 100GB Becomes 25GBIn an era of 4K streaming and massive cloud databases, we often take for granted that a 100GB backup can be shrunk down to 25GB. It isn’t magic—and it isn’t just “squeezing” bits. It’s a careful proce00
RMRatnesh Mauryainratnlab.hashnode.dev·Mar 19 · 6 min readHow Files Are Stored, Deleted, and Copied Inside Your ComputerHave you ever noticed something interesting? Deleting a file happens instantly. Copying a file takes time. Moving a file is sometimes instant and sometimes slow. Why does this happen? If you're new 00
RMRatnesh Mauryainratnlab.hashnode.dev·Mar 19 · 5 min readChrome 144 Introduces the <geolocation> Element: Declarative Location Access for Modern Web AppsChrome 144 introduces a new declarative <geolocation> HTML element that changes how web applications request location access. Instead of calling navigator.geolocation.getCurrentPosition() imperatively00