Please post questions to the class discussion board.
The easiest way to use the course simulation software is via the pre-configured Virtual Machine (VM) that we provide. You need 3 things:
1. Virtual MachineDownload the free Virtual Box VM software, version 4.2.18 here
2. Pre-configured Ubuntu imageDownload the Ubuntu image, with Python and necessary libraries here
This will use 8GB of disk space.
From Virtualbox, do File->Import, and choose the Ubuntu image above.
Username is user, password is password. The VM has python, numpy, ipython, gcc/g++ and vim/emacs/sublime text.
To test code,
cd ~/lga
python lga_ui.py
Repo on bitbucket Updated 10/10
First time cloning (i.e. get a brand new copy):
$ cd ~ $ git clone git@bitbucket.org/lga.git lga_git # creates a directory lga_git
Then to update code and keep it in sync with the latest version:
$ cd ~/lga_git $ git pull
This assumes you haven't modified any of the files we provided (e.g. lga_sim.py). If you have, then git will complain. So, it's safe to do this if you are only creating new experiment files/classes.
If you do want to modify the course files, you can
Ask us how to do it the "git" way
Keep the lga_git directory pristine and put your changed code in another directory, handling merges of new course code manually
Forgo git and download zip files from bitbucket to get the most recent versions.