Skip to main content

Blog

Squeezing Pixels: The Math Behind JPEG Compression

Squeezing Pixels: The Math Behind JPEG Compression

February 28, 2026 (7mo ago)

5 min read

A step-by-step breakdown of how JPEG compression actually works, from color space conversion and chrominance downsampling to DCT, quantization, and entropy encoding.

From Vectors to Buckets: How LSH Actually Works Under the Hood

From Vectors to Buckets: How LSH Actually Works Under the Hood

February 19, 2026 (8mo ago)

5 min read

A practical breakdown of Locality Sensitive Hashing - how it works, why it scales, and when to use it for approximate nearest neighbor search over high-dimensional embeddings.

How Browsers Decide Which Sites to Trust: A Practical Guide to PKI for Developers

How Browsers Decide Which Sites to Trust: A Practical Guide to PKI for Developers

December 7, 2025 (10mo ago)

5 min read

A clear, hands-on explanation of how browsers decide which websites to trust. Learn PKI, certificates, trust chains, TLS validation, revocation, ACME automation, and more with simple examples and diagrams.

Demystifying Rust Macros: Types, Functionality, and Practical Uses

Demystifying Rust Macros: Types, Functionality, and Practical Uses

November 12, 2025 (11mo ago)

4 min read

Explore the world of Rust macros, understanding their types, functionalities, and practical applications in modern programming.

Unlocking Go's Magic: Goroutines, Channels, and the <- Operator, Deep Dive into Elegant Concurrency

Unlocking Go's Magic: Goroutines, Channels, and the <- Operator, Deep Dive into Elegant Concurrency

October 21, 2025 (12mo ago)

5 min read

Dive deep into Go's goroutines, channels, and the mysterious <- operator. Learn how Go's concurrency model is simple, elegant, and refreshingly different from Java threads or async/await chaos.

SNARKs and zk-SNARKs Explained

SNARKs and zk-SNARKs Explained

October 18, 2025 (1y ago)

6 min read

Explore how SNARKs and zk-SNARKs make privacy, scalability, and trust possible in modern blockchain systems. Learn their math, structure, and real-world applications like Zcash and rollups.

Hello World

Hello World

June 18, 2024 (2y ago)

2 min read

Starting fresh with a new blog. Here's what I'm building and why I decided to finally hit publish.