My Latest Article

Store collections in JSONB field

Read all my posts in the Archive

Web Log

The Origin of the Shell

Interesting memory of Louis Pouzin who coined the term Shell (and came up with the idea) in the first half of the sixties.

Data pipelines in Ruby on Rails

Nice example of gradually spliting big chunk of work into more and more granular jobs.

My Beef With RuboCop

This.

Raspberry Pi 400

Modern mini computer in keyboard form factor, in the style of my old Speccy is something i've been long waiting for!

How to Introduce Composite Primary Keys in Rails

Use composite primary keys to speed up querying big databases.

Rails Testing Antipatterns: Fixtures and Factories

Changes in ruby 2.7

Long due, at last read. Nice summary of the important changes the 2.7 brings - with code examples.

Writing a Ractor-based web server

Also watch this talk from RubyKaigi about Ractors.

How Sidekiq really works

Short end-to-end walkthrough of what happens behind the curtain when you call perform_async on your Sidekiq job until the moment it is executed.

The State of Ruby 3 Typing

Introducing RBS, Ruby’s new type signature language. What you can write using RBS, the key concepts of the design of RBS, and the benefits and tools that come with RBS.