Posts
-
How to serve vCards with the right encoding
It seems that some programs which recognize vCards only support the ISO-8859-1 character set. So if you're serving vCards on your web site, you might want to check if the encoding is correct. Try inserting a non-ASCII character like "å" in a note or address, and see if it comes out as a strange character when loading it from the web site.
-
Convert XHTML to HTML with XSLT
After fiddling a bit with the "copy-no-ns" XSLT template, I've ended up with a style sheet which converts XHTML to HTML 4.01 (Update: Unfortunately this site is long gone. Sorry for the inconvenience!), so you can use it as a post-processing step when serving to Internet Explorer. Note that this has not been tested with alternative namespaces such as SVG or MathML.
-
TED.com bloat
If you're a TED.com user, I'm pretty sure you've noticed the slow page loads compared to ... Well, just about any other site out there. I've sent some feedback (below), and I'm hoping you'll help out as well by suggesting general and specific improvements.
-
Properly formatting <del> and <ins>
Here are some alternative ways to format <del> and <ins>, with explanations. I'd love to hear your own improvements.
-
Throw the fucking switch, Igor!
What would you like to have said, if it were you behind the "big green button" when the LHC starts in 2008? It's the world's most powerful particle accelerator, said to be the most complex machine ever built, and will most likely set the stage for the next level of theoretical physics, so it had better be in the "One small step" category.
-
L’esprit de l’aéroport
Ever wanted to register your protest against the baggage check insanities at the airport? You know, the one where blunt, sharp, wet and flammable things are taken away from every passenger, for ridiculous reasons*? Unless you're a high-ranking U.S. politician, there's not much you can do to influence directly, and using other transport is out of the question for most people.
-
5.1 optical audio out in Ubuntu Gutsy
Finally, the moment has arrived! After trying on at least five GNU/Linux distributions and FreeBSD, 5.1 surround sound via S/PDIF (aka. IEC958) finally works, on the latest stable version of the new wunderkind of distributions, Ubuntu Gutsy. The instructions were easy enough, and what follows is a version you can pretty much copy to the command line. Note that these are for ASUS P5K-E motherboards (which have the Analog AD1988B sound chip) - they may not work for you.
-
Morning sight
One more reason for walking to work: The strange things you may encounter. Like this morning, when I saw a tree from which black little birds were flying, like autumn leaves, in the hundreds, all in the same general direction, perpendicularly across the fence, not as one, but in a steady stream, out of sight, and then returning in a parallel stream.
-
How to switch keyboard layouts on the Windows XP login screen
Do you use several keyboard layouts in Windows XP? Ever been annoyed that the layout at the login screen is locked to the installation default? Here's how to fix it, with a simple registry hack.
-
Scientific American sells customers' addresses!
I dislike paperwork, despise advertising, hate spam, and loathe companies trading addresses without my consent, which is why I'm seriously pissed off after finding a "special" offer piece of snail mail from New Scientist in my mail box this evening.