Shop OBEX P1 Docs P2 Docs Learn Events
Code in the forums, should it have to be released as MIT or public domain? — Parallax Forums

Code in the forums, should it have to be released as MIT or public domain?

ctwardellctwardell Posts: 1,716
edited 2012-12-31 11:38 in General Discussion
Given the MIT requirement of the OBEX and the generally OS/OHS spirit of the forums, should there be an official requirement that all code published in the forums be released under the MIT license or as public domain?

I'm talking about about what is specifically posted, not the entire work surrounding it.

So if someone posts a portion of something larger in order to get help with that specific code, they can stake no claim to the posted code, but that doesn't apply to the entire work.

Say someone is working on an I2C driver for part of a commercial project and needs a little help with a specific section of code.
The parts of code that they put in the forum cannot be considered proprietary, but that does not force them to release the entire driver.

I don't think the use of the Parallax Forums to attempt to stake claims to the use of Parallax products is appropriate.

C.W.
«13456789

Comments

  • RsadeikaRsadeika Posts: 3,837
    edited 2012-12-14 08:08
    I don't think the use of the Parallax Forums to attempt to stake claims to the use of Parallax products is appropriate.
    I do not agree with this statement.

    <Edited to comply with OP("we") members rules.>

    Ray
  • Bill HenningBill Henning Posts: 6,445
    edited 2012-12-14 08:09
    Please see Berne Convention

    http://en.wikipedia.org/wiki/Berne_Convention_for_the_Protection_of_Literary_and_Artistic_Works

    Copyright is automatic based on first to publish

    Even clean room is covered if the end result is identical; example protection for 2-3 word jingles.

    Attribution is covered by an author's "moral rights", unless explicitly waived.

    Even MIT licensed code is copyrighted, that is why the license explicitly waives any rights.
  • potatoheadpotatohead Posts: 10,261
    edited 2012-12-14 08:25
    I concur. This is a very worthy discussion that we are all going to have to have now.
  • jazzedjazzed Posts: 11,803
    edited 2012-12-14 08:35
    Please see Berne Convention

    http://en.wikipedia.org/wiki/Berne_Convention_for_the_Protection_of_Literary_and_Artistic_Works

    Copyright is automatic based on first to publish

    Even clean room is covered if the end result is identical; example protection for 2-3 word jingles.

    Attribution is covered by an author's "moral rights", unless explicitly waived.

    Even MIT licensed code is copyrighted, that is why the license explicitly waives any rights.


    Copyright is not patent. Copyright covers use of copy only. Patent covers the use of ideas.

    You can not patent ideas that are already well known such as using an index to an array to get data.

    Parallax requires MIT license on obex items. I agree it should also require MIT license or none at all on entire works published on it's forums, else such work should be removed. Added: This will never happen though.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 10:20
    I disagree with all this nonsense.

    If a person wants to post code, so be it..... Why should every piece of code published automatically go into Public Domain? If a person wants to share his work, then attach a license to it. PERIOD
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-12-14 10:31
    Except for the "nonsense" part, I think I agree with Bruce the most so far. I don't think posted code needs to be automatically MIT or Public Domain. I'm very willing to let someone try to convince me otherwise.

    I don't think I'd be strongly opposed to requiring MIT licenses for forum posts, but for now, I'm inclined to oppose such a requirement weakly.

    Of course, if someone has some super software they think will make them rich, then it wouldn't be a very smart idea to post it to the forum.

    I'm strongly against software patents.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 10:58
    The sole purpose of a license is to grant and/or restrict use. If a license is not provided with a section of code, then the code should not be used in your own project without written consent of the creator (license). Copyright is automatic, if you use code without the written consent of the creator, you are infringing on copyrighted material.

    I do not see where the confusion is, because it is simple to understand.

    In my opinion, a person should be free to publish work within a public forum, and not have to worry about licensing issues unless they specifically want to share it with the rest of the world.

    As I mentioned, copryright is automatic, why make it more complicated?
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-12-14 11:05
    idbruce wrote: »
    The sole purpose of a license is to grant and/or restrict use. If a license is not provided with a section of code, then the code should not be used in your own project without written consent of the creator (license). Copyright is automatic, if you use code without the written consent of the creator, you are infringing on copyrighted material.

    I do not see where the confusion is, because it is simple to understand.

    In my opinion, a person should be free to publish work within a public forum, and not have to worry about licensing issues unless they specifically want to share it with the rest of the world.

    As I mentioned, copryright is automatic, why make it more complicated?

    Bruce has almost talked me over to the other side.

    I generally don't worry about using someone elses code in my own projects. I'd add atribution and not expect to use it in a commercial project but to me code posted in the forum has "go ahead a try this" all over it.

    I see Phil's video capture code, and I want to try it. I don't ask Phil for express permission to try it on my own Propeller Backpack. I'd make sure I had permission before using it in something I sell but I'm expecting Phil whats me to give his code a try.
  • jazzedjazzed Posts: 11,803
    edited 2012-12-14 11:11
    idbruce wrote: »
    As I mentioned, copryright is automatic, why make it more complicated?

    Cite this automatic "law" please. That is, please provide evidence that copyright is automatic without claiming it.
  • Heater.Heater. Posts: 21,230
    edited 2012-12-14 11:23
    Jazzed,
    A quick google around will find what you want.
    Basically if you create a copyrightable work you automatically have copyright on it. No registration or whatever required.

    What I can't find out is how to put a work in the "Public Domain". As far as I can tell it's impossible. Unless you die and people wait 70 years or whatever.

    The best you can do is attach a very open license to it.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-12-14 11:24
    jazzed wrote: »
    Cite this automatic "law" please. That is, please provide evidence that copyright is automatic without claiming it.

    Unfortunately, I think Bruce is correct about this.

    Here's a Wikipedia quote:
    Under the Berne Convention, copyrights for creative works do not have to be asserted or declared, as they are automatically in force at creation: an author need not "register" or "apply for" a copyright in countries adhering to the Berne Convention.

    This is one of the many ways copyright law is so strange (and wrong). I think the driving force behind much of copyright law is Disney's fear that Mickey Mouse will become public domain.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 11:25
    What I can't find out is how to put a work in the "Public Domain". As far as I can tell it's impossible. Unless you die and people wait 70 years or whatever.

    You attach a license saying no restrictions on use. Simple
  • 4x5n4x5n Posts: 745
    edited 2012-12-14 11:25
    idbruce wrote: »
    The sole purpose of a license is to grant and/or restrict use. If a license is not provided with a section of code, then the code should not be used in your own project without written consent of the creator (license). Copyright is automatic, if you use code without the written consent of the creator, you are infringing on copyrighted material.

    I do not see where the confusion is, because it is simple to understand.

    In my opinion, a person should be free to publish work within a public forum, and not have to worry about licensing issues unless they specifically want to share it with the rest of the world.

    As I mentioned, copryright is automatic, why make it more complicated?

    I know I'm not the brightest bulb in the chandelier but I have a question that relates to the complexity of this.

    Let's say for the sake of the conversation I start writing a piece of code and as is normally the case it doesn't work right. So I make a post to this forum asking for help with it. I wrote the code and my ownership and copyright at this point is clear. Now let's say someone looks at my code and sees the problem with it. In the process of helping me with my code makes changes to it and adds some missing pieces and posts it here on the forum. Who owns the code now? Can I use that code without violating the copyrights of the person that helped me. If this code now gets used in a commercial product do I have to give credit? Is the person that helped entitled to a percentage of the profit?
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 11:28
    Let's say for the sake of the conversation I start writing a piece of code and as is normally the case it doesn't work right. So I make a post to this forum asking for help with it. I wrote the code and my ownership and copyright at this point is clear. Now let's say someone looks at my code and sees the problem with it. In the process of helping me with my code makes changes to it and adds some missing pieces and posts it here on the forum. Who owns the code now? Can I use that code without violating the copyrights of the person that helped me. If this code now gets used in a commercial product do I have to give credit? Is the person that helped entitled to a percentage of the profit?

    I am not a lawyer, but I would say that when you receive help and corrections from someone else, and that becomes the final work, I would say the work is then co-authored.
  • potatoheadpotatohead Posts: 10,261
    edited 2012-12-14 11:39
    I have trouble parsing this:

    In my opinion, a person should be free to publish work within a public forum, and not have to worry about licensing issues unless they specifically want to share it with the rest of the world.

    Well, if it is published in a public forum, it is shared with the rest of the world.


    If the forum is MIT, then people who come here to learn, get help, build, can do so with few worries. If we start incorporating lots of licenses, then there are far more worries. Worse, people could be reading something, not understand and then what?

    And this forum is popular because of that. Same with the OBEX.

    Interesting thought experiment:

    Two forums. One MIT, the other is read the license before using, reading, etc...

    Which do you think would get more traffic?

    Naturally, the traffic here makes posting up new products, licensable code and other things attractive right? I think so, but I also think just dropping code here with some license that may or may not make any sense when combined with MIT abuses that traffic a little. What if Bill had open quoted his licensed code? Bunch of us right now would be stuck with having seen it, etc... and that would have implications for working on other projects that may not be compatible with the license.

    (Which is why I asked him not to open quote)

    Now, Chip looked at his code, turned right around and proposed an enhancement, quoted openly. How does that work? Bill offers to consider it later, and let's say he gets it sorted out and package that all under the license chosen for the initial release? Ugh... That's all kinds of broken, IMHO.

    On the other hand, Bill putting a description up and licensing terms means it's clear the code isn't just MIT forum code, which I think is really good. Anyone interested can go and fetch it too, then consider what they want to do given whatever license it has on it. Bill gets the benefit of the traffic, and nobody is obligated for merely surfing the forum they surf each day. I do wonder about Chip posting something back to the forum though... Not sure how that works at all, and a few more people, a code body or two and we've got scenarios that are just messy!

    IMHO, that's the primary reason for a blanket forum declaration. Without it, the place breaks down quickly, and if we have an influx of newcomers due to P2, what happens then? It would not take much to be unable to talk about stuff openly, and who really wants that here? It might make very good sense elsewhere, and when associated to licensed bodies of code, and the typical implementation of that kind of discussion is a closed forum where users register and posts are not visible to the general public, otherwise how does all this stuff really work?
  • potatoheadpotatohead Posts: 10,261
    edited 2012-12-14 11:42
    Re copyright

    Yes, automatic, however registration is required to proceed with legal infringement actions, in the US.

    http://www.copyright.gov/help/faq/faq-general.html
  • Heater.Heater. Posts: 21,230
    edited 2012-12-14 11:44
    I would imagine that most of the time such code postings and corrections are so short you would not expect copyright to apply anyway. There are limits. What those limits are no one can say until a dispute arises, it goes to court and a judge decides.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 11:45
    Cite this automatic "law" please. That is, please provide evidence that copyright is automatic without claiming it.

    The specific law is:
    17 USC § 201 - Ownership of copyright
    (a) Initial Ownership.—Copyright in a work protected under this title
    vests initially in the author or authors of the work. The authors of a joint work
    are coowners of copyright in the work.
    For an explaination, please refer to Circular 1 from the Copyright Office, which is attached below. On Page 2 of Circular 1, there is the question:
    Who Can Claim Copyright?
    The first paragraph states under this question states:
    Copyright protection subsists from the time the work is created in fixed form. The copyright in the work of authorship immediately becomes the property of the author who created the work. Only the author or those deriving their rights through the author can rightfully claim copyright.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 11:51
    Yes, automatic, however registration is required to proceed with legal infringement actions, in the US.

    If felt that someone was infringing upon copyrighted material and I wanted to file suit for infringement, I would imagine that I could register at that time, not at the time of creation or publishing. However, a registered copyright will give you higher damages.
  • jazzedjazzed Posts: 11,803
    edited 2012-12-14 11:56
    While I do not believe Wikipedia is the ultimate authority, I will concede that a "use of a copyright notice" is optional now and not required to assert copyrights. This is useful to know - the issue comes up in music all the time.
    Prior to 1989, use of a copyright notice — consisting of the copyright symbol (©, the letter C inside a circle), the abbreviation "Copr.", or the word "Copyright", followed by the year of the first publication of the work and the name of the copyright holder — was part of U. S. statutory requirements.[21][22]Several years may be noted if the work has gone through substantial revisions. The proper copyright notice for sound recordings of musical or other audio works is a sound recording copyright symbol (℗, the letter p inside a circle), which indicates a sound recording copyright, with the letter p indicating a "phonorecord". Similarly, the phrase All rights reserved was once required to assert copyright.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 11:59
    Okay, now that that is out of the way....

    Requiring a published license for every piece of code will also become a major deterent for active forum participation and plus add additional financial burden to Parallax. For example:

    Is this the correct way to write this?
    CON
      'Multiply the external frequency by 16.
      _CLKMODE              = XTAL1 + PLL16X
      'Specify the speed of the external crystal.
      _XINFREQ              = 5_000_000
    
    DAT
    {{
      &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488;
      &#9474;                                     TERMS OF USE: MIT License                                       &#9474;                                                            
      &#9500;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9508;
      &#9474;Copyright(C) 2012.  Bruce Drummond.                                                                  &#9474;
      &#9474;                                                                                                     &#9474;
      &#9474;Permission is hereby granted, free of charge, to any person obtaining a copy of this software and    &#9474;
      &#9474;associated documentation files (the "Software"), to deal in the Software without restriction,        &#9474;
      &#9474;including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,&#9474;
      &#9474;and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,&#9474;
      &#9474;subject to the following conditions:                                                                 &#9474;
      &#9474;                                                                                                     &#9474;                        
      &#9474;The above copyright notice and this permission notice shall be included in all copies or substantial &#9474;
      &#9474;portions of the Software.                                                                            &#9474;
      &#9474;                                                                                                     &#9474;                        
      &#9474;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT&#9474;
      &#9474;LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  &#9474;
      &#9474;IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER         &#9474;
      &#9474;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION&#9474;
      &#9474;WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                                      &#9474;
      &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;
    }}
    

    Obviously not :)

    Think of the server drive space being utilized and the bandwidth just to transfer that license information for a stupid question.
  • potatoheadpotatohead Posts: 10,261
    edited 2012-12-14 12:01
    Which is why the default being MIT makes perfect sense, and IMHO, limiting other licenses makes even better sense. Then there are no worries. We do what we've been doing for all this time.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-12-14 12:02
    IMO, the only really bad thing that can happen from posting code is to have someone else copy it, claim it as their own, then try to prevent me from using what I originated. Fortunately, everything in the forum is date-stamped, so that eventuality will not ultimately bear fruit for the plagiarist. IOW, the forum is a great medium for establishing "prior art."

    Other than that, and human nature being what it is, if you don't want other people using it -- with or without attribution -- just don't post it here. Obviously, authors deserve credit for what they produce; and, absent any specific license requirement, attribution should be still given. It's just the right thing to do. But dragging the US legal code into the discussion, in a forum that amounts to a de facto free-for-all, is a waste fo time.

    -Phil
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 12:03
    Jazzed

    Here is how it works....

    Literary work is copyrighted the moment it is written

    Copyright notice and registration is optional.

    If a copyright notice is provided, higher damages will be awarded.

    If the work is provided with a notice and the work is registered, then you can be awarded maximum damages, otherwise maximum damages cannot be obtained.
  • Dave HeinDave Hein Posts: 6,347
    edited 2012-12-14 12:03
    There's the law, and then there is common sense. If you don't want someone to freely use your code you shouldn't post it on a public forum. That's like leaving money on a table in a public area, and expecting it to be there when you come back the next day. Common sense would dictate that if you want to share code with everyone on this forum you should allow them to freely use it. If you feel that an idea or a snippet of code is your private property then keep it to yourself.
  • jazzedjazzed Posts: 11,803
    edited 2012-12-14 12:07
    idbruce wrote: »
    Okay, now that that is out of the way....

    Requiring a published license for every piece of code will also become a major deterent for active forum participation and plus add additional financial burden to Parallax. For example:

    ...

    Obviously that is very silly.
    This is what I wrote. I have nothing more to add.
    jazzed wrote: »
    Copyright is not patent. Copyright covers use of copy only. Patent covers the use of ideas.

    You can not patent ideas that are already well known such as using an index to an array to get data.

    Parallax requires MIT license on obex items. I agree it should also require MIT license or none at all on entire works published on it's forums, else such work should be removed. Added: This will never happen though.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 12:11
    @Phil

    Lucky for me and everyone else in the forum, you are a nice guy that likes to share his knowledge. However, I have seen some of your impressive work from which you could have undoubtedly made money from. I also believe in sharing, but I don't think it should be a free for all, just because it is published.
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2012-12-14 12:13
    Duane Degn wrote: »
    This is one of the many ways copyright law is so strange (and wrong). I think the driving force behind much of copyright law is Disney's fear that Mickey Mouse will become public domain.

    Or "Steamboat Willie"

    http://en.wikipedia.org/wiki/Steamboat_Willie
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-12-14 12:14
    idbruce wrote:
    I don't think it should be a free for all, just because it is published.
    My point was that, whether it should be or not, that's what it is. And the prudent person will take that fact into account before posting code here.

    -Phil
  • idbruceidbruce Posts: 6,197
    edited 2012-12-14 12:17
    Okay.... Summary

    It is just my opinion, because it is governed by law....

    Unless there is a license attached to code that permits you to use the code, I would not advise using it, and I think that is obvious.
Sign In or Register to comment.