Insomnia

Joey | grepper.org | Saturday, May 14th, 2005

I never had any reason to learn php… or any programming language for that matter… But I’ve always been a bit of a hack, and like to tinker, so when I found myself not being able to sleep for the past several days, I thought, due to my exposure now to WordPress, that I’d play around with a few things.

I thought it would be cool to be able to automagically mark the sites listed in my blogroll if they had updates within the past 24 hours… So I played with a simple function to read the rss feed of a WordPress site, and calculate the age of all the articles… Not sure if I’ll go much further on this considering that not everyone uses WordPress and it could be a veritable nightmare trying to generalize grabbing the date from various rss schemas…

The second thing I tried, and this could only come from a sleep deprived brain, was to write a function to do a rough calculation of the moon’s phase based upon the current date. Generally my insomnia follows the phases of the moon, so I think yesterday around 3am, I was curious what the current phase was… :-) Well I found an algorithim written and C, which nearly literally translated to php, and viola… I thought if I could find some opensource images, I’d write a little plugin for wordpress that would allow users to “stamp” their posts with the phase of the moon…

Anyway, if you’re curious about these silly functions I have published a new “page” on the site for me to test them: php tests.

Cinco de Mayo Numerology

Joey | grepper.org | Thursday, May 5th, 2005

Along the lines of 3/4/5 and many other interesting dates we’ll encounter in this first decade of the new millennium…

Undoubtedly you’ll notice that today is 5/5/5.

But did you notice that it is also the 125th day of the year, and 5*5*5 = 125?

(It’s also the 5th day of the week, depending on which calendar you observe…)

Scary isn’t it? Anyone from the Indian side of the family care to comment on if this is Auspicious or not?

Greetings from Work…

Joey | grepper.org | Tuesday, April 26th, 2005

Had a pretty disappointing golf lesson at lunch today… 2 steps forward, 1 step back… Just when I thought I had the irons down the teacher threw woods at me today…

« Previous Page | Next Page »

Powered by WordPress | Original Theme (tranquility-white) by Roy Tanck