MATFeb2014 » History » Version 2

Chris Cannam, 2014-02-13 10:28 AM

1 1 Chris Cannam
h1. Software Carpentry workshop for MAT at QMUL, Feb 2014
2 1 Chris Cannam
3 1 Chris Cannam
h2. Dates/Where
4 1 Chris Cannam
5 1 Chris Cannam
*  Day 1: Afternoon of 12th February 2014 -- MAT lab
6 1 Chris Cannam
*  Day 2: Afternoon of 26th March 2014 -- MAT lab (are we sure we can't make this any sooner?)
7 1 Chris Cannam
8 1 Chris Cannam
h2. Teaching material and supplementary links
9 1 Chris Cannam
10 1 Chris Cannam
* *Introduction to Shell* -- "Tutorial script":/documents/73 -- "Crib sheet on Unix shell commands":/documents/74
11 1 Chris Cannam
* *Version control* -- "Introductory slides":/documents/75 -- "Tutorial script":/projects/easyhg/wiki/SC2012BootcampPlan
12 1 Chris Cannam
13 1 Chris Cannam
h2. Other material from us
14 1 Chris Cannam
15 1 Chris Cannam
* We offer "a number of one-page info sheets":http://soundsoftware.ac.uk/handouts-guides on topics related to this workshop
16 1 Chris Cannam
* This very site, "code.soundsoftware.ac.uk":http://code.soundsoftware.ac.uk, is a code hosting site for projects by UK-based audio and music researchers. If you're interested in audio and music, please do register and make use of it! Repository hosting uses Mercurial, and your projects can be public or private.
17 1 Chris Cannam
18 1 Chris Cannam
h2. Links about the software in the workshop
19 1 Chris Cannam
20 1 Chris Cannam
* In day 1 we have used "Mercurial":http://mercurial.selenic.com/ and "EasyMercurial":http://easyhg.org/
21 1 Chris Cannam
22 1 Chris Cannam
h2. Topical links
23 1 Chris Cannam
24 1 Chris Cannam
h3. Unix and shell
25 1 Chris Cannam
26 1 Chris Cannam
* "Mac OS X man pages online":https://developer.apple.com/library/mac/#documentation/darwin/reference/manpages/index.html
27 1 Chris Cannam
* "Software Carpentry lessons":http://software-carpentry.org/4_0/shell/index.html
28 1 Chris Cannam
* "ELE595 - Software Tools For Engineers":http://www.eecs.qmul.ac.uk/~simond/teaching/ele595/index.html -- Undergraduate module at QMUL. Weeks 5-10 covered Unix
29 1 Chris Cannam
* "Unix tutorial @ University of Surrey":http://www.ee.surrey.ac.uk/Teaching/Unix/
30 1 Chris Cannam
31 1 Chris Cannam
To use Unix commands on a Windows machine, you will need to install additional software (e.g. "MinGW":http://www.mingw.org/ or "Cygwin":http://www.cygwin.com/).
32 1 Chris Cannam
NB: Cygwin doesn't install nano, Python or Mercurial by default - they need to be selected in the setup.
33 1 Chris Cannam
34 1 Chris Cannam
The Windows command prompt and powershell provide similar facilities to the Unix shell, but with different commands and syntax! Of the two, the command prompt is very similar to the basic Unix tools we introduced, but Powershell is more powerful.
35 1 Chris Cannam
36 1 Chris Cannam
* Some Windows command prompt "tutorials":http://www.7tutorials.com/ode-command-prompt-most-powerful-and-least-used-windows-tool
37 1 Chris Cannam
* Official Microsoft "Windows Powershell Owners Manual":http://technet.microsoft.com/en-us/library/ee221100.aspx
38 1 Chris Cannam
39 1 Chris Cannam
If you own an android tablet or phone, then that is a Unix device. It doesn't come with a command prompt by default, but you can "install one":https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en. NB: this may be dangerous for your device!
40 1 Chris Cannam
41 1 Chris Cannam
If you want to try a full Unix system, then "VirtualBox":http://www.virtualbox.org/ can be used to create a "virtual machine" - a fake computer that runs inside your normal session. You can then install a Linux distribution on that virtual machine.
42 1 Chris Cannam
43 1 Chris Cannam
h3. Version Control
44 1 Chris Cannam
45 1 Chris Cannam
On Windows, "TortoiseHg":http://tortoisehg.bitbucket.org/ provides an alternative interface to Mercurial - you can right-click files in Windows Explorer. It's more techy than EasyMercurial!
46 1 Chris Cannam
47 1 Chris Cannam
 * "Software Carpentry version control lessons":http://software-carpentry.org/4_0/vc/index.html
48 1 Chris Cannam
49 1 Chris Cannam
h2. Schedule
50 1 Chris Cannam
51 1 Chris Cannam
h3. Day 1
52 1 Chris Cannam
53 1 Chris Cannam
This is the actual schedule, i.e. with timings as they were on the day.
54 1 Chris Cannam
55 1 Chris Cannam
Official slot 13.00-17.00.
56 1 Chris Cannam
57 1 Chris Cannam
Attendance 18/22.
58 1 Chris Cannam
59 1 Chris Cannam
* Start - 13.05
60 1 Chris Cannam
* Short intro - Chris - 13.05 to 13.10
61 2 Chris Cannam
* *Shell* - Steve - 13.10 to 14.40
62 1 Chris Cannam
* Break - 14.40 to 15.00
63 2 Chris Cannam
* *Version control* - Chris - 15.00 to 16.50
64 1 Chris Cannam
* End - 16.50
65 2 Chris Cannam
66 2 Chris Cannam
h3. Day 2
67 2 Chris Cannam
68 2 Chris Cannam
Provisional schedule.
69 2 Chris Cannam
70 2 Chris Cannam
Official slot 13.00-17.00.
71 2 Chris Cannam
72 2 Chris Cannam
* Start - 13.05
73 2 Chris Cannam
* *Python* - TBA - 13.05 to 14.40
74 2 Chris Cannam
* Break - 14.40 to 15.00
75 2 Chris Cannam
* *Python and NumPy* - TBA - 15.00 to 16.30
76 2 Chris Cannam
* End - 16.30