Autotuner: Speed Up Your Rails App with GC Tweaks— You can get some serious performance boosts if you tweak Ruby's garbage collection settings, but there are a lot of them, and it’s easy to get lost. Autotuner is a new tool from Shopify that can provide suggestions on how to best tune things based upon actual data collected while your app is running. Peter Zhu |
The Future of Ruby in the Age of AI— Obie (long-time Rubyist and author of The Rails Way) is bullish on Ruby’s future alongside AI, and lays out a bold case for why he thinks Rubyists have a comfortable spot in what’s to come. Obie Fernandez |
📄 Articles, Tutorials & Videos |
▶ Hacking on YJIT: A Livestream— Aaron ‘tenderlove’ Patterson and Maxime Chevalier-Boisvert are both prolific Ruby contributors, so if you have the time, it’s great to see them chat and code. Aaron Patterson |
Fly.io ❤️ Kamal— Sam Ruby is researching changes for the Rails 8 Agile Web Development with Rails book and the forthcoming updates to Kamal and other deployment improvements are high on his list. Sam Ruby (Fly) |
Meta's New Llama 3 AI Chat Sucks at Ruby?— While dogpiling on big tech is fun, Justin saves us the time to evaluate Meta’s offering by asking it three questions and comparing the answers to GPT4. (Spoiler: GPT: 3, Meta: nil) Justin Searls |
TurboConfirm 2.0: Upgrade data-turbo-confirm to Support Custom Dialogs— If you’re building a modern Rails 7.1 app, this upgrades Turbo’s data-turbo-confirm feature with custom dialog support and the ability to customize things further. v2.0 brings more examples to the README, native <dialog> support, and the ability to invoke it directly from app code. RoleModel Software |
Groq-Ruby: A Ruby Client for a Super Fast LLM Platform— Groq is an interesting AI platform that uses its own custom hardware to run models at atypically high speeds. If you want to get Llama or Mixtral output at hundreds of tokens per second, it’s worth a try, and Dr Nic’s library makes it easy. (Groq has OpenAI API compatibility so you can use an OpenAI client with it too, but Groq-Ruby provides better abstractions.) Dr Nic Williams |
JSON::Stream 1.0: Streaming JSON Parser— A JSON parser built around a state machine that generates events for each state change in a memory efficient way – a bit like a classic XML SAX parser. David Graham |
|