Friday 26th June, 2015
Show and Tell 13
We had 6 of us in the office for Show and Tell 13.
We kicked off with a continuation of the discussion about Daniel Dennett from Show and Tell 12. This renewed my interest in learning more about his work, but I’m yet to do anything about it.
I briefly demonstrated Google Photos. I took a couple of photos of a little sailing boat on the Thames last night and Google Photos had automatically turned them into a little animated gif which I was able to show. I particularly like the fact that Google Photos sits on top of Google Drive, and that just by uploading photos to Drive, I get these automated creations for free.
Extracting ID3 tags
I talked through a little script I created to automatically scan a directory for new MP3s and extract the ID3 tags. I started out using FileWatcher but had to look for alternatives when I ran into problems with partially copied files. I investigated a couple of alternatives before settling on a simple loop that runs every 30 seconds. I avoid extracting data from MP3s I’ve already seen by comparing a hash of the file to a cache of hashes I’ve already seen. Paul B mentioned that the hash generation was probably quite expensive and that it might be good enough to store information about the file metadata (e.g. last modified) to make things slightly more efficient. James M mentioned fswatch as a potentially more robust version of FileWatcher, and md5deep as a potentially more efficient way of generating the file hashes.
Layout on the web
I think it was the demonstration of Google Photos that kicked off some discussion about grid layouts on the web. Ben G mentioned The Grid as something that claims to take the pain out of laying content out manually. Tom talked about doing this sort of grid based layout by hand in the past, and how it was actually relatively trivial once he’d sketched it all out and understand how it works. This all reminded Paul that he’d recently read, and been surprised to learn, about algebraic expressions in CSS’s nth-child selector.
Hello, declarative world
Tom S took us through the presentation he gave at the Joy of Coding. His talk was about declarative programming in Ruby and he walked us through the code he created for the presentation. While I can’t say I followed all of it, it was certainly interesting to see a declarative system based on relatively simple concepts be used to solve problems.
Web Audio Weekly workflow
Chris L talked us through his workflow for publishing the Web Audio Weekly newsletters. He uses ifttt recipes to collect emails, tweets and bookmarks and save them all as text files in a Dropbox folder which is synced to his laptop. He uses the Emacs Directory Editor to go through things he’s collected over the week and uses those as the basis for the newsletter. I really like these sort of systems that are created by gluing other services together.
We finished off with a couple of pints at the Old King’s Head where Ben talked about Alan Kay’s ideas of personal computers and how we should have much more control of them.
Show and Tell 14
As always, do get in touch if you’re interested in joining us for the next Show and Tell on Weds 8th July.
Until next time.