Leonid Svyatov
[≡]

$ tail -f ~/blog

What I learn building software, fixing bugs, and testing the tools I rely on.

2026-07-21 · 4 min read Ruby shipped the fix for SleeperGem 45 days before it happened How Bundler cooldown could have blocked the SleeperGem releases, what the published download figures mean, and where delayed updates cannot protect you. # ruby · security · opensource · devops 2026-07-20 · 22 min read Learn Big O by measuring it, in Ruby Measure algorithm growth in Ruby by doubling inputs, compare Big O classes, and learn where timing estimates fail and how to check complexity in CI. # ruby · performance · algorithms · testing 2026-07-17 · 19 min read Keeping code alive on a DOM you don't own: 12-year Chrome extension story Lessons from maintaining Hacker News Sorted: resilient DOM selectors, failure reporting, daily compatibility checks, timestamps, and extension design. # webdev · showdev · javascript · sideprojects 2026-07-16 · 21 min read The four places a hand-rolled Ruby facade gives out When a plain Ruby facade needs more: memoization, namespaces, reusable packs, and error handling, with examples from the briefly gem. # ruby · rails · showdev · opensource 2026-03-03 · 8 min read The complete guide to `rails new` in Rails 8.1 A guide to Rails 8.1 rails new options, covering databases, frontend tools, deployment, testing, skipped frameworks, and common application recipes. # ruby · rails · tutorial · beginners 2026-02-27 · 2 min read I got tired of looking up `rails new` flags, so I built a wizard for it Create Rails applications with an interactive CLI wizard that explains rails new options, remembers choices, saves presets, and shows the final command. # ruby · rails · cli · productivity 2024-03-03 · 2 min read clsx for Rails views Build conditional CSS class strings in Rails views with clsx-rails, using strings, arrays, hashes, deduplication, and the shorter cn helper. # rails · ruby · css · opensource 2020-04-24 · 1 min read How to hide Ruby 2.7 deprecation warnings system-wide Are you using rbenv? Want to hide Ruby 2.7 deprecation warnings system-wide and not to deal with it on a per-project basis? This small tutorial is for you! # ruby · rails · rbenv · tutorial 2019-03-04 · 1 min read Keep your Javascript dependencies under control The best way to explore the size and content of your frontend. # javascript · webpack · webdev · rails 2019-02-24 · 3 min read Easier usage of Rails 5.2 credentials and app-specific configuration Have you ever thought “isn’t there a simpler, more concise way to write `Rails.application.credentials[:something]`?” This post suggests a solution to this problem. # ruby · rails · tutorial · learning

Hotkeys