#574 — October 14, 2021 |
Ruby Weekly |
Embracing Infinite Loops with Ruby and Polyphony — See how infinite loops can be used as the basis for long running concurrent tasks here with Polyphony, a io_uring/libev oriented concurrency library, doing the heavy lifting. Sharon Rosner |
▶ 39 Talks from RubyKaigi Takeout 2021 — The popular RubyKaigi conference usually takes place in Japan each year but was held online again due to the ongoing world health problems. A wide array of both English and Japanese talks happened, including these:
RubyKaigi |
Complete Peace of Mind Rails Hosting — OpsCare is 100% peace of mind Rails hosting and support. Built on our 12-factor compliant custom stack, we provide comprehensive deployment, scaling and monitoring tools. OpsCare keeps your application performing, 24 hours a day - 7 days a week. OpsCare by reinteractive sponsor |
Ruby2JS 4.2.0: A Ruby to JavaScript Transpiler — A transpiler aimed at keeping your code looking ‘hand crafted’ rather than merely transpiled. There’s a live demo if you want to see it in action. Sam Ruby and Jared White |
QUICK BITS:
|
A Ruby One-Liners Cookbook — Ruby is a fantastic language for one-liners, whether in IRB or even from the command line. This cookbook is an extension of a epic list of them we’ve shared before, and it relates to our Tip of the Week further down this issue too :-) Sundeep Agarwal |
|
📕 Articles & Tutorials |
Upgrading to Zeitwerk — A walkthrough of what’s involved in upgrading a Rails 6 app from classic to Zeitwork mode, if you haven’t taken on Zeitwerk yet. Simon Chiu |
Ruby Safe Navigation — Using the lonely (or safe) operator ( Joël Quenneville |
Using DynamoDB in Your Rails App — Julie introduces DynamoDB and its concepts then closes by showing how using it can feel very much like Active Record. Julie Kent |
A Way to Detect Early Returns from a Block — An interesting little technique the author discovered via this Rails PR. Ben Sheldon |
▶ Discussing Polished Ruby Programming with Jeremy Evans — Jeremy joins the Rogues to discuss his new book, Polished Ruby Programming, and his opinions on and best practices for Ruby development. Ruby Rogues Podcast podcast |
▶ A Team Looks at Reducing Memory Bloat in a Rails App — A team has shared an 11-minute, originally internal-use-only, video of a post mortem of a Rails memory bloat issue they experienced. bigbinary |
Seamlessly Integrate Video into Your Ruby App Mux sponsor |
Organizing Business Logic in Rails with Contexts — Josef takes on the age-old conundrum of models vs service objects, adding a new take he gleaned from working with the Phoenix framework. Josef Strzibny |
▶ Discussing the Organization of Large Rails Apps with Jared White Code with Jason Podcast podcast |
🛠 Code & Tools |
redis-rb 4.5: The Ruby Client Library for Redis — The official Ruby client for the Redis data structure server. 4.5 adds support for a variety of command introduced in Redis 6.2 like Redis |
JRuby 9.3.1.0 Released — The latest release of the Ruby 2.6.x compatible line of the JVM-based Ruby implementation. JRuby Core Team |
A Better Way to Index Your Postgres Database: pganalyze Index Advisor — Paste your query and schema data and the free pganalyze Index Advisor recommends the ideal index for your query. pganalyze sponsor |
Informers: State-of-the-Art Natural Language Processing for Ruby — You can do sentiment analysis, question answering, name-entity recognition, and the latest feature is text generation. Andrew Kane |
benchmark-ips: 'Iterations Per Second' Benchmarking for Ruby — Improves the standard Benchmark functionality. Evan Phoenix |
DeadEnd: Searches for Unexpected ZomboCom |
Xcodeproj: Create and Modify Xcode Projects from Ruby
|
|
🕰 ICYMI (Some older stuff that may catch your eye...)
|