Open main menu

CDOT Wiki β

DPS909/OSD600 Fall 2018 Lab 1

Revision as of 13:41, 26 September 2018 by AHKol (talk | contribs) (Submission)

Start blogging

Due Date

All Labs are due on the Friday of the week they are assigned (i.e., this lab is due Friday Sept 14 before midnight).

Requirements

This lab will introduce you to blogging, the CDOT wiki, and node's fs module. Here is a checklist of what needs to be done (see below for more details):

  • Create a CDOT wiki account
  • Create a Blog account
  • Add your Blog's RSS Feed URL to the CDOT Wiki's Planet Feed List
  • Research a node.js fs module feature
  • Write a short post about how to use this feature in the various supported
  • Add your Name and Blog post's URL to the table at the end of this lab

Blogging and Open Source

The "open" in "Open Source" means more than just that the code is available. Real open source is open in terms of its process, too: open source is about working in the open. A big part of working in the open is writing about that work, teaching one another things we discover as we go, and helping to draw attention to important ideas. Writing is a major part of open source, and we'll use our blogs to write, discuss, debate, announce, plan, and learn.

Open source also values writing like this for the historical perspective it gives. Long after project or code decisions are made, we often need and want to go back and understand why things happened as they did. Blogging contributes to the historical record.

Finally, blogging provides a way to capture our hard work and contributions. When students are applying for jobs, it's helpful to have something they can point to, in order to showcase their previous work. By keeping a blog now, you help build a record of your abilities, experience, and contributions.

Having your own blog will enable you to more easily join the global open source community. A blog gives you a voice, which you can use when and how you want.

You will be required to keep a weekly blog for the duration of the course. We'll use this blog to share what we're learning, discuss open source, submit our labs and releases, etc.

In this lab you will create, configure, and use your blog for the first time.

Pick a Blogging Platform

You can use any blogging platform or software you want, as long as it supports RSS/atom feeds. If you already have a blog, you're free to use it (skip to the next section). If you don't, there are a number of free, popular blogging platforms you can use:

Take a look at the different options and choose one you like. Create an account for yourself.

Research a node.js fs feature

Pick a feature of node.js' fs module to research. For example, you might look at how to delete a file:

Try writing a few small JavaScript programs that use these methods in various ways, making sure you understand how they work, the differences between them, and why someone might choose one over the other.

Write a Blog Post

Using the research you did above, write a short tutorial blog post about the feature you researched. Imagine someone is searching Google for this knowledge and finds your post, what would they want to see? Make sure you include sample code and links to relevant documentation. See if you can figure out how to get your code to look "pretty" (i.e., fixed width font, properly indented, syntax highlighted) within your blog.

Tag your Post as "Open Source"

Blogging platforms allow you to tag your posts (sometimes called a "category," or a "feed"). This allows you to syndicate posts you've written on a given topic without also including others (e.g., you might want to write about "Open Source" and "Baseball" in the same blog).

Create a CDOT Wiki account

For various aspects of the course, including this lab, you will need to be able to edit this wiki. Make sure you have an account, or request one.

NOTE: your request will need to be processed by the wiki admin, and it might take a day or so.

Add your "Open Source" RSS feed to the CDOT Planet Feed List

We automatically aggregate all the blogs of our students and faculty who are working on open source at Seneca, and publish it to http://zenit.senecac.on.ca/~chris.tyler/planet/ (aka, Planet CDOT). Add your own blog's "open source" feed URL by following the instructions at the Planet CDOT Feed List.

Submission

You will have completed your lab when your blog post from Step 5 appears on the CDOT Planet site. I will mark them as they appear there.

Please add a line for your blog in the following table:

Name Blog Post (URL)
Example Name https://examplestudent.wordpress.com/2018/09/05/first-open-source-post/
Oluwaseyi Aketepe http://codingblub.blogspot.com/search/label/Open%20Source
Steven Le https://stevenleopensourceblog.wordpress.com/2018/09/11/osd-blog-1/
Daniel Bogomazov http://danielsopensource.blogspot.com/2018/09/how-chmod-works-in-nodejs.html
Allan Zou https://azouprogrammingblog.wordpress.com/2018/09/12/osd600lab1blog/
Qingwen Wang https://qwang135.wordpress.com/2018/09/12/research-a-node-js-fs-feature/
Stephen Truong https://stephentopensource.wordpress.com/2018/09/12/researching-a-node-js-fs-module-feature/
Dilan Guneratne http://dilanguneratne.me/copying-files-using-the-nodejs-file-system-module/
Maya Filipp https://mordax.io/blog/seneca/2018/09/12/Node-js-fs.html
Jeffrey Espiritu https://jespiritutech.wordpress.com/2018/09/12/osd600-lab-1/
Yeonwoo Park https://ywpark1.wordpress.com/2018/09/13/node-js-file-system-read-directory/
Zhibo Dong http://zhiboopensource.wordpress.com/category/Open_Source/
Dan Lin https://danosd600.wordpress.com/2018/09/13/blog/
Huda Al Dallal https://hudascoding.wordpress.com/2018/09/13/node-js-file-system-fs-access/
Adam Pucciano https://operationaladam.wordpress.com/2018/09/13/asyncplaying-with-node-js/
Yoosuk Sim http://shavedyak.blogspot.com/2018/09/nodejs-fs-promises.html
Robert Dittrich http://robplusplus.blogspot.com/2018/09/nodejs-stat.html
Brendan Hung https://bhung6494.wordpress.com/2018/09/13/understanding-fs-watch-and-fs-watchfile-in-node-js/
Stuart Crust https://stuartcrust.com/2018/09/filesystem-events-in-nodejs/
Nathan Misener http://compileofcrap.com/OSD600/1.html
Xiaochen Wang https://medium.com/@xiaochenwang/how-dose-fs-unlink-function-works-e89a384c2508
Shreena Athia https://shreenasopensource.wordpress.com/2018/09/14/fs-link-and-fs-linksync/
Wang Pan https://wangpansopensource.wordpress.com/2018/09/14/file-accessibility-check-using-node-js-fs-module/
Oleksii Kozachenko https://medium.com/@alexei.kozachenko/nodejs-file-system-mathods-part-1-8377f2c8d8ea
Joshua Jadulco https://joshuajadulco.wordpress.com/2018/09/14/exploring-the-fs-readdir-function-of-node-js-file-system-api/
Minying Chen https://minyingchen.wordpress.com/2018/09/14/lab-1/
Charlotte Baptist https://mycbprogramming.wordpress.com/tag/open-source/
Xuan Dinh Truong https://xdtruong.blogspot.com/
Volodymyr Klymenko https://medium.com/@volodymyrklymenko/node-js-file-system-method-fs-watch-ba16d5c9a3c9
Ryan Vu (Tien Phat) http://pynnl.blogspot.com/2018/09/nodejs-fsstat.html
Deepanjali Gerangal https://deepanjalidotblog.wordpress.com/2018/09/14/lab-1/
Michael Overall https://michaeloveralldps909.blogspot.com/
Thanh Nguyen https://thanhnguyen105337150.wordpress.com/category/open-source/
Brett Larney https://brettlarney.wordpress.com/category/open-source/
Matt Phan https://medium.com/feed/mattphanalwaysastudent/tagged/opensource/
Shawn Pang https://shawnblog1.wordpress.com/2018/09/16/osd600-open-source-lab1-node-js-feature-fs-readfilesync/
Ryan Hayes https://osd600rhayes2.blogspot.com/
Yuecheng Wu https://yuechengdotblog.wordpress.com/2018/09/16/node-js-file-system-fs-appendfile
Jagmeet Bhamber https://medium.com/@jagmeetb/getting-started-with-node-js-and-fs-unlink-9e12b6f99bec
Andriy Yevseytsev http://yevseytsevdps909.blogspot.com/2018/09/lab-1-creating-file-using-nodejs-fs.html
Shawn Mathew https://shawnsblog447499268.wordpress.com/2018/09/17/dps909-lab-1/
Victor Kubrak http://victorkubrak.blogspot.com/2018/09/fsreadfile-and-fsreadfilesync.html
Mera Gangapersaud https://medium.com/merag/creating-directories-using-nodejs-fs-module-94c293b1c9b6
Ruihui Yan http://ruihui.me/OSD600/2018/09/17/getting-started-with-node-js/
Julia Yatsenko https://yatsenkojulia.wordpress.com/2018/09/17/node-js-fs-module-and-its-reading-functions/
Mark Krutik https://markkrutikopensource.wordpress.com/2018/09/14/mark-krutiks-open-source-blog/
Julia McGeoghan https://medium.com/@juliakmdev/node-js-and-its-file-service-module-3efdc68b2f6f
Muchtar Salimov https://muchtarosd600.home.blog/2018/09/17/node-js-file-system-appendfile-methods/
Stephen Ward https://whilenotzero.wordpress.com/2018/09/12/file-systems-in-node-js/
Mykola Skuybeda https://nicksopensource.wordpress.com/2018/09/17/introduction-to-node-js/
Yuzhou Chen https://yuzhouchen.wordpress.com/2018/09/18/getting-started-with-fs-model-in-the-node-js/
Corey James https://blog176774291.wordpress.com/2018/09/15/how-to-find-the-path-of-a-file-using-fs-realpath/
Derrick Leung https://derrickwhleung.wordpress.com/2018/09/17/node-js-fs-module/
Thomas Nolte https://nolte96.wordpress.com/2018/09/15/file-system-promises-in-node-js/
Alex Kong https://medium.com/@jrkong.hfd/node-js-file-system-features-c804b50ea2ef
Vincent Wong https://vincent20180916.blogspot.com/2018/09/nodejs.html
Chaya Danzinger https://medium.com/@chayadanz/the-node-js-file-system-module-reading-from-a-file-936d8c52317e
Aaron Scott https://techtalkwithaaron.blogspot.com/2018/09/first-post.html
Cha Li https://chalispo600.wordpress.com/2018/09/21/research-a-node-js-module-fs-access/
Peng Qu https://pengqu.wordpress.com/2018/09/21/lab1-node-js-feature-copyfile/
Sean Prashad https://medium.com/seanprashad/diving-into-nodes-filehandle-chown-50af50e8b029
Adam Kolodko https://ahkol.wordpress.com/2018/09/26/the-meeting-point-between-node-js-and-libuv/