Archive for October, 2003

Flash bookmarklets

Friday, October 31st, 2003

The new Flash bookmarklets let you pause, rewind, and fast-forward Flash movies.

They require Scriptable Flash, so they only work in Internet Explorer and Mozilla and only on Windows (Linux: 211218; Mac: 203861).

SCAMfest 2003

Thursday, October 30th, 2003

The 8th annual Southern California A Cappella Music Festival will be Friday Nov 7 at 8pm. Last year's SCAMfest was amazing, so if you're in the Los Angeles area, you should come.

Eleven college a cappella groups will perform this year:

Tickets will be available starting tomorrow at the ASPC office (above Edmunds Ballroom at Smith Campus Center at Pomona College) for $5. If you live in the Los Angeles area and want to come, tell me so I can get you a ticket. Or call Lisa D'Annunzio from the Claremont Shades at [phone number removed after SCAMfest] to reserve a ticket to pick up the night of the concert. The concert will be in Bridges Auditorium aka Big Bridges on Pomona College.

Google Cache and slow CSS

Wednesday, October 29th, 2003

If you use Google Cache when a server isn't responding, and the page uses an external style sheet, you won't be able to see the cached page. The reason is that most browsers block page display while waiting for the style sheet to load, and Google doesn't cache CSS or images. This limits the usefulness of Google's cache, especially now that CSS is popular.

Google could cache CSS along with HTML. To avoid spidering and storing every page's CSS, Google could proxy CSS loads for Google Cache users, and have the proxy time out after 5 seconds. But both of these solutions might use a lot of bandwidth.

Google could add code to cache pages to make CSS load later or in a non-blocking fashion. This has the disadvantage that when the server is responding, the page will be presented unstyled for a split-second. Since some Google users use the cache even when the site isn't down, this would be bad.

I hoped there would be a way for Google to add code to cache pages to stop blocking loads that are taking too long. JavaScript can detect a slow load: call setTimeout above the LINK element, and call clearTimeout in another SCRIPT element below the LINK. But the function setTimeout activates can't cancel the load by disabling the style sheet, changing the LINK's href, or removing the LINK element from the document. Browser makers didn't anticipate JS trying to cancel a blocking load. (Removing the LINK element from the document even crashes IE.)

Another solution is for browsers to make CSS loads block less:

  • 84582#c11 - CSS loads should stop blocking layout if they take more than a few seconds
  • 220142 - Pressing Stop while waiting for CSS should finish displaying what has been loaded before stopping.
  • 224029 - JS can't cancel blocking load of a style sheet

Clever blogspammer

Tuesday, October 28th, 2003

A spammer posted the following comment on my old blog post Chrome URLs in Mozilla and Mozilla Firebird yesterday:

I've been a long time user of both IE and Netscape. Now I'm using Mozilla and Firebird. Although I'm a fan of Mozilla and Firebird and have recommended it to friends.

The poster's URL had a spammy-looking domain name ("success-biz-replica"), but the site itself didn't look too spammy and the comment seemed fairly on-topic, so I didn't delete the comment. But today I stumbled on a very similar comment here and realized the comments were spam. The spammer probably decided to spam blogs mentioning Mozilla because those blogs are likely to have high Google PageRank.

I went into my web server logs to see what search phrase she used. I figured it would be something like mozilla "post a comment" "remember personal info" but I wanted to see the exact search phrase. I searched for the poster's IP address and found this:

193.230.197.6 - - [26/Oct/2003:11:07:05 -0800] "GET /archives/000007.html HTTP/1.0" 200 12252 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Alexa Toolbar)"

There was no referer, which probably just means she hid the referer intentionally. But I noticed something else: she used Internet Explorer to post the comment.

I deleted the comment.

Fire

Sunday, October 26th, 2003

I started seeing and smelling smoke yesterday. Today, the fire became visible on the hills north of the colleges. There was a fire on the same hills last year. But last year, smoke and ash didn't reach campus, probably because the wind was different. Last year's fire was fun to watch. But this time, being outside at all is unpleasant because of smoke and because of ash getting into our eyes. And this time, several suburban houses have already been destroyed, only a day or two into the fire.

My dorm room smells like smoke even though I haven't opened my window, so some smoke must be getting past the air conditioner's filter. Adam Bliss told me that even the underground Libra complex smells like smoke.

Most of the pieces of ash are tiny, but Jessica Nelson and I found part of a burnt leaf on the ground. It is about an inch long.

Firebird patches

Friday, October 24th, 2003

I attached simple patches to 3 Firebird bugs:

213377 [5] - Cannot stop animation with stop button or escape key 216722 [3] - Inital focus in Help|About Mozilla Firebird should be "OK" 218146 [0] - mousedown on tab and drag out still switches to tab (fix: switch onmousedown instead of onclick)

I hope my patches fare better than the ones mentioned in this forum thread.

Google spell correction

Friday, October 24th, 2003

Google fails to predict who I will marry

Friday, October 24th, 2003

I have mentioned 8 females on my blog who are about my age. Their first names are Aurora, Erika, Helen, Kay, Michaela, Pamela, Sara, and Selene. I searched Google for these first names with my last name (for example, 'Helen Ruderman'). My rank is between #1 and #4 for each theoretical full name.

My rank for each name does not correlate well with my how likely I think it is that I'll marry each girl, crush strength, or even how well I know them (|r| < 0.3 for each).

Three of the theoretical full names are "taken" -- people with those full names exist. Surprisingly, there is no correlation between my rank and whether the full name is "taken" (r=0.127 in the expected direction). In one case, part of my site ranks #1 even though 3 sites mention a person who actually has that full name. In another case, nobody has the full name, but part of my site ranks #4.