Cells, Mortality and Life

I listened to part of this radio program in the car today with Grace. I was so fascinated by it that I came home and found the entire program and listened to the rest of it. And since I’ve sent enough emails and IMs to some friends to urge them to listen to it, I might as well post it for all to see. The first two stories were what really fascinated me. The third story reminded me of David’s passing and how this family coped with death in a more creative manner.

Great show. It will be worth your time.

Testing Localhost Developments in Internet Explorer via Parallels on Mac OSX

Developing web applications can be a frustrating job solely because so many people still use various versions of Microsoft Internet Explorer — possibly some of the worst browsers compared to most of the other modern browsers in terms of adherence to web standards. But I can’t just not test my applications against them simply because I hate them… So the war continues…

One of the problems of testing web apps under Parallels with IE is, instead of testing development URLs such as

1
http://localhost/

, usually IP addresses have to be used, like such

1
http://192.168.0.100

, to reach OSX’s localhost server (because

1
localhost

on Windows would entail having an actual web server running under Windows). The problem with that is that some applications such as WordPress need to have a full absolute path in order for it to work properly (especially when dealing with themes). I’ve tried a couple of workarounds, but nothing is as simple as using Apple’s own Bonjour technology.

I found a post that explains how to set it all up. Even though his example deals with running Ruby on Rails, the idea is exactly the same for other development environments such as PHP and Java (enable port 80, 443… etc). Now I am a happy camper…

via [the naked brain]

Unobtrusive JavaScripting

Recently I’ve been looking into ways to make my code more maintainable after having to support an old site I did and some Actionscript code from someone else. One of the things I found and REALLY liked was the idea of using Javascripts in an “unobtrusive” manner. Basically all it means is to take out those Javascript event calls like

1
onClick

,

1
onMouseOver

and such from the presentation layer (CSS style sheets and HTML tags), and use other means to achieve the same effects.

What I’ve found useful and have been using ever since are these classes:

1. Prototype
2. script.aculo.us
3. Behaviour

There are tons of extensions and subclasses written for them, making them super useful when you want something done quickly and effectively. I especially like Behaviour for its simplicity and the ability it affords me to completely separate Javascripting from tangling with my HTML codes (hard coded, dynamically generated or otherwise).

There are other useful ones such as jQuery and moo.fx, but I’ve been pretty happy with those other three core packages so far.

Incidentally, Apple’s revamped site also has a lot of new Javascript-driven effects that are pretty interesting to look at and experiment with. Another really clean and simple site I like is Panic’s Coda product site. Really very effective use of Javascripts in presentation.

There’s always so much to learn with so little time… What to do!!

The Simpsons Attacks 7-11 Stores

I guess only geeks can truly appreciate the humor in The Simpsons. Even though I don’t really like Fox as a channel (especially its news reporting), I do like The Simpsons and Futurama. Fox’s latest public stunt is to rebrand a series of Seven Eleven Stores in the United States into Kwik-e-Marts. They also carry limited supply of merchandise and food found only in the cartoon. Unfortunately all the good stuff were all sold out when we visited this past week. But the store was packed with geeks, some of whom were there to stock up on those nuclear-looking pink dough nuts.

Bryan with Homer

Funny Tag Lines

Photos from My Trip to New York

I finally got a chance to process some pictures I have stashed away for a couple of months with Apple’s Aperture. And as proposed, I also posted some images I took of New York when I visited on my Flickr account. It was interesting going back to Manhattan with a fresh pair of eyes after having been away for a few years.

Subway Stand

The New Meets the Old

Grand Central Station

Alicia and Uncle B

Alicia and Jason came by yesterday for a little while to hang out. Bryan was very excited to see them again. He gave Jason a special nickname: “Uncle B.” Unfortunately his desire for a good nap won over his excitement, and he had to take a break.

When Bryan woke up, Jason and Alicia had already left. But from the living room, I could hear when Bryan woke up, his first words were: “Ah-yi, un, un, Uncle B!” (Ah-yi is an endeared name for “aunt” in Mandarin). He was sooooo disappointed that he missed seeing them!

Sometimes it’s interesting to observe little children’s emotions and reactions towards certain situations. In Bryan’s case, he was utterly shocked that Jason and Alicia disappeared! It was unfathomable to his little mind. His face looked as if he was saying: “Get out! What do you mean they’d gone home? There were just here!”