Xavier Noria's Avatar

Xavier Noria

@fxn.bsky.social

Everlasting student · Rails Core · Zeitwerk · Freelance · Life lover

2,042 Followers  |  144 Following  |  934 Posts  |  Joined: 20.05.2023  |  1.8128

Latest posts by fxn.bsky.social on Bluesky

So, Aston Martin did not do BLACK FRIDAY. I was expecting 30%–40% off or something.

Maybe next year.

01.12.2025 15:12 — 👍 4    🔁 0    💬 0    📌 0

I am customer too!

28.11.2025 09:08 — 👍 1    🔁 0    💬 1    📌 0
Letter from Asket, they do not do Black Friday

Letter from Asket, they do not do Black Friday

28.11.2025 08:14 — 👍 12    🔁 0    💬 2    📌 0

In Ruby, `::` is an _operator_ and it is _binary_.

So,

A::B::C::D

goes by pairs (like `+`) and performs intermediate lookups:

((A::B)::C)::D

You can actually write it like that.

More on that in my forthcoming book about constants in Ruby I am committed to finish within this century.

27.11.2025 09:53 — 👍 29    🔁 3    💬 2    📌 0

Letting Puma auto-set your worker count is the easiest way to go for 90% of usecases.

Currently, you can only do that with WEB_CONCURRENCY=auto, but we'll also make this possible in the next puma version by using `workers :auto` in your puma.rb.

26.11.2025 17:02 — 👍 14    🔁 3    💬 1    📌 1
The picture shows a chat with Claude in which I enter my breakfast using codes, and I get a breakdown of calories, macros, and how I am doing with the daily goals.

The picture shows a chat with Claude in which I enter my breakfast using codes, and I get a breakdown of calories, macros, and how I am doing with the daily goals.

This has been the year of learning about nutrition and tracking of energy balance and macros, which I do in nothing with LLMs, as the image shows.

For that I have developed a simple system based on many manually maintained aliases of products -> nutrition tables.

26.11.2025 12:40 — 👍 3    🔁 0    💬 0    📌 0

Or you can close because it is obviously the wrong patch, and ask for a ticket to discuss.

But some PRs will make sense and having a previous conversation would be unnecessary overhead.

So, case by case, no hard rules would be my take :).

26.11.2025 10:51 — 👍 1    🔁 0    💬 0    📌 0

That from the perspective of the person who wants to contribute.

From the perspective of the maintainer, I don't think having a hard rule makes sense. If people want to risk working on a patch, they know that may not make it. It is their time.

That PR thread can become the place for discussion.

26.11.2025 10:49 — 👍 1    🔁 0    💬 1    📌 0

I think that makes a lot of sense when you do not have enough perspective and need feedback about how to approach the problem.

I would not ask someone to waste their time on a patch if I they are not in a position by themselves to come with the one that fits the project or the problem domain well.

26.11.2025 10:46 — 👍 1    🔁 0    💬 1    📌 0

Unison 1.0 is out just before AoC? Coincidence? Destiny?

25.11.2025 20:35 — 👍 1    🔁 0    💬 0    📌 0

Got a 2C too after this thread :). You guys!

New profile pic taken with it!

25.11.2025 11:02 — 👍 5    🔁 0    💬 2    📌 0

Exactly, that is what you have to do today.

My point is that you do not need to do

f.singleton_class.include(M)

because of extend, right? I would like to have something similiar for prepend. See what I mean?

24.11.2025 16:38 — 👍 1    🔁 0    💬 1    📌 0

What do you mean? What is "that"?

24.11.2025 16:20 — 👍 0    🔁 0    💬 1    📌 0

I don't know the background, but I guess there is some consistency in that you get the same "base" argument.

class C
include M
extend N
end

Both hooks get C.

In practical terms, perhaps that was deemed to be better than receiving the singleton class.

24.11.2025 15:35 — 👍 0    🔁 0    💬 0    📌 0

The included hook is not called my friend!

That is, extend is not the same as

class << obj
include M
end

So they are not equivalent. That is why I said "conceptually".

24.11.2025 13:52 — 👍 2    🔁 0    💬 1    📌 0

The included hook is not called :).

24.11.2025 13:46 — 👍 0    🔁 0    💬 1    📌 0

`Object#extend` is conceptually "include in the singleton class".

I have missed a few times "prepend in the singleton class".

24.11.2025 12:39 — 👍 7    🔁 0    💬 1    📌 0

I have seen in the news that a copy of Superman No 1 has been auctioned for more than $9M.

Value is really in the eye of the payer.

And that is why "margins", "production costs", etc. are often missing the picture.

Generally speaking, goods are sold for whatver people are willing to pay.

22.11.2025 12:17 — 👍 3    🔁 0    💬 0    📌 0

3387! 🤘

18.11.2025 21:25 — 👍 1    🔁 0    💬 1    📌 0

In "JSON must be valid UTF-8", the word "valid" is superfluous.

18.11.2025 14:11 — 👍 6    🔁 0    💬 0    📌 0

Came across two new job postings for Junior Rails positions in one day!

jobs.lever.co/commonlit/7e...
jobs.rubyonrails.org/jobs/8903-ju...

17.11.2025 18:53 — 👍 9    🔁 2    💬 0    📌 0

Anecdote:

In the 90s I got my wallet stolen. And they managed to get cash from ATM with my credit card.

PIN was 2001 as tribute to the movie.

Police was like "was your PIN your birthday?" and I am like, no, no.

Just to realize moments later I was born on the 20th of January 😂.

17.11.2025 18:20 — 👍 8    🔁 0    💬 1    📌 0

Unit test is about testing the smallest scope.

Like in your example, adding coverage for a method.

I believe this is orthogonal to talking to the database (in the tests that need persistence), specially when the database service is not part of your own code, but encapsulated by a 3rd party.

17.11.2025 14:05 — 👍 0    🔁 0    💬 0    📌 0

State of the world in general, but post triggered by China vs Japan re Taiwan.

14.11.2025 11:33 — 👍 1    🔁 0    💬 0    📌 0

Could we distribute to world leaders Kubernetes HOWTOs or modern web stack tutorials so they get distracted and stop looking for confrontations?

14.11.2025 10:59 — 👍 8    🔁 0    💬 1    📌 0
Herb v0.8 Release Summary

Herb v0.8 Release Summary

Herb v0.8 is here! 🚀

The biggest release yet, packed with new language bindings, Linter Autofix support, Linter Fix-on-Save, a new `.herb.yml` config file, formatter improvements, Tailwind Class Sorting integration, and a ton of performance, tooling and LSP improvements! 🌿

12.11.2025 16:05 — 👍 41    🔁 13    💬 1    📌 2

"Disclaimer: this post was proudly written without the help of AI, so deal with my English grammar, but the author here took the time to write every single word"

LOL, have thought about something like that for my PRs, patches, and the book I am (slowly but humanly) writing.

11.11.2025 13:22 — 👍 7    🔁 1    💬 0    📌 0
Preview
Rename Namespace to Ruby::Box by tagomoris · Pull Request #15075 · ruby/ruby

#Ruby namespace will be renamed to `Ruby::Box`
An MR about this was merged to the Ruby master a couple of days ago

github.com/ruby/ruby/p... by @tagomoris.bsky.social

11.11.2025 08:30 — 👍 8    🔁 4    💬 1    📌 0

No! I'll have to visit next time :).

08.11.2025 03:44 — 👍 1    🔁 0    💬 0    📌 0

Natural, diafragmatic breathing.

We concentrate on the exhalation, but in a "detached" way, so to speak, thinking without thinking.

07.11.2025 20:33 — 👍 0    🔁 0    💬 0    📌 0

@fxn is following 20 prominent accounts