OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 7:44 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Some license goodies
PostPosted: Wed Apr 17, 2013 10:32 am 
Offline
Member
Member

Joined: Sat Oct 22, 2011 12:27 pm
Posts: 409
I made some little banners to put at the tops of source code files. They're not really useful, but...
Code:
/*                                       
      vBBBMBBBBBMML     kBBBBBMBBBZv       BBB           
    MBBBBYi iiLEBBBB    OBBMISqNBBBBBM    iBBB           
  iBMBX           jB    NBBi       NMBB   iBBB           
  BBBi                  EBBr        BBBY  iBBM           
NMBX                   qBBv        NBBS  iBBB           
BBB                    NBBr        BMB   iBBB           
iBBB                    qBBi      vBBBL    BBB           
iBBM       NBBBBBBBBi   NBBMBBBBBBBMB     iBBB           
BBB       iqkIoLBMB    qBBBMBBBOki       iBMB           
NBBZ            BBB    NBBi              iBBB           
  BBBv           BBB    qBBv              iBMB           
  iBBBN          BBB    NBBv              iBBM           
    BBBBMuiiiiiLPBBB    EBBY              iBBBukPqPqXqPGi
      iPBBBMBBBBBYi     uMBi               BOGBBBBBMBBBBv
*/
/*         
uBBB                 JBBBBBBBBBBBGr    iBBBBBBBBBBEi      BBB           
uBBB               OBBBOr    iLOBMBI   iBBBivLYIOMBBBY    BBBi         
vBBB              BBBE           iBI   iBBM        BBBY   BBBi         
LBBB             BBBu                  iBBB        iBBB   BBBi         
vBBB            VBMB                   iBBB         BBB   BBBi         
LMBB            BBBi                   iBBB        OBBE   BBBi         
vBBB            BBB                    iBBO      iBBBB    BBBi         
vBBB            BBB       iBBBBBBBBV   iBMBBBBBBBBBML     BBBi         
vBBB            BBBr       NIIuYBBBU   iBBMBBBBBqv        BBBi         
LBBB            SBBB            jBBL   iBBM               BBBi         
vBBB             BBBF           IBBJ   iBBB               BBBi         
LBBG              BBBM          UBBj   iBBB               BBB           
LBBBvjuUuUuoUXv    MBBBBYi   iiYMBBS   iMBB               BBMkLuuouououj
rMMMBBBBBBBBBBM      iNMBBBBBBBBEr      BBO               MBMBBBBMBBBBBB
*/
/*                     
uBBBBBBBMBBBNr        vBMBBBBBMBBBr    BBBBBBBMBBBqr     
uBBMYuFIFPBBBBBi    vBBBBri  ivGBBB    MBBPJIoPGBBBBBBr   
LBMM        VBBB   iMBM          ik    BBB         JBBBB 
LBBB         BBB   qBBN                BBB           NBBB
vBBM        PBBv   uBBB                BMB            MBMv
LMBB iiiiioBBk      BMBMSi             BBB             BBM
vBBBBBMBMBBBBv       UBBBBBBBBFi       BMB             BBB
vMBB  iiiiiuBMBB        vSBMBBBBBM     BBB             BBB
vBBM         FBBM             iBMBB    BBB             BBB
LMBB          BBB               MBBM   MBB            OBBi
vBBB          MBM               LBBB   BBB           XBBM
LBBO        iMBMj  Bk           BBBi   BBB         vBBBB 
LBBBrJJuUPMBBBMr   BMBMSii  irNBBBi    BBBoLJuoNBBBBBBi   
rMMMBBBBBBBNv       vPBBBBBBBBBNi      BBOBBBMBBBEji     
*/

Also, I am releasing these to be freely used for inclusion into source code files falling under the licenses GPL, LGPL, and BSD, respectively. They may NOT be included in projects with other licenses.

_________________
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.


Top
 Profile  
 
 Post subject: Re: Some license goodies
PostPosted: Wed Apr 17, 2013 12:44 pm 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
Cool!

Ideas for improvement: Including the disclaimer of warranty and merchantability for legal reasons, adding copyright statements, a notice about which package it is part of, the name of the current file, a link to the license in question, and perhaps a sentence that foo is licensed under bar?

Regardless - You should release these things in a manner that allows people to just copy and use them for any purpose without attribution. If you GPL/LGPL/BSD them, then people have to additionally attribute you in the header. It's pretty useless.


Top
 Profile  
 
 Post subject: Re: Some license goodies
PostPosted: Wed Apr 17, 2013 1:24 pm 
Offline
Member
Member

Joined: Sat Oct 22, 2011 12:27 pm
Posts: 409
sortie wrote:
Regardless - You should release these things in a manner that allows people to just copy and use them for any purpose without attribution. If you GPL/LGPL/BSD them, then people have to additionally attribute you in the header. It's pretty useless.

I considered putting them in public domain, except I was afraid I might get in trouble for somebody, say, putting an giant GPL in non GPL work. Honestly, I don't really care what they're used for or whether I get credit.

EDIT: I didn't license them as GPL, LGPL, or BSD. I licensed them for use in those for any reason.

_________________
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.


Top
 Profile  
 
 Post subject: Re: Some license goodies
PostPosted: Wed Apr 17, 2013 11:35 pm 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
It's completely useless in the case of BSD at least.

It is much better to use this space to put the BSD license verbatim. It's short.

For GPL and LGPL, it's much more useful to put up links to the licenses and the most crucial bit of information - which version of GPL you use; GPLv2 and GPLv3 are radically different licenses. This is much more valuable information to whoever is going to read your code than ASCII art banners.

tl/dr: As your attorney (c) I recommend you do not use these banners anywhere in the source.

_________________
Learn to read.


Top
 Profile  
 
 Post subject: Re: Some license goodies
PostPosted: Wed Apr 17, 2013 11:37 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2426
Location: Canada
These are unsightly and do not belong in source files.

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.


Top
 Profile  
 
 Post subject: Re: Some license goodies
PostPosted: Thu Apr 18, 2013 4:44 am 
Offline
Member
Member

Joined: Sat Oct 22, 2011 12:27 pm
Posts: 409
m12 wrote:
They're not really useful, but...

Like I said

_________________
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 56 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group