News for hackers. Stuff that matters.
Re:Cross-platform Rust rewrite of the GNU coreutils by serf on Wednesday January 03, 2024 @04:56AM (#38852345)
here's an OK synopsis of why it's different, even if I don't necessarily agree with the 'style of language'

[0]: https://news.ycombinator.com/item?id=37383680

Re:Cross-platform Rust rewrite of the GNU coreutils by AlienRobot on Wednesday January 03, 2024 @05:08AM (#38852400)
Wouldn't GPL be perfectly fine with this if it was a library instead? I don't get it.
Re:Cross-platform Rust rewrite of the GNU coreutils by Deeg9rie9usi on Wednesday January 03, 2024 @05:23AM (#38852480)
People seem to hate GPL for no reason these days. As you said, since it is no library, GPL would be perfectly fine.
Re:Cross-platform Rust rewrite of the GNU coreutils by vlakreeh on Wednesday January 03, 2024 @07:31AM (#38853302)
People have reasons, personally I don't like placing the burden of a viral license on people. I don't write code to further a copy-left cause, I write it to build things and make it easier for other people to build things.
Re:Cross-platform Rust rewrite of the GNU coreutils by palata on Wednesday January 03, 2024 @08:16AM (#38853676)
But by doing that, you don't protect the users. If a commercial entity writes software that depends on e.g. an LGPL library. Then I as a user totally benefit from the fact that is it LGPL. Maybe it can even allow me to update the dependency myself, be it for security reasons, or for compatibility reasons (I could patch something in the library that would make the whole project work on my machine).

By not using copyleft, you make it easier for others to make proprietary products with your code. But is that what you want? As a user, are you happier with a proprietary Windows or an open source Linux?

Re:Cross-platform Rust rewrite of the GNU coreutils by AlienRobot on Wednesday January 03, 2024 @09:47AM (#38854647)
I prefer Windows, actually.

I think the problem with this argument is that you think the user wants the source code. I agree that would be great ideologically but 99.999% of the people using computers couldn't care less. Not just non-developers but even the best programmers would rather just pay money to not have to fix someone else's bugs. Nobody wants to waste their time replacing libraries. They just want to use software. If we're being pragmatic about what is good "for the user" then the best thing for the user is that there are as few obstacles as possible for developers to create products for the users to use.

If we consider the dichotomy of use the viral license or make no software, then the user will always prefer to have software that exists in proprietary form than having no software at all. If a company doesn't like GPL, they'll simply not use GPL code, and maybe not using GPL means their product is not viable anymore because they have to rewrite everything themselves, and now something that was going to be made isn't going to be made because they can't get free labor. Is that good? According to GPL and FOSS, yes. According to the user that wanted to use that piece of software, no.

I have to add this feels so awkward because every time there's a thread about AI you'll find someone saying that the fact that data is copy-able renders copyright a thing of the past, and then you turn around and you see GPL and no-no-no-no-NO! You want to copy MY source code, my LABOR, and use it for free in your proprietary products? That's completely unfair! And next week there's a new OpenAI lawsuit and everyone's like "if you didn't want to get scrapped, shouldn't have posted it on the internet." It's so awkward.

Re:Cross-platform Rust rewrite of the GNU coreutils by palata on Wednesday January 03, 2024 @11:20AM (#38855864)
> I think the problem with this argument is that you think the user wants the source code.

I want the source code, so I want developers to push for copyleft. I am a developer, so I push for copyleft on my end, for the others who want the source code like me.

> even the best programmers would rather just pay money to not have to fix someone else's bugs

I regularly need to patch some (open source) software I use. I probably couldn't pay for it (not sure if anyone would fix it for me), so I don't have a choice. The proprietary alternative is that I just can't have the damn software fixed.

> If we're being pragmatic about what is good "for the user" then the best thing for the user is that there are as few obstacles as possible for developers to create products for the users to use.

When you make it as easy as possible for developers, you end up with ElectronJS crap and similar. With proprietary protocols, nobody can write a different client (e.g. to make it more accessible). I don't consider this good for the user.

> If a company doesn't like GPL, they'll simply not use GPL code, and maybe not using GPL means their product is not viable anymore

First, there is not only GPL. The weakest copyleft I know is MPLv2, which requires to share the modified files. If a company's product is not viable under those conditions, then that product is simply worthless.

Second, as an open source developer, I don't really give a shit if another company that is not paying me is not viable with my copyleft license. I am not working to help them make money while making the world less convenient for me.

> I have to add this feels so awkward because every time there's a thread about AI you'll find someone saying that the fact that data is copy-able renders copyright a thing of the past

It's not weird: I don't want AI to train from my code without permission. BigTech can abuse my licenses because they are too powerful for me to do anything about it. It's just a shameful workaround, and I am hoping that new licenses will come out that explicitly forbid ML training, so that I can update my licenses.

> everyone's like "if you didn't want to get scrapped, shouldn't have posted it on the internet."

I surely don't say that. People who say that have no idea how copyright works, there is nothing worth discussing there.

Re:Cross-platform Rust rewrite of the GNU coreutils by baq on Wednesday January 03, 2024 @05:46AM (#38852642)
They can’t use GPL software at their $DAYJOB most likely.
Re:Cross-platform Rust rewrite of the GNU coreutils by cmrdporcupine on Wednesday January 03, 2024 @05:56AM (#38852714)
Often can't contribute either. When I worked at Google, contributing to open source projects was permitted with the right paperwork etc. but there was extra caution around GPL licensed projects, esp V3.

Which to me is more of a sign that the GPL actually works than anything else.

Re:Cross-platform Rust rewrite of the GNU coreutils by palata on Wednesday January 03, 2024 @08:20AM (#38853715)
Exactly! As an employee, I don't give a shit about the paperwork needed by my company. What's best for me is to have my code open sourced. If my company is forced to depend on GPL code (because it can't write it from scratch itself), then that's good for me as an employee because it means that my code will have to be published according to the GPL!

Employees should push for copyleft. Whoever owns the code obviously wants the choice to keep it proprietary, but the vast majority of devs do not own their code.

Re:Cross-platform Rust rewrite of the GNU coreutils by anonymous_sorry on Wednesday January 03, 2024 @07:09AM (#38853155)
In a corporate context, is there any risk or downside associated with making a specific contribution to GPL code which doesn't also apply to MIT/BSD?

The only downside I can perhaps think of is a strategic one: endorsing the use of GPL in general and contributing to a healthy copyleft ecosystem, which may be disadvantageous to a giant corporate like Google.

Re:Cross-platform Rust rewrite of the GNU coreutils by oneshtein on Wednesday January 03, 2024 @08:27AM (#38853784)
Yes, there is risk to contribute back to opensource project in form of bug fixes or code updates.
Re:Cross-platform Rust rewrite of the GNU coreutils by rakoo on Wednesday January 03, 2024 @07:41AM (#38853385)
If you make a contribution to GPL, the entirety of your contribution must be GPL. If you're using some internal library, you must make your library GPL. If your library is GPL, anything that depends on it must be GPL.

For-profit companies don't like sharing and making the community better if it doesn't make them 10x richer, so they don't like GPL.

Re:Cross-platform Rust rewrite of the GNU coreutils by oneshtein on Wednesday January 03, 2024 @08:17AM (#38853682)
> If you're using some internal library, you must make your library GPL.

Not true at all. You cannot alter license of a library at all if you are not the author. You can select or change license for your own code only.

Re:Cross-platform Rust rewrite of the GNU coreutils by rakoo on Thursday January 04, 2024 @10:23AM (#38868044)
I was talking about an internal library as in "a library developed inside My Company that is not made public"; as someone working for My Company, you'd have the responsibility to change the license of said library.

Of course if you're using a library you're not an author of, the library must already be compatible otherwise you just can't use it.

Re:Cross-platform Rust rewrite of the GNU coreutils by anonymous_sorry on Friday January 05, 2024 @07:31AM (#38878426)
You can define what your contribution is, right? You can publish any code you like under GPL, with zero further commitments as far as I'm aware. It doesn't have to be working software, it doesn't all have to be licenced the same. The copyright is still yours and you can do what you like. You can sell the software. You can enhance it and keep the enhancements proprietary and secret. You can use and sell the enhanced software without providing source code

The only obligations come if a company (or individual) accepts GPL contributions from outside, because they don't own the full copyright any more and have to obide by the licence of the code they accepted from outside.

Re:Cross-platform Rust rewrite of the GNU coreutils by goodpoint on Wednesday January 03, 2024 @03:28PM (#38859394)
For a smaller company, [A]GPL would provide only upsides, especially in terms of protections against freeloaders, and that's why companies are using it.
Re:Cross-platform Rust rewrite of the GNU coreutils by goodpoint on Wednesday January 03, 2024 @08:02AM (#38853558)
And, amazingly, people manage to blame GPL rather than blaming google.
Re:Cross-platform Rust rewrite of the GNU coreutils by baq on Wednesday January 03, 2024 @09:56AM (#38854776)
of course! they get money from google and zilch from GPL.

“It is difficult to get a man to understand something, when his salary depends on his not understanding it.”

Re:Cross-platform Rust rewrite of the GNU coreutils by goodpoint on Thursday January 04, 2024 @08:07AM (#38866542)
And most of that salary comes from corporate surveillance or SaaS...