[my][home][toon]
previously known as [cold][wet][durham], [dirty][grimy][london],[busy][shiny][toon],[frantic][crowded][south]
Now viewing all posts in processing.org

Train + wifi + bored + guardian api + unix tools = ….

June 4th 2010

My finest ever one liner curl -q -o –  ”http://content.guardianapis.com/search?q=fish&format=xml&from-date=2010-01-01&to-date-2010-01-02&order=newest&page-size=50″ |xpath “/response/results/content/@section-name” | sed ‘s/section-name=\”//g’ | tr ‘”‘ ‘\n’ | sort |uniq -c | sort -r Or … In which sections of the guardian does the word “fish” appear, and how often in the first month of 2010 By stagings… curl -q -o –  ”http://content.guardianapis.com/search?q=penguin&format=xml&from-date=2010-01-01&to-date-2010-01-02&order=newest&page-size=50″ [...]

Read On 1 Comment

A processing bug?

June 8th 2008

So, whilst re-writing my my motion detector (which didn’t work in my previous post by the way – it only dected things which were black), I came across an odd bug in processing.org If you have two objects (one is my camera, the other is an image takes from the last frame), you cannot assign [...]

Read On 2 Comments