đșđŠ #â600 â April 21, 2022 |
đ Somehow we've made it to issue 600 â thanks for your continuing support! Can we make it to 1000? Watch this space in April 2030.. đ |
Ruby Weekly |
Ruby's YJIT Ported to Rust â We briefly mentioned the proposal for this a few months ago, but things have moved fast and now a Rust version of YJIT has already reached parity with the C version! Look for this to come in 3.2. And if youâre asking.. why? Maintainability and management of complexity, mostly. Ruby Core |
âïž Â How to Create a Modern CRUD App with Rails and React â A thorough, and newly updated, tutorial covering building a fully functional CRUD app with Rails 7, SQLite, esbuild, React 18, hooks, React Router, and more. An ideal guide if you want to get a feel for all the moving parts involved in such an app. James Hibbard |
The Best Deployment Tool for Rails â Deploy Rails apps on any cloud, with native support for Rails conventions, full databases support, replication & backups, powerful access management & traffic control features. Try it today for free with an extra $100 in free credits with the code:Â Cloud 66 sponsor |
Ruby 3.1 Introduces Variable Width Allocation for Strings â This is deep stuff that you donât need to know, but itâs reassuring to know a lot of work is going into making Ruby more efficient. Variable Width Allocation is currently limited to Murtaza Bagwala (Saeloun) |
â¶Â  A Chat with Rubyist Mike Perham, the Creator of Sidekiq â Mike is famous in the Ruby world both for developing the Sidekiq background job system, but also managing to turn it into his full time business for ten years now. This fun 50-minute interview digs more into the business side of things, as well as what you should consider if you want to follow his kind of âdevelopreneurâ path. Alphalist podcast |
Code Ranges: A Deeper Look at Ruby Strings â If you think string representation and encodings are esoteric, wait until you read how Ruby uses code ranges to optimize scanning a string for valid, encoded characters. Kevin Menard (Shopify) |
Quick Bits:
|
|
đ Articles & Tutorials |
Custom Ranges in Ruby â JoĂ«l Quenneville |
The Underrated Power of Seb Wilgosz |
How to Fake Time in a Postgres Database â Mocking the time in Ruby itself isnât too tricky (Timecop to the rescue) but what about when it comes to working with databases? Timecop can also help here, but thereâs a lot more to think about. Justin Searls |
Keep Up with the Latest in Startups, Tech, & Programming in Just 5 Min â TLDR is a daily newsletter with links and TLDRs of the most interesting stories in startups đ, tech đ±, and coding đ» TLDR Newsletter sponsor |
Testing Techniques: The 'I/O Table' â Covers some basic principles of good tests before focusing on improving maintainability by thinking about inputs and outputs and refactoring around that mental model. Thiago AraĂșjo Silva |
â¶Â  How to Add Filtering and Pagination to Data Tables with Hotwire â Once a reasonably clunky feature to add but ânow that we have Hotwire, adding filtering to a table with pagination can be done in just a few minutes.â Cezar Halmagean |
The Differences Between Benito Serna |
đ Â Code & Tools |
command_mapper: A Way to Map External Commands to Ruby Classes â Came out last year but somehow we missed it till now. Think command line argument parsing but within Ruby itself and in a more declarative, higher level way â you really need to see it to get it. GitHub repo. Hal Brodigan |
Bumbler 0.9: Track The Load Progress of Bundler-based Projects â Find those particularly slow loading gems in your projects. Ian MacLeod |
Speed Up Your Builds with Buildkiteâs New Plan Buildkite sponsor |
Blazer 2.6.0: A Ruby-Powered Business Intelligence Tool â A system for putting together charts and dashboards based on business data queried with SQL. Supports a wide variety of data sources. Andrew Kane |
sidekiq-scheduler 3.2: Lightweight Job Scheduler Extension for Sidekiq
|
Chatwoot 2.4: Simple, Open Source Live Chat Software
|