Archive for the 'Web' Category

Announcing finder.overcycle.com

Wednesday, January 23rd, 2008

It is my pleasure to announce the Recycling group finder, Something I have been working on for the past couple of weeks with my wonderful employer 29degrees. For those of you who don’t know, Freecycle is a worldwide recycling network, in their own words:

The Freecycle Network™ is made up of 4,205 groups with 4,211,000 members across the globe. It’s a grassroots and entirely nonprofit movement of people who are giving (& getting) stuff for free in their own towns. It’s all about reuse and keeping good stuff out of landfills. Each local group is moderated by a local volunteer (them’s good people).

As the name suggests, Freecycle Group Finder is a new way to find Freecycle groups.

Finding a group - the old way

To find a group you enter a location to search for in the box on the Freecycle homepage. I live in Romiley, so I enter that and click search. But it can’t find any groups! Failed freecycle search

In order for it to find my local group I would have to guess it was called ‘Stockport‘ and search for that. I could have used the Freecycle group browser but who browses anymore? People demand search! I wanted to make this better so I wrote the Recycling Group Finder.

Finding a group - the finder.overcycle.com way

Just enter any location into the search box on the homepage and it will find all your local groups: Successful  freecyclegroupfinder.com search

The Freecycle search gets it right sometimes. Take a search for Alameda, CA. It lists all the groups nearby, but Freecycle Group Finder does better. Freecycle Group Finder shows you a map of where all the local groups are! It lets you scroll around and visually determine the closest group (Try it for yourself!). An improvement we feel, and one that will help more people join up and start recycling.

What keeps it rolling?

At 29degrees we’re big fans of Ruby on Rails. It helps us make web applications faster, and with more fun, and it was no exception for the Freecycle Group finder. We are using Postgres for the database and serving it all with mongrel and of course Apache. Of course if wouldn’t be anwhere near as good if it wasn’t for Tony, 29degrees co-founder and designer extroadinaire!

The dangers of user generated content

Friday, December 21st, 2007

Monkey tennis bum gravy

Hilarious.

Bourne Shell Server Pages

Friday, November 23rd, 2007

Utterly wrong, but amusing.

Bourne Shell Server Pages are ordinary ASCII text files, with the special extension .shit, which denotes “Shell-Interpreted Template.” The result of invoking the page compiler on a .shit file, is, naturally, a shell script. (It occurred to me that this file extension might seem objectionable to some, but since it quite accurately—if unintentionally—conveyed my sentiments toward Web technology in general, I decided that it should be left unchanged.)

SurveillanceSaver

Thursday, November 8th, 2007

SurveillanceSaver is awesome:

SurveillanceSaver is an OS X screensaver that shows live images of over 600 network surveillance cameras worldwide. a haunting live soap opera.

Linux visitor numbers

Friday, November 2nd, 2007

After writing about how Ashley Highfield (BBC Head of Technology) claimed that only 400-600 out of 17.1 million users of bbc.co.uk run Linux I started to wonder what the proportion of visitors to my own jokes site were using Linux. Here are screengrabs taken from my google analytics account:

OS table

Nearly 94% use windows, 5% use Mac. OK, that matches Ashley’s claims. But wait, 0.9% of my sites visitors use Linux. That is significantly more than the 0.00003% that Ashley Highfield claimed use bbc.co.uk. If we use that 0.9% figure against the 17.1 million visitors he claims visit bbc.co.uk the number of Linux users would be closer to 154,000.

Where the hell did he get his numbers from?

Just for fun, here are the browser versions. Good to see Firefox doing so well:

Browsers table

400-600 out of 17.1 million users of bbc.co.uk run Linux

Friday, November 2nd, 2007

Bollocks. Either Ashley Highfield (BBC Head of Technology) has someone particularly stupid interpreting the stats for the site, or he is trying too hard to justify the BBC’s recent use of Microsoft client only technology.

Sign the petition to let the BBC know you use Linux. Found at PerfDave.

Edited to add: I estimate they have closer to 154,000 Linux users.

More glTail absurdity

Wednesday, October 10th, 2007

This is what happens when you change the log file tail command from tail -f to tail -n10000 -f

glTail crazyness

crazy :)

New glTail version, yay! Authentication failed, Boo!

Wednesday, October 10th, 2007

I downloaded the latest version of glTail and got an authentication failed error:

cheetara:~/Desktop will$ ./gl_tail-0.05.rb
Connecting to myserver...
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/session.rb:143:in `initialize': will (Net::SSH::AuthenticationFailed)
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh.rb:47:in `new'
from /opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh.rb:47:in `start'
from ./gl_tail-0.05.rb:1034:in `init'
from ./gl_tail-0.05.rb:1025:in `each'
from ./gl_tail-0.05.rb:1025:in `init'
from ./gl_tail-0.05.rb:1070:in `initialize'
from ./gl_tail-0.05.rb:1159:in `new'
from ./gl_tail-0.05.rb:1159

I am using key based authentication to my server so I had previously set the password to:

:password => ''

This worked in the old version but to get it to work I in the new version I had to change it to this:

:password => nil

glTail - Pretty logs

Tuesday, October 9th, 2007

glTail is really pretty, I just wished I had more traffic :)

This is is glTail mid-way through showing a request for my jokes site:

gltail

There is a more impressive video on the glTail site. I am not sure how useful it will be, but it is nice to look at.

Map of all the freecycle groups in the US

Monday, September 3rd, 2007

Just for fun I plotted all the Freecycle groups in the US on a google map (as you do). An interesting side-effect is that the map shows population density, the darker the area the greater the population. It is easy to spot the cities:

Freecycle Map

The data is fairly old, there are almost certainly more groups than this now.