Archive for January, 2009

26, Jan 2009

Republic Day Celebrations 26 Jan, 2009

India just celebrated its 60th Republic Day Celebrations.

26th January, the Republic day of India. I can write an esaay on the same. (As if I have never done that! It was a favourite during the school days).

26th January also reminds me of an earthquake in Gujarat in 2001. Students were lucky that they were in parade, and not in the old structure of their shools.

Proud to be Indian

People who have missed the parade can see it at  Republic Day Celebrations. Please don’t ask me what is the importance of that parade!

18, Jan 2009

The new theme – dilemma of CSS

I have just updated new theme, if hope you like it!

I think I have been updating themes quite regularly. But lets see, what’s the process that I follow to update the theme.

1. Staging server

Play – play a lot with the staging server. Obviously the server is local on my PC. I am using DynDNS to make sure that the staging server, even if local, gets all the features of a full blown website. 

2. “hg ci” on the staging location.

The wordpress theme on the staging server is under hg (Mercurial Configuration management system). Its good to keep track of the changes! :) But this also helps to “merge” the changes! Go throught this post and you would understand what I mean by “merging

with “hg ci” the Commit command of mercurial the changes are frozen to be taken to live server.

3. Local replica

On the live server, I have 3 sites to maintain; purnank.in, fun.purnank.in, meera.purnank.in

I have to uploading the changes via ftp. (I still don’t know how to do that using command line. But it’s on my wishlist to do that with ./command rather than at the click of mouse.)

(more…)

2, Jan 2009

Leap Seconds

Was just going through Python Library Reference on time and found that it supports seconds from 0 to 61.

This was really surprising, and it was due to “Leap Seconds“.
Sometimes one second, and sometimes 2 seconds have to be added! (or removed)