If you’re a regular reader of ProfHacker, you’re likely to have some interest in the digital humanities. After this year’s Modern Language Association Convention, William Pannapacker caused no small amount of controversy by declaring the digital humanities “triumphant” and comparing the field to “the culture of Big Theory back in the 80s and 90s.” Perhaps the most salient point of Pannapacker’s argument—which Matt Kirschenbaum responds to beautifully—is that DH work can look, from the outside, quite alien. If, as Stephen Ramsay provocatively argues, one must know how to code in order to do DH, how could a traditionally-trained, mid- or late-career academic (or, for that matter, a traditionally-trained, early-career academic) ever hope to join the field? It’s easy to pick up some basic HTML—but what if you want or need to learn something more sophisticated?
A problem of this magnitude will ultimately require sustained attention to the infrastructure of digital humanities work—large-scale, institutional solutions. At larger institutions, digital humanities centers offer training to interested scholars. Programs like the University of Victoria’s Digital Humanities Summer Institute seek to help a range of scholars gain tangible DH skills that they can then bring to their scholarship. The recently-launched DH Answers also addresses this need, helping scholars connect with DH experts who can answer their questions—be they technical or programmatic.
Today I wanted to point ProfHacker readers to two narrower projects that could help them learn one of the web’s most popular programming languages, Ruby. These two projects sprang up almost simultaneously, and I plan to use both in the coming weeks and months to expand my own technical skills. If the mantra of DH is to be “more hack, less yack,” I have some work to do.
First I’d like to mention a free program called Hackety Hack, which you can download for Windows, Linux, or OS X. On the program’s webpage, the developer describes it like this,
Hackety Hack will teach you the absolute basics of programming from the ground up. No previous programming experience is needed!
Hackety Hack includes a series of interactive lessons that walk you through some basic Ruby commands, and encourage you to practice using the built-in editor. Right now there are only a few lessons—you’ll work up to drawing some basic shapes and make a simple interactive pop-up box—but the developer promises that more lessons are coming soon. I had a blast playing through the first lessons in Hackety Hack; it reminded me of the LOGO programming lessons I loved in elementary school. If Hackety Hack development continues, it could be a painless—dare I say fun?—way to expand your technical chops.
Next—and more directly germane to digital humanities work—is “The Rubyist Historian.” Jason Heppler, a graduate student in the history department at the University of Nebraska, recently began using his blog “to write an accessible introduction to Ruby and demonstrate not only how to write small programs but also think about ways programming can help scholars in their everyday tasks.” Jason’s guide is accessible, even to a complete novice like me. In the series’ most recent post, Jason walks readers through creating a basic program that will take a webpage and convert it into a wordcloud based on word frequency—an exciting feat for a new programmer. I recommend that anyone interested in learning Ruby subscribe to this feed.
If you’re interested in learning Ruby—or just interested in learning more about programming than you already know—I recommend both “The Rubyist Historian” and Hackety Hack. Do you have any other suggestions for where aspiring digital humanists can learn to code? Tell us in the comments.
[Creative Commons licensed photo by Flickr user pixeljones.]




7 Responses to More Hackety Hack, Less Yackety Yack: Ruby for Humanists
ianthomas - February 1, 2011 at 6:26 pm
I’ve recently been trying to teach myself Ruby and I asked the creator of Hackety Hack (I agree with you that it’s a great program to learn with) through twitter for more resources and he retweeted that and got several responses from other users. Here are a few of the more interesting and useful suggestions:
TryRuby.org: It’s a great intro that is touted as a 15 minute lesson (though it took me much longer) on the basics of Ruby programming. Very interactive with limited reading.
Why’s (poignant) Guide to Ruby: This is an interesting eBook that does a great job of explaining the language of Ruby that, I think, works very well for humanists. The author approaches it as a spoken language and goes from there. It’s quite odd at times, but that makes it all the more fun.
Rails for Zombies: This takes the basics of Ruby and introduces the user to using Ruby on Rails using the ever-popular Zombification. In Rails for Zombies, you recreate a twitter-like platform using Ruby on Rails.
I’d love to hear what other readers have used or found helpful.
kathrine9 - February 1, 2011 at 9:09 pm
I’m going to try some of these links – it sounds like I might be able to follow it – in other words (‘idiot proof’)…
Where did you get the name of ‘Ruby’ ?
kathrine9 - February 1, 2011 at 9:24 pm
Wow- this is an interesting field, I’m a ‘fan’ already and I’ve just got past the Wikipedia definition – thanks for the article.
sselisker - February 1, 2011 at 9:43 pm
Thanks for this, Ryan. I’d love to recommend a really great, more advanced tutorial for those who’d like to learn Ruby on Rails — this is the Ruby programming language paired with the Rails web framework. The screencast tutorials here—http://www.buildingwebapps.com/learningrails—are the best I’ve found for RoR. As the Rails for Zombies mentions, Twitter is built with RoR, and a few particularly powerful DH applications I’ve run across do, as well (NowComment is one). It’s a little more like professional programming, but it’s seriously powerful (if the power-to-ease-of-use spectrum goes up from WordPress to Omeka to Drupal to RoR).
washulib - February 2, 2011 at 1:30 pm
I’ve been using Beginning Ruby: From Novice to Professional, Second Edition, and have found it very accessible.