Page 1 of 1

Some license goodies

Posted: Wed Apr 17, 2013 10:32 am
by Mikemk
I made some little banners to put at the tops of source code files. They're not really useful, but...

Code: Select all

/*                                       
      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.

Re: Some license goodies

Posted: Wed Apr 17, 2013 12:44 pm
by sortie
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.

Re: Some license goodies

Posted: Wed Apr 17, 2013 1:24 pm
by Mikemk
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.

Re: Some license goodies

Posted: Wed Apr 17, 2013 11:35 pm
by dozniak
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.

Re: Some license goodies

Posted: Wed Apr 17, 2013 11:37 pm
by Brynet-Inc
These are unsightly and do not belong in source files.

Re: Some license goodies

Posted: Thu Apr 18, 2013 4:44 am
by Mikemk
m12 wrote:They're not really useful, but...
Like I said