< December 2005 >
     1 2 3
4 5 6 7 8 910
Fri, 16 Dec 2005:

Played around with flickr badges and a bit more javascript. Ended up with a simple enough fifteen demo in around 3 hours. DHTML and Javascript have slowly started to become a fun thing to hack on - mainly thanks to mozilla.

While coding it, spo0nman dropped in and he told me that he never knew about xpcshell (that was hidden away in my slashdot journal). It is a javascript interactive shell - like the python equivalent everyone has seen. For example, download dotgnu js samples and run it on the Firefox js engine (spidermonkey).

bash$ alias xpcshell='/usr/lib/firefox-1.0.7/run-mozilla.sh /usr/lib/firefox-1.0.7/xpcshell'

bash$ xpcshell
js > ^D

bash$ xpcshell prototype.js
<juliet> Romeo!
<romeo> My dear ?
<juliet> At what o'clock to-morrow shall I send to thee?
<romeo> At the hour of nine.
<juliet> I will not fail: 'tis twenty years till then.

It is great for syntax checking your .js files - if you're writing FF extensions. But of course, I was writing all these on slashdot. Nice place to hide your journal actually (not indexed by Google).

posted at: 17:19 | path: /hacks | permalink | Tags:

We refuse to see the world as it is, as Douglas Adams's [1] immortal words (though in person having proved himself to be quite mortal) go - the one thing sentient life cannot afford to have is a sense of proportion. In my earlier blog about the goggles of selective blindness that I myself wear when I go nostalgic.

The following screenies are from a Simpsons episode - a series of which I am a great fan. After losing his job at the bowling alley, Homer goes back to work at the Nucular power plant. Mr Burns decides to hire him back and give him plague. Smithers corrects him saying that A plaque, sir. A demotivational plaque.

A demotivational plaque from the Nucular power plant

The episode then moves into why they don't have any baby pictures of Maggie. After fifteen odd minutes and concluding the story, Lisa asks So why aren't there any pictures of Maggie here ?. Homer says Oh, I keep them where I need them the most.

Do it for money, do it for luck or do it for love - Just do it.

If you have nothing to do, don't do it here.

posted at: 15:12 | path: /movies | permalink | Tags: