Monthly Archives: March 2008

Sunset

View from the office parking lot earlier this evening:

Sunset with Clouds

Posted in Photos | Tagged , | Leave a comment

Hazards of Q&A Sessions

I think anyone who’s been to a panel at a con in the past few years will appreciate Mark Evanier’s remarks on opening the floor to questions.

An open mike at a public event has increasingly become a magnet for people who should not be allowed near open mikes at public events. Audiences have begun to dread that portion of the program and to regard it as the signal that the event they came to see has come to an end. Thereafter, they can either leave (many do at that point) or sit there and cringe as control passes from the person they wanted to hear and goes to some stranger who, but for this opportunity, would never be speaking in front of a real audience and/or to someone of importance.

He goes on to mention the warning signs, like “On behalf of everyone here…” The people who, instead of just asking a question, need to turn it into the longest. public. statement. of. support. evar, as they pontificate about how this show changed their life, or that show inspired their writing, and can you please answer this stats question about my home-made Star Trek Role-Playing game after I read you a poem I wrote aaaaaall by myself?

No, really. I am not making this up.

As an example, at the Serenity panel at the 2005 San Diego Comic-Con, one “fan” took the floor to make a long rambling comment on behalf of fans who lived in Norway, London, England (“Both London and England?” “He’s got multiple personality disorder.”) etc. and explained that they thought Joss Whedon was “the best thing to happen to television since aerosol cheese.” Then he asked some question about the end of Angel and how they should handle some issue with the RPG. Joss tactfully handed it off to another panelist rather than tell the guy flat-out that it was a dumb (or at least inappropriate) question. (We’ve collected some more quotes from that panel.)

But this sort of thing happens all the time.

(via The Beat)

Posted in Comics, Sci-Fi/Fantasy | Tagged , | Leave a comment

Acid(2) Stare

Acid2 reference image.After looking at how Safari 3.1 handles the Acid2 test, and finding that under some circumstances/platforms it fails the test, I realized: that one line, with the eyes, has been the cause of most regressions in browsers that previously passed the test.

Rows 4-5 test fallback behavior for objects. The idea is that if a page tries to load an external resource, but can’t—the file is missing, the server’s down, the network’s slow, the browser doesn’t have the right plugin, etc.—the page can provide alternate content. And it can be nested, so you can try, say, a video clip that falls back to an SVG image that falls back to a PNG that falls back to text. Continue reading

Posted in Web Design | Tagged , , | Leave a comment

Safari 3.1 – Quick Thoughts

Safari LogoGrabbed the new Safari 3.1 this morning, both at work (WinXP) and on the laptop at home (Leopard). Noticed that the website no longer says “Beta” for the Windows version.

Oddly enough, there doesn’t seem to be much chatter from the browser community about it, at least not on sites I follow from work. There may be 25 posts on my RSS reader at home, for all I know.

I wish Apple would make the release notes easier to find. I clicked on the “more info” link in Software Update at home, but didn’t have time to really read it. I wanted to check the list at work, but there’s no menu item, it’s not visible on Apple’s website, and their search engine hasn’t indexed it yet. I had to search Google, and found it from some random person’s Twitter post. (Oh, and Apple? As long as I’m giving you advice, you’re running your site on Apache. Apache has a feature called mod_speling [sic] that will automatically correct a single-error typo when someone hits your site. I highly recommend that you look into it instead of handing out a 404 error whenever someone’s finger slips.)

User interface seems mostly the same as 3.0.

Not sure if it’s new or I just never noticed it, but the history menu has an option to reopen all windows from the previous session. It isn’t the automatic recovery offered by Firefox or Opera, but it’s the next best thing—and quite handy for cases when, for instance, Norton Antivirus has just updated itself and popped up a “will reboot in X seconds” warning, which you didn’t see because you had too many windows open. *ahem*

I believe this is the first browser released that supports embedding TrueType fonts. (IE has been able to embed fonts for years, but you had to convert them first, which may be why you don’t see too many these days.) When WebKit first added the feature last fall, I tested it out on my Les Mis page.

I really like the new developer tools (Prefs→Advanced→Show Develop menu), especially the network timeline. This, combined with YSlow on Firefox (itself an extension to Firebug), will be extremely useful for optimizing site performance.

It gets 77/100 on the Acid3 test, much better than Safari 3.0, which only scored 39/100. WebKit looks like it’s on track to be the first engine to pass again, having hit 93/100 yesterday. Oddly enough, the Acid2 regression is still present on XP (need to compare to the Mac version it displays correctly on the Mac), with an orange band covering the eyes and the border to the right of that band red instead of black.

Another odd thing: when it’s really busy, it seems to revert to a standard window frame instead of its own skin.

Who wants to bet that .Mac will be one of the first webapps to really make use of offline storage?

Posted in Apple, Browsers | Tagged , | 6 Comments

Wizard World LA 2008 – Con Report

Wizard World Los Angeles 2008Wizard World Los Angeles turned out to be a surprisingly good con. Originally I was planning to go on my own, but when they announced the addition of Milo Ventimiglia (Peter Petrelli) to the Heroes panel, Katie decided to go as well. So we drove into LA Saturday morning, and arrived at the con around 11:00 AM. I was expecting a much sparser crowd based on my experience last year, but that had been a Sunday. This Saturday was a full-fledged con.

Update: The photo gallery is up!

The Floor

I put on my robe and wizard hat.I spent most of the time on the main floor, hunting down back-issues, bargains and autographs. A lot of dealers had brought their bargain bins (some of them, thankfully, alphabetized!), and a lot of them had trades and hardcovers for half-off or close to it. There were also the booths selling high-grade Silver-Age and Golden-Age books, toys and collectibles, and at least two booths selling swords. Yes, swords.

At one point, I overheard two comic-book dealers discussing whether the show was worth it. One of them said that people here tended to be looking for bargains, so it was hard to sell anything else. They agreed San Diego was a better bet.

Marvel Cars: Iron Man and Punisher SUVsI’ve been joking that the logo design for this year’s con (see above) was inspired by the gigantic auto show that shared the convention center witl last year’s con. So I was surprised to find a mini-auto show here: Marvel-themed cars, including Iron Man and Punisher SUVs.

There was a stage set up for Guitar Hero. At one point, I noticed the music was Metallica’s “Enter Sandman.” It seemed appropriate.

Costuming

Darth Vader and his entourage march though the food court.There weren’t quite as many people in costume as I saw at WonderCon last month (also a Saturday). But there was a large contingent of people in Jedi costumes, some of whom seemed to be sparring with lightsabers every time I walked down the right edge of the dealers’ room. And there were Imperial Stormtroopers directing traffic, making sure people could find the one large panel room that was half-way to the other end of the convention center.

Continue reading

Posted in Comics, Heroes, Photos | Tagged , , , , | 11 Comments

What’s Dynamic About It?

In my post on Webslices, I mentioned that the home page of my Flash site uses server-side includes instead of a static HTML file. But it doesn’t really update that often: maybe 3 or 4 times a month. Is it really worth building that file dynamically? Should I switch from SSI to something more powerful, like PHP, that will let me add headers so that repeat visitors won’t have to re-download the whole page except when it’s actually different? Or should I switch to a static file, with the same benefits but simpler? What am I actually building, anyway?

Looking through the code, I find:

Browser upgrade banners. People using old versions of Firefox (currently 1.5 or older) or Internet Explorer (currently 5.5 or older) get an “Upgrade to Firefox 2″ banner instead of the thumbnail of the current issue of the comic. This is just as easily done with JavaScript—and is done with JS elsewhere on the site. (I used to make some minor adjustments for other versions of IE, but I converted them all to conditional comments a while back.)

Last-modified date in the footer, pulled from the actual file. I’ve already got a script to update this in the static files, so it’s just a matter of adding it to my general update script. A two-minute, one-time change and I’ll never notice the difference.

Latest posts from this blog. Probably better done with an iframe, or maybe using AJAX. Drawback: either method would mean an extra request from the client. On the plus side, repeat visitors would be able to re-use the rest of the page, and only download the 5-item list.

Unique-per-day spamtrap addresses, hidden where harvesters might pick them up. But only a few of them still accept mail and feed it to filters. Mostly, they just waste spammers’ resources. I could easily either get rid of them or change the script to generate a new address with each update instead of each day.

So really, there isn’t much stopping me from using a static file for the most-viewed page on the site, with all the attendant savings in system resources, bandwidth, etc.

On the other hand, I keep contemplating switching to a database-driven system for the whole thing, which would make any changes now meaningless. But since I’ve been thinking about that since around 2000 or so, and haven’t changed it yet, that’s not exactly a blocker!

Update (March 30): I’ve made the conversion to a static file. The blog posts and browser upgrade banners are now done client-side (and run after the rest of the page is loaded), the last-modified date is part of the pre-processing script, and I just removed the daily spamtrap addresses. Now to see whether it actually improves performance.

Posted in Comics, Site Updates, Web Design | Tagged , | Leave a comment

Webslices and Revisiting Microsummaries

When the first Firefox 2 beta was released, I looked into Microsummaries, a feature that enables bookmarks to automatically update their titles with information. I concluded they were useful, but not for anything I was doing. The main application would be my Flash site, but it already had an RSS feed for updates, and a microsummary could only really include the most recent item.

Now the first IE8 beta supports Webslices. They’re similar in concept, but can include formatted data (not just plain text) and use microformat-like markup on the web page instead of a <link> element in the head.

I figured with two browsers supporting the concept, I’d give it a shot. I adapted the script I use to generate the RSS feed so that it will also take everything on the most recent day and generate a text file, which is used for the Microsummary title. For the Webslice, to start with I just marked up the “Latest Updates” section of the home page. Since I haven’t installed IE8b1 at home, I’m using Daniel Glazman’s experimental Webchunks extension for Firefox to try it out. Unfortunately the extension doesn’t seem to resolve relative links in its current state.

The real question, of course, is whether either technology offers anything better than what feeds can do now.

I think I’ll end up going the external-feed route for the Webslice as well, since it’ll use a lot less bandwidth than having a bunch of IE installations pulling the entire home page once a day. Plus since I’m using SSI on that page, it doesn’t take advantage of conditional requests and caching, and a static file will. But that’ll have to wait. Lost is on in 2 minutes, and after getting up earlier than usual this morning, I’ll probably be going to bed right after the show.

Update: I checked in IE8, and the webslice does work as expected. A few minor differences: Webchunks pulls in external styles, like the background and colors, while IE8b1 only uses styles in the chunk itself. Interesting bit: I’m marking up list items as entries, and IE8 is actually displaying them as a bulleted list, while Webchunks is simply showing the content.

So it at least works. Maybe tonight or Sunday I’ll see if I can refine it a bit.

Posted in Web Design | Tagged , , , , , | 3 Comments

Contrail Contrast

2 contrails and a shadow lit up against the morning sky.

I had to get up early today, early enough that I could still see a couple of stars (or more likely planets, but I’ve lost track of where most of them are right now). When I got to work, I was treated to the sight of these contrails lit up against the morning sky. The rising sun was still behind the mountains, below the frame.

Look at the cloud directly above the contrail on the right, near the leaves. You’ll see a dark nearly-vertical line, which I initially took for a contrail’s shadow, possibly even the one below it. A minute or so later, though, it looked like it might have actually been another contrail, one not lit up by the sun and therefore darker than the cloud behind it.

Oddly enough, half an hour later the entire area was blanketed in fog.

Posted in Photos | Tagged , | 1 Comment

Cleaning up Firefox’s Memory Usage

Firefox.One of the biggest complaints about Firefox since 1.5 was released has been its high memory usage. Go to a forum anywhere and you’ll get people griping about “have they fixed the leak yet?”

It is, of course, much more complicated than that. There are caches, fragmentation, places where memory is used inefficiently, bunches of small leaks, leaks that only happen under specific circumstances, leaks in extensions, leaks triggered by combination of extensions, etc.—not one single leak that can be fixed. And then there was the unfortunate post in which one Mozilla developer (I’m too lazy to look up who) pointed out that 1.5 stored more information in memory, and that probably had a bigger impact on total memory size than actual leaks, which many people on the Internet jumped on as “It’s not a bug, it’s a feature.” (Why should they bother to read what was actually stated, when they can just read a misleading but sensational summary?)

A lot of the small leaks were patched in bugfix releases for 1.5 and 2.0, but really big changes are coming in Firefox 3. Mozilla’s Pavlov has written a detailed post on Firefox 3 Memory Usage, describing the different categories of memory improvements that have been made in the Firefox 3 development cycle.

I wouldn’t be surprised to find that this is one of the big reasons Firefox 3 has taken so much longer than previous releases. I suspect it’s time well spent, though, and users will be happier with a later, lighter Firefox than with one that shipped earlier, but used just as much memory.

(via Asa Dotzler)

Posted in Mozilla | Tagged , | 1 Comment

Golden to Green

Back in October, shortly before the Santiago Fire, I went sightseeing in the Tustin Foothills and snapped a picture of Peters Canyon, the hills behind it, and Saddleback in the background. A month later, I took a picture of the same view after the fire and posted the two as a before and after comparison.

Well, we’ve had several months of normal (for SoCal) rain, and the hills have turned green. Mostly. It’s clear that the scars from the fire are going to take at least another season to heal. The last couple of days have been very clear, so I went back to the same spot to take a “four months later” photo.

Mt. Saddleback seen from Tustin foothills, March 2008
March 10, 2008. Click for a larger version

Now compare it to the November (post-fire) and October (pre-fire) photos: Continue reading

Posted in Photos | Tagged , , | Leave a comment