log

July 20, 2008

Browser-safe font list

I’ve used the Ampsoft font list so many times and it’s about time I linked to it. Thank you Alberto. Even if the @font-face feature becomes available in every browser soon we’ll still need resources like this for years to come because of compatibility.

posted by Andrew

July 15, 2008

IE8 location.hash

The comments here are gold.

posted by Andrew

Firefox 3 history database speed

Of the few things I dislike about Firefox 3, the history manager (Places Library) is the worst. The UI frequently pauses for seconds at a time when moving up and down the list, deleting multiple entries from the database is painfully slow and there’s no progress bar. If an action blocks the UI for long enough a dialog appears asking whether you want to kill the current script (including an internal pathname and line number!). It’s not user-friendly and I don’t have a clue what state that’d leave the app in, so I hesitate to do it.

I had a hunch that the Places database was responsible for at least part of the slowness, along with my slow start-up times and occasional UI pauses when typing in the address bar. So I went in search of a way to optimise the DB or failing that circumvent the Library UI and remove rows manually.

I ran over a comment by ‘olaf675’ about using the SQLite Manager addon for FF3 to Compact the Places database. This worked a charm, reducing my places.sqlite file from 26MB to 13MB with no apparent issues after two restarts. This took about ~10 seconds of processing.

I stepped into the Library again and removed random crap from history such as anything ending in .jpg, Flickr photo pages (flickr.com/photos) and Google searches (google.com/search). This totaled just over 6000 entries. Then anything over 4 months old bit the dust (~1250). At this point removing large numbers of entries was a lot faster. The Library is still not hang-free but it’s a real improvement. Hopefully the Places UI work in FF3.1 will reduce freezes and provide progress feedback.

posted by Andrew

July 14, 2008

Firefox wallpapers

Firefox 3 wallpaper
Beautiful Firefox-themed wallpapers collected by the folks at Hongkiat.

If you plan on doing something public with these, be aware that each image is licensed individually.

posted by Andrew

Quote of the day

You can purchase anything off the Internet except common sense,” Harrison said. “A venomous snake isn’t a pet. You don’t play with it. If you do, you’re an idiot.”

posted by Andrew

July 10, 2008

Logo stuff

CRG logos
Finally got around to adding the CRG logo designs to my portfolio. I did these mid-May in conjunction with 3 Gen Creations, and hopefully the CRG website will be alive soon too.

posted by Andrew