News for hackers. Stuff that matters.
Re:How to Corrupt an SQLite Database File by maxdeliso on Saturday October 05, 2013 @07:44PM (#6502502)
The amount of engineering rigor that has gone into sqlite over the years boggles the mind. It's a project that has been held up as a sterling example of successful software development many times, rightfully so. I especially like this part of their license, from the top of sqlite3.h

"The author disclaims copyright to this source code. In place of a legal notice, here is a blessing: May you do good and not evil. May you find forgiveness for yourself and forgive others. May you share freely, never taking more than you give."

Re:How to Corrupt an SQLite Database File by Goopplesoft on Saturday October 05, 2013 @08:19PM (#6502575)
It really is rock solid, heres an outline of their testing: http://www.sqlite.org/testing.html
Re:How to Corrupt an SQLite Database File by lobster_johnson on Sunday October 06, 2013 @01:16AM (#6503217)
It was originally designed to run on guided missile destroyers in the US Navy. Not sure if it was ever used for that, but it explains the scrupulous attention to testing.
Re:How to Corrupt an SQLite Database File by lobster_johnson on Sunday October 06, 2013 @10:56AM (#6504249)
Replying to myself, there is a good discussion on Reddit about what that actually meant: http://www.reddit.com/r/programming/comments/1eyfk0/til_sqli....
Re:How to Corrupt an SQLite Database File by ExpiredLink on Sunday October 06, 2013 @05:34AM (#6503607)
> It was originally designed to run on guided missile destroyers in the US Navy.

Wouldn't that be in contrast to the license?

Re:How to Corrupt an SQLite Database File by duncan_bayne on Sunday October 06, 2013 @10:29PM (#6506289)
I dunno ... sharing frequently, never taking more than you give ... could be describing some kind of firefight ;)
Re:How to Corrupt an SQLite Database File by r0muald on Sunday October 06, 2013 @06:42AM (#6503694)
That would be in contrast to the blessing, not the license.
Re:How to Corrupt an SQLite Database File by tingletech on Sunday October 06, 2013 @10:41AM (#6504203)
If you are building a guided missle or the destroyer it launches from, you are doing so because you believe it to be good and not evil to have a strong military defense. And the best defense is a good offense or something like that, I don't really follow sports.
Re:How to Corrupt an SQLite Database File by brokenparser on Sunday October 06, 2013 @07:50AM (#6503792)
It wouldn't be in contrast to anything. Destroying a guided missile is probably an act of self defence, hence likely to be considered good by the author.
Re:How to Corrupt an SQLite Database File by runarb on Sunday October 06, 2013 @09:33AM (#6504030)
No. A "guided missile destroyer" is a type of ship that sends out guided missiles to hit targets, not the other way around.

More info: https://en.wikipedia.org/wiki/Destroyer

Re:How to Corrupt an SQLite Database File by lobster_johnson on Sunday October 06, 2013 @10:55AM (#6504245)
It was not intended for the weapons system, which is a completely different beasts. There are many other things for a destroyer (which is a type of ship) to do. Good discussion here: http://www.reddit.com/r/programming/comments/1eyfk0/til_sqli....
Re:How to Corrupt an SQLite Database File by ricardobeat on Saturday October 05, 2013 @09:15PM (#6502697)
Unfortunately the FSF holds the view that a clause like that makes software "non-free". See http://www.gnu.org/licenses/license-list.en.html#JSON
Re:How to Corrupt an SQLite Database File by Stratoscope on Saturday October 05, 2013 @09:49PM (#6502765)
It's a blessing, not an obligation or a demand or a condition of use.

Unlike the JSON license clause "The Software shall be used for Good, not Evil", the SQLite blessing doesn't put any restriction on your "freedom to run the program, for any purpose (freedom 0)" or on any of the other freedoms listed by the FSF.

It's no different from putting this in a library:

# This work is dedicated to the public domain.

# I hope you enjoy using it!

No one could argue that if you didn't enjoy using the library (maybe the API is a confusing mess) you would somehow be in violation of the license.

p.s. I upvoted your comment because I think you raised an interesting point!

Re:How to Corrupt an SQLite Database File by derleth on Sunday October 06, 2013 @12:20AM (#6503104)
> It's a blessing, not an obligation or a demand or a condition of use.

That's how we interpret it. The problem is that we don't know what the rights-holder has in mind, and what that entity's willing to sue over.

Lawyers can be comically risk-averse. Comical, that is, until you see the kinds of things people actually sue over.

Re:How to Corrupt an SQLite Database File by dchest on Sunday October 06, 2013 @02:21AM (#6503340)
Re:How to Corrupt an SQLite Database File by comex on Sunday October 06, 2013 @11:49PM (#6506440)
The quote explicitly "disclaims copyright" and includes the blessing "in place of a legal notice". It would be truly absurd even for a lawyer to believe that the blessing constitutes a copyright license anyway.
Re:How to Corrupt an SQLite Database File by computer on Sunday October 06, 2013 @05:10AM (#6503567)
See this 3 minute presentation fragment about the "Do not use JSLint for Evil" license clause: https://www.youtube.com/watch?v=-hCimLnIsDA
Re:How to Corrupt an SQLite Database File by aw3c2 on Sunday October 06, 2013 @06:33AM (#6503683)
It's so idiotic. Who of those who do evil in my view, do agree that what they are doing is evil?
Re:How to Corrupt an SQLite Database File by vsl on Monday October 07, 2013 @02:57AM (#6506829)
> That's how we interpret it.

No. That follows from the fact that the author gives up copyright. No copyright -> no license terms.

Re:How to Corrupt an SQLite Database File by dscrd on Sunday October 06, 2013 @03:11AM (#6503407)
Fortunately we have the freedom to not care about what FSF thinks.
Re:How to Corrupt an SQLite Database File by baggers on Monday October 07, 2013 @03:25AM (#6506892)
Fine, but the FSF doesn’t think that SQLite is non-free software http://directory.fsf.org/wiki/SQLite#tab=Overview
Re:How to Corrupt an SQLite Database File by bch on Saturday October 05, 2013 @09:21PM (#6502713)
SQLite doesn't _mandate_ "do no evil".
Re:How to Corrupt an SQLite Database File by berberous on Saturday October 05, 2013 @09:21PM (#6502714)
Interesting, although the FSF example uses "shall", not "may". A lawyer might argue that only the prior is binding.
Re:How to Corrupt an SQLite Database File by gibwell on Sunday October 06, 2013 @01:31AM (#6503247)
The FSF has a very narrow definition of freedom.
Re:How to Corrupt an SQLite Database File by ZoFreX on Sunday October 06, 2013 @10:26AM (#6504163)
I wouldn't call this license free either. In many jurisdictions there is no concept of "public domain", in some you cannot even disclaim copyright at all. In those cases the work would be under copyright still, and in absence of a license permitting you to copy and change and distribute it, you can't (theoretically. no one's going to sue you).
Re:How to Corrupt an SQLite Database File by ricardobeat on Sunday October 06, 2013 @07:55PM (#6505941)
The copyright page mentions that they will provide a commercial license through their employer if requested.
Re:How to Corrupt an SQLite Database File by gibwell on Sunday October 06, 2013 @02:40PM (#6504956)
I'm not calling this license free. I'm just pointing out that the FSF's definition of free is a very specific one of many.