🇺🇦 #607 — June 9, 2022 |
Ruby Weekly |
What Would It Take for Roda to Win? — The creator of the Bridgetown site generator (which itself uses Roda at its heart) explains why he’s such a huge fan of the popular routing-oriented webapp library and how it bridges the gap between small and larger Ruby webapps better than, say, Sinatra. Jared White |
'I Built a Ruby Parser' — A story of a side project that led to Natalie, an early-stage alternative Ruby implementation with ahead-of-time compilation, and the up-and-down journey of getting to something that works. (Natalie can already work with a reasonable subset of Ruby, as seen in an example like this.) Tim Morgan |
AppSignal Logbook: Team Discussion and Full Incident History — With Logbook you get the full incident history. Read and leave team comments, see which notifications were sent at what time, and see team activity for changes in incident states. It's easier than ever to see what the current state of an incident is. AppSignal sponsor |
Why GitLab is Sticking with Rails — The CEO of the popular git forge/devops platform reflects on why GitLab started with Rails (despite its founder coming from a PHP background) and why maintaining a ‘modular monolith’ continues to make sense for them. Sid Sijbrandij |
Sidekiq 6.5: Simple, Efficient Background Processing — 6.5.0 features refactoring of Sidekiq’s internals, beta support for Mike Perham |
Quick Bits:
|
|
📕 Articles & Tutorials |
Why Braintree Added Jitter to Active Job — Occasional spikes of failures led the Braintree team to a ‘thundering herd’ problem and why adding a little randomness to retry intervals calmed everything down. The results of this work ended up in Rails 6.1. Antross (Braintree / PayPal) |
Adding Feature Flags to a Rails App with Flipper — Flipper makes it reasonably easy to turn features on or off for specific users or groups of users, enabling a more granular way of testing new features on your app without throwing everyone in at the deep end. Hans-Jörg Schnedlitz (AppSignal) |
Couchbase Capella DBaaS: Store JSON, Query in Milliseconds Couchbase sponsor |
How to Query and Group Records by Duration in Active Record — How do you even save a “duration”, let alone query for records by that value? It’s easier than you think, says Steve. Steve Polito |
Using Active Record with SQLite in a JRuby Desktop App
|
🛠 Code & Tools |
ActiveRecord::Summarize: Improved Efficiency for Joshua Paine |
Strong Migrations 1.1: Catch Unsafe Migrations in Development — Detects potentially dangerous operations and prevents them running by default. Andrew Kane |
Observability for Your Ruby Test Suites — Get instant, real-time visibility into the performance of your Minitest and RSpec tests with Buildkite Test Analytics. Buildkite sponsor |
Phonelib 0.7: Validate Phone Numbers Using Google's libphonenumber Data — Can perform basic validations and formatting checks on international phone numbers. Vadim Senderovich |
cfndsl: A DSL for Generating AWS CloudFormation Templates
|
Faraday HTTP Cache: Faraday Middleware That Respects HTTP Caching
|
|