#571 — September 23, 2021 |
Ruby Weekly |
Using Ruby for Ebook Publishing — The author of Deployment from Scratch enumerates how he uses Ruby in the publishing process, including PDF (and PDF preview) generation, text manipulation, image preview, and more. I'm always a fan of using Ruby as glue in non-Web scenarios like this! Josef Strzibny |
TenderJIT: A JIT for Ruby, Written in Ruby — An interesting project being worked on by esteemed Ruby and Rails core team member Aaron ‘tenderlove’ Patterson. If this sort of thing interests you, he’s running a live session on September 30 which digs into how JITs work and how to implement one, and you can register here. Aaron Patterson |
Building a Reliable Webhook Delivery System Sucks — Skip the grunt work and let Hook Relay manage all your webhooks for you. Inbound and Outbound? ✅ Automated retries plus delivery history for your users? ✅ Visualize Stripe-quality webhooks for your app, now click here to make it a reality in minutes. Hook Relay sponsor |
Building a Real-Time Chat App in Rails with ActionCable and Turbo — A walkthrough creating users, chat rooms, and private chats using the shiniest, new tools in Rails. Abiodun Olowode (Honeybadger Development Blog) |
JRuby 9.3.0.0 Released — The popular JVM-based (Java 8-17 supported, as well as OpenJDK) Ruby implementation gets a new release which is now updated to be compatible with Ruby 2.6.8 standards (in comparison, JRuby 9.2.x was/is Ruby 2.5 compatible). JRuby Core Team |
📕 Preorder for 'Ruby GC in Under Two Hours' Book — Jemma Issroff (of Tip of the week fame, amongst other things) has been writing a book on the Ruby garbage collector that is focused on loading you up with info in as short a time as possible. Mark this down and sweep it up? Jemma Issroff |
|
📕 Articles & Tutorials |
How to Reduce Memory Bloat in Ruby — A handful of tips, but with more of an introduction to some of what’s going on behind the scenes in Ruby regarding memory management. Kumar Harsh |
'Move Over Rake, Thor is the New King' — Rake is the longest running and most popular task runner in the Ruby space but Thor presents a compelling alternative (and is reasonably long running itself). Ben Simpson |
Free Index Advisor for Postgres: Get Ideal Index Recommendations — Paste your query and schema data and the pganalyze Index Advisor recommends the ideal index that covers a specific query. pganalyze sponsor |
Let's Read Eloquent Ruby, Chapter 4 — The latest chapter in Brandon’s walk through Russ Olsen’s Eloquent Ruby covers some string methods. Brandon Weaver |
Buffered IO Streams in Ruby — Ruby IO may not immediately write where you are asking it to. This post looks at where data written to a stream goes and when it may or may not be committed where you would expect it to. Kevin Murphy |
Use Andy Croll |
Quick Tip: Going Cookie-Free with Rails — Respect your users’ privacy with this quick lambda. Ryan Baumann |
Rails 7 Adds Deepark Mahakale |
Mapping Rails to Hanami — A side-by-side look at the various abstractions of each framework, and while this definitely is Hanami-colored, the mapping is quite informative. Hanami Mastery |
Teaching by Filling in Knowledge Gaps — A good idea and something that used to really keep the blog ecosystem going at one point. Julia Evans |
🛠 Code & Tools |
Power Tools for Analyzing Your Heroku Logs — The biggest tool here is Angle Grinder, a real-time log analysis tool that makes parsing, extracting, and aggregating bits out of your logs simple. Rails Autoscale |
Taylor: An Open-Source Game Engine with Ruby Scripting — Taylor is implemented in C++, but the scripting language is mRuby. Sean Earle |
ActiveEventStore: Rails Event Store in a More Rails Way — If you’ve used Rails Event Store, you know it’s great but pretty advanced. This is an effort to make using RES more like the other Active* frameworks. Vladimir Dementyev |
Seamlessly Integrate Video into Your Ruby App Mux sponsor |
RSpec Tracer: A Specs Dependency Analysis Tool — Maintains a list of files used for each test which enables skipping tests in subsequent runs if none of those files change. Abhimanyu Singh |
ffi-libc: Useful Ruby FFI Bindings for Postmodern |
Ruby Packer: Pack a Ruby App into a Single Executable
|
Rambulance 2.0: Dynamically Render Error Pages or JSON Responses for Rails Apps
|
|