Sidekiq has a TUI now: https://www.mikeperham.com/2026/03/10/sidekiq-in-the-terminal
I've been helping build it!
👷 Software developer
Rubyist 📕 Reader
Sidekiq has a TUI now: https://www.mikeperham.com/2026/03/10/sidekiq-in-the-terminal
I've been helping build it!
My world is shattered.
For years I've told coworkers who write RSpec blocks with `describe ".some_class_method"` to instead use "`describe "::some_class_method`" (with a double colon instead of a dot).
But today, I discovered that RSpec itself uses the dot notation for describing class methods: https://github.com/rspec/rspec/blob/main/rspec-core/spec/rspec/core_spec.rb#L76-L160
So here is my public apology to everyone affected by my misguided pedantry.
I'm quitting Audible. I was convinced by Cory Doctorow's book Enshittification.
I only ever sign up for the 3 months per year of them luring me back at $8/month, but now I won't even do that anymore.
Instead I'll use https://libro.fm. They're DRM-free, they support indie bookshops, and they're not Amazon!
@esparta@ruby.social This :: isn't actual Ruby syntax, it's just in the string after RSpec's describe. But I thought it should be :: because that's how class methods are denoted in Ruby docs.
Or add a REPL command/method:
In .pryrc:
Pry::Commands.block_command "cp", "Copy last command to clipboard" do
IO.popen("pbcopy", "w") { |cb| cb.write(pry_instance.input_array.last) }
end
In .irbrc:
def cp
IO.popen("pbcopy", "w") { |cb| cb.write(Reline::HISTORY[-2]) }
end
@TALlama@mastodon.social That's neat! Unfortunately it copies the inspected value rather than the raw output, so when I paste into my editor I get e.g. "def some_method(a)\n puts a\nend" rather than:
def some_method(a)
puts a
end
Still, copy and paste could come in handy.