Comments (7)
Thanks for the links @tompollard , very helpful. In this instance I'm keen to adhere to the original author's wishes that their code be distributed under the GNU GPL. Therefore, I'll modify the scripts for chapter 10 so that the user is prompted to download the GNU GPL file manually, to make sure that they're aware that it's covered by that licence instead.
from critical-data-book.
The book is licensed as CC-BY-NC if I remember correctly (https://creativecommons.org/licenses/by-nc/2.0/), but this license isn't really appropriate for code (for various reasons...e.g. the meaning of 'non-commercial' is fuzzy, code gets merged with other code which can make attributions complicated, etc). My preference is to treat the code as a separate object and share it under the MIT license.
from critical-data-book.
I have included my code in various forms which aren't simply code as well (see Rmd files). Need to discuss it.
from critical-data-book.
Let's discuss...
from critical-data-book.
A few thoughts:
Preference of licence
Based on my limited knowledge of licences, I would prefer the MIT licence to be used rather than the GNU GPL.
Potential licence conflicts due to code being both printed in the book and provided as files
To my knowledge, in Section 3 there aren't any instances of chunks of code being written in the text. Rather, we will simply refer to code files or functions, and provide brief descriptions of them. Therefore, for Section 3 we don't need to worry about conflicts between difference licences for the book text and code repository.
Use of pre-existing GPL code within our work
I have used some pre-existing code protected by the GNU GPL in one of my chapters. If we do use the MIT Licence then any suggestions as to how to handle this would be appreciated!
from critical-data-book.
I also prefer the MIT license where possible. @peterhcharlton, do you know the creator of the GPL-licensed code? If so, one option would be to ask them to release the code in parallel under a more permissive license. See:
- http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#HeardOtherLicense
- http://programmers.stackexchange.com/questions/242760/can-i-as-author-and-copyright-holder-relicense-my-code-under-a-more-liberal-li
Alternatively, is the code available in a different repository? If so, it could be added as a submodule, in a similar way to @jraffa's R package: https://github.com/MIT-LCP/critical-data-book/tree/master/section2/chapter5
from critical-data-book.
Sounds good, thanks Pete.
from critical-data-book.
Related Issues (16)
- Chapter 28 missing Python script HOT 2
- R code for MCMC_solver.m ? HOT 11
- Error part_iii / chapter_23 HOT 6
- Code in chapter 23 did not match with what is described in the read me HOT 3
- Chapter 18 (trend analysis), how to retrieve year? HOT 16
- Chapter23: missing data for heart rate.
- Data needed for Chapter 18
- Critical Data Book
- Set up testing framework HOT 4
- section 3: chapter04_code.R mangled HOT 4
- Code in Section 2, Chapter 3c contains several files with a .m~ extension HOT 3
- Consistent approach needed for providing data to support code. HOT 2
- correct spelling of impute across all chapter 3c code
- data issues HOT 5
- Chapter #s HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from critical-data-book.