News for hackers. Stuff that matters.
Re:Giving away my Rails 3.0 book. Code examples also availab... by molecule on Monday September 05, 2011 @11:22AM (#2962436)
"You are free to distribute this book to anyone you want, so long as... it is not altered..."

That doesn't seem consistent w/ the intended usage patterns of git and github, e.g. github's 'Fork' button is displayed prominently on every src page, for the purpose of alteration and distribution of src.

Re:Giving away my Rails 3.0 book. Code examples also availab... by zedshaw on Monday September 05, 2011 @03:47PM (#2963170)
tl;dr If you fork and don't pull-request then that's the violation.

That's the point. If you fork and don't do a pull request so I can pull it back, then you're leaving an altered copy out there. Can't do that. If however you do a pull request and I pull your changes in, then your fork is no longer an alteration.

This prevents people from butchering your work because they think they know better and then leaving half-assed junk out there to screw students over, but still lets people contribute fixes.

Re:Giving away my Rails 3.0 book. Code examples also availab... by bryanbibat on Monday September 05, 2011 @11:32AM (#2962462)
Noted. Any suggestions on a good license to use for this document to allow non-commercial derivative works?
Re:Giving away my Rails 3.0 book. Code examples also availab... by noahc on Monday September 05, 2011 @11:46AM (#2962506)
You're looking for this: http://creativecommons.org/licenses/by-nc/3.0/

Although, there is one that prevents modification as well if that's what you're looking for.

Re:Giving away my Rails 3.0 book. Code examples also availab... by zedshaw on Monday September 05, 2011 @03:51PM (#2963178)
No, that license allows remixing and adapting the work. That would let people butcher the book and leave broken copies that frustrate students.
Re:Giving away my Rails 3.0 book. Code examples also availab... by noahc on Monday September 05, 2011 @04:30PM (#2963258)
Zed, that's what he wanted. As I suggested there are alternatives to prevent someone from changing even one word.
Re:Giving away my Rails 3.0 book. Code examples also availab... by bryanbibat on Monday September 05, 2011 @09:05PM (#2963730)
Yup. While it is true that allowing others to modify my work will probably bite me in the ass in the future, there are also some arguments for allowing this.

For one, the book is targeted to Filipino students - teachers may want to modify the names/scenarios to better suit their country. Sure, gives them a low-hanging trolling fruit (e.g. putting vulgar words in the i18n section), but I really don't have the time to review these forks.

Re:Giving away my Rails 3.0 book. Code examples also availab... by bryanbibat on Monday September 05, 2011 @11:57AM (#2962533)
Thanks! Will update the document tomorrow to use that in case no one makes a better suggestion.
Re:Giving away my Rails 3.0 book. Code examples also availab... by albb0920 on Monday September 05, 2011 @10:08PM (#2963834)
Thanks for using cc-by-nc.
[deleted]
Re:Giving away my Rails 3.0 book. Code examples also availab... by timsally on Monday September 05, 2011 @11:55AM (#2962530)
You're reading way too much into molecule's comment. He's merely commenting on the fact that the chosen hosting platform is explicitly designed for purposes that are counter to the chosen license. I see no judgements on the choice of the license itself. Can you explain how the comment implies that "everything needs to be on [programmers'] terms"?
Re:Giving away my Rails 3.0 book. Code examples also availab... by noahc on Monday September 05, 2011 @12:07PM (#2962562)
To be fair, I assumed the same thing that the parent did.

The reaction came from "The guy just said he doesn't want to allow forks or changes" so what does it matter if github has a feature that allows it. The button isn't a licensing agreement like CC, GPL, etc are.

Re:Giving away my Rails 3.0 book. Code examples also availab... by bryanbibat on Monday September 05, 2011 @11:55AM (#2962526)
While I agree to some of your points (i.e. I'll go WTF?!? if someone would sell my crappy book), there's no need to go off the hook ;D
Re:Giving away my Rails 3.0 book. Code examples also availab... by noahc on Monday September 05, 2011 @12:05PM (#2962553)
You might want to read: http://sethgodin.typepad.com/seths_blog/2007/02/please_dont_...

I'm sure there is a cottage industry of people who take creative commons works licensed without the non-commercial attribute and sell them. They aren't making a ton, but they do sell a few and it costs basically nothing to put it up on Amazon.

Re:Giving away my Rails 3.0 book. Code examples also availab... by dan_manges on Monday September 05, 2011 @12:00PM (#2962539)
git is a great vcs, and github a great hosting platform, even if you don't intend to use features like forking and pull requests