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
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
A minimal time-series database architecture diagram

Building a Minimal Time-Series Database with Gorilla Compression

A hands-on guide to implementing a minimal time-series database with Gorilla compression, including architecture, code, testing, and production extensions.

October 9, 2026 · 7 min · 1392 words · martinuke0
A sleek Python code terminal with circuit diagram overlay

Build a Pure‑Python Mixture‑of‑Experts Router from Scratch

This guide walks you through building a pure‑Python Mixture‑of‑Experts router from scratch. The result is a runnable project you can showcase on any CV.

October 8, 2026 · 8 min · 1495 words · martinuke0
A block‑sparse attention matrix visualized as a grid of active blocks.

Building a Pure‑Python Block‑Sparse Sliding‑Window Attention (Longformer‑Style)

Implement block‑sparse sliding‑window attention in pure Python to handle long sequences efficiently, mirroring Longformer’s design.

October 7, 2026 · 7 min · 1385 words · martinuke0
Feedback