News for hackers. Stuff that matters.
Re:"Is This Project Still Maintained?" by palata on Wednesday May 15, 2024 @04:28AM (#40364458)
I do agree with what I take as the general message: most people don't really understand how open source works and have unreasonable expectations. Maintainers don't owe users anything unless the user actually pays for it and the maintainer accepts the money for the task.

Developers should understand what it actually means to depend on a project. If one needs a fix or a change down the line, it could be that nobody will be there to do it for free, or at all. Therefore one should be ready to either pay or take over the maintenance. And this should be carefully put in balance every time: "Should I add this dependency, or should I write it myself?".

Modern language package managers like cargo amplify this problem by making it almost too easy to add tons of dependencies (and then be pissed at the maintainers who don't want to maintain for free or at all).

Re:"Is This Project Still Maintained?" by ozim on Wednesday May 15, 2024 @06:49AM (#40365191)
*Maintainers don't owe users anything unless the user actually pays for it and the maintainer accepts the money for the task.*

I have a nitpick on that take. If maintainer was actively building community and advocating use of his project (for whatever reasons but usually to gain audience - money is not the only value exchange that there is) they still do owe users bug fixes or reviewing bug fixes made by community. Especially if there were other community contributions, cash on hand is too specific.

If someone doesn't want to owe users anything, don't make project open source or make it clear "don't use this or fork for yourself, please" in read-me or something.

But also one should not pull dependencies willy-nilly especially if one is building business on top of that.

Re:"Is This Project Still Maintained?" by PikachuEXE on Wednesday May 15, 2024 @08:09AM (#40365831)
It all comes to promises/intent.

Did maintainers make any promise? Even so they can break promises made for some reasons (especially sickness, accidents, etc.). Whatever type of contributions (money, work, feedbacks, etc.) doesn't make maintainers owe any work to contributors unless previously mutually agreed upon.

Be prepared to DIY (PR, fork, other forms) if you are willing to but you don't owe anything to other people unless you choose to and express that explicitly, and that's the same for maintainers.

Re:"Is This Project Still Maintained?" by bayindirh on Wednesday May 15, 2024 @07:03AM (#40365277)
Free Software ecosystem is not black and white (i.e. Build a community or don't share).

I put my software in the open with a license which I think is fair, because I hope someone might find it useful, with a completely neutral stance. On the other hand, I set my expectations with the license I assign to my codebase. If nobody cares about what I do, I'm also fine with it. At the end of the day, I wrote that thing for myself in the first place.

If somebody decides to contribute something back, my primary responsibility is to act as decently as other party allows me. They can report a bug, send in a fix, or ask something.

If the proposed change is favorable to both of us (i.e. it also fits into the design/role I have in my mind for that codebase, or doesn't disturb it), why not work together and make something better?

If the change makes the software unfit for me, but fit for the other party, they're free to fork and maintain their fork as they fit, as long as they honor the license. This is why is this thing is in the open.

But, if the requester wants me to implement their changes to make the software fit for themselves, while making it unfit for me, and want to pass the burden of maintenance on me, then sorry, we can't cooperate.

Plus, who decides which codebase I open to the world, and in what way?

Re:"Is This Project Still Maintained?" by ozim on Wednesday May 15, 2024 @12:01PM (#40368696)
That's not what I wrote *Build a community or don't share*

I wrote that if you build community you have responsibility. If you don't want to build a community be clear about it.

My beef is with people who build community for "fame" and for "money somewhere along the road" - that are getting burned out because money are not there. Where we have loads of libraries by genuine people.

Re:"Is This Project Still Maintained?" by mariusor on Thursday May 16, 2024 @07:46AM (#40377195)
> My beef is with people who build community for "fame" and for "money somewhere along the road"

Can you give out some examples of projects that function(ed) on this principle?

Re:"Is This Project Still Maintained?" by sureIy on Friday May 17, 2024 @02:15AM (#40386962)
If you look at 2015 node tools you’ll find plenty of such examples. Literally every build tool from that time is dead now, except webpack.
Re:"Is This Project Still Maintained?" by sureIy on Friday May 17, 2024 @02:14AM (#40386953)
I think you just have to accept that projects are not evergreen. Some popular tools we used 10 years ago are gone for the most part, and it’s no one’s fault.
Re:"Is This Project Still Maintained?" by palata on Wednesday May 15, 2024 @09:51AM (#40366955)
> If someone doesn't want to owe users anything, don't make project open source or make it clear "don't use this or fork for yourself, please" in read-me or something.

That's where I believe you misunderstand open source, and that's the point of the article.

Because I make my project open source does not imply anything other than the terms of the licence. Of course it's okay to report a bug (it's even nice) or to open a PR. But asking "is this maintained?" as part of the decision process before depending on a project just shows some misunderstanding about how open source works, IMHO.

Re:"Is This Project Still Maintained?" by saurik on Thursday May 16, 2024 @08:52AM (#40377745)
You plucked that quote from the comment you replied to but carefully didn't include the critical lead in: "If maintainer was actively building community and advocating use of his project". All the replies are hung up nitpicking some later wording which wasn't the point.

Having the standard website/readme with a bunch of claims about how awesome your software is as a way to entice other developers to get excited by it, start using it, and even (gasp) depend on it absolutely implies something more than the mere terms of the license.

Put elsewise: if you don't want the expectation of feeding people, haven't put any thought into how you will actually make that happen, and are just going to get defensive when people are annoyed at how you don't own a grill, you have no business inviting everyone to a BBQ.

https://imgur.com/a/chris-pratt-barbecue-gDL2O

https://www.reddit.com/r/funny/comments/3v8svx/barbecue_at_c...

Re:"Is This Project Still Maintained?" by palata on Thursday May 16, 2024 @11:21AM (#40379496)
> but carefully didn't include the critical lead in

Because it's irrelevant to my point. My point being that if you don't sign a contract with me where I commit to do something for you, then I don't owe you anything.

If you misunderstand open source and have wrong expectations because of it, then you will get frustrated. My point is that it is important for you to understand that open source just means that the author shares something for free, no strings attached. Maybe the maintainer is super responsive today, and that's great. But you have to know that they may stop responding tomorrow. And you should be ready to handle that if you depend on their project for something important.

Re:"Is This Project Still Maintained?" by JohnFen on Wednesday May 15, 2024 @01:36PM (#40369986)
I disagree. Open source maintainers owe nothing to anybody unless they've explicitly made some sort of commitment/promise beyond just releasing something under an OSS license.

> But also one should not pull dependencies willy-nilly especially if one is building business on top of that.

If you're building a business, you want to avoid all such dependencies as much as possible, open source or not. The big advantage to using open source code, though, is that you don't have to rely on someone else -- not even the maintainer -- to keep things going for you. You can maintain it in-house and eliminate that external dependency.

Re:"Is This Project Still Maintained?" by selfhoster11 on Thursday May 16, 2024 @12:49AM (#40375281)
Nope. Open source’s only purpose is make something available in case anyone wants to pick it up. The “no warranty or assurance of fitness for a particular purpose” verbiage in open source licenses is precisely what this means: the author disclaims all responsibility, and that’s it.
Re:"Is This Project Still Maintained?" by Dalewyn on Thursday May 16, 2024 @06:08AM (#40376732)
>don't make project open source or make it clear "don't use this or fork for yourself, please" in read-me or something.

Most free-beer software state "Provided as-is with no warranty expressed or implied." somewhere in their readme or licensing terms.

Of course, fucking noone reads readmes or licenses.

Re:"Is This Project Still Maintained?" by MaxBarraclough on Thursday May 16, 2024 @06:19AM (#40376779)
That's a legal protection, it has little bearing on whether the creator 'owes' (in the informal sense) anything to the software's users/community.

If the software isn't being sold, it presumably won't be legally required to be fit for purpose in any sense. The no warranty provided text is just stating this explicitly. (Usual disclaimer: I'm not a lawyer, this is not legal advice, etc.)

Re:"Is This Project Still Maintained?" by bregma on Thursday May 16, 2024 @06:22AM (#40376790)
This sounds suspiciously like the "you should work for the exposure" argument given in the arts industry. Landlords don't accept expore for rent and grocers don't accept exposure for food. It's just a misunderstanding of how things work rooted in greed and entitlement.

A worker's time is worth their wage. If you're paying nothing, nothing is owed. If you pay nothing for a creation, the creator owes you nothing. That's the contact.

Re:"Is This Project Still Maintained?" by Chris2048 on Thursday May 16, 2024 @07:20AM (#40377073)
Except those aren't projects proposed or initiated by the artist.

And property and grocery goods aren't even the same category as IP - You can't consume the same cabbage repeatedly.

> That's the contact.

I think you mean contract, but you are ignoring the social contract here. A "worker" isn't going around advocating their own project(s).

Re:"Is This Project Still Maintained?" by sureIy on Thursday May 16, 2024 @06:41AM (#40376881)
This is such a bad take, I’m glad you already got like 8 replies.

My code is open source, at a minimum it’s there for your own perusal to be copy-pasted. I don’t owe you anything.

Re:"Is This Project Still Maintained?" by Chris2048 on Thursday May 16, 2024 @07:21AM (#40377081)
> they still do owe users bug fixes or reviewing bug fixes made by community

or allowing community members the power to do these things, without having to fork.

Re:"Is This Project Still Maintained?" by bayindirh on Wednesday May 15, 2024 @05:34AM (#40364805)
> Modern language package managers like cargo amplify this problem by making it almost too easy to add tons of dependencies...

Using a library for every little function, or worse, adding a huge library for a couple of function calls make my hairs go up.

One of the worse offenders I have seen was adding whole Pandas and the kitchen sink for a simple table lookup. I have seen other programs which adds almost hundred libraries for something which can be implemented in a relatively simple way.

Then people whine about dependency hell.

Re:"Is This Project Still Maintained?" by throwaway11460 on Thursday May 16, 2024 @06:38AM (#40376868)
> Using a library for every little function, or worse, adding a huge library for a couple of function calls make my hairs go up.

Well that's where modern bundler steps in - who cares if you throw the unnecessary cruft away during build process?

Except in Python where a dependency might uninstall your desktop GUI and switch the init system, perhaps.

Re:"Is This Project Still Maintained?" by bayindirh on Thursday May 16, 2024 @06:43AM (#40376895)
The problem with this approach is not shipping unused functions at the end. Pruning them is an old practice.

The problem is inclusion of that much libraries creates a dependency hell, because a higher level library pulls in approximately 5 more libraries which are generally shared amongst other libraries you potentially pull.

Library A updates its' dependency to library C to a new, more recent minimum, but library B depends on C's behavior which is recently changed. Hence A requires C > v3, but B requires C==v2. Then the fun begins.

Bonus points for having a serious CVE/RCE as a reason for updating C to v3 in the first place.

Re:"Is This Project Still Maintained?" by throwaway11460 on Thursday May 16, 2024 @07:02AM (#40376990)
That's why we use Semver, at least in the Node land. A security fix should be a patch, at most minor version bump - API/behavior shouldn't change.
Re:"Is This Project Still Maintained?" by bayindirh on Thursday May 16, 2024 @07:05AM (#40377017)
This doesn't change the fact that some security fixes forces behavioral changes, and semver doesn't protect you against that.

You fix the bug, and the behavior changes, because your design was wrong in the first place. Now there is at least one library which depends on that behavior so bad, so they can't change their dependency chain in two days.

Re:"Is This Project Still Maintained?" by barkbyte on Thursday May 16, 2024 @08:10AM (#40377345)
Dependencies can also do that in node with post install hooks (or in rust with build.rs even if you don’t call into them, I think)
Re:"Is This Project Still Maintained?" by edflsafoiewq on Thursday May 16, 2024 @10:27AM (#40378899)
The dev who you made download and build all those deps just to throw them away for one. Not super fond of the attitude that efficiency for the end user is a necessary evil... but a dev can be expected to endure any indignity.
Re:"Is This Project Still Maintained?" by throwaway11460 on Thursday May 16, 2024 @10:42AM (#40379065)
What about the dev who is making the library for their own purposes, they don't matter? Be thankful for the opportunity to use their work for free; you can do your own thing if you don't like theirs.
Re:"Is This Project Still Maintained?" by edflsafoiewq on Thursday May 16, 2024 @10:46AM (#40379104)
By that argument you can never criticize anything, so what's the point of even talking about how you should or should not code?
Re:"Is This Project Still Maintained?" by throwaway11460 on Thursday May 16, 2024 @10:49AM (#40379132)
Yes, you can't criticize that somebody made a big library - you have no idea why, how and under what circumstances it was made. Even if the only reason is that the author doesn't find it fun to maintain a bunch of libraries, that's still a valid reason. It's actually exactly that most of the time - it's a hobby, not a job to them. They probably maintain few dozen microservices at work, why bring it home too? In other cases you have resource constraints, cost/benefit optimization, etc.

You can say you'd prefer a bunch of smaller more focused libraries, but criticizing that big one is wrong, especially if you got it for free including the source and a license to distribute and modify it. And this has nothing to do with how you should or should not code, there's no definite way how everyone should code; some prefer batteries-included frameworks and some prefer small focused pieces - it's an opinion more than a fact that small library is better. But even if not, people are free to share their bad work and you are free to pass on it, provide suggestions or patches - but criticizing it is entitled.

BTW it's funny to argue that you should be able to criticize a big library for being too big right under a discussion about dependency version requirement hell. One big library that includes everything would alleviate that pain - perhaps that's what the authors were looking to fix. As I said, this is an opinion, not fact.

Re:"Is This Project Still Maintained?" by sureIy on Thursday May 16, 2024 @06:39AM (#40376871)
> Using a library for every little function, or worse, adding a huge library for a couple of function calls make my hairs go up.

Well then which one is it? There’s no middle ground, unless at some point you decide it’s now worth using a big library and start replacing your own code.

If you decide to write everything from scratch, good luck to your users, they’re not getting a better product.

Re:"Is This Project Still Maintained?" by bayindirh on Thursday May 16, 2024 @06:47AM (#40376914)
I use big and well matured libraries for the critical parts of my code. These can be logging, option/file parsing, or linear algebra.

When I add these libraries, I use most parts of them at the end of the day.

However for other one-off things like internal state handling or stuff which I can prop up using the standard library, I refuse to use external libraries.

I kindly disagree on the part of they're not getting a better product. On the contrary. They require to manage less dependencies, most critical parts are well cooked/tested, and other parts are built using the standard library which is built to build these things.

When rolling things forward, I need to juggle less dependencies, too. So things can move forward easier.

It's not like I'm banging the keyboard and shouting done when it prints something meaningful to screen.

Re:"Is This Project Still Maintained?" by Chris2048 on Thursday May 16, 2024 @07:14AM (#40377051)
> There’s no middle ground

unless using a language that supports tree-shaking.

Also, you could also use the same interface (fn-signature etc), or even add a flag for if the lib is installed (in python, try-except over import, with "dummy" module as fallback).

Re:"Is This Project Still Maintained?" by Gigachad on Thursday May 16, 2024 @08:31AM (#40377522)
I’m not sure cargo is really the fault rather than developers who import a library just to use a trivial utility function in one place. Modern package managers solve 1000x problems and make one pitfall slightly easier. But it’s still a very easily avoided problem.