Monthly Archives: July 2009

Sneaky Spammers & Twitter Personality

  • Remember that web site you made years ago? Spammers do. #
  • This is begging for a Spamusement comic w/fishbowl & trombone: “If you had a gold fish, you would ask for a bigger instrument.” #
  • Not a robot anymore! My Twitter personality: likeable sociable fair My style: chatty coherent SHARER #twanalyst #

Posted in Computers/Internet, Spam | Tagged | Leave a comment

@font-face Crashes Firefox on Fedora

With the release of Firefox 3.5, I decided it was finally time to get serious about setting up a custom headline font on Speed Force. Cross-platform @font-face embedding in CSS is now possible on Firefox, Safari, the beta version of Opera, and (I think) Chrome. So I pulled out some bookmarks, looked for some fonts with licenses that allowed embedding, messed around with a test page and finally settled on two custom fonts: one for the post headlines, and one for the title and the sidebar section headers.

I tested it in a couple of browsers, both on my Linux desktop and on the Mac laptop, and planned to test it on the Windows desktop when Katie was done with it. But then something weird started happening.

Firefox started crashing. Repeatedly. Not quite predictably, but only when that test page was open.

I figured maybe it was a corrupted font, so I removed one, then the other, then both. If the page tried to download an embedded font, Firefox would eventually crash. If not, it was rock solid.

This seemed kind of bizarre for such a high-profile new feature to cause consistent crashing.

I did some searches online but didn’t come up with anything until I tried running Firefox from the command-line, so that I could read the error message. It complained, "firefox: cairo-ft-font.c:554: _cairo_ft_unscaled_font_lock_face: Assertion `!unscaled->from_face' failed." Searching for that led me to Fedora bug 509501 and bug 502274, and this blog entry.

To make a long story short:

  • On Linux, Firefox uses a library called cairo to handle graphics, including fonts.
  • An old version of cairo had a bug that would cause crashes with fonts under certain circumstances.
  • Cairo fixed the bug in December.
  • Fedora 11 is still using the old version of cairo.

So until Fedora ships a newer (or at least patched) version of cairo, my primary browser on my primary desktop will crash on any web page with an embedded font.

Nice.

I guess I could patch my own system for now and put the fonts up for the benefit of the rest of the Firefox+Safari+Opera-using audience on Windows and Macs (and probably other Linux distributions). But that means causing a crash for anyone else running Fedora 11 when they visit my site. I’m not too thrilled about that idea. I have no problem with adding enhancements that only appear under certain browser+os combinations, but actively crashing a browser? Not something I want to do.

Update (July 21): Aha! Fedora submitted an updated cairo for inclusion in the stable release last night!

Posted in Troubleshooting | Tagged , , , , | 4 Comments

Boom!

We took our annual trip down to Laguna Beach to watch the fireworks display launched off the bluffs. This time we made reservations for dinner at a restaurant we’d walked by a bunch of times, Ocean Avenue Restaurant and Brewery. Would definitely go there again.

Around 7:30 we staked out a spot on the beach, which was already crowded. At the time we got there, the daytime beach-goers were just leaving, while the fireworks crowd was just arriving. I kicked off my shoes and waded out into the surf a bit, taking pictures of seagulls and scenery. Then it became clear the tide was coming in, and we moved up the beach to an area that didn’t have any seaweed. Sure, it was 10 feet from a volleyball court and next to a group with a couple of umbrellas (which they never did take down), but at least we could rely on not getting flooded during the show.

It cooled off pretty quickly, and I went across the street to get us both some coffee at one of the two Starbucks. Yes, two. (One used to be a Diedrich.) The line was about 15 feet out the door when I got there, and it took me about 25 minutes to get through it, by which time I just ordered plain coffee so I could get out of there quickly. It had stretched to at least 40 feet out the door!

The sky grew darker, the moon grew brighter, and stars started peeking out, and finally around 10 minutes to 9, a lone firework went off. I’m fairly certain they do a test fire, because there always seems to be one firework that goes off about 10 minutes before the show gets going. Soon we could hear low booming sounds in the distance, and flashes of light started appearing over the bluffs from the next display up the coast (Corona del Mar, maybe?)

Meanwhile, the volleyball game was still going, even without any light except the moon and streetlights.

A little after 9, the fireworks started, launched out over the ocean from somewhere behind the bluffs at the northwest end of the beach. The volleyball game stopped, people rearranged themselves to be able to see, and we ended up standing and drinking coffee. I experimented with the night and fireworks settings on my camera, and tried out the video on my phone, but mostly just watched. I actually got a few decent shots.

The wind was good, blowing the smoke parallel to the beach and keeping the view of the fireworks clear. (A few years ago, it lingered, so after a few minutes we got to see smoke lit up in pretty colors.) Every once in a while, I’d look behind to see the moon and the fireworks from the next display along the coast the other way (Dana Point?), barely visible in the distance.

After the big finale, just about everyone started leaving the beach, heading for one of the few places where you can cross PCH. We stopped at a gelato place on our way back to the car, tried some flavors, and shared a two-scoop cup with one scoop of ginger and one of pineapple chocolate chip. They went surprisingly well together.

By the time we made it back to the car (parked up near the Laguna Playhouse), the traffic had died down a bit and we had a smooth drive up the canyon. After a while, we started seeing bright flashes of light over the hills, and realized even after 10:00 there must still be another fireworks show going. As near as either of us could tell it was near the Verizon Wireless Amphitheater.

Finally got home, avoiding the two raccoons that ran in front of the car, washed the sand off of our shoes and feet, and I started going through the photos looking to see how many actually turned out well.

(Cross-posted from LiveJournal. More photos at Flickr.)

Posted in General, Photos | Tagged , , | 1 Comment

Stalker Watch, Immortality, Fast Food Crossover

  • Spam subject: “Your watch will find you no matter where you are.” What if I don’t want Stalker Watch to follow me around? #
  • @BadAstronomer writes a short-short story:

    Beware of what you wish for… Immortality is boring. #

  • Waiting for food at Rubio’s. Employees are trying to get the lyrics straight for the latest Jack-In-the-Box commercial. #
  • Errands complete! Afternoon to relax, then dinner & fireworks! #

Posted in Sci-Fi/Fantasy, Spam, Strange World | Tagged , , , | Leave a comment

Out with the Old

  • OK, I think the new server is tested enough for now. Time for lunch. And, I think, a walk. #
  • Odd: I just watched 2 people tossing things over the edge of the roof of an office building in the distance for several minutes. #
  • I’ve just turned off our oldest internet-facing server. I’m not 100% sure, but I think it went back to 2001 – almost as old as IE6! #

Posted in Computers/Internet, Strange World | Tagged , , , , | Leave a comment

ATM Design: Shelf?

It sure would be nice if this ATM had at least 1 horizontal surface so I could set down my drink & not have to mess w/my wallet one-handed #

Posted in Annoyances | Tagged , , | Leave a comment