Some people didn't like the fact that the snow in my scripted SVG blog header was causing the Firefox CPU load to rail. My excuse was that I was trying to push out some content before the Holiday rush hit and I had to go travelling. Given that the season is now over, I spent about 20 minutes optimizing the script. My apologies to all those CPU fans out there for the last couple weeks...

Other than minor JavaScript tweaking (like removing parsing of strings into floats and declaring variables outside of loops, etc), I decided to just have all snowflakes active at once and to slow down the timer interval. From my side, it looks like it did the trick for Firefox 1.5 but not Opera 9 TP1 (Adobe SVG Viewer was never an issue), but I'll wait to hear from my critics 😉

If you wanted to optimize this even more at the cost of perceived randomness it would be quite simple to do in SVG. I'll probably save another entry for that, but basically it involves adding flakes randomly beforehand to a few static "snow panes" (<g> elements) and then simply sliding each pane down the image at differing speeds and positions (you can add a random drift too each pane's descent too). I think it would still look pretty cool and only require updating the position of (let's say) 4 snow "panes" instead of 50 snow flakes every tick.

§200 · January 3, 2006 · Firefox, JavaScript, Opera, Software, SVG, Technology, Tips, Web · 11 comments ·


I wrote about my hard drive plans here, but what I ended up doing was purchasing a really cheap internal Maxtor SATA hard drive kit that Costco just started carrying ($170 for 300 GB). The kit comes with a SATA PCI adapter card, which is good because my home system only has a SCSI interface for hard drives. I've been waiting for the next Maxtor hard drive to show up at this price point at Costco. I figure buy it early to maximize the gains for the dollars spent (up until a few weeks ago they had been carrying a 250 GB SATA Maxtor kit for $160 and I was kicking myself for not hopping on that early). Read the rest of this entry ...

§133 · August 5, 2005 · Technology, Tips · 1 comment ·


I've written about my love of TextPad before here. I just thought I'd post a couple quick tips about how to configure TextPad to view documents the way you like it. Read the rest of this entry ...

§117 · July 8, 2005 · Software, Technology, Tips · 8 comments ·


Jonathan Watt, one of the main Mozilla SVG developers sent me a link to this document which he's working on to help instruct the world how to write proper SVG which Mozilla+SVG will be able to render. Give it a read and send him some feedback.

By the way, I downloaded the latest Deer Park Alpha Build (Firefox 1.1 Alpha) and it has SVG enabled by default.

§98 · May 27, 2005 · Firefox, Software, SVG, Technology, Tips, Web · Comments Off on Writing Proper SVG for Mozilla ·


I've been pecking a way at this online chat program that I started as an excuse to learn some JavaScript and enhance my PHP skills (as well as get around a certain corporate firewall). It's coming along nicely. Tonight I added a RSS feed for it so that users can monitor the most recent conversation without having to be constantly logged in. I've been trying to figure out a good way to manage the deployment of the web application. Read the rest of this entry ...

§96 · May 24, 2005 · Ajax, JavaScript, PHP, Software, Technology, Tips, Web · Comments Off on Deploying For The Live Web ·