r/programming • u/xtreak • Jan 17 '20
A sad day for Rust
https://words.steveklabnik.com/a-sad-day-for-rust634
Jan 17 '20 edited Jan 17 '20
This is utter both sides bullshit.
Fact is, you’re allowed to act like an asshole as a maintainer. So are your users then. People don’t like to be dismissed or treated like shit, especially when they do the leg work to prove an issue is really an issue.
He acted like an asshole, period. Deleting issues that prove an unsafe API decision is exploitable then claiming that it is “not a problem” is acting like an asshole.
He could have acted like a human being and said “I’m looking for a solution that solves A, B, C without causing D, E, F”. He could also say “We’re not accepting any more patches, you should consider something else if security matters”.
Everyone likes to bag on the “entitled users” and defend the “embattled maintainer”, while ignoring said maintainer was going out of his way to gas light and suppress evidence that there was a problem.
Lying should never be okay, not even from open source maintainers. Period.
As usual, Yegge Klabnick both-sides it when in reality, the prime reason this exploded was due to the actix maintainer acting like an asshole.
I always file bugs as kindly as possible. Nearly every time it’s taken seriously and met with kindness. The one time it wasn’t, I dropped that dependency because it wasn’t fundamental and I’d rather use anything else than deal with someone who acts like an asshole.
I’d prefer actix-web be dropped like a hot rock than everyone try to squeeze blood out of a fuck-you stone, but I’ve noticed that when you depend on a project too much, it’s nearly impossible to remove without trashing the project.
Edit: I can’t believe I brainfarted and confused the Steves, especially since I’m a fan of Steve Yegge. 🤦♀️ thank you /u/guepier for the correction!!! I feel really silly but really, thank you for catching that silly AF typo!
Addendum:
I know what it’s like to be “under siege” like has happened to the actix-web maintainer.
My previous job I did all the work and had all the responsibility for a fundamental business dependency. Anything that went wrong was my fault, even the things I was explicitly told be management to do!
I grew a larger and larger chip on my shoulder, because I felt deeply disrespected and wronged by others in the company. That chip came through and people often retaliated because they felt I was being an asshole to them. Because I was, because I was feeling like I had to be perfect 24/7 and it was breaking me down. I eventually was fired for losing my temper. Period.
I knew I needed help, I got a therapist. I honestly wanted to change. By my next (now current) job, I resolved to be kind to myself, be kind to others, to set hard boundaries, to never make it personal and most of all, never overwork myself as some “indispensable” employee.
I do have a lot of empathy for the “asshole maintainer”. Really. I know what it’s like to feel that others are ungrateful, unmutual and mean.
My biggest revelation has been kindness. I’m always striving to be kind, to myself and my peers.
I’ve never been happier, both in work and outside of work. And I like being supportive of my team. I care about them. And in caring about them, I demonstrate I can care about myself. Learn from me - I wasn’t able to get satisfaction or vengeance at my prior job and I broke. I had to find a positive angle.
But I have never forgotten the lesson that people reciprocate, when they’re treated kindly. Or when they’re treated badly. And it’s from what they see, not what I see. So I do what I can to be positive and spread that to others. I want to be kind. And I want others to be kind.
That means I don’t want to be an asshole and I always must remind myself to be kind. Feelings are complex and very, very human.
57
u/guepier Jan 17 '20
Yegge both-sides it
… are you using “Yegge” as a reference to the somewhat verbose writing style of the post? Or did you confuse your Steves?
62
Jan 17 '20
Corrected! Thank you! I brainfarted and crossed my Steves!!! I feel silly for that. Thank you for proof reading! Really! 😊
32
25
16
u/Audiblade Jan 17 '20
This story is not super clear-cut. I’m not going to link to a dozen citations, or try to prove that I’m some sort of neutral party here. I’m going to give you account of this story as I remember it and as I felt it. Because this isn’t really about playing judge. This is about thinking about the future.
And then later:
You have to understand a lot of nuance here to even know the main points of the story. One version of this story that will certainly be told is “The Rust community says they’re nice but they will harass you if you use unsafe wrong.” Is that what we want? I, for one, do not. If you’re a part of Rust, you gotta ask yourself: are you happy with this outcome? How did your actions (or lack thereof) contribute to it? Could you have done something better?
In my reading, I don't think Steve was saying "both sides are equal." He expressly says he doesn't want to decide who deserves the blame! Instead, I think he's making the acknowledgement that the Rust community can only directly control its own actions. Whether or not it's to blame, what's the right thing for it to do now, and what lessons should it learn?
Whether or not the Rust community deserves to have to go through some soul-searching isn't really the point. The point is, this situation was ugly, and the only responses the community can pragmatically make are ones about what it will do in the future, not anyone else.
25
u/pocketcookies Jan 17 '20 edited Jan 17 '20
IIRC, it what happened that led to this was a little more than just telling him there were issues. It happened a few other times where people got upset about his use of
unsafeand dogpiled on him. The issues and PRs were raised respectfully but there were often a bunch of additional comments in the middle of them (from random people) which directly insulted the maintainer. I think the most recent one was telling him he should never code in Rust again.→ More replies (3)9
u/hellourgo Jan 18 '20
Oh wow that addendum. Thank you so much for writing that. That was exactly what I needed to read right now.
I'm in a rough position right now and feel disrespected and marginalized. What hurts the most is my teammates talk to me like I'm an asshole they have to put up with. Because I've become an asshole they have to put up with.
I forgot that the only real way to fix that is to take care of myself and be kind.
→ More replies (1)12
u/ltjbr Jan 18 '20
This is utter both sides bullshit.
...
My biggest revelation has been kindness. I’m always striving to be kind, to myself and my peers.
hmm...
14
Jan 17 '20
Are you attempting to be "kind" to the Actix maintainer or Steve with this post? I would think being kind entails interpreting their actions in the most charitable way possible; I'm not sure you've accomplished that here.
17
u/Faesin Jan 17 '20
Right? The addendum story fails to acknowledge the scale of it all. A manager being an asshole is not the same of dozens or hundreds people dog pilling you.
7
u/Hobofan94 Jan 17 '20
He acted like an asshole, period. Deleting issues that prove an unsafe API decision is exploitable then claiming that it is “not a problem” is acting like an asshole.
That's a misrepresentation of what happened in my opinion. Deleting the issues was not what caused this shitstorm, it was some earlier dismissive comments of his. He edited/deleted the issues when he was trying to contain the outrage and then later when tearing the repository down (I don't know why he didn't just use the Github moderation features for locking down discussions). He also didn't claim that the unsafety issues are not a problem after deleting the issues.
7
u/b4ux1t3 Jan 18 '20
I thought I was going crazy reading this article and the repo. Nice to see at least a couple people thinking the way I do. (Not that we're right, just that I'm glad I'm not the only one feeling conflicted here.)
Yes, the community wasn't. . .great. Frankly, they were dicks. But, seriously, they're responding to someone who's acting an awful lot like a self-professed god, bestowing his creation on us mere mortals.
I know this has been going on a long time, and that he had to deal with this for a long time, but, geez, if I pulled this stuff at work, I would not have a job, and likely would never work in the industry again.
As a relatively newly-minted Rustacean, I cannot, honestly, say that I see both sides here. The community was full of shitty people, sure, but not everyone who the maintainer was shitty to was in that camp. Many were simply recommending legitimate changes that seem to increase security and performance, in many cases.
The maintainer should have said "If you don't like it, I'm going to a non-free license with closed source and you can vote with your dollars" or "okay, fair enough, let's let open source take its course". Those are the only two reasonable options. His responses were increasingly "You don't like the glorious creation I hath bestowed upon you?!" His readme is where that came to a head, honestly. He sounds like the embattled, altruistic maintainer, like you said, when, in reality, he's just being another shitty, petulant asshole, ironically mirroring the very people he's complaining about.
I hate that this happened, but I'm also really glad that the article linked is an overdramatization of the impact of this. Frankly, I've never heard of this library before today, though I do recognize it was a pretty big deal. I could even have used it in a project I'm working on at work right now. But, frankly, I don't want to rely on projects run by people like this.
Eh, in the end, I guess all I can offer is utter disgust at both sides, just like you did.
8
u/kevingranade Jan 18 '20
The maintainer should have said "If you don't like it, I'm going to a non-free license with closed source and you can vote with your dollars" or "okay, fair enough, let's let open source take its course". Those are the only two reasonable options.
Those aren't remotely the only reasonable options. Open source licenses do not mean maintainers have to accept any particular patches or any patches at all. "Open source taking it's course", would have been someone forking the project.
→ More replies (4)→ More replies (46)2
u/lovestheasianladies Jan 18 '20
This is why I'll never use a major library maintained by mostly one dude.
It almost always ends up like this or abandoned.
68
u/otrv Jan 17 '20
I am starting to hate that people are framing subs on this platform as an immature and vile version of their communities like we are some sort of aliens from another planet and not their actual communities.
→ More replies (2)17
u/BmpBlast Jan 17 '20
It's pretty standard practice for humanity since pretty much the dawn of time. We're incredibly tribal. If you notice behavior you don't like within your community then find the group with the highest count of said "bad" actors, blame that entire group, claim they are all like that, trump up the charges, and then - if you can gain enough backing and power - ostracize them. We have had a few thousand years to get really good at this. It's basically the current political scene in America except neither side can gain enough traction to ostracize the other. So instead they just slap false labels on each other all day long.
→ More replies (3)
44
u/N3RO- Jan 17 '20 edited Jan 17 '20
Anyone have a tl;dr version?
Edit: thanks everyone for their tl;dr. What a story xD
93
u/TinyBreadBigMouth Jan 17 '20
The Rust compiler limits your code in certain ways, to ensure that Rust's safety guarantees are met. Sometimes, you have a piece of code which will uphold those guarantees, but which can't be checked by the compiler. So you put it in an
unsafeblock, which tells the compiler, "Just trust me, this will work." This is normal, and required for some low-level code.This library,
actix-web, usedunsafea lot. Some of the uses were legit, but some had the potential to be actually unsafe. There was a lot of back and forth between the creator and the unofficial Rust subreddit, with the creator downplaying the issues and ignoring a number of pull requests. Things got really angry, with a lot of bile and yelling, and the creator has just shut down the library.The author of the article is disappointed by this loss, and worried about what it says about the Rust community.
→ More replies (3)→ More replies (4)36
u/C0c04l4 Jan 17 '20
TL;DR: Maintainer of actix-web was condescendent and dismissive to people proposing patches that could fix security issues due to the use of "unsafe". He then deleted everything and told everyone to go fuck themselves.
15
Jan 18 '20
Rust is a piece of technology. This whole thing about the maintainer and “the community” just baffles me. Any mature programming technology has a treasure trove of poorly maintained and/or poorly written code that sees widespread use. Most programmers either:
A) Use it as is. If the code works fine for all your use cases, who cares what goes on under the hood? That’s the point of grabbing a third party library.
B) Roll your own. There’s no readily available library for your use case. You can start by forking a library that comes close to your needs, but if it needs serious work, might as well start from a clean slate.
16
u/rinnagz Jan 17 '20
After reading on the topic it really seems like the guy created an amazing library but everything has flaws, people pointed that out, he didnt accept the criticism, deleted the issue and then shit happened.
→ More replies (6)
52
Jan 17 '20
Since this revolves around the fundamental issues of unsafe and security, I'd say the easiest thing to do is have the package manager recursively flag packages as unsafe if they use unsafe.
Then unsafe packages can be awarded "safe" status by a community review process (and safety can be revoked when issues are flagged).
It sounds like this maintainer would have been happy to just be an unsafe package. The community could then rally to produce a safe alternative.
78
u/beginner_ Jan 17 '20
It sounds like this maintainer would have been happy to just be an unsafe package
Nope. He deleted issues or said they were no problem when in fact they were an issue. If he wouldn't have cares about being unsafe he could have simply said so.
If someone tells me my project has a security flaw and shows an exploit he created you can be sure I fix it or at least admit it and explain why it doesn't get (immediately) fixed.
And his post mortem just let's his arrogance shines through again.
This doesn't excuse rude behavior from users/community but if you treat others respect less, don't act butt hurt when they don't respect you.
11
u/jacobb11 Jan 17 '20
Then unsafe packages can be awarded "safe" status by a community review process (and safety can be revoked when issues are flagged).
I think this is both a good idea and the best solution to the problem.
But I wouldn't use just the word "safe". Really we need a phrase that says a project is intended to be "safe", despite containing unsafe code (possibly recursively), and a phrase that says the community thinks this intention is correct. Sometimes the community will be wrong. When that is discovered the project's maintainers can either fix the project to match their intention or drop the label.
Straw man suggestions for the 2 labels: "intended safe" and "community vouchsafed".
7
u/dreamwavedev Jan 17 '20
"trusted"? Feels like that's the common terminology for this kind of thing in the code packaging world
→ More replies (1)6
u/protestor Jan 18 '20
But I wouldn't use just the word "safe". Really we need a phrase that says a project is intended to be "safe", despite containing unsafe code (possibly recursively), and a phrase that says the community thinks this intention is correct.
The Rust community already has a word for it! It's sound.
An
unsafeblock that causes UB is unsound. But if it's written correctly, it's sound. What we care about is soundness.15
→ More replies (8)4
44
u/SonOfMammon Jan 17 '20
The problem is that the project owner is both too proud to accept flaws within his code and too proud to accept patches from other people. Some open source developers see themselves as generous saints who bless the plebeians with their work and that they should just be grateful and accept their flawless work as it is, this is a wrong attitude. I am glad this project is dead, we need less sensitive narcissists and more open minded developers who can accept criticism and good contributions from others.
66
u/siemenology Jan 17 '20
I found the maintainer's farewell message to be... not a good look for him, let's say. He leans hard on the idea that the person fixed an issue in a way that wasn't "fun", whatever that means, and so that's why he rejected the patch. I don't find that to be a convincing argument for a major security flaw. Unless he had a better solution ready that day, I'd think that the better choice would be to accept the security fix, get it into
masterand then, if he wants, work to improve the solution or replace it with a better one once a safe and "fun" alternative can be found. The idea that a security fix should languish because it's not cool enough does not make one sound like a good maintainer of a program that is inherently a security target.29
u/csjerk Jan 17 '20
This part just blows my mind:
What was the patch? It was very strait forward, simple, uncreative change, intention was just to remove unsafe not to fix existing code. I believe software development is one of the most creative work we do, and creativity is part of why we love software development, why it is fun. Especially if you combine it with real world projects constraints. “creative constrains” could be source of very interesting solutions. Being on the edge of your abilities is super fun. So uncreative change felt boring
I sympathize with this to some extent, especially for a side project SOME part of it should be fun, and stretching your abilities. But not every line has to be cutting edge, most-clever-you-can-possibly-write material. Large parts of any sane project are going to be rote and boring. That's just the nature of code.
I haven't seen any of this controversy before today, but seeing the above, I have to think the Rust community is better off without this guy and his attitude and the code that stems from it dominating the benchmark charts for web frameworks (which are inevitably what a lot of new users see first, as a language grows).
→ More replies (1)30
u/SonOfMammon Jan 17 '20 edited Jan 17 '20
He leans hard on the idea that the person fixed an issue in a way that wasn't "fun"
he cant say "this code is more safe and sound than mine" so he just gives a bs reason to still maintain that his own code is superior
he idea that a security fix should languish because it's not cool enough does not make one sound like a good maintainer of a program that is inherently a security target.
In my experience as an unpaid unlicensed reddit psychoanalyst, I could say that the author is trying to discredit as others code as "not as fun as mine". He cant criticize the code submissions themselves for their safety or quality, so the only thing thats left to him is to say that his code is more fun in order to be able to not accept others submissions as superior to his. The author seems to be displaying very childish and narcissistic line of thinking.
The bad part of open source is that it attracts alot of people who crave recognition but are not willing to do the work for it, instead expecting others to be thankful for whatever they produce. If you are not gonna do a good job then dont do it at all.
I will get the usual copypaste "open source entitlement" response but the thing is, you are the one who is creating this thing and feeling entitled for us to praise you for it, so dont complain when we dont provide that praise.
→ More replies (8)5
9
u/spacejack2114 Jan 17 '20
What was the use case for actix-web? For extreme high-performance situations and competitions or for general purpose web application use?
34
u/PM_ME_UR_OBSIDIAN Jan 17 '20
Its main use case is winning benchmarks. Its pervasive soundness problems make it ill-advised for production use.
17
u/drcforbin Jan 18 '20
And because it wins contests, people assume it's a good choice for other things, when it's actually only safe for winning contests. This whole thing could've been avoided if the author made it clear that this was a toy project or othwise upfront with their intent, rather than making it look like a general purpose tool.
That said, we're making a big deal out of something pretty minor; I don't think the author genuinely meant to mislead anyone, and I don't believe anyone was actually hurt by the difference in expectations/intentions...in a couple weeks, this will all be forgotten.
→ More replies (3)
16
4
u/dethb0y Jan 18 '20
I feel the real question is "If reddit disappeared tomorrow, what would people have to complain about?"
In an article about rust and a maintainer of a web framework, this author mentions Reddit 13 times, all negative.
12
u/plcolin Jan 17 '20
This is why Rust needs formal verification, so nobody can bullshit everyone else by pretending their unsafe code is OK when it’s not. Unfortunately this will take years if not a good decade, and Rust cannot be fully trusted for safety-critical software until then.
→ More replies (2)
7
30
u/gpyh Jan 17 '20
That's a lot of talk and introspection for something that don't deserve any of it.
A maintainer wrote shit code and acted like an asshole. People called him out on it. He couldn't stand it so he bailed out. That's the story.
He is entitled to do whatever he wants, and people are entitled to their opinions about what he does. There's nothing to read in this, and no grandiose conclusion about the language or its community. It's just humans interacting.
3
3
u/shruubi Jan 19 '20
So, the original library author has some patches submitted, rejects them due to considering them "boring", gets called out for being a bit of a dick by some unpleasant people and decides to take his ball and go home.
I missed the part where Steve Klabnick was somehow involved in any of this, and yet, he can't help but swoop in with his opinions on the matter as though the world simply cannot continue to spin without the Rust community knowing that he feels awful on behalf of the library author and, oh, btw, fuck reddit, those guys are assholes.
Seeing as a bunch of people unrelated to what actually happened are giving their opinions, here is mine: Lib author is well within their right to reject patches for whatever reason they want, but that means that if they give a shitty reason then they need to accept that shitty people will use that as a reason to be shitty. Don't throw stones in glass houses.
And since we're giving opinions, Steve Klabnick might be a good guy, but this just reeks of taking advantage of community drama to make a big show of how great the Rust Community is, how much reddit is full of subpar, trash humans and raise his own personal brand in the hopes of one day getting a job where he can post safe opinions on twitter and get flown to conferences to give more safe opinions.
10
u/Puddl3glum Jan 17 '20
The biggest of dick moves here was deleting the project instead of just archiving it. I get not wanting to deal with people as a single maintainer on a popular project. But this is a case of "I'm taking my ball and going home" I've seen in a while.
→ More replies (1)
8
u/pbecotte Jan 17 '20
It almost feels like we shouldn't ever use a project that only has one maintainer. This isn't universal...Sqlalchemy is one person and super responsive...but there are so many projects supported as a hobby but used professionally.
Fork is of course the solution. But there's no convenient way to take over a project without the authors cooperation, or to organize a professional replacement. Don't know the way forward.
(Also, kind of feel like the whole thing is dangerous. Such a low percentage of code is provided professionally. It's fun. But it's super exploitive also. Feels like we should all just stop and force the companies to pick up the cost)
→ More replies (3)18
u/jetxee Jan 17 '20
It almost feels like THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ...
And if it is used in a professional context, it's up to the user to allocate resources to maintain and fix this software. Which may be a contract with the official maintainer, or an internal team working on a project, or pooling resources with other users.
→ More replies (2)
6
Jan 17 '20
Simple. Just disable issues and PRs from github. There is ZERO obligation to maintain, add, or modify any code you have personally written and shared.
6
u/augmentedtree Jan 17 '20
Was the bespoke unsafe Cell implementation part of why the perf is so good? Sometimes that's the right trade-off.
→ More replies (2)
18
u/aurisor Jan 17 '20 edited Jan 17 '20
Having interacted with Klabnik a bunch of times I can tell you that by ignoring/blocking/muting him the only thing you're going to miss is a bunch of juvenile attempts to stir up drama. Nothing gets this guy going like community drama.
And, for a while, the Rust reddit was a decent place. I still think it’s
better than most reddits, but it’s degraded much more quickly than the
community at large. “Why Reddit is like this” is a whole other essay; I
think it’s built into reddit’s structure itself.*rolleyes*
36
u/BanksRuns Jan 17 '20
As someone who uses Reddit hourly for the last decade, such criticism is spot on and frequently relevant.
This site is a machine for generating toxicity and outrage. It's slightly less fickle than Twitter, but more vicious once it gets going.
→ More replies (3)12
u/gpyh Jan 17 '20
You're confirming a feeling I had with this post. He's making grandiose statements out of something that seems somewhat benign. It's like he enjoys it.
12
u/aurisor Jan 17 '20
This causes the now-usual Reddit uproar. It’s extra nasty this time. Some people go far, far, far over the line.and four or five other digs about this site
*submits to reddit*
8
u/thrallsius Jan 18 '20
The Rust community is the new Ruby community.
Full of drama queen hipsters and SJWs.
Move on, nothing to see here.
4
u/PeakingBruh Jan 18 '20
The amount of shit people have to deal with when it comes to maintaining any sort of open source project is insane. If you don’t like it, fork and move on with your life
2
u/tonetheman Jan 18 '20
This. So this. Whining ass Rust cunts.
Fork the repo and move on period. That is what should have been the answer. If you do not like the code because of the evil unsafe then fork it/fix and move on.
26
Jan 17 '20 edited Jan 17 '20
Good job, Reddit. Unfortunately, entitled fucks treating maintainers like punching bags is a problem with OSS in general.
21
Jan 17 '20
Both sides weren't perfect. The author is biased because he was a maintainer too. The maintainer was an asshole too by closing issues and patches from contributors that were genuinely working on a existent problem and straight rejecting even discussing about it.
5
u/saltybandana2 Jan 18 '20
This happened with vim as well. There were some patches to remove support for old systems and add async execution. Braam rejected the patch, they forked the project and it became neovim and it now has its own active community.
It turns out that you can fork projects whose leadership you disagree with.
51
u/aethelwyrd Jan 17 '20
Unfortunately, entitled fucks treating users like punching bags is a problem with OSS in general.
If you don't want to maintain a project then don't be a maintainer. People are going to make comments and demands. That is a good thing. That is what makes the product better. Saying, "It's fine" when people repeatedly point out unsafe practices is not helpful. The maintainer could have said, "Sorry, I don't feel like going in that direction". Way less confrontational and productive.
It really isn't a big secret that maintaining an open source project is hard and demanding. No one should be surprised by that anymore.
111
u/glider97 Jan 17 '20
If you don't want to maintain a project then don't be a maintainer.
TBF he just did that.
→ More replies (1)22
u/maikindofthai Jan 17 '20
I'm of the opinion that you don't get to decide what someone else is signing up for when they open-source their code.
→ More replies (1)37
u/thedracle Jan 17 '20
If you don't want to maintain a project then don't be a maintainer.
He could have also never contributed a line of code of this project as open source. The fact is people who author important projects and gift them to the world aren't obligated to maintain those projects.
If you don't like the level or kind of maintainence, fork it, and convince users to use your alternative.
16
u/ElectricalSloth Jan 17 '20
The fact is people who author important projects and gift them to the world aren't obligated to maintain those projects.
true but when you actively try to dominate stuff like tech empower and get people to recognize your project so users can use it, you probably should expect criticism if there are flaws you actively wont fix... what if the fixes caused the project to be lower on the benchmark? what good use is a tech empower benchmark if the software has big issues? "hey look our software is fast but we refuse to fix any security issues that crop up"
I feel like if you don't want to deal with criticism then don't invite it, but don't be confused why it happened if you do
13
u/cypher0six Jan 17 '20
It's the other way around. You're benefiting from free work. If you want it your way, you can either work with that maintainer or build your own.
→ More replies (1)→ More replies (13)5
u/ltjbr Jan 17 '20
The maintainer could have said, "Sorry, I don't feel like going in that direction". Way less confrontational and productive
It might have made things slightly better, but it would not have made the problem go away.
People would still have gotten angry so long as the project wasn't going in the direction they wanted it to
→ More replies (2)→ More replies (11)4
u/cp5184 Jan 17 '20
This is the worst case of all, everyones an asshole of course but worst of all, the reddit assholes were right.
6
u/mindbleach Jan 17 '20
When an open-source maintainer says "I agree with your facts but not your motives," fork or shut the fuck up. There are no other practical options. Polite criticism is unlikely to shift someone who views a widely-used open-source project as theirs alone. Impolite criticism, doubly so.
Right now I'm on Basilisk. Not a recent version. The maintainer who forked it from Firefox, before Mozilla erected a gargantuan middle finger atop a bonfire of every extension ever written, decided to do the same thing in reverse. The attitude in Basilisk's official forum is "contact the extension developer," like forced refactoring isn't a bridge on fire. Like this liferaft of a browser has a userbase in high demand.
I have not and will not explain to this smug idiot why their decisions defeat the entire purpose of their project. It wouldn't accomplish anything. It would only make both of us frustrated and bitter.
Accepting that something is broken is neither ideal nor easy. But you can't negotiate with a broken stair. Either you work around it, and warn others to work around it - or you fix it yourself.
6
u/d4rkwing Jan 17 '20
The great thing about open source is you can modify the code freely. I would be surprised if nobody wanted to continue development.
5
3
Jan 18 '20
Ah yes, the standard rust team response to these things which is "fuck reddit", completely ignoring they helped to create this culture and it's present everywhere else in the community.
2
Jan 17 '20
Just an entitled developer that refuses patches because he works at microsoft so he must be a fucking code god.
-1
u/bumblebritches57 Jan 17 '20 edited Jan 17 '20
I can't believe that Steve is hand waving all of his toxic community's harrassment of the author of that library away as if it's all his fault, how he was attacked.
Absolute insanity.
Whatever happened to the CoC? why isn't it being used?
2
1
-3
u/jonjonbee Jan 17 '20
If you're lucky enough to make it big in anything, you better have fucking well done it honestly, because if you haven't, people will find out. This is more true for open source than anything else, because anybody can find your bullshit real easy.
All I'm getting from this story is that a con artist who tried to game the TechEmpower benchmark, likely for his own personal gain in terms of prestige, finally realised he couldn't BS his way out this time, and bailed. I really don't see a massive loss here.
As for the linked post... what ineffable garbage. What it boils down to is claiming those who accused the actix author of dishonesty are "harassing" him. No, they are pissed off and being mean to him because he fucking lied and betrayed the trust the community placed in him - which is not even remotely the same fucking thing! Get fucked, Steve.
8
u/nckl Jan 18 '20
What the hell? "Get fucked, Steve"? Steve has been an irreplaceable force for good in rust and programming at large, and helped with numerous projects.
Telling him to "get fucked", calling the post "ineffable garbage" isn't close to an honest critique. Calling the actix developer himself a "con artist" is literally the exact same type of harassment you're trying to dismiss. The great thing about open source is you can always fork it and move on, but nobody does, because "some person made bad code" isn't what any of this is about. You really can't understand what it's like to be at the end of an internet hate mob until you've experienced it.
-13
u/rustlover2 Jan 17 '20
The only mistake made here is paying any attention to reddit. Fuck reddit. No one should ever let it make one feel bad, influence you, or have any control over anything!
18
-14
u/shevy-ruby Jan 17 '20
The problem is that Rust divides the world into two groups of people:
The good people who use only 'safe' code.
Everyone else, the gangsters, who use 'unsafe' code.
As long as Rust does not resolve this, you will have epic fights between these two styles. This is actually a worse war than vim versus emacs too.
12
u/NilsIRL Jan 17 '20
The problem here is:
the people who use safe and unsafe code safely
the people who use unsafe unsafely
→ More replies (1)12
u/DidiBear Jan 17 '20
I think that adding some
// Safety:explanation aboveunsafeblock is a fine way to tide both "group"7
u/CryZe92 Jan 17 '20
I honestly feel like this should be an attribute on an unsafe block that can be extracted out into a report and linted against if it‘s missing.
11
2
Jan 17 '20
I usually don't like your comments as most of them are waaay too subjective or idealistic (especially whenever the topic is related to Rust!), but I think you hit the nail on the head there.
It's not just the use of the
unsafekeyword as well, but what is considered "idiomatic Rust" or otherwise. The Rust community seems hellbent on following some arbitrary "idiomatic Rust" ideology, to the point where some functions in the god damned standard library are rendered completely useless if you want to please the Rust community. It's like having the "Pythonic way" enforced in a weird authoritarian way. Do it wrong, and suddenly you're the devil.At the same time, I don't want to blame the Rust community too much because it is incredibly wholesome once you're in. A giant majority of them are actually super helpful by pointing things like "you could do that better" or "doing that is actually unsafe because X and Y". This truly helps beginners - it does, but it's also put in a way that's very condescending and aggressive, especially when it's a developer seen as "experienced" making the mistake.
Rust people, please, stop making people feel like they committed an unforgivable sin whenever they do something unsafe or un-idiomatic. It's okay. Most of the time, it's just a honest mistake. Just because you're following the CoC doesn't mean that you're not being a dick, whether it is knowingly or not. Propose changes and explain them, don't push them down people's throats. If maintainers (who are, let's not forget it, project owners) don't want to implement that change, you're welcome to fork the project and advertise it as "totally safe, idiomatic version of projectName", but by Open Source philosophy your freedom stops there.
3
u/TwoBitWizard Jan 18 '20
As others have commented, this isn’t about the use of unsafe. It’s about the unsafe usage of unsafe. Actix uses unsafe in lots of places. So does the Rust standard library. No one is complaining about those instances of unsafe because people haven’t found a problem with them. People did complain about some specific uses of unsafe in Actix because they were actually unsafe.
The keyword could probably be renamed to “potentially-unsafe” or something so that when we talk about it, this is clearer to people outside the language/community when it comes up? But, then we’d need 12 extra characters just to use a perfectly reasonable language feature, so...”unsafe” it is.
→ More replies (1)
-15
u/kepidrupha Jan 17 '20
Why does Rust have unsafe? I thought the whole point of it was that it was safe? If I have to use highly performant code that has unsafe in why don't I stick with C++?
17
Jan 17 '20
Many things can be done in Rust without the unsafe keyword. But there are some use cases which require unsafe to be a part of the language; namely, code that must interact with the kernel or other operating system level directives.
The article points out that there were too many unsafe pieces of code which could have been rewritten using safe code. The problem isn’t the language, it’s just the ignorance of the programmers.
26
u/steveklabnik1 Jan 17 '20
At some point, you have to interact with something not written in Rust: the operating system. At that point, you can either:
Only allow calling into operating system functionality via code in the language's runtime
Provide an escape hatch.
Rust does not want to have a runtime, and so #2 is really the only option.
This is one of a few different reasons.
9
u/majikguy Jan 17 '20
There are some things that sadly cannot be guaranteed to be safe, like interacting with non-Rust code. You can't know that the C code you are calling is completely safe, so the unsafe block allows you to tell the compiler to take your word that the code inside is safe to use. If you are wrong then there will be issues, which is why it's best to minimize the use of unsafe code to avoid bugs creeping into your codebase.
6
u/sybesis Jan 18 '20
If I have to use highly performant code that has unsafe in why don't I stick with C++?
Because Rust has "safe" mode by default. Sticking with C++ is just running unsafe everywhere without the ability to actually have safe mode.
Why unsafe? Because Rust can load library written in C/C++ for example. You can't make them safe just because it's Rust. And if you want to port something from unsafe language to Rust without changing the whole architecture. Unsafe does have its place there too.
4
-13
u/KevinCarbonara Jan 17 '20
So, someone takes a peek under the covers, and it turns out actix-web is using a lot of unsafe code.
If there is anyone who believed that this wasn't going to be exactly what happened with 90%+ of Rust projects they were lying to themselves
15
u/fuck_gcses Jan 17 '20
I don't like to make assumptions too quickly but there is no way someone who has written Rust code would ever say that.
So I'm safe to say: you have no clue what you're talking about
→ More replies (1)
-4
u/childintime9 Jan 17 '20
Can someone reply me with a TL;DR?
7
0
Jan 17 '20
[deleted]
193
u/chunes Jan 17 '20
A popular Rust web framework named actix-web used a lot of
unsafecode. People (sometimes rudely) pointed it out, the maintainer blew them off, and then lots of drama happened. Eventually, the maintainer accepted patches that drastically reduced the amount ofunsafe.Rinse and repeat twice more, the second of which happened yesterday and /r/rust allegedly got extra nasty about it and the maintainer quit.
144
Jan 17 '20
I've written a lot of Rust code that's in production in web, messaging and telephony contexts. I considered using Actix early on, but as soon as I saw a large amount of unsafe code, I stopped considering it at all.
I did not go on the Internet and try to convince other people not to use it. I did not complain about the maintainer that he should manage his project differently. I just didn't see why a library doing what Actix does should use any unsafe code at all, so I didn't use it.
When I later saw the way the maintainer responded to well-meaning bug reports, including patches, that validated my decision.
There's no need to flame people for running their open-source project the way they want to run it. You can just not use the code.
26
u/steven4012 Jan 18 '20
Just curious, what if one of your dependencies (lets say
D) depends on Actix, and there's no good alternative to it? In that case, you are in a way forced to use Actix, although you might also try to convince the author ofDor write a similar crate yourself that doesn't use Actix.This specific case might not happen in reality, I'm just trying to use this as an example to see how people react to similar situations (so I might also learn something from it).
→ More replies (14)27
→ More replies (4)29
u/danudey Jan 18 '20
There's no need to flame people for running their open-source project the way they want to run it. You can just not use the code.
There’s kind of two things here. The first is that there’s no need to be a dick to people in any circumstance, for any reason.
The second is that writing a popular open source project that tops the performance charts gets you a lot of visibility, and when you do so in a language which prides itself on safety, littering your project with unsafe code is a disservice to the community and your users.
Should everyone have just ignored it? That’s an accident waiting to happen for everyone who uses this framework, who is likely using rust under the assumption that people are writing code in rust to be safe, and not to be… what, trendy?
In that sense, the maintainer was operating in bad faith, to the detriment of everyone involved. If indeed Microsoft was using his code, which was deliberately and recklessly unsafe to use (by rust standards), I’d be pretty embarrassed if I were him.
→ More replies (2)118
u/PM_ME_UR_OBSIDIAN Jan 17 '20
This wasn't about the amount of
unsafecode, but rather about the maintainer's cavalier attitude towards demonstrable soundness bugs.41
u/zucker42 Jan 17 '20
It was partially about the amount of unsafe code.
I remember this now deleted post https://www.reddit.com/r/rust/comments/8s7gei/unsafe_rust_in_actixweb_other_libraries/
linked from: https://www.reddit.com/r/rust/comments/8wlkbe/actixweb_has_removed_all_unsound_use_of_unsafe_in/
9
u/IceSentry Jan 18 '20
Their attitude started showing up when people confronted them about unsafe code. So it's certainly related.
→ More replies (15)64
Jan 17 '20
The maintainer was rude first of all. This doesn't excuse any of either sides, just pointing out that the maintainer was not really an angel here. As pointed out, he closed issues from people that tried to contribute into solving an existent problem. He was acting like an asshole too, while some contributors were really kind.
17
142
u/mickeyknoxnbk Jan 17 '20
Pardon my analogy, but I think this covers it:
Someone wrote a programming language for people who love purple
Someone wrote a high-performing web framework for the purple language
Someone looked into said web framework and found out it was doing some red things and some blue things, but wasn't quite purple
Various users requested and provided fixes that make it not quite so red/blue but more purple
Maintainer of web framework actually prefers the red/blue way of doing things
Users prefer the purple way of doing things
Fight over purple vs red/blue ensues
Maintainer quits
Blogger writes article saying it is a said day for purple lovers
Replace purple/red/blue with safe/unsafe. It makes more sense when you take the connotative meaning away from the underlying issues.
188
u/PM_ME_UR_OBSIDIAN Jan 17 '20
Better analogy:
Some people made a city for people who are very worried about earthquakes.
Buildings tend to be rather high, thanks in part to the local earthquake-proof construction techniques that also happen to help with structural stability. People who like high buildings also move in.
Someone built a skyscraper that's taller than any other skyscraper in the city, nay in the world, using the local construction techniques; advertises it as ready to move in, and people do in fact move in.
Someone looks into that skyscraper's design, and finds out that while it was built using the same toolset used to make tall, earthquake-proof buildings elsewhere in the city, the actual design is anything but earthquake-proof. The architect of the building is notified and provided with a fix, but replies with "pshh I'm just having fun #YOLO". Repeat twice more.
People are starting to be concerned that if an earthquake topples the building, it's going to make a mess and hurt the city's reputation with respect to earthquakes. A rumbling rises, and it's not an earthquake; it's the community, especially the reddit-based segment.
The maintainer ragequits.
90
u/ChemicalRascal Jan 17 '20
Eh, not to be overly critical here, but likening unsafe code to earthquakes and buildings collapsing only feels like it makes the maintainer look unreasonable.
People aren't allowed to build skyscrapers for fun, with a "lol who cares this is a personal project" attitude. But that's exactly what open source is all about. If a library is someone's fun side project, then it's someone's fun side project. It's allowed to stay that way, because people aren't living in the code.
I get what it's like to be on the other side. My workplace uses a JS bundler/minifier that is underpinned by a library called "NUglify", the author of which effectively stopped bothering to update the library in about 2015, or thereabouts (they're still taking PRs, but not doing active work on the library themselves). So there are huuuuuuge swaths of modern JavaScript that we, as a business, cannot use. Like
letandconst.And anyone who works with JavaScript on the daily would be able to tell you how much of a pain in the ass it is to not be able to use stuff like that.
And it sucks, but it's not NUglify's author's fault. If anything, it's on us for not looking into our tooling and contributing back up. But even if the author wasn't taking PRs at all, maybe they decided to eschew computers entirely and become a monk in Tibet or whatever -- it's not their fault.
Because open source isn't about holding people liable. It's about letting people do interesting things with software and sharing it. In turn, it's about letting people do what they please. If I want to write
actix-weband make it particularly unsafe, not only can you not stop me, you shouldn't because that's not what open source is about. But if you really wantactix-web-safe, you're free to do it yourself, because that is what open source is about.Today, the Rust community didn't evacuate people from an unsafe tower. They alienated a developer, and that's all they did.
→ More replies (28)14
→ More replies (4)6
Jan 18 '20
A rumbling rises, and it's not an earthquake; it's the community, especially the reddit-based segment.
The maintainer ragequits.
TBH if they're anything like my HOA I'd rage quit too...
20
u/coolreader18 Jan 17 '20
Maintainer of web framework actually prefers the red/blue way of doing things
That's not really it, though; it's not just a preference to have safe code, the compiler assumes that all mutable references are non-aliased, and structures codegen around it. It's not particularly an issue right now, maybe, but I think once a bug in llvm is fixed, rustc will give mutable references the
noaliasattribute, and that's when things can and will start to break inconsistently in weird ways when you cause undefined behavior w.r.t. mutable references.→ More replies (1)3
u/7h4tguy Jan 18 '20
Well all he cared about was this: https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=query
When he knew he couldn't get the speed he wanted by doing everything in Rust, he quit.
→ More replies (22)4
u/PM-ME-YOUR-POUTINE Jan 17 '20
Replacing unsafe with a color did not clarify things. When Bob Nystrom did it, it made sense.
40
u/C0c04l4 Jan 17 '20
TL;DR: Maintainer of actix-web was condescendent and dismissive to people proposing patches that could fix security issues due to the use of "unsafe". He then deleted everything and told everyone to go fuck themselves.
8
u/8bitslime Jan 18 '20
This is an honest question so please be friendly. Were the issues found legitimate security holes or just the usual "unsafe bad" jerk? Frustrating though, I just started learning Actix about a week ago...
16
u/Nickitolas Jan 18 '20
Legitimate soundness issues in the public api (the original issue was about a private function being unsound, but someone found a way to do it with the public api later on in a comment after the mantainer asked for It). Too bad the issue was deleted and you cant see it now. If you use one of those archive things you might be able to.
→ More replies (2)-14
Jan 17 '20
This is just the tip of the iceberg. Have a search for 'actix' in /r/rust.
It's a shitty community and they've lost a talented programmer.
→ More replies (1)5
0
Jan 17 '20
[deleted]
→ More replies (1)25
Jan 17 '20
Is it really that controversial to say that reddit comment sections often bring out the worst in people?
37
0
Jan 18 '20
[deleted]
10
Jan 18 '20
To my understanding of the controversy, people are angry not so much because of the "unsafe" code itself, but because the maintainer blew off the issue and refused to accept the patch because it wasn't "creative" or whatever. Imagine the uproar that would ensue if Linus refused to accept a security fix because he didn't think the code was clever or artistic enough.
→ More replies (4)
254
Jan 17 '20
[removed] — view removed comment
99
u/timmyotc Jan 17 '20
Find the person that wants to take ownership of the project and tell them that.
125
Jan 17 '20
That would require more work than just dropping a patch.
75
u/SirClueless Jan 17 '20
Also, if the perceived problem is that the Rust ecosystem is worse off for the amount of unsafe code in
actix-webthen forking isn't a rational solution.Unsafe code in a popular library might be a bad thing for the ecosystem. Unsafe code in a popular library plus a warring fork is not likely to be any better.
55
u/UtherII Jan 17 '20
Unsafe code is not the core of the problem, the language was designed with this feature for a reason. Even the standard library use unsafe, so nearly every Rust program contain parts of unsafe code.
The point is the unsafe code should be carefully used in safe abstractions to reduce the use to the maximum and the abstraction used by the actix maintainer were leaking.
28
u/ericonr Jan 17 '20
Even the standard library use unsafe
It kind of has to, because someone has to interact with the OS and libc, and that can't be done in safe Rust. So it doesn't work as an example of the validity of unsafe code.
From what I've read, it seems a lot of the unsafe stuff that people use in Rust tend to be related more to performance than to actually being impossible in safe Rust.
12
→ More replies (2)6
u/Minimum_Fuel Jan 18 '20
Unsafe rust is not only used for interacting outside of rust. It is used all over the place for performance reasons that safe rust can’t know are actually fine. There’s over 1600 hits to unsafe in rust. FAR from all of those are interacting with the OS.
4
u/hayesgm Jan 18 '20
It’s slightly strange to me that rust doesn’t percolate up “unsafe” to the type so that the call sites know they are using unsafe code and all higher up functions know it as well. This would be similar in spirit to the IO monad from Haskell. I feel this could lead people to have a gauge on how much code they depend on is unsafe and in which circumstances.
6
u/MEaster Jan 18 '20
Because then literally everything would be unsafe. At some point you have to have some unsafe code in order to interact with the system because the compiler cannot prove that the system will do as advertised.
2
u/PM_ME_UR_OBSIDIAN Jan 27 '20
Sorry for the late reply: the point of an
unsafeblock is to say "this is the correct level of abstraction at which to reason to prove that this operation is safe". It's not in the type because it wouldn't be composable; the idea is to build safe abstractions from unsafe operations. Once the safe abstraction is built you treat it as such.→ More replies (11)0
Jan 17 '20
[deleted]
33
u/HeWhoWritesCode Jan 17 '20
any suggestion for a production ready language with a safe ecosystem that does not permit unsafe code?
25
u/ImpactStrafe Jan 17 '20
HTML, obviously.
14
u/HeWhoWritesCode Jan 17 '20
your right, screw all these abstractions and let us just inline c into html!
This project will need a name. Let us call it personal homepage project!
→ More replies (1)→ More replies (12)6
u/DeMartini Jan 17 '20
I know the comment you are referring to is referring to something that can’t exist so long as humans are the ones writing code.
However, if you’d like an answer anyway SPARK/Ada is the best option I know. If used properly you can get code that provably won’t crash and can go a long way to assuring correctness.
There’s no free lunch though. It is a lot of work to implement. Professional tools aren’t cheap.
→ More replies (3)8
u/shponglespore Jan 17 '20
So no language with an FFI, then? Or really, no language that compiles to a lower-level langues with less type safety, or interpreted by an interpreter written in a less safe language. Well, shit, that rules out all programs.
If you want safe code, someone at some point has to implement it in terms of unsafe code. Forbidding any kind of unsafe code in the language just means the only people who can implement features that require unsafe code are the maintainers of the language toolchain itself, which is how you end up with a language like JavaScript (as implemented in browsers) whose capabilities are severely crippled compared to just about any other language. Given the niche JavaScript fills, the limitations are reasonable, but most people want a language that allows them access to the full set of capabilities provided by their platform.
→ More replies (2)6
u/jpl75 Jan 18 '20
Would seem to me it's still less effort than harassing the original author to a point he deletes the project.
3
37
Jan 17 '20
You would have to be consistent enough and work extra hard for people to notice your fork. Which also means, marketing it.
Maintaining a project you didn't create and you don't know extremely well is tough to say the least.
People won't just "trust" an unknown fork
Creates confusion to the project's community. People will start asking "so which one should I use" and people will start giving all shorts of different answers.
So at this point, either a big company would have to fork it, or better the project to be deprecated all together, unless someone competent enough takes over.
19
Jan 17 '20
Maintaining a fork is more work than taking over maintainership of a project or starting a new one, and creates extra confusion. Look at what happened to libav.
10
u/kankyo Jan 17 '20
The problem is that there is no good way on Github to get to the currently active fork of a project. As an example Google gitx and try to find the active fork. Now tell me which it is and I'll tell you if you got it right. (I'm pretty sure you'll get it wrong!)
6
u/bhaak Jan 17 '20
gitx/gitx is not the active fork?
If it's not and it is on GitHub, I will be seriously disturbed.
4
u/kankyo Jan 18 '20
Yey! You got it!
Hmm... The Google rankings have improved a lot since last I looked though. Gitx/gitx wasn't on pages 1 to 5 of the search results last time.
2
u/bhaak Jan 18 '20
But you are of course right. Googling can be really misleading. It takes time for a fork to overtake a popular but abandoned version.
At least on GitHub you can look at the network graph to get a good hint what might be an active fork.
→ More replies (1)4
Jan 17 '20
Do you think the people harassing the Actix author were capable of maintaining a fork of it?
I do not.
3
u/cypher0six Jan 17 '20
Completely agree. I don't understand the drama.
My guess is because that would require that people have common sense and the willingness to work. They want what they want now, and they want someone else to do it for them for free.
This is what I can't stand about the open source "community" these days. So much entitlement.
2
→ More replies (6)42
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.
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.
3
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.
-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
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?
→ More replies (4)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)1
u/Comprehensive_Fix571 Sep 23 '22
i'm glad he quit so i don't i have to rely on shitty code by shitty devs. there's already enough of them. fuck em lol
you must be a c++ guy which is responsible for how much trash software (security-wise)at the end of the day, i benefit from their behavior; and one less shitty coder. seems like it worked out lmao
14
Jan 17 '20
[removed] — view removed comment
-9
u/KerfuffleV2 Jan 18 '20
No, you don’t have that responsibility.
So you're actually saying there would be no moral problem with giving away food you know is poisoned?
Obviously there would be legal problems with doing so. In fact, grocery stores and such don't give away (or at least use this defense) their old/expired food because someone could get sick and they don't want the liability.
We’ve come to expect from OS maintainers that they work for free to fix problems we reported.
I didn't say anyone had to work for free. If they don't want to fix the problem, they could take the project down or put obvious warnings that there are known security exploits.
What is problematic is not fixing those known security exploits and just carrying on as if they didn't exist.
→ More replies (6)5
Jan 18 '20
So you're actually saying there would be no moral problem with giving away food you know is poisoned?
You aren't really getting anywhere with this analogy.
1
u/KerfuffleV2 Jan 18 '20
You aren't really getting anywhere with this analogy.
Maybe I am, but so far no one has actually addressed it and produced a counterargument. The only responses I've gotten so far are that I'm dumb, that I'm wrong and that I'm not getting anywhere.
3
u/Minimum_Fuel Jan 18 '20
Yes they have. The analogy is stupid because poisoned food is not analogous to somebodies open source side project on github.
It is illegal to knowingly give people poisoned food. In some cases, it is even illegal to unknowingly give people poisoned food.
It is not illegal to distribute code you know has possible problems. If this was illegal, programming would come to an absolute stand still. Programming would be literally turned on its head.
If I know food is poisoned, I probably won’t eat it. If I know code has some problems, I will evaluate if those problems matter and probably still use it.
Known to be poisoned code is constantly distributed and sometimes it even stays that way forever (for the life of the software). Linux poll is known to be not great past 10 watches, and yet, it exists and will likely continue to exist for a long time while an alternative epoll has been provided. The only thing stopping one from using poll is documentation, which you wouldn’t know if poll instead of epoll was your first google result (it frequently is).
You analogy sucks and has been sufficiently addressed a few times now.
→ More replies (1)1
Jan 18 '20
but so far no one has actually addressed it and produced a counterargument.
No one has produced a counter argument because the analogy sucks. There's nothing analogous between the two things you've compared.
1
u/KerfuffleV2 Jan 18 '20
There's nothing analogous between the two things you've compared.
The way the two scenarios are analogous is because they both:
Involve distributing something for free.
The thing is apparently beneficial.
The thing actually has ways it will harm the user, which are not obvious.
The person distributing the thing knows about those harms but doesn't stop distributing it, fix the problem or make their users aware.
Specifically, which one or more of those points would you argue don't apply?
→ More replies (2)
222
u/Shinobikungames Jan 17 '20
Does anyone have any actual links to the 'harassment' of the author? All I've found is this https://gist.github.com/mafrasi2/debed733781db4aba2a52620b6725adf where the last post is definitely so, but reading for example the reddit thread on the issue on the rust subreddit shows mostly just discussion. Sure there is a back and forth but it's all criticism, not harassment.
Maybe the mod team has deleted these comments though.