Monthly Archives: August 2008

Blogging from Grand Canyon

Will post more abt it when I return back to Redlands

Fake Currencies

One more way a citizen can be mugged. Check this article.

Isn’t it the responsibility of the bank to check the validity of currency before circulating it?  Shouldn’t they compensate for the money the account holder has lost?

I’m not a lawyer so I will have to assume the reporter has done is job good but who knows TimesofIndia is known for publishing baseless stories.

How to avoid bots from filling up Online forms using Spry?

I’m sure every one some day or other were annoyed while filling out the painful CAPTCHA image in the form field. I have hated it all the time and its a pain for the users to read through the image and retype it again. Here is a simple solution that I found out while working @ESRI . I’m not sure who developed this solution but it has avoided a lot of bots from filling up online forms.

The solution is to load the form when the user clicks an buttons/link basically any event that an real human can do it. The form could be

  • loaded using an AJAX call. Using ur own favorite Javascript library.
  • Just hide the form and then show when the user clicks on the link.

After putting up the Yahoo online status image on my web site I have been getting a lot of spam IMs to my ID and to prevent this from happening I decided to implement this method. Since I’m a big time fan of Spry I did it using that and here is how I did it.

<script src=”/spry/SpryHTMLPanel.js” type=”text/javascript”></script>

<div id=”YahooStatus”>
<a onclick=”hpanel.loadContent(‘/forms/dsp_Yahoo_status.html’,{async : true}); return false;” href=”javascriot:void();”>

<h2>Get my Yahoo online status</h2>

</a>
</div>

<div id=”rpanel”></div>

<script type=”text/javascript”><!–

var hpanel = new Spry.Widget.HTMLPanel(“rpanel”,{evalScripts : true});

// –></script>

  1. Initially I load up the Spryhtmlpanel.js final.

    <script src=”/spry/SpryHTMLPanel.js” type=”text/javascript”></script>

  2. Then set up an anchor region with onclick event that pulls the page called dsp_yahoo_status.html from forms directory in to the rpanel div region.

    <div id=”YahooStatus”>
    <a onclick=”hpanel.loadContent(‘/forms/dsp_Yahoo_status.html’,{async : true}); return false;” href=”javascriot:void();”>

    <h2>Get my Yahoo online status</h2>

    </a>
    </div>

  3. The rpanel div region is the region that gets loaded with the Yahoo status.

    <div id=”rpanel”></div><

  4. Then initialize the spry html panel widget. The evalscripts tells spry to execute any javascript inside the loaded page. This feature would help us to run validation scripts when an form is loaded instead of a normal text.

    <script type=”text/javascript”><!–

    var hpanel = new Spry.Widget.HTMLPanel(“rpanel”,{evalScripts : true});

    // –></script>

This way only an human would be able to view my Yahoo status. The same concept can be used for loading up forms as well and all this in just 10 line of codes.

To find more info on how to use Spry HTML panel check out this page which has better examples.

Somebody is in trouble @ Pizza Hut IT dept

I was just going through my emails today and found out this email from Pizza apologizing for sending out a wrong campaign email.

Looks like some programmer used his official email to sent out email this is what gets you into trouble. Hope I don’t do it and provide an opportunity for an blogger like me.
Well here are the 2 emails:

Dear Valued Pizza Hut Customer:

You may have received an email on Wednesday that appeared to be from Pizza Hut with the subject line
“Sports – 2 Medium pizzas, 1 one-topping and 1 specialty or up to 3 toppings”. We were testing
new functionality that will better serve our customers. It was not the intent of Pizza Hut for this email to be
sent to you. We apologize for any inconvenience or confusion this may have caused. We value your relationship
with us and understand that communicating with you via email is a privilege not to be taken lightly. We have
identified the cause of the mistake and have taken steps to make sure this does not happen again.

Again, we apologize for any inconvenience or confusion that email message may have caused. We appreciate
you as a customer and want you to be 100% satisfied with us.

Pizza Hut and YUM! Brands are committed to your privacy and the privacy of your data. As such, we recently
updated our privacy policy. View our Privacy Policy here.

The Pizza Hut name, logos and related marks are trademarks of Pizza Hut, Inc.

(C)2008 Pizza Hut, Inc., 14841 Dallas Parkway, Dallas, TX 75254.

To unsubscribe and not receive further emails, click here.

Here is the errant emails image:
Pizza hut Errant Email

Yahoo Power User

Today I got an email from the Yahoo messenger team stating that I have fallen in to the category of power user usin yahoo messenger which basically means I stay online more often then other users and annoy my friends :) .

As a way to thank me for using Yahoo messenger they are providing me with these new features which I’m happy to accept. You can also find the benefits of being a power user @ the following link.

  • 24/7 customer care. Not interested I’m already a premium user I pay for service so I better get 24/7.
  • Exclusive Online Indicators. Nice features and I have already added the online indicator to my sidebar. Check it out its nice. I will have to test this feature since I don’t want bots to IM me using the link. It would have been if they have given me an encrypted URL that hides my User ID.
  • Get exclusive icons and VIP recognition from friends. Not really fun but fine.
  • Access to Yahoo messenger closed beta programs before it goes public which again I get since I’m a premium Yahoo mail user. Not fun here as well.

Things that I would like to receive from Yahoo for being a power user/premium mail user which I have been asking for a long time.

  1. No more ads in my Yahoo messenger.
  2. No more ads in any email that I receive from my contacts who don’t have a premium mail account.
  3. No ads anywhere period.
  4. Online chat log storage similar to Gtalk. Well this should be available to all users.

We are 61

Yes today its India 61st Independence day  and I’m sure every one who reads my blog knows it any way.

I’m not a big time nationalist and India has its own internal issues like poverty,corruption,reservation and every thing else that we all know off. But the one issue that India should never face any more in future is the secession of states from the Union of India. Every one knows about the Telangana, Khalistan and even the Tamil separatist movement (total crap) during 60s.

I personally won’t encourage it because as the states separate they become weaker. If a problem cant be eradicated easily in a bigger state with lot of resources how come a smaller state can do that? Yeah you can throw in the concept that its easy to maintain smaller parts but not @ the cost of getting pushed around by powerful countries. Literally you dont have a say in anything.

Look @ Georgia now its getting bullied by Russia like a piece of junk.

Come on India the 2nd largest populated country doesn’t have a veto @ UN but other smaller countries have it. India cant dictate terms in International arena then how come a smaller nation that seceded from India is going to some respect. They will mostly be forced to choose a side and then comes the proxy war between nations.

I was there for the 50th lets hope I make to the 100th in Aug 15th 2047A.D.

I have so much to say on this I will do a podcast later on this topic..

Yahoo Message Archive Decoder (Yammy)

I have always wondered why Yahoo didn’t implement a message archiver that exports the message and a search interface to search the log which Gtalk has been doing it for a long time.

This has been nagging me for a long time and today I finally found a free ware called YAMMY that converts all the message logs to individual html file. It doesnt have the search feature but at least I could back my messages now.

Its a very simple future that everyone needs but Yahoo denies the end users small wishes.

Talking about this I just remembered; When will Microsoft add the future to delete multiple book marks in IE.

Do you see it Microsoft – Yahoo are made for each other both deny the end user their small wishes.

I guess this song will be an apt situation song.

Chinna Chinna Aasai..

We have waited a long time..

India has waited too long for a Gold medal in Olympics and today it has got one thanks to Mr.Abninav for winning it.

I still remember rushing to get the Hindu newspaper every day whenever Olympics was going on to check if India has won a medal.

Its obviously a dream true for me to see 1 placed across India in the medal tally.

Here is an amazing Flex medal tally map.

The best laugh ever..he he ha

Peter Griffin is my hero and his laugh is the best.
ha haha haha ha … :) :)

I forgot these videos get removed from youtube so I’m embedding the video from Hulu.com.

Here is the full laugh version..

Kathal mannan / kadhal mannan

I’m dedicating this song to my friend Karthik Sundaram who is over bloober Kathal Mannan. When I get a chance I will update the video with his picture slide show and show to the world his true colors.

Here are his sample pictures and his orkut profile link.

Left Most is our Kathal Mannan

Left Most is our Kathal Mannan.

Girls Beware Kadhal Mannan is here for u….:)

Switch to our mobile site