Older blog entries for Ankh (starting at number 190)

Going Home

I'm about to return to Canada after being away for a couple of weeks. I went to Pisa, where the slowly-falling-tower lives, and on the way Al Italia lost my bag. It arrived a day or so later. We had XML Query and XSL Working Group meetings in Pisa, and then I flew to Glasgow, where British Airways lost my bag. I've been at the Text Layout Summit, which was interesting and I think useful. It was co-hosted by aKademy, the KDE conference, although I didn't get to any of the aKademy sessions unfortunately. Tomorrow morning I go home, but my bag still isnt' here. Maybe I can fly naked. Calling the British Airways lost luggage number has been a very expensive and unpleasant affair: I think I've spent over an hour on hold, and I'm using a Canadian mobile phone with both trans-atlantic and roaming fees, yay. I kept hoping the bag would arrive soon and didn't go and rent another phone. Sigh.

HarfBuzz is interesting, and it appears that it will be used by both Qt/KDE and Gtk+/Gnome as the text shaper. So applications in the open source/Free world will start to have access to more advanced AAT and OpenType features, and internationalization will take a big step forward.

I'm also still working away at my scans from antiquarian books, and at least partly as a result, the GIMP image editor is now significantly faster: I routinely work with images that are hundreds of megabytes in size, say, 10,000 pixels on a side. The GIMP developers are very receptive to (sufficiently specific) comments about performance. And today someone offered to help with lq-text, the Unix text retrieval package that I first released in 1989. So that's pretty cool. Oh, and at LGM2 in Montreal someone offered to donate some scans of some old Russian books of alphabets, but unfortunately I lost the person's address (an SK1 developer from the Ukraine) so if you're reading this, sorry, please email me, e.g. liam at holoweb DOT net!)

I need to remember to check back often enough to see if people reply when I do talkback stuff. Hmm.

Tomorrow I take the train to the Libre Graphics meeting in Montreal. After that I'm off to the W3C Advisory Committee Meeting and then www2007 in Banff (near Calgary, not to be confused with Calvary)p>At both LGM and WWW2007 I'll be talking about what we're doing with XSL-FO 2.0. XSL is a way to format XML documents, for example for print or screen. There are two parts, XSLT and XSL-FO. We just published XSLT 2.0 this January (at the same time as XML Query, as they both build on XPath 2.0) and now we're working on XSL-FO 2.0. It's pretty exciting, as we're considering standardising a whole lot more sophisiticated layout stuff than things like CSS give you, much of it stuff that people have been doing for hundreds of years with print and that are understood pretty well. So I'll show some examples of the sorts of things we're thinking about, and talk about how people can get involved.

Csv, yes, it's a big improvement, but from the perspective of graphic design and typography (the user interface of text and communication, if you will) there are still (as always, it seems!) some improvements that could be made. The most obvious to me is that the counter box is not aligned with the other boxes, and alignment is lost elsewhere. I'd get rid of the "Options" heading since the entire dialogue box is about choosing options such as destination folder. I had a quick go at improving it, I hope you don't mind:

EOG save-as dialogue

It raises a HIG question that's been endlessly and uselessly debated... The alignment of the labels in dialogue boxes is always difficult, as there's no single approach that works in all situations. It's similar to the problem of designing a table of contents for a book.

The best guiding principle is of proximity: put related things nearer to each other than to other, unrelated things. For example, a section heading should be nearer to the text it heads than to the preceding section, something Web browsers by default tend to get badly wrong. So, the label should be strongly associated with the value in most cases.

Now, the values are encased in vast and unavoidably ugly boxes which are the most visible things in the design. So we try to turn an ugliness into a strength by aligning them all, to give strength to the design. But if the value boxes are aligned vertically and the labels need to be near them, in a left-to-right world our choices become putting the value to the right of the label, or right-aligning the labels. In a right-to-left environment obviously the choice is the same, but in the other direction.

Of course, other factors come into play. One is familiarity with badly designed dialogue boxes that are already out there. Since familiarity is the most significant factor in comprehension, this is very important, and may be enough of an argument in itself to make an ugly dialogue box that flies in the face of what we know about human perception, but works better because people are accustomed to it. The use of Fraktur typefaces in Germany might be counted as another example of this.

Another factor is whether the labels or the values are the primary items of interest to the user, and this of course varies depending on the dialogue, the user, the application, and also the user's familiarity with the dialogue. I love Alan Cooper's idea of designing for the "perpetual intermediate" and assuming that people are only vaguely familiar with the dialogue, if at all. In that case the ability to scan down quickly and relate labels and values is most important, leading again to the right-aligned version. But sometimes people need to compare labels, or the labels perhaps are sorted alphabetically in a large list, and then left-aligned labels would be best, with the values to the left of them. But the HIG and I disagree in this area I think.

Oh, I should mention that I'd be tempted to treat the filename preview differently, since presumably it might be arbitrarily long and not fit in the dialogue box, but I don't know enough about the possible forms they may take to give a good suggestion I think. or maybe the dialogue resizes as they grow.

dwmem2, you're missing something about GNOME I think. The idea is not to get rid of all configurability, but to get rid of useless configurability (e.g. whether the rate of acceleration of the panel when it auto-hides should be linear or quadratic). That is, remove useless features without impacting functionality, and to get to a point where most things work without needing to be configured.

How well GNOME is succeeding at this can be argued, not least because it's very subjective, but I see it as a big improvement, even though sometimes I miss configuration options that I used to enjoy :-).

[oops, had to turn computer off for a storm and then forgot this; hope the talkback stuff still makes sense]

Back home from a trip to Raleigh NC. I got my paper written, although I'm not happy with it. Next is to get Linux running on this desktop PC I got in December. THe only Linux distributions I have laying around don't grok the ATI X1300 video card, and the monthly bandwidth cap here makes me reluctant to download one. So ordering a CD is probably easiest, and it's a good way to support Mandrive if I order theirs.

apenwarr, interesting comparison. I like your footnote: Canada is oh so often a compromise between US and Europe, it seems. The strength of the "old boy network" varies from country to country, but even in the UK the pull of the college tie, of the university scarf or the school socks (i.e. you were at the same educational establishment) is strong.

salmoni, you can get adaptors for M39, although don't expect auto-focus :-)

Yes, "bokeh" can be a lot of fun; I've always been fascinated by depth of field effects.

haruspex you're right, I meant aperture, I was oversimplifying. But the point of the f/1.8 is not only to maximise shutter speed, but also to minimise depth of field, so that the subject is in sharp focus but the background is blurred. It's especially popular with portraits.

OK, posting a diary is a good way to procrastinate on writing a paper for a conference.

I bought two new canon camera lenses yesterday, here in Raleigh (at peace camera on Peace Street. I got the 17-87mm with image stabilisation (IS) and also the 50mm f/1.8 portrait lens.

It's interesting to look through the viewfinder of an SLR camera with an image stabilisation lens system: what ou see is the reduced-shake view, so as you move the camera the view seems to jerk slightly or to lag a little, as at first the camera (or lens) corrects for the motion. It's slightly nauseating but I'm getting used to it, and the sharper pictures are definitely worth it.

The 50mm lens supports f/1.8, which means the shutter of the camera can open very wide, letting in a lot of light but at the same time giving a narrow "depth of field", so that someone's face can be in sharp focus but the background be entirely blurred. Makes for good portraits but does not have the IS feature, so you have to hold the camerra very steadily or use a tripod.

I'd been planning on getting the lenses on eBay, but Peace Camera had them used at lower prices than I've generally seen there, I could try them in the store, there was no shipping fee, and of course it was less worrying. The Canon lenses go on ebay like hot cakes. Actually better, as I don't think heated baked goods are suitable for mail order purchase :-)

chalst, introducing or enforcing more strictly any sort of gun control will (of course) almost certainly increase gun-related crime, because anyone with an unregistered gun is now committing a crime, even if they don't fire it. Statistics about crime are awfully hard to compare!

North Carolina — I've got meetings next week hosted by Red Hat in Raleigh. A participant in the W3C XML Query Working Group recently changed affiliations, and I'm hoping that we'll see Red Hat get a little more involved in some of the "enterprise-level" XML stuff that's going on. There are a number of open source XQuery implementations that are pretty good, by the way. Maybe I'll also get a chance to take some photos. Any student willing to have his ankles photographed, let me know :-)

loui, I always liked Pat Lashley's MonaEyes program on NeWS -- it was the Mona Lisa painting, but the eyes followed the screen pointer. But you're right, the motor-driven xeyes is even more fun! Also, clinical studies have suggested that people get better results in exams if they do them barefoot. Really. The theory I heard back in 1982 was that shoes make the feet too hot, and this encourages the blood to flow into them, making them pink, and making less blood available to the brain. Whether that's the correct explanation I have no idea, but study barefoot!

A couple of years ago (ouch) someone (Rich Salz) had a go at making a verion of my text retrieval package which used autoconf. Unfortunately this broke the code, and I started to have another go but, as with pretty much every time I have tried in the past, I didn't have more than a couple of hours to spend on it in any given month, and that's nowhere near enough time to do anything useful with the GNU configure packages.

If you're interested in helping out (and I'll ask Rich this too) or if there's a better alternative these days, please let me know (liam at holoweb dot net; mention the colour of your socks in the Subject for a faster reply :-) )

I've also been working on making the package play safe with UTF-8. It's not far off, although there are problems with the curses-based viewer and front end (I might just abandon the front end but the viewer is maybe useful). I know there are going to be problems with RTL/LTR indicators and snippets, though. Sigh.

Also finding time to work on my pictures from old books, inbetween a W3C XSL FO Workshop, XQuery and XSLT 2 work and so forth. Plus trying to get the house painted!

Sorry to see Advogato go; it might be over the top to say it saved my life, but, when I first found it, I was working in a very corporate environment where it had taken me six months to get Internet access. So it did save my sanity. Plus I got to meet some really interesting people, both here and in person.

I'm not going to say I have a blog somewhere else. I tried starting an XML blog and there's also an RSS feed for my pictures scanned from old books.

I'd consider hosting Advogato but my Web hosting now for the most part is supported by ad revenue, and I don't think putting ads on Advogato would be appropriate.

House - We need to get the house repainted, but first we have to repair the board and batten siding on the house; I wrote a short note about the process. I hope soon I'll have enough articles about how to do house stuff that I can link them all up together and make something useful.

Open Source - I was at TypeCon in Boston last month, talking with various people about Web font embedding. This week I was on a conference call arranged by Waldo Bastien of the OSDL DTL Technical Board, totalk about fonts for Linux.

Open source operating systems happened largely because programmers used them. In other words, the system had to be one that people wanted to use for programming, so that programmers would naturally gravitate towards it.

Similarly the various Free and open source desktop environments are getting more useable (especially Gnome I think) because of a focus on their (mostly, but not entirely, non-programmer) users.

I'd like to see Linux be a solid platform for the majority of graphic designers. For that to happen, we need quite a few pieces of infrastructure. Some would say we also need a number of applications, such as PhotoShop, InDesign and Quark Express, Illustrator, Freehand, FlightCheck, impositoin softweare, colour management, and of course font management such as Extensis Suitcase. In the open source world most of those applications are replaced by Free (or at least Open) ones, or become facilities provided by the operating system or shared libraries.

For fonts, we need better user-level management, such as the ability to sort and enable/disable fonts by user-defined groups; we need system-level functionality, such as the ability to manage multiple verisons of fonts; we need application and library-level functionality, such as glyph choosers, better support for more scripts and for mixed writing directions, and user interfaces for choosing fonts by script and language, or by glyph coverage.

There's a lot to do, but there are a lot of people interested in making it all work.

Images from old books - I'm up to over 1200 images now, and thinking of spending time on redesigning the site a little, on improving navigation, and especially on improving the metadata to offer more ways to search.

My Web server has, under my home directory, over 76,000 HTML files, so it might take a while to deal with them, even though most (I hope) are generated from XML by scripts, mostly Perl, XSLT or XQuery, or some combination.

I went from Extreme Markup, an XML/markup conference in Montreal, to TypeCon, a type and typography conference in Boston. From people many of whom think that style is just irrelevent rubbish that gets in the way and it's all about to content to people many of whom think content is just irrelevent rubbish that gets in the way of the design :-)

Both conferences were packed with thought-provoking presentations and cool people. TypeCon had more naked ankles. The conferences overlapped (ironically since a major topic at Extreme is computer representation of overlapping and interwoven herarchies), so I missed the start of TypeCon, but I was there in time for the trip to the Boston Printing Museum where there are also some really kind and interesting people, and where you can see literally hundreds of thousands of drawings for (mostly Linotype) typefaces, as well as old presses, a working Linotype machine, several non-working Monotype machines, visit the library, and of course sign up to be a Member :-)

Came back to Montreal by 'plane, now on the train to Belleville (via Kingston) and thence 45 minutes' drive home. I hope I'll find time to work on helping pango/gtk+/fontconfig to cope better with Expert sets and opentype features, although it's more likely I'll do things like send fonts and mockups to developers so they can understand the problems: sharing understanding is more useful than sharing code, sometimes.

Just got back from a business trip to Paris, and on the way home stopped off in Toronto; you can see my snapshots from the 2006 Toronto Pride Parade.

In Paris I had a long conversation with C. Michael Sperberg-McQueen about XML-aware text retrieval. If I could free up a few days I could make my lq-text package have some XML awareness. I might try this in July, since I'm well overdie to make a new release. If that works I'll try using it on my site of pictures scanned from antiquarian books, although the existing XML-Query-based search works pretty well as a starting point.

prozac, one problem with checking for "legitimate" email by eye is the large number of spam message with forged senders. We (W3C) routinely get listed on spamcop's database for sending spam, for example, because of such forgeries. Using SPF, where available, can help eliminate most of these forgeries, although SPF is not without other problems. It's not very friendly to post real email addresses on advogato by the way - the spam crawlers will soon be flooding those addresses even if they were previously not public, so it sets a bad prececent. Use numeric character references to hide the @ might help, although advogato might undo that during processing.

sktrdie, no, GNOME is not a desktop environment created by hackers for hackers. That would be masturbation. It is a desktop environment created by hackers (programmers) and many many other people, for use by both the people who created it and many many other people. You don't get much Open Source kudos for scratching your itch. You get kudos for scratching other people's itches.

181 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!