Archive for September, 2007

Sep
10
Filed Under (Uncategorized) by Thejesh GN on 10-09-2007

Last few days I was fighting with Modal Dialog ( opened with the method showModalDialog ) to forward to a new page with out opening a new window.The usual
document.location.href = newurl;
works but opens in a new window. Then I got a simple solution. window.name = "somename"
window.open(newurl, window.name)
well this works very fine. It opens the new url in a wondow with the name “somename”. Since that is our modal dialog is “somename” destination url opens in this modal dialog.



Sep
07
Filed Under (Uncategorized) by Thejesh GN on 07-09-2007

We will have our third BRTFF Show at Chung Wah on this sunday. Here is BRTFF and EventsBangalore Schwag Tshirt. We have 20+ of them for the volunteers. And I had few to distribute it amongs my friends. Just sent an sms for asking who needs them. Anita and Sindhu replied first to get one each T for them selves.
BRTFF Schwag  Tshirt



Sep
06
Filed Under (Travel) by Thejesh GN on 06-09-2007

Well as planned we went Sandeeps home to wish him on his birthday(30Aug). Everything got over by 1am. Now what to do till morning. Everybody went back to sleep except myself and MK. Note: All the pictures are taken using my K750i mobile, so don’t expect clarity. Click on the image for a bigger size.
birthday.JPG
We got a crazy idea of going to Nandhi Hills in the morning. But what to do until 5 am? Roam around the city and drive to Nandhi Hills in the early morning. But next day was a working day… who cares?

nandhi_hills1.JPG

Roamed the whole city for three hours had some great tea at Shivaji Nagar and Koramangala.  At 4 am could not wait more  started driving towards Nandhi Hills. I drove very slow for the first time in my car’s life. Read the rest of this entry »



Sep
05
Filed Under (Life) by Thejesh GN on 05-09-2007

twitter.pngLast few days me and my friends where trying to setup a twitter channel for our group. We wanted this one to be personal sms chat group. All group members will get the tweets posted to this channel.They will also be able to post tweets to group. And as far as possible outsider should not be able to get any tweets. And 100% no spamming by outsider. Yesterday we finalized our solution. This may not be the best way to do it. But it works (it has its own problems too). In this solution we use twitter and third party services but we have not coded a single line of code. And hence it is for non geeks too. Here are the steps:

  • Setup a twitter account and make tweets private. This is our channel tweet from whom we will be getting tweets.
  • Get the direct message atom feed. This is not straight you need to use their api url. You can get the feed using the url below. Note the password and userid are part of url. Not the safest way but it works. http://userid:password@twitter.com/direct_messages.atom
  • Now feed this to twitterfeed.com to msg to channel as soon as possible. TwitterFeed is a service which takes a feed and posts the title and content as tweet to a given id.
  • To get the messages from the channel follow the channel.
  • To post the messages you need to send a direct message to channel and for that channel should be following you. So ask the admin of channel to add you as a friend.
  • Now just send a d channel message to send the message to the group

Known problems:

  • Messages are delayed by half an hour because twitterfeed wakes up only at half an hour interval.
  • The broadcast messages does not have the senders id. So the sender has to identify himself seaparately.
  • May not be the safest way to implement a channel

What next:
Use the twitter Apis and write your own mashup do the same in a better way. Thanks to anarahari for the implementation and testing. wesleyneo and prsn for all the brainstorming tweets.

Further read:
Refer Twitter Fan Wiki for other API implementations and projects and here is the proposal for the twitter channel tag.



Sep
01
Filed Under (Uncategorized) by Thejesh GN on 01-09-2007

Lage Raho Munna Bhai is on the front page of wikipedia. Its today’s featured article. Both films and Wikipedia are favorite subjects to talk about. And LRMB is one of my favorite bollywood movies.

Lage Raho Munna Bhai is a 2006 Indian musical comedy directed by Rajkumar Hirani and produced by Vidhu Vinod Chopra. It is the first Hindi film to be shown in the United Nations and is the second film in the popular Munna Bhai series of Bollywood. Sanjay Dutt stars in this film as Munna Bhai, a Mumbai underworld don, who begins to see the spirit of Mahatma Gandhi. Through his interactions with the image of Gandhi, Munna Bhai begins to practice what he calls Gandhigiri (Satyagraha, non-violence, and truth) to help ordinary people solve their problems

wiki_lrmb.jpg