Saturday, September 29, 2007

Apache Ant

My slides on Apache Ant. Ant is really a powerful and object oriented tool.

Sunday, August 19, 2007

Sunday, August 12, 2007

Bon Jovi Fan club

I have started a forum on Bon Jovi for their fans(I'm one).

There are some really die hard fans out there. The forum basically has two sections: 1) Bon Jovi the band 2) Bon Jovi Fans which have forums on General talks, Downloads, Music News. Apart from these, there are forums on RockTalk, Gossip, Polls and to top it all, Bon Jovi Vs Other Bands.

You can catch the site at: http://bonjovi.teks.co.in

There are 133 articles in just 2 days of its opening. Great start!

I will book the domain soon and keep you updated.

Tuesday, August 7, 2007

Single line of HTML crashes IE 6

A Japanese blogger who goes by the name Hamachiya2 has discovered a single line of HTML and CSS that crashes IE 6. The line is:

<style>*{position:relative}</style><table><input></table>

If you’re brave, you can click here to try it out. The code is rendered correctly in Firefox, Safari and Opera (didn’t get a chance to try any other browsers, but presumably they work too). But in IE 6 it raises a fatal error in mshtml.dll.

Deep Linking How to avoid

A deep link is a direct link to a web site's resource without accessing the main page of the site. For example your site is http://www.abc.com and your contact page is at http://www.abc.com/contactus/contact.html. If a user types the 2nd link without going though the main page, he is called as The Deep Linker.

It becomes a problem for many of the sites which display ads on their first page(the index page). The HTTP protocol doesn't bother if the user is asking for a resource via a deep link or via a normal link. After all, the request which goes to the server is something like this :

GET /contactus/contact.html


for both cases 1. When you access it through a deep link or 2. When you access it normally via first page's link.

So, how to avoid people from linking deep?
Here's a small trick:

1. Check for a cookie at each deep link. If it doesn't exist, redirect to index page.
2. On the index page insert a cookie which gets killed when the browser is closed.


Anyone knowing a non cookie based solution to this problem do post it in the comments

Sunday, July 8, 2007

BarCampPune3 - My Slides

I gave a brief tutorial on How to make a Flash Widget



I also talked about my research topic on Mobile Navigation - Point and Locate buildings

Saturday, July 7, 2007

BarCampPune3- My Experiences

9:30: I am attending BarCampPune3 and am at Persistent Systems Pvt. Ltd. I got some cool logistics - Tshirt, pen , pad. I am also having breakfast! The weather is lovely!

The Barcamp Schedule

10:23: I am attending the first session by Rakesh Raju on TVGuide.in
Feedback: This session was the first one and packed with people. Rakesh discussed about how he created a TV guide because India didn't have one which could crawl contents across 100+ channels daily!

The next session was on Micro$oft $ilverlight by Aditya Thatte. He talked about M$ answering to JRE and Flash plugins. $ilverlight is still novice and at least I am not going to move to it seeing the amount of code one has to write!

The next session was again by Rakesh Raju on 2D and 3D game development. He was talking more on what games his company had built rather than on the framework. Marketing might be the right word but I don't want to use it as he did show something in the end to develop a scenario out of Torque and TorqueScript! But still everything was pre-made and a person new to game development would never know how to get started.


13:52 After having attended three session, and a wonderful lunch. Right now I am all set to give my first talk of the day: Flash Widget Tutorial. Looking forward to see many questions!

There were a fewer questions than expected.



The next session I attended was of Abhijit: FaceBook and RoR. It was again a complete NO NO for novice on RoR. I am happy that I had worked with Facebook API for PHP before else RoR went above my head!! It was a good session otherwise.

The next session was again mine on Mobile Navigation and boy! I got so many queries. I am happy I got a new idea into people's mind!



I regret to have missed many sessions like:
How to start a company(I am sure Jatinder attended it and will blog on it).
IPR and Cyber Laws
Writing a Firefox addon by Vinod

I also missed Abdul Qabiz and I found that I wasn't the only guy who missed him!