CS 315: Algorithms & Data Structures (Fall 2008)

TA: Yulin Li (yulinli@cs.utexas.edu)

Office Hours: W 11-12, Th 10-11 ENS 31NQ Desk 4

(More material will be added over time.)

Room Change

Discussion session 55570 W 10-11 changed to SZB 240 (used to be in PAI 5.38)

Direction to My Office

Take the elevator in ENS to the lower basement (LB). When doors open, exit right and keep going down the hallway. It will curve to the right and you'll come to ENS 31NR (on the left). Go through 31NR to a smaller room, which is 31NQ. There are six desks, marked 1 through 6.

A Note on Using Java on the Department Machines

Currently we support two versions of java:

* "J2SE 5.0" (a.k.a. java 1.5.x)
** installed at /lusr/java5
** documentation available at /lusr/java5/docs/
** source available at /lusr/java5/src

* "Java SE 6" (a.k.a. java 1.6.x)
** installed at /lusr/java6
** documentation available at /lusr/java6/docs
** source available at /lusr/java6/src

Java's product naming conventions are confusing.  See this page for an explanation.

We are currently in a transition phase this semester, upgrading from one version 
of Ubuntu Linux to another (dapper drake -> hardy heron).  With this upgrade, 
the default version of java has changed.

On the older systems (dapper drake), typing 'java' will get you /lusr/java5/bin/java.  
On newer systems (hardy heron), typing 'java' will get you /lusr/java6/bin/java.

To determine which java is first in your $PATH, use 'which':

   $ which java
   /lusr/java6/bin/java

Currently, all public lab machines have been upgraded to hardy heron (ie, java 6), 
except for the machines in ENS 31NR which will remain as dapper drake machines 
until the Christmas break.

To determine which version of Ubuntu a given machine is running, use 'lsb_release':

   $ lsb_release -c
   Codename:       hardy

If you are logging in remotely and need a list of dapper drake or hardy heron machines,
running 'cshosts linuxpub' will list public dapper drake machines, and running 
'cshosts hardypub' will list public hardy heron machines.

It is not mandatory that you develop your programs on department machines, but since I
will use these for grading, it is essential that you port your code to one of these
machines and clearly document how to execute your code in your README file before turning in.