Wednesday, October 28, 2009

Withdrawing the twitter support

I have taken back the twitter support, primarily because nobody was using it and I am hoping to work on some other dimension of the product. Since nobody was using it, the every-minute cron job and the subsequent processing seemed a little wasteful to me. Hoping for something interesting for you in future.

Saturday, August 1, 2009

Rolling out Twitter Support

[Update: The twitter support has been withdrawn. Please don't try this feature anymore. ]

As I was blogging yesterday about enhancing the site, I did manage to find some time yesterday and I decided to add Twitter support to the Rahukalam Calculator. Essentially, all you have to do is to send a tweet with the following format:
@rahukalam r
and replace the with whatever location you desire to get the Rahukalam for and the tool will respond with a tweet containing the Rahukalam for the next 3 days, the same as the UI.

Note: This will only work if your twitter stream is not protected, because if it is protected, then it would not be able to read your tweets. Rolling out support for protected twitter handles will come at a later point of time.

Friday, July 31, 2009

Suggestions welcome

Its quite surprising to see that the tool I built, more as a hack, is really picking up traffic. I have already seen about 500 visitors on it in the last 10 days and its growing. Given that it is growing, I want to improve the site. I have quite a few ideas (rss support, twitter support, better UI, mail notifications & so on) but I am undecided on what to take up and what may not be useful for the users. So, I am asking you, the users, to provide inputs on what features/enhancements you would like to see. Drop a comment on this post and I will look into it.

Monday, July 20, 2009

Introducing the Rahukalam Calculator

This entry is to introduce the Rahukalam Calculator to all of you [and is a copy of the original post about this product from my main blog]:

Rahu Kalam, in Indian Astrology, is considered that part of the day which is inauspicious for starting new activities or performing good deeds. More on how to calculate Rahu Kalam at Wikipiedia. Essentially, Rahu Kalam is supposed to be calculated on the basis on the sunrise and sunset times, which in turns depends on where you live. Calculating this is quite tedious.

In India, since it is mostly South Indians who believe in Rahu Kalam, they tend to assume that sunrise and sunset is 0600 and 1800 Hrs respectively. This leads to fixed times of the Rahu Kalam on each day of the week. This, however, could be wrong depending on the seasons. Even more importantly, this would be quite wrong in others parts of the world. In Singapore, sunrise is rarely before 7.00 AM and in Scandinavian counties, sunrise and sunset hugely varies depending on the season. So, I decided to write a hack to automate all this.

So the site is at:
http://rahukalamcalculator.appspot.com/

Essentially, you need to tell where you are from (Bangalore, Hyderabad, New York etc) and based on the lat-long on that location, it will calculate the Sunrise Sunset times and tell you the Rahu Kalam for the next 3 days. You are of course free to choose a specific date and find the Rahu Kalam for that date. The system will remember your location choice and not ask you next time. (You can choose to clear it, of course)

The hack itself involves using a bunch of webservices - the Yahoo Maps Webservice for geocoding a location and getting its latitude and longitude. Second, I used the Earthtools API to get the sunrise and the sunset of a given location. Everything else is calculated internally. I have hosted it on Google App Engine.

Please test the tool and give me your much-sought-after feedback/suggestions etc. You may also tell me what you want to see there.