Enrico Pilotto
banner
pioz.bsky.social
Enrico Pilotto
@pioz.bsky.social
Web developer at CardTrader. Loving Ruby, C, Go, brute force scripting, redhead. Geek inside. World of Warcraft and Magic The Gathering player.
https://rubyonrailspadova.com
Pinned
A fast #chess library that use bitboards to play chess with #Ruby github.com/pioz/chess
GitHub - pioz/chess: A fast chess library that use bitboards to play chess with Ruby
A fast chess library that use bitboards to play chess with Ruby - pioz/chess
github.com
Reposted by Enrico Pilotto
Has anyone tried compiling CRuby with the new memory-safe C impl, Fil-C?

One big caveat: "Fil-C currently only supports Linux/X86_64"

https://fil-c.org
Fil-C
fil-c.org
November 6, 2025 at 4:38 PM
Just released a Sublime Text plugin to easily add and edit Rails I18n keys. github.com/pioz/i18n_ra...

#videcoding
GitHub - pioz/i18n_rails_edit_key: A Sublime Text plugin to simplify managing I18n Rails translations directly from your editor
A Sublime Text plugin to simplify managing I18n Rails translations directly from your editor - pioz/i18n_rails_edit_key
github.com
August 22, 2025 at 10:30 AM
July 22, 2025 at 7:56 AM
Reposted by Enrico Pilotto
Hot Take: Doctor Who is better with a small budget and limited special effects/sets because it forces them to do more with less.

Doctor Who is, at its core, not about spectacle and epic battles; it is about clever dialogue and interesting ideas.
June 29, 2025 at 4:38 PM
Reposted by Enrico Pilotto
Finally a show about Boolean logic operators
June 5, 2025 at 3:04 AM
Reposted by Enrico Pilotto
Range#overlap? method introduced in Ruby 3.3 is very nice. I just used it while responding to a PagerDuty alert 😅
```
>> (6585252022..6590931916).overlap?(6553786628..6590181949)
=> true
```
June 2, 2025 at 7:11 PM
Reposted by Enrico Pilotto
You might have noticed a record-breaking 7th consecutive bugfix release for RuboCop (see github.com/rubocop/rubo...). I just wanted to say that's not because the quality of RuboCop dropped, but because I've decided to focus on bug-fixing and polish for a while.

We have plenty of features already! 😁
Release RuboCop v1.75.7 · rubocop/rubocop
Bug fixes #14185: Fix an error for Style/IfUnlessModifierOfIfUnless when using nested modifier. (@koic) #14192: Fix negatives for Layout/SpaceBeforeBrackets when using space between method argumen...
github.com
May 22, 2025 at 8:29 AM
Reposted by Enrico Pilotto
Did you know the “weekend” and working only 8 hours per day used to be considered a radical, liberal idea?

139 years ago today, in Bay View, Milwaukee, Wisconsin, 7 workers (including a 13 yo) lost their lives to advance this revolutionary idea.

A 🧵
May 5, 2025 at 11:56 AM
Reposted by Enrico Pilotto
In case you're worried that you don't know where your story is leading you...
March 12, 2025 at 2:22 PM
Reposted by Enrico Pilotto
After 15 years off the market, I’m available for hire!

I’m an effective, versatile and compassionate technical leader, and an accomplished Rubyist. I’m looking for remote Principal or Staff Engineer roles, at 4 days/week.

Find out more: timriley.info/posts/hire-me
Hire me! - Tim Riley
After 15 years at Buildkite, Culture Amp and Icelab, I’m available for hire! I’m an effective, versatile and compassionate technical leader, and an accomplished Rubyist. I’m looking for remote Princi...
timriley.info
January 20, 2025 at 1:07 AM
I've been trying #Ghostty for a couple of weeks, and I have to say it's amazing. Super customizable, it meets every need. I think it will become my new favorite terminal. The only thing missing is the search feature, but it's currently in dev, and hopefully, it will be released soon!
ghostty.org
Ghostty
Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
ghostty.org
January 14, 2025 at 11:05 AM
Building a table clock with Arduino might seem like overkill for a simple watch, but it unlocks a world of possibilities: it's WiFi-enabled!
January 4, 2025 at 8:07 PM
May 2025 be even better than 2024! 💪🏻🎉😗
January 1, 2025 at 4:34 PM
Reposted by Enrico Pilotto
Italian journalist arrested and held in solitary confinement in Iran
Italian journalist arrested and held in solitary confinement in Iran
Il Foglio war correspondent Cecilia Sala taken in by police while reporting in Tehran, says Italy’s foreign ministry
www.theguardian.com
December 27, 2024 at 6:25 PM
Reposted by Enrico Pilotto
You’re still arguing about tabs vs. spaces? May I present…
December 25, 2024 at 6:37 PM
Reposted by Enrico Pilotto
Why do developers confuse Halloween for Christmas?

Because OCT31 = DEC25.

Happy Halloween 🎃👻
December 25, 2024 at 1:07 PM
Reposted by Enrico Pilotto
Thanks to the new Rails authentication generator, it's very easy to add features such as allowing only one session at a time.

It's also very easy to test, thanks to the `open_session` method.
December 16, 2024 at 8:10 AM
Reposted by Enrico Pilotto
Who is up for a demo of a side product? I’m looking for validation and feedback.

It’s a B2B dev tool for small to medium sized companies.

DM me. ✌️

#solopreneurs #buildinpublic #indiehackers
December 5, 2024 at 8:41 AM
Working at CardTrader is a pleasure: a lot of #Rails and great people!
December 4, 2024 at 6:55 PM
@fxn.bsky.social I've a Rails 8 app with a local engine in lib/auth and my Gemfile has: gem "auth", path: "lib/auth"

All works in dev, but If I run bin/rails zeitwerk:check

expected file lib/auth/config/routes.rb to define constant Auth::Config::Routes, but didn't

Please help!
November 29, 2024 at 4:16 PM
Reposted by Enrico Pilotto
Avoid returning records from a model's method

Because a SQL query is triggered on each call. Memoizing the result is not necessarily better since it won't be uncached when reload is called. Instead, switch that method to a relation.
November 29, 2024 at 9:56 AM
Reposted by Enrico Pilotto
So far I have created 16 videos about different ways to use Hotwire Native: superails.com/playlists/tu...

"Get a Rails app live on App Store"..... sounds like a good topic for a next video (archive app, navigate "App Store Connect", deploy to TestFlight")...

Will record such a video soon!
Hotwire native
Learn to build mobile apps with Ruby on Rails and Hotwire Native. Turbo Native + Strada = Hotwire Native.
superails.com
November 26, 2024 at 6:40 PM
Reposted by Enrico Pilotto
Looking to impress your Ruby friends by calculating the largest known prime, 2**136_279_841-1?

On Ruby 3.4.0-preview2 and earlier, 2**136_279_841-1 logs a warning and returns Infinity 😔.

Thanks to @mametter.bsky.social, Ruby 3.4 will handle this calculation just fine! github.com/ruby/ruby/pu... 🧵
Do not round `a**b` to infinity by mame · Pull Request #12033 · ruby/ruby
... instead, just calculate the value unless it is too big. Also, this change raises an ArgumentError if it is expected to exceed 16 GB in a 64-bit environment. (It is possible to calculate it stra...
github.com
November 26, 2024 at 12:23 PM
Reposted by Enrico Pilotto
There's a new official Ruby on Rails Guide on performance tuning that you probably have not seen that I think every Rails developer should read once at least:
Tuning Performance for Deployment — Ruby on Rails Guides
Tuning Performance for DeploymentThis guide covers performance and concurrency configuration for deploying your production Ruby on Rails application.After reading this guide, you will know: Whether…
buff.ly
November 25, 2024 at 7:51 AM