Thursday, January 31, 2013

Homework 1

Due 12pm on Friday, Feb. 8.

The task of homework 1 is to get used to the tools we'll be using for the class by replicating Subversion Demo #2 from the Jan. 30 lecture.  You should create a Java program in your area of the Subversion repository in the directory "inclass" named "Hello.java".  If you type "javac inclass/Hello.java", then "java inclass.Hello", it should print out "Hello, World!"  You can find a program that does this in section 6.2 of the lecture notes.

You can check that it works as expected by:
  1. Open Terminal (Mac) or PowerShell (Windows).
  2. cd into the top level of your working copy, which has the same name as your netid.
  3. Run "testing/test.sh HelloTest" (Mac) or "testing\test.ps1 HelloTest" (Windows).
You should also check that you committed it to the repository correctly by looking at the version of Hello.java on the web interface.  It'll have a URL that looks like:
https://subversive.cims.nyu.edu/csci0101/u/yournetid/inclass/Hello.java

By the way:

If you want Checkstyle to quiet down about tabs in your files and you're using Notepad++, go into the "Settings > Preferences", click on the "Language Menu/Tab Settings" tab, then check "Replace by space" in the bottom right corner.  This won't affect existing files, just new files and changes to old ones.  If you're using XCode, the default tab settings are fine.

Wednesday, January 30, 2013

Subversion Demo #1

For those of you who missed the first lecture, I recorded a video of Subversion Demo #1.  See section 4 of the lecture notes for the text version.

Notes for Jan. 30 class

The Jan. 30 lecture has been added to the course notes.

Saturday, January 26, 2013

Notes for Jan. 28 class

I've posted the first installment of the lecture notes.  It describes how to install the two main software packages we'll be using this term, the Java Development Kit and Subversion.  It also includes a walkthrough of a basic Subversion session.

Welcome to Introduction to Computer Science

Welcome to Introduction to Computer Science, section 6.  I'm the instructor, Madeleine Thompson.  We'll be meeting Mondays and Wednesdays in WWH 109.  Much more information about the class is in the Course Information.  If you have any questions, contact me at mbt@cs.nyu.edu.