MATFeb2014 » History » Version 6

Chris Cannam, 2014-03-31 12:39 PM

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 5 Steve Welburn
*  Day 2: Afternoon of 26th March 2014 -- MAT lab
7 1 Chris Cannam
8 3 Chris Cannam
h2. Schedule
9 3 Chris Cannam
10 3 Chris Cannam
h3. Day 1
11 3 Chris Cannam
12 3 Chris Cannam
This is the actual schedule, i.e. with timings as they were on the day.
13 3 Chris Cannam
14 3 Chris Cannam
Official slot 13.00-17.00.
15 3 Chris Cannam
16 3 Chris Cannam
Attendance 18/22.
17 3 Chris Cannam
18 3 Chris Cannam
* Start - 13.05
19 3 Chris Cannam
* Short intro - Chris - 13.05 to 13.10
20 3 Chris Cannam
* *Shell* - Steve - 13.10 to 14.40
21 4 Chris Cannam
* Break - 14.40 to 15.10
22 4 Chris Cannam
* *Version control* - Chris - 15.10 to 16.50
23 3 Chris Cannam
* End - 16.50
24 3 Chris Cannam
25 3 Chris Cannam
h3. Day 2
26 3 Chris Cannam
27 3 Chris Cannam
Provisional schedule.
28 3 Chris Cannam
29 3 Chris Cannam
Official slot 13.00-17.00.
30 3 Chris Cannam
31 3 Chris Cannam
* Start - 13.05
32 5 Steve Welburn
* *Python* - Bogdan - 13.05 to 14.40
33 5 Steve Welburn
* Break - 14.45 to 15.15
34 5 Steve Welburn
* *Python and NumPy* - Bogdan - 15.20 to 16.30
35 3 Chris Cannam
* End - 16.30
36 3 Chris Cannam
37 1 Chris Cannam
h2. Teaching material and supplementary links
38 1 Chris Cannam
39 3 Chris Cannam
h3. Day 1
40 3 Chris Cannam
41 1 Chris Cannam
* *Introduction to Shell* -- "Tutorial script":/documents/73 -- "Crib sheet on Unix shell commands":/documents/74
42 1 Chris Cannam
* *Version control* -- "Introductory slides":/documents/75 -- "Tutorial script":/projects/easyhg/wiki/SC2012BootcampPlan
43 1 Chris Cannam
44 6 Chris Cannam
h3. Day 2
45 6 Chris Cannam
46 6 Chris Cannam
* *Introduction to Python* -- "Tutorial script":/documents/71 -- "Repository with code":/projects/swc-python-intro
47 6 Chris Cannam
48 6 Chris Cannam
Other subjects not covered on the day, that may be of interest:
49 6 Chris Cannam
50 6 Chris Cannam
* *Audio in Python* -- "Repository with code (includes example of plotting in Python)":/projects/swc-python-audio
51 6 Chris Cannam
* *Data management* -- "Slides from Feb 2013":/documents/72
52 6 Chris Cannam
* *Unit testing* -- "Tutorial script from Feb 2013":/projects/ssw-swc-2013/wiki/SWC2013TDD
53 6 Chris Cannam
* *What We Know* -- "Slides":/documents/70 about software-development working practices
54 6 Chris Cannam
55 1 Chris Cannam
h2. Other material from us
56 1 Chris Cannam
57 1 Chris Cannam
* We offer "a number of one-page info sheets":http://soundsoftware.ac.uk/handouts-guides on topics related to this workshop
58 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.
59 1 Chris Cannam
60 1 Chris Cannam
h2. Links about the software in the workshop
61 1 Chris Cannam
62 1 Chris Cannam
* In day 1 we have used "Mercurial":http://mercurial.selenic.com/ and "EasyMercurial":http://easyhg.org/
63 1 Chris Cannam
64 1 Chris Cannam
h2. Topical links
65 1 Chris Cannam
66 1 Chris Cannam
h3. Unix and shell
67 1 Chris Cannam
68 1 Chris Cannam
* "Mac OS X man pages online":https://developer.apple.com/library/mac/#documentation/darwin/reference/manpages/index.html
69 1 Chris Cannam
* "Software Carpentry lessons":http://software-carpentry.org/4_0/shell/index.html
70 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
71 1 Chris Cannam
* "Unix tutorial @ University of Surrey":http://www.ee.surrey.ac.uk/Teaching/Unix/
72 1 Chris Cannam
73 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/).
74 2 Chris Cannam
NB: Cygwin doesn't install nano, Python or Mercurial by default - they need to be selected in the setup.
75 1 Chris Cannam
76 2 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.
77 1 Chris Cannam
78 2 Chris Cannam
* Some Windows command prompt "tutorials":http://www.7tutorials.com/ode-command-prompt-most-powerful-and-least-used-windows-tool
79 2 Chris Cannam
* Official Microsoft "Windows Powershell Owners Manual":http://technet.microsoft.com/en-us/library/ee221100.aspx
80 2 Chris Cannam
81 2 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!
82 2 Chris Cannam
83 2 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.
84 2 Chris Cannam
85 2 Chris Cannam
h3. Version Control
86 2 Chris Cannam
87 2 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!
88 2 Chris Cannam
89 2 Chris Cannam
 * "Software Carpentry version control lessons":http://software-carpentry.org/4_0/vc/index.html