Software Engineering · 3 min read
N+1 queries in Rails: how to find them, fix them and keep them from coming back
What the N+1 problem is in Active Record, when to use includes, preload or eager_load, and how strict_loading stops regressions.
Writing
Every article starts with a short answer, shows real code where it helps and ends with its sources.
Software Engineering · 3 min read
What the N+1 problem is in Active Record, when to use includes, preload or eager_load, and how strict_loading stops regressions.
AI Engineering · 4 min read
What RAG is, how each stage works (chunking, embeddings, retrieval and generation), and how to build a local, private version with Ollama and Python.
Software Engineering · · 3 min read
What the N+1 problem is in Active Record, when to use includes, preload or eager_load, and how strict_loading stops regressions.
Software Engineering · · 3 min read
How to choose between B-tree, GIN, composite and partial indexes in PostgreSQL, read the plan with EXPLAIN ANALYZE, and create indexes without locking production.
AI Engineering · · 4 min read
What RAG is, how each stage works (chunking, embeddings, retrieval and generation), and how to build a local, private version with Ollama and Python.
Software Engineering · · 4 min read
How to build an availability monitor that catches real outages without false alarms: consecutive failures, detection time, states and a C# example.
No articles match these filters yet.
Building and running software: application performance, databases, APIs, testing and reliability.
Coming soon. How modern AI systems work, explained for engineers: models, embeddings, capabilities and limits.
Putting language models into production: retrieval, evaluation, orchestration across providers and local models.
Coming soon. Engineering decisions seen from the product side: scope, trade-offs, cost and shipping.
Coming soon. How software and AI change work, hiring, information and the way people find answers.
Coming soon. Notes from practice: lessons, mistakes and the way I approach engineering work.