公安相のことは

Friday 17 February 2012, 14:48

昨日は、カナダにツイッターに面白い日でした。しかし日本語の新聞は、それくらい記事を書きないと思います。これで私は教えています。あまりよい日本語ありませんごめんなさい。

今ある政党は、カナダの国会の上に君臨します。保守党が絶対安定多数です。でもたくさんの人は、その政党が好きありません。

最近与党は、新しい法案の提案しました。警察権を上げてインタネットの盗聴を作って法案んです。対決法案ですね。ヴぃっク・テーヴスさん(Vic Toews)と言う政治家は、その法案のスポンサーをします。公安相です。月曜日に、国会に、テーヴスさんは「[critics] can either stand with us or with the child pornographers.」と言いました。もじ公安相たちを支持しなければ、児童ポルノを支持しているということになりますよ!(@_w_deeさんの翻訳の介助ありがとう)英語のことわざは、「That's when the shit hit the fan.」です。たくさんの人は怒気になりました。

Testing with Autotools, Valgrind, and Gcov

Saturday 4 February 2012, 09:27

I only have limited faith in software testing, partly because of my lack of faith in software engineering in general. Most professionally-written code is crap, and the more people use "methodologies," the worse their code seems to be. I'm inclined to think that the best way to remove bugs from code is to not put them in in the first place. Nonetheless, writing tests is fun. It's an interesting way to avoid doing real work, and some of you might enjoy reading about some test-related things I tried on a couple of my recent projects.

SOPA/PIPA protest disappointments

Wednesday 18 January 2012, 13:40

As you probably know by now if you live under a rock and get all your news through the Net, several popular sites are protesting current US proposed Net censorship laws. I'm glad to see that happen, and I'm glad that a lot of people are paying attention, and I don't want to understate how glad I am of those things. But I'm also disappointed by a lot of what I'm seeing, too.

Distributed version control is not my favourite technology

Wednesday 11 January 2012, 11:41

Not too long ago a free software project I'm peripherally involved in decided it was time to replace its old and not broken version control system with something new and broken, and the lead maintainer conducted a straw poll of what the new system should be. My suggestion of "anything, as long as it's not distributed" was shouted down by the chorus of "anything, as long as it's distributed." Having lost the argument in that forum, I'm going to post my thoughts on why distributed version control sucks here in my own space where it's harder for me to be shouted down.

2011

Saturday 31 December 2011, 21:43

It's the end of 2011, and I'm writing this from my parents' home in Nanaimo, where I'm visiting over the year-end holidays. If you ask me how this past year has gone, I'd have to say it's been mixed. Some good things have happened; some not so good; and my current situation is what I'd call metastable.

Ideographic Description Sequences: some thoughts

Monday 19 December 2011, 15:14

I went through a bit of a crunch to get Tsukurimashou 0.5 out the door before my year-end vacation. With that done, and at least 99 kanji to do before the next planned release, I have a chance to sit back and think about some longer-term and spin-off projects. Here are some ideas on kanji searching.

UPDATE: A prototype implementation of the system described here now exists as part of the Tsukurimashou project, and you can check it out via SVN from there. Packaged releases will be available eventually.

Building a build for something weird

Monday 12 December 2011, 22:39

Here are some thoughts on the Tsukurimashou build system. You can find the code, and some documentation of how to use the build system, in the package, but this posting is meant to look more generally at some of the issues I encountered while building a build for something weird.

The thing is, Tsukurimashou isn't a piece of software in the normal sense, but a package of fonts. It's written sort of like software, using programming languages, but the data flow during build doesn't look much like the data flow during build of the usual kind of software package. As a result, although it seemed like using Make was the thing I wanted to do, the way I've written my Makefile doesn't look much like what we might expect on a more typical software project. Working on it has forced me to see the structure of the project quite differently from the way I'd usually look at software, and maybe some of the ideas from that can be applied to other things.

On begging

Wednesday 7 December 2011, 18:06

December 2011 on Earth, but it is eternal midmorning on the third layer of the Astral Plane. THOMAS OF AQUINO, NICHOLAS FLAMEL, and K'UNG FU-TZU sit at a card table, in that order clockwise around the table. At the fourth, otherwise unoccupied, spot sits an ominous blue-painted Chinese porcelain ginger jar.

Code refactoring by combinatorial optimization

Monday 5 December 2011, 14:56

I encountered an interesting problem on the Tsukurimashou project recently, and some inquiries with friends confirmed my suspicion that if anyone has solved it, they've done it in a language-specific way for ridiculous languages. It appears I have to solve it again myself. Here are some notes.

Air Canada's bug letter

Saturday 29 October 2011, 12:15

I got the bug letter from Air Canada in response to my complaint about the Typhoon Roke aftermath. They say they "regret" what happened, but they very noticeably do not acknowledge any wrongdoing at all on the part of any of their employees; they claim what was done was in accordance with their policy. They spend a few sentences chiding me for not giving them a cellular phone number - as if it were somehow my fault that they didn't keep me informed, and as if that had any relevance to the lack of announcements in the actual airport terminal - in the same paragraph where they explain that they would only have phoned me anyway if the cancellation were announced at least three hours in advance of the scheduled departure, which was not the case here. They conclude by offering me a discount code good for 15% off on a future booking. This isn't an apology because it lacks the critical defining features of an apology: it doesn't acknowledge that what was done was wrong, and it leaves open the possibility of doing it again.