Stop Me If You’ve Heard This One

April 28th, 2012 1 comment

I used to tell this joke:

An engineer says, “Theory approximates reality.”
A mathematician says, “Reality approximates theory.”
A sociologist says, “Would you like fries with that?”

Read more…

Categories: Education, Opinion Tags:

Solution to Sets and Dictionaries Exercise

April 26th, 2012 1 comment

Last week, I posted an exercise on working with sets and dictionaries that also included a fair bit of file I/O and string manipulation. My solution is below, in four parts, along with the code produced in each. If someone would like to re-do the file parsing using regular expressions, I’d be happy to post that as well.

Read more…

Categories: Tutorial, Version 5.0 Tags:

An Exercise With Sets and Dictionaries

April 20th, 2012 5 comments

You are working for a nanotechnology company that prides itself on manufacturing some of the finest molecules in the world. Your job is to rewrite parts of their ordering system, which keeps track of what molecules they can actually make. Before trying this exercise, please review:

  1. Introduction
  2. Storage (the short version)
  3. Dictionaries
  4. Examples
  5. Nanotech Example

Submit your work by mailing Greg:

  1. your final program,
  2. the input file(s) you used to test it, and
  3. a shell script that runs all of your tests.

Read more…

Categories: Tutorial, Version 5.0 Tags:

Three Years Later

April 19th, 2012 No comments

It’s not putting it too strongly to say that Software Carpentry changed my life.

Read more…

Categories: Opinion Tags:

Where Next?

April 18th, 2012 No comments

Do you know someone who’d be helped by a Software Carpentry boot camp?  Or can you introduce us to someone who’d help us organize one in a new venue?  If so, please introduce us: we’d like to start planning for the fall, and we’re always keen to make new friends.

Categories: Venues Tags:

Behind the Scenes (or, the Ethics of Cultivating Discontent)

April 18th, 2012 No comments

A lot goes on behind the scenes here at software-carpentry.org:

  1. The site itself is WordPress with a partly-customized theme. We use the blog for topics like this and pages (over a hundred of them) for lecture topics. We used to use Trac to manage work items, but nobody kept it up-to-date; these days, we use a WordPress to-do list plugin for the same purpose, and with as little result.
  2. Our videos are hosted on YouTube—we used to store them locally, but performance improved a lot when we offloaded.
  3. We manage our mailing lists and version control repositories through the Dreamhost control panel, which actually delegates mailing list management to Mailman.
  4. The calendar and map are hosted by Google.
  5. We do event registration through EventBrite.
  6. We currently use BlueJeans and Skype for web conferencing, but it’s been plagued with both technical and social difficulties: people need to have the right Skype client for their OS, and there are the usual problems with unmuted microphones, unintelligible audio, feedback loops, and so on. Forget flying cars: I’ll believe the future has arrived when we can make this work…

Read more…

Categories: Opinion Tags:

GitHub for Education

April 17th, 2012 3 comments

In my experience, most teachers don’t develop courses from scratch. Instead, they take whatever material is at hand, modify it to meet their needs, and then—well, that’s usually where they stop. Unlike open source software developers, they usually don’t give it back to the community in any explicit way. Instead, the next person who needs a starting point has to stumble over it in a Google search, and the original creator may never know that someone improved upon what they did.

Read more…

Categories: Education, Opinion Tags:

Halfway Home

April 17th, 2012 No comments

We’re half-way through our current round of work, so it’s time to start thinking about what we’ve accomplished, what we’ve learned, and what we’d like to do next. Here’s what I think we now know:

  1. Our training makes scientists more productive.
  2. We can prove it.
  3. Our methods scale.
  4. We can become self-sustaining in 2-3 years.

In more detail:

Read more…

Categories: Version 5.0 Tags:

In Search of Prior Arguments

April 17th, 2012 3 comments

A faculty member whose research involves building some fairly complex scientific software would like to make all his work open source. He is repeatedly having to justify this choice to funding agencies and his dean, whose objections include:

  • concern for sensitive information being released (anything involving pollution has the potential to become a political football)
  • concern for misuse by naive users undermining the reputation of the tool
  • concern for missing value in licensing the IP

I know lots of other people have had to overcome these and other objections; what I’m looking for is a published (and preferably peer-reviewed) refutation of them that he and others can cite, preferably one that is specific to open source in science (rather than in general). Pointers would be very welcome.

Categories: Opinion Tags:

Utah State University Wrap-Up

April 16th, 2012 1 comment

Our boot camp at Utah State University finished earlier today—many thanks once again to Ethan White and his friends for hosting us. Here’s what the students thought:

Good Bad
  • keeping history
  • break work into pieces
  • integrating different things
  • good for different levels of knowledge
  • liked the pace
  • good tech support from helpers
  • download data from the web
  • liked the escalation
  • using up-to-date languages
  • emphasis on commonality of patterns
  • liked flexibility
  • talked about formatting/style
  • everything consistent
  • Greg’s stories
  • hearing from multiple people
  • organized around simple, general structural things
  • liked structure around data processing
  • machine/software setup
  • hard to keep up with Greg’s typing
  • wind tunnel
  • no beer
  • assumed knowledge we didn’t have
  • less lecture, more time on examples/practicals
  • rushed
  • wide range of applicability
  • wanted more complicated examples
  • some things glossed over
  • don’t understand strengths/weaknesses of languages
  • would have liked time to make better examples
  • some places were “show” not “do”
  • didn’t cover testing
  • Greg’s stories
  • couldn’t tell if people were with us or not
  • hard to keep track of what tool we were in
  • coordination across people

Next stop: London!

Categories: Boot Camp, Utah State University Tags: