Lucas M's Avatar

Lucas M

@lucasm0n.bsky.social

Software Engineer @Lifen & Ruby enthusiast

54 Followers  |  142 Following  |  36 Posts  |  Joined: 12.11.2024  |  1.9427

Latest posts by lucasm0n.bsky.social on Bluesky

This is my first gem by the way! πŸ₯³

If you've had fun reading this, give it a little ⭐

24.07.2025 16:38 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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

24.07.2025 16:38 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
How to set a timeout to RSpec test executions TL;DR Tired of tests hanging indefinitely in your CI pipeline, wasting resources and...

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...

24.07.2025 16:38 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - LucasMontorio/rspec-time-guard: A Time Guard that allows you to set timeouts to your RSpec tests A Time Guard that allows you to set timeouts to your RSpec tests - LucasMontorio/rspec-time-guard

🧡 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

24.07.2025 16:38 β€” πŸ‘ 2    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

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

20.05.2025 13:28 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Very interesting content on query planning and SQL optimisation πŸ‘

15.05.2025 12:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

As 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

16.04.2025 06:58 β€” πŸ‘ 97    πŸ” 23    πŸ’¬ 11    πŸ“Œ 2
Preview
Introducing RubyEvents.org: RubyConferences.org and RubyVideo.dev Join Forces to Build the Ruby Events Platform Marco Roth - marcoroth.dev

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...

03.04.2025 20:49 β€” πŸ‘ 22    πŸ” 12    πŸ’¬ 0    πŸ“Œ 1
Post image Post image

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.

02.04.2025 09:27 β€” πŸ‘ 4    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

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.

02.04.2025 17:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

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.

25.03.2025 17:27 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
https://www.meetup.com/belfastruby/events/306590652/

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/...

07.03.2025 16:18 β€” πŸ‘ 15    πŸ” 9    πŸ’¬ 1    πŸ“Œ 0

I'm looking forward to it! πŸ‘€

20.03.2025 17:38 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Source 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...)

20.03.2025 15:37 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1

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    πŸ“Œ 0
Preview
How to make your open source popularβ€”Martian Chronicles, Evil Martians’ team blog With 20+ years and millions of downloads, Andrey Sitnik shares his guide on how to make your open source project popular.

PostCSS 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...

12.03.2025 15:41 β€” πŸ‘ 14    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Preview
Jevons Paradox Makes Regulating AI Sustainability Imperative | TechPolicy.Press Robert Diab says we won’t make real progress on environmental sustainability in AI without binding obligations on companies to be more transparent.

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    πŸ“Œ 1

Definitely 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

06.02.2025 23:09 β€” πŸ‘ 31    πŸ” 17    πŸ’¬ 0    πŸ“Œ 0

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

26.02.2025 10:58 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
RBS comments support Β· Sorbet > This feature is experimental and might be changed or removed without notice.

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

25.02.2025 04:16 β€” πŸ‘ 17    πŸ” 8    πŸ’¬ 1    πŸ“Œ 3

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 πŸ™ƒ

21.02.2025 10:56 β€” πŸ‘ 25    πŸ” 4    πŸ’¬ 1    πŸ“Œ 2

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!

🧡

20.02.2025 16:01 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
Reflections on 25 years of Interconnected Posted on Wednesday 19 Feb 2025. 1,844 words, 10 links. By Matt Webb.

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...

20.02.2025 04:09 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
Startups on Rails Interview | Irina Nazarova | Cal.com Startups on Rails Interview

πŸ“£ 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...

20.02.2025 04:30 β€” πŸ‘ 15    πŸ” 7    πŸ’¬ 1    πŸ“Œ 0

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 πŸ€”

19.02.2025 17:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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.

17.02.2025 18:36 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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    πŸ“Œ 0

Would 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 πŸ€”

13.02.2025 17:59 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

@lucasm0n is following 20 prominent accounts