Tuesday, June 6, 2006
666-6666 telephone number gets a lot of calls from babies: “Mark Frauenfelder:
Bruce Stewart has a good story about the time he worked as a technician for a Jesuit university in San Francisco. When the university upgraded to a new phone system, the phone company gave them the 666 prefix, which upset some of he higher ups. It was too expensive to get a different prefix, so they accepted it. Bruce’s boss gave himself 666-6666, and Bruce got 666-6667.
As you can likely imagine, there were many jokes and good times to be had with these numbers. And some weird lunatic prank calls, though not a lot. But what drove my boss crazy most of all about having that fateful number was the amazing number of ‘googoo gaagaa’ calls he received. You know, those calls you get when an infant has gotten a phone off the hook and has inadvertently dialed you up and is cooing and babbling into the phone? Well, maybe you don’t, but trust me, if you ever get a phone number with all of the same digits, you will. Apparently pounding repeatedly on the 6 button is a fairly easy thing for a baby to do.
Link

”
(Via Boing Boing.)
It reminds me that earlier today it was:
06/06/06 06:06 
Tuesday, June 6, 2006
I’m working on a project involving a Web API ( a RESTful one).
The response is an XML document that embed urls in the attributes of some elements. For documentation purpose I would like the url to be clickable when a human is browsing through the API so he can follow the urls and navigate the API.
My first thought was to create a client-side XSLT stylesheet to “linkify” the urls.
So far I’ve got a stylesheet that displays clickable links found in the xml, but out of their context. the XML is not present in the document. I’m no expert in XSLT, but to me it seems difficult to transform the xml elements (and children) from the source xml to be part of the result html.
I wonder if it’s the right approach.
Update:
I’ve solved my problem. I’ve actually had the wrong approach to XSLT(I tried to think “Procedural” which is not always the best reflex for XSLT
). By using various xsl:template for the elements and the non-href attribute and the href attribute, things got a lot easier. I still have to list all node my API could use, but it’s not a huge vocabulary.
Now I have to make the indentation better, but that’s not too complicated