Skip to content

Page 18

System Design5 min read

REST vs. GraphQL vs. gRPC: The 'Restaurant Menu' Mental Model

Why does GraphQL exist if REST works fine? A mastery guide to API protocols, when to use each, and how gRPC changes the game for internal services.

#system-design#api#rest
System Design5 min read

Vector Databases & Embeddings: The 'Semantic Atlas' Mental Model

How does Spotify know you'll like this song? A mastery guide to embeddings, cosine similarity, and vector databases (Pinecone, Weaviate, pgvector).

#ai#vector-database#embeddings
Software Craft6 min read

When to Use Classes vs. Functions in Python: A Design Checklist

A repeatable mental checklist for Python developers to decide when to use classes, functions, instance state, and dependency injection.

#python#software-design#architecture
Software Craft5 min read

When to Use Dataclasses, Generators, and Try/Except in Python

Phase 2 of the mental checklist for Python developers. Navigating dictionaries vs dataclasses, eager evaluation vs lazy execution, and error handling philosophies.

#python#software-design#best-practices
Developer Tools4 min read

I Built a Tool to Migrate 500+ Images to WebP in One Hour

My Lighthouse score was crying because of heavy images. So I wrote a Python ETL to bulk-convert everything to WebP and update all the URLs automatically. Here's how.

#performance#python#webp
System Design4 min read

Why Is Production Still Running My Old Code?

Deployed your latest changes but still seeing the ghost of the old version? Let's talk about the aggressive memory of browsers and how to fix it.

#web-dev#hugo#caching
System Design14 min read

Stop Bloating Your Database: The S3 Pointer Pattern

Why 10MB JSON blobs kill your buffer pool, and how to keep MySQL lean with S3 + presigned URLs.

#mysql#s3
Software Craft4 min read

Verify vs Cert: The Python Requests Handbook

Understanding SSL/TLS in Python Requests: The 'verify' and 'cert' arguments explained with interactive animations.

#security#software-craft
System Design6 min read

API Certificates: The Mastery Guide to Debugging & The Chain of Trust

Stop guessing with SSLErrors. A mastery-level guide to the Chain of Trust, openssl debugging, and proving exactly whose fault it is.

#system-design#security#api