Tuesday, August 7, 2007

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!

Friday, July 6, 2007

BarCamp the night before

And so finally it comes - BarCampPune3.

My desktop is cleaned(less icons),
My wallpaper is set to its logo!
My Slides are almost done!



and I feel good about it!

There are some really cool sessions which I'm really looking forward to attend:

Wishlist includes:

MySQL using JRuby - Priyank Kapadia
Microsoft Silverlight, A new dimension to build rich UI applications by Aditya Thatte
Indian Technology Laws, Indian laws on cyberspace, copyright, trademark and patents by Gokul Narayan
Self Hosting - Is it the future ? by Milind Pandit

I'm disappointed I'll miss sessions by Abdul Qabiz. I don't know why he has cut his name!

So see you guys tomorrow at BarCampPune3!

Tuesday, June 26, 2007

BarCamp3 Preview

Finally BarCamp3 is here and I'm already excited.

The event will take place at Persistent System Pvt. Ltd, Pune on 7th July(Sat) 2007.

I will be speaking on two topics:

1. Mobile Visualization.
2. How to make a Flash Widget.


BarCamp Pune 3

Wednesday, June 20, 2007

Free Software Song by RMS

Recently I found the lyrics of The Free Software Song by Richard Stallman.

Before the lyrics here a short history of the song: Richard Stallman was attending some get together where everyone had to either sing or perform something. He knew his turn was coming so he quickly scribbled this song. He also thought of the tune that very moment. When he sung the song, people said it sounded like an anthem and one lady said that he should show it to Richard Stallman. He replied that he was Richard Stallman!

Join us now and share the software;
You'll be free, hackers, you'll be free.

Hoarders may get piles of money,
That is true, hackers, that is true.
But they cannot help their neighbors;
That's not good, hackers, that's not good.

When we have enough free software
At our call, hackers, at our call,
We'll throw out those dirty licenses
Ever more, hackers, ever more.

Join us now and share the software;
You'll be free, hackers, you'll be free



Original Posting : http://www.gnu.org/music/writing-fs-song.html
Wikipedia Entry : http://en.wikipedia.org/wiki/Free_Software_Song

Thursday, June 7, 2007

VB6 and IE7 problem

One may no longer be able to use the ieframe.dll when using IE7 with VB6's Web Browser Control

Here's a quick tip:
On your component selection dialog box, Point the Microsoft Internet Controls to SHDOCVW.dll instead of ieframe.dll and bingo!