Favourite blogs for In My Pants

My favourites » Nothing to see here

August 20, 2007

Please move along

From 20th August 2007, this blog will no longer be updated.

You probably want Tim Retout’s website, or perhaps the Atom and RSS feeds.


August 15, 2007

PyGTK bindings & vim syntax highlighting

Python bindings as implemented the PyGTK way use files with extensions ”.defs” and ”.override”. By default in vim these will not have syntax highlighting.

Create ~/.vim if necessary, and in ~/.vim/filetype.vim put:

if exists("did_load_filetypes")
  finish
endif
augroup filetypedetect
  au! BufRead,BufNewFile *.override             setfiletype c
  au! BufRead,BufNewFile *.defs                 setfiletype scheme
augroup END

Afghanistan and opium

I heard on the radio this morning that the US have a new counternarcotics strategy for Afghanistan – they’re going to pay rewards to governors for reducing poppy planting, among other measures. 90% of opium production takes place in that country, and it’s a delicious irony that the Taliban insurgency is probably mostly being funded by their enemies’ heroin addictions. Doubly ironic because the Taliban had nearly eradicated opium production by 2001.


August 13, 2007

lolbookcase

lolbookcase

It was a lot of work to assemble just for a captioned photo, but I think it was worth it.


August 04, 2007

RhythmDB disjunctions patch

I was particularly pleased with the patch I wrote yesterday; it added support for rhythmdb disjunctions to the python bindings, and needed some thinking through. After the requisite planning, during which I did in fact sketch diagrams on the back of an envelope, I went to the pub to numb the pain of the actual implementation. Two pints later, it worked.

What it means in practical terms is that you can now do all the really complicated Rhythmbox database queries from Python plugins; so, I now have search-as-you-type on podcast posts and feeds in my reimplementation. This is my seventh patch to make it into Rhythmbox.

Incidentally, git and git-svn have improved my productivity dramatically since I started using them – it’s great actually having revision control of all my local changes, and being able to easily merge the latest svn commits. Also handy is being able to create separate local branches within which to develop radical new features.

Bzr could probably do this as well, but I have grand dreams of one revision control system to rule them all; I’m worried that bzr won’t scale well to handle projects the size of Linux and X.org. It would be interesting to see a Launchpad equivalent that was based upon git. (Yes, I realise this is probably a crazy reason for choosing git over bzr, but that’s what’s in the back of my mind. It means I shouldn’t have to learn two revision control systems.)


August 01, 2007

Mach & Latin

Thomas Schwinge made a nice analogy in a mailing list post – studying the Hurd on Mach is like learning Latin – even though it’s obsolete, the knowledge you gain will be re-usable.

http://lists.gnu.org/archive/html/gnu-system-discuss/2007-07/msg00064.html


July 28, 2007

ircservices–church packaged

I finally got around to finishing off the packaging of IRC Services for Debian. Shortly after I’d uploaded it to mentors.debian.org, I noticed that it didn’t even compile on amd64 platforms – so CompSoc would have struggled to use it on our new servers, even if we hadn’t wanted to have it packaged. Still, I patched it up. It is now awaiting a sponsor to upload it properly.

I’m fairly sure I disagree with quite a few things about upstream’s coding – in the end, I’ve only really packaged it because it was the one we were using before. These days, there are many competing services implementations.


July 26, 2007

Concerned

This blog has problems.

  • BlogBuilder serves RSS feeds with the wrong MIME type. For someone who has a T-shirt about this issue, this is a big deal.
  • While in theory there is Atom publishing protocol support, in practice I don’t think it works – so I have no API for integrating my blog with the desktop.
  • The software running it is not free, so I have no way to submit patches for the above, or add features. Even if I could write the patches, I don’t control the server, so can’t apply them.
  • I suspect my login details expire in four weeks.

What to do, what to do.


July 18, 2007

GUADEC day 4

I discovered today that my laptop can, in fact, do suspend and hibernate without problems. Kudos to whoever fixed that.

I changed my IRC Services package so that it uses cdbs, and added quilt to manage the patches. All it really needs now are some rewritten manpages, and testing.

GUADEC feels different from the other conferences I’ve been to this year – probably because I’m not staying overnight, and aren’t getting absorbed into the atmosphere. I was thinking this morning that we probably need a GNOME UK bof meeting, because it doesn’t feel like there’s a strong UK GNOME community.

Bought a book from Josette Garcia about programming embedded systems in C – every other talk seems to be about embedded devices, what with the new GNOME mobile initiative.


July 17, 2007

GUADEC day 3

So I’m at GUADEC, in the middle of a talk about metadata. I’ve borrowed an N800 from Nokia, and it’s not too bad to type on – maybe a bit pricey, though.

I’ve finished most of the hard work for packaging IRC Services. Lamby noticed that Unreal are forking InspIRCd, so I think he’s packaging that, which may finally sort out CompSoc’s IRC setup in a sane way.

Tonight there’s free beer, win.


July 05, 2007

OpenWRT client mode

Today, I solved the problem of lack of internet access in my bedroom.

While staying in Derby, my bedroom is on the top floor of a three floor town house. The BT router is on the ground floor, next to the main computer. There is no possibility of a wired connection running up three flights of stairs, but there is a wireless network. My laptop’s wireless card appears to suck (and has crap drivers, damn you Broadcom), so will only receive packets one floor up.

We just happened to have a spare Linksys WRT54G – this afternoon, I tried out OpenWRT for the first time, using the prepared White Russian firmware images (because I’m lazy). Using the documentation on setting up client mode, I was able to connect to the BT router’s wireless from two floors up, and can plug my laptop in using a wire – hence avoiding some nasty repeated crashes seemingly from the aforementioned crappy wireless drivers. The whole process took less than an hour.

This evening, I’m considering making pancakes to celebrate the tenth anniversary of the Debian Social Contract, and probably also need to bake another batch of cookies before the weekend.


July 04, 2007

I'm so vanilla.

This morning, I had a hospital appointment about my arm – I was discharged within five minutes of seeing the consultants, who said I wouldn’t be needing that sling thing, or physiotherapy. Apparently my elbow is making good progress, considering I hurt it less than two weeks ago. I still can’t fully extend it, or touch my shoulder; and I’m not to do any heavy lifting or contact sports for the next four weeks.

The software that the Derbyshire Royal Infirmary uses (at least for X-rays) is called Centricity – although from what was described to me, they’re using the ‘Remote Hosting’ solution. Apparently, it gives less than optimal performance, but purchasing their own server would cost too much. Proprietary software is negatively affecting the quality of service of the NHS! Boo, hiss.

With the rest of the day, I baked some white chocolate chip cookies, reducing the amount of flour in the English version of the Wise Guys’ recipe to sensible levels. The results are almost indistinguishable from the supermarket ones, except that mine perhaps taste more strongly of vanilla. It turns out that the expensive white chocolate I bought contained large amounts of vanilla as well. (Insert joke about BDSM here.)


June 29, 2007

Moving back

Today, I failed to transfer all my stuff back from Coventry to Derby. I’ve been making repeated trips over the past week (ignoring the CompSoc LAN, alas), so tomorrow I’ll have to go back and arrange a taxi, I think. I have far too many possessions.

This evening was my stepmother’s parents’ 50th wedding anniversary, so the extended family went out for a meal. The food was very nice, and there was a piano being played next to us – so we got to play ‘name that tune’ for the whole evening. I ate far too much, I think.

So, back in Derby. My main concern at the moment is that my laptop does not connect to the wireless network from the top floor successfully – this prevents me using the internet from my room, which would avoid waking people up in the middle of the night, I think. My current thinking is that I might be able to modify the firmware on this Linksys WRT54G we have, which has two fairly good antennae, and turn it into a point-to-point relay thing.

Meanwhile, I want to settle down with all my belongings, start looking for a job, and actually get some spare time back to work on things. DebConf was reasonably productive, but there are a couple of projects hanging in the air at the moment.

Also, when I’m in Derby I start paying more attention to the news again. Gordon Brown and the new cabinet look quite interesting.


June 26, 2007

Single–handedly, quite literally.

Today (i.e. Monday), I caught the train back from Edinburgh. An initial plan to alight in Derby was foiled by the fact that the train chose to go via Carlisle and Crewe instead. Still, I made it home to Coventry.

On the way, I mostly packaged ircservices for Debian with one hand, by reading the debhelper manpage and studying a couple of other packages. It needs a patch or two for FHS compliance, and some testing.

Rant Of The Day

Looking at my desktop usage, I have a horrible UI problem. I use irssi for IRC a lot, because running on a remote server in a persistent screen session is very handy. However, this means I have to poll the screen for new messages, rather than receiving notifications or window highlights of some kind, as I would with a new instant message. To fix this, I could use xchat or xchat-gnome, which is fairly usable for the most part – but then I would probably have to set up some kind of bouncer (like irssi-proxy), and I’ve still not got around to it. Argh.


June 25, 2007

Mein armer Arm

Today was the day after DebConf. Early this morning, I wandered around Edinburgh with Pixie and daven – it was epic, if mostly unbloggable for fear of prosecution. Not much sleep.

After checking out of the hostel at 9am, we went up to Teviot to help with clearing up. At this point, I made the mistake of slipping on some rain-soaked decking, twice. The first time, my phone was damaged; the second time, my arm was damaged. I got sent up to the hospital, and was given some X-rays, a blue sling thing to match my fading hair, and a bunch of painkillers. It might be broken, but I won’t find out until I go to Derby tomorrow. This may prevent me from turning up to CompSoc’s LAN this week in any meaningful way, as I am currently typing one-handed.

In the afternoon I caught up on sleep, then went to an Italian restaurant for dinner with a bunch of Germans. (They’re quite entertaining.) I’m typing this from a slow wireless connection in a pub down the road, where we’re all sitting around drinking coke.

Yes, also, I have mislaid my phone charger; don’t expect me to be sending too many messages for a day or two. This, combined with my crushing the antenna with my upper leg, might be the excuse I need to update my five year-old handset.

EDIT: This was really from Sunday. It was pointed out to me that it was “der Arm”. If the wireless weren’t so bad, I would have looked it up. Also, I knew the translation for “arm”, honest.


June 23, 2007

Collectin ur garbage

I’ve swapped my function pointer problems for threading/garbage collection problems. Gragh.

In other news, pancakes are great.


June 21, 2007

Drinking, dancing & debauchery

Yesterday, Nattie and I baked chocolate chip cookies, using the recipe from the English version of the Wise Guys song. We took them along to the night venue – they tasted pretty nice, and hopefully we’ll be repeating that experiment sometime before the end of DebConf.

I’ve been working on cleaning up some of the work I’ve done, and sending it back to GNOME’s bugzilla. I fixed a second bug that I was confused about (by talking to lamby persistently while thinking), so have nearly got all the GUI bits out of the way.

DebConf7 Ceilidh

This evening, the drinking occurred courtesy of Sun Microsystems, and the pizza was paid for by Google. They rock. Currently everyone is at the Ceilidh, but it’s pretty exhausting stuff.


June 19, 2007

DebConf talks start

I haven’t been blogging as much the past few days, suggesting I’ve been busy. It certainly feels that way. DebCamp finished on Friday – the place has been noticably busier these past few days.

For Debian Day (Saturday), I sat on the front desk for twelve hours or so – it’s a cunning way to meet people, and I earned a free volunteer’s T-shirt for it all. The free T-shirt count is up to three, now – sponsor-tastic.

My blue hair is causing lots of people to speak to me, which is great. Some woman with a camera in Edinburgh took my photo, saying she was entering a competition run by the National Portrait Gallery. Outside the hacklab yesterday, someone random offered me the end of a cigarette, which my friends later informed me was probably a joint. Sadly, I’d already declined.

Sunday was the first day of DebConf proper – I went to a few of the talks. Mark Shuttleworth showed up – I’ve got photos of him talking to Sam Hocevar, but haven’t thought of a caption. (Aside: SELinux looks interesting.) In the evening, it was misty:

Edinburgh Castle

Today I slept all day, then made up for it by finally fixing the horrible pointer bug that I’d been worrying about for three weeks. Woo!


June 16, 2007

Can I has hair dye?

My hair is now blue. That is all.


June 15, 2007

More front–desk work

Last night, I had a fried mars bar, which was interesting. For health reasons, it was shared between several people.

Today, I’m sitting at reception, welcoming people to DebCamp, handing them their badges and meal tickets and so on. Today, the building has been really busy, because it’s a university open day. There are lots of sixth-formers wandering around.

Just now, a Debian banner was put up:

Debian banner at Teviot

Hopefully all the people arriving tomorrow for Debian Day will be able to find their way here.