Ruby Icon

Ruby

Ruby is a scripting language designed for simplified object-oriented programming.
267 Stories
All Topics

Chris Frank github.com

Dynamically filter and sort data via URL params in any Rack app

If your Ruby/Rack app renders a list of database records, and you want those records to be filterable via URL params, Rack::Reducer can help. I like that this is Rack-focused, since Rails already has plenty of solutions in this space. The README includes examples of use with Sinatra, Hanami, Roda, and other commonly used Ruby web libraries.

read more...

David Heinemeier Hansson Avatar The Changelog #286

JavaScript sprinkles in Basecamp turned Stimulus

David Heinemeier Hansson (DHH) shares the story of how JavaScript sprinkles in Basecamp evolved into a full-fledged framework called Stimulus. We talked about ins and outs of Basecamp as it is today, Ruby, JavaScript, David's somewhat new found love for JavaScript, how they open source because they can, and David's new YouTube series called "On Writing Software Well".

read more...

Ruby Icon github.com

A lightning fast JSON:API serializer for Ruby objects

The Netflix team managed to squeeze out some huge performance improvements over Active Model Serializers: We want to ensure that with every change on this library, serialization time is at least 25 times faster than Active Model Serializers on up to current benchmark of 1000 records. At first glance I thought this was a drop-in replacement for AMS, which would've been epic, but it has its own API. That being said, its API is pretty similar and looks easy to use. Exactly how much faster is this library? It can serialize 250 records in 3.01 ms vs AMS's 138.71 ms!

read more...

Linux Icon jvns.ca

How do you spy on a program running in a container?

Julia Evans: Yesterday I added Linux container support to rbspy, so that an instance of rbspy running on the host machine can profile Ruby programs running in containers... I thought it would be fun to explain what adding “container support” involves in practice! (rbspy is her sampling profiler for Ruby.) This bit is interesting, and why this post isn't tagged with the Docker topic: We didn’t need to care about Docker or anything like that – it’s irrelevant what container runtime our containers are using, and we certainly don’t interact with Docker at all. I guess a few simple syscalls is all it takes!

read more...

Mike Perham Avatar The Changelog #274

Faktory and the future of background jobs

Mike Perham is back for his 4th appearance to talk about his new project Faktory, a new background job system that's aiming to bring the best practices developed over the last five years in Sidekiq to every programming language. We catch up with Mike on the continued success and model of Sidekiq, the future of background jobs, his thoughts on RocksDB in Faktory vs BoltDB, Redis, or SQLite, how he plans to support Sidekiq for the next 10 years, and his thoughts on Faktory being a SaaS option in the future.

read more...

Sean Griffin Avatar The Changelog #270

Rails as a Day Job, Diesel on the Side with Sean Griffin

Sean Griffin joins the show to talk about doing Rails full-time, his love of Rust. and his project Diesel - a safe, extensible ORM and query builder for Rust. We discuss Sean’s path to working full-time on Rails, what he works on specifically, why Rust, why Diesel, and how much of Diesel’s design and featureset is a product of his experience with ActiveRecord and Rails.

read more...

Hongli Lai Avatar The Changelog #136

Phusion Passenger (aka Ruby Raptor) with Hongli Lai

Adam and Jerod talk with Hong Lai, one of the co-founders of Phusion. His company recently got a lot of attention for their upcoming version of Phusion Passenger, which they decided to call Ruby Raptor in a clever marketing play to get people excited about Passenger again. It worked, and we invited Hongli on the show to talk about Passenger/Ruby Raptor, the challenges of marketing open source, and how to get the internet excited about your next version.

read more...
0:00 / 0:00