Jose Farias's Avatar

Jose Farias

@jose.omg.lol

AI, Rails, and React at GrowthXAI. Prev 37signals, Harvest. Blog jose.omg.lol

281
Followers
221
Following
42
Posts
03.11.2024
Joined
Posts Following

Latest posts by Jose Farias @jose.omg.lol

Preview
Add Replicate provider by josefarias · Pull Request #435 · crmne/ruby_llm What this does This PR adds Replicate as a provider. Replicate may stand out from other providers in several areas: They don’t expose pricing via API (that I can tell). I’ve opted for not includin...

Working on adding Replicate support to RubyLLM

github.com/crmne/ruby_l...

04.10.2025 23:15 👍 3 🔁 0 💬 0 📌 0
Preview
RailsConf 2025 ideas — Attendees start here! · Issue #254 · josefarias/hotwire_combobox Welcome to our RailsConf 2025 Hack Space! Join me in contributing to HotwireCombobox at RailsConf day 2 (July 9th)! Location: Banquet Hall Hack Space Station: Teal Station Schedule Time: July 9th, ...

github.com/josefarias/h...

05.07.2025 20:50 👍 0 🔁 0 💬 0 📌 0
Screenshot of the GH issue linked in the thread. A list of ideas we could work on.

Screenshot of the GH issue linked in the thread. A list of ideas we could work on.

If you’re going to RailsConf next week and are interested in pairing on HotwireCombobox during day 2’s Hack Spaces—I’ve written up some ideas for what issues we could work on.

We can also work on whatever else, or just chat. Hit me up at the teal station from 10:00AM ~ 12:40PM.

05.07.2025 20:50 👍 3 🔁 0 💬 1 📌 0

Yeah I don’t mind this syntax 👌

18.04.2025 14:21 👍 1 🔁 0 💬 0 📌 0

Yeah I guess that also works! Too verbose for my taste though 😄. You’re not alone—someone else brought it up on _the other site_.

17.04.2025 19:57 👍 4 🔁 0 💬 1 📌 0

re: `protected` methods—there’s usually so few of them you can see the access modifier immediately anyway. But I’d consider them an edge case.

17.04.2025 19:53 👍 1 🔁 0 💬 0 📌 0

Indenting private methods tells you what the intended access policy is without having to orient yourself inside the class.

Specially useful when reviewing diffs and you’re not even shown the full context by default.

This is why it’s my preference in Ruby.

17.04.2025 19:12 👍 6 🔁 0 💬 2 📌 0

Oh no! Does it happen upon submitting the form, or when attempting to confirm the subscription?

10.03.2025 17:23 👍 0 🔁 0 💬 1 📌 0

Thanks for reading! Phoenix contexts are interesting. While they make it obvious where to put things, my opinion is in the end they’re unnecessary overhead in an object oriented codebase. They’re well suited for FP though. Might write more about that in the future. Good topic!

10.03.2025 15:10 👍 1 🔁 0 💬 0 📌 0

Mil gracias Julia! 😄

10.03.2025 13:08 👍 1 🔁 0 💬 0 📌 0

Thanks Stephan! Yeah I’ll probably add that soon. This is the reason I’ve avoided it:

bsky.app/profile/jose...

10.03.2025 13:07 👍 1 🔁 0 💬 0 📌 0

Wild! I actually did not know about this. And here I am reinventing the wheel. Thanks for sharing!

10.03.2025 12:59 👍 1 🔁 0 💬 1 📌 0

I’ve just added a mailing list form if you’re interested! Check out part 2 (just posted), it’s at the bottom of the post. Thanks for reading!

10.03.2025 03:36 👍 2 🔁 0 💬 0 📌 0

Right! I’d actually suggest putting it in models (even if more than one) over using service objects. But we’ll get to that further in the series.

I just published what that might look like in part 2. Thanks for reading!

10.03.2025 03:35 👍 1 🔁 0 💬 0 📌 0

RSS is a great idea, thanks Rosa!

I just wired up buttondown for a mailing list. Check out part 2 (just posted) if you’d like to sign up 😄

The reason I’ve avoided RSS/email before is I don’t want to make sure things look good there before posting 😅. But I might just link to my site instead.

10.03.2025 03:33 👍 2 🔁 0 💬 1 📌 1

Of course! That’s why I tried the service initially. No worries about what happened way back when. It was years ago. Just wired things up again and it seems to be working beautifully. Appreciate you offering!

10.03.2025 03:30 👍 2 🔁 0 💬 0 📌 0
Preview
Just Write English How to move logic out of your jobs and into your domain model.

Here’s post 2 in my Object-Oriented Rails series.

Post 1 argued business logic doesn’t belong in active jobs. But it lacked some code examples. Now we put pen to paper explaining how to move the logic into the model and out of your job.

Also, email newsletter is live!

jose.omg.lol/posts/just-w...

10.03.2025 03:12 👍 18 🔁 2 💬 3 📌 0

Nice!

09.03.2025 03:08 👍 0 🔁 0 💬 0 📌 0

I did try buttondown once but got turned off from it when my single test email landed in spam. I’ll give it another chance though. I probably just caught a temporary bug. Nbd.

Really just looking for something that’ll let me turn off open rate tracking and won’t sell my subscriber’s data.

09.03.2025 03:05 👍 2 🔁 0 💬 2 📌 0

Thanks a bunch Zack!

09.03.2025 00:52 👍 1 🔁 0 💬 0 📌 0

I really need to get on that 😅. Really I’m just avoiding having to choose a privacy-conscious mailing list provider. I don’t know of any offhand and researching seems like super dull work.

09.03.2025 00:51 👍 2 🔁 0 💬 1 📌 0

Right! Choosing between those `_at` columns and a model would be a great topic for one of these. Same goes for the many-to-many relationships. I’ll keep those in mind!

09.03.2025 00:49 👍 3 🔁 0 💬 0 📌 0
Preview
It’s none of their business Why business logic doesn’t belong in active jobs.

I’m kicking off a series of blog posts called "object-oriented Rails". First off — why business logic doesn’t belong in active jobs. Let me know what you think!

jose.omg.lol/posts/its-no...

08.03.2025 18:36 👍 26 🔁 3 💬 4 📌 0

Thanks Chris! I’m really excited about this 💪

08.03.2025 18:04 👍 1 🔁 0 💬 0 📌 0

After 2.5 years at 37signals I’m moving on to a new role as a Senior Software Engineer at Harvest. I start next week! 😄

08.03.2025 16:49 👍 24 🔁 0 💬 3 📌 0

Merry Christmas Chris!

25.12.2024 20:32 👍 1 🔁 0 💬 0 📌 0

It did! 😄

15.12.2024 17:26 👍 2 🔁 0 💬 1 📌 0
Two commit messages.
First one reads: "Unnecessary include". CI failed.
Second one reverts the first one. CI passes.

Two commit messages. First one reads: "Unnecessary include". CI failed. Second one reverts the first one. CI passes.

Guess it was necessary lol

15.12.2024 01:25 👍 27 🔁 0 💬 1 📌 0

Yes! I think a lambda would’ve been fine, too.

12.12.2024 13:03 👍 1 🔁 0 💬 0 📌 0

I think that important condition is fine to be implied as long as the context is at-hand (rarely is).

That said, I don’t feel particularly strong about the name of that method. I wouldn’t insist on it. Mostly trying to illustrate the main point that code can be context-aware and thus simpler.

12.12.2024 04:40 👍 0 🔁 0 💬 0 📌 0