CPS 001 7.1 Today’s topics Programming Recursion Invariants Digital Intellectual Property Issues Reading Brookshear, Chapter 6 Chapter 1 of Jessica Litman,

Slides:



Advertisements
Similar presentations
COPYRIGHT BASICS Linda Sharp Marsha Stevenson
Advertisements

Copyright Law & Your Websites Computer Science 201 November 21, 2005 Sarah Garner, J.D., M.L.I.S. Law Library Director,
What is it and why should I care?
Ownership of Computer Software Ethical Questions and Concerns.
Copyright and Alternatives to Copyright Why now? Rita S. Heimes Director, Technology Law Center University of Maine School of Law Rita S. Heimes Director,
Rights Management Overview Peter B. Hirtle Intellectual Property Officer Cornell University Library
Computer Engineering 294 IP R.Smith 5/ Intellectual Property What is it? Why is it important? – What is it designed to do? What are its basic forms?
The Digital Millennium Copyright Act (DMCA) Claire Stewart MM450 February 14, 2006.
© Suzanne Scotchmer 2007 Contents May Be Used Pursuant to Creative Commons Attribution-NoDerivs-NonCommercial Common Deed 1.0 Attribution-NoDerivs-NonCommercial.
For Students. What is Copyright? “The exclusive right to produce or reproduce (copy), to perform in public, or to publish an original literary or artistic.
Chapter 5 Intellectual Property & Internet Law
Copyright Basics. What is Copyright? Copyright allows authors, musicians, artists, etc. to make money off of their labor. Copyright allows authors, musicians,
How Well Do You Know Copyright? Connie Murphy Hylton High School Library 2008.
Examples of problems with teacher/school site violations: A company’s logo and link on footer of homepage when company is not their business partner—only.
Copyright. US Constitution Article I – Section 8 Congress shall have the power to promote the Progress of Science and useful Arts, by securing for limited.
“Don’t Touch My Code!” Copyright for Fun and Profit by Rey Muradaz, JD Muradaz & Associates.
CompSci Today’s topics Sound Upcoming ä Intellectual property ä Network analysis ä Security Reading.
MSE602 ENGINEERING INNOVATION MANAGEMENT
A Computer Science Tapestry 1 Recursion (Tapestry 10.1, 10.3) l Recursion is an indispensable technique in a programming language ä Allows many complex.
COPYRIGHT: A Pirate’s Paradise? Prepared form Com 435 by Donna L. Ferullo, J.D. Director University Copyright Office Donna L. Ferullo.
Introduction to IP Ellen Monson Director Intellectual Property Office University of Cincinnati.
CompSci Today’s topics Sound Upcoming ä Sound splicing ä Intellectual property ä Network analysis Reading Introduction to Computing & Programming.
CompSci 100E 10.1 Solving Problems Recursively  Recursion is an indispensable tool in a programmer’s toolkit  Allows many complex problems to be solved.
CPS Today’s topics Digital Intellectual Property Issues Reading Intellectual Property Readings Intellectual property for CS students Software patents:
Copyright, Fair Use, and Public Domain Computer 1.
CompSci 100E 12.1 Solving Problems Recursively  Recursion is an indispensable tool in a programmer’s toolkit  Allows many complex problems to be solved.
4.1 Chapter 4 Copyrights © 2003 by West Legal Studies in Business/A Division of Thomson Learning.
What is intellectual property?
Plagiarism - You can do Something About it... Copyright ©2000 Rochester Institute of Technology, Wallace.
Copyright Laws and Regulations Vocabulary Created by The University of North Texas in partnership with the Texas Education Agency.
1 Ethical Issues in Computer Science CSCI 328, Fall 2013 Session 17 Software as Intellectual Property.
Copyright and Fair Use. Topics The Copyright Quiz Intellectual Property What is Copyright? What is Fair Use? Common Violations Guidelines.
© 2007 West Legal Studies in Business, A Division of Thomson Learning Chapter 5 Intellectual Property.
Copyright and Fair Use. Topics Intellectual Property What is Copyright? What is Fair Use? Common Violations Guidelines TEACH Act 2002.
Copyright Laws & Regulations. Copyright © Texas Education Agency, All rights reserved. 22 A.Title 17 of U. S. Code 1. Protection provided by law.
The Basics of Intellectual Property Law Understanding IP by A. David Spevack, Office of Naval Research.
1 Ethics of Computing MONT 113G, Spring 2012 Session 32 Software as Intellectual Property.
Back to the Basics The Ethical Aspect of Reverse Engineering.
Copyrights on the internet vincent yee. Digital Millennium Copyright Act October 28, 1998, President Clinton signed the Act into law.
Intellectual Property: Introduction to Copyright Peter B. Hirtle Intellectual Property Officer Cornell University Library
Technology Fair OWHL Services and Copyright Michael Blake and Elisabeth Tully June 13, 2006.
CPS 100, Spring Tools: Solve Computational Problems l Algorithmic techniques  Brute-force/exhaustive, greedy algorithms, dynamic programming,
Copyright Laws and Regulations Vocabulary Copyright © Texas Education Agency, All rights reserved.
Becky Albitz Electronic Resources Librarian
A Computer Science Tapestry 10.1 Solving Problems Recursively l Recursion is an indispensable tool in a programmer’s toolkit  Allows many complex problems.
CompSci Review of Recursion with Big-Oh  Recursion is an indispensable tool in a programmer’s toolkit  Allows many complex problems to be solved.
CPS Today’s topics Programming Recursion Copyrights, patents, and digital media Reading Great Ideas, p Brookshear, Section Online.
Legal and Ethical Issues in Computer Security Csilla Farkas
4.1 Chapter 4 Copyrights © 2003 by West Legal Studies in Business/A Division of Thomson Learning.
Slides prepared by Cyndi Chie and Sarah Frye1 A Gift of Fire Third edition Sara Baase Chapter 4: Intellectual Property.
Recursion Fundamentals of Recursion l Base case (aka exit case)  Simple case that can be solved with no further computation  Does not make a recursive.
CPS Digital Copyright. CPS Copyright US Constitution (Article I, Section 8, Clause 8): “To promote the Progress of Science and useful.
A Computer Science Tapestry 10.1 Solving Problems Recursively l Recursion is an indispensable tool in a programmer’s toolkit ä Allows many complex problems.
Are You a Pirate?. A pirate…. “one who infringes another’s copyright or business rights or who broadcasts without authorization”
Intellectual property (IP) refers to creations of the mind: inventions, literary and artistic works, music, movies, symbols, names, images, and designs.
1 Lightening intro to intellectual property law – Sept. 26, 2002 Based in part on original notes by Randy Davis.
CPS Today’s topics Digital Intellectual Property Issues Programming Recursion Invariants Reading Intellectual Property Readings Intellectual property.
6/18/2016 COPYRIGHT AND Fair Use Guidelines “Respect Copyright, Celebrate Creativity”
CPS Today’s topics Programming Recursion Invariants Reading Great Ideas, p Brookshear, Section Upcoming Copyrights, patents, and.
Intro to Intellectual Property 3.0
Solving Problems Recursively
CS 115: COMPUTING FOR The Socio-Techno Web
Announcements Final Exam on August 17th Wednesday at 16:00.
Copyright Laws and Regulations
Copyright Material: What constitutes “Fair Use”?
Announcements Final Exam on August 19th Saturday at 16:00.
Computer ethics in computer science curriculum
Announcements Final Exam on December 25th Monday at 16:00.
Announcements HW3 grades will be announced this week
Chapter # 6 Intellectual Property
Presentation transcript:

CPS Today’s topics Programming Recursion Invariants Digital Intellectual Property Issues Reading Brookshear, Chapter 6 Chapter 1 of Jessica Litman, Digital Copyright, Prometheus Books, Richard Stallman, GNU Manifesto, 1993 Microsoft Corp., "Some Questions Every Business Should Ask About the GNU General Public License (GPL)", 2001

CPS Solving Problems Recursively l Recursion is an indispensable tool in a programmer’s toolkit ä Allows many complex problems to be solved simply ä Elegance and understanding in code often leads to better programs: easier to modify, extend, verify ä Sometimes recursion isn’t appropriate, when it’s bad it can be very bad---every tool requires knowledge and experience in how to use it l The basic idea is to get help solving a problem from coworkers (clones) who work and act like you do ä Ask clone to solve a simpler but similar problem ä Use clone’s result to put together your answer l Need both concepts: call on the clone and use the result

CPS Fundamentals of Recursion l Base case (aka exit case) ä Simple case that can be solved with no further computation ä Does not make a recursive call l Reduction step (aka Inductive hypothesis) ä Reduce the problem to another smaller one of the same structure ä Make a recursive call, with some parameter or other measure that decreases or moves towards the base case Ensure that sequence of calls eventually reaches the base case “Measure” can be tricky, but usually it’s straightforward l The Leap of Faith ! ä If it works for the reduction step is correct and there is proper handling of the base case, the recursion is correct. l What row are you in?

CPS Classic examples of recursion l For some reason, computer science uses these examples: ä Factorial: we can use a loop or recursion, is this an issue? ä Fibonacci numbers: 1, 1, 2, 3, 5, 8, 13, 21, … F(n) = F(n-1) + F(n-2), why isn’t this enough? What’s needed? Classic example of bad recursion, to compute F(6), the sixth Fibonacci number, we must compute F(5) and F(4). What do we do to compute F(5)? Why is this a problem? ä Towers of Hanoi N disks on one of three pegs, transfer all disks to another peg, never put a disk on a smaller one, only on larger Every solution takes “forever” when N, number of disks, is large ä Reversing strings Append first character after the rest is reversed

CPS Exponentiation l Computing x n means multiplying n numbers (or does it?) ä What’s the easiest value of n to compute x n ? ä If you want to multiply only once, what can you ask a clone? double Power(double x, int n) // post: returns x^n { if (n == 0) { return 1.0; } return x * Power(x, n-1); } l What about an iterative version?

CPS Faster exponentiation l How many recursive calls are made to computer ? ä How many multiplies on each call? Is this better? double Power(double x, int n) // post: returns x^n { if (n == 0) { return 1.0; } double semi = Power(x, n/2); if (n % 2 == 0) { return semi*semi; } return x * semi * semi; } l What about an iterative version of this function?

CPS Loop Invariants l Want to reason about the correctness of a proposed iterative solution l Loop invariants provide a means to effectively about the correctness of code while !done do { // what is true at every step // Update/iterate // maintain invariant }

CPS Bean Can game l Can contains N black beans and M white beans initially l Emptied according the following repeated process ä Select two beans from the can ä If the beans are: same color: put a black bean back in the can different colors : put a white bean back in the can ä Player who chooses the color of the remaining bean wins the game l Analyze the link between the initial state and the final state l Identify a property that is preserved as beans are removed from the can ä Invariant that characterizes the removal process

CPS What is digital? l What’s the difference between ä Rolex and Timex? ä VCR tape and DVD? l How is ripping to a mp3 different from recording to a tape? ä Reproduction: immediate and future ä Distribution ä Modification l Why do digital media present new challenges from analog media? ä Is copyright infringement new?

CPS Copyright l US Constitution (Article I, Section 8, Clause 8): “To promote the Progress of Science and useful Arts” ä What can you copyright? Fixed, tangible medium of expression with a modicum of originality ä How do you copyright? Don’t need anything. Registration necessary for copyright infringement suits ä Authors given limited monopoly so they will disclose to public ä Concessions 1.Fair use 2.First sale 3.Limited Time ä Evolving Bargain: Copyright holder may profit from works and public has access and can build upon them ä What would happen if information could only be shared if the owner provided permission?

CPS Fair use l Use copyrighted works without permission if the use does not unduly interfere with the copyright owner’s market for a work l Include personal, noncommercial uses l 4 prong test 1. Purpose and character of use (commercial vs. non-profit or educational) 2. Nature of copyrighted work 3. Amount and substantiality of the portion used 4. Effect of the copying upon market l Example: using a VCR to time-shift a broadcast program l Reverse engineering ä OK when extracting unprotected elements ä Connectix Virtual PlayStation

CPS Digital rights management l Idea: copying is hard to control, so make the copying process itself difficult ä Restrict the use of digital files in order to protect interest of copyright holders ä Control file access ä Implemented in operating system, program software, or in the actual hardware of a device l Digital watermarking ä Make information so that unauthorized copying can be detected l Serial Copy Management System (Audio Home Recording Act 92) l Dystopian and utopian results? l Privacy issues?

CPS Important papers l National Information Infrastructure White Paper Copyright owners given exclusive rights over “transmission” of information not just copying 2. Eliminate first-sale doctrine for digital works 3. Criminalize tampering with copyright protection or identification mechanisms ä Controversial and bills to implement recommendations were not passed, until… l World Intellectual Property Organization Treaty 1996 l Digital Millenium Copyright Act 1998 ä Encourages use of technological protections to facilitate a pay-per- view/use system ä Copyright used to regulate multiplication and distribution of works but how about consumption? ä Civil and criminal penalties for circumventing copyright prtection systems

CPS Copyrights l Copyright Term Extension Act 1998 ä Free Mickey Mouse! (challenged in Supreme Court 2003) ä Retroactive copyright extension of 20 years ä Breyer: “effect … is to make the copyright term not limited, but virtually perpetual” Over the last 40 years, Congress has lengthened copyright durations 11 times Copyright term length –95 years for corporations –70 years after death for individuals l Other forms of exclusive rights in information ä Patents: inventions that others cannot use ä Trademark: differentiates between different sources of products ä Trade secret: pseudo-property right to penalize those who disclose information to unauthorized persons

CPS Questions l Is copyright infringement stealing? l What are the differences between writing code and writing books in terms of licensing? l Discuss the legality of peer-to-peer sharing with respect to the four prongs of determining fair use l Eben Moglen: Eben Moglen ä If you could feed everyone by pressing a button to create lambchops (for free), is there a moral reason to have starving people? ä If everything has zero marginal cost and can be given to everyone everywhere why is it ever moral to exclude anyone from anything?

CPS Consequences l Scientific research ä Secure Digital Music Initiative & Prof. Edward Felton ä Adobe & Dmitry Skylarov l Fair Use ä Copy-protected CDs ä DeCSS and DVD Copy Plus l Innovation and competition ä Sony vs. Connectix and “Mod Chip” makers ä Apple & Other World Computing

CPS Patents l Why patents are powerful? ä Right to exclude others from “praticing the invention” l Currently operating under Patent Act of 1975 ä 20 year term l Patent and Trademark Office looks at 4 criteria 1. Is proposed invention patentable? 2. Utility 3. Novelty 4. Non-obviousness 1. Software patents ä Only recently have patents been granted for software or business methods ä Controversial patent: Amazon.com’s One-Click

CPS Types of software l Software Licenses ä Public domain ä Free ä Open Source ä Copylefted ä Semi-free ä Commercial l Specific licenses ä GNU Public License ä Mozilla Public License ä Lots more… l Proprietary (closed) software ä Freeware ä Shareware ä Adware ä Spyware l Commercial Academic licenses Say you buy software using (steep) student discounts that are available at the Duke Computer Store? Can you use it when you leave Duke and are no longer a student? What do you buy when you purchase software?

CPS Open source l Commercial software license schemes ä Microsoft’s Embrace and Extend ä What’s a EULA? l Rights ä Make copies of the program and distribute them ä Access to the software’s source code ä Make improvements to the program l Results ä All contributors at same relative level ä Lots of competition in distribution or support ä Why does it work? l Free Software Foundation formed in 1984 Free Software Foundation ä GNU General Public License (Copyleft) ä Seminal work produced (emacs, gnu compiler) ä Spawned different licenses like the Open Source DefinitionOpen Source Definition

CPS Sources of material l Organizations ä The Electronic Frontier Foundation The Electronic Frontier Foundation ä Center for Democracy and Technology Center for Democracy and Technology l Media and discussion ä Wired Magazine Wired Magazine ä Slashdot Slashdot l Databases of information and laws ä Lexis/Nexis Lexis/Nexis ä Thomas Thomas l Social issues in Computer Science ä Computer Professionals for Social Responsibility Computer Professionals for Social Responsibility