r/ruby • • Oct 20 '26

Why I’m no longer updating this repository

https://po-ru.com/2026/10/18/why-im-no-longer-updating-this-repository
117 Upvotes

60 comments sorted by

48

u/pezholio Oct 20 '26

> You want changes? Go ask your agent or something. I’m told that’s what you’re supposed to do now. I’m out.

👏👏👏

4

u/slvrsmth Oct 20 '26

Yes, but actually yes. More and more often I find myself dropping some small dependencies from my apps and just having a LLM write a replacement. This approach has unblocked multiple old rails apps for upgrades, where a core workflow depended on a no longer maintained gem. Especially if you use just a part of that gem.

23

u/Kimos Oct 20 '26

Man, this is such a bad idea. I can’t believe this is where software development is going.

Sure an LLM can rewrite your dependency faster you could rewrite it. But that’s not usually the reason you pull in a lib. Any mature library, even a small one, has years of baked in bug fixes and edge cases and a collection of expertise in small details. You don’t get that with a prompt. You’re just digging yourself deeper into maintenance burden.

7

u/RICHUNCLEPENNYBAGS Oct 20 '26

So what do you propose, running on an abandoned library and old version forever?

6

u/heartofabrokenstory Oct 21 '26

In the past I’ve forked and attempted to merge upstream… that is the way. Or the fork becomes the new official. Dropping and siloing is the wrong path.

1

u/missmuffin__ Oct 23 '26

Too slow

Not even kidding

8

u/Kimos Oct 20 '26

No. But I maintained one of the biggest rails apps for over a decade and this was nearly never the case.

8

u/RICHUNCLEPENNYBAGS Oct 20 '26

The answer is always “it depends” but I have seen so many times projects pulling in massive dependencies that introduce all kinds of issues with incompatibilities and upgrades because they’re afraid of writing simple functions. I’m not saying implement password hashing yourself but we shouldn’t be afraid of writing simple functions and helpers.

4

u/benzado Oct 21 '26

With about the same amount of effort you could fork the gem’s repo, fix the compatibility issue, and open a PR to the original project. Maybe it would be merged, maybe it wouldn’t, but at least you would have contributing back.

But you didn’t.

I wonder how much more we’ll have to spend in tokens when nothing is shared and everything must be written from scratch?

2

u/slvrsmth Oct 21 '26

I have done that before. And then someone starts using my fork. Which goes stale again because I've moved on. Over my 15-ish years writing ruby I've spawned my share of gems, all of them unmaintained these days. Every now and then I receive a message from some desperate user, spend a long evening trying to remember what this library was supposed to do, how did I ever think this was a good idea, then write a subpar patch, in the best case. It's not my thing, it brings me no joy.

Whereas the hundred-ish lines in one of my projects asks for no additional attention long term. It's just project code. If it causes problems in future, it's much easier to fix, adapt or discard entirely.

When I started coding, my dependencies list was miles long. Someone else had already done what I had to tackle, what's not to love. Then it got smaller as I got to maintain more and more of my old projects. These days the barrier of entry to my projects dependencies is "is this too complex for me to understand reasonably well". If I have a solid enough grasp on the issue to know if I like the solution, the monkeys are allowed to go to town on the typewriters.

46

u/Earlopain Oct 20 '26

You want changes? Go ask your agent or something.

I feel the same way. There's so much ai stuff going on today, why should I even bother? I guess I'm in the minority here but I exclusively code for myself (not my job) because I find it fun. Reading AI code, PRs descriptions, reviews etc. is the total opposite of that.

I have a personal project I'm working on by myself but anything else larger (like ruby itself) you're bound to find large amounts of ai generated code and that just sucks out all my excitement about contributing.

14

u/Zestyclose_Cow1807 Oct 20 '26

I wonder if the excitement problem is more about scale than AI specifically. reviewing anyone elses mediocre code at volume kinda drains you the same way

12

u/cocotheape Oct 20 '26

Probably, but I imagine the volume has increased tenfold with AI tools.

The joy of open source for me was seeing others finding the stuff I made useful and interacting with them. The monetary payout was always shambolic, direct and indirect. But now that joy is gone, your stuff is consumed by AI and hardly anyone bothers to look at it. Instead, it's consumed by the corporate greed machine to their benefit, to replace you. Rich fucks like DHH make a point of parading that fact, and rubbing it under your nose.

4

u/rubyrt Oct 20 '26

Only that "replace you" has the twist that there will be no humans left as reviewers because nobody understands coding anymore soon. I think that is often overlooked by AI aopologets.

2

u/metamatic Oct 21 '26

I became aware of a security hole in Ruby's stdlib recently. There was a time when I'd have contributed a writeup and fix, but given that the project is all in on AI now, as far as I'm concerned they can find and fix the bug with their chatbots.

31

u/Ok-Pay2140 Oct 20 '26

I've stopped engaging in open source entirely (although I'm a small fry, no one cares lmao) and I no longer really program as a hobby.

Also I'm stealing this line:

When people claim that it’s no longer sustainable to write code by hand, they’re not entirely wrong, but only in the same way that it’s no longer sustainable to sleep in a bed once someone has taken a shit in it.

2

u/2called_chaos Oct 21 '26

Yeah the stuff around it was part of it for me. We now live in a new era of open source, where everybody spins their own thing rather than to collaborate, an era that I don't really want to be a part of.

It's also not just coding. I've had wiki (not pedia) admins telling me that for example, it's getting rough. And soon we successfully have completed our AI ouroboros and the sources it summarizes and leeched off of will be dead

31

u/Marcdro Oct 20 '26

100% agree. Lets see what happens to corporations when open source finally dies.

Seems like nobody is accounting for all the free work put by passionate folks when they calculate AI savings.

Im certainly not going to spend a second working on free software anymore.

8

u/TheAtlasMonkey Oct 20 '26

Corporations don't care. They will just ask some junior to rewrite everything in Rust or slop something there.

They have a copy machine at their disposition.

Now when i release something, i squash everything , 1 commit. I remove all the coding caveats.

Nobody will read the history except AI. I don't even bother anymore. I used to share history to show the mistakes, now i don't. If i want to release something, i just keep history in my local git and share the caveat with people i know.

7

u/jrochkind Oct 20 '26

Does anyone know what gems presumably link to that message, what gems were formerly maintained by the author?

12

u/f9ae8221b Oct 20 '26

32 gems: https://rubygems.org/profiles/pbattley but mostly 1-3 high profile ones:

  • htmlentities (240M downloads)
  • text (66M downloads)
  • htmlbeautifier (15M downloads)
  • uk_postcodes (2M downloads)
  • ...

The fairly concerning one being htmlentities of course

4

u/Tolexx Oct 20 '26

Woww that's a lot and most are critical libraries in Rails apps.

4

u/f9ae8221b Oct 20 '26

It's not that bad, htmlentities is a dependency of premailer: https://rubygems.org/gems/htmlentities/reverse_dependencies, so that could be a bit of a problem. After that it's not so common gems.

The second one also doesn't have super popular reverse dependencies it seems: https://rubygems.org/gems/text/reverse_dependencies

2

u/jrochkind Oct 20 '26

If there's someone trusted willing to take on (eg) htmlentities, I wonder if the rubygems folks would be willing to do one of their unusual but has happened before moves where they give someone else access to rubygems publishing for the name, so that someone else can keep publishing from a forked repo.

That one is not a super complicated gem or one that had much churn... but a lot of things have it as a dependency, and that is not safe if nobody can ever release another version again. It's also really a pain for dependency management if future versions can only be released under a different gem name -- although I guess there were some new bundler features i recall that make this less disastrous than it could be!

1

u/f9ae8221b Oct 20 '26

unusual but has happened before moves where they give someone else access to rubygems publishing for the name

Has it really happened before? I have no knowledge of such event (no bundler doesn't qualify IMO). Back when httpclient was without a maintainer and breaking large portions of the ecosystem, I tried getting the rubygems team to give me or someone else access and they weren't willing to do so.

That being said, most of the team changed, and the times are changing too, perhaps they'd be more receptive now to put a process in place for re-adoption of important gems.

1

u/jrochkind Oct 20 '26 edited Oct 20 '26

I think either I'm wrong or I'm the one that's out of date -- I think in the distant past they did this once or twice, but it seems like not for a long time, and probably not going forward. ah well.

Here is an archived pollicy that actually was apparently only retired in May 2026, although the "RFC" it links to is a 404. https://blog.rubygems.org/2022/01/19/rubygems-adoptions.html

That one doesn't seem to allow transfer without owner permission, but I swear I heard of this somewhere, in the more distant past, but might be imagining it.

7

u/ffrkAnonymous Oct 21 '26

Matz is giving talks repositioning Ruby as a “Programming Language for AI age”, to be emitted by LLM agents, and stating that to be able to do that LLMs need to consume more good human-written Ruby code.

Aw, that's very disappointing.

18

u/Doctor_Fegg Oct 20 '26

Absolutely his call, but I wish people would at least make the minimal effort to say "hey, if you want to volunteer to be the new maintainer, contact me here". Otherwise stuff ends up breaking with Ruby something.somethingelse and there's no way of fixing it.

19

u/frou Oct 20 '26

On the flip side, hasty handovers is how supply chain attacks can happen. It's no small thing to hand over the keys to the kingdom

2

u/Doctor_Fegg Oct 20 '26

Yeah, maybe we need some sort of trusted conservancy to take over the keys for abandoned software and do minimal but necessary maintenance.

(the cruel might say that's what the Apache Software Foundation already is...)

22

u/codegems Oct 20 '26

It seems like he purposefully doesn't to say that because that's in the spirit of FOSS, which he feels is precisely what's being lost.

5

u/HandleNo5568 Oct 20 '26

Continuously demanding people how to act, specially when there is no reason, doesn't help with the foss burnout. Anyone can fork the repo and become the new maintainer, there is no need for the official "blessing"

8

u/Doctor_Fegg Oct 20 '26

Anyone can fork the repo

Yes

and become the new maintainer

No. You can become the new maintainer of gem install htmlentities_mycoolfork, but you can't become the new maintainer of gem install htmlentities, unless the original maintainer is prepared to hand it over. So everyone whose codebase uses htmlentities has to seek out an alternative replacement next time there's a breaking change in Ruby (or any dependencies).

Continuously demanding people how to act, specially when there is no reason, doesn't help with the foss burnout.

"I wish" is not "demanding". If I was demanding something, I would have used the word "demanding".

Still, I've been burned out by open source projects I've maintained too. I know the feeling very well. And I made sure there was a successor project with minimal breakage for users.

2

u/WingZeroCoder Oct 20 '26

I don’t disagree.

But also… this is yet one more responsibility that open source maintainers took seriously and generally executed well (if imperfectly) on, that’s been taken for granted all this time by the people now spitting on it.

So in a way, it’s all the more reason not to when the point you’re trying to make is based at least somewhat around the fact that a lot of very hard working and respectful people have been taken to their limits for years now, only to have their work co-opted from them and even weaponized against them.

1

u/Doctor_Fegg Oct 20 '26

I see that, and the author's obviously very emotional about this and understandably so. But doing this isn't slowing down LLMs at all (your average LLM will take approximately 0.1s to clone the functionality of htmlentities). Nor will it hurt DHH who is, and has long been, a sociopath; nor Altman or his unpleasant acolytes. The people it will hurt are the rest of us who still code (some) stuff by hand.

2

u/WingZeroCoder Oct 20 '26

Yeah, that’s totally fair, and why ultimately I don’t disagree with you.

Even so, I feel for the author, even if I would have done this differently as well.

0

u/benzado Oct 21 '26

You’re right that forking a gem does not make you the new maintainer of the original. But it does demonstrate that you could be, which is helpful if the original gem owner is not completely irresponsible about who they hand over control to. And if the gem is truly abandoned, that’s how you become the maintainer of its de facto replacement.

The idea that a maintainer needs to post a notice before anyone can begin working is, frankly, silly.

1

u/f9ae8221b Oct 20 '26

Other gems dependencies don't automatically get updated.

I agree it's 100% their right to just walk away, but it's also absolutely true that archiving a popular gem instead of handing it over creates a mess for the community. A replacement has to surface, and consensus has to emerge on which alternative to use, etc.

We had similar issues with unmaintained gems in the past, like httpclient which was a dependency of popular gems like googlecloud (or something like that).

3

u/damagednoob Oct 20 '26

Fork the repos?

4

u/Doctor_Fegg Oct 20 '26

Yeah, but that still requires republishing under a new gem name and for downstream users to go out and scout for that.

It's a long-standing issue with Rubygems. See https://www.reddit.com/r/ruby/comments/1ctcs5m/when_maintainers_abandon_ignore_their_gemscan/ for previous discussion

3

u/armahillo Oct 20 '26

I thought the common practice was “form it and add another ‘can’ to the name” 😅

/s

5

u/f9ae8221b Oct 20 '26

Yep, always has been a major pain, thankfully Bundler 4.1 finally add a way to substitute a gem by another one, so while it's still painful, at least there's now a proper way to replace an abandoned gem.

1

u/vladsteviee Oct 20 '26

You can publish it on gem.coop under the old name in your namespace

-7

u/IN-DI-SKU-TA-BELT Oct 20 '26

That puts a lot of work on everyone.

6

u/katafrakt Oct 20 '26

How dare a person providing a lot of unpaid work for years for free in their open source projects cause someone to do some work!

2

u/casiodk333 Oct 20 '26

I solve problems. AI is a tool like anything else in software development.

7

u/ffrkAnonymous Oct 21 '26

Did you solve the problem or did AI solve the problem?

Rich Hickey recently argued that AI/LLM are not tools.

Yes, it's a bit of semantics and technicality but it's important to not dilute and muddle meanings of these words.

AI is doing what you're doing. You're doing what AI is doing. Who is the tool?

AI writes the code. You fix the broken code. Who is using who? Who's the worker and who's the tool?

1

u/FooBarWidget Oct 23 '26 edited Oct 23 '26

You can't outsource all the thinking to AI. Even at its best, you need to steer it for proper alignment with goal, vision, philosophy, architectural principles, requirements, etc. And defining what those are is still your job.

And sometimes it misses things that you would have seen. On the other hand, sometimes you miss things that it would have caught. Collaboration is best.

I enjoy programming, but at the end of the day I care more about the end goal and the entire product, including UX, user concerns, getting the requirements right, etc. After AI has written an implementation, even if I don't understand everything, I would take a cursory glance and at least have it fix obvious code-level problems (if they're not so trivial I can do it by hand), like "don't use monkey patching there", setting up linting, checking whether the tests make sense, checking whether there are no weird classes or methods, ensuring that the docs the AI write make sense.

For example, I noticed that for some project it kept tripping over Windows path escaping issues. I directed the AI to fix it multiple times, without success. One stylistic issue I found was that the AI just called the method `escape`, but from all the failures we experienced it was already clear that Windows path escaping is not at all comparable to Unix path escaping, and that it follows a much more complicated model, so calling it `escape` is the wrong abstraction. You have to specify what exactly you are escaping, and in which exact context, so I had it rename that method.

But we eventually still failed to fix the issue, so at some point I had to make the decision to call it quits and resolve the problem through architectural and UX means. Making these kinds of judgment calls is still your job.

I'd say the docs are the hardest part to align right, so that part still need a lot of manual curation.

1

u/ffrkAnonymous Oct 23 '26

And defining what those are is still your job.  so at some point I had to make the decision Making these kinds of judgment calls is still your job.

These are all jobs of a manager, a director. 

Collaboration is best.  

One collaborates with a colleague. 

This is not pro-ai nor anti-ai. It's about recognizing what AI is, objectively , and not blindly adopting the language of the AI companies . 

1

u/FooBarWidget Oct 23 '26

These are all jobs of a manager, a director. 

These are the jobs of a senior or staff engineer. A software engineer's job isn't — shouldn't be — just writing code, especially not by just throwing things over a wall.

-3

u/CuckyGarry Oct 21 '26

Why does it matter who or what wrote the code?

3

u/ffrkAnonymous Oct 21 '26

I do not want to be a "what". Maybe you're comfortable being a thing, but I'm not.

-2

u/CuckyGarry Oct 21 '26

Obviously the what refers to AI but a grandpa like you wouldn’t know lol.

4

u/ffrkAnonymous Oct 21 '26

As a grandpa, I recall a time where many people were  "what" , and I don't want to return to that. 

-3

u/CuckyGarry Oct 21 '26

We’re literally moving past this as an industry. I’m not sure why you think we’ll the “what” again.

-14

u/cmdk Oct 20 '26

Here we go again 😴

-14

u/BoardMeeting101 Oct 20 '26

ok, bye-bye? I guess

0

u/[deleted] Oct 20 '26

[deleted] — view deleted comment

2

u/sjshuck Oct 20 '26

I always felt joy...writing code

I found a new joy...to create basically whatever I want in a short period

Curious.