Links for 2008-06-27 to 2008-08-13

August 13th, 2008

DIY Ambient Orb

July 19th, 2008

Take one garden light bought at M&S for £3.50 and dissect it:

Dissected Ambient Light

Connect a BlinkM up to an arduino and set it running:

BlinkM

Combine the two and you have a home-brew ambient orb:

Next step, do something interesting with it.

I’ve been on the lookout for suitable materials to make an ambient orb for a while - particularly something to diffuse the light. My original plan, which I may still do, was to take an ordinary lightbulb and put an RGB led inside it. However, modern lightbulbs prove quite tricky to take apart without shattering something. When I spotted these lights in M&S last week I knew they were exactly what I wanted. So I bought three.

They were pleasingly easy to dissect - just some gentle persuasion with a craft knife. The led’s they come with, which you can see here, are going to be handy to reuse in the future.

I still need to work out how best to mount the BlinkM beneath it. Given their I2C interface, it is going to be very easy to chain lots of them together, working as a group.

Ambient orbs are fascinating interfaces - they provide an abstraction that can convert an data source into a simplified, yet powerful, source of information.

Converting data into information is something I have been meaning to write about for a while. But given it’s my wife’s birthday and we’re heading out for the evening in 5 minutes, that post will have to wait for another day.

Another little project

July 7th, 2008

Having done tetris last week, I got a number of suggestions for improvements in the comments. Whilst I don’t rule out tackling them at some point, I had an itch to do something different. So I started the next project. Admittedly, this one has taken quiet a bit more time to do and it isn’t a finished end-to-end game like tetris is. But still, the concept is there and I could spend some more time on it or I could start the next project.

So, for still no reason in particular, I present to you JavaScript Mario. Enjoy.

Open Tech 2008

July 7th, 2008

Roo and I presented at Open Tech 2008 this weekend on the Current Cost hacking that has been going on in these parts. It was my first time presenting to quite such a large audience and all things considered, it was a lot of fun and went very well.

Although I took some notes through the day of the other talks I went to, Roo has done a much better write-up than I would. So I’ll point you his way.

A little project

June 30th, 2008

Thanks to spending a few hours first watching Jay-Z at Glastonbury and then the 5-set epic that was the Murray-Gasquet match at Wimbledon today, I have found myself sat in front of the laptop hacking away at a little project that came to mind late last week.

I’m sure it has been done many time before, but as I’ve said before, reinventing the wheel can be quite fun sometimes.

So, for no reason in particular, I present to you JavaScript Tetris. Enjoy.

Links for 2008-05-14 to 2008-06-23

June 23rd, 2008

Interesting2008

June 22nd, 2008

Russell Davies

Yesterday was the awesome Interesting2008 organised by Russell Davies. Roo had told me all about last year’s Interesting2007, so I was very much look forward to it - and I wasn’t disappointed.

The talks covered a diverse range of subjects and they were all interesting - as you would hope for such an event. Here are some of my highlights of the day.

Roo Reynolds

Roo opened with 3 minutes on Lego. With 30 slides playing through behind him, he even remembered to breathe. A great start to the day. Roo has now posted his slides with audio on slideshare.


Michael Johnson

Michael Johnson gave us tour through the history of guitar music and graphic design. Was this just an excuse to play Jimi Hendrix on a stage in front of 300 people?


Matt Dent

Matt Dent spoke about the new coin designs he did. Fascinating insight to the amount of detail that goes into this type of thing.


Lloyd Davis

Lloyd Davis played the ukulele and then helped the whole room meditate and bring the mountain within. And relax.


Anna Pickard

Anna Pickard just about kept a straight face whilst talking about unintentionally funny words. I was most pleased to see Plinth on the list.


Andrew Walkingshaw

Andrew Walkingshaw explained why naming things is hard.


Jim Le Fevre

Jim Le Fevre amazed us all by showing off his turntable-based zoetrope. I could have watched this for hours. Definitely something to play with in the future. Update: Russell has linked to a YouTube video of this stuff - amazing.


Russell did a great job of organising the day - I’m very much looking forward to Interesting2009.

Russell Davies

Words with style

June 14th, 2008

From Roo’s del.icio.us stream, I came across Wordle by IBM Research’s Jonathan Feinberg.

It is “a toy for generating ‘word clouds’ from text that you provide”. The results it produces are absolutely stunning. Tag clouds are quite a common thing these days - it would take a couple clicks to add one in the sidebar of this blog. But they are often quite dull. Wordle shows this doesn’t have to be the case.

The site lets you specify a list of words to generate the cloud from, or it will do it from your del.icio.us tags. You can see my tags in the cloud above.

At the moment it is a java applet - but it would be great to see it run as a web service so these clouds can be integrated more readily.

Three things: Linux, Vegetables and swohoa

June 7th, 2008

It has been a bit quiet around here recently, which is not to say I haven’t been up to stuff.

Last week I was involved with an event at work for ’showing off’ interesting things around linux. I was signed up to demo the N800 internet tablet, but I stretched the definition a bit and had my arduinos out as well. Ian took some photos of the event. Here you can see talking to someone about the arduino’s whilst James plays with the Wiimote paired with my N800 and here you can see my rather hastily built custom Wii Sensor bar. I’m glad I had my box of arduino bits with that morning, otherwise I would have been stuck! For more on what else was going on, check out Graham’s write-up of the event.

Veg Beds

A couple weekends ago, we finally got the veg beds planted. Click through to flickr for a very well annotated list of what we planted. Sadly, last night the neighbour’s blasted cat dug up half our carrot seedlings. I’ve laid out some temporary netting and this weekend I’ll be building a better cat trap defense.

The third thing I wanted to mention was the Super Secret Side project that Roo and I have been hacking on for the last week: shewentofherownaccord.com.

This is an idea that has been bouncing around between us for years - but only now have we done something about it. It is essentially a (growing) collection of the most pun-tastic jokes out there for all to share. After a fairly frantic week of hacking in the evenings, we managed to coax together enough of a site to reveal it today. We still have plenty of features to add, so keep an eye out for updates.

Google Treasure Hunt

May 19th, 2008

Earlier today, I spotted a tweet from @thomasj about the Google Treasure Hunt. This was followed later in the day by a series of tweets from @graham_alton (warning: spoiler in tweets!) that picqued enough interest that I decided to have a go.

In summary, the challenge is to state how many unqiue paths there are across an arbitrarily sized chessboard from the top-left corner to the bottom-right corner, but only moving down or right at each step. Graham has written up his solution, along with the original question on his blog.

He has gone straight for the proper solution using a simple formula… and some perl to handle the fact the numbers involved are beyond most desk calculators.

I decided to go for a bit more of a brute force approach… and some python to handle the fact I haven’t touched perl in a while.

Here’s my solution:

#!/usr/bin/python
# the dimensions of the board
w=54
h=30
lr = [1]*w
for y in range(1,h):
   lc = 1
      for x in range(1,w):
         lc = lc + lr[x]
         lr[x] = lc
print lc

The secret here is that for any given square on the board, the number of unique paths is equal to the sum of the number of unique paths from the squares immediately to the right and below.

Here’s an attempt to express it slightly more formally:

f(x,y) = f(x+1,y)+f(x,y+1)

where f(w,y) = f(x,h) = 1

The next question of the treasure hunt is due any minute now…