From the Burrow

Gnome blogger sans paragraphs

2011-08-23 00:00:00 +0000

For those who want to use gnome blog poster sans paragraphs the fix is to modify /usr/lib/pymodules/python2.7/gnomeblog/

Replacing line 23


Replacing line 26 & 27
	html_converter.para_tag.opening_tag = "< p>"
        html_converter.para_tag.closing_tag = "< /p>"
        html_converter.para_tag.opening_tag = "< br>"
        html_converter.para_tag.closing_tag = ""< br>

I’ll probably post a patch some time as there is a bug reported in bugzilla about this. </pre>

Exchange Autoforwarding

2011-08-23 00:00:00 +0000

Look like we have a good number of people who need Auto forwarding removed from their account: This is easily done through AD Users and Computers on Windows (though in that link where it says ‘Mail Delivery’ it should be ‘Delivery Options’ ) However it looks like this will be very easy through LDAP also as their is an attribute called ‘altrecipient’ which returns the distinguished name of the contact in AD. I’ll ensure I wrap this in my library, might be a job for idle time tonight!

Anyhoo back to business!

Blogging from Python

2011-08-23 00:00:00 +0000

This looks like it will be a perfect base for a library.

If anyone is thinking of rolling there own wordpress python library start here:


AD, Ldap, Range

2011-08-23 00:00:00 +0000

When using ldap to interact with Active Directory you can sometimes run into an odd issue with ranges.

Say for example you have a group with more than 1500 members. When you query the properties of the group where you would normally see ‘member’ you see ‘member;range=0-1499’ so you only get the first 1500 results.

Apparently you can change this setting on the server but odds are that you won’t be allowed to do this just for your scripting pleasure!

To remedy the issue, check out this great function on stackoverflow

Wordpress and Python

2011-08-22 00:00:00 +0000

I am starting to sketch out a python library for wordpress that makes wordpress appear to python as native lists and dicts. Maybe it’s a phase I’m going through but so many things can be expressed in terms of either lists or dicts. Wordpress could have quite a nice fit for this. The posts are dicts is the format {“title”:””, “body”:””, “tags”:[]} etc. The tags are a dict with each tag being a key and the value being a list of posts. I would have to make things as lazy as possible so as not to try to pull down your entire archive when you log in…but it could be quite handy. I’ll let you know if/when I have a tinker with this.

Testing a wordpress client for Ubuntu

2011-08-22 00:00:00 +0000

Trying out ‘Blog Entry Poster’ (catchy name) as it is about as minimal as you can get…to be honest I really like it so I hope this works!

Minimal Client Image Uploading

2011-08-22 00:00:00 +0000

As mentioned before I’m using “Blog Entry Poster” on ubuntu. Its small and fast and well check out how little there is to it…

I’m using this as an opportunity to test the media uploading as apparently its just drag and drop…if you see the image above, it is!

EDIT: Bugger…I’ll have to dig into that then!

Been a long time...

2011-08-22 00:00:00 +0000

..since I’ve posted here. To be honest after google+ came out I was certain I was going to delete this and migrate there fully. It was an inspiring talk by lorna jane mitchel at ogg camp however that has kicked me in gear and got me back here and realizing that I’ve got a lot of tech bit and bobs I could be posting. So hopefully some of this will end up be useful to someone, lets get cracking !

And it does!

2011-08-22 00:00:00 +0000

Sweet I’m sorted for a client now. For those on Ubuntu who are tyring to get their client to talk to a wordpress hosted blog the path you need is: Don’t worry about looking in the settings to ‘remote publishing’ thats an option for those who host their own wordpress blog. Awesome well now to business!

Adam in the wild

2011-04-09 00:00:00 +0000


Today sees the forition of a very geeky dream I’ve held for a long time. The picture above is my office for the afternoon. The dappled light of the woods is so bright that I can barely make out the screen on the phone yet the Adam tablet is crystal clear. Yes I’m a geek, but I’m an outdoor geek and finally embracing both my passions at once is very cool! The setup does still needs some work however. All mainstream mobile OS’s seem designed for consumption and not really for making stuff. I guess that’s why people fawned over Garage Band for the iPad, its a slick app but it actually looks like you could make some serious music with it. Its a bit crap that this suprises people as these are computers but still I can see how this would be enough for many people: take a photo, answer a text, find a place to grab lunch…nice but not enough for me. Luckily the xda and notioninkhacks forums have some sweet efforts going on to get ubuntu on these things. Right now they are just trying to get them working side by side with android but a native install is obviously the way to go at some point. Back on the coding side of things I’ve had a quick play with ASE and touchqode. Python definately works on here and touchqode isn’t a bad editor but as my projects rely on libraries which are not pure python I’m still not abe to work on the same projects as I can on my humble netbook. So yea this is a epic step in the right direction and I’ll keep an eye out for what’s next.