Pete Hindle

Pictures and stuff from a guy who likes coffee.

Tag: basic techniques

Basic Tech V – Mostly Harmless

The title of the fifth book in Douglas Adams’ series, “Mostly Harmless”, comes from a fictional description of the earth as a civilisation. It’s a great pairing of words – the innocuous framed with a hint of threat.

The Soul of a New Machine

Above: The Soul of a New Machine

Isn’t that what the world of programming is like though? It’s ninety-five percent unthreatening typing activities, with a final five percent of 1970’s punk behaviour. And I mean really punk – it could be anything from low-level annoyance to core-wars style worms that destroy all information. This makes programming mostly harmless, just like the pipe-wrench is mostly not deadly.

For me, the work on this project has been really slow going, and I’ve found it very long and arduous to work with the code in this fashion. One of the earlier references in this series of posts was the book Snow Crash by Neal Stephenson, where the major characters are confronted with a spreading virus that destroys the ability for people to speak, transfers a religious belief system into their mind, and makes them run off to join a weird cult. This gets referred to by one of the characters as neuro-lingustic hacking.

This project’s aim has been about using computer tools to examine my pattern of lingustic use. The resulting experimentation with code has convinced me that, in no small way, I should be concentrating on actually making bodies of text rather than dividing my time between attempting to code and and attempting to write. The idea of a reflective tool for text is still a fantastic idea that needs further experimentation, but I’m not sure that I can do it justice between my skill in programming and my desire to create well-crafted sentences.

To that extent, this module has been mostly harmless to me. I’m no longer interested in programming in the way that I was prior to starting it, but I’m not going to rule out the idea of finishing off this project (see the Evaulation PDF) later on in the year. But I can’t breathe true life into the project in the way that a good programmer can. The MV/8000, pictured at the top of this post, was made famous by Tracey Kidder in his Pulitzer Prize winning novel, Soul of a New Machine.

This book, so-titled because of the attention to detail that the dedicated team of engineers and programmers put into this early computer breathed life into a hard-pushed project, is a clear line of demarkation between between writing as an activity and programming. In-house documents from the producers of the MV/8000 (aka the Eagle) are nowhere near as exciting as Kidder’s prose, and would not have propelled either the Eagle, Kidder, or the cast of characters Kidder wrote about to anywhere near the level of fame and notoriety they still had twenty years later.

There will always be a need for textual framing of events, objects, and movements. In the next phase of my studies, I’ll be looking at the Star and Shadow’s volunteer workers, and framing that within a context of grass-roots arts activities, whilst working on the final project for the course. Both of these will projects will take the form of texts that can be read, so there’s good call for me to concentrate on something other than code. And, whilst one of my main aims when coming on the course was to develop my skills as a coder, finding out over the length of this module that I need to direct my energies into something else has been mostly harmless.

Basic Tech IV – So Long, and Thanks for All the String[]

Yesterday was Towel Day, which is an unofficial holiday to mark the anniversary of the death of Douglas Adams. I had no idea when I started writing these blog posts that there was such a thing, and it’s not why I chose to title them after the novels in Adams’ Hitchhiker series. But it is serendipitous.

Read on if you’re looking for uninspiring coursework posts…

Basic Tech III – Life, NCL.AC.UK and Everything

I realised today that I could have titled this “Life, the University, and Everything”, which would have worked a lot better. Hey ho.

The grandiose title of this piece could be read as a sign that I’m going to write about things other than relevant to the course. In general, I’m going to steer clear of that sort of approach in this piece of text. I am slightly tempted to do a cross-comparative chart of my mental state versus the deadline of this module, but the time for that sort of navel-gazing isn’t now, and this isn’t really the place. So, what to do with such a grandiose title?

I know: we’ll talk about Lev Manovich.

Manovich is famous for putting together two things. First, his book, the Language of New Media, which was an early foray into series notions about the academic reception of New Media artworks. It’s aligning of the concepts behind computing as being analogous to early cinema was a masterstroke of metaphor, allowing humanities departments the world over to finally get their head around the fact that yes, really, we are going to be using these computer things for artistic purposes and we better get used to it.

The other thing that Manovich is famous for is his de/reconstructed film software “Soft Cinema”, which puts into practice the more theoretical notions that he talks about in his book. This work was, in fact, shown in the Baltic at an early stage in it’s gestation, where I walked in and then promptly walked out again (having a very low tolerance for the sort of abstract narrative found in most art films).

But these are not the features of Manovich’s practice that I’m going to discuss here. In his recent work, Manovich has looked at the way that society is pressurising all information onto a digital plane, and concluded that as more raw data is available in this form, it is the practice of data-mining that will become valuable. This is a conclusion actually being reached independently in several different structures at the same time, by researchers working in different fields.

This polyphyletic idea is ideally suited to Manovich’s position as somebody who can talk about the practice of art and computers in a way that those working in other fields can’t. For instance, whilst both Martin Wattenburg and Ben Fry are creating, promoting, and even working as artists in these fields, they still do not have the necessary academic chutzpah to propel the idea under discussion out of the ballpark. They are, essentially, knocking the idea around between a few like-minded friends.

Franco Moretti is not a like-minded friend, nor is he particularly interested in what we would term “New Media” (from what I can make out, which should be regarded as limited). However, what he is interested in, as a leading left-wing literary critic, is a method of understanding texts. And, as Manovich would point out, these texts are merely data awaiting transmutation into a computerised form. Therefore, coming to the point and the birth of yet another instance of our polyphyletic idea, Moretti suggests the use of quantitative data analysis for literature in his book “Graphs, Maps, Trees”.

I find the fact that infovisualization is being suggested as a research tool in the humanities as particularly interesting, and when I attended a recent afterparty for a Newcastle University conference on Crime Fiction I had a chance to quiz those doing stylistic analysis of texts in other fields. It was regarded as impossible that a visual program could be analysed by a computer (not so, either by using jit.cv or by web services such as Mechanical Turk). But I’m not sure that these people were participating in leading edge research, and besides, I was being plied with mohitios at the time.

The final point of this is, however, that there will be an expanding bubble of interest around these themes of data-mining and the humanities, and that Newcastle University already has some projects and researchers that are interested in this field (by which I am not referring to myself, but rather people working within the English department whom I’ve met very briefly). There needs to be a way of gathering the tools, or creating accessible tools for these researchers, and as soon as possible, so that Moretti’s idea of quantitative tools for qualitative purposes can become a reality.

Having said that, I’m now ready to share my own set of quantitative tools. Be aware that this is a rough and ready – but working – version, and merely produces a small line-graph and a text files that counts specific words. In the next section of this (essay? Series of blog posts?) I’ll discuss the road not taken, by which I mean the false starts and horrific crushing disappointments of working in code.

orange_text_test

Basic Techniques Blogpost

As part of my coursework, I’m creating a text analysis tool. The coursework also states that blog posts are part of the working progress. Therefore, if you’re not on my course or working with Processing in some form, I doubt the post would be interesting to you.

What is the best way of storing a number next to a word?

button_test

I want to scan through a document and look for specfic words. I’ve stored the words in a string array. I thought that the best way to deal with the storage of the words would be to create a two dimensional array and store the words in the first array, and the amount of the word searched for in the second array.

This is not so good, actually, because I made a fatal misunderstanding about two dimensional arrays. The first array is more like an index, so where I thought I was creating…
Read the rest of this entry »