Thursday 25 August 2005

I’m really enjoying Bazaar 2.0 as compared to GNU Arch. There’s a lot of things I could say about Bazaar 2.0 as version control, but let’s leave it as ah, that’s why I originally liked the idea of distributed version control.

Now that that’s out of the way, I have something more pressing to communicate! Bazaar 1.0 has a commandline program baz, pronounced like the first syllable of bazaar (I note in passing that until I saw that commandline, I thought that it was called ‘bizarre’ and am still disappointed). Bazaar 2.0 will have bzr. Now, people, you can’t seriously be expecting me to pronounce the latter as bazaar can you? C’mon, … try saying it. bzr. bzr. BZR. It doesn’t quite have the Australian neutral vowel in it, but I’m determined and ready to fight for it to be pronounced buzzer. You can have all kinds of really nerdy jokes about hitting the buzzer. Now get with the program.

The cut direct

Rusty Russell is not happy about John Quiggin’s embrace of Creative Commons’ Attribution-NonCommercial-ShareAlike 2.1 Australia License as a kind of a good default for allowing other people use of your creative work.

Russell slams Quiggin:

That Quiggin takes this path despite training as an ecomonist [sic, original author’s emphasis] demonstrates either a lack of deep thought on this issue, or that he uses economics to justify his leftist dogma, rather than to examine issues. (This paragraph was about as polite as I could make it).

I can’t say that I’m too much of a fan of the phrase “leftist dogma.” It’s about as meaningful to me as saying “fropbutz dogma” β€” ie I tend to prefer attacks on political positions on a particular issue rather than attacks on them because of other political positions that they’ve been known to be associated with. (What are the pragmatics of the word ‘leftist’? I read it as having exclusively hostile connotations, that is, that a position or group of positions is only described as ‘leftist’ β€” as opposed to ‘left’, ‘socialist’, ‘communist’ β€” by people who oppose it.) To be fair, this is what the rest of Russell’s piece does, I’m just having a go at the ‘leftist’ ending.

But that wasn’t what struck me enough to write an entry about it. I was struck more by the emphasised part: “despite training as an economist”. This strikes me as a cutting line indeed. Quiggin’s relationship to economics isn’t that he trained in it: it’s that he is an economist. Russell is implying that his economic positions would be foolish from someone with an undergraduate major. It would be like saying that Russell is a remarkably bad coder for someone who’s met a few kernel developers.

Thursday 14 July 2005

Moments like this, it’s better to be Fred

PZ Myers highlights a letter to Nature that suggests that women scientists need to have about 2.5 times (250% if you like your numbers big and round) more impact as measured by number of publications and prestige of publication as male scientists to get evaluated as equally competant. (At least, in the middle of cohort, but it’s not so much better at the top: you’ll just outrank the bottom cohort of men.)

That number is amazing. And, well, frightening.

Planescape: Torment

I used to own this game, and now I want to finish it and I do not seem to own it any longer. C’mon, I recently gave away a film camera I’d kept unused for something close to ten years. How can this game have disappeared from my messy pile of game boxes?

Information overload

Just got back from 9 days of holiday with no ‘net access. No discernable withdrawal to report, although it’s possible I’ll now get Barrier Reef withdrawal in Sydney.

Given that I now have an enormous backlog of email and other info, if there was anything that required my attention I’d appreciate a special pointer. Otherwise I’ll skim.

Saturday 30 April 2005

Hackergotchi heads for LinuxChix Live

I’m planning to add the disembodied heads used by Planet GNOME and Planet Debian to LinuxChix Live.

They’re completely optional, but here are the specifications:

  • the head image must be of your face;
  • the head should be no larger than 80×80; and
  • the head image should be GIMPed up as per this page (see also the other Planets).

If you need help with turning a photo into a floating head, contact me and I’ll pass your request along to the GIMP course, who I’m sure would have some fun with it.

Use of a hackergotchi head on LinuxChix Live will be entirely optional, but they can be fun and it makes it all seem a bit more personal to have more than names.

Email them to my contact address on the LinuxChix Live site itself.

Hackergotchi heads for Planet Twisted

Thanks to Chris, who started the trend, we’ve tended to use child heads for Planet Twisted. This is kind of a tough ask because most people have to hassle their mother for cute baby photos, but if you can supply me with the lil’ Twisted goo, I can add it.

Stuff that I could fix myself

Some thoughts on usability from experiences of the last few days include: yum vs apt; and Arch with more grabability.

I tried to use yum to upgrade from Fedora Core 1 to 3 rather than walk ten metres to ask our operations staff where the CDs were. This didn’t completely break my system as I was informed it would, although I did end up trying to upgrade packages in sets of 10. I gave up because I broke X so badly that starting it caused the machine to reboot. But at least it was booting in the first place, which is better luck than James had going from Fedora Core 2 to 3. (My story ends with the CD upgrade by the way, which went fine.)

So, why was I doing this? First I’m used to Debian-like systems which are more fussy about having good upgrade paths (to be fair, they don’t usually support skipping a release like I was trying to do). And second, I’m used to apt.

Two things that apt does that I wish yum did too:

  1. When asked to upgrade some enormous number of packages, and two of the upgrades are set to fail due to dependency issues, apt will install the enormous number of packages, minus the broken ones, thereby avoiding you having to manually construct a list of packages which don’t appear to be broken.
  2. apt does not re-index the repositories every time you invoke it, it needs a special command. Very useful when you need to walk it through several steps (and I have to say, I’ve never had to do as much of that as I have over the last day, but that’s partly because the office mirror of FC3 is incomplete) and don’t want to waste thirty seconds on each step waiting for it to rebuild its meta-data.

I’ve also been messing with Arch. Well, I branched Planet again and I’m going to put my old changes in by hand, I can’t face walking it though 60 revisions while it tries to merge my old old old changes in. While I was messing with doing this, I felt clicky urges. I’m not a hugely spatial user normally, but I had a sudden desire to have a big screen full of colourful blocks representing Arch branches, and I would merge code between them by grabbing branches with the mouse and dragging them to the right place. I don’t have a good system yet for maintaining a mental model of what branches come from and should be merged into what points in the parent branch.

Ubuntu 5.04; Smarter than your average stick

Ubuntu 5.04

Released today. I upgraded my servers this afternoon. (It’s a personal thing, I love watching aptitude run.)

I’ll be interested to see how long I resist the temptation of upgrading to the next development branch this time. (For Hoary, I waited until upstream version freeze I think.) For my uses, Hoary hasn’t seemed to be a significant improvement over six-month-old Warty, although I’m told under the hood that it’s much nicer. Perhaps on the next cycle I’ll wait until the actual release… unless suspend starts working, of course.

Smarter than your average stick

During the course of the Twisted Sprint, Mike made a very useful suggestion about our documentation: that it should begin by defining its target audience. I’m going to try and do this across the existing documents eventually. Failing to do this in the past have resulted in some spectacular misunderstandings of when you can use bits of Twisted (at least one person has appeared on IRC thinking that enterprise is usable without knowing how to write a SELECT statement).

Later on in the weekend I briefed Jonathan (read: ranted at him) about what we need to do about the Deferred documentation with regard to targeting it at users who have never encountered asynchrony before.

The original documentation seems to have been written revelation style: gather unto me my friends, and I will free you from the heavy chains we have all laboured under trying to manage our own callback sequences: I give you the Deferred. (Cue weary lifelong developers crying in relief.) The actual users of the documentation (at least, the ones who complain about the docs) seem to tend more towards the “callbacks? wtf?” audience than the “at last the scales have fallen from my eyes, lead me forth” audience.

The upshot of this is that we probably need extensive documentation on the fundamental concepts of asynchrony. So far so good.

And then, just this week, a post to Twisted Web threw me another curve ball (I don’t know what the equivalent term would be if I were making a cricket analogy, sorry Andrew): Twisted (or Twisted-ish things like Nevow at least) have people pottering around with them who don’t really know much about concurrency. Or, quite possibly, don’t know anything at all about it.

This can be reduced to a target audience problem eventually: at what point does the documentation take the smarter than this stick position?

This angst brought to you by one semester’s worth of memories from teaching second year concurrent programming and having people ask each other in the tenth week of the course, completely mystified, why their GUI was freezing. Do get in touch if you want to write a pre-pre-Deferred document (or was that post-post…?) that is willing to discuss threading in detail, since, yeah, people will have to know when to defer to thread at some point or other.

Twisted sprint

I, like a lot of people, don’t have the art of taking photos of people hacking and making them interesting to look at. But, hey, photos!

It’s been a good weekend so far. Chris, Andrew, Andy and Tim really have been working on a virtual firesystem abstraction, although without the April 1st insanity. Last I heard the aim was to have a demonstration server which allows (virtual!) files to be uploaded and viewed over SFTP and FTP and viewed through Twisted Web at the same time. Andrew has been buried in the guts of FTP: the man has a long burn out time but he’s back in the game. I asked him for some attention about two hours ago and I’m still in the queue.

I added a few tests to bugs yesterday in an attempt to learn some trial, and converted a few demonstration code bits to automated tests. Today I’ve been much more idle than everyone else, but I did make a start on a documentation writing style guide that could keep me busy for years if I make the ropes tight enough.

Twisted sprint; Google spam, round 3

Twisted sprint

Andrew and I are flying to Hobart this evening for the inaugural Australian Twisted sprint. Sprinting will be competing with tourism a bit, but I’m looking forward to both, despite this being another weekend in which I am not sponging around on my beanbag.

Google spam, round 3

Seems Google’s business development people (or their cyborg stand ins — the mail has a reference number, so it’s possible it’s all handled by The Machine) were concerned I didn’t reply to their last mail. So, they sent a followup.

I sent the following in reply:

 On Wed, Mar 30, 2005, Google Crawl Coverage wrote: > Greetings, > > I just wanted to follow up with you to confirm that you had received my > previous email. If you are not the right person for this, perhaps you > could forward it to the appropriate person within your firm. > > Thanks. I look forward to hearing from you.  I received it. I've deliberately chosen to have a number of domains I run, including this, excluded from Google's index (and from many other robot crawls). It's not a site designed to be useful to casual viewers, and it isn't a commercial site so attracting extra visitors has no commercial advantage to me.  I'm concerned about this particular business development scheme of Google's -- what if every search engine sent me repeated queries about my robots.txt file? That would be very time consuming to deal with. I know the implications of its contents and deliberately chose them.  -Mary 

And hopefully that’s the first and last time I’ll reply to spam. Invoking the categorical imperative in that reply was silly anyway: much of the idea of a business plan is to do something that no one else is doing and hope that it doesn’t become a universal law.

Note to self

<spiv> Ok, another upgrade, this time for universe. This should be the last net connection-choking thing I do today.
<spiv> Uh, weird. It self-aborted mid-download.
* spiv lets aptitude just do whatever.
<spiv> Ah, fuck.
<hypatia> ???
<hypatia> *suspense*
<hypatia> ???
<spiv> dpkg segfaulted, and now the machine has hung.
<spiv> *sigh*
* spiv sysrq reboots.
<hypatia> Ew, suck
<hypatia> Maybe you should have done the whole thing at once??
<spiv> Possibly, but I wouldn't think so. Anyway, I'm fscking to make sure it's not like the weird error I saw on trogdor.
<spiv> Anyway, file this one away for next time you feel like computers only hate you πŸ™‚
<spiv> They hate everyone πŸ™‚

Consider it noted.

Later:

<spiv> Ah, kernel BUG during fsck.
<spiv> I'll try without the proprietary NVidia module, then I'll try vanilla 686.

Just for reference, he’s trying to upgrade an underclocked (long story) Athelon machine with a August 2004-ish snapshot of Debian sid to Ubuntu Hoary (as of today). Um, don’t try this at home… ?