He's got a point

If anyone in [My Fair Lady] was gay, it had to be Higgins and Pickering — you’re telling me two single men in their late fifties who live together and enjoy speaking properly and dressing Audrey Hepburn in fabulous outfits aren’t?

— from ‘Will and Grace’ (Thanks to Prairie for sending this to me!)

Movie Quiz

A movie quiz from Dave Hyatt. I didn’t want to open up his comments to make my stab at the answers, since I’d probably see other people’s answers, so I’m doing it via Trackback. I’ll start with the quiz, and put my answers in the rest of this post. You can use the comments if you want to play along, too!

  1. “What we have here is a failure to communicate.”
  2. “I came here to do two things: chew some bubble gum and kick some ass. And I’m all outta bubble gum!”
  3. “…also left a man’s decapitated body lying on the floor next to his own severed head. A head, which at this time, has no name.” “I know his name!”
  4. “Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony.”
  5. “Anyway, David, when they find out who we are they’ll let us out.” “When they find out who you are they’ll pad the cell.”
  6. “Do you think there really are people who can just go up and say, ‘Hi, babe. Name’s Charles. This is your lucky night’?” “Well, if there are, they’re not English.”
  7. “A hundred million terrorists in the world and I gotta kill one with feet smaller than my sister.”
  8. “The first boy I ever kissed ended up in a coma for three weeks. I can still feel him inside my head. It’s the same with you.”
  9. “Just so we’re clear, you stole a car, shot a bouncer, and had sex with two women?”
  10. “Yeah, man just kinda…you know, you got these claws and you’re staring at these claws and you’re thinking to yourself, and with these claws you’re thinking, ‘How am I supposed to kill this bunny, how am I supposed to kill this bunny?'”

Read more

Apple bloggers?

There’s been much discussion recently regarding Microsoft bloggers, i.e., people who work at Microsoft and blog. I read a few of them (both because they’re good blogs, and because of the whole “know your enemy” philosophy [grin]).

Got me thinking, though — what about ‘Apple bloggers’? The only one I know of off the top of my head is Dave Hyatt, who works on the rendering engine for Safari. Any others out there I should know about?

No jive talkin'

That was a test, and that was only a test. Hopefully it was at least an amusing test — I was playing with the MovableJive text formatting plugin for MovableType 2.6. I probably won’t use it very often, but it could be fun from time to time.

Unfortunately, at this point, the plugin mangles URL’s (see the comments to the previous post) so I can’t use it to post and link anywhere. With any luck that will be corrected at some later point, though…

Jive talkin'

This is a test, and this is only a test. Hopefully it will at least be an amusing test — I’m playing with the MovableJive text formatting plugin for MovableType 2.6. I probably won’t use this very often, but it could be fun from time to time. Included filters are Jive, Texas Drawl, Cockney, Swedish Chef, Valley Girl, German Accent, and Hunting Wabbits.

(Via the MT Plugin Directory via Mark Pilgrim)

Upgrades galore

Two important (in my world) software upgrades hit the ‘net today: Mac OS X was upgraded to version 10.2.4, and MovableType was upgraded to version 2.6. Both are installed, and both are working like a charm.

This is complete geek-speak, but my favorite change in MT v2.6:

MT::Util::html_text_transform (the default “convert line breaks” code) will no longer add <p> tags around paragraphs that start with certain HTML tags (pre, table, ol, ul, pre, select, form, and blockquote). (Phil Ringnalda)

Since I use <blockquote> a lot when I’m posting links to other sites, this will save me some headaches.

Cookies finally fixed!

Thanks to a comment answering a question of Jonathon’s, I’m about 95% sure that the cookies for djwudi.com are finally being set correctly, so that the comment forms will actually remember your information, instead of just teasing you with the possibility that they might remember one day if they feel like it.

Turns out it was just six characters I needed to add to the JavaScript code in the template. Sheez.

In Scott’s words from his post on Jonathon’s page (emphasis mine):

The cookie code does not pass a path, so the browser by default make the path that of the calling page.

In other words, the code really was setting the cookies — but only for one page at a time. This led to some of the confusion, where both Dyanna and I thought it was working at first, then it wasn’t working again. We’d leave a comment and the cookie would get set for that page, so when the page reloaded, our info was there, and it looked like it worked. But then, as soon as we went to another page, the info was lost again.

Luckily, the fix is easy enough:

If you want the cookies to apply to the entire site, you can adjust the code to pass the path ‘/’ as a parameter…

function rememberMe (f) {
var now = new Date();
fixDate(now);
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
setCookie('mtcmtauth', f.author.value, now, <strong>'/'</strong>, HOST, '');
setCookie('mtcmtmail', f.email.value, now, <strong>'/'</strong>, HOST, '');
setCookie('mtcmthome', f.url.value, now, <strong>'/'</strong>, HOST, '');
}

function forgetMe (f) {
deleteCookie('mtcmtmail', <strong>'/'</strong>, HOST);
deleteCookie('mtcmthome', <strong>'/'</strong>, HOST);
deleteCookie('mtcmtauth', <strong>'/'</strong>, HOST);
f.email.value = '';
f.author.value = '';
f.url.value = '';
}

The bolded bits in the above code were the only parts of my individual entry template I had to change — once those were fixed, I rebuilt my site, and things actually seem to be working now!

The reason that this problem doesn’t affect most people is that by default, MT stores all archives in a single directory. Since every archive page is pulled from the directory the cookie is set for, it works fine.

I’ve adjusted my archives to fall into directories based upon when they are posted — for instance, this entry will end up in the /archives/2003/02/10/ directory. So, when the cookies are only set for one directory at a time, it causes problems. By adding the slash to the above lines of JavaScript, the cookie is set for the entire site, and will be read for every page, no matter which directory it lives in.

Much better.

Surfin' Safari

Dave Hyatt has got to be one of the bravest people on the ‘net I’ve seen. Consider…

  1. He’s a developer for Apple, working on their Safari web browser…
  2. He keeps a weblog where he…
    1. Tracks and responds to what people are saying about Safari, good and bad…
    2. Reports on which bugs have been fixed and which are being worked on
  3. …and on top of all that, he’s actually soliciting requests from readers as for what they’d like to see in Safari!

Kudos to Dave for being crazy enough to do this, and to Apple for allowing him to do this. More companies need to realize that this is a real, effective way to encourage their users. We know that Safari is being worked on, we know that it’s being worked on by someone who genuinely cares about the project, and we know that they care about and listen to what their customers want to see in the product. I can’t think of a better way to build and keep customer loyalty than that.

th3 10rdz pr4y3r

If Jesus were a modern hacker (L33T HaXX0r):

Our Father, who 0wnz heaven, j00 r0ck!
May all 0ur base someday be belong to you!
May j00 0wn earth just like j00 0wn heaven.
Give us this day our warez, mp3z, and pr0n through a phat pipe.
And cut us some slack when we act like n00b lamerz,
just as we teach n00bz when they act lame on us.
Please don’t give us root access on some poor d00d’z box when we’re too pissed off to think about what’s right and wrong,
and if you could keep the f3i off our backs, we’d appreciate it.
For j00 0wn r00t on all our b0x3n
4ever and ever,
4m3n.

(Via Phil)

More on Animatrix

Back in October, I mentioned an upcoming DVD release called ‘Animatrix’ — a series of short animated films set in the universe of The Matrix. It turns out that of the nine shorts that will be on the disc, four are going to be released to the web, and the first has just been posted.

Very interesting stuff, as it turns out. Well animated, and at least in this epsisode, fleshing out the back-story of the universe, taking a look at the creation of the machines and beginnings of their rise to power. In fact, I think that one of the sequences in the short — a robot on trial for the murder of it’s owner — reminded me of one of Asimov’s robot stories, though I can’t bring to mind exactly which one. Or I could be remembering something else, which is entirely possible. In any case, I’ll definitely be picking up the DVD when it finally hits the streets.

(Via /.)