A New Code License: The MIT, This Time with Attribution Required
meta.stackexchange.com
meta.stackexchange.com
I've posted quite a bit of code on SO. I don't want attribution. That is not my goal. That's is an anti-goal for me. I don't want to make it harder to use code in my code. I want to make it easier. I don't even want a link back to SO.
Sure if I write some 1000+ line library on github I might want attribution but I have no such desire on SO.
Am I a rare case? Do most SO contributors want attribution?
Tim just posted an answer that touches on this: http://meta.stackexchange.com/questions/273015/cc0-public-do...
/// <summary>
/// Special JsonConvert resolver that allows you to ignore properties. See http://stackoverflow.com/a/13588192/1037948
/// </summary>
or: //SOURCE: http://stackoverflow.com/questions/9/how-do-i-calculate-someones-age-in-cJim: "Hey Marge, do you know how to escape a flarb?"
Marge: "Yea, call FlarbLib.EscapeFlarb"
Jim: "Ok"
// <summary>
// From Marge
// </summary>
string escapedFlarb = FlarbLib.EscapeFlarb(unescapedFlarb);
I guess I see stack overflow as just an extension of asking a co-worker. It's just the internet lets us all be co-workers remotely.Sure if it's some details answer that says why you're doing something a certain way (like must use 2.0 SDK because 3.0 is broken on Linux. See http://so/1234
But otherwise it seems crazy to me to have it litter the code with attributions for tiny snippets of answers.
I don't think this is true. I know I look up stuff all the time that's one to 5 lines of code. I could go dig up examples. How about "how do you remove the margin from an LI element" Or how do you un-escape a URL. How do you iterate over a XXX in language YYY. All of those are on SO, all are popular, all are 1-3 lines.
Even a 10 line answer though. "How do you make an XHR request" is at most 10 lines and doesn't seem like it deserves attribution.
Do you attribute every pattern you've read in some book? Every code snippet from MDN or MSDN or a manual? How about blog posts on digital ocean or meteor.com (I mention those because I've been reading those recently)
I can't put my finger on why but attribution for a few lines of code on SO seems anti-productive, anti-cooperation, anti-sharing
The ones that do are quite vocal. I suspect that those who don't care don't spend much time advocating. Personally, all the attribution I need is on StackOverflow itself.
More importantly, I don't want to spend a bunch of time wondering if some one-liner I use requires a note in my about dialog. Technically, I suppose I might already need to do this, but I kinda feel that if you're going to try to fix this, you should fix it right.
Stackoverflow is basically documentation. You don't attribute the documentation every time you use an api.
I guess the only exceptions might be:
- if the wodge of code is fairly substantial (how you'd measure that I don't know, but in the words of Potter Stewart - "I'll know it when I see it"); and
- you write a blog post and it's based substantially on my answer and code then a link back to my post would be common courtesy
- you write a book and include my code then attribution might be nice
- you include it in your open source project
I guess it's more as a common courtesy than me being litigious and it's not the end of the world if this doesn't happen.
Personally, for any code I use in my/our own systems based on SO or "found on the internet", I usually add a comment pointing to the source. I do this for two reasons, firstly to provide context or remind myself where it came from, secondly to credit the author.
That said I do understand why SE/SO are trying to come up with a foolproof way of dealing with the legal status of code included in posts [0][1].
[0]: http://meta.stackexchange.com/questions/25956/what-is-up-wit...
[1]: http://meta.stackexchange.com/questions/12527/do-i-have-to-w...
The highest voted answer on the original proposal[1] authoritatively asserts that absolutely everyone wants attribution. It uses the example of O'Reilly ripping off answers for a book without providing attribution. Like you I get my fix from simply helping people out and I would be overjoyed if someone ripped off an answer of mine and put it in a book (sans attribution). However, like that highest voted answer, don't make the mistake of thinking that everyone is the same.
The obvious solution is to allow people to choose the license for their answers. That is still a bad solution because it violates this principle:
> I don't want to make it harder to use code in my code.
For that reason I don't mind having people providing an attribution code comment when they use my answers because a blanket rule-set is easier to follow than dozens of different rule-sets; especially for something as completely inconsequential as a code snippet.
It would need to be "some other license". There are countries where you can't just hand stuff over as public domain. In these countries the author would retain all right.
djb is wrong. Although it probably doesn't matter much, practically speaking.
There is exactly one way how a work can become "gemeinfrei" (public domain): expiring copyright.
So no, you can't place something into the public domain. (There is a minority opinion, as always, among legal scholars, but the big majority says "no way").
You might be able to argue that your wish to place something into the public domain can be re-interpreted as relinquishing the "Verwertungsrechte" (rights of exploitation).
That's what djb seems to argue, and it is a sensible stance. i suppose many courts would agree.
But it's not as clear-cut as djb claims. And who needs ambiguities there?
On a more serious(or lighter) note, how about building a similar website as the Stack Exchange network without the new licensing restrictions and a better UI to begin with and launch before March 1,2016? It's an oppurtunistic time to cash in on this unpopular licensing requirement.
A new startup idea maybe?
They were questions I had at the time, and tech I worked with that I don't any longer but still in wide use.
How old is bash anyway?
It is specifically mentioned in the discussion on Stack Exchange that, under the new terms attribution is required whereas under the old proposal attribution is required only upon request of the copyright holder with regard to code.
My knowledge on this subject is limited, so please correct me if I am wrong.
The new license (basically MIT) is a lot more permissive than the old one (CC-BY-SA), which was compatible with virtually no open source license and just doesn't make a lot of sense for code.
This is obviously going to skew any voting decision in favour of the upvotes. so the 85% approval rating for the changes may not have been anything like that.
In any case, it appears that many of the upvotes were by people approving the idea that the licence terms needed to be re-evaluated, not they necessarily approved of the licence changes as proposed at the time. In fact, by far, the most heavily upvoted individual comments were very much against the proposed changes.
1. I post something to SO and the terms say it is CC-BY-SA.
2. Someone uses my post and properly links back to SO.
SO's terms require this.
Shouldn't the attribution primarily mention me, the author of the post?
How can a link back to SO be required as attribution for my content? It's not that I assigned my copyright to SO, I just posted my CC-BY-SA content on their site. SO is just the middleman.I'm OK with attributing SO and I don't doubt the terms are legally clean. I just goes against my understanding of CC-BY-SA. as well as the new SO MIT attribution construction.
https://blog.stackoverflow.com/2009/06/attribution-required/
Or are you arguing against mentioning SO at all?
Not really arguing against that because I think it's fair.
Playing devil's advocate I can't see how it is legally justified though. It would be interesting if that part would be enforceable.
Yes, this is the interesting question.This attribution required nonsense is annoying. I freely share my knowledge, anyone can use it, I would expect the same from everyone else that posts their code.
[0] https://programmers.stackexchange.com/questions/218331/what-...
Will they start policing their own platform for copyright woes?
2) plagiarism (regardless of copyright) is strongly discouraged. http://stackoverflow.com/help/referencing
That being said, I am concerned that the requirement for attribution creates significant legal landmines for anyone who doesn't follow the practice and many users of the service will not be aware of the requirement or it's potential legal impact.
It would be safer to move to an MIT license without attribution, but request attribution as a courtesy.
Not just courtesy, but work to make it part of the culture. It should be. It is among professionally trained scientists and engineers, and this culture should be propagated into the self-learning crowd.
IMO changing the license is the wrong way to go.
What is reasonable attribution?
A URL as a comment in your code is reasonable attribution.
I'm very much in the "who cares, I put my code there to be used" camp, but attribution is turning out to be surprisingly divisive.
However it is obviously bad for the copy-left movement.
Author attributions seems to be quite clearly considered as compatible with GPLv3.
[1] http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html... [2] http://www.gnu.org/licenses/bsd.en.html
"Code contributed prior to March 1 will be governed by the CC BY-SA license >>> as it has always been <<<." (emphasis mine)
sky isn't falling. attribution was always there, or so it seems according to that part of the post (I'm like, in the overall 10%, and never noticed) .
if anything, requiring a link is a simplification over CC attribution style.
am I missing something?
If I use things off SO I link back to them, out of courtesy to future developers.
This is a problem that needs to be solved though, too many tutorials have code under restrictive licenses, and it doesn't make sense to me.
But you can't expect everyone to do that. Considering people who exercise their rights under copyright a "problem that needs to be solved" is generally regarded as a... radical stance.
Seems misguided to me.
This is a good license change.
Contrariwise, some licenses like the GPLv3 have intentionally broad language to cover works other than code.
Which is exactly how Wikipedia and others work.
I don't want my code to be used in proprietary projects.
I suppose I've always looked at SO as devs helping devs, almost like a virtual coworking space. If the guy next to me is having trouble, and I look over and help him solve the issue, I'm not then going to go "oh, and btw, I'm going to need some attribution, and you're only allowed to use my solution if your project meets my criteria."
What happens if I scrape SO so I can print and sell a book?
Having said that, I would be surprised if the majority of code in SO is generally copyright-able. If I ask a question, "How do I initialise an object in C++" and the answer is a few lines of code, I do not think that this is a copyright-able work. It is a technique. Even if the code is long enough to be copyright-able, I don't think using the technique would be considered a derived work.
Whatever the case, scraping portions of SO would be a copyright violation since it is a collection.
I don't know if by submitting an answer (containing code) I am transferring the copyright to SO, or if I can stand in the way of this by saying "Copyright <my name>" in the answer.
But the problem is big enough for me to want to make sure the code is covered by a license I like. This is just how my priorities are to me.
A major premise of Stack Overflow was that it must be possible for the content to be migrated somewhere else if the company becomes malicious (to avoid being seen as another Experts Exchange). This requires consistent licensing which is compatible with this premise. Allowing users to enforce arbitrary licensing restrictions on their posts would undermine this.
I see, thanks.
I wish I was told about this issue (and the current potential license migration) by SO. Instead I had to come here to read about a change that will be applied, and due to my low number of points on the site, not have my voice heard.
SO might want to give the appearance of some friendly "democratic" place, but the "this thread has been closed for being off topic" and crap like this license debate has really turned me off.
If they cared about the users, "meta" would not be so hidden away as it is, and certainly not issues like this - yet apparently the choosing of a new moderator by vote (glorified ego contest) is enough to send me notifications about.
What a joke; I can't wait for a better site to come along.
I guess the hiding is the lack of a <blink> tag?
Edit: OK, not quite. :-)