r/programming • • Jan 17 '20

A sad day for Rust

https://words.steveklabnik.com/a-sad-day-for-rust
1.1k Upvotes

609 comments sorted by

View all comments

Show parent comments

42

u/[deleted] Jan 17 '20

[removed] — view removed comment

28

u/glonq Jan 17 '20

Also, it's not that this hasn't happened before. The original maintainer doesn't owe you anything. No explanation, no fix, no nothing. This is Open Source. Understand the implications.

Exactly. You get what you pay for.

1

u/salgat Jan 18 '20 edited Jan 18 '20

First of all, the guy nuked the repo on github so you can't even fork it. This leads to a second more important implication; that you better hope someone has an up-to-date copy of the repository in case the owner goes rogue which hurts the reputation of open source. Unfortunately there are many dependencies/libraries out there maintained by an individual or only a couple people that are vulnerable to this.

The real shame here is that the maintainer decided to do the most damage possible instead of sunsetting the project or handing it over to another trusted developer (even a simple announcement of no more commits being allowed is 100% fine). Of course, hes well within his rights to do this, but I'll let you decide whether this is an appropriate thing to do.

3

u/[deleted] Jan 18 '20

[removed] — view removed comment

5

u/salgat Jan 18 '20

He had it private yesterday (which he mentioned in his readme yesterday). Glad to see he came to his senses and opened it back up.

0

u/Minimum_Fuel Jan 18 '20

Ah yes. It wasn’t the people actively ganging up on someone who said numerous times that they’re not changing a thing who gave the open source community a bad name here.

It’s the guy who got sick of his side project getting him harassed that gives open source a bad name.

1

u/salgat Jan 18 '20

I never said they weren't a problem too. These two things aren't mutually exclusive.

-11

u/KerfuffleV2 Jan 17 '20

The original maintainer doesn't owe you anything. No explanation, no fix, no nothing.

Just giving something away doesn't absolve a person from all responsibilities. Consider an analogous scenario:

I make and give away free food, but unfortunately my food is contaminated with high levels of arsenic due to the process I use. Someone finds the problem and lets me know about it - comes up with an alternative process and even gives me some tools I can use to perform that alternative process. However, I'm not interested and continue giving away the poisoned food.

Am I blameless? Do I have no responsibility in this scenario? I don't think so. I'd say at the very least I should either stop giving away the tainted food or make it extremely clear that there are known issues with it.

12

u/coolcosmos Jan 17 '20

what a stupid analogy

-4

u/KerfuffleV2 Jan 18 '20

what a stupid analogy

Providing software, even free, that is known to have exploits is something that can be actively harmful. It's actually an apt analogy - if you don't agree, how about making an argument instead of just saying "you're dumb"?

4

u/[deleted] Jan 18 '20

Caveat Emptor, except you aren't even paying for it.

6

u/jpl75 Jan 18 '20 edited Jan 18 '20

What is actively harmful are people adopting free projects blindly without proper audit or review.

The responsibility is on adopters who are not willing to bear the cost of a peer review. Not on the person(s) who make their work available for free.

→ More replies (4)

0

u/coolcosmos Jan 18 '20

Never argue with a fool; onlookers may not be able to tell the difference.

→ More replies (1)

2

u/saltybandana2 Jan 18 '20

you hear that people? You'll apparently die if you use this specific web framework...

1

u/KerfuffleV2 Jan 18 '20

You'll apparently die if you use this specific web framework...

That is not a fair interpretation of what I said.

It was an analogy to illustrate a point I was making. Obviously an analogy is not going to be the same in every respect, and is also going to be exaggerated to make that point stand out.

I really can't believe so many people seem not only fine with someone distributing known exploitable projects and not making it clear that there is a known problem but actively hostile to arguments against doing this.

2

u/sweetcollector Jan 18 '20

I really can't believe so many people seem not only fine with someone distributing known exploitable projects and not making it clear that there is a known problem but actively hostile to arguments against doing this.

Many open source licenses say that said code or program isn't under any kind of warranty so if something bad happens, developers aren't responsible. In the other words you're on your own. If you don't agree with the terms, don't use it. Simple as that.

1

u/KerfuffleV2 Jan 18 '20

Many open source licenses say that said code or program isn't under any kind of warranty so if something bad happens, developers aren't responsible.

Basically all software has EULAs and licenses where you sign away your soul. Are we fans of that now?

If you don't agree with the terms, don't use it.

You couldn't use any software if you don't agree with those kind of terms, so this is effectively the same as saying you think there's no problem with distributing harmful software and concealing the fact that it is harmful.

Do you think there would be no moral or legal problem with me making software that purports to be helpful but actually damages the user's system and steals their data - as long as I can get them to accept the same license basically everything else has? Any harm would be 100% on the user and even though I deliberately acted to hurt them, I would be completely in the clear?

1

u/sweetcollector Jan 18 '20

Any harm would be 100% on the user and even though I deliberately acted to hurt them, I would be completely in the clear?

IMHO, the answer is yes if you trust someone blindly with their software (not just software it can be anything) despite the fact that they say, they don't give you any guarantees and they aren't responsible for any harm you get by using their software. I mean they warn you beforehand. If you don't like these terms, simply don't use it (or request to sign a contract that includes your terms or write your own code or find someone who can do it for you etc).

1

u/KerfuffleV2 Jan 18 '20

IMHO, the answer is yes

I guess we just have a fundamental difference of opinion on what good or moral actions are. I don't think creating a situation where someone will come to harm and not even warning them about that harm even though you know about it is moral.

they don't give you any guarantees and they aren't responsible for any harm you get by using their software.

Most software has EULAs like that though, so you basically just have to accept those terms or live without a computer. You'd have to give up on open source at the very least.

1

u/saltybandana2 Jan 18 '20

You couldn't use any software if you don't agree with those kind of terms, so this is effectively the same as saying you think there's no problem with distributing harmful software and concealing the fact that it is harmful.

This is why I was making fun of you earlier. You're like that super-melodramatic 2 year old.

"omg, if someone writes software with a bug in it, I might DIIIiiiiiiiiiEEEEEee, like I would if I couldn't eat!?!?".

yeah ok mr bent out of perspective.

1

u/KerfuffleV2 Jan 18 '20

"omg, if someone writes software with a bug in it, I might DIIIiiiiiiiiiEEEEEee, like I would if I couldn't eat!?!?".

You clearly don't understand the point I was making if you think that's an accurate summary of my position.

So if you're making fun of me, it's based on that ignorance.

1

u/saltybandana2 Jan 18 '20

Oh my bad, I thought the result of a lack of food was death, apparently it's not.

I really can't believe so many people seem not only fine with someone distributing known exploitable projects and not making it clear that there is a known problem but actively hostile to arguments against doing this.

news flash dumbass. your software is exploitable too.

1

u/KerfuffleV2 Jan 18 '20

Oh my bad, I thought the result of a lack of food was death, apparently it's not.

Can't really do much when someone is deliberately acting in bad faith like you are. I already said that's not what I meant.

news flash dumbass. your software is exploitable too.

You realize we're talking about distributing software with known exploits and not fixing the problem, not making users aware. Just saying that software is exploitable is a non sequitur and completely misses the point.

→ More replies (3)
→ More replies (2)