#​721 — September 26, 2024

Read on the Web

Together with  JudoScale

Ruby Weekly

The Ruby on Rails Community Survey 2024 Results — Every two years, Planet Argon has run this well received survey and now the results from over 2700 Rubyists are here to enjoy, complete with comparisons over time. We get to learn what Rubyists' favorite podcasts are, popular livestreamers, top gems, and also that Stimulus has Stimulus has overtaken React as the #1 JavaScript library used.

Planet Argon

Ruby’s New Parser: Why Prism is the Future of Ruby Development — A summary of ▶️ a 25-minute podcast interview with the creator of Kevin Newton, the architect of Ruby’s new Prism parser.

Jared Norman

🔥 In the interview, we learn that Kevin's least favorite aspect of Ruby syntax is the 'flip flop' operator. I'm amused it still works, as it was long discussed to be removed one day, but it's still in my Ruby 3.3.. 😅 If you actually use it frequently, let me know!

Prod Alerts? You Should Be Autoscaling — Workloads are variable, and we scale your capacity accordingly. Batch jobs? Scaled up. Quiet night? Scaled down. Traffic spike? No problem! Sidekiq, Solid Queue, Delayed Job? We support them all.

Judoscale sponsor

A Lightweight Introduction to mrubymruby is an official (it’s led by Matz!) standards-compliant Ruby implementation focused on being lightweight and embeddable into other systems. If you’ve never played with it, luckily it’s pretty easy to get started.

Paweł Świątkowski

IN BRIEF:

A Terminal–Based Game in 150 Lines of Ruby — This is a fun little tutorial to build a Halloween-themed game that uses emojis for the graphics and other game constructs, like an event loop and collision detection.

Dmitry Tsepelev

A Brief Look at the New Kamal Proxy Replacing Traefik — Good news for those who found Traefik to be the most difficult part of Kamal to grok. It also brings in new features, like supporting multiple apps on the same host, and simpler configuration.

Josef Strzibny

🚀 Stuck on Ruby 2.7? Need to Upgrade on a Budget? — Gradually pay down tech debt: Stop postponing your upgrade and ship it with our cost-effective maintenance service.

Bonsai by FastRuby.io sponsor

📺 20 Years of JRuby - Where We've Been and Where We're Going – Charles told the entire JRuby story at the recent JVM Language Summit. Charles Oliver Nutter

📄 As Rails Developers, Why We Are Excited About PostgreSQL 17 – Postgres 17 is expected to have its final release later today. Benoit Tigeot

🐘 If you're a Postgres user, check out our Postgres newsletter.

🛠 Code & Tools

37Signals Unveils Hotwire Native — In conjunction with Rails World 2024 starting today, 37signals has a big Hotwire related announcement – a new framework for building ‘native’ mobile apps (on iOS and Android) in a ‘web-first’ way, backed by a Hotwire-powered webapp. (It’s arguably not a ‘Ruby’ project at all, but Hotwire’s suite of technologies are targeted at Rails developers and most commonly used in our community.)

Jay Ohms (37signals)

Pay 8.0: A Payments Engine for Rails Apps — Supports Stripe, Paddle, Braintree, as well as a ‘fake’ processor for trials, freebies, testing, etc. v8.0 can now sync one-time or subscription transactions from Paddle and Stripe, adds Lemon Squeezy support, and more.

Chris Oliver

PSA: The Azure-Storage-Blob Library Is Officially Toast 🚨 — Joé Dupuis has you covered! Meet azure-blob—a leaner and more efficient way to interact with Azure Blob Storage.

Test Double sponsor

sqlite3-ruby 2.1: Ruby Bindings for SQLite — You surely know this popular library, but v2.1 notably drops Ruby 3.0 support but introduces significant improvements to fork safety, which will become all the more important for Rails 8 users.

Buck, Lavena, Patterson, Dalessio, et al.

Job Iteration 1.6: Makes ActiveJob Jobs Interruptible and Resumable — ActiveJob extension that makes jobs interruptible and resumable, saving all progress that the job has made. v1.6 adds interruption handlers for GoodJob and Solid Queue.

Shopify

WEBrick 1.8.2: Ruby's Legacy HTTP Server Toolkit — WEBrick is best known as a simple, pure Ruby HTTP server that was in the standard library for many years (though is now in its own separate gem). v1.8.2 fixes a lot of small issues, adds Ruby 3.1 and 3.2 testing to the mix, and resolves an HTTP request smuggling vulnerability.

Ruby Core Team

P.S. It's early days, but Flecks, a new project out of the Phlex-ecosystem, is worth keeping an eye on. The aim is to render IO-bound content asynchronously and stream it into a wrap-around shell in a single HTTP response. Joel Drapper ▶️ shows it off in this video on X.