<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel>
<title>OneRuby.dev</title><description>An engineering notebook by Alex Kholodniak. Ruby, search, and machine learning through small experiments, working examples, and the details behind a decision.</description><link>https://oneruby.dev/</link>
<atom:link href="https://oneruby.dev/feed.xml" rel="self" type="application/rss+xml"/>
<language>en</language><lastBuildDate>Sat, 19 Sep 2026 00:00:00 GMT</lastBuildDate>
<item><title>PostgreSQL Full-Text Search: Test the Search You Actually Need</title><link>https://oneruby.dev/postgresql-full-text-search-when-you-dont-need-elasticsearch/</link><guid isPermaLink="true">https://oneruby.dev/postgresql-full-text-search-when-you-dont-need-elasticsearch/</guid><pubDate>Wed, 14 Jan 2026 00:00:00 GMT</pubDate><description>Test PostgreSQL full-text search with a disposable database: phrases, field weights, zero-price filters, updates and the limits of a tiny fixture.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>python</category><category>databases</category><category>postgresql</category><category>ai</category></item><item><title>FAISS, Pinecone and Weaviate: Compare the Search Contract First</title><link>https://oneruby.dev/vector-databases-python-pinecone-weaviate-faiss-compared/</link><guid isPermaLink="true">https://oneruby.dev/vector-databases-python-pinecone-weaviate-faiss-compared/</guid><pubDate>Sat, 10 Jan 2026 00:00:00 GMT</pubDate><description>Compare FAISS, Pinecone and Weaviate search contracts through a runnable FAISS cosine, filtering and persistence experiment.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ai</category><category>python</category><category>databases</category></item><item><title>Inside Elasticsearch: Terms, Positions and the Search You Asked For</title><link>https://oneruby.dev/how-elasticsearch-really-works-under-the-hood/</link><guid isPermaLink="true">https://oneruby.dev/how-elasticsearch-really-works-under-the-hood/</guid><pubDate>Thu, 08 Jan 2026 00:00:00 GMT</pubDate><description>Trace terms, positions and BM25 with a tested Python model, then separate those mechanics from Elasticsearch analysis, refresh and shard behavior.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ai</category><category>elasticsearch</category><category>databases</category></item><item><title>Build RAG From Scratch in Python: Test Retrieval With LangChain</title><link>https://oneruby.dev/building-rag-from-scratch-python-langchain-guide/</link><guid isPermaLink="true">https://oneruby.dev/building-rag-from-scratch-python-langchain-guide/</guid><pubDate>Sun, 04 Jan 2026 00:00:00 GMT</pubDate><description>Build a tested LangChain retrieval-to-prompt pipeline with source IDs, access scopes and repeatable indexing, before adding model generation.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ai</category><category>python</category><category>llm</category><category>machine-learning</category></item><item><title>Your first Ruby gem: test the package, not just the source file</title><link>https://oneruby.dev/building-your-first-ruby-gem-complete-guide/</link><guid isPermaLink="true">https://oneruby.dev/building-your-first-ruby-gem-complete-guide/</guid><pubDate>Fri, 02 Jan 2026 00:00:00 GMT</pubDate><description>Build a small slug gem with a precise Unicode policy, Minitest checks and an isolated build-install-load test. No publishing account required.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>gems</category><category>bundler</category><category>open-source</category></item><item><title>ngrok With Local LLMs: Test Authentication Before Sharing Ollama</title><link>https://oneruby.dev/how-i-use-ngrok-with-local-llms-and-why-you-should-too/</link><guid isPermaLink="true">https://oneruby.dev/how-i-use-ngrok-with-local-llms-and-why-you-should-too/</guid><pubDate>Sat, 02 Aug 2025 00:00:00 GMT</pubDate><description>Test the HTTP authentication boundary before sharing Ollama or LM Studio through ngrok, with a runnable local preflight and explicit integration limits.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ai</category><category>llm</category><category>ngrok</category></item><item><title>Ruby design patterns: make undo and redo survive a new branch</title><link>https://oneruby.dev/ruby-design-patterns-that-matter/</link><guid isPermaLink="true">https://oneruby.dev/ruby-design-patterns-that-matter/</guid><pubDate>Thu, 31 Jul 2025 00:00:00 GMT</pubDate><description>Implement the Command pattern with a tested history cursor. Handle undo-all, branching, failed commands and external edits without negative-index surprises.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>design-patterns</category><category>advanced</category></item><item><title>Ruby metaprogramming: generate a small API without hiding its rules</title><link>https://oneruby.dev/ruby-metaprogramming-writing-code-that-writes-code-with-examples/</link><guid isPermaLink="true">https://oneruby.dev/ruby-metaprogramming-writing-code-that-writes-code-with-examples/</guid><pubDate>Sat, 26 Jul 2025 00:00:00 GMT</pubDate><description>Build a typed settings DSL with define_method, then test reflection, validation, inheritance and shared defaults. No eval or method_missing required.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>metaprogramming</category><category>advanced</category></item><item><title>Sinatra, Rails and Roda: Compare One HTTP Contract</title><link>https://oneruby.dev/ruby-api-frameworks-comparison-2025/</link><guid isPermaLink="true">https://oneruby.dev/ruby-api-frameworks-comparison-2025/</guid><pubDate>Wed, 15 Jan 2025 00:00:00 GMT</pubDate><description>Compare Sinatra, Roda and Rails API controller routing against one JSON request contract, with 33 passing Rack tests and locked Ruby dependencies.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>api</category><category>frameworks</category></item><item><title>Predicting Exam Outcomes in Ruby: Split Before You Scale</title><link>https://oneruby.dev/predicting-student-exam-outcomes-with-machine-learning-in-ruby/</link><guid isPermaLink="true">https://oneruby.dev/predicting-student-exam-outcomes-with-machine-learning-in-ruby/</guid><pubDate>Tue, 30 Apr 2024 00:00:00 GMT</pubDate><description>Use Rumale to fit preprocessing on training rows only, evaluate a synthetic exam-outcome fixture and inspect threshold errors against a baseline.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>machine-learning</category><category>education</category></item><item><title>Implementing the Rasch Model in Python: Fix the Scale Before Fitting</title><link>https://oneruby.dev/understanding-and-implementing-the-rasch-model-with-python/</link><guid isPermaLink="true">https://oneruby.dev/understanding-and-implementing-the-rasch-model-with-python/</guid><pubDate>Wed, 10 Apr 2024 00:00:00 GMT</pubDate><description>Build and test a penalized Rasch estimator in Python, with a zero-mean difficulty constraint, checked gradients and extreme response cases.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>python</category><category>machine-learning</category><category>data-science</category></item><item><title>Ruby functional pipelines: make failure a value that stops the next step</title><link>https://oneruby.dev/exploring-advanced-functional-programming-techniques-in-ruby/</link><guid isPermaLink="true">https://oneruby.dev/exploring-advanced-functional-programming-techniques-in-ruby/</guid><pubDate>Sun, 24 Mar 2024 00:00:00 GMT</pubDate><description>Implement a small Ok/Err pipeline in Ruby. Test short-circuiting, map versus bind, false and nil values, and errors that should still raise.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>functional-programming</category><category>advanced</category></item><item><title>Grok-1&#39;s Mixture of Experts: Active Parameters Are Not Stored Parameters</title><link>https://oneruby.dev/unveiling-grok-1-the-frontier-of-ai-modeling/</link><guid isPermaLink="true">https://oneruby.dev/unveiling-grok-1-the-frontier-of-ai-modeling/</guid><pubDate>Sun, 24 Mar 2024 00:00:00 GMT</pubDate><description>Understand Grok-1 sparse routing with an executable eight-expert NumPy experiment that separates active computation from stored weights.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ai</category><category>llm</category><category>grok</category></item><item><title>Timing LLM inference in Python without inventing a CUDA speedup</title><link>https://oneruby.dev/accelerating-large-language-models-with-cuda-and-python/</link><guid isPermaLink="true">https://oneruby.dev/accelerating-large-language-models-with-cuda-and-python/</guid><pubDate>Thu, 29 Feb 2024 00:00:00 GMT</pubDate><description>Build a tested inference timer around an offline GPT-2 fixture, count generated tokens correctly and state exactly what a CUDA measurement would include.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ai</category><category>python</category><category>cuda</category></item><item><title>LeetCode in Ruby: test the invariant behind three useful patterns</title><link>https://oneruby.dev/mastering-leetcode-challenges-with-ruby/</link><guid isPermaLink="true">https://oneruby.dev/mastering-leetcode-challenges-with-ruby/</guid><pubDate>Wed, 28 Feb 2024 00:00:00 GMT</pubDate><description>Implement lower-bound search, a unique-character window and a min-heap in Ruby. Check duplicates, empty input and seeded comparisons with simple oracles.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>algorithms</category><category>leetcode</category></item><item><title>How to Train an LLM: Verify the Training Step Before Scaling It</title><link>https://oneruby.dev/how-to-train-a-language-learning-model-llm/</link><guid isPermaLink="true">https://oneruby.dev/how-to-train-a-language-learning-model-llm/</guid><pubDate>Mon, 26 Feb 2024 00:00:00 GMT</pubDate><description>Run a tiny Hugging Face language model on CPU and test label alignment, padding and saved weights while training and holdout losses diverge.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ai</category><category>python</category><category>llm</category></item><item><title>Ruby to PyTorch: test the process boundary before CUDA</title><link>https://oneruby.dev/harnessing-nvidias-cuda-power-with-ruby-for-enhanced-computing-performance/</link><guid isPermaLink="true">https://oneruby.dev/harnessing-nvidias-cuda-power-with-ruby-for-enhanced-computing-performance/</guid><pubDate>Sun, 25 Feb 2024 00:00:00 GMT</pubDate><description>Call a real PyTorch worker from Ruby with an explicit JSON contract, tested error paths and a clear boundary between CPU checks and CUDA execution.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>cuda</category><category>gpu</category></item><item><title>A Zilliqa allowance contract needs a withdrawal clock</title><link>https://oneruby.dev/harnessing-the-power-of-zilliqa-for-app-development-a-guide-with-a-practical-example/</link><guid isPermaLink="true">https://oneruby.dev/harnessing-the-power-of-zilliqa-for-app-development-a-guide-with-a-practical-example/</guid><pubDate>Thu, 07 Dec 2023 00:00:00 GMT</pubDate><description>Test the missing withdrawal interval in a Zilliqa allowance design with a JavaScript state model covering repeated calls, exact balances and integer limits.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>blockchain</category><category>zilliqa</category><category>smart-contracts</category></item><item><title>Build a Bayesian text classifier in Ruby, then check the arithmetic</title><link>https://oneruby.dev/building-a-bayesian-text-classifier-in-ruby-from-scratch/</link><guid isPermaLink="true">https://oneruby.dev/building-a-bayesian-text-classifier-in-ruby-from-scratch/</guid><pubDate>Tue, 05 Dec 2023 00:00:00 GMT</pubDate><description>Implement multinomial Naive Bayes with word counts, smoothing and log scores. Test unknown words, empty input and a small held-out fixture.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>machine-learning</category><category>nlp</category></item><item><title>Amazon Transcribe in Ruby: Separate Starting, Waiting and Reading</title><link>https://oneruby.dev/automate-audio-transcription-with-ruby-and-amazon-transcribe/</link><guid isPermaLink="true">https://oneruby.dev/automate-audio-transcription-with-ruby-and-amazon-transcribe/</guid><pubDate>Wed, 15 Nov 2023 00:00:00 GMT</pubDate><description>Separate Amazon Transcribe submission, bounded polling and authenticated S3 output reading in Ruby, with tested SDK stubs for failures and empty results.</description><author>alex@oneruby.dev (Alex Kholodniak)</author><category>ruby</category><category>aws</category><category>transcription</category></item>
</channel></rss>
