« January 15, 2005 | Main | January 17, 2005 »
Sunday, January 16, 2005
A World, at Last
The images of Titan from Huygens are mind-boggling. I was there when Viking 1 landed on Mars (well, not on Mars, more's the pity, but in the Caltech auditorium where the first image came in line by line), and having seen the first Ranger and Surveyor images from the Moon, then, years later, the Soviet Venera images from Venus, one expected another tedious dead dry rock. Wow! Here is a world where you look at the shoreline across the ocean (having no idea, so far, what liquid fills it, nor what solid upon which its waves break), and almost see where the cities would be at the mouths of the great rivers. After forty years of dessicated cratered deserts, blazing Hellscapes, and iceballs, here's a world with landscapes which invite you to found cities on the coast--time to re-read Clarke's Imperial Earth! If you've seen only the processed, published images, you've missed the wonder of this world you'll see over the next few days. To explore it on your own, download the Zipped archive of images, extracted from the triplet raw images. Some of these images are blank, and most can be best viewed, before any custom image processing, by performing a histogram stretch or normalise, which will give you an idea what's in the image that less brutal processing can tease out.Creating Multilingual Web Documents with Apache HTTPD
I host a French-language site on my Web server devoted to the history of the village where I live in Switzerland. We intend to make an English translation of this available for anglophone emigrants researching the origin of their ancestors, so I've been looking into present-day, less painful alternatives to the traditional approach of creating copies of everything (except the images, sound files, etc.) in different directories or with file names based on the language, then fixing bazillions of links in zillions of files accordingly. It turns out there's a feature in the Apache HTTPD which, in conjunction with the "content negotiation" facility in HTTP 1.1, provides a reasonably painless solution to migrating a single-language site to a multilingual one in an incremental fashion without disrupting everything already in place. In order to use this, your Apache server must support the mod_negotiation module, but as this is enabled by default, most installations already include it. The directory tree which includes the multilingual documents must be configured with the "MultiViews" option. This option is not implied by "All"--you must explicitly set it in your HTTPD configuration, or with an "Options MultiViews" statement in a .htaccess file in the directory with the multilingual pages or a parent directory above it. You can only specify this option if the "AllowOverride" directive in httpd.conf permits it. If you don't have control of your HTTP server's configuration, you'll have to take this information to the ogre who administers your server and beg on bended knee that s/he/it grant you this boon. With the enabling .htaccess file in the document directory, we can now begin to transform the single language documents into a multilingual ensemble. Let's start with the main page, "index.html", which is displayed when a user enters the directory. Any page with a simple extension of ".html" bypasses language negotiation, so the first step is to rename this page as "index.html.html". Huh? Well, it's an idiom--a page so named is deemed the default for users whose language preference isn't satisfied by any language-specific page in the directory. You should choose the language of the majority of visitors to your site for this page. That way, a French-speaking user who's checking your predominantly French-language site site for updates from an Internet café in Pakistan where the language preference has been set to Urdu (ur-pk) will see your best guess as to the most probable language. The default page should contain links, right at the top or otherwise obvious when the page appears, to each of the translations available. Use flag icons and translations of the language name (for example, "Deutsch", not "German"; "עברית", not "Hebrew") for these links. Next, create pages for each natural language translation of pages in the directory. For index.html, we might have:index.html.de | German |
index.html.en | English |
index.html.fr | French |
index.html.it | Italian |
index.html.rm | Rhæto-Roman |