Blog

  • Screwing around with Headers

    October 9, 2004

    I was curious what a 100K JPEG image would look like below the rather bland navigation bar. Not too bad, actually! The image whitespace at the top looks cool with the category tabs.

    But yes, it’s a big JPEG, both in terms of bandwidth and layout. The tick marks on the side are also a problem, because they blur out if the JPEG quality isn’t high enough. And you can’t really see very much text. Annoying? I guess I’ll find out.

    Read more
    DSri Seah
  • Big MovieClip “Duh”

    October 9, 2004

    For a while, I’ve been wondering if there was a better way of catching events from MovieClips in an object-oriented context. If you use the “onEvent” hooks in MovieClip, they store only the address of your function. The way I did it in Prove It was by (taking deep breath) creating a static method in a special MovieClip wrapper class that used the this keyword as the key in a hashed array for looking up registered instance references

    (more…)

    Read more
    DSri Seah
  • Saturday Night PHP Hacking

    October 9, 2004

    After using mod_rewrite to set up categories, I needed a visual way to distinguish them. Well, maybe I didn’t need it, but I wanted it!

    (more…)

    Read more
    DSri Seah
  • The Power of MOD_REWRITE

    October 9, 2004

    As the entries have been piling up here at davidseah.com, I’ve become aware of three main categories:

    • Stuff I’m thinking about of an investigative nature
    • Stuff that’s interesting to my friends of a happy, fluffy nature
    • Stuff that’s related to work, media, and career in a more serious way

    I looked at creating multiple blogs drawing from the same database tables in WordPress, but it seemed to be a hassle. Then I realized that mod_rewrite, which I’d used to set up the permalinks, could do this for me.

    (more…)

    Read more
    DSri Seah
  • Registering to Vote

    October 8, 2004

    Don't want this to happen again...Today I registered to vote for the first time, heading down to the Nashua City Hall to stand in line. A couple of things struck me… the variety of people you see at City Hall, united in their common goal to have their vehicle registration renewed. I felt a small surge of civic duty as I stood in the City Clerk’s Voter Registration Line. It was not unlike the way I felt when waiting to ride the Indiana Jones Adventure at Disneyland; the anticipation was more interesting than the actual experience, which was disappointingly free of drama. I had brought along a small wad of utility bills and other incontrovertible documents to vigorously assert my identity. But no, all they needed was my driver’s license. They even printed out the form for me with everything filled in, and I just had to sign it. Absolutely painless…I give the experience an “B+”. If I had gotten a free sticker, that might have pushed things into “A” territory.
    Read more
    DSri Seah