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. Software license

Software license

Scheduled Pinned Locked Moved The Lounge
perlhtmlcomtoolstutorial
24 Posts 16 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.
  • P Offline
    P Offline
    PJ Arends
    wrote on last edited by
    #1

    I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


    You may be right
    I may be crazy
    -- Billy Joel --

    Within you lies the power for good, use it!!!

    J M M M M 9 Replies Last reply
    0
    • P PJ Arends

      I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


      You may be right
      I may be crazy
      -- Billy Joel --

      Within you lies the power for good, use it!!!

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #2

      If I publish anything, I put little or no restrictions on the usage of the software. It's kind of pointless anyway to put restrictions on the software, since I have no way to enforce those restrictions. I could only rely on people's good will.

      -- Coming Soon to an Illegal DVD

      P M L 3 Replies Last reply
      0
      • J Jorgen Sigvardsson

        If I publish anything, I put little or no restrictions on the usage of the software. It's kind of pointless anyway to put restrictions on the software, since I have no way to enforce those restrictions. I could only rely on people's good will.

        -- Coming Soon to an Illegal DVD

        P Offline
        P Offline
        PJ Arends
        wrote on last edited by
        #3

        I tend to agree with you, but if I do not even make the effort then how can I complain in the future if I do happen to see my app for sale somewhere else? ( Not likely, but it could happen :-> ) I know it would be like putting locks on your doors, they only keep the honest people out, the dishonest ones will not be stopped by it. But not having locks is just an open invitation.


        You may be right
        I may be crazy
        -- Billy Joel --

        Within you lies the power for good, use it!!!

        J 1 Reply Last reply
        0
        • P PJ Arends

          I tend to agree with you, but if I do not even make the effort then how can I complain in the future if I do happen to see my app for sale somewhere else? ( Not likely, but it could happen :-> ) I know it would be like putting locks on your doors, they only keep the honest people out, the dishonest ones will not be stopped by it. But not having locks is just an open invitation.


          You may be right
          I may be crazy
          -- Billy Joel --

          Within you lies the power for good, use it!!!

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          I think the lock analogy is faulty. What you put in that article, or in the source code for that matter, is easily removed. Breaking an entry requires a little more than "select text, delete". The only reasonably safe way to protect your intellectual properties is to not publish them at all. The honest ones will keep the copyright notice in the source files. Those who can afford it, will also put your name in a credit dialog. Some of them will send you a line, telling you how much they appreciate your work. I do understand your sentiment though. If the license doesn't restrict the honest ones, and it gives you at least legal means for making dishonest ones pay, then there is no harm done. :)

          -- This episode performed entirely by sock puppets

          1 Reply Last reply
          0
          • P PJ Arends

            I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


            You may be right
            I may be crazy
            -- Billy Joel --

            Within you lies the power for good, use it!!!

            M Offline
            M Offline
            Michael A Barnhart
            wrote on last edited by
            #5

            PJ Arends wrote:

            What do other's here think?

            Personally I think the Artistic is one of the better worded ones. Fairly open and still protects your ownership.

            1 Reply Last reply
            0
            • J Jorgen Sigvardsson

              If I publish anything, I put little or no restrictions on the usage of the software. It's kind of pointless anyway to put restrictions on the software, since I have no way to enforce those restrictions. I could only rely on people's good will.

              -- Coming Soon to an Illegal DVD

              M Offline
              M Offline
              Michael A Barnhart
              wrote on last edited by
              #6

              Joergen Sigvardsson wrote:

              If I publish anything, I put little or no restrictions on the usage of the software.

              Then please state that is your license. Many companies prohibit usage of code that the license is unknown. The risks you expose yourself to by not doing so is often just to great.

              J 1 Reply Last reply
              0
              • M Michael A Barnhart

                Joergen Sigvardsson wrote:

                If I publish anything, I put little or no restrictions on the usage of the software.

                Then please state that is your license. Many companies prohibit usage of code that the license is unknown. The risks you expose yourself to by not doing so is often just to great.

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #7

                I always do if I'm publishing "complete code". If it's just a demonstration of a certain technique, I generally don't put a license in the code, because that's not what I'm trying to communicate.

                -- Broadcast simultaneously one year in the future

                1 Reply Last reply
                0
                • P PJ Arends

                  I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


                  You may be right
                  I may be crazy
                  -- Billy Joel --

                  Within you lies the power for good, use it!!!

                  M Offline
                  M Offline
                  Michael Dunn
                  wrote on last edited by
                  #8

                  I put all my sample code in the public domain, because they are mostly tutorials and not money-making ideas. If I were writing a library or utility that would be updated and maintained over time, I'd go with something pretty permissive, for a few reasons 1) I want the code to benefit the most people 2) My personal choice is not to use a license that prevents commercial use 3) Having a license (and not making it PD) means I can keep my name attached to the code and the idea. Name recognition is important - from having my tutorials on CP, I've gotten one full-time job, one freelance job, and several interviews.

                  --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

                  1 Reply Last reply
                  0
                  • P PJ Arends

                    I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


                    You may be right
                    I may be crazy
                    -- Billy Joel --

                    Within you lies the power for good, use it!!!

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #9

                    PJ Arends wrote:

                    yet protects my ownership of the software

                    I'm probably dense, but what exactly does "ownership" mean when the source is freely available and modifiable? Also, regarding modifiable, I recently came across some code that my client was using that comes from my public domain repository. No biggy, but they had modified it without making comments about the modifications. They left my copyright notice in, which was nice of them, but the modifications were attrocious. Which left me feeling that anyone else looking at the modified code would think that I had written that crap. NOT the impression I want to leave. I ended up actually removing my license/copyright notice, since I didn't want any association with the modifications. Which made me think that I want a license that does two things: provides a hash code that you can use to authenticate the file against the original work and two, requires that any modifications be clearly documented. What are your thoughts regarding that? Marc

                    Thyme In The Country

                    People are just notoriously impossible. --DavidCrow
                    There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                    People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                    E P V A 4 Replies Last reply
                    0
                    • M Marc Clifton

                      PJ Arends wrote:

                      yet protects my ownership of the software

                      I'm probably dense, but what exactly does "ownership" mean when the source is freely available and modifiable? Also, regarding modifiable, I recently came across some code that my client was using that comes from my public domain repository. No biggy, but they had modified it without making comments about the modifications. They left my copyright notice in, which was nice of them, but the modifications were attrocious. Which left me feeling that anyone else looking at the modified code would think that I had written that crap. NOT the impression I want to leave. I ended up actually removing my license/copyright notice, since I didn't want any association with the modifications. Which made me think that I want a license that does two things: provides a hash code that you can use to authenticate the file against the original work and two, requires that any modifications be clearly documented. What are your thoughts regarding that? Marc

                      Thyme In The Country

                      People are just notoriously impossible. --DavidCrow
                      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                      People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                      E Offline
                      E Offline
                      Ed Poore
                      wrote on last edited by
                      #10

                      Marc Clifton wrote:

                      provides a hash code that you can use to authenticate the file against the original work

                      That's a very good idea although what happens if someone changes the formatting to fit with specs?  Maybe a "parser" should be included to strip it into a common format. Hmm, maybe that's worth an article, now can I find the time...

                      M 1 Reply Last reply
                      0
                      • M Marc Clifton

                        PJ Arends wrote:

                        yet protects my ownership of the software

                        I'm probably dense, but what exactly does "ownership" mean when the source is freely available and modifiable? Also, regarding modifiable, I recently came across some code that my client was using that comes from my public domain repository. No biggy, but they had modified it without making comments about the modifications. They left my copyright notice in, which was nice of them, but the modifications were attrocious. Which left me feeling that anyone else looking at the modified code would think that I had written that crap. NOT the impression I want to leave. I ended up actually removing my license/copyright notice, since I didn't want any association with the modifications. Which made me think that I want a license that does two things: provides a hash code that you can use to authenticate the file against the original work and two, requires that any modifications be clearly documented. What are your thoughts regarding that? Marc

                        Thyme In The Country

                        People are just notoriously impossible. --DavidCrow
                        There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                        People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                        P Offline
                        P Offline
                        PJ Arends
                        wrote on last edited by
                        #11

                        The license I want to use states that all modifications have to be noted as such, and anybody who redistributes code that they modified has to include either the original code, or note where the original code can be obtained. Crappy modifications is also the reason why the "AS-IS" disclaimer is also included. But my main question was is the artistic license a good one, or are there better ones out there, not 'to license or not to license'. Maybe I am worried about nothing, but as Mike said above, name recognition is important and I want to build on and protect that even though I just do this as a hobby.


                        You may be right
                        I may be crazy
                        -- Billy Joel --

                        Within you lies the power for good, use it!!!

                        1 Reply Last reply
                        0
                        • P PJ Arends

                          I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


                          You may be right
                          I may be crazy
                          -- Billy Joel --

                          Within you lies the power for good, use it!!!

                          M Offline
                          M Offline
                          Member 96
                          wrote on last edited by
                          #12

                          I only ever published free software once and it wasn't a pleasant experience, but the license basically was just the usual use at your own risk stuff. I wouldn't bother to be honest, the act of publishing it here is in essense giving it away to anyone for any purpose. You will have the credit just by publishing it if that's what your concerned about. If you want to make money off it some day then you're still free to do so. If you are thinking of a patentable idea and don't have a *lot* of money then don't even worry about it, anyone with the cash can patent the idea if it isn't already.

                          1 Reply Last reply
                          0
                          • E Ed Poore

                            Marc Clifton wrote:

                            provides a hash code that you can use to authenticate the file against the original work

                            That's a very good idea although what happens if someone changes the formatting to fit with specs?  Maybe a "parser" should be included to strip it into a common format. Hmm, maybe that's worth an article, now can I find the time...

                            M Offline
                            M Offline
                            Matt Gerrans
                            wrote on last edited by
                            #13

                            I just wrote some code that does something like this for xml files; the hash doesn't include whitespace or comment tags, so as long as the real data isn't changed, the it will not break the hash. However, with code, changes to formatting to "fit with the specs" may amount to making the code look so bad you wouldn't want to be associated with it any more. :wtf: I've never seen a coding standard that didn't suck. So I think the hash should be broken by those kinds of changes too. ;)

                            Matt Gerrans

                            E 1 Reply Last reply
                            0
                            • M Matt Gerrans

                              I just wrote some code that does something like this for xml files; the hash doesn't include whitespace or comment tags, so as long as the real data isn't changed, the it will not break the hash. However, with code, changes to formatting to "fit with the specs" may amount to making the code look so bad you wouldn't want to be associated with it any more. :wtf: I've never seen a coding standard that didn't suck. So I think the hash should be broken by those kinds of changes too. ;)

                              Matt Gerrans

                              E Offline
                              E Offline
                              Ed Poore
                              wrote on last edited by
                              #14

                              Still be an interesing "project" to experiment with, although I suppose that the changes could incorporate naming standards (mine sometimes have to) which would also break it.  So what you really want is something to analyse the assembled code, ignoring naming. Hmm, now it's getting quite complex... :doh:

                              1 Reply Last reply
                              0
                              • J Jorgen Sigvardsson

                                If I publish anything, I put little or no restrictions on the usage of the software. It's kind of pointless anyway to put restrictions on the software, since I have no way to enforce those restrictions. I could only rely on people's good will.

                                -- Coming Soon to an Illegal DVD

                                L Offline
                                L Offline
                                Leonardo Pessoa
                                wrote on last edited by
                                #15

                                I usually demand only to be quoted if my code is used in any project.

                                []'s Harkos --- "Money isn't our god, integrity will free our soul." Cut Throat - Sepultura

                                1 Reply Last reply
                                0
                                • P PJ Arends

                                  I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


                                  You may be right
                                  I may be crazy
                                  -- Billy Joel --

                                  Within you lies the power for good, use it!!!

                                  F Offline
                                  F Offline
                                  Fatbuddha 1
                                  wrote on last edited by
                                  #16

                                  Hy there! You should know that I am a student so not allready a programmer:). But did you think of the GPL (Gnu Public licens) or somethig like that? There your code ore libary, or what else is save, but others are allowed to change it, but are not allowed to sell it! Just have a read throw via google. Sorry for my bad english, I am from Austria :) See you

                                  P 1 Reply Last reply
                                  0
                                  • F Fatbuddha 1

                                    Hy there! You should know that I am a student so not allready a programmer:). But did you think of the GPL (Gnu Public licens) or somethig like that? There your code ore libary, or what else is save, but others are allowed to change it, but are not allowed to sell it! Just have a read throw via google. Sorry for my bad english, I am from Austria :) See you

                                    P Offline
                                    P Offline
                                    PJ Arends
                                    wrote on last edited by
                                    #17

                                    Thanks for that, but the GPL is one of the first I looked at. Maybe I misread it but one of the restrictions it places on code is that the GPLed code can not be used in closed-source applications. I do not want to place that restriction on users of my code. I have decided to forgo the whole specific licensing thing and just put the usual "AS-IS" and "no warranty" disclaimers on it.

                                    Fatbuddha 1 wrote:

                                    Sorry for my bad english, I am from Austria

                                    No worries, I understood you and that is the important thing. And besides, your english is way way better than my German:->


                                    You may be right
                                    I may be crazy
                                    -- Billy Joel --

                                    Within you lies the power for good, use it!!!

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      PJ Arends wrote:

                                      yet protects my ownership of the software

                                      I'm probably dense, but what exactly does "ownership" mean when the source is freely available and modifiable? Also, regarding modifiable, I recently came across some code that my client was using that comes from my public domain repository. No biggy, but they had modified it without making comments about the modifications. They left my copyright notice in, which was nice of them, but the modifications were attrocious. Which left me feeling that anyone else looking at the modified code would think that I had written that crap. NOT the impression I want to leave. I ended up actually removing my license/copyright notice, since I didn't want any association with the modifications. Which made me think that I want a license that does two things: provides a hash code that you can use to authenticate the file against the original work and two, requires that any modifications be clearly documented. What are your thoughts regarding that? Marc

                                      Thyme In The Country

                                      People are just notoriously impossible. --DavidCrow
                                      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                                      People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                                      V Offline
                                      V Offline
                                      Vivek Khurana
                                      wrote on last edited by
                                      #18

                                      You can use creative commons share alike attribution license or if you working on some utility/library, you can go with lgpl or bsd license too. All these licenses allow people to modify the code while giving credit to original creator. I personally like to release my code under GPL so that any modifications to the code have to be published again.

                                      1 Reply Last reply
                                      0
                                      • P PJ Arends

                                        I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


                                        You may be right
                                        I may be crazy
                                        -- Billy Joel --

                                        Within you lies the power for good, use it!!!

                                        T Offline
                                        T Offline
                                        tylermenezes
                                        wrote on last edited by
                                        #19

                                        The best thing you can do is to start with another license (like artistic) and then start modifying it to your liking. I personally use a generic-looking license with few loopholes for users, just because I hate licenses (ex. if a new major version comes out, feel free to distribute your license key). Really, you're probably not going to find a license that does *exactly* what you want. If you can, great! Otherwise, you'll have to decide between the closest fit and creating your own. Hope it Helps!

                                        -Tyler Menezes "If a plane is on a convayer belt moving backwards at the same speed that it moves fowards, will it take off?"

                                        1 Reply Last reply
                                        0
                                        • P PJ Arends

                                          I am currently working on a update to one of my articles[^] and was wondering about how to properly license it. I was thinking of going with the Artistic License[^] as it seems to fit with what I have in mind, that is I want the program and source to be freely available and modifiable, yet protects my ownership of the software, code and original idea. What do other's here think? What license do you use when writing and distributing free software?


                                          You may be right
                                          I may be crazy
                                          -- Billy Joel --

                                          Within you lies the power for good, use it!!!

                                          M Offline
                                          M Offline
                                          mfhobbs
                                          wrote on last edited by
                                          #20

                                          The worst is when someone puts GPL on it, that means I can't use it at work or on anything that I might one day want to use. Especially after I just read through the whole article! Even worse is GPL but 'contact me for commercial licensing' which is like: 'hey, I'm using codeproject to advertise my shareware'. LGPL has ambiguity problems. Most of the common licenses out there are just anonoying if you want to be honest and follow them to the letter. One day when i get around to adding code to codeproject it will be, if anything at all, just a comment in the source files like 'originally by me, distribute and modify freely, please leave this comment here, not liable' which is enough, legally sufficient, and understandable. Egotistical is 'just acknowledge me' which means like I am going to modify the Help/About for our 2 million line project to put X's name in there just because I used some code to help start a serialization routine?

                                          I 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