Archive for the ‘Programming’ Category

Literary Analysis and the Wolfram Language

Wednesday, November 4th, 2015


Lately I’ve been trying Wolfram Mathematica more an more for analytics. I was introduced to Mathematica by Bill Turkel and Ian Graham who have done some impressive stuff with it. Bill Turkel has now created a open access, open content, and open source textbook Digital Research Methods with Mathematica. The text is a Mathematica notebook itself so, if you have Mathematica you can actually use the text to do analytics on the spot.

Wolfram has also posted an interesting blog entry on Literary Analysis and the Wolfram Language: Jumping Down a Reading Rabbit Hole. They show how you can generate word clouds and sentiment analysis graphs easily.

While I am still learning Mathematica, some of the features that make it attractive include:

  • It uses a “literate programming” model where you write notebooks meant to be read by humans with embedded code rather than writing code with awkward comments embedded.
  • It has a lot of convenient Web, Language, and Visualization functions that let you do things we want to do in the digital humanities.
  • You can call on Wolfram Alpha in a notebook to get real world knowledge like capital cities or maps or language information.


Thursday, January 15th, 2015

Spiral Graphic

Tributary is an interactive visualization programming environment for Javascript (and D3).  It lets you rapidly prototype visual code and reminds me of the old Design By Numbers which was both a book by John Maeda and a site that similarly let you program and see the visual results.

Games with Purpose: Untrusted

Monday, May 12th, 2014

Screen Shot

From Alex I discovered the serious game Untrusted by Alex Nisnevich. This puzzle game asks you to edit Javascript in order to solve puzzles as a way of learning to think like a programmer. You can read about the game at Games with Purpose – a site that is gathering serious games.

The Programming Historian 2: Cleaning OCR’d text

Wednesday, August 28th, 2013

The Programming Historian 2 is producing some very useful tutorials including some on Cleaning OCR’d Text with Regular Expressions. This was started by William J Turkel and others and is now supported by the Center for History and New Media. The tutorials are released under a Creative Commons so they can be copied and adapted.

Visualizing Collaboration

Saturday, April 27th, 2013

Ofer showed me a interactive visualization of the collaboration around a Wikipedia article. The visualization shows the edits (deletions/insertions) over time in different ways. It allows one to study distributed collaborations (or lack thereof) around things like a Wikipedia article. The ideas can be applied to visualizing any collaboration for which you have data (as often happens when the collaboration happens through digital tools that record activity.)

His hypothesis is that theories about how site-specific teams collaboration don’t apply to distributed teams. Office teams have been studied, but there isn’t a lot of research on how voluntary and distributed teams work.

Sample on Randomness

Friday, January 11th, 2013

Mark Sample has posted his gem of a MLA paper on An Account of Randomness in Literary Computing. I wish I could write papers quite so clear and evocative. He combines interesting historical examples to a question that crosses all sorts of disciplines – that of randomness. He shows how the importance of randomness connects to poetic experiments in computing.

I would recommend reading the article immediately, but I discovered, as with many good works, I ended up spending a lot of time following up the links and reading stuff on sites like the MIT 150 Exhibition which has a section on Analog/Digital MIT with online exhibits on subjects like the MIT Project Athena and the TX-0. Instead I will warn – beware of reading interesting things!

A Thousand Words

Saturday, December 15th, 2012

The Texas Advanced Computing Center has created an Advanced Visualization for the Humanities tool for a project A Thousand Words. The tool, called Most Pixels Ever: Cluster Edition is a library that extends Processing and is designed for large-scale tiled displays. Very neat.

The Old Bailey Datawarehousing Interface

Tuesday, May 22nd, 2012

The latest version of our Old Bailey Datawarehousing Interface is up. This was the Digging Into Data project that got TAPoR, Zotero and Old Bailey working together. One of the things we built was an advanced visualization environment for the Old Bailey. This was programmed by John Simpson following ideas from Joerg Sanders. Milena Radzikowska did the interface design work and I wrote emails.

One feature we have added is the broaDHcast widget that allows projects like Criminal Intent to share announcements. This was inspired partly by the issues of keeping distributed projects like TAPoR, Zotero and Old Bailey informed.

Perlin: Interactive Map of Pride and Prejudice

Tuesday, May 8th, 2012

As I mentioned in my post on the GRAND conference, Ken Perlin showed a number of interesting Java apps that illustrated visual ideas. One was a Interactive Map of Pride and Prejudice. This interactive map is a rich prospect of the whole text which you can move around to see particular parts. You can search for words (or strings) and see where they appear in the text. You can select some text and it searches. The interface is simple and intuitive. You can see how Perlin talks about it in his blog. I also recommend you look at his other experiments.

Umea: Flux Shop

Wednesday, February 29th, 2012

Last week I was in Umea, Sweden at the HumLab run by Patrik Svensson. I gave a paper on “Making theoretical things in the digital humanities.” While wandering around Umea I came across an amusing conceptual art shop –  Flux Shop – Erase the boundary between art and life. The shop is a front for an ad firm, but you can buy conceptual art and I ordered a work.