Thursday, April 23, 2009

Sri Lanka cricket At The High Table

Currently I am reading the book of “Sri Lanka Cricket At The High Table” by Mahinda Wijesinghe none other than who proposed the concept of 3rd umpire to ICC.Read more about him from here.

I found there were so many unheard stories plus the records we have achieved so far from this book and it is worth reading.I recommend this book to all of the Sri Lankan cricket lovers.Not only cricket lovers but others too.

It is indeed unbelievable what Sri Lanka have achieved during the last 27 years after getting the Test status in 1982.

Friday, April 17, 2009

8 Characteristics of successful UIs

Read a very very good article on things to consider when designing user interfaces.

8 characteristics are :

1. Clear
2. Concise
3. Familiar
4. Responsive
5. Consistent
6. Attractive
7. Efficient
8. Forgiving

Read the full article here.

Thank you very much Uchitha for sharing this wonderful article with us.

Friday, April 03, 2009

Fiddler to capture request from Firefox

Fiddler to capture requests from Firefox you need to do a small configuration in Firefox.

In Firefox 3.0.8 (one I am using) follow the steps bellow

  • Go to Tools > Options > Advanced > Settings
  • Set the “Automatic proxy configuration URL” to “C:\Users\<user name>\Documents\Fiddler2\Scripts\BrowserPAC.js”.(NOTE : change the BrowserPAC.js path accordingly)
  • Click Ok
  • Close the Fiddler and open if you have already opened the fiddler.

Reference : http://www.fiddlertool.com/Fiddler/help/hookup.asp

Behind the scene :

What happens here is that , when you open the fiddler, the function “FindProxyForURL” in the “BrowserPAC.js” will change to this

function FindProxyForURL(url, host){
return 'PROXY 127.0.0.1:8888';
}

When you closes the fiddler it will change to

function FindProxyForURL(url, host){
return 'DIRECT';
}

Since you have configured the Firefox to look at this file, it will pick the proxy configuration automatically.

Problems I encountered :

After closing the Fiddler I wanted to browse some sites in Firefox but it didn’t work.It says “Connection Interrupted”.

Then I changed the proxy configuration to “No proxy” and it works.

Conclusion :

After using the fiddler make sure to revert the proxy settings back to the original in Firefox.

Worth looking at how IE handled this scenario.