Search Results: "uli"

1 February 2006

David Nusinow: Halfway Point

Long time no blog I guess. Things haven't been that exciting on the Debian front for me. Many of you may have noticed the Xorg -8 packages just hit unstable, complete with minor annoying debconf bug (fixed in svn now). That work was almost all packaging bugs, most of which are now taken care of. All those changes apply to the 6.9 packages too, so it's like I'm getting a two for one. This means that the 6.9 packages will be pretty well cleaned up on the Debian side of things when they actually ship. Thanks to Sven Luther, Julien Cristau, and Ari Pollak we can build 6.9 for powerpc, sparc, and amd64 (although there's currently an unrelated bug on amd64 stopping us from building any X packages there). Hopefully we can get the remainder of the arches ready to go so that we can drop 6.9 in to unstable as soon after it's released as possible.

One of the very cool changes that's come about lately is that David Mart nez Moreno has taken up the torch for xterm and produced a package for experimental. xterm never really lived at X.Org, and now we're getting it from the real upstream source. So thanks to David we'll have an up to date xterm ready to go with 6.9. It's sort of a little taste of the modular tree: if you need to get an xterm update for some reason, then you don't have to update all of X in the process.

Terrifyingly, I've reached a point where I can start working on the modular packages the moment I sit down to do Debian work next time. I'm going to repeat what I did with 6.8 and start with the Ubuntu packages and work from there. Now that I know a little more about how the whole thing is laid out I feel a lot more confident in what I'm doing. Last time it was really by the seat of my pants. The scariest thing for me is that I finally have to break down and learn the autotools, which is something I've managed to avoid until now. That should be the biggest hurdle for me in moving the modular packages forward. I have no idea how long it'll take, although history has shown that my time estimates are about 1/3 of the time that it actually takes to do a thing :-) The first third of what I set out to do (get Xorg in to Debian) is finished. The second third will be when 6.9 is in testing. The final third is when the modular packages that I'm happy with land in testing. It may take the entire etch release cycle to run this marathon, but I feel like I've reached the halfway point around now, with 6.9 stabilizing.

I've started talking with people about where to go after all that. Once the Debian packaging work is done, I want to start working on the Xorg codebase itself, preferrably on making the xserver a little nicer on the user. I have a project or two in mind, but I don't want to start on them until Debian's X packages are well in hand for the forseeable future.

31 January 2006

Edd Dumbill: GObject subclassing in Ruby

Thanks to everybody who wrote in with suggestions following on from my initial Ruby GNOME investigations yesterday. After talking at cross purposes for some time in a bug report with a Ruby GNOME developer, I was pointed to a good example of how to do what I wanted: subclassing a GObject in Ruby. This is something that the Mono Gtk# bindings do so well, I'd forgotten the required mechanics. Here's a simple subclass of button. I've highlighted the required magic in bold.
class MyButton < Gtk::Button
attr_accessor :hitcount
# tell the GLib object system this is a new type
type_register

def initialize(text)
super("label" => text)
self.hitcount = 0
end

# rather than overriding 'clicked', we must
# override the signal_do_clicked method
def signal_do_clicked(*args)
self.hitcount+=1
super
end
end
The type_register call registers the new class with the GLib type system (something the Mono bindings do for you automatically).  The second key was knowing the name of the default signal handler, which turns out to be of the form signal_do_signalname. So, to follow up yesterday, I hadn't found a bug, merely a gap in the documentation. Thanks to Masao Mutoh for taking the time to answer my questions. For comparison, here's the same implementation in Gtk#. There are pros and cons of both languages. Ruby's succinct attr_accessor is balanced by the neat GObject-aware subclassing and the constructor inheritance of C#.
class MyButton : Button  
private int hitcount;

public MyButton (string text) : base (text)

hitcount = 0;


protected override void OnClicked ()

hitcount++;
base.OnClicked ();


public int HitCount
get

return hitcount;

set

hitcount = value;


30 January 2006

Edd Dumbill: Beginnings with Ruby GNOME

A while back I started porting the GTK examples from Mono: A Developer's Notebook to IronPython and Boo, the results of which are available in my Subversion repository. Although I've not finished that task yet, I thought I'd investigate the state of the Ruby GNOME bindings by porting those same examples. They have the advantage of increasing gently in complexity. Before I go on, you can find the work in progress posted in the ruby-gnome/monodn branch of my Subversion repository. Now for a few observations. At the basic level, Ruby GNOME has a lot in common with all the other GNOME bindings out there. One distinguishing feature however is signal handlers, which take a Ruby closure as an argument. Look at this handler for closing the window, for example:
w = Gtk::Window.new("My Window")
w.signal_connect("delete_event") Gtk.main_quit
This is fine for simple handlers. Developers wanting to reuse handlers might wish to specify a method here to use. The best way of doing this I've found is:
def my_handler(but)
   ...
end

button.signal_connect("changed", &method(:my_handler))
This involves a little bit more magic, as you can see. I've also run into an unexpected barrier with subclassing and the class default signal handler. The subclassing example from the Mono Notebook shows an example of overriding the clicked method of a Button. In C# this looks like this:
class MyButton : Button  
...
protected override void OnClicked ()

  hitcount++;
  base.OnClicked ();
In Ruby I would write this:
class MyButton < Gtk::Button
...
def clicked
  self.hitcount += 1
  super
end
However, when you click the button it's clear the overridden method isn't being called. I've filed a bug with what I think is the underlying problem. In this instance, I worked round it by adding a signal handler in the constructor:
self.signal_connect("clicked")    b  b.hitcount += 1  
At the moment it feels like I'm writing rather C-like Ruby, rather than it being idiomatic. But then again, I am porting examples from C# in as literal manner as possible, in order to facilitate comparison.

29 January 2006

Antti-Juhani Kaijanaho: He still looks like the President of Finland

The incumbent, Tarja Halonen, carried the runoff, taking 51.8 % of the vote. The runner-up, former minister of finance Sauli Niinist was left with 48.2 % of the vote. The margin was roughly 113,000 votes. The next Late Night with Conan O’Brien will be interesting to watch.

27 January 2006

Edd Dumbill: Score: 5, Little Hope for Humanity

Oh dear. Almost every time something I write gets Slashdotted, this happens: Screenshot of Slashdot people rude about my name Is it perhaps time for a nom de plume? Any suggestions welcome. I've been thinking of something with two initials and a surname. Like I.M. Sirius.
Then again, I've had the name I have for some years now, and it at least has the benefit of mapping unambiguously to me when Googled.

26 January 2006

Edd Dumbill: Google web authoring stats: less spin please

I've been looking with interest at the Google Web Authoring Statistics report, having just completed an overview for IBM developerWorks of the two contenders pushing forward on HTML, WHATWG and XHTML. A snapshot of HTML tags in use tells us a lot about the current usages of HTML and the take-up of future pathways such as XHTML. That said, I'm quite disappointed with the ways these results have been presented. Firstly, the report as published has no author attribution. From the writing and other sources, I am given to understand it's Ian Hickson, the prime proponent behind WHATWG, but nowhere is this made plain. A date of publication would also be useful on the document. Secondly, the graphs are given as SVG, which is laudable, but leaves those using IE or pre-1.5 Firefox browsers out in the cold. There's nothing in the data that means they couldn't be presented as PNG images. This is simply making a statement about browsers. Thirdly, the report mixes political viewpoints about the HTML standard in with observations about the data. The report references WHATWG's HTML5 in various places without setting it in the context of the various ways forward. Hickson's views over XHTML 1.0 and the text/html media type were presented without recognition of it at least being a contentious issue, rather than a matter of fact. If authorship were attributed, this bias could be contextualised somewhat, but as it is it can only be construed as Google's endorsement of a particular viewpoint. Don't get me wrong, I think this survey is highly valuable and congratulate Google's staff on the work done. I enjoyed reading the commentary very much, within the context I was able to place it in. However, I think Google needs to raise their game here, by attributing authorship and separating the editorialising from the presentation of the results. The exclusion of non-SVG capable browsers from the results is also inexcusable, and rather against the general spirit of scholarship and the web. Fascinating and enlightening as the current report is, without some basic information such as authorship it's hard to take it seriously as an addition to the body of research on the web.

23 January 2006

Edd Dumbill: Lovely DITA, DocBook fades?

Sorry. Couldn't resist. Following on from my previous look at XTech proposals, I wanted to comment on one of the hot topics contributed to the Applications track. While this track will push all the buttons (we've got Rails, RSS, web services, content management and more) one of the really striking things was the number of proposals on the topic of DITA. If you're not a regular in the tech docs world, then DITA is probably at best just another acronym you've seen whizzing by. DITA stands for the Darwin Information Typing Architecture, and it's a new document format making waves in the world of technical documentation. From a casual documenter's point of view, the obvious question is probably "what does this mean for DocBook?" Does the mass of enthusiasm mean DocBook's on its way out? In short, no. DocBook and DITA compared  DITA and DocBook are actually rather different beasts. DocBook is a sound DTD for writing technical books and articles, with the structure that such forms imply. DITA is focused on creating modular technical documents, with the intent for easy reuse across varied delivery methods. It's intended for topic-oriented documentation, which may be chopped about and rearranged within a variety of contexts and for a variety of display devices. DITA is a DTD and a set of rules for writing online contextual documentation such as software help files. There's a lot more to it than I'll write here, but here a few more differences between DocBook and DITA: There's a real need for something like DITA, which addresses concerns that didn't really exist in the same way when DocBook first emerged at O'Reilly in the early 1990s. DITA and open source projects I'm looking forward to learning more about DITA, but one thing that immediately strikes me about it is its relevance to some of the documentation problems faced by open source projects. DocBook has never quite clicked as a documentation format for some collaboratively maintained projects, probably because the inevitable book-like nature of the result necessitates sole or restricted authorship, and heavy editing. Instead one of the increasingly popular ways for providing documentation has been the wiki. You guessed it, a topic-based architecture. What wikis seem to lack, however, is any way of providing a thought-out progression through the content. In essence, the information architecture side of things. Had I been able to attend every session from XTech last year, I'd have heard Paul Prescod talk about what DITA and wikis have in common.
There may be a downside, however. DITA looks impressively engineered, but it may be too industrial-strength for many. My initial investigations suggests that while there's emergent commercial tool support, there's not much going on in the open source field (although there is the DITA Open Toolkit, which looks to have been produced in close association with OASIS technical committee now in charge of DITA.)
As DocBook guru Norm Walsh observes, DocBook can play in this space too. With additions such as those Norm proposes, DocBook could play host to DITA's major features. (Norm writes "With a couple of hours of hacking, I've implemented on top of DocBook the four key features of DITA that I could identify.") Though these possibilities are intriguing, I think that, for open source projects, things need to get simpler rather than harder. More reading:

Andreas Rottmann: Centralized Revision control considered harmful

We all know a long time that CVS sucks; the author of that article (in 2002) listed his main gripes with CVS: missing file renaming and not being able to remove directories. So far so I agree completly, these two things make CVS annoying to use, and everyone, even casual CVS users, will stumble upon these mis(sing) features. At that point, both subversion and what later became GNU Arch (to my knowledge, the first Free Software, distributed RCS) were in pre-1.0 versions, but becoming ready for use by the braver souls. While subversion has certainly fixed the renaming and directory problems, subversion has a fundamental shortcoming, making it an obstacle for FOSS to reach its full potential: it restrains the developer that may come along and want to experiment with the code. And no, it is not enough that the developer can checkout the latest code and submit a patch to the mailing list. This might work on projects where such patches are both trivial and quickly fed into the repository. But for more serious work, you will want to keep track of your work for yourself, either so you can review and alter the steps (changesets) done later on, or since you have to submit it piecemeal anyway. It could also happen that another, non-privileged developer wants to work on a thing that needs your modifications, before your patch has been approved and committed, or even before you are fully done with polishing it up fully for inclusion into the mainline. This other developer may also be just interested in your work and like to test it, and while doing so, he finds a little bug and wants to fix it. All this does happen in the real world, even on a large scale, e.g. with Linux distributions, and it’s called branching. The problem with non-distributed RCSs is: you need write access to the repository to create a branch. This is both true in CVS and subversion (although in CVS, branching makes little sense, as merging is a real PITA). To get write access, you have to go through whatever hurdles there may be in that particuliar project until you are deemed worthy of commit access. It is of course clear why it has to be that way: would the developers of that project grant everyone and their dog commit access, they would soon be busy with undoing the damage done by commits that don’t meet quality (or other) criteria, and not having any time left for hacking. This is not a problem with a distributed RCS, however - you simply have (typically) one person maintaining the “official” version of the source code, typically that’s the same person that rolls release tarballs. For example with Linux, it is Linus (for the development branch). That person can have their own repository, where everyone else only has read access, and selectively pulls changesets (patches) from repositories of peer developers. I hope I was able to made clear why using non-distributed RCS for a FOSS project can restrain the possibilities, limiting indivual freedom. So, if you believe in freedom (and software freedom in particuliar), consider giving a distributed RCS of your choice a try. I can heartily recommend darcs, (altough I’m not sure how it scales to bigger projects) but there are several alternatives out there. And in case you want to migrate an existing project, or give your users and developers a choice of RCS, you can use tailor to migrate your old repository, or even establish a two-way gateway between two RCS.

22 January 2006

Julien Danjou: D-Link DWL G520+

For the record: this card has a ACX111 chip, supported by the ACX100/111 driver. I managed to make it work under Debian yesterday. It seems that this card is very sensible about the PCI slot you put it in. At least, putting it in another PCI slot than the last one of my Asus P4P800, makes it act weirdly: PCI id not the same, error writing the firmware, and so on.

Edd Dumbill: Firebug: neutralizes nasty niffs

Sometimes, coding for the web is like having a co-worker with a body odor problem. Everyone's far too polite to say anything, so you all put up with it and nobody tells the poor smelly soul. Meanwhile, they sense something's wrong but don't know what. Web browsers are so insanely great at making sense of tag soup, that if you code only for the end-result--a reasonable strategy, adopted by most when starting out--you can get into all sorts of tangles. Misery ensues: you're stuck with days of fiddling in the dark. You know something's up, but it's hard to see what's going wrong. In that sense, browsers are lousy at one half of Postel's law. They get the "liberal in what you accept" bit right, but they don't help the developer one bit in implementing "be conservative in what you do." Using three or four different validators for HTML, CSS, etc. often helps a lot, but the state of the browser as an integrated development platform leaves something to be desired. Firebug is a Firefox extension that goes a long way to providing integrated web application debugging. It is a full-featured error console that shows your errors in Javascript, CSS (a godsend!) and XML. Not only that, but it does full logging for XMLHttpRequest calls, so it's a powerful tool for debugging AJAX applications as well. Firebug also manages to bundle in a DOM inspector, and a command line for evaluating Javascript. With these features, Firebug should let me throw out about four separate extensions I already had installed that do a similar thing. The final star turn in Firebug's act is a Javascript call to log information to its console, the equivalent of the all important debugging printf() call in C. I hope this means this will make it easier to deploy things such as unit test frameworks for AJAX applications. Firebug in action on the BBC home page Although its author Joe Hewitt cautions us to remember that Firebug is still an alpha release, I'd still recommend rushing to install it. If you're developing anything for the web browser this year, it's the most important tool you'll find. While it won't rid you of the problems of cross-browser compatibility, Firebug will speed you in uncovering the smelly bits of your web application.

Zak B. Elep: Matira Talaga ang Matibay!!!

Pacquiao Gains Revenge with Electrifying 10th Stoppage of Morales W00T!!! Let the beer flood!!! (and forget about LiveJournal flodding ;) I would have posted a pic here for everyone to see what I mean, but I fear would-be lawyers coming at my door and shouting “him, him, that’s the man!!! Anyhow, salamat at congrats ulit, Manny, sa iyong pagkapanalo!

21 January 2006

Edd Dumbill: Why Rails?

When I moved this blog from being Zope-backed to using Rails several people got in touch to ask why. This is a brief explanation of why I've moved.Firstly I should point out I've had a long and mostly happy experience with Zope. I got into Zope originally because I'd spent some time in constructing web frameworks from scratch (we're talking 1995-1999 here) and found that not only does a framework need good templating, it needs reusable components within that.Zope seemed like a good fit, so I spent some time getting up to speed and was happy there. However, there were some things that didn't make me feel completely comfortable. Zope offered a very stark choice between developing through the web based interface (DTML methods, etc.) and writing raw Python. To do really useful stuff, you had to get into the Python side of things, but also learn a lot about Zope guts that wasn't really well documented.I spent more time than I probably should have had to reading Zope's own source code in order to figure out how things worked. Fine, for my own silly little projects, but not practical in general. It was hard to get the overall view of a project, and hard to test. The learning curve was a little too steep, I suppose.
So, once I'd got to a certain point I stopped, and looked around for a platform that gave me more code visibility and testability. Loyal readers will know I've looked at ASP.NET and Python, Quixote and Cheetah. ASP.NET I rejected because I didn't view Mono's web application server as mature enough at the time, and I also had reservations about ASP.NET's non-free baggage. Python, Quixote and Cheetah looked a lot more friendly.What I wrote about Quixote and Cheetah at the time was "this combination isn't adequately presented and described anywhere." These were good technologies, but not integrated as a framework. I started work on integrating them, and made some interesting progress. I was correct that Python lacked a solid modern framework, and the time was certainly right for it, as we can now see by the emergence of Django and TurboGears.
However, at the same time I started looking at Rails and found out that it did pretty much what I wanted. To be honest, I'd avoided it for a while as a friend once did me the disservice of calling Ruby a cross between Python and Perl. "Why ruin Python?", I thought. And it takes me a while to get over the hype barrier before I conclude that there's a "there" there.
Now I've been using Rails for a while, I find its attractions have changed for me. The thrill of not having to write basic functionality over and over again has given way to more select pleasures. Writing in Ruby itself is a rewarding experience, as its idioms become plainer over time.Sure, you can write Java or Perl in any language, and that's where I started off. But the subtle elegance of the Ruby idiom is a slowly appreciated and highly satisfying flavour. For developers who consider themselves as poets and artists too, I can't think of a better language.

20 January 2006

Edd Dumbill: On the internet, everyone can see your underpants

The controversy over Apple's "photocast" extensions, and the strangeness of their iTunes RSS enhancements, is illustrative of the transition that software companies need to make as they become web-enabled. It's no longer enough to make your applications and hardware pretty and functional, but the guts that other people get to see must look good too. This is one reason that people prefer RELAX NG over XML Schema, for instance. Where markup is concerned, it turns out that the excuse "only computers will read it, and we'll provide tools to generate it" doesn't cut it. The web's had a view-source mentality since it started, and the aesthetics of markup matter a great deal. They matter not only because they're nice for geeks to look at, but also because well-structured and standards-compliant markup is simply more interoperable. The end user experience is ultimately improved. Microsoft now gets this, I think. It's not hard--you just need to have your engineers exposed to the web, not hidden in some blinkered bunker. It's a shame that Apple doesn't yet understand that the aesthetics of markup count. Even their new web tool, iWeb, lacks somewhat in this department. Apple do so well in the rest of the computing experience, these poor web efforts really stand out. It was rather sad to read the disappointment OS X-hugging web developers felt with the iPhoto RSS use. Will Apple "get" the web better someday? I hope so, because we'll all benefit.

19 January 2006

Axel Beckert: New talk proposal, new Linux distribution found

After talking with some LinuxTag guys about which kind of talks are still missing for the upcoming LinuxTag, I submitted another proposal for a still only roughly sketched talk: KISS – Keep it simple and stupid, also on the web.
KISS – “Keep it simple and stupid” is an old and successful principle in the Unix world: Small and simple programs, doing only one thing, but they’re doing perfect, fast and reliable. This principle can also work on the web and make webservers or surf terminals out of already discharged computers.
I planned to show “simple” (or at least “simple to use”) tools like Blosxom or the Website Meta Language, a more slim webserver than Apache (e.g. fefe’s fnord or one of the ACME webservers thttpd, mini_httpd or micro_httpd), slim web-browsers (e.g. like Dillo, Opera, glinks, ViewML or Minimo) and one or more Linux distributions optimized for low end PCs. While thinking about low end PCs, usually the following distributions come to my mind: DeLi Linux, fli4l and Debian Woody. But none of them seems to fit for my talk as perfectly as I would like: Since I first read about viewml on the DeLi Linux page, I looked for Debian packages of viewml today. apt-cache search hasn’t found anything on Woody or Sarge and packages.debian.org is still down, so I used Google. I found out, that there at least was a viewml package in Debian since at least 2001, so I expect, it just didn’t make it to stable. But I also found this interesting page on a webserver called www.ubuntulite.org. Ubuntu Lite? That sounds very interesting, since I see Ubuntu not as the baddest idea (expect for it’s horribly resource hunger and only offering one package per application by default ;-), but having an Ubuntu derivative prepackaged for low end PCs and with several webbrowsers instead of only Epiphany (and probably Firefox, don’t they?) would be perfect for my purpose. So I’m currently downloading an Ubuntu Lite ISO and will give it a try on one of my Pentium MMX boxes. Unfortunately it doesn’t seem to support Pentium I or AMD K5 since Ubuntu itself only supports i686 and upwards. :-/ But this also means, that it’s no occasion for my Pentium I Compaq LTE 5100 (which I probably will name pony), but currently, after Bartosz’ recent post on Planet Debian, it looks like Debian GNU/kFreeBSD could also be an interesting OS, since it fits all requirements perfectly: Free, Modern, Exotic and all conveniences of Debian. ;-)

Now Playing: Jefferson Starship — We Built This City

Edd Dumbill: Rails, Bazaar and SwitchTower

I have just submitted an enhancement to SwitchTower to let you use Bazaar as a source control system. SwitchTower is a deployment framework for Ruby on Rails applications, allowing fine-grained control over deployment of Rails applications to one or many servers.  My contributed module lets people who use Bazaar join in the fun. Until such time as my patch is approved, save it in the app/switchtower/scm directory of your Rails app. The module assumes that the Rails application is in the root of your tree. In your SwitchTower deploy.rb file, add:
set :repository, "you@example.com--archive/whatever--trunk--1.0"
set :scm, :baz
set :checkout, "export"
The "export" setting can be omitted if you really want baz to check out all the arch directories full of version control junk onto your live servers. Note that the repository follows a specific version. If you branch your deployed version, you'll need to change the repository to the new version.

17 January 2006

Gunnar Wolf: No antialiased fonts here, thank you

Edd Dumbill writes from time to time about hinting or using the right fonts so they look nicer - At the first glance, I found three such articles in ~six weeks.
I don't know if I'm too atypical in this area as well... But for most of my work, I prefer fonts not to be beautified by antialiasing. Strangely, it seems to depend on which program (or, maybe, activity) I am working - I have no grudge against antialiasing in a web browser, but I swear to God that if you antialias my emacs or my xterms, I will hate you. It just gets more tiring.
I have no rational explanation for this - I just noticed the fact after using it for a while. I get more tired if the borders of the letters are not crisp - and I don't really care about the little details in smaller sized fonts.
Maybe that's part of the reason antialiasing is nicer in the browser - After all, it is common to find text too small to read there. At 1280x1024 (or 1400x1050 on the laptop) with the usual font size, I get a nice 170x66 rxvt. That's quite OK for most of the work that requires attention - and for following large amounts of text, decreasing the font size to a somewhat tiring size gives me a nice 200x92 window - almost always enough room. Crisp fonts. Easy to read.
Does anybody else feel the same, or am I just too looney?

16 January 2006

Edd Dumbill: Trends in core XML and RDF technologies

As I sort through the proposals submitted for XTech, it's interesting to note which technologies and ideas dominate. I'll share some observations here as I work through them.I've just completed a first review of the core technologies track, which focuses on the nitty-gritty of XML and its related standards. These themes stood out:Of course, just because these are the major themes, it doesn't mean they'll squeeze out equally great presentations on other topics.I'll post more observations as I continue to review the proposals. 

Edd Dumbill: Linux fonts: still wanting

Fonts on Linux have had a chequered history. Mostly, they've been bad. Once, there was an excuse for this: GNOME and KDE were unable to render anti-aliased text, and there was a paucity of decent free TrueType fonts. Now, with Xft, Freetype and Bitstream Vera fonts things are different. Unfortunately, it's hard to find Linux distributions that have gone the extra mile to make the fonts look good by default. Let's take a brief look through default fonts in various operating systems. OS X Tiger default fonts Mac OS X offers a great default, which looks good on all modern machines. No user configuration required. Windows default fonts Windows default is blocky, as there's no anti-aliasing to speak of, but the hinting on the fonts is excellent and they're crisp. If you dig a bit and find the crazily hidden Display properties - Appearance - Effects dialog, you can turn on ClearType. Windows ClearType fonts  Windows ClearType offers a pleasing level of font smoothing. Now, let's look at the GNOME default, taken from a screenshot on the GNOME 2.12 start page. GNOME default fonts This is pretty much how default GNOME looks on any machine. In particular, it's the default look you get when you install Ubuntu. This corresponds to a setting of full hinting in the font preferences, with the font Bitstream Vera Sans. The quality of the type, however, is poor.  It has a spidery and ungainly quality to it.
In and of itself, Vera is not an ugly font. There's some combination of the font's hinting and the Freetype hinting engine that conspires to make things ugly. On my desktop I've tried to work around this by altering the font settings somewhat. GNOME: Edd's fonts The effect isn't perfect, but a lot better to look at. The font is Bitstream Vera Sans as before. To get this, I had to switch off any hinting then slowly play with the DPI setting until I get letterforms that rendered neatly. Alas, this brings problems of its own. For a start, not all popular GNOME applications respect this setting. Firefox often gets its own idea about such matters as screen DPI, and OpenOffice.org2 completely ignores my hinting preferences and gives me nasty looking menu bars. Murray Cumming's recent GNOME for bad eyesight blog post also gets into many of these issues. For most users without time or inclination to hunt this down the choice is either to live with the ugliness, or opt for an operating system that gets it right.(Lest I seem churlish here, I should celebrate the amazing work done with internationalization on the Linux desktop, which continues to bring computing access to many in the world for whom choice is a luxury.)  There is one Linux distribution that makes a reasonable job of good-looking fonts. The Fedora Core 4 distribution ships with a different default font and out of the box settings giving reasonably attractive letterforms. Courtesy of OSDIR, here are GNOME and KDE screenshots. However, I'm pretty sure it doesn't solve the rest of the font integration issues.
I'm no typography expert, but I find that good-looking fonts enable me to work more effectively. And on the advocacy side, I want my Linux desktop to look as good or better than the OS X and Windows alternatives. Lots of great effort was made getting us to the point of anti-aliased rendering and the licensing of the Bitstream Vera Fonts. Having got this far, it seems a shame not to hunt down the remaining irritations in font handling.Further reading: 

Antti-Juhani Kaijanaho: It s runoff time

Update: Corrected Tarja Halonen’s total vote percentage. The preliminary count in the Finnish presidential elections is finished with the following results:
Candidate Total votes Votes short of next* Pre-poll
pos %
Tarja Halonen 1,396,161 46,3 % not applicable 1st 52
Sauli Niinist 725,213 24,1 % 670,948 48 % 2nd 20
Matti Vanhanen 561,556 18.6 % 163,657 23 % 3rd 18
Heidi Hautala 105,086 3.5 % 456,470 81 % 4th 4
Timo Soini 103,368 3.4 % 1,718 2 % 4th 4
Bjarne Kallis 61,458 2.0 % 41,910 41 % 6th 1
Henrik Lax 48,639 1.6 % 12,819 21 % 6th 1
Arto Lahti 13,041 0.4 % 35,598 73 % 6th 1
* The difference between the current candidate and the next (upward) candidate on the list, in votes and as a percentage of the next (upward) candidate’s votes.
The result of the last opinion poll published before the election, commissioned by YLE and conducted by phone between 10th and 11th of January. The margin for error is 2,5 %-points for Halonen and decreases when the percentage decreases.
Since the incumbent failed to reach majority, a runoff election will be held on the 29th of January between the two best placed candidates (starred). A remarkable fact is the low number of votes that the independent candidate Arto Lahti received, for he had to get at least 20,000 people to sign their name in favour of his candidacy, while he received only 65 % of that number in votes. It is very likely that both runoff candidates retain the votes they received today. What decides the runoff election is how the rest of the voters behave. As a quick and dirty Stetson Harrison estimate, most of Vanhanen, Kallis and Lax’s spporters are likely to vote for Niinist , while most of Hautala’s supporters are likely to vote for Halonen. Assuming that the “most”s cancel each other (an assumption that probably favours Niinist ), this yields an additional 22.2 %-points for Niinist (total 46.3 %) and 3.5 %-points for Halonen (total 49.8 %). Hence it would seem that Halonen has the upper hand in runoff. A few words on each of the eight candidates, in reverse order of popularity, follows. Arto Lahti (b. 1949) is a professor of entrepeneurship and has experience in various positions in the private sector. He has no prior political experience and is not affiliated with a political party. Henrik Lax (b.1946) is a Member of the European Parliament since 2004, representing the liberal Swedish People’s Party. He was a Member of the national Parliament 1987 2004. Prior to his political career, he had been a lawyer. Bjarne Kallis (b.1945) is a Member of Parliament since 1991, representing the party currently called Christian Democrats. He has chaired his party since 1995. For most of his non-political professional life he has been a teacher and later principal in a business school. Timo Soini (b. 1962) is a Member of Parliament since 2003, representing the right-wing populist True Finns party. He has chaired his party since 1997, which he cofounded in 1995; prior to that, he was an active member of the since-dissolved Finnish Agrarian Party. Heidi Hautala (b. 1955) is a Member of Parliament since 2003 and before that 1991 1995. She was a Member of the European Parliament 1995 2003. She represents the evironmental-liberal Green League, a party she cofounded and later chaired 1987 1991. Matti Vanhanen (b. 1955) is Prime Minister since 2003, representing the liberal Centre Party. He previously served as Minister of Defense in 2003. He has been a Member of Parliament since 1991. He has chaired his party since 2003. Sauli Niinist (b. 1948) is currently a Director at the European Investment Bank. He served as Minister of Justice 1995 1996 and Minister of Finance 1996 2003. He was a Member of Parliament 1987 2003. He represents the liberal-conservative National Coalition party, which he chaired 1994 2001. Prior to his political career, he worked as a lawyer. Tarja Halonen (b. 1943) is the incumbent, Her Excellency the President of the Republic of Finland since 2000. Prior to her presidency, she was a member of the Social Democrat Party and had served as Minister of Social Affairs and Health 1987 1990, Minister of Nordic Cooperation 1989 1991, Minister of Justice 1990 1991 and Minister of Foreign Affairs 1995 2000. She was a Member of Parliament 1979 2000. Prior to her political career, she worked as a lawyer in a labor union.

15 January 2006

Edd Dumbill: A clean sweep

Firstly, if you haven't the faintest interest in the software I use to write this weblog, please feel free to go and do something more interesting right now. Now I'm in the company of dedicated readers of colophons, I will proceed. Redesign and reimplementation  This weblog, which has now been running for over two and a half years, originally ran on some custom software I'd hacked up in Zope: at that time my web development platform of choice. Today, I've relaunched with another custom content management engine, this time written using Rails. It's been a lot of fun to write, and a good excuse to sharpen my Rails skills further. The design has also been fun. It's a little basic right now, but I hope easy to read. Of course, the font is Lucida Grande, which ensures that I am fully Web 2.0 compliant.
The main new feature is that the tags I give articles are now made public. I used to tag posts for my RSS feed, but not publish them on the site. Now they are public--what few tags I currently have--and it's possible to find RSS and Atom feeds just for certain subsections of my writing. I worry sometimes about spamming the various Planet aggregator sites my blog features in, so this gives me a way to direct content specifically at them. That said, at least for Planet XML I like hearing about everything the community members have to say, not just their on-topic posts. New URLs My blog now has a new location, http://times.usefulinc.com/, and new places for  RSS and Atom feeds: Tools used

Next.

Previous.