A visualization of a vector graph

Building a Pure Python HNSW Vector Index with Disk Persistence

Learn to implement a hierarchical navigable small world graph from scratch in Python, with persistence and incremental updates, to impress hiring managers.

October 10, 2026 · 13 min · 2738 words · martinuke0
Consul service mesh nodes exchanging gossip messages in a cluster

Deep Dive into Consul's Gossip Protocol for Resilient Service Discovery

Consul’s gossip protocol ensures reliable, eventually consistent service discovery across dynamic clusters, even under network partitions.

October 9, 2026 · 6 min · 1138 words · martinuke0
Mini GPT training loop on a laptop

From-Scratch Mini GPT Training Loop with Gradient Checkpointing, Mixed Precision, and a Custom CUDA‑Style Optimizer

A hands‑on guide to training a tiny GPT model end‑to‑end with gradient checkpointing, FP16 mixed precision, and a hand‑rolled optimizer, perfect for a CV‑worthy portfolio.

October 9, 2026 · 12 min · 2453 words · martinuke0
Diagram of a secure data pipeline with user input validation and audit logging

User Safety in Production Systems: Safe-by-Design Patterns for Engineers

How to build systems that protect users without sacrificing velocity, using proven architecture patterns and concrete tooling.

October 9, 2026 · 6 min · 1234 words · martinuke0
A sleek illustration of a sliding window over text tokens

Dynamic Sliding-Window Context Manager for LLM Prompt Histories

A hands‑on guide to building a production‑ready context manager that automatically trims prompt histories using attention‑weighted saliency, keeping your LLM prompts within any context window.

October 9, 2026 · 8 min · 1539 words · martinuke0
Feedback