Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

copyright  RSS feed

 
Brandi Love
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't a question necessarily about java but I wasn't sure where else to go with it. I'm wondering what the conventions are about using someone else's code. The code I want to use is copyrighted and I would not be using it for my own profit - purely educational. Is it okay for me to use it and if so how would I go about citing it? The code I'm interested in using can be found at http://www.cs.princeton.edu/introcs/96optimization/Knapsack.java.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether you're using it for profit has nothing to do with infringement.

The best thing to do is contact the copyright owners and ask permission. For this code, the owners appear to be listed at the bottom of this page.

On the other hand, this code looks very fundamental. See Copyright Registration for Computer Programs (Circular 61 from the United States Copyright Office), which states, "Copyright protection is not available for ideas, program logic, algorithms, systems, methods, concepts, or layouts."
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I concurr, if any question - just ask. This is classroom exercise, likely, and I am sure they would not mind if you learn from it. They would likely be complimented to have someone ask to use this for educational reasons.

The general principle, qualified by the circular cited, is ideas cannot be bound by the glacial pace of law: But if someone thought of something and wanted to let it get away unbounded ... they will so state in comments to be found somewhere in the distribution.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!