Back

Writing

Essays

Searchable Encrypted Messaging

How to build prefix-search over encrypted messages in Postgres using blind indexing and n-gram tokens — without storing any plaintext.

April 10, 2026·10 min read

The Boring Answer to MCP Context Bloat

How to build prefix-search over encrypted messages in Postgres using blind indexing and n-gram tokens — without storing any plaintext.

April 3, 2026·10 min read

Searchable PII Encryption in Postgres

How we encrypted PII so a leaked database dump reveals nothing, while prefix search, sorting, and filtering all kept working.

February 10, 2026·6 min read

Boost your Image Classification Model

Techniques for improving deep learning image classifier accuracy: progressive resizing, transfer learning, mixup augmentation, and test-time augmentation.

May 14, 2019·7 min read

Metrics to Evaluate Your Machine Learning Algorithm

A practical guide to the most important evaluation metrics for ML models and when to use each one.

January 1, 2019·10 min read