Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Languages

Ruby

2026

Cloudflare

How Cloudflare WAF protects against ruby2shell (CVE-2026-132825)

Announcement 6 min +60 XP

ruby2shell (CVE-2026-132825) is a heap buffer overflow in Ruby's string case conversion: in 14 legacy single-byte encodings, uppercasing the German ß writes two bytes (SS) but reserves room for one, so 21 sharp s characters overflow by a byte, with proofs of concept reaching remote code execution.

Building an agentic harness that outlasts the model

Case study 8 min +80 XP

Shopify's AppSec team built Dispatch, a Ruby-orchestrated multi-agent harness that partitions codebases, runs parallel category-specific Hunter agents, verifies candidates with tests written by a different model inside each app's existing test suite, and opens draft fix PRs.

2025

Upgrade to Puma 7 and Unlock the Power of Fair Scheduled Keep-alive

Deep dive 11 min +110 XP

Puma 6 and earlier let a single keep-alive connection monopolize a thread for up to 10 requests via the "fast inline" loop originally built for HTTP pipelining, so under overload about one in ten requests waited roughly 10x longer while later keep-alive requests cut the line.

2024

Horizontally scaling the Rails backend of Shop app with Vitess

Case study 27 min +270 XP

Shop app outgrew a single MySQL database despite federating tables across databases, so the team moved its Rails backend to Vitess, sharding user-owned tables by user_id into a "users" keyspace and keeping the rest in an unsharded "global" keyspace.

2023

GitHub Engineering

How we organize and get things done with SERVICEOWNERS

Case study 4 min +40 XP

GitHub added a service layer between code and teams in its 4.2M-line Rails monolith: a SERVICEOWNERS file maps glob patterns, directories and files to named services, and a service-mappings.yaml ties each service to teams, managers, chat channels and tier ratings.

2022

The quest for software engineering knowledge.

Look:
Layout: