<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pete Hindle &#187; Processing</title>
	<atom:link href="http://petehindle.com/tag/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://petehindle.com</link>
	<description>Pictures and stuff from a guy who likes coffee.</description>
	<lastBuildDate>Thu, 09 Feb 2012 00:33:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='petehindle.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Pete Hindle &#187; Processing</title>
		<link>http://petehindle.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://petehindle.com/osd.xml" title="Pete Hindle" />
	<atom:link rel='hub' href='http://petehindle.com/?pushpress=hub'/>
		<item>
		<title>Don&#8217;t talk to me about your fucking arduino*</title>
		<link>http://petehindle.com/2010/05/18/dont-talk-to-me-about-your-fucking-arduino/</link>
		<comments>http://petehindle.com/2010/05/18/dont-talk-to-me-about-your-fucking-arduino/#comments</comments>
		<pubDate>Tue, 18 May 2010 01:18:24 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[new media]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.petehindle.com/?p=732</guid>
		<description><![CDATA[I just realised that I&#8217;ve been living with new media technologies as the locum of &#8220;what I&#8217;m doing in the art world&#8221; for the past seven years. And that I&#8217;m totally sick of them. So I deleted 97 feeds from my RSS reader. What I&#8217;m bored of is people who don&#8217;t understand the difference between [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=732&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just realised that I&#8217;ve been living with new media technologies as the <a href="http://en.wikipedia.org/wiki/Locum">locum</a> of &#8220;what I&#8217;m doing in the art world&#8221; for the past seven years. And that I&#8217;m totally sick of them.</p>
<p>So I deleted 97 feeds from my RSS reader.</p>
<p>What I&#8217;m bored of is people who don&#8217;t understand the difference between an artistic impulse and a technical idea. They are not the same thing. I also don&#8217;t have any great wish to see a large swath of poorly-done art, which is the category that a large amount of new media work falls into. This means that I can rule out seeing artworks that are described by any of the words &#8220;gestural control&#8221;, &#8220;GPS&#8221;, &#8220;Processing&#8221;, or &#8220;arduino&#8221;. These are technical terms, and as we don&#8217;t describe second-rate schlock movies as being an amazing use of processed nitrate film stock, those technical terms should be stricken from the description of any artistic endeavour.</p>
<p>*Disclaimer: there are some people whom I will still listen to their discussion about the technical nitty-gritty.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/732/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/732/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/732/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=732&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2010/05/18/dont-talk-to-me-about-your-fucking-arduino/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>
	</item>
		<item>
		<title>MMX &#8211; The Start of the Post-Digital Decade</title>
		<link>http://petehindle.com/2010/01/09/mmx-the-start-of-the-post-digital-decade/</link>
		<comments>http://petehindle.com/2010/01/09/mmx-the-start-of-the-post-digital-decade/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 08:24:25 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Regular]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[artists]]></category>
		<category><![CDATA[decade]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[post-digital]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[timeline]]></category>
		<category><![CDATA[university]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.petehindle.com/?p=581</guid>
		<description><![CDATA[2010 and after are going to be about post-digital, by which I mean what comes after we&#8217;ve finished staring at our screens. We&#8217;re going to see an explosion in the amount of physical objects that would have been impossible without using digital process in the workflow, and objects that won&#8217;t work without a connection of some kind [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=581&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>2010 and after are going to be about post-digital, by which I mean what comes after we&#8217;ve finished staring at our screens. We&#8217;re going to see an explosion in the amount of physical objects that would have been impossible without using digital process in the workflow, and objects that won&#8217;t work without a connection of some kind to the internet.</p>
<p><a href="http://en.wikipedia.org/wiki/Bruce_Sterling">Spimes</a> and <a href="http://www.touchatag.com/">RFID</a> are only part of what I&#8217;m talking about here. <a href="http://www.lulu.com/">Short-run</a> publications, bespoke <a href="http://www.shapeways.com/">objects</a>, and even <a href="http://www.newcastlecraftmafia.com">distributed</a> <a href="http://www.folksy.com/">craft</a> <a href="http://www.etsy.com/">networks</a> are also part of this new post-digital boom. There are going to be a lot of interesting tools for artists and designers to explore in the next decade, as we move away from computers being the site of the art (on websites) to being tools that enable interesting things to happen.</p>
<p>With this in mind, I&#8217;ve got three predicition for what the post-digital will be about:</p>
<ol>
<li>It&#8217;s about fitting the digital into your workflow</li>
<li>It&#8217;s not venerating the things that are on our screens</li>
<li>It&#8217;s real-world hard work, and engaging with both hands</li>
</ol>
<p>With this in mind, I looked back at my last decade and I thought about how my use of computers changed over that time. Do you remember using computers in 2000? I had to wrack my brains a bit, but here&#8217;s a personal timeline of digital use:</p>
<p><strong>2000</strong> &#8211; Started Foundation course. Used <a href="http://en.wikipedia.org/wiki/Kai's_Power_Tools">Kai&#8217;s Power Tools</a> for the first time, made first video, got first real email address (by which I mean not a hotmail account)</p>
<p><strong>2001</strong> &#8211; First year of university. My first computer that was mine- a G3 desktop, zipdisks.</p>
<p><strong>2002 </strong>- New computer &#8211; G4 eMac with OSX! Lots of browsing at uni, then taking software updates home on disks. Became expert on <a href="http://en.wikipedia.org/wiki/TWAIN">TWAIN</a>, scanning, photoshop, and waiting for photoshop scanning to finish.</p>
<p><strong>2003</strong> &#8211; First external hard drive. Also brought Wacom tablet, midi keyboard (both mostly useless). Made videos, learnt non-linear editing software, wrote dissertation, stared out of the window a lot.</p>
<p><strong>2004 </strong>- First broadband connection. Brought Max/MSP, downloaded Processing (alpha!), went on <a href="http://ptechnic.org/puredata/index.html">PD course</a>. Still confused by all three &#8216;easy&#8217; languages. Got Gmail account and my first laptop &#8211; a G4 powerbook.</p>
<p><strong>2005</strong> &#8211; Overused first broadband connection. Made some digital installations, brought <a href="http://www.makingthings.com/teleo/">Teleo</a> card, got into electronics, nearly blew Teleo card up. Brought first iPod and <a href="http://arduino.cc">Arduino</a>.</p>
<p><strong>2006 </strong>- Social networking via <a href="http://flickr.com/photos/petehindle">Flickr</a>. Went on Arduino course in Barcelona with Massimo and David, gave up on Max/MSP and PD as patcher languages suck time, fun, and light from life.</p>
<p><strong>2007 -</strong> Joined Twitter and Facebook. Facebook annoying from start. Finally buy proper domain name and start running my own website. Run the Glowbikes project, using <a href="http://www.ladyada.net/make/spokepov/">SpokePOV&#8217;s</a> as part of an art installation.</p>
<p><strong>2008</strong> &#8211; Powerbook dies, replaced with MacBook. Attended geek conferences, wrote and taught two courses for wordpress, made serious effort to learn Processing (which is then forgotten) and brought iPhone.</p>
<p><strong>2009</strong> &#8211; Discovered international roaming charges. Erk. eBay&#8217;d and sold things on Amazon, wrote thematic blog posts, and interviewed serious hacker-types.</p>
<p><strong>2010 </strong>- <a href="http://www.flickr.com/photos/petehindle/4258963222/">Now</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/581/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=581&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2010/01/09/mmx-the-start-of-the-post-digital-decade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Tech V &#8211; Mostly Harmless</title>
		<link>http://petehindle.com/2009/05/27/basic-tech-v-mostly-harmless/</link>
		<comments>http://petehindle.com/2009/05/27/basic-tech-v-mostly-harmless/#comments</comments>
		<pubDate>Wed, 27 May 2009 16:51:53 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Regular]]></category>
		<category><![CDATA[basic tech]]></category>
		<category><![CDATA[basic techniques]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://unnamedlaboratory.org/blog/?p=151</guid>
		<description><![CDATA[The title of the fifth book in Douglas Adams&#8217; series, &#8220;Mostly Harmless&#8221;, comes from a fictional description of the earth as a civilisation. It’s a great pairing of words &#8211; the innocuous framed with a hint of threat. Isn’t that what the world of programming is like though? It’s ninety-five percent unthreatening typing activities, with a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=394&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The title of the fifth book in Douglas Adams&#8217; series, &#8220;Mostly Harmless&#8221;, comes from a fictional description of the earth as a civilisation. It’s a great pairing of words &#8211; the innocuous framed with a hint of threat.</p>
<div class="wp-caption alignnone" style="width: 495px"><a href="http://www.wired.com/wired/archive/8.12/soul.html"><img title="Eagle" src="http://www.cs.clemson.edu/~mark/330/kidder/mv8000.jpg" alt="The Soul of a New Machine" width="440" height="360" /></a><p class="wp-caption-text">Above: The Soul of a New Machine</p></div>
<p>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 &#8211; 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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/394/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=394&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/05/27/basic-tech-v-mostly-harmless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>

		<media:content url="http://www.cs.clemson.edu/~mark/330/kidder/mv8000.jpg" medium="image">
			<media:title type="html">Eagle</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Tech IV &#8211; So Long, and Thanks for All the String[]</title>
		<link>http://petehindle.com/2009/05/27/basic-tech-iv-so-long-and-thanks-for-all-the-string/</link>
		<comments>http://petehindle.com/2009/05/27/basic-tech-iv-so-long-and-thanks-for-all-the-string/#comments</comments>
		<pubDate>Wed, 27 May 2009 00:44:55 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Newcastle]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[basic tech]]></category>
		<category><![CDATA[basic techniques]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[drawings]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[sketches]]></category>

		<guid isPermaLink="false">http://unnamedlaboratory.org/blog/?p=145</guid>
		<description><![CDATA[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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=393&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday was <a href="http://towelday.org">Towel Day</a>, 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.</p>
<p><span id="more-393"></span></p>
<p>In this post I’ll be talking about the specific programming decisions and techniques I used. But don’t don’t get too excited &#8211; I’m pretty sure that the techniques I used are either hack jobs or very low-complexity stuff. My original idea was to create a program that read words and then sorted them. This is a very simple idea and does not have a great deal to explain; I wished to make the computer do the hard work of counting for me, rather than me doing the hard work for computers, as actually turned out in this module.</p>
<p>As the stated aim for the project was to read from a text file I assumed that the best way of doing this was to break apart the text and load it into a string array. One of the first big mistakes I made in this area was to assume that the string array would be a two-dimensional array &#8211; after all, I was counting lots of different things, rather than making something like a time-graph for one thing. Right?</p>
<p>No. A 2D array was far too complex for me, and didn’t actually do what I needed. If a regular (one-dimensional) array has storage for an item at each defined point, a 2D array has a list of arrays, each with storage at a defined point. That storage can be used for one defined type of data, like integers, floats, or strings. As I was determined to count specific words that I had chosen, the idea of a 2D array was overkill. Not only that, but the method I was using to break up the text and read it wasn’t really compatible.</p>
<p>Another big error was wandering into regular expression-land with a dazed look on my face. Perhaps if my project was more technically acute, there might have been some call for the use of regular expressions, but as the code was merely sifting through an array of strings it was much better to do a straight comparison using relational operators. In the current level of code I have been using an ‘if’ statement with a ‘directly equals’ (==) comparison.</p>
<p>I was convinced for a long time that regex was what I should be doing, but the documentation for regex is so dense and tough that I think you have to have some sort of special programming gene to be able to get your head round it. Every time I looked at it I found all of it so dense and unwieldy that I couldn’t get into it, and I found that the examples it came with were not something that really matched up with what Processing could use. The few times I did have success with regex and Processing were using the match() command, which seemed to behave in a way that I didn’t expect, although on closer reading of the documentation it was nearly as it said on the tin.</p>
<p>Moving onto discussion the actual production of a graphical output, this was something I started working on first. My working practice with Processing might not have been the most methodical, but I find that when I get stuck working on something within Processing I tend to pop open a new window and then start chewing on it in a separate bit of code. Pretty soon I have enormous amounts of windows open in Processing and I can’t remember what I was doing with half of them.</p>
<p><a href="http://petehindle.files.wordpress.com/2009/05/id-rather-be-anywhere-else-but-here.png"><img class="aligncenter size-large wp-image-146" title="id-rather-be-anywhere-else-but-here" src="http://unnamedlaboratory.org/blog/wp-content/uploads/2009/05/id-rather-be-anywhere-else-but-here-1024x640.png" alt="id-rather-be-anywhere-else-but-here" width="753" height="470" /></a></p>
<p>See what I mean?</p>
<p>For the graphical output I started working on modular blocks of code that I could call from elsewhere in the program. This approach mostly worked, but when I started compiling code together in one big bloc (what I’ve saved as version 3 in the repository of code) I found the way I had of fading in and out the text caused some sort of massive slowdown in the program.</p>
<p>After much experimenting the cause was not the fact that the text was fading in, but the fact that I had two different PFont’s being called, one inside a function, and one inside the main setup. Debugging this problem was pretty much the only time I felt successful at solving a problem during the entire run of the module, and after changing the way the typefont call worked the program was back up to speed.</p>
<p>Finally, after much unsuccessful toil and experimentation with what amounted to The Wrong Stuff, I ended up with a program that could count through a text and produce a small graph whilst doing so, and then output a text file that contained the ‘count’ of all the words searched for. This program, whilst technically fulfilling the brief I wrote for myself, is still a long way away from what I would like. For instance, the idea of changing the words searched for or the text would involve the user diving into the code and being prepared to edit it. This is not the ideal usage for most people, but as the code is written for a target audience of one (myself) I think I can handle it.</p>
<p>I have also not prepared a sketch to show what can be done with the output of the program as yet, despite making some mock-ups.  Here, however, is the original sketches from my notebook about the depiction of the program:</p>
<p><a href="http://petehindle.files.wordpress.com/2009/05/img_7689.jpg"><img class="aligncenter size-large wp-image-147" title="code sketch" src="http://unnamedlaboratory.org/blog/wp-content/uploads/2009/05/img_7689-1024x768.jpg" alt="code sketch" width="716" height="537" /></a></p>
<p>At some point in my research I experimented with using Apple’s Automator program to collate and collect text files from a specific directory. I was less than successful with this, and the results of the script actually ended up meaning I had to restart my machine. However, in the spirit of completeness, I am including those results along with my other code in this blog post.</p>
<p>Applescript application (OS X Only): <a href="http://www.petehindle.com/wp-content/uploads/2009/05/basic-text-scan.zip">basic-text-scan</a></p>
<p><a href="http://dm.ncl.ac.uk/petehindle/basic_tech/basic_tech/">Online repository of Processing Sketches for this project</a></p>
<p>ADDENDUM: Production list of Processing Sketches, in reverse order:</p>
<p>Buttons_test<br />
Buttons_test-090428a.zip<br />
I_dont_understand_match<br />
basic_tech2<br />
experimental_envisioning<br />
fake_values<br />
fake_values_2<br />
match_test<br />
orange_text_example<br />
orange_text_example-090428a.zip<br />
orange_text_test<br />
orange_text_test.zip<br />
printreader_again<br />
printreader_again-090428a.zip<br />
roma<br />
roma_two<br />
slight_succes2<br />
slight_success<br />
version_1<br />
version_2<br />
version_3<br />
word_lines<br />
basic_tech/.DS_Store<br />
basic_tech2.pde<br />
basic_tech/basic_tech2/basic_tech2.pde<br />
Buttons_test.pde<br />
conjoining_list.pde<br />
data<br />
basic_tech/Buttons_test/.DS_Store<br />
basic_tech/Buttons_test/Buttons_test.pde<br />
basic_tech/Buttons_test/conjoining_list.pde<br />
Serif-200.vlw<br />
basic_tech/Buttons_test/data/Serif-200.vlw<br />
basic_tech/Buttons_test-090428a.zip<br />
experimental_envisioning.pde<br />
basic_tech/experimental_envisioning/experimental_envisioning.pde<br />
conjoining_list.pde<br />
fake_values.pde<br />
basic_tech/fake_values/conjoining_list.pde<br />
basic_tech/fake_values/fake_values.pde<br />
applet<br />
fake_values_2-090502a.zip<br />
fake_values_2-090502b.zip<br />
fake_values_2.pde<br />
basic_tech/fake_values_2/.DS_Store<br />
fake_values_2.jar<br />
fake_values_2.java<br />
fake_values_2.pde<br />
index.html<br />
loading.gif<br />
basic_tech/fake_values_2/applet/fake_values_2.jar<br />
basic_tech/fake_values_2/applet/fake_values_2.java<br />
basic_tech/fake_values_2/applet/fake_values_2.pde<br />
basic_tech/fake_values_2/applet/index.html<br />
basic_tech/fake_values_2/applet/loading.gif<br />
basic_tech/fake_values_2/fake_values_2-090502a.zip<br />
basic_tech/fake_values_2/fake_values_2-090502b.zip<br />
basic_tech/fake_values_2/fake_values_2.pde<br />
I_dont_understand_match.pde<br />
basic_tech/I_dont_understand_match/I_dont_understand_match.pde<br />
match_test.pde<br />
basic_tech/match_test/match_test.pde<br />
data<br />
orange_text_example.pde<br />
basic_tech/orange_text_example/.DS_Store<br />
Georgia-Bold-16.vlw<br />
basic_tech/orange_text_example/data/Georgia-Bold-16.vlw<br />
basic_tech/orange_text_example/orange_text_example.pde<br />
basic_tech/orange_text_example-090428a.zip<br />
conjoining_list.pde<br />
data<br />
orange_text_test<br />
orange_text_test-090513a.zip<br />
orange_text_test-090525a.zip<br />
orange_text_test.pde<br />
positions.txt<br />
basic_tech/orange_text_test/.DS_Store<br />
basic_tech/orange_text_test/conjoining_list.pde<br />
Georgia-Bold-16.vlw<br />
it.txt<br />
terribletest.txt<br />
basic_tech/orange_text_test/data/Georgia-Bold-16.vlw<br />
basic_tech/orange_text_test/data/it.txt<br />
basic_tech/orange_text_test/data/terribletest.txt<br />
conjoining_list.pde<br />
data<br />
orange_text_test.pde<br />
basic_tech/orange_text_test/orange_text_test/.DS_Store<br />
basic_tech/orange_text_test/orange_text_test/conjoining_list.pde<br />
Georgia-Bold-16.vlw<br />
it.txt<br />
basic_tech/orange_text_test/orange_text_test/data/Georgia-Bold-16.vlw<br />
basic_tech/orange_text_test/orange_text_test/data/it.txt<br />
basic_tech/orange_text_test/orange_text_test/orange_text_test.pde<br />
basic_tech/orange_text_test/orange_text_test-090513a.zip<br />
basic_tech/orange_text_test/orange_text_test-090525a.zip<br />
basic_tech/orange_text_test/orange_text_test.pde<br />
basic_tech/orange_text_test/positions.txt<br />
basic_tech/orange_text_test.zip<br />
data<br />
positions.rtf<br />
positions.txt<br />
printreader_again.pde<br />
positions.txt<br />
basic_tech/printreader_again/data/positions.txt<br />
basic_tech/printreader_again/positions.rtf<br />
basic_tech/printreader_again/positions.txt<br />
basic_tech/printreader_again/printreader_again.pde<br />
basic_tech/printreader_again-090428a.zip<br />
roma_movie<br />
roma_movie.pde<br />
basic_tech/roma/roma_movie/roma_movie.pde<br />
roma_two.pde<br />
basic_tech/roma_two/roma_two.pde<br />
slight_succes2.pde<br />
basic_tech/slight_succes2/slight_succes2.pde<br />
slight_success.pde<br />
basic_tech/slight_success/slight_success.pde<br />
version_1-090422a.zip<br />
version_1.pde<br />
basic_tech/version_1/version_1-090422a.zip<br />
basic_tech/version_1/version_1.pde<br />
button_class.pde<br />
conjoining_list.pde<br />
data<br />
version_2.pde<br />
basic_tech/version_2/.DS_Store<br />
basic_tech/version_2/button_class.pde<br />
basic_tech/version_2/conjoining_list.pde<br />
basic_tech/version_2/version_2.pde<br />
button_class.pde<br />
conjoining_list.pde<br />
data<br />
version_3.pde<br />
basic_tech/version_3/button_class.pde<br />
basic_tech/version_3/conjoining_list.pde<br />
basic_tech/version_3/version_3.pde<br />
conjoining_list.pde<br />
word_lines.pde<br />
basic_tech/word_lines/conjoining_list.pde<br />
basic_tech/word_lines/word_lines.pde</p>
<p>This list was outputted using the command &#8220;find basic_tech -exec ls  {} ; | open -tf&#8221; in the OS X Terminal.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/393/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=393&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/05/27/basic-tech-iv-so-long-and-thanks-for-all-the-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>

		<media:content url="http://unnamedlaboratory.org/blog/wp-content/uploads/2009/05/id-rather-be-anywhere-else-but-here-1024x640.png" medium="image">
			<media:title type="html">id-rather-be-anywhere-else-but-here</media:title>
		</media:content>

		<media:content url="http://unnamedlaboratory.org/blog/wp-content/uploads/2009/05/img_7689-1024x768.jpg" medium="image">
			<media:title type="html">code sketch</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Tech III &#8211; Life, NCL.AC.UK and Everything</title>
		<link>http://petehindle.com/2009/05/25/basic-tech-iii-life-nclacuk-and-everything/</link>
		<comments>http://petehindle.com/2009/05/25/basic-tech-iii-life-nclacuk-and-everything/#comments</comments>
		<pubDate>Mon, 25 May 2009 03:52:02 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Newcastle]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[basic techniques]]></category>
		<category><![CDATA[dms8002]]></category>
		<category><![CDATA[lev manovich]]></category>
		<category><![CDATA[manovich]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://unnamedlaboratory.org/blog/?p=142</guid>
		<description><![CDATA[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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=142&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I realised today that I could have titled this “Life, the University, and Everything”, which would have worked a lot better. Hey ho.</p>
<p>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?</p>
<p>I know: we’ll talk about Lev Manovich.</p>
<p>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.</p>
<p>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).</p>
<p>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.</p>
<p>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.</p>
<p>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”.</p>
<p>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.</p>
<p>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.</p>
<p>Having said that, I’m now ready to share my own set of quantitative tools. Be aware that this is a rough and ready &#8211; but working &#8211; 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.</p>
<p><a href="http://www.petehindle.com/wp-content/uploads/2009/05/orange_text_test.zip">orange_text_test</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=142&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/05/25/basic-tech-iii-life-nclacuk-and-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>
	</item>
		<item>
		<title>Old Video, New Post</title>
		<link>http://petehindle.com/2009/05/25/old-video-new-post/</link>
		<comments>http://petehindle.com/2009/05/25/old-video-new-post/#comments</comments>
		<pubDate>Mon, 25 May 2009 00:00:21 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[Regular]]></category>
		<category><![CDATA[everything's gone green]]></category>
		<category><![CDATA[mum]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.petehindle.com/?p=219</guid>
		<description><![CDATA[http://vimeo.com/moogaloop.swf?clip_id=2720282&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=0&#038;show_portrait=0&#038;color=c9ff23&#038;fullscreen=1 I&#8217;m putting this up because my mum told me she liked it. Thanks! It&#8217;s a video made with the programming language Processing, inspired by the work of Douglas Coupland.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=219&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://vimeo.com/moogaloop.swf?clip_id=2720282&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=0&#038;show_portrait=0&#038;color=c9ff23&#038;fullscreen=1">http://vimeo.com/moogaloop.swf?clip_id=2720282&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=0&#038;show_portrait=0&#038;color=c9ff23&#038;fullscreen=1</a></p>
<p>I&#8217;m putting this up because my mum told me she liked it. Thanks! It&#8217;s a video made with the programming language Processing, inspired by the work of Douglas Coupland.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=219&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/05/25/old-video-new-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Tech I &#8211; (The Hitchhikers Guide to Regex)</title>
		<link>http://petehindle.com/2009/05/22/basic-tech-i-the-hitchhikers-guide-to-regex/</link>
		<comments>http://petehindle.com/2009/05/22/basic-tech-i-the-hitchhikers-guide-to-regex/#comments</comments>
		<pubDate>Fri, 22 May 2009 01:17:57 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[Coursework]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[dms8002]]></category>
		<category><![CDATA[floats]]></category>
		<category><![CDATA[infovis]]></category>

		<guid isPermaLink="false">http://unnamedlaboratory.org/blog/?p=132</guid>
		<description><![CDATA[The current state of my Basic Techniques project is this: It doesn’t work. However, this is a defeatist attitude. Not quite as defeatist as I’ve been considering (it doesn’t work, I’m never going to understand regex, and I’m going to stop bothering with programming being the other considered viewpoint). On the other hand, sometimes the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=387&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The current state of my Basic Techniques project is this:</p>
<p>It doesn’t work.</p>
<p>However, this is a defeatist attitude. Not quite as defeatist as I’ve been considering (it doesn’t work, I’m never going to understand regex, and I’m going to stop bothering with programming being the other considered viewpoint).</p>
<p>On the other hand, sometimes the ways that it doesn’t work make no sense to me. For instance, one piece of code I wrote matched the string being read to a specific string, and incremented a counter once using the ‘++’ function. Except that it didn’t, it decided to increment the counter 559 times, and then it decided that all the words I was looking for were all there, 559 times.</p>
<p>Back to the drawing board from that code then. I really thought that loop was going to work as well; it had all the indications of when and where, as it cycled through the newly created string array that contained the compartmentalised (granulised?) longer string.</p>
<p>Then, when that failed I was back at regex. And I now hate regex deeply and purely, for being such a dense science that needs introduction. A big ‘thanks’ to everybody who pointed me at the same damn impenetrable tutorial. I sort of wish I’d chosen to do a project with Arduino controlled rockets instead, because whilst rocket science might have a reputation for being hard it never involves typing a string of impenetrable characters into a search box and hoping against hope that this would be the last leap. (http://www.youtube.com/watch?v=1XBwWAu2a5U)</p>
<p>Even the more seasoned programmers threw some askance glances at my code when they saw the way that splitTokens() works &#8211; ie, you throw all the tokens you want to use to split up the text together in a big line. For me, this was the lump of code  &#8221; ,.?!;: &#8220;, which I’d inherited from Daniel Shiffman’s example code in “Learning Processing”. This actually made a lot more sense to me than the output of match().</p>
<p>According to it’s documentation, Match() outputs an array if the sequence searched for matches what is in the inputted string. It outputs a an array “if the sequence did match, an array is returned. If there are groups (specified by sets of parentheses) in the regexp, then the contents of each will be returned in the array. Element [0] of a regexp match returns the entire matching string, and the match groups start at element [1] (the first group is [1], the second [2], and so on).”</p>
<p>Okay: first problem. Putting parentheses in doesn’t make it work with multiple choices. I guess we can swap over to matchAll() for that, but without multiple parentheses and therefore multiple choices, what point is the items returned as an array? It could, surely, be a yes/no answer? In fact, it returns an array which flummoxed me for several days as I realised that no matter what I put into the string as input, it always returned the same value. Two.</p>
<p>Searching for the word ‘will’ in the phrase &#8220;Inside will a tag, you will find will will content&#8221; will only ever return the value of two. Or rather, the value of ‘yes’ transmuted into ‘two’ by way of the length of an array, which is an entirely erroneous way of doing it. Almost as erroneous as the previous way of counting through the text as a string and looking at each individual part and then counting them (again, erroneously &#8211; to the tune of 559). Balls.</p>
<p>In my presentation &#8211; which I guess I’ll be covering in Basic Tech II (The Poptart at the End of the Universe) &#8211; I was told by Atau that I was only a half step away from solving a few of the problems. Maybe. I can see a functioning end to this problem, just not from here. Should I use the match function and the logic structure that I’ve been working on? There’s no guarantee that the logic structure will even work (559!) Five-five-nine! My least best guess is that my Macbook wants to emigrate to the People’s Republic of China and move to computing division 559.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=387&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/05/22/basic-tech-i-the-hitchhikers-guide-to-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Displays with Processing</title>
		<link>http://petehindle.com/2009/05/02/creating-displays-with-processing/</link>
		<comments>http://petehindle.com/2009/05/02/creating-displays-with-processing/#comments</comments>
		<pubDate>Sat, 02 May 2009 18:14:47 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[Coursework]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[dms8002]]></category>
		<category><![CDATA[floats]]></category>
		<category><![CDATA[infovis]]></category>

		<guid isPermaLink="false">http://unnamedlaboratory.org/blog/?p=117</guid>
		<description><![CDATA[Again, this blog post is part of my basic techniques module, so you might not find this thrilling&#8230; casual readers might want to skip this blog post and come back later. As part of my basic techniques module I wanted to work on something quite simple. I&#8217;ve broken it down into lots of smaller chunks, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=117&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Again, this blog post is part of my basic techniques module, so you might not find this thrilling&#8230; casual readers might want to skip this blog post and come back later.</em></p>
<p>As part of my basic techniques module I wanted to work on something quite simple. I&#8217;ve broken it down into lots of smaller chunks, and this chunk that I&#8217;ve been working on refers to how you would move the data gathered from counting words within a text to a graphical display.</p>
<p><a href="http://www.unnamedlaboratory.org/processingsketches/fake_values_2/applet/index.html"><img class="alignleft size-thumbnail wp-image-119" title="fake_values" src="http://petehindle.files.wordpress.com/2009/05/fake_values.png?w=170&#038;h=188" alt="fake_values" width="170" height="188" /></a></p>
<p>Here I&#8217;ve used a ellipse to represent a number between zero and three-hundred and sixty. The finished project won&#8217;t have that sort of word limit, and the use of an ellipse would not be a good design feature, but for the purposes of this sketch it works pretty well. Some of the important parts are that the sketch communicates the values from inside a for loop (which, in the final project, will count through the words of the document as an array), it uses rollover style data display, and it has a selection of choices from which you can pick to display different data.</p>
<p>Obviously, this is a mock-up in several different ways, and the data doesn&#8217;t actually mean anything &#8211; it&#8217;s more an experiment to see the data and see how it would be crafted in Processing. Some things that I&#8217;m not happy with are the immense amount of code that it takes to do the rollover affect (should that be a class by itself?) and the placement of the text above the smaller arcs. I also think that the actually main display could be better, by rounding off the value to a straight int rather than a four-point decimal.</p>
<p>Click on the image above to see the sketch in action and to download the source code.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=117&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/05/02/creating-displays-with-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>

		<media:content url="http://petehindle.files.wordpress.com/2009/05/fake_values.png" medium="image">
			<media:title type="html">fake_values</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Techniques Blogpost</title>
		<link>http://petehindle.com/2009/04/28/basic-techniques-blogpost/</link>
		<comments>http://petehindle.com/2009/04/28/basic-techniques-blogpost/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 18:57:29 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[basic techniques]]></category>
		<category><![CDATA[Coursework]]></category>
		<category><![CDATA[infovis]]></category>

		<guid isPermaLink="false">http://unnamedlaboratory.org/blog/?p=109</guid>
		<description><![CDATA[As part of my coursework, I&#8217;m creating a text analysis tool. The coursework also states that blog posts are part of the working progress. Therefore, if you&#8217;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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=382&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>As part of my coursework, I&#8217;m creating a text analysis tool. The coursework also states that blog posts are part of the working progress. Therefore, if you&#8217;re not on my course or working with Processing in some form, I doubt the post would be interesting to you. </em></p>
<p>What is the best way of storing a number next to a word?</p>
<p><a href="http://petehindle.files.wordpress.com/2009/04/button_test.png"><img class="alignleft size-medium wp-image-112" title="button_test" src="http://unnamedlaboratory.org/blog/wp-content/uploads/2009/04/button_test-300x186.png" alt="button_test" width="300" height="186" /></a></p>
<p>I want to scan through a document and look for specfic words. I&#8217;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.</p>
<p>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&#8230;<br />
<span id="more-382"></span><br />
word searched for     count<br />
(and) (one)<br />
(if)    (six)<br />
(or)    (two)&#8230;</p>
<p>etc</p>
<p>I was actually creating a grid like so&#8230;</p>
<p>1 2 3 4 5 6 7 8 9 (number of words in conjoiner)<br />
0 0 0 0 0 0 0 0 0 (first thing)<br />
1 1 1 1 1 1 1 1 1  (second thing)</p>
<p>I&#8217;m still not at the stage where I&#8217;m understanding what is completely going on, but after a brief chat with Tom Schofield, whose project is doing much the same thing as mine (but perhaps more complicated) he pointed me to some examples in the Orange processing book.</p>
<p>Still not quite getting it to match though. Will have to work on that.</p>
<p>One of the things that I&#8217;m worried here is that I&#8217;m not getting enough room to play. I&#8217;ve come into the project with a defined outcome already, and that means that there is very little exploration. In some ways that is a good thing; I don&#8217;t end up messing around with for loops again, but in other ways it&#8217;s bad as I don&#8217;t get to, say, spend time creating a lovely fading display of all the words in the &#8220;pieces&#8221; array.</p>
<p>On the other hand, the side project with the buttons has made some forward progress. Using the same void bigtext() that I&#8217;ve written for the main project, I&#8217;ve linked the program together in a way that allows the buttons to change colour. So far, so plain&#8230; but! I&#8217;ve also solved the horrible slow text problem.</p>
<p>You see, I had two different types of text font, and I think that was slowing down the program immensely. I might do some tests to work out if this is so, but if it is the case, I might use a png file to generate the larger text wanted for the project, and fade that in and out using transparency.</p>
<p><a href="http://www.petehindle.com/wp-content/uploads/2009/04/orange_text_example-090428a.zip">orange_text_example-090428a</a></p>
<p><a href="http://www.petehindle.com/wp-content/uploads/2009/04/buttons_test-090428a.zip">buttons_test-090428a</a></p>
<p><a href="http://www.petehindle.com/wp-content/uploads/2009/04/printreader_again-090428a.zip">printreader_again-090428a</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=382&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/04/28/basic-techniques-blogpost/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>

		<media:content url="http://unnamedlaboratory.org/blog/wp-content/uploads/2009/04/button_test-300x186.png" medium="image">
			<media:title type="html">button_test</media:title>
		</media:content>
	</item>
		<item>
		<title>Let a Thousand James Hugonin Paintings Bloom</title>
		<link>http://petehindle.com/2009/03/09/let-a-thousand-james-hugonin-paintings-bloom/</link>
		<comments>http://petehindle.com/2009/03/09/let-a-thousand-james-hugonin-paintings-bloom/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 16:54:11 +0000</pubDate>
		<dc:creator>Pete Hindle</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[Coursework]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[painting]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://unnamedlaboratory.org/blog/?p=75</guid>
		<description><![CDATA[http://vimeo.com/moogaloop.swf?clip_id=3539565&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=0&#038;show_portrait=0&#038;color=c9ff23&#038;fullscreen=1 James Hugonin is an artist who lives in Northumbria, and makes paintings that reflect his surroundings by taking the predominant colour for each day and painting a square in that colour. This is very procedural art, and therefore it lends itself very well to make a computer program that does the same thing. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=365&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://vimeo.com/moogaloop.swf?clip_id=3539565&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=0&#038;show_portrait=0&#038;color=c9ff23&#038;fullscreen=1">http://vimeo.com/moogaloop.swf?clip_id=3539565&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=0&#038;show_portrait=0&#038;color=c9ff23&#038;fullscreen=1</a></p>
<p>James Hugonin is an artist who lives in Northumbria, and makes paintings that reflect his surroundings by taking the predominant colour for each day and painting a square in that colour. This is very procedural art, and therefore it lends itself very well to make a computer program that does the same thing.</p>
<p>This would probably annoy the bejesus out of Hugonin. Sadly, this is not my concern, as this is another exercise set my Jamie Allan, my tutor. Obviously, if you&#8217;ve seen my last piece of work for him, you might be getting concerned that Jamie is actually running some form of art world Project Mayhem, and that all graduates of the DM course will be changing their name to Bob soon. This is probably not the case.</p>
<p>I am Pete&#8217;s complete lack of surprise.</p>
<p>If you&#8217;re going to procedurally fake something, why just fake one? Therefore I set the program to stop cranking out fakes at a thousand. The colour&#8217;s a bit off, as if Hugonin had suddenly found his Northumbrian idle surrounded by flesh tones, but it holds together. The video ends up being 8.20 long, with two &#8220;paintings&#8221; every second.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/petehindle.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/petehindle.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/petehindle.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/petehindle.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/petehindle.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/petehindle.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/petehindle.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/petehindle.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/petehindle.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/petehindle.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/petehindle.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/petehindle.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/petehindle.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/petehindle.wordpress.com/365/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=petehindle.com&amp;blog=16112868&amp;post=365&amp;subd=petehindle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://petehindle.com/2009/03/09/let-a-thousand-james-hugonin-paintings-bloom/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/37beb220f69cd10ecc76afad2c898467?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">petehindle</media:title>
		</media:content>
	</item>
	</channel>
</rss>
