Sssssh... Be ver-wy ver-wy qwuiet, we're hunting bugs.  


It's Saturday and we're hunting bugs in Birmingham! The day kicked off around 10 O'Clock at Linux Emporium (facilities kindly provided by John Pinner) with everyone getting stuck into bugs on Launchpad. Mez gave a quick how-to on bug triaging to a few of us. Unfortunately it seemed that everyone else on the interest was being just as enthusiastic and the Launchpad servers couldn't handle the load. The Canonical monkeys got it sorted eventually so we got back to bug zapping.

Tim Williams of Autotrain and SBLug set up the room with a streaming webcam, so that the whole world can watch - and listen! - to our bug hunting. This essentially meant we spent a good while irritating the London Bug Jammers by eating tasty lasagne, chocolate cake, drinking beer and juggling penguins.

I only managed to triage about 9 bugs today, it's still very much early days for me but I still think I helped. Most of the triaging I did was to file the bugs against what I thought was the correct package, and changing the status, asking for more info. Quentin and Nick were able to actually have a more in-depth stab at the bugs, because we had a wide variety available in the Linux Emporiums office, reporting back more specific information that should hopefully help developers when they come to fix the bugs.

Mez and Zeth also spent a bit of time interviewing the bug jammers for a podcast they are preparing to release.

Later in the day we had a surprise visit from Henrik Omma who helped me understand a little more about Launchpad, and helped me by setting a few bugs to "wishlist".

Hopefully tomorrow I will be more confident with setting bug status, and asking for more information.

[ add comment ] ( 1 view )   |  permalink  |  related link
Hacking All over the UK 
There has been a flurry of discussion on various mailing lists recently with the hopeful creation of two hackerspaces in the UK.

A hacker space is a place where people (mainly geeks) can come and use the facilities on offer to collaborate, hack and learn. Usually it's technology based, so there is wifi, computers, and electronics gear but this is not the limit of what could go on. Small grass-roots organisations could use the meeting rooms, people could learn to sew or even build machines and art there. Anything could happen, it just needs a place to nucleate all the talent of the city.

It all started off with a suggestion, from Jonty Wareing, to start a Hacker Space in London on the Open Rights Group Discuss mailing list. Almost immediately a Google mailing list was set up, and more people started getting interested. There are now 80 members of the mailing list and have a meeting planned in a few weeks date to be confirmed. The London crew have since gone even further and have set up a limited company called the Hackerspace Foundation!

The London Hacker space discussion then spawned an offshoot here in Birmingham, with Antonio Roberts setting up another mailing list to try and start a hacker space in Birmingham! Our mailing list is currently at a membership of 25 people, not too shabby for about 3 days! But we need more people willing to get involved, to build momentum, to build a place for us to hack and collaborate in.

If you are interested please join the Google Mailing list for your area:


Say hello and join in the discussions!

For the Birmimgham group a meet-o-matic has been set up, so we can organise a date to meet. Visit meet-o-matic and put in the dates you are available. I will be closing the meet-o-matic on Thursday and announcing the best date for the meeting. The meeting is likely to be held at The Bull Inn (Birmimgham City Centre)(map) It has free wifi, good beer and a nice atmosphere.

Got all that? Good! Now blog, twitter and tell people, friends, family, artists and enemies. As we said we need people to do this, people willing to get their hands dirty.

Goodbye, and see you on the other side!

[ add comment ]   |  permalink  |  related link
I'd just like to say... 
Hi Mum! Look at me! I'm on the interwebs.

My mum has figured out how to subscribe to RSS feeds. Well done Mum.


[ add comment ]   |  permalink
2 Years of Mapping in Birmingham 
Now that Birmingham is complete, I did a video party render of all the GPS tracks I could get a hold of for the Birmingham area.

Here is the result



This is the slow version, a higher (time) resolution version is available from here.

This video represents an enormous amount of raw data 398MB. That is also just the GPS data. It doesn't show the ways and points-of-interest associated with them, which is what gets rendered by OSM and is viewable on the website.

Hope you like the video.


[ add comment ]   |  permalink  |  related link
Scraping OSM with Python 
The OpenStreetMap API lets you do lots of things with the OSM data, like uploading and downloading GPX traces. Unfortunately when you download GPX traces the data/time stamp has been removed. If you download GPS traces individually from the public gps list, then you get the raw original (I think) GPS data with date/time stamps.

Now since Birmingham is complete. I wanted to generate the party render for the entire city over the last 2 years. I neede a way to download 170+ traces. I certainly wasn't doing this by hand. What follows is my most hacky python script yet, it will parse a page and look for the GPS trace IDs, then construct a URL to download. You have to change the page to scrape manually, but hey I wrote it in 30mins what you do expect?


#! /usr/bin/env python

'''Python GPS downloaded for OSM'''

import sgmllib

class MyParser(sgmllib.SGMLParser):
"A simple parser class."

def parse(self, s):
"Parse the given string 's'."
self.feed(s)
self.close()

def __init__(self, verbose=0):
"Initialise an object, passing 'verbose' to the superclass."

sgmllib.SGMLParser.__init__(self, verbose)
self.hyperlinks = []

def start_a(self, attributes):
"Process a hyperlink and its 'attributes'."

for name, value in attributes:
if name == "href":
self.hyperlinks.append(value)

def get_hyperlinks(self):
"Return the list of hyperlinks."

return self.hyperlinks

import urllib, sgmllib

# Get something to work with.
f = urllib.urlopen("http://www.openstreetmap.org/traces/tag/Birmingham/page/9")
s = f.read()

# Try and process the page.
# The class should have been defined first, remember.
myparser = MyParser()
myparser.parse(s)

# Get the hyperlinks.
links = myparser.get_hyperlinks()
working = []
final = []
traces = []
nonduplicates = []

for i in links:
b = i.find("user")
print i, b
if b > 0:
working.append(i)

for i in working:
b = i.find("traces")
print i, b
if b > 0:
final.append(i)

for i in final:
parts = i.split("/")
lastitem = len(parts)-1
traces.append(parts[lastitem])

for i in traces:
if i not in nonduplicates:
nonduplicates.append(i)

for i in nonduplicates:
url = "http://www.openstreetmap.org/trace/" + i + "/data"
print url
trace = urllib.urlopen(url)
localfile = open(i, "w")
localfile.write(trace.read())
trace.close()
localfile.close()



Credit - the HTML parseing class was written by Boddie.

I plan on tidying this up (a lot), as it is extremely useful, until the OSM API catches up anyway.



[ add comment ]   |  permalink

<<First <Back | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Next> Last>>