Report on the Indiana Bootcamp

This post originally appeared on the Software Carpentry website.

Mike Hansen, Jeff Shelton, and Aleksandra Pawlik posted a summary of their recent bootcamp at Indiana University on the Software Sustainability Institute blog, which we've reposted below. It includes some reflections on what works and what doesn't when using IPython Notebooks for teaching, and similarly with virtual machines.

Indiana University hosted a Software Carpentry bootcamp on 11-12 July. The instructors were all three authors of this blog post: Mike Hansen, Jeff Shelton and Aleksandra Pawlik.

The participants recruited from different disciplines ranging from computer science and electrical engineering to genetics and zoology. Quite a few attendees were faculty members and at least two were tech support university employees.

Several participants had a very well defined goal related to the bootcamp. They had a good understanding of programming but wanted to learn more about a particular topic such as version control or scientific Python. One of the participants said that he hoped for some more advanced Git teaching (which typical bootcamps don't offer), and he found it useful to learn about the Git structure.

For teaching the Python-related modules (programming, testing with nose and data analysis with pandas), Jeff Shelton and Mike Hansen used IPython Notebook. The Notebook is a very convenient teaching tool for the instructors since it allows them to seamlessly combine bits of code, text, images and interact with the system. It is easier to teach this way, rather than having to switch between several terminal windows, a text editor - not to mention instructor's notes.

Some difficulties arise when using IPython Notebook. While magic commands are time-savers for experienced programmers, they confuse new users. Why does !nosetests work perfectly well when the same command, minus the bang, does not? Why does ls work with or without the bang? Why does %edit require a single percent sign, but %%file requires two? Teaching these distinctions takes time.

When working with external files, IPython Notebook caches variables. This requires updated code to be stored under a new file name so that IPython will import the modified definition. Again, it is confusing to students that subsequent code revisions need be assigned sequential filenames (e.g.,, etc.), as this is not the case when using the Python shell and a text editor. As always, each teaching tool has particular strengths and weaknesses.

When showing some more complex examples in Python, an instructor can get sidetracked often while presenting to share a little snippet that wasn't part of the prepared material (e.g. the calendar library in Python for getting the number of days in a month). Due to time pressure, there seems to be a bit of tension between doing a more traditional lecture versus a cookbook style presentation. What should the balance be between the two? Do students learn better with either style?

We could have probably done a better job keeping up with the EtherPad, but it was tough to always check the chat while trying to help people. It may be an idea to have a dedicated helper to monitor the chat area at larger bootcamps.

Many attendees decided to use the Software Carpentry-customised Virtual Machine. This removed a lot of the headache related to installation issues on the learner's laptops. But that ease of use at the bootcamp came at a price. Shortly after the bootcamp, one of the participants got in touch saying that he was struggling to apply what he learnt to his research. He didn't know how to get the tools that were available on the VM to work on his very own machine. This issue of transferring skills and tools from the VMs to the learner's laptops and desktops has been a recurring discussion topic at Software Carpentry. There doesn't seem to be a silver bullet solution to it.

The bootcamp finished with a module on Scientific Python during which Mike Hansen demonstrated use of pandas - Python Data Analysis Library. Mike used weather data as an example, and the attendees found this module really useful. On one hand, the example was simple and intuitive enough for everyone to understand it. On the other hand, the data allowed for fairly advanced manipulations which helped to show panda's abilities.

In the final feedback one of the participants said "Best part was getting stuck, then putting up the sticky note and having someone rush over to help get me unstuck . If only sticky notes worked remotely when I'm stuck in my basement office where no one can hear you scream."

Certainly Software Carpentry helps many scientists and the above statement proves that more of that help is needed.

Dialogue & Discussion

Comments must follow our Code of Conduct.

Edit this page on Github