Mashed08 and PyLOLz
Posted by stephen on Tuesday, 24th June, 2008 @ 14:43
This past weekend saw the return of Hackday, this time relabelled Mashed 08, and very much a BBC affair. And to their credit, it was a much better organised and smoother operation than last year. Though I think last year was perhaps just a little more fun because of the chaos!
Team Monkey Tennis reformed, though couldn't think of much to do after all the Saturday morning talks suggested lots of the ideas we'd had. So we got to Sunday morning and decided to have a little poke at last year's project. I'll link to a hopefully more perfected version of that soon.
In the mean time, it's led me to create a Python port of Dave Dribin's LOLspeak for Ruby. It's called PyLOLz, and even has a Kamaelia component, which is a rather awesome Python framework from the BBC for building scalable, pluggable apps for a really broad range of problems. PyLOLz is the first time I've actually put some code online for other people to use, so sorry if it's not very good, but please feel free to tweak and enhance it! You can find it here...
http://freakymousemats.com/static/software/
>>> from pylolz.lolz import Tranzlator
>>> t = Tranzlator()
>>> t.translate_word('Hello')
'y halo thar'
>>> t.translate_sentence('My English skills are perfect.')
'mah english skillz r perfik.'
