Three Monkeys, Three Typewriters, Two Days

January 27, 2008

The march of progress strikes again

It looks like we now support using the GTK print dialog on Linux. The only catch is that this imposes GTK2 2.10 or higher as a hard build-time requirement. It's still possible to run trunk nightlies against a lower GTK2 version, as long as you don't try to print or print preview or open page setup, or call window.print() in JavaScript. If you do try any of these, you get a nice

symbol lookup error: libwidget_gtk2.so: undefined symbol: gtk_print_settings_new
followed by the program exiting.

What this means in practice for me is that I can no longer compile on my slow (performance testing) machine, and can no longer run trunk builds for my day-to-day browsing. I might be able to work around the former by building on my development machine and then copying the builds over, as long as I don't do any performance testing on printing code.

I did look into upgrading GTK2, but it looks like going from 2.8 to 2.10 involves one of these fun "we'll rearrange which files are in which RPM" things Fedora/RedHat love so much. The GTK 2.10 RPM one gets after compiling the FC6 SRPM conflicts with the redhat-artwork RPM, and it looks like half the world depends on redhat-artwork, so it can't be uninstalled. I did try installing the GTK2 2.10 RPM with --nodeps --force on my development machine, and that sort of works. There are various of cosmetic issues (e.g. completely invisible menuitems) that I'm willing to accept on the devel machine, but not on the box I actually use for most of my work.

And yes, I could try to do an OS upgrade on my desktop machine. I'll do that right after I finish my thesis, probably. So in May or June.

It's too bad that the GTK situation is what it is on Linux, or at least on Fedora-based distributions. For comparison purposes, Fedora Core 4 was released a little after OSX 10.4, yet it's clear that even Fedora Core 5 was nowhere close to being "good enough for the desktop", since we're requiring a version of GTK2 that didn't make its appearance until Fedora Core 6. Or maybe it was good enough, and the API changes that enforce the version dependency we have now are just gratuitous. Sucks to be a Linux user either way.

It's almost certain that my next computer will be a Mac. At this point, OS X offers most of the features I want out of Linux, with none of the hassles. One of the few things it still doesn't do is let me configure my window manager exactly the way I like it, but doing the research to get that to happen on a "modern" Linux might be more trouble than it's worth too.

Posted by bzbarsky at 2:47 PM

January 18, 2008

Meaningless catchphrases

Somewhere along the line, someone apparently decided that the word "exponential" is a synonym for "big." Things like this annoy the heck out of me:

Making it work would require far more government intrusion into daily lives, with exponential increases in workplace raids and deportations.

That's not an "exponential" increase. That's a "great" increase. Or a "humongous" increase. Or a "major" increase.

Ah, well. Some days I wish for news outlets where the news is not pitched at middle-schoolers. I'm sure I'll find some one day.

Posted by bzbarsky at 10:27 AM

Comments reenabled

I realized today that the spam-filtering on my blog comments was far too aggressive. I've toned it down; comments should work again now. Luckily, I hadn't blogged anything in months anyway, so not much was lost.

Posted by bzbarsky at 10:26 AM

January 9, 2008

Quote of the day

Graydon is spot on:

Surely we are never going to make a browser that can resist all possible resource-consumption attacks. One person's "overwhelming consumption" is another's "rich internet application".
Posted by bzbarsky at 4:30 PM