đșđŠ #â597 â March 31, 2022 |
Ruby Weekly |
On Sorbet, Stripeâs Type Checker for Ruby â Sorbet isnât new (it was open sourced in 2019) but Stripe is keen to share its successes with it and tell the story of why it's used over their entire Ruby codebase â some 15 million lines of code. Maybe itâs time to give it a try, if you havenât yet? Jake Zimmerman (Stripe) |
How to Use Active Record in a Library â (or, more broadly, ânot in a Rails app!') â While there are extensions to bring Active Record into things like Sinatra or Roda, what if you want to use AR in regular Ruby projects without any embellishments? Itâs more work than youâd hope, but quite doable. Postmodern |
Video for Ruby: Build Video in Just Two API Calls â Mux is API-first video infrastructure for developers. Live and on-demand video stream beautifully to any device, plus analytics are built-in so you can track engagement. Mux sponsor |
IN BRIEF:
|
SokoAdventure: A Ruby Powered Sokoban-Style Game â Push blocks, unlock doors, avoid enemies.. certainly more of a challenge than most Ruby programs ;-) The source is here and uses MiniGL and Gosu for rendering. If this gives you any hankering to do some gamedev of your own, the Ludum Dare game jam is on this weekend. Victor DS |
Mastodon 3.5: The Federated, Ruby-Powered Twitter-a-Like â The popular Rails-based âmicrobloggingâ system continues to improve and has now gained a feature even Twitter doesnât have.. the ability to edit posts! GitHub repo and release notes. Mastodon Team |
|
đ Articles & Tutorials |
Reducing Leaky Abstractions Introduced by Active Record â A demonstration of using a class method to tidy things up when youâre not quite ready to go all the way to creating query objects. Josh Clayton |
Switching From Marina Joranhezon |
Five Tips to Design Transactions in Rails the Right Way â Transactions are a fundamental part of maintaining data integrity, but add another level of complexity that can introduce problems into your app. PaweĆ DÄ browski |
A Rubyist's Walk Along the C-side (Part 8): Exceptions and Error Handling â Peter is back with the latest sea-front outing in his rather technical series on writing or working with C-based Ruby extensions. Peter Zhu |
Project Management for Software Teams Has Never Been Easier Shortcut (formerly Clubhouse.io) sponsor |
â¶Â  An Hour's Interview with David Heinemeier Hansson â If you want a Rails or code heavy show, this one isnât for you as it focuses more on topics like motor racing, politics, and the pros and cons of Twitter. Code with Jason Podcast podcast |
Rails 7's Support for Deferrable Foreign Key Constraints in Postgres
|
đ Â Code & Tools |
Andrey Novikov |
ParallelTests 3.8: More Cores == Faster Tests â Speed up Michael Grosser |
âPOST a JSON Payloadâ and Youâre Done with Webhooks Right?đŹ â Wrong! Hook Relay gives you reliable inbound and outbound webhooks with debugging in minutes. Learn why you need it now. Hook Relay sponsor |
Jekyll 3.9.2 Released â Say hello to Ruby 3.0 and 3.1 support in the popular static site generator. Jekyll Core Team |
Down 5.3: Streaming HTTP Downloads with Janko MarohniÄ |
Avo 2.0: An Admin Panel/Dashboard System for Rails Apps â Powered by Hotwire. Commercial but the source available version can be used for noncommercial purposes for free. Avo |
Parallel: Parallel Processing Made Simple and Fast â Uses processes, threads, or Ractors (Ruby 3.0+ only) to cover all bases. Michael Grosser |
Thanos: A Prototype Ruby to Go Transpiler â Very early days here but I like the idea (yes, we have a sister Go newsletter). Jonathan Paul Lukens |
sidekiq-limit_fetch 4.0: Sidekiq Strategy to Support an Advanced Queue Control
|
Prometheus Instrumentation Library for Ruby Apps v4.0
|