views:

34

answers:

1

Putting sourcecode from tutorials or books online requires the author to add some kind of disclaimer or license (otherwise people would use it make lots of $$$ or break a power plant IT control system and sue you as author).

But what is the right license or disclaimer statement ?

Can I use BSD license with

... IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,...

We are talking about tutorials ! Released to teach and share knowledge.

Or do I need to follow the (potentially different) licenses of the libraries I use ?

Might be insignificant now but I feel we will face a license hunt in "public" sourcecode (aka OSS) in future, similar to companies/lawyers currently crawling the web for pictures with wrong copyright statement or infringing their IP (and suing someone using a picture in a personal blog,etc..).

+2  A: 

I prefer the WTFPL for such "throwaway" code, but your lawyers may not go for it.

Ignacio Vazquez-Abrams
interesting approach. guess not valid for any "court" discussion
devdude