Autumn '05

Turning in homework online

First time you do this, create the directory that will contain all 220a homework soundfiles and be visible to the outside world.

Soundfiles are potentially large and would clog our user-space server, so we maintain two directories with ample capacity.

For scratch (temporary work, automatically deleted on logout) /zap

For keepers (permanent work) /usr/ccrma/snd/220a-2005/<user>


Your web-visible directory already exists and has the following name [note that the ~ is short hand for your home directory, ~<user> is shorthand for another user, e.g., ~cc for mine]


cd ~/Library/Web


Anything under that directory can be hyperlinked for the world. See below for creating an (optional) personal homepage.


This web space directory is part of your regular disk space, so we add soundfiles to it by linking instead of copying them and that requires these steps.

cd /usr/ccrma/snd/220a-2005/<your login>

mkdir 220a

cd ~/Library/Web

ln -s /usr/ccrma/snd/220a-2005/<your login>/220a .


...this will... 1) change you to your snd directory which already exists for each user, 2) add the course subdirectory, 3) change to your web directory and 4) link the new snd subdirectory to the web-visible one. You only do this step once.


Each soundfile that you want to preserve should remain on the snd disk, so any good stuff that's on /zap needs to be copied before logging out. For our homeworks, each homework soundfile will be a new file added to your snd disk's 220a directory, numbered respectively with the following names.

hw1.wav

hw2.wav

hw3.wav

hw4.wav

hw5.wav

hw6.wav

fpr.html

To check if a file is properly placed you can

(list its parameters from a terminal – the actual file, then the linked version)

ls -ls /usr/ccrma/snd/220a-2005/<your login>/220a/hw1.wav

ls -ls ~/Library/Web/220a/hw1.wav

(point a web browser at)

ccrma.stanford.edu/~<your login>/220a/hw1.wav



Need a homepage? (optional)


I use OpenOffice for editing most office biz these days. It's pretty good at doing these html formats, and inserting graphics, etc.

Operation is pretty straightforward and the help menu is useful when it's not. Create a new web document and save it with the name:


~/Library/Web/220a/index.html


(to see the results point a web browser at)

ccrma.stanford.edu/~<your login>