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″ [...]
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 [...]