This section contains the CS234 course notes being created during the Winter 2018 offering
of the course. These notes should be considered as additional resources for students, but
they are also very much a work in progress. The course staff are working hard to create these lecture
notes and cover as much of the material covered in the class as possible, and in some places
provide further background information. However, we are aware that we may omit some things and
there may be unintended typos. Of course, these notes should not be considered as an alternative
to attending classes.
Git repositories for lecture notes
There are two versions of git repositories for the lecture notes, which are hosted on AFS at the
Cloning the repositories
Editable Repository: This is hosted at
/usr/class/cs234/cs234-notes.git. Students and course staff
can make contributions to this repository.
Stable Repository: This is hosted at
/usr/class/cs234/cs234-notes-stable.git: This version of the notes
are readable by the students, but writable only by the course staff.
Type the commands shown below to clone each repository using git
Adding a new lecture
git clone <SUNetID>@cardinal.stanford.edu:/usr/class/cs234/cs234-notes.git
git clone <SUNetID>@cardinal.stanford.edu:/usr/class/cs234/cs234-notes-stable.git
To add a new lecture note please follow the instructions below:
Copy the file template.tex in the repository and rename appropriately
- Add packages when needed in the preamble section.
- Fill out the information in the config section of the file.
- Type out the lecture content.
If you are making notes for lecture X, put any images needed in the directory
- Possibly add frequently needed packages to template.tex.
The course staff will be producing lecture notes for the first 10 lectures, all of the lectures
prior to the midterm exam. They will be pushed to both repositories.
Students can contribute to the editable repository, which will be monitored by the course staff to
assure that the updates are correct, and when approved they will be copied into the stable repository.
We welcome anyone to correct any typos, add additional sections which they feel may be missing,
add figures or any other additions that you think will improve the lecture notes. Extra credit may
be awarded for contributions made to the lecture notes.
To be given credit for contributions, make
sure that your SUNet id appears in your commit before pushing (i.e. when you type