Yak Shaving

just me

Archive for March, 2009

New Job

without comments

Guess I should have mentioned it earlier: I can haz new job!
I am currently happier than a pig in muck. Still bedding in but I have a Ubuntu desktop and 2 HUGE monitors! Best of all its Python. I have made the change from hobbyist to professional!

Written by channam

March 16th, 2009 at 8:48 pm

Posted in Uncategorized

Pidgin Notifier

without comments

A little script to create an alert box on gnome whenever you get a message on pidgin.

#!/usr/bin/env python

import dbus, gobject
import pynotify
from lxml import etree
from dbus.mainloop.glib import DBusGMainLoop

def my_func(account, sender, message, conversation, flags):
    if pynotify.init("Hi there!"):
        xml_data = message
        root = etree.fromstring(xml_data)
        output = 'ooops'
        for element in root.iter():
            if element.text is not None:
                output = element.text
        n = pynotify.Notification(sender, output)
        n.set_timeout(2000)
        n.show()

dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = dbus.SessionBus()

bus.add_signal_receiver(my_func,
                        dbus_interface="im.pidgin.purple.PurpleInterface",
                        signal_name="ReceivedImMsg")

loop = gobject.MainLoop()
loop.run()

Written by channam

March 15th, 2009 at 11:16 pm

Posted in Uncategorized

Cassandra

without comments

Just fixed up my App Engine application to be all standards compliant, gives you a nice warm feeling inside. Check out W3C Checker.

Written by channam

March 1st, 2009 at 1:44 pm

Posted in Uncategorized

bit.ly for the win

without comments

I got my Google App Engine library featured on the list of entries for bit.ly’s competition see bit.ly competition. Admittedly its a small bit of code but I hope someone might find a use for it.

But I`m still waiting for swag :)

Written by channam

March 1st, 2009 at 11:35 am

Posted in App Engine, bit.ly, python

Forms in App Engine

without comments

Written by channam

March 1st, 2009 at 10:45 am

Posted in App Engine, python

Shameless Boasting

with one comment

Came across this picture (thanks Alex S) of me on stage at LUG Radio 2007:

Myself and Becky Hogg of ORG

Myself and Becky Hogg of ORG

I had mentioned the previous night to Stuart Langridge I had some experience regarding DRM. While minding my own business watching Nat Friedman’s talk in the other room I got asked to come up on stage and answer a few questions. Come to think of it I never found out how Nat’s talk finished…

Written by channam

March 1st, 2009 at 10:37 am

Posted in LUG Radio