Monthly Archives: July 2015

Software Carpentry week 6 (the final one)

Hi DaSHers,
This week we wrap up our 6 weeks of Software Carpentry with an introduction to Git. Git is version control software that allows one or more people to work on files at the same time while keeping a track of changes and storing all old versions for restoration if required. If you want to get some pre-reading done then you can check out the Software Carpentry lesson (http://swcarpentry.github.io/git-novice/).

If you want to review anything that we have discussed in any of the lessons then the Software Carpentry lectures are all available at http://software-carpentry.org/lessons.html.

As this is our last week for this series we would appreciate any feedback you have. Get in contact with us in anyway you feel comfortable and let us know what you think about the series.

As per previous weeks, Mike and Tom will be in the room from 8:30 to answer any questions you may have, with the main session kicking off at 9.

Stuart

ALSO
If you have been inspired by the last 6 weeks and want to install Python, R, Git or even just get yourself set up with a bash shell on your machine (rather than the virtual machine we have been using) then come along to DaSH in the next few weeks and we will happily assist. We will be having a break next week, but after that DaSH is on every Friday morning in the flex room from 9:15.

Where:
Rori Flex Room, IMAS Building, 20 Castray Esplanade, Battery Point

When:
Friday 24 July, 9:00 am. But don’t forget you can turn up from 8:30 if you have questions.

Software Carpentry Week 5

Hi DaSHers,

The DaSH Software Carpentry series is now into its final couple of weeks, and it is great to see so many people keen to improve their knowledge of and skills in data science. This week we will be providing an introduction to Python. We are hoping to build upon the R session from last week and introduce some deeper programming concepts. If you are new to programming then we recommend checking out the python lesson on the Software Carpentry website beforehand (http://swcarpentry.github.io/python-novice-inflammation/). If you found last week difficult then we strongly encourage you to persist, but also suggest you review the previous lessons at (http://software-carpentry.org/lessons.html).

As per previous weeks, Tom and Mike will be in the room from 8:30 to answer any questions with the main session kicking off at 9.

Stuart

Also:
For those who may think data science is only useful if you want to follow a career in research, note that UTas is currently advertising for a Research Systems Support officer in the office of Research Services. This position requires data and research skills including SQL and some bash scripting-type knowledge. You can find the ad for the position on the Utas jobs website (http://www.utas.edu.au/jobs/current-vacancies).

Where:

Rori Flex Room, 20 Castray Esplanade, Battery Point

When:
Friday 24 July, 9:00 am. But don’t forget you can turn up from 8:30 if you have questions.

Software Carpentry Week 4

Hi DaSHers,
This Friday is week four of the Software Carpentry series at DaSH. On the menu this week is the statistical computing language R (http://www.r-project.org/). Tom will be leading the session and has sent me the following message to pass on

See you on Friday

Stuart

Where:

Rori Flex Room, 20 Castray Esplanade, Battery Point

 

When:

Friday 17 July, 9:00 am. But don’t forget you can turn up from 8:30 if you have questions.

Message from Tom
———————————————–

Hi All, 

Next weeks Software Carpentry is “An Introduction to Programming Using R”.  

There is a bit of data you need to download first.  

Below are the step-by-step instructions.  

Lines that start with “#” are my comments explaining what to do.

Lines that do not start with “#” are the verbatim commands you should type into the terminal.  

——————- Begin instructions ——————-

# First of all, open the swc virtual machine inside virtual box.  

# open a terminal 

# ensure you are in your home directory

cd 

# download the zip-archive of the data we need for the lesson into your home directory.

wget http://swcarpentry.github.io/python-novice-inflammation/python-novice-inflammation-data.zip

#unzip the zip-archive into your home directory.  

unzip python-novice-inflammation-data.zip

# Now the data you need to use is here: /home/swc/data 

# Lets check what is inside

ls /home/swc/data

#The output of “ls /home/swc/data” should look like this:  

#  swc@swc-lubuntu:~$ ls /home/swc/data/

#  inflammation-01.csv  inflammation-05.csv  inflammation-09.csv  small-01.csv

#  inflammation-02.csv  inflammation-06.csv  inflammation-10.csv  small-02.csv

#  inflammation-03.csv  inflammation-07.csv  inflammation-11.csv  small-03.csv

#  inflammation-04.csv  inflammation-08.csv  inflammation-12.csv

——————- End instructions ——————-

Ok, your ready to start the lesson (which is here:  http://swcarpentry.github.io/r-novice-inflammation/  ).

See you next week.  

Cheers,

TOM

PS:  Mike is going to be away.  It would be great to have one or two extra helpers who are familiar with R.  Anyone able to help out, contact Tom on the day. 

 

Homework for Software Carpentry week 3

Hi DaSHers,

Sorry for the late notice, but Mike and Tom have asked if everyone who is planning on attending Software Carpentry tomorrow morning please follow the instructions below and download the database we will be using in tomorrow’s session.

Mike and Tom will be in the Flex Room from 8:30 onwards if you need help getting the database, or have any specific questions or issues that you want to explore further, or need some help ensuring you are ready for the second session. The formal session will kick off at 9:00.

If you missed any of the pervious weeks then you can read through the online lecture notes from the Software Carpentry website (http://software-carpentry.org/lessons.html), and make sure you download the software needed for this course as per instructions at https://software-carpentry.org/v5/setup.html. These instructions either let you install a complete virtual machine, or individual packages as needed.

Hope to see you there.

Stuart

Mike’s instructions:

———————————————————————————-
This Friday we will be working through the Software Carpentry SQL lesson. This requires that we all have the “sqlite3” program AND the “survey.db” file available, please use the instructions below.

In short, you need to be able to type this in the terminal to start:

sqlite3 survey.db

If you have problems getting these files, and starting “sqlite3” please come early to the session on Friday at 0830.

#  Software Carpentry VM, or Linux or Mac

* On the VM, or on Linux or Mac sqlite3 is already installed.

* We also need the file “survey.db”, so create a folder to work in, download the file, and start sqlite:

mkdir swc_sql
cd swc_sql
wget http://files.software-carpentry.org/survey.db
sqlite3 survey.db

(To exit, type “.quit”).

NOTE: Please ignore the mkdir and cd steps if you want to work in a particular place.

# Windows

The goal is to have the files “sqlite3” and “survey.db” in the same directory, and then we “change directory” to that location and start the program.

* Create a directory in your “Documents” folder, call it for “swc-sql”.
* Download the zip package “sqlite-shell-win32-x86-3081002.zip” at this address http://www.sqlite.org/download.html, click on the link under “Precompiled Binaries for Windows”,
* Unzip the file into your “swc-sql” folder, there is one file in the .zip called “sqlite3.exe”
* Download the file “survey.db” from http://swcarpentry.github.io/sql-novice-survey/discussion.html, use right-click “Save As” to put in into our “swc-sql” directory
* Now start the Windows command shell and cd into the working folder

For example

cd C:\Users\michae_sum\Documents\swc-sql
sqlite3 survey.db

NOTE: there are ways to put sqlite3 in your path so you don’t have to have the program with the data, but that’s not what this lesson is about.

# sqlite3

You can alternatively start sqlite and then open a database:

sqlite3
.open survey.db

More detail on the software and data requirements, if you need it, is here:
http://swcarpentry.github.io/sql-novice-survey/discussion.html

The lesson material is here

http://swcarpentry.github.io/sql-novice-survey/

Software Carpentry week 3

Hi DaSHers,
This Friday is week three of the Software Carpentry series at DaSH. Last week we had another strong turnout of close to 60 people learning about using the shell and basic bash scripting. This week we get stuck into SQL. SQL (Structured Query Language) is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS), or for stream processing in a relational data stream management system.

Mike and Tom will be in the Flex Room from 8:30 onwards if you have any specific questions or issues that you want to explore further, or need some help ensuring you are ready for the second session. The formal session will kick off at 9:00.

If you missed any of the pervious weeks then you can read through the online lecture notes from the Software Carpentry website (http://software-carpentry.org/lessons.html), and make sure you download the software needed for this course as per instructions at https://software-carpentry.org/v5/setup.html. These instructions either let you install a complete virtual machine, or individual packages as needed.

Hope to see you there.

Stuart

Software Carpentry week two

Hi DaSHers,
This Friday is week two of the Software Carpentry series at DaSH. We had a great turnout last week with over 60 people in the room to hear Tom and Mike introduce the series and tell us why programming skills are essential for being a data scientist. This week we get down to business with an introduction to the Unix shell and bash scripting as a starting point.

Mike and Tom will be in the Flex Room from 8:30 onwards if you have any specific questions or issues that you want to explore further, or need some help ensuring you are ready for the second session. The formal session will kick off at 9:00.

If you missed last week, then the software needed for this course can be installed as per instructions at https://software-carpentry.org/v5/setup.html. These instructions either let you install a complete virtual machine, or individual packages as needed.

Hope to see you there.

Stuart