Alex Kholodniak · Ruby & beyond
Notes from the workbench.
Small experiments in Ruby, search, and machine learning. Code to run, decisions to examine, and results with their limits attached.
A unique key doesn't make a Sidekiq job retry-safe.
A Ruby experiment shows why a unique payment record can hide unfinished work, and how retries can resume it with one stable operation key.
Recent notes & revisions
All 30 articles ↗- ↗
PostgreSQL Full-Text Search: Test the Search You Actually Need
Test PostgreSQL full-text search with a disposable database: phrases, field weights, zero-price filters, updates and the limits of a tiny fixture.
Includes verification notes - ↗
FAISS, Pinecone and Weaviate: Compare the Search Contract First
Compare FAISS, Pinecone and Weaviate search contracts through a runnable FAISS cosine, filtering and persistence experiment.
Includes verification notes - ↗
Inside Elasticsearch: Terms, Positions and the Search You Asked For
Trace terms, positions and BM25 with a tested Python model, then separate those mechanics from Elasticsearch analysis, refresh and shard behavior.
Includes verification notes - ↗
Build RAG From Scratch in Python: Test Retrieval With LangChain
Build a tested LangChain retrieval-to-prompt pipeline with source IDs, access scopes and repeatable indexing, before adding model generation.
Includes verification notes - ↗
Your first Ruby gem: test the package, not just the source file
Build a small slug gem with a precise Unicode policy, Minitest checks and an isolated build-install-load test. No publishing account required.
Includes verification notes
An open notebook.
Alex Kholodniak / OneRuby.dev
A personal engineering blog about Ruby and the technologies around it. Focused experiments, implementation notes, and the awkward details that deserve a closer look.
About this notebook ↗