Matheus Richard

@matheusrich
48 Followers
61 Following
103 Posts

πŸ‡§πŸ‡· Senior developer @ thoughtbot.

πŸ“ Blogging @ https://tbot.io/blog/matheus

πŸ’Ž Organizer of http://rubydf.com

No one sets out to write a slow test, and yet it happens. Prevent slow tests from creeping into your test suite again! Tests are not enough, we need *fast* tests!

https://thoughtbot.com/blog/introducing-test-budget

Introducing Test Budget: a linter for test performance

Your test suite didn’t get slow all at once. It won’t get fast all at once either. Start by making sure it stops getting worse.

thoughtbot
Also, stay tuned because I'll release a tool to prevent your tests from silently becoming slow again!

Here's one of those things that are easy to miss on code review and will make your tests super slow. Good news: it's easy to fix!

https://thoughtbot.com/blog/combine-capybara-selectors-to-avoid-the-sequential-timeout-trap

Combine Capybara selectors to avoid the sequential timeout trap

How I shaved over a minute off a test suite with a one-line change.

thoughtbot
Today I learned about Rails' Time.days_in_month and Time.days_in_year. So handy!

πŸŽ‰ end_of_life 1.0.0.alpha is released! It includes:

- Macos install via homebrew
- Support for scanning EOL Node.js versions
- Support for detecting versions from `mise.toml`.
- A new `check` command to check if specific product releases are EOL
- A revamped CLI

Stay updated!

TIL about Git LFS: An open source Git extension for versioning large files

https://git-lfs.com/

Git Large File Storage

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

Git Large File Storage

Just shaved 200-250ms from a CLI app by just requiring dependencies only when they're needed.

It might not seem much, but it really matters to get that snappy feel.

This is my favorite 404 page

Did you know that Rails 7.1 stops receiving security updates in 3 weeks? Wished that you had a tool that would inform you about this kind of stuff?

Well, end_of_life v0.5 was just released and it now supports Rails!

Check it out: https://github.com/MatheusRich/end_of_life/