#442 — March 21, 2019

Read on the Web

Ruby Weekly

Ruby 2.7 Adding Numbered Parameter Support? — An interesting feature here that lets you reference a parameter numerically, i.e. @1 for the first or @2 for the second. This is generating a fair bit of debate in the Rubysphere with even Matz being a little unsure. Here’s the commit that enables it in head.

Brandon Weaver

Redis Made Observable — RedisGreen provides better tools, instrumentation and support for high-performance Redis.

RedisGreen sponsor

What Causes Ruby Memory Bloat? — Some say fragmentation by Ruby or the memory allocator, but what is really going on and is there some way to trim Ruby’s memory usage?

Hongli Lai

Hongli's article provoked some interesting responses:

'Why I Believe Rails Is Still Relevant in 2019'“Rails is secure, open source and ubiquitous. The talent pool is deep. The framework is mature. The community is vibrant.” Lots of interesting discussion in the Hacker News thread too.

Brett Richardson

Jekyll 4.0 Alpha 1 Released — It’s early days for the next major version of the popular static site generator (which is heavily used well beyond the Ruby world). Breaking changes include dropping Ruby 2.3, as well as removing Pygments, rdiscount, and RedCarpet support (some truly classic Ruby gems!)

Jekyll

Lamby: Getting Rails on AWS Lambda with SAM — It’s early days for this project, and after tweeting with Ken, it seems he’s busy at work making it better, but anything that makes it easier to work with Ruby both serverlessly and on AWS is good in my book. The project is here.

Ken Collins

RubyConf Taiwan 2019's CFP Now Open — Coming up July 26-27 this year. CFP closes April 25.

RubyConf Taiwan 2019 event

💻 Jobs

Senior Software Engineer - Invoca (Santa Barbara, or Remote US) — Join our collaborative engineering team, deploying code to our production SaaS platform & public cloud infrastructure.

Invoca

Site Reliability Engineer @ Ably (Ruby, London/UK Remote) — Join the team behind a global fault-tolerant serverless data stream platform, using Ruby to automate Internet-scale infrastructure.

Ably Realtime

Find A Job Through Vettery — Vettery specializes in dev roles and is completely free for job seekers.

Vettery

📘 Articles & Tutorials

An Unusual RSpec Time Issue — An investigation into why a test was failing only 30 minutes per day and, to our surprise, it wasn’t because of timezones.

Daniel Vandersluis

A Look at Using Que Instead of Sidekiq for Background JobsSidekiq is awesome but sometimes alternatives make more sense. Que, shown here, uses Postgres as the backend store.

Pete Keen

Testing Rails Migrations — If you’re really dedicated to that 100% test coverage, you better start testing those migrations! But is it useful to do so? Hard to say.

Alberto Vena

Dynamo-ite! Using DynamoDB Without Blowing Up Your Budget 💥💸 — Join us as we face down the challenges of using DynamoDB cost-effectively with large amounts of frequently-updated data.

Honeybadger sponsor

How Ruby 2.6 Allowed Me to Contribute to httparty — In Ruby 2.6, Net::HTTP gained support for setting a write timeout. Igor noticed this and contributed a patch to the popular httparty HTTP client.

Igor Springer

▶  Discussing Ruby Bindings & Extensions with FFI with Sean Handley

Ruby Rogues podcast

In Defense of YAMLYAML is a particularly popular markup language in the Ruby space, especially for config settings such as in Rails. It’s faced a lot of criticisms in recent years but it’s not entirely fair.

Rod Johnson

Do You Really Know How public, private, and protected Work? — The author is betting that you don’t. In fact, it’s likely most Ruby developers don’t really understand the full effects of these modifiers, particularly the little used protected.

Błażej Pichur

How to Build a Dynamic Website Using Google Sheets and Sinatra — For the right use cases, this is a pretty compelling combination of frontend and backend. (Sorry about Medium’s code formatting.)

Jacob Whitish

🔧 Code & Tools

Ruby 2.5.5 Released — Includes a bug fix for a deadlock issue in multi-process Process.fork-based apps. (Note: 2.6.2 remains the latest Ruby version.)

ruby-lang

Undercover: A Tool to Stop You Shipping Untested Code — It’s like RuboCop but for code coverage rather than code style.

Jan Grodowski

Himl: An HTML-Based Indented Markup Language — Remember Haml? Himl is an attempt at a more HTML-flavored version of the same idea that attempts to meet HTML and Haml fans in the middle.

Akira Matsuda

Run Your CI/CD Pipelines on Azure Using GoCD

GoCD sponsor

table_print: Format Your Data in Tables at the Terminal — There’s an informative three-minute screencast of all the features. (Not new, but it's neat.)

Chris Doyle