Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Banning GPL articles

Banning GPL articles

Scheduled Pinned Locked Moved The Lounge
c++comarchitecturequestion
114 Posts 60 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O originSH

    I'd love it if everything had a public domain license on it with a standard disclaimer. i.e. do what you like with it but if anything goes wrong it's nothing to do with us.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #98

    originSH wrote:

    I'd love it if everything had a public domain license on it with a standard disclaimer.

    I agree.

    ____________________________________________________________________________ "Space is big. You just won't believe how vastly, hugely, mind- bogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space." -- Douglas Adams -- Shohom67

    1 Reply Last reply
    0
    • C Chris Maunder

      How would you all feel if we banned GPL licenced code on The Code Project? 1 = bad idea, 5 = good idea

      cheers, Chris Maunder

      CodeProject.com : C++ MVP

      E Offline
      E Offline
      Erik Funkenbusch
      wrote on last edited by
      #99

      Amazing how few people even read this article enough to provide the asked for rating number ;) I think that's a clear indication that people only read what they want to. I say 3, medium good/bad idea. However, here is my take on it. Given that CP's purpose is to share code for any purpose, it wouldn't be unreasonable to require that all articles that include GPL code have a big red warning at the top that says something like "Notice: The code in this article is licensed under non-permissive license. Please read the license terms carefully to determine if you can legally use this code within your project, and what responsibilities you may have to meet the terms of the license" Please also note that this doesn't just apply to the GPL, but also to other licenses (even Microsoft licenses). Frankly, while I don't like the GPL license, I am not going to dictate to anyone that they can or cannot use any given license for their work as a whole. Having said that, I think there is a huge difference between licensing an entire application under the GPL and licensing a few snippets of code. I think non-permissive licenses should be strongly discouraged in the article submission process, but if there is no other option, then the big red banner should be employed.

      -- Where are we going? And why am I in this handbasket?

      1 Reply Last reply
      0
      • C Chris Maunder

        How would you all feel if we banned GPL licenced code on The Code Project? 1 = bad idea, 5 = good idea

        cheers, Chris Maunder

        CodeProject.com : C++ MVP

        B Offline
        B Offline
        BoneSoft
        wrote on last edited by
        #100

        I'm tempted to say yes just because I hate GPL. But, at the same time, I'm not sure I'd restrict anything that is technically free. GPL is just a nuisance. But I also have to consider the fact that if it's not on CP, there's a greater chance I won't know it even exists. ;)


        Try code model generation tools at BoneSoft.com.

        1 Reply Last reply
        0
        • C Corinna John

          Copyright: Nobody is allowed to use the code. Every reader who wants to copy parts of it has to contact the author and ask him "May I copy your code, please?". People who need samples quickly don't have a chance to use it, though it is right there. GPL: The author of GPL licensed code still keeps his copyright. That means, if a reader would ask him, he could allow this specific person to use the code in a closed-source project. People who don't have the time to write and wait for an answer can try the code and - in worst case - wait for their personal allowance until their project is finished. Develoeprs of other GPL projects don't have to ask at all. => GPL licensed code makes life easier. We should rather ban articles that don't have any license.

          ____________________________________ Please vote for my article

          B Offline
          B Offline
          BoneSoft
          wrote on last edited by
          #101

          Corinna John wrote:

          That means, if a reader would ask him, he could allow this specific person to use the code in a closed-source project

          I don't think that is correct. The GPL is pretty specific about how the code can be used and distributed. As an example, the Coco/R project specifically added a clause to their GPL license that allows it to be used as a plugin to non GPL projects. Without the added condition the GPL does not allow that scenario. From what I understand, once you place the GPL on a project, you as the author can't say that user X can do something outside of the license. But then again, I don't know who's responsible for enforcing the conditions of the license.

          Corinna John wrote:

          GPL licensed code makes life easier

          Only if you like putting everything you do under GPL.

          Corinna John wrote:

          We should rather ban articles that don't have any license

          Now that's just crazy talk. Nothing is easier than no license. And think of all the great articles that we wouldn't have access to if non-licensed content was banned. And forcing everybody that submits to find or write a license is pretty restrictive.


          Try code model generation tools at BoneSoft.com.

          1 Reply Last reply
          0
          • D Dan Neely

            To protect Joe Q Coder from accidentally tainting his companies code base because he copy/pasted without reading the whole article to see the GPL tag.

            -- Help Stamp Out and Abolish Redundancy The preceding is courtesy of the Department of Unnecessarily Redundant Repetition Department.

            R Offline
            R Offline
            Ri Qen Sin
            wrote on last edited by
            #102

            I think ripping code is a bad idea. The closest I ever get to it is studying the code, and then writing my own from scratch. I find that ripped code happens to be difficult to maintain because of different styles.

            ROFLOLMFAO

            1 Reply Last reply
            0
            • E Ennis Ray Lynch Jr

              That would prevent articles detailing how to use GPL'd code. I believe the lame encoder is GPL'd and it is definitely deservant of articles. A less restrictive community is always better than a more restrictive community, imho.


              Need a C# Consultant? I'm available.
              Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

              P Offline
              P Offline
              Paul Sanders the other one
              wrote on last edited by
              #103

              No, LAME is LGPL and I use it in my own (commercial) software. But I agree with the general point you make - anything that promotes code sharing is a good idea in my view. And one can always approach the authors of GPL code for 'special dispensation'. Mind you, I tried this with FFTW and was informed that a commercial use license was $7000! Looked in my piggy bank but could not raise that much cash :)

              Paul Sanders http://www.alpinesoft.co.uk

              1 Reply Last reply
              0
              • J Judah Gabriel Himango

                I can already see the Slashdot headline:

                Top Windows Developer Site Bans GPL Code Rumors have it that site owner is sleeping with Bill Gates. Also, he is the spawn of Satan. Bribery suspected. Stallman and Moglen planning legal action.

                Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Lord Is So Good The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                G Offline
                G Offline
                Gary Wheeler
                wrote on last edited by
                #104

                Slight correction: "Rumors have it that site owner is sleeping with Bill Gates. Stallman throws a fit in a jealous rage."


                Software Zen: delete this;

                1 Reply Last reply
                0
                • S Shog9 0

                  Colin Angus Mackay wrote:

                  Why is GPL a must in that situation? Why must it be GPL? Why not some other licence?

                  Why not GPL? :) Surely you can understand the desire of someone who has invested considerable time and effort in a project to keep others from taking their work and making it inaccessible to others? I'll agree that it's not a good fit for a lot of the code here - trying to force anyone using your gradient clipping snippet (or whatever) to open up their entire codebase isn't friendly or practical. But consider a project like ZedGraph[^] (one of my favorite CP-connected projects): it doesn't really do much good to allow someone to take and release this as a closed-source graphing library; requiring that enhanced versions be released with source allows everyone to benefit from it. IMHO, right now CodeProject is sort of a code dumping-ground. A great place to post an article, but a pretty poor host for evolving projects with multiple developers / changing developers. There's some history there as well - i know of at least a couple of promising projects that started out here and then... disappeared when their authors decided to close up the source and turn them into commercial projects. I think that's fine, as long as there aren't any misconceptions. If that's what we're gonna be, then we should go with the most permissive license possible and leave any ongoing development to whatever other sites support a given author's preference.

                  ----

                  ...the wind blows over it and it is gone, and its place remembers it no more...

                  G Offline
                  G Offline
                  Gary Wheeler
                  wrote on last edited by
                  #105

                  Shog9 wrote:

                  the desire of someone who has invested considerable time and effort in a project to keep others from taking their work and making it inaccessible to others

                  My impression of the GPL is that its intent is exactly the opposite. The purpose of the GPL is to make it impossible for you to protect your work by making it a requirement that you give away the source code. On top of that, the GPL is viral. Any product developed using even the smallest piece of GPL-licensed software becomes bound by the GPL as well. In my opinion, anyone who uses GPL-licensed code in a commercial application is foolish, especially in light of today's IP litigation feeding frenzy.


                  Software Zen: delete this;

                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    How would you all feel if we banned GPL licenced code on The Code Project? 1 = bad idea, 5 = good idea

                    cheers, Chris Maunder

                    CodeProject.com : C++ MVP

                    J Offline
                    J Offline
                    Jalapeno Bob
                    wrote on last edited by
                    #106

                    HOw about a 0?? If 1 was just a bad idea, I would radte the idea a zero

                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      How would you all feel if we banned GPL licenced code on The Code Project? 1 = bad idea, 5 = good idea

                      cheers, Chris Maunder

                      CodeProject.com : C++ MVP

                      C Offline
                      C Offline
                      Curtis J
                      wrote on last edited by
                      #107

                      1, maybe a 2 if it only applies to GPL-only code. (My one article so far hooks into a tri-licensed library, although it isn't itself licensed "formally".)

                      1 Reply Last reply
                      0
                      • L Lost User

                        GPL, in my opinion, violates the submission guidelines: If you post to CodeProject then you retain copyright of your article and code. You also give CodeProject permission to use it in a fair manner and also permit other developers to use the sourcecode associated with your articles in their own applications as long as they do not remove your copyright notices or try and take credit for your work. GPL is not compatible with this statement IMO. I vote for NO GPL code. Cheers, Drew.

                        R Offline
                        R Offline
                        Rei Miyasaka
                        wrote on last edited by
                        #108

                        The winning argument.

                        1 Reply Last reply
                        0
                        • Z Zoltan Balazs

                          WTFPL anyone? Most of the articles here present a concept an idea, so WTFPL license would be most appropriate. One should be recognized as an author but you can't force people to share or open code just because they used your source to implement something more complex. Or maybe I'm totally wrong.

                          Network integrated solutions | Flickr A practical use of the MVC pattern

                          R Offline
                          R Offline
                          Rei Miyasaka
                          wrote on last edited by
                          #109

                          This license grants the user the right to sue the author for potentially meaningless "problems". I Don't like it.

                          1 Reply Last reply
                          0
                          • Z zoid

                            I don't understand why one would want to ban them? GPL only "hurts" those who want to blindly copy/use the code in an article. I have used this site for a few good years and I can think of only a few times that I have ever taken any code from here and "just used" it in one of my projects. 99% of the time I read the articles to learn new techniques and approaches, and then use these to solve my problem at hand. The few times I did "just use" the code was because it was available completely free, and there was no point of rewriting it. I still had to take the time to understand it, otherwise I wouldn't add it to my project anyway. If it had a licence that prevented me from using it directly, I still wouldn't lose the understanding part. And once you understand something you can do it yourself. So, in conclusion, I can see how a library that is GPL'd would prevent me from "just using" it in my non GPL projects, but what's the big deal? I just won't use it. I can still look at it and see what approach was taken to solving a given problem.

                            D Offline
                            D Offline
                            DQNOK
                            wrote on last edited by
                            #110

                            zoid ! wrote:

                            I can still look at it and see what approach was taken to solving a given problem.

                            I'm no lawyer, but this phrase jumped out at me as being questionable. Does this approach stand-up in court??? Patents protect "ideas", regardless of the exact implementation. Perhaps similarly, copyrights (sometimes) prevent "derivative works". Is it really OK to study someone else's work, and then to produce a work derived from notions you got from studying their code? I'm not asking whether it's morally OK. I know that question would evoke a firestorm. I'm asking, whether it's LEGAL.

                            David --------- Empirical studies indicate that 20% of the people drink 80% of the beer. With C++ developers, the rule is that 80% of the developers understand at most 20% of the language. It is not the same 20% for different people, so don't count on them to understand each other's code. http://yosefk.com/c++fqa/picture.html#fqa-6.6 ---------

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              How would you all feel if we banned GPL licenced code on The Code Project? 1 = bad idea, 5 = good idea

                              cheers, Chris Maunder

                              CodeProject.com : C++ MVP

                              T Offline
                              T Offline
                              Tom Delany
                              wrote on last edited by
                              #111

                              5, unless you would create a whole new section on Code Project for GPL code. I also do not like the "viral" nature of the GPL license. I tend to agree with the post by Drew Stainton: "GPL, in my opinion, violates the submission guidelines: If you post to CodeProject then you retain copyright of your article and code. You also give CodeProject permission to use it in a fair manner and also permit other developers to use the sourcecode associated with your articles in their own applications as long as they do not remove your copyright notices or try and take credit for your work. GPL is not compatible with this statement IMO." The submission guidelines in and of themselves seems like a modest sort of license to me. As far as the general license discussion goes, I tend to like the Apache license: http://www.apache.org/licenses/LICENSE-2.0.html[^] Just my two cents worth.

                              WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated.

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                How would you all feel if we banned GPL licenced code on The Code Project? 1 = bad idea, 5 = good idea

                                cheers, Chris Maunder

                                CodeProject.com : C++ MVP

                                D Offline
                                D Offline
                                Dave Hary
                                wrote on last edited by
                                #112

                                1 - Bad Idea. The objective of protecting us seem patronizing and thus not fitting with what I perceive as the modus operandi of the Code Project community. David

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  How would you all feel if we banned GPL licenced code on The Code Project? 1 = bad idea, 5 = good idea

                                  cheers, Chris Maunder

                                  CodeProject.com : C++ MVP

                                  P Offline
                                  P Offline
                                  Paul Rosen
                                  wrote on last edited by
                                  #113

                                  How about displaying the category of licence as part of the code project site? Many people aren't clear about what terms their code can be used, or, if they are, it's only clear after downloading the source. I wouldn't want GPL licenced code banned, but if I'm looking to use something for work it would be nice to be able to quickly know what articles to skip over. Do you like the way I turned a poll question into a feature request? :sigh:

                                  1 Reply Last reply
                                  0
                                  • T tec goblin

                                    It's not CodeProject's purpose, nor in CodeProject's interests to prove that GPL wasn't made by God. The question is whether protecting ignorant programmers outweighs the negative feedback.

                                    M Offline
                                    M Offline
                                    macerenn
                                    wrote on last edited by
                                    #114

                                    IMHO, if somebody posts code here on CP, it should be assumed that somebody might actually put that code to use. If the code is of such inferior quality that nobody would actually use it, then it shouldn't be here in the first place. That said, GPL code should not be banned. It stands to reason that if somebody takes GPL code and "taints" his company's code base with it, then that person really shouldn't have access to the company's code base to begin with. Honestly, any developer that can't figure out how to completely re-implement, in his or her own "words", any one of the examples on this site has no business working on production code in the first place. Also, by getting more people to use GPL code, we force more people to release their source code, which is good. And another thing: just because some code is GPL doesn't mean that somebody hasn't already thought of it and used it in closed-source application somewhere. All it means is that we don't know about it yet because it was used in a closed-source application. I couldn't expect to slap a GPL on: mov ax, 0B800h; int 21h; because this code is found in nearly every DOS program ever written. However, Microsoft probably did it first. In fact, if there is one supremely efficient way to do something in a given type of application, it is a safe bet that some closed-source app has already done it that way. Thus, a LOT of GPL code probably violates the hell out of patented closed source code anyway... If you write an open-source application that does "the exact same thing, only free" that a closed-source app does, putting a GPL on it wouldn't do any good anyway, since it is likely that you have duplicated some patented process that you are completely unaware of... But I digress... The topic being GPL code on CP. Keep it. We need it. If somebody wants to put a GPL on their code before posting it here, that is their business. If you block it here, some other site will pick it up and THAT site will become "the next Code Project".

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups