Is there a guide somewhere to making a new Ubuntu langpack, one that isn’t mainstream and that can live in your PPA? Someone asked me whether such a thing could be built for en@shaw (i.e. English written in the Shavian alphabet), and since I have tools which can convert .po files automatically I can’t see why it’d be a problem. I don’t think Launchpad will ever want to support en@shaw as such, but I can’t see a guide anywhere to building these things– it’s clearly more than just sticking .mo files in a .deb, because something needs to create the locale and so on. There must be some standard way!
Category: planet
Two brief questions
- Is there a simple way to have a pixbuf or pixmap or bitmap which contains two colours, and when I render it it will have one transparent and one the fully opaque colour I want? (I would use the same image in different places in different colours– like a stamp in TuxPaint, only always monochrome). I suppose I could use GdkPixbuf and actually modify the pixel data before I output it (if transparent, leave it; else set to desired colour), but is there a more elegant way?
- What’s the name of that program that draws a graph of another program’s startup time (and has nothing to do with valgrind)? You know, it makes one tall column representing the passage of time, and coloured lines coming out at angles telling you what happened when.
Not the most productive day
Happy birthday to John, who is wonderful.
Yesterday was not the most productive day. First of all, I overslept, and when I woke up I found it didn’t matter so much because the heavy snow had brought the net connection down and there was no bugzilla or IRC. So I hung around the house a lot and didn’t do much, although I did find a way to save a quarter of the time it takes to register a window’s properties. On the other hand, that’s only an average of 44μs saved. On the gripping hand, it makes the code cleaner. Anyway, a friendly bloke from Comcast just turned up and climbed the telegraph pole to fix it, so we’re all back and lovely.
I was also so annoyed at the CPAN module Lingua::Phoneme requiring a database installed even just to test it that I rewrote it using Berkeley DB. It turns out to be less portable than I thought, but Adam Kennedy has explained to me three ways this can be fixed, so I’ll get on that soonish.
Someone bought me a copy of Gareth King’s Intermediate Welsh Grammar addressed to “Thomas Happy Birthday Thurman”. Thank you, whoever you are, and I would like to know who you are!
Fin has been painting watercolours of Katie and other people: Katie in a corset, Katie again, Sandra, and bifemmefatale.
Someone I know who is friendly has started an interesting blog about Bolivian politics.
“No, honestly”, said God, “I really do want you to play Free Bird.”
And finally, Nerd Merit Badges. There should totally be a GNOME badge.
The Metacity blog, again
This is your semi-regular reminder that you should all be following the Metacity blog if you want to know what’s going on in the Metacity world. (Some people want to know why the Metacity blog isn’t on Planet GNOME. It’s because Planet GNOME is for people, not projects. It does appear on GNOME News. I know some of you have said there should be an exception, or something like that, but I’m not the person to complain to.)
Yesterday I posted an idea about getting down to zero bugs in the tracker by this time next year. It could be sooner, if we have more help. Many of the existing bugs are squibs, or “why don’t you add this feature to Metacity?” bugs, and rather than just saying “no” to a bunch of these myself, I’ve decided that for the next few weeks we’ll post about one squib a day for you to argue over. This is not an election and the maintainers still have final say, but your opinions are always interesting. The first two have already been posted: cloning Exposé, and live previews in the alt-tab switcher.
And there’s also all the other regular features about current issues in window management, blue sky ideas, letters pages and the Metacity Journal, which is produced by a script and then hand-edited. I may make the script public when I’m a bit more sure of its stability. Would your project like to use it?
Photo © Trepelu, cc-by-nc-nd.
Is tag
There is a kind of IRC bot called an infobot which remembers when you say “Perl is wonderful” and can repeat it back when anyone says “What is Perl?” Yesterday night Ande said something which gave me the idea of doing the same thing with Twitter, and a few minutes’ coding and a day’s running over the feed produced the result you see. It’s quite interesting to come back to every so often. If I feel like it I may make it so it refreshes every hour and excludes tweets that have come up before, and has RSS feeds, and maybe has a page for each subject so it becomes a sort of twitter-wiki.
(The entries at the top of the page are the most common words which come before “is”, getting less common as you go down the page. Only the first five or so tweets for each tag are shown, and newer ones arrive at the start knocking older ones off the end. The links go to the relevant tweets.)
David Rice Atchison
Zachary backery,
David Rice Atchison
Made (for a day or so)
National head;
“If you should want me,” he
Somnambulistically
Murmured, “pro tempore,
I’ll be in bed.”
Sunday, March 4, 1849, would ordinarily have been the first day of the presidential term of Zachary Taylor, but he would not be sworn in on the Sabbath, so his inauguration was moved to the next day. It was said at the time and often since that David Rice Atchison, who was then president pro tempore of the Senate, was president for that single day, since the term of the previous president (Polk) had clearly ended, yet neither Taylor nor his vice-president (Fillmore, later president) had yet been sworn in.
There is here a confusion between who is acting as president at a particular time, and who is actually president. When Bush delegated responsibility to Cheney on July 21, 2007, while he was under general anaesthetic, Cheney did not therefore become president for a few hours. Until 1967, there was some doubt over whether you became the president even by being the vice-president when the president died, or just acted as the president until the next election; in that year, the 25th Amendment made it explicit that the VP becomes the new president. CBS is therefore incorrect in stating that Biden was president between the moments of his own oath and of Obama’s.
(The question of whether Taylor or Atchison was president on that Sunday is easily answered: either you need to have taken the oath in order to be the president or you don’t. If you do need to, then Atchison was never president because he never took the oath (and either there was no president or it was still Polk). If you don’t, then Taylor was already president and Atchison couldn’t have been.)
Photo of Atchinson’s gravestone by AmericanCentury21, GFDL.
Weekend stuff
This last weekend we met up with Amy and John in Philly and Fin got pierced and so did Amy. We went back to their house and met their new kittens. Amy and John gave me a Christmas present of some Lush things and a Storyhill CD, one of the new ones, and to all of us a game called Quelf, which we played on Sunday afternoon. Later we went to Newark, the one in Delaware, and hung around in bookshops and board game shops. Also, there were cupcakes. It’s been a happy weekend.
Yoruba, Hausa and Igbo update
During all the discussion on the gnome-i18n list about merging these Nigerian languages, Chris Murphy has discovered that the licence information in the RPMs says they’re GPL. So the translations which are GPL can be merged. So I have:
If you speak any of these languages fluently or know someone who does, please encourage them to help out with translation.
To the person who wanted to work on a Tiv translation: have you done any more on this? I’d love to give you any help you need setting up a translation team. (Joining gnome-i18n and discussing your ideas there would be a good step.)
Photo: Bowl with figures, by Olowe of Ise (c.1875-c.1938). Photo by cliff1066, cc-by.
Show tweets in Twitux
I like Twitux, but it bugged me so much that I get notifications saying 3 new tweets and not what the tweets ARE that I spent a few minutes last night patching it. I would attach this to the bug tracker but it doesn’t seem to have one. The only obvious problem with the patch is that it displays tweets in the order they appear in the XML, which is usually newest to oldest within one set of updates, so if your friends are having a conversation it may appear backwards within one update. I didn’t think this was enough of a problem to fix it for what I wanted.
Any other recommendations for good Twitter clients, btw? Is Twitux even maintained any more?
[and don’t get me onto the subject of how relieved I was to delete code saying _("You have %i new %s.")…]
I’m imagining Patrick McGoohan waking up in the afterlife and discovering it’s a small village where he has no idea what’s going on
-6°C today. I walked ~5km in this weather to the gym and back; I hardly needed to work out after that. (No way was I leaving there straight after a shower.) Fin made lunch and it was lovely; not much else happened except that Riordon discovered interactive fiction, and so I received this IM:
riordon: hello
riordon: I love you
riordon: <3
marnanel: <3 I love you too
riordon: can you makeit so i can play on zork