Tuesday, June 30, 2009

History: Enough with the Quizzes

I came across the Dominion Institute's newest quiz this morning. The quiz involves identifying famous Canadians based on their photographs. It included everyone from Wayne Gretzky to Sir. Fredrick Banting. The Dominion Institute issues these quizzes knowing full well that most Canadians will do poorly on them. The resultant statistics then make for timely Globe and Mail or National Post articles around Canada Day in which we are shamed for our lack of Canadian history knowledge.

I took the quiz, and got 10 out of 10, but not without a great deal of difficulty. In one case (Nelly McClung), I had to figure out the answer by process of elimination, ruling out Celine Dion and Michelle Jean from the list of choices.

The average Canadian did much poorer than I did. But, who cares? Why is it only history that we have to quiz? How come the Physics institute of Canada doesn't go around polling everyday Canadians with 3rd year physics problems, only to complain we have been neglecting our physics, as a nation?

So, I've created my own 1 question chemistry quiz, of comparable difficulty level:

Identify the following molecule:

Choices:
Apple Juice, Butter, Mustard, Saturated Fat, Vitamin C, Garlic, Aspartame, Hydro-Chloric Acid, Yeast, Caffeine, Tomato Juice, Folic Acid, Vitamin B12, Chlorinated Salt, Vitric Acid.

---

If you didn't recognize that as Caffeine, you're either evidence that chemistry isn't given enough funding / emphasis / time in schools, or that's just not something that's ever been important enough to your life to memorize or learn how to interpret.

Enough with the quizzes. People don't like to be shown how stupid they are. Not everyone yearns to play trivial pursuit. And, the inability to recognize a remote historic figure is not a sign that Canadian people are stupid.

If you'd like to take the quiz it is available here (for now): http://www.dominion.ca/

Monday, June 29, 2009

Digital Humanities: Where to Begin?

I was speaking with someone today with a MA in History, who was interested in getting involved with the digital humanities. She's keen to learn, but didn't know where to start.

My suggestion: take the best essay you think you've ever written and turn it into a webpage.

This will ground you in principles that will be forever useful as you progress to bigger and more complex projects, and it will give you a tangible 'deliverable' that you can be proud of. It is also something that you can teach yourself to do, with little instruction and a lot of experimentation.

Creating a simple website has many advantages. A lot of the advanced work you will do as a digital humanist will require you to work with webpages. This may involve dissecting pages from their source code, to extract content. You'd expect your surgeon to know what was connected to your knee bone; and I'd expect my digital humanist to know what was in my <:head> tag.

Also, markup, which is the language-type simple websites are written in, is much easier to learn than programming languages that use commands, such as JavaScript or Python.

To get started, see my previous post "Putting a History Essay Online".

What about the other digital humanists out there? What's the best first step for an aspiring student?

Saturday, June 6, 2009

Collaboratron: an experiment in physical computing

Today is #hackday. Devon Elliott approached me about using a system called "Trackmate" to create a cool user interaction. At it's most basic level, Trackmate sends a message to your computer when an object is placed on a special platform (made out of a piece of plexiglas bought at the dollar store). We wrote a program in Processing which created a visualization that changed depending on which objects a user had put on our plexiglas platform.

In our case, we decided to use the Network in Canadian History & Environment's (NiCHE) member list as our dataset. When they signed up, each of our members were able to choose up to 45 research interest areas. The idea was that this information could be used to help people find those with like interests. Our system used a physical object to represent each of those 45 research interests. Users can put one or several of the objects on the platform and the program will create a dynamic display which will recommend potential collaborators based on the user's selections.

It's just a prototype at this point, but since today is #hackday, we thought we'd share what we've got so far. You can take a look at a video on the NiCHE website.

Wednesday, May 13, 2009

Choosing a proper noun for a Project Name

So, you've got a great idea for a project / research group / lab / product. It's going to change your field and soon, everyone will know your name. But, what is your name?

Some people are tempted to choose a name or a acronym that spells out a word in the dictionary. Maybe something that evokes a characteristic they want their project to embody. Maybe you decide to call your new lab "TIGER" because you are developing orange and black striped organisms.

Cute.

But before you choose the name, consider the downsides of this decision. Until you are more famous than tigers, it will be almost impossible to track yourself on the web. There will already be thousands of people out there using your name as a word, rather than to refer to your activities. Someone who loves Tigers will beat you to the Twitter username "Tiger". The Detroit Tigers will always rank higher than you on Google. Many of your visitors will leave the moment they realize they aren't going to find any photos of Tigers on your site. And your would-be visitors will have to try strange combinations of of search words just to find you.

Using a combination of upper case and lower case letters to write your name often does not help. Many search functions ignore capitalization so your search for "TiGeR" will return the same results as "TIGER" or "tiger".

So when choosing a name, maybe it would be better if you went with something a bit more obscure, like "Omeka".

Thursday, May 7, 2009

Thomson Reuters harassing Zotero community

I, along with presumably 285 other people who are interested in Zotero's development got this email this afternoon:
Dear Zotero Development Community Members,

First off, please allow me to apologize for clogging your inbox with this unsolicited message, but I hope you'll understand that the severity of the situation requires me to contact you. In its ongoing litigation with George Mason University, Thomson Reuters has demanded that the university produce contact information (name, email, and username) associated with all two hundred eighty-six Zotero SVN/Trac accounts.

We can think of no use Thomson Reuters's counsel would have for this information other than to intimidate and harass you, and we made every effort to avoid turning over this information until compelled. We have requested that the contact information be placed under protective order, which in principle means that only the lawyers involved should have access to the information. Nonetheless, we feel it is our obligation to notify you that we are being forced to release this data. Please note that you are in no way required or requested to keep this disclosure confidential. If you are contacted by Thomson Reuters or their attorneys in connection with this lawsuit, please do let us know.

We deeply apologize for this encroachment on your privacy, and we sincerely hope that it does not dissuade you from remaining active members of the Zotero development community.

Tuesday, April 28, 2009

How to Rename Files En Masse

Recently, I was confronted with a rather large batch of image files that needed renaming. There were several hundred, and it would have taken far too long to do it manually. So, I wrote a short Python computer program that will do this in a matter of seconds.

If you also ever need to rename many files and don't want to do it manually, you can use this same technique (no experience necessary).

This example is provided as is. Please don't send me your angry email if you accidentally rename all the files on your computer and nothing works anymore. Follow the directions carefully.


Follow these steps.

1) Make a complete copy of all the files that need renamed and save them to a new folder. You can't undo this renaming thing so you don't want to take the chance that all your files get renamed incorrectly. Back them up and be safe. Nothing but the files to be renamed should be in the new folder. Call the folder "rename"

2) Download Python from their website and install it: http://www.python.org/

3) Download Komodo Edit from their website and install it: http://www.activestate.com/komodo_edit/

4) Read Chapters 1-3 of Bill Turkel's "Programming Historian" and set up Komodo Edit to have a 'Run Python' feature (it's in the chapter. Read it! It will only take 10 minutes).

5) Open Komodo Edit and create a new file. Save it as Rename.py .

6) Paste the following code into that file. Indenting is important:

#code

#!/usr/bin/env python
import os
from os import rename

x = os.listdir('C:\\Documents and Settings\\Replace with Path to Folder')
print x
a = 0
b = 0
for file in x:
    if x[a].find(".tif") != -1:
        print a
        os.rename(x[a], 'newName-' + str(b) + '.tif')
    a+=1
    b+=1

#end code

7) Three lines need to be changed.
a) x = os.listdir('C:\\Documents and Settings\\Replace with Path to Folder')
change this to have the path of your folder containing the files to be changed. Make sure you use two slashes between directory layers, not one. The first slash is actually an "escape" character that tells the program to consider the 2nd slash as an alphanumeric character rather than a code character with special meaning.
You can find the path of your folder by right clicking it and selecting properties.

b) if x[a].find(".tif") != -1:
Replace ".tif" with whatever type of file you are changing the name of. This can be any file type you like. .jpg, .txt, .html, etc.

c) os.rename(x[a], 'newName-' + str(b) + '.tif')
Replace "newName" with whatever you want to change the name to, and ".tif" to whatever file format you selected in step (b). This is a pretty simple program - if you go through it line-by-line you can probably figure out what each step does.

8) Resave the file. Place Rename.py in the same folder as the files that you want renamed. Treat this program like a loaded gun. You don't want to run it in the wrong folder. If you run it will rename everything in that folder whether you want it to or not. As long as you don't double click it you should be ok.

9) Open Rename.py in Komodo Edit and run the program using the technique described in the Programming Historian's "Hello World" example.

You should now have an entire folder full of renamed files. They will be named "newName1.tif", "newName2.tif", etc. Notice that the old names are now completely gone.

This can save you a lot of time if you're dealing with hundreds of files. But, please be careful. Don't rename any files that are critical to your system.

A little bit of computer programming can go a long way

Friday, April 17, 2009

How Researchers can Effectively use Twitter

I've been getting a lot of questions lately by friends and colleagues who wonder how and why I use Twitter. Most of these people seem to assume that I'm tweeting what I had for breakfast (or hoping to find out what the CHNM staff had for breakfast). To these people social media is a place where you post pictures of your drunk friends from last night, divulge far too much personal information and take tests that tell you which type of car you are.

There are certainly users of both Facebook and Twitter that have propelled these stereotypes along, but there are definitely good, professional and educational uses for Twitter. One of the best examples of this is the digital humanities community.

I've decided to only use Twitter as a professional learning tool. I don't seek out social friends, am not helping Brit reach 1 million followers (even if there might be a pair of concert tickets in it for me) and actively "unfollow" people who send throngs of breakfast related messages. That has left me with a small but active group of people who provide a steady stream of helpful and insightful information to me every day. Here are the types of tweets I find most helpful as a researcher and digital humanist:

1) Conference Streaming
These live, on the go tweets come from people attending a conference or public lecture. They provide an outline of what a person is presenting, along with interesting excerpts from the audience or thoughts the tweeter may have. Often, these tweets include links to the presenter's slides or notes. While not nearly as good as attending a presentation yourself, this is a big first step in reducing the ephemeral nature of the podium speech and disseminating it to those of us who could not attend, or might not think to attend.

2) Interesting & Relevant Links
With so many people writing in so many places, it's impossible to notice everything. Tweets routinely point me to blog posts, journal articles and webpages relevant to my research - as long as you're following the right people.

3) Finding other Digital Humanists
Around last year at this time I was pretty sure Bill Turkel and Dan Cohen were the only two digital humanists on the planet. Through Twitter, I've found a few dozen more and have stumbled upon research that has both amazed me and prompted new avenues for my own study. For those twitterers interested in Digital Humanities, make sure you check out those listed under #digitalhumanities on http://wefollow.com .

4) Project Updates
Some of the people I follow aren't people at all. Many organizations create twitter accounts for their projects / institutions and send out tweets to let people know of upgrades / upcoming events. It's easy to go overboard with these types of tweets, so I have to say I always appreciate those organizations who exercise discretion and only tweet about significant news.

5) Crowdsourcing
Need a second opinion? Looking for a piece of software that does something obscure? I've found plenty of both by sending out a tweet and waiting for the expertise of my followers to kick in with suggestions.

And the last thing I have found it useful for is getting my own message out. A few weeks ago I posted a message on this blog about my Zotero translator guide and walked away. Within an hour, twitterers has noticed my post and tweeted it across the twittersphere. Over the next couple days I received a few hundred visitors, directly because of the tweets and the internet had been seeded with links (in more than one language) pointing people to the resource I had created. If I had sought traditional, print based forms of publishing, I'd probably still be waiting months for the presses to roll.

Twitter lets me keep up to date with research and developments amongst people with like interests. If done prudently, you can avoid the drunk photos, tests about what car you are and information about what everyone had for breakfast.

Incidentally, I had an apple cinnamon toaster's strudel this morning. And on Mondays, the whole staff of CHNM eats bagels. Ahhh, how I miss those bagels.