John Hawthorn

John Hawthorn

@jhawthorn.com

Writing code for @Shopify, Rails, and Ruby. Previously @GitHub. he/him | Victoria, BC | jhawthorn.com

1.1K followers230 following59 posts

John Hawthorn reposted

We released Ruby 4.0.9, 3.4.12, and 3.3.13, and published an announcement about Regexp compilation fixes. www.ruby-lang.org/en/news/2026... If your application compiles a regular expression from an untrusted string, please update your Ruby to one of those versions.

ruby-lang.orgRegexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 | RubyWe have released Ruby 4.0.9, 3.4.12 and 3.3.13. They fix several bugs in Ruby’s regular expression engine (Onigmo) that GitLab found could be used for remote...

If you haven't upgraded yet, Ruby 4.0's garbage collection is generally much faster than 3.4. This patch release fixes the one area there had previously been a notable regression (allocating/freeing Classes).

k0kubun@k0kubun.com

Ruby 4.0.4 Released www.ruby-lang.org/en/news/2026... This is a routine update that includes bugfixes. We recommend upgrading your Ruby version at your earliest convenience.

John Hawthorn reposted

John Hawthorn reposted

hey folks, i’m a rails / ruby dev with a bit over 10 years of experience professionally and i was just hit with my second layoff. looking for a new role would love to chat! #rails #ruby.

John Hawthorn reposted

Development of Ruby 4.1.0 started ``` ruby 4.1.0dev (2025-12-26T00:31:28Z master 290fa0d8b4) +YJIT +MN +PRISM [arm64-darwin25] ```

I have a hard time placing exactly what it is, but something about `bat` and other "modern" TUI tools really rubs me the wrong way. They're clearly well made, I think it's more of an aesthetic thing where that is exactly what I was running away from by using command line tools.

I don't mean to single out bat, I think it's just the first tool that crosses the line. Something like `lazygit` is maybe a clearer leap. It's obviously a good tool people like, but as a fan of the command line I don't get why one would prefer that over the same tool as a full graphical GUI.

John Hawthorn reposted

One of the AI generated security reports attached a bunch of MD files, and this screenshot was taken from the end of one of them. This gives me lots of feelings, and none of them are good

John Hawthorn reposted

I'm a nervous flier, but fortunately I've downloaded the new season of Nathan Fielder's show "The Rehearsal" to distract me. No spoilers please, I want to go in blind

John Hawthorn reposted

If you read @byroot.bsky.social 's "What's the deal with Ractors?", and were bummed at how poorly they handled JSON parsing, then @jhawthorn.com has brightened your day! Frozen interned strings are now stored in a lock-free hash, making the Ractor example 2x faster than the single-threaded example!

John Hawthorn reposted

Announcing Dial, a Rails application profiler: github.com/joshuay03/dial I've longed for a free tool that provides Datadog-like profiles, with accurate GVL and GC activity. Thanks to @jhawthorn.com's amazing work on Vernier, all I needed to do was integrate it with Rails and let it do its thing.

github.comGitHub - joshuay03/dial: A modern profiler for your Rails applicationA modern profiler for your Rails application. Contribute to joshuay03/dial development by creating an account on GitHub.

John Hawthorn reposted

Replying to @getajobmike.ruby.social.ap.brid.gy

What's new? - Quickly and easily profile your jobs in production with Vernier integration. - View multi-day job execution metrics to see performance over time. - Heavily rewritten Web UI much faster than 7.3.0. - Many more small improvements Here's Web UI 7.3 vs 8.0.

After an incredible 6.5+ years, Friday was my last day at GitHub. I'm so thankful to have gotten to know and have worked with such a smart and thoughtful group of people. I'm excited to continue working on Ruby as part of the Ruby and Rails Infrastructure team at Shopify ❤️ 💎