Difference between revisions of "DPS909 & OSD600 Fall 2018"
(→Week 2) |
|||
Line 79: | Line 79: | ||
*** You can distribute it freely | *** You can distribute it freely | ||
*** You can modify it freely | *** You can modify it freely | ||
+ | |||
+ | * Open Source and Code Reading | ||
+ | ** [https://blog.safia.rocks/post/169466425525/node-module-deep-dive-fs Deep Dive on the node fs module] by [https://blog.safia.rocks/ Safia Abdalla] | ||
+ | ** <code>fs.truncate()</code> | ||
+ | *** [https://github.com/nodejs/node/blob/8a86d9c1cf35fe4f892d483e3673083f5d8f42cf/lib/fs.js node.js source for truncate] | ||
+ | *** [https://github.com/search?q=truncate+repo%3Anodejs%2Fnode+path%3A%2Ftest+language%3AJavaScript+language%3AJavaScript&type=Code Search results in nodejs/node's test/* directory for JavaScript files including 'truncate'] | ||
+ | *** [https://coverage.nodejs.org/coverage-3bdc61d4d194e205/root/fs.js.html#L612 Code Coverage for fs.truncate] | ||
+ | *** [https://github.com/filerjs/filer/blob/master/src/filesystem/implementation.js#L2353 Filer source for truncate] | ||
+ | *** [https://github.com/filerjs/filer/blob/master/tests/spec/fs.truncate.spec.js Filer tests for truncate] | ||
* [[DPS909/OSD600 Fall 2018 Lab 1|Lab 1]] | * [[DPS909/OSD600 Fall 2018 Lab 1|Lab 1]] |
Revision as of 12:37, 12 September 2018
Week 1
- Releases
- 4 releases, some with multiple bugs/PRs required
- Chance to work on real code, real projects
- Big learning curve, lots of time required
- Amazing chance to gain experience, network, build your skills and resume
- Discussion/Readings
- Copyright (Copyright in Canada video)
- IANAL
- Who created it, "owns" it.
- Set of exclusive rights granted to the work's creator
- "The right to copy," to produce or reproduce a work or substantial portion thereof
- Copyright is automatic when a work is created, you don't have to register it.
- Copyright in Canada
- Copyright Guide
- In a software project, there can be many copyright holders (e.g., many contributors), or all contributors may assign their copyright to the project (e.g., CLA, which we'll cover later)
- What is Open Source?
- Microsoft buys GitHub for 7.5 Billion - "We're all in on open source"
- Julia Evans, "How to teach yourself hard things"
- Copyright (Copyright in Canada video)
- First open technologies and projects we'll be using:
Week 2
- Release 0.1 Overview
- Due Friday Sept 28th
- node.js
- node fs module vs. filer
- synchronous vs. asynchronous functions in JavaScript
- node's callback function pattern vs. Promises
- Licenses
- Rights, privileges, responsibilities, etc. applicable to someone other than the work's creator
- "Terms and Conditions"
- These must be granted by a copyright holder
- No License
- What can you do with code you find that has no license?
- what can I, can't I do?
- Public Domain
- SQLite, which is now used by literally everybody, see http://www.sqlite.org/famous.html
- Unlicense
- BSD License
- Family of Licenses, including 2-Clause BSD, 3-Clause BSD (aka New BDS), 4-Clause BSD
- "Why you should use a BSD style license for your Open Source Project"
- BSD Licenses code is usually compatible with other open/closed code, when you want to mix them.
- Example software projects licensed under the BSD License:
- Summary:
- You need to retain the license and copyright notice
- You can use it commercially or non-commercially (privately)
- You can distribute it freely
- You can modify it freely
- Open Source and Code Reading