Ruby Service Objects with Sorbet

I really enjoy working with Sorbet. Actually I really like working with T::Struct, everything else that Sorbet provides is sort of just a bunch of nice bonus content. Today I'm writing about a small technique that I think illustrates the value of T::Struct and friends.

Using Que instead of Sidekiq

A project I've had on the back burner for quite awhile is my own little marketing automation tool. Not that existing tools like Drip or ConvertKit aren't adequate, of course. They do the job and do it well.

I enjoy owning my own infrastructure, however, and after Drip changed direction and raised prices I found myself without a home for my mailing list. I thought, why not now?

An Open Licensing Organization for Open Source Software

Mike Perham tweeted earlier today:

ASCAP is a voluntary organization in the US (there are others in the US and multiple other organizations internationally) that sublicenses music to radio stations and other public performance places. Music creators register their works with ASCAP, music users pay an annual license fee to ASCAP and report back the music they play, and then ASCAP pays out the majority of that license fee to the creators who's music gets played.

The more I think about it, the more I'm convinced that this is the route we should take as an industry.

Here's how I think it would work. I'm going to refer to this theoretical copyright collective as OSCC (for Open Source Copyright Collective) throughout this document. It's a terrible name, I know, but we'll think of something better.