This is my first gem by the way! π₯³
If you've had fun reading this, give it a little β
@lucasm0n.bsky.social
Software Engineer @Lifen & Ruby enthusiast
This is my first gem by the way! π₯³
If you've had fun reading this, give it a little β
From naive thread-joining to sophisticated monitoring - this article covers:
β’ Thread safety challenges in Ruby
β’ RSpec internals and context preservation
β’ Performance benchmarking across real Rails apps
β’ Ruby interpreter compatibility gotchas
The problem: Tests that never finish, wasting CI resources and delaying deployments
The solution: Smart timeout protection with clear error messages
π Full technical writeup:
dev.to/lcsm0n/how-t...
π§΅ Just published my deep dive into building RspecTimeGuard - a gem that stops RSpec tests from hanging indefinitely!
π Gem: github.com/LucasMontori...
#Ruby #RSpec #Testing #Rails #OpenSource #TechWriting
TIL about ActiveSupport inflections. Sometimes Rails gets pluralization wrong - for me, this happened with 'Bonus'. Try creating a model with that name and watch what happens π
It's easy enough to fix, with the right initializer.
#rubyonrails #ruby
Very interesting content on query planning and SQL optimisation π
15.05.2025 12:09 β π 1 π 0 π¬ 1 π 0As announced at RubyKaigi today, I've been working on a new HTML-Aware ERB Parser that I just released today.
Introducing Herb β a fast, modern, and HTML-aware ERB parser, designed from the ground up for smarter developer tooling.
#rubykaigi #rubykaigi2025
Introducing RubyEvents.org: RubyConferences.org and RubyVideo.dev Join Forces to Build the Ruby Events Platform.
Learn more about it here:
marcoroth.dev/posts/introd...
Nobody uses Ruby on Rails anymore? The data suggests otherwise π
Crunching some data from rubygems.org gives you Rails gem downloads per year. Doesn't look like it's going down to me.
Agentic editors are usually not my thing, but I might give this one a try π
#Zed 's team has been doing some great work to propose such an easy-to-use and performant editor.
Whenever I get a new laptop, I feel the irresistible urge to improve my setup. You know, tweaking the ol' Vim config, maybe creating a script or two to automate a few things.
It's not a rabbit hole to get lost in at all.
Pic completely unrelated.
https://www.meetup.com/belfastruby/events/306590652/
I did a thing. If you know a Rubyist or Ruby-friendly person near Belfast, let them know. Our goal is to reach the heights
@inazarova.bsky.social has achieved with SFRuby π
www.meetup.com/belfastruby/...
I'm looking forward to it! π
20.03.2025 17:38 β π 1 π 0 π¬ 0 π 0Source code is just plain text.
A parser transforms it into expressions that can be evaluated by an interpreter.
Expressions form the basic building blocks of methods and objects.
Objects send messages to each other, and process the messages they receive via their methods.
(and so on...)
I'm really happy that I'll be going to #BrightonRuby this year for the first time π₯³
17.03.2025 17:23 β π 0 π 0 π¬ 0 π 0PostCSS creator @en.sitnik.ru has 20+ years of open source experience with multiple success stories. In this new post, he shares practical steps on how to make your open source popularβand why to make open source at all.
evilmartians.com/chronicles/h...
More efficient, cheaper AI may cause demand to explode and energy consumption to soar, writes Robert Diab, who says we wonβt make real progress on environmental sustainability in AI without binding obligations on companies to be more transparent.
11.03.2025 12:57 β π 16 π 4 π¬ 1 π 1Definitely looking forward to trying the new profiling feature!
10.03.2025 18:13 β π 2 π 0 π¬ 0 π 0π«‘
06.03.2025 11:07 β π 7 π 2 π¬ 1 π 0ππ»
I'm looking for work
Preferrably short term contract
Ruby/Rails*, HTML/CSS, eng mgmt
Photography
I'm based in Portland, Oregon
Open to in-office in PDX or remote
π€
#ruby #rails #photography #fedihire #believeinfilm
*β I especially love doing upgrades of Ruby/Rails/gems of "legacy" Rails apps
Maybe github.com/standardrb/s... address this, by offering a non-configurable style config.
I haven't looked at the rules in detail though. Will definitely give it a try soon
Sorbet now has (experimental) support for RBS comments for adding types to methods. Now the major type checkers for ruby are all converging towards RBS for annotations, and this could be huge for the future of types in Ruby!
sorbet.org/docs/rbs-sup...
#ruby #sorbet
I've been working with AI coding assistance daily for over half a year now and as much as it helps me a lot I can tell you this:
It is NOT taking our jobs any time soon lol. The complexity of software will only increase with AI-driven programming and actual human interventions will be required π
TIL: π Disabling YJIT in dev/test makes my test suite 30-40% faster!
From 56s β 32s π€―
I ran it 10 times because I couldn't believe it!
π§΅
just an incredible quote
"I felt when I started in February 2000 that I was coming to blogging late. I procrastinated about setting it up. People I knew were already doing it."
h/t @simonwillison.net
interconnected.org/home/2025/02...
π£ If you chose Ruby or Rails for your startup in the recent years, I want to interview you, get your feedback for the Ruby community and feature you in my conference talks this year! Friends, please retweet or mention Ruby startups for reach.
cal.com/inazarova/fe...
What is your place of choice for tech posts, outside of personal websites?
I usually write on dev.to but I've heard some tech communities tend to avoid it for some reason π€
Last week @jonrowe.bsky.social made a nice presentation at LRUG about RSpec's history, in which he asked for help maintaining the gem.
I felt like sharing this information.
Agreed. I believe convention is appreciable when it comes to file-loading, especially for a public gem that is meant to be a plug-and-play tool.
17.02.2025 08:47 β π 1 π 1 π¬ 0 π 0Would you consider adding Zeitwerk to a gem's dependencies a bad practice, even though said gem is meant to be used mainly in #rails projects?
I have mixed feelings about this π€