#485 — January 23, 2020 |
Ruby Weekly |
Yukihiro Matsumoto (Matz) Interview from RubyRussia — An enjoyable chat where the “nice” of Matz really shines through. He covers topics like language design successes and failures and how type checking is coming to Ruby. There's a 20 minute video version available too. Evrone |
Modern Ruby Serializers — A look at the history of various serializers, leading to the introduction of SimpleAMS, a new serialization library by the author and how it compares to other options. Filippos Vasilakis |
The Easiest Way to Run Redis — Better monitoring, seamless scaling, durable and portable Redis hosting supporting all the latest features. RedisGreen sponsor |
MIR: A Lightweight JIT Compiler Project — Built after reflections on the disadvantages of Ruby’s MJIT approach, this post digs into the creation of a JIT compiler project that aims to be faster, create smaller binaries, and support multiple languages. If you don’t understand more than 10% of this, though, don’t be ashamed as it’s very technical. Vladimir Makarov |
Rails is Fast: Optimize Your View Performance — Lots of techniques listed herein, like caching, websockets, Ajax, and more. Swaathi Kakarla |
ReverseCoverage: Find Which Tests Execute Which Lines of Code — An introduction to a tool (ReverseCoverage) that can show which tests execute which lines of code. Mattia Roccoberton |
💻 Jobs |
Mid-Senior Software Developer - Ruby (London, UK) — We’re a SaaS business that helps small companies Make Work Better. 🚀 CHARLIEHR |
Full-Stack Software Engineer at Modern Treasury (San Francisco) — Modern Treasury builds innovative payments solutions that delight both engineering and finance teams. ModernTreasury |
Find a Job Through Vettery — Vettery is completely free for job seekers. Make a profile, name your salary, and connect with hiring managers from top employers. Vettery |
📘 Articles & Tutorials |
Shadi Rezek |
▶ How to Use AWS Cloud9 for Rails Development — Cloud9 is an in-browser editor acquired and now offered on AWS that lets you work on apps in the cloud as if they were local. If you haven’t yet looked into a system like this, this 12 minute video provides a nice taster. GoRails |
Founders/CTOs: We Upgrade Rails So That Your Team Doesn’t Have To Upgrade Rails sponsor |
Changing a UI Control and DB Schema on a Production Rails App — An explanation of an incremental process to move from a Andrey Koleshko |
Ruby 2.7 Allows Placing of Comment Lines Between Fluent Dots — It’s a small thing, but I have wished for this in the past. Aditya Narsapurkar |
The Basics of Migrating to Strong Parameters — Rails 4.0 introduced strong parameters which superseded protected attributes as a way to avoid mass assignment security issues in your apps. If you’re still using protected attributes anywhere though, you may benefit from this guide. Luciano Becerra |
Continuous Deployment of a Ruby App to Minikube with Google's Skaffold — If you want to use Kubernetes for your local development, I am not sure it gets easier than this. Salahutdinov Dmitry |
Rails Flaky Spec Solutions — Fixing flaky tests in a Rails app is so frustrating that we often just comment out the test and cross our fingers. This example project aims to make folks better at fixing these tests so we can use our fingers for typing. Dan Mayer |
🛠 Code and Tools |
ruby-warning: Add Custom Processing for Warnings — Adds methods so you can customize how warnings are processed in Ruby. Jeremy Evans |
Byebug: A TracePoint-Powered Ruby Debugger — Uses the TracePoint API for execution control and Ruby’s built-in debug inspector API for call stack navigation so you can run code line by line and set breakpoints. It’s been around a while but a new release this week adds Ruby 2.7 support. David Rodríguez |
Introducing Automated Postgres EXPLAIN Plan Insights on pganalyze — pganalyze can now automatically collect Postgres EXPLAIN plans and provide a visual representation of your costliest plan nodes. pganalyze sponsor |
crass: A Ruby CSS Parser Compliant with the CSS Syntax Level 3 Spec Ryan Grove |
Cache Crispies: A Fast, Flexible Rails Serializer — Sometimes a gem is so cleverly named that you just have to use it. In this case, you might get some real benefits, too. Adam Crownoble |
Quickbooks-Ruby: Use the Quickbooks Online REST API V3 from Ruby Cody Caughlan |
Commander: A One Stop Shop for Building Command Line Tools — A golden oldie that has had its first update in over a year. Commander brings together features from other libraries to let you more quickly make CLI apps with option parsing, docs, notifications, terminal interaction, etc. Gabriel Gilder and others |
Truemail 1.5.1: A Configurable Plain Ruby Email Validator — Offers three levels of email validation: regex, MX records, and SMTP. Vladislav Trotsenko |
Loaf: Manage and Display Breadcrumb Trails in Rails Apps Piotr Murach |
🎁 Last but not least.. |
JetBrains Mono: A Free and Open Source Typeface for Developers — On social media I notice that the topic of fonts is always a popular one with developers. JetBrains, the IDE folks, have released a new open source font for your IDE or terminal of choice and.. it’s pretty nice. Very legible and includes monospace ligatures and italics too. JetBrains |