Being the homepage of Matt Gibson, a random geek, writer and photographer from Bristol.

Blog


0 Comments

Building a Lorenz Attractor In XSLT

May 19, 2011 Posted in Geekery, Graphics by

I have been clearing my desk, physically and metaphorically, getting ready for my next big thing. One of the things on my desk was my research and experiments in generating a Lorenz Attractor fractal directly in web browsers using pure XSLT, just to prove it could be done.

I have finally polished up my results, and created a micro-site at xslorenz.gothick.org.uk to record them for posterity. So, if you’re intensely geeky and really into either (a) XSL, or (b) doing quite unlikely things with browsers, you might want to go and have a look.

If you’re a sane and normal person, you probably don’t want to click on that link.


1 Comment

A Year of DailyBooth

April 30, 2011 Posted in Geekery, Photography, video by

It’s been about a year since I started using DailyBooth to take a snapshot of myself. I’ve not kept it up every day, but yesterday I hit the 300 photo mark.

As luck would have it, my friend Jose mentioned Pummelvision to me over lunch today. Pummelvision is a service that creates videos from still photos, automatically, with a soundtrack, and can pull pictures from a variety of feeds, DailyBooth being one of them.

So, here is, roughly, a Year of Matt:

I think the result is pretty cool. If you have a bunch of photos — in DailyBooth, Dropbox, Facebook, Flickr, Instagram or Tumblr – then give them a try. I might see what it can do with Flickr next…


4 Comments

Review: TrendyDigital Waterguard Plus Kindle 3 Case

April 13, 2011 Posted in Geekery, Kindle, Reviews by

Kindle 3 floating in Trendy Digital case, with rubber duck looking on

Rubber Duck

I have a couple of things in common with the late Douglas Adams. Unfortunately, those couple of things aren’t a talent for fiction and a substantial collection of expensive guitars. No, instead I share his passion for technology and his love of taking very long baths1.

I’ve now combined those two interests, by buying the TrendyDigital WaterGuard Plus case for the Kindle 32.

My case was bought from Amazon, but delivered from the supplier in the US. Since then, Amazon UK have started to show it as dispatched by Amazon themselves from the UK (and eligible for Prime).

I chose the TrendyDigital case after a lengthy and exhaustive search involving picking the cheapest thing from the first page of Amazon search results. At £15.493, I figured it was worth a punt4.

The case arrived in a cheap fabric case of its own, along with a lanyard, presumably so the Kindle doesn’t float away from you in the middle of reading “Scuba for Dummies”. As I’m just planning on using it in the bath, the fabric bag and the lanyard were put straight into the Big Drawer Of Stuff I’ll Have Forgotten I Ever Owned And Be Slightly Perplexed By In Three Years’ Time5.

As you’d expect from anything with “Trendy Digital” written on it in large, bold, capitalised italics, the case is neither particularly trendy, nor particularly digital. I chose a fetching shade of Standard Plastic Purple.

It’s a simple design. The main body of the case is a flat bag of strong, flexible plastic big enough to let you slide the Kindle 3 in easily. The plastic is apparently UV-stabilised so it should survive strong sunlight well at the beach.

Sleeving the Kindle 3The watertight seal, along the top edge, is made by twin press-to-seal plastic interlocks (you know, like the ones on a Ziploc™ bag, only without the zipper.) You slide the Kindle in, seal both seals, then fold/roll them up and finally close an outer flap tidily over them with a couple of poppers.

This top assembly looked in the pictures like it might make the case a bit top-heavy to hold, but the case overall weighs only 70 grams, so there’s no balance problem.

In my arduous bathtime testing (the work I do for you, dear reader!) the case proved completely watertight6. An unexpected bonus is that the Kindle is light enough that the case floats happily on the surface of the water.

The back of the case is padded with about a 1mm thickness of foamed plastic, though I’m not sure how much of a bonus that is, or why.

The case has a few minuses, but nothing terrible. It’s not particularly comfy to hold — not awful, just less comfy than a caseless Kindle. Also, it’s a little fiddly to work the Kindle on/off slider, but it can be done, and you can generally avoid the need, anyway7. Lastly, I found the case’s screen plastic to be a lot more reflective than the Kindle’s screen, meaning you’ve got to be more careful about viewing angles if there are bright lights around.

On the whole, though, I’m enjoying the case. It’s easy to get the Kindle in and out, it’s a simple design that should be quite robust, it’s light, and it works. For £15.49 it’s good value for money.

I was planning on the waterproofing only being used in dire emergencies, for when I read a passage of HP Lovecraft so shocking I dropped my Kindle in the bath, say.

But as it turns out, there’s something very decadent about finishing a page and then gently splashing your Kindle down to float in your bubble bath, next to your rubber duck, and reaching for your gin and tonic…

Here’s the TrendyDigital Waterguard Plus Kindle Case on Amazon UK, and here it is on Amazon US.

NB: Anyone who uses portable electronic equipment in the bath does so at their own risk. And the equipment’s risk, more to the point. Don’t blame me if it all goes horribly wrong, is what I’m saying.


  1. Adams’ ablutophilia was, of course, channelled into the character of the Captain of Golgafrincham Ark Ship B, whose lifestyle I’d happily emulate, if I could.
  2. The Kindle has, of course, been compared to the Hitchhiker’s Guide to the Galaxy, so it seemed fitting to me to pay tribute to Adams by taking very long baths with it.
  3. Let’s face it, Amazon’s own case prices make anything else seem sensibly priced. Especially after their £30 entry-level leather case ended up crashing the Kindle and being recalled and withdrawn from sale!
  4. In my experience, you only really know enough to buy the right product when you’ve figured out what’s wrong with the one you’ve just bought.
  5. Everyone has a drawer like this, right?
  6. I tested for airtightness out of the bath first, before I risked my Kindle — I’m not that dumb! — and the case passed with flying colours.
  7. The Kindle only turns itself off after ten minutes of inactivity, so if you turn it on before you pop it in the case, there’s no great rush to get into the bath.

0 Comments

Flickr Noir

April 2, 2011 Posted in Geekery, programming by

If you’re reading my blog, there’s a fair chance that you’re (a) a Flickr user, and (b) a Chrome or Safari user, so you might be interested in my latest piece of geekiness.

The other day I was on Flickr trying to figure out whether a photo one of my friends had posted might look better in black and white. I did what I’ve done loads of times before — downloaded the image, sucked it into a graphics program, and desaturated it. But that made me think — there must be an easier way…

So, introducing Flickr Noir, a Chrome extension that will let you turn the main photo on any Flickr photo page black and white at the click of a button. It does a nice quick-fade effect during the desaturation, and clicking the toolbar button again will restore the colour, so you can easily compare the two.

Dandelion

Since writing the Chrome version, I’ve also created a Safari version. This was a fairly easy conversion job; the two extension systems are very similar, presumably because of their shared base in webkit. I’m still not sure which system I prefer — while I found Apple’s documentation much nicer, Safari’s “Extension Builder” crashed on me eight times while I was doing the conversion work, which was a tad disconcerting.

You can download either the Safari or the Chrome version from my Flickr Noir software page, here.

My extension uses Dmitry Kelmi’s nice little jQuery desaturate plugin to do the hard work, basically copying the image into a canvas and processing it there. Then I add the desaturated photo on top of the normal photo on the photo page, and the extension’s toolbar button toggles between showing and hiding it with a nice jQuery fade effect.

The only problem I had was avoiding tripping over cross-domain security violations, but luckily “serg” on Stackoverflow helped me out of that one.

If you give it a try and notice any problems — or just enjoy it! — please leave a comment.

 


1 Comment

An Out-of-Book Experience

March 31, 2011 Posted in Kindle, Observations by

I’ve been enjoying some HP Lovecraft on my Kindle recently. This is thanks to Cthulu Chick, who has produced a free, Kindle-friendly Complete Works of HP Lovecraft (also compatible with most other book readers.)

This evening, on the ferry home from a long day at work, I pulled out my Kindle, turned it on, clicked into the Lovecraft, and started reading a new story.

It was a typical Lovecraftian beginning, where a man had occasion to go, for the very first time, up a tall stepladder into the dusty gloom of his attic, to trace a slow but mysterious drip. Here, he finds:

…a secret door, not visible from anywhere outside the house, in an external wall. The door opened easily and led out onto a tiny rooftop space, not much larger than a tabletop, between the front and back gables of house…

Dusty attic, secret door, typical Lovecraft, like I said. The next part continued in this gloomy vein, as the backdrop to our story is set out in a discussion between our protagonist and a local archaeologist:

Well, it isn’t because the church is sinking,” Brian said, smiling. “It’s because the churchyard has risen. How many people do you suppose are buried here?”

I glanced appraisingly at the gravestones and said, “I don’t know. Eighty? A hundred?”

I think that’s probably a bit of an understatement,” Brian replied, with an air of kindly equanimity. “Think about it. A country parish like this has an average of 250 people in it, which translates into roughly a thousand adult deaths per century, plus a few thousand more poor souls that didn’t make it to maturity. Multiply that by the number of centuries that the church has been there and you can see that what you have here is not eighty or a hundred burials, but probably something more in the order of, say, twenty thousand.”

This was, bear in mind, just steps from my front door. “Twenty thousand?” I said.

Now, it was around this point that I started getting a bit suspicious. Even in my end-of-the-working-day, on-the-boat-home state of doziness, while the subject matter — secret doors, dusty attics, all those interred souls — was distinctly Lovecraftian, the language was less so.

And it didn’t take long before I finally muttered, “what the…?” to myself. In fact, I can pinpoint the sentence:

The rest was just centuries and centures of people quietly going about their daily business — eating, sleeping, having sex, endeavouring to be amused — and it occurred to me…

…it occurred to me, in fact, that HP Lovecraft really doesn’t talk about “having sex”.

Not ever.

Once my synapses were finally firing along the “this can’t be bloody Lovecraft” lines, other incongruities that I’d skipped over suddenly jumped out. A Victorian house? Norfolk? Sure, there are Norfolks in America, but I doubt that they’re extremely flat and dotted with parish churches.

So, I clicked “Back” to head for the main menu, and figured out what had happened. Since the last time I picked up the Kindle, pay day had come and gone, and I’d bought a book from my Amazon wishlist as a treat. Bill Bryson’s At Home: A short history of private life, in fact.

Which, erm, starts off with Bill talking about one of his old homes, in Norfolk. Where he’d gone to fix a drip and found himself staring at a lovely view, which nicely introduces the Norfolk landscape and his local church, then segues in to a slightly morbid conversation about archaeology he had with a friend.

In the time between me seeing the menu pointing at the Lovecraft and me hitting the “read this book” button, the Kindle had fired up its 3G connection, downloaded the Bill Bryson book, and shuffled all the books down by one item in the menu, so that when I finally clicked the button I was reading Bryson rather than Lovecraft. And ensured myself a very confusing ride home.

D’oh.

I’m sure I would have worked it out quicker if I’d not primed myself to expect HP Lovecraft. Your brain plays tricks on you like that. Or if the Kindle didn’t helpfully skip the introduction of a new book and drop you straight at the beginning of chapter one.

And the real physical books would have been a dead giveaway. You just know the Lovecraft would have been a weighty paperback, probably featuring a black cover with stylised drooling green fiends. And the Bryson would have been a pleasant affair with a slightly quirky illustration.

But, unfortunately, even the third-generation Kindle remains a dull lump of plastic regardless of what you’re reading. I’m guessing e-ink colour covers which change depending on the book are still quite a long way off.

Until then, I recommend you double-check what you’re reading at the first hint of confusion. Because an out-of-book experience can be very disturbing. Especially when Bill Bryson is talking about the interred masses of all the people who have ever died in Norfolk…


Search
Categories
Archives