<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Habitually Good</title>
	
	<link>http://blog.gadodia.net</link>
	<description>"... tech .... fun .. bizarre ... india .... pictures ..... anything in the world ...."</description>
	<lastBuildDate>Mon, 29 Jun 2009 19:56:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://blog.gadodia.net</link><url>http://images.gadodia.net/logo.jpg</url><title>Habitually Good</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/HabituallyGood" type="application/rss+xml" /><feedburner:emailServiceId>HabituallyGood</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>The pretty ladybug</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/_tkFCmT9ux8/</link>
		<comments>http://blog.gadodia.net/the-pretty-ladybug/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 19:56:28 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Insects]]></category>
		<category><![CDATA[Macro]]></category>
		<category><![CDATA[Nature]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/the-pretty-ladybug/</guid>
		<description><![CDATA[Here’s another one of my photography outputs. To take this photo, I had taken a glass vase, which was quite round, and put some soil in it, plant some plants, and then put some lady bugs in their new ‘home’. Added some raisins, and water, and we had a cozy, comfy place for them to [...]]]></description>
			<content:encoded><![CDATA[<p>Here’s another one of my photography outputs. To take this photo, I had taken a glass vase, which was quite round, and put some soil in it, plant some plants, and then put some lady bugs in their new ‘home’. Added some raisins, and water, and we had a cozy, comfy place for them to live.</p>
<p>I wanted to try out Macro photography. Admittedly, it’s nowhere near as good as it should be, but I still love this shot (click to see larger picture and go to my album on Picasa with more such shots):</p>
<p><a href="http://picasaweb.google.com/lh/photo/F_tMNPRt7D9u5Ujd9uBg1g?feat=embedwebsite"><img src="http://lh4.ggpht.com/_RWxg2x1fuo8/SkGIZ9sDdeI/AAAAAAAAB6o/RnLMj-w-HDI/s640/IMG_4794.jpg" width="480" height="310" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=_tkFCmT9ux8:aJI0UoZ-1wQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=_tkFCmT9ux8:aJI0UoZ-1wQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=_tkFCmT9ux8:aJI0UoZ-1wQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=_tkFCmT9ux8:aJI0UoZ-1wQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=_tkFCmT9ux8:aJI0UoZ-1wQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=_tkFCmT9ux8:aJI0UoZ-1wQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=_tkFCmT9ux8:aJI0UoZ-1wQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=_tkFCmT9ux8:aJI0UoZ-1wQ:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/_tkFCmT9ux8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/the-pretty-ladybug/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/the-pretty-ladybug/</feedburner:origLink></item>
		<item>
		<title>Testing email sending functionality in your applications</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/q0HBNGPgXJA/</link>
		<comments>http://blog.gadodia.net/testing-email-sending-functionality-in-your-applications/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 07:47:38 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[.net]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Tools-and-Utilities]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/testing-email-sending-functionality-in-your-applications/</guid>
		<description><![CDATA[Many problems can arise out of testing email sending function in your applications. You can end up getting plenty of dummy messages in your inbox; you might send dummy mails to real users by mistake; you need to test thousands of messages; the list goes on and on.
Well, there is something that you can do [...]]]></description>
			<content:encoded><![CDATA[<p>Many problems can arise out of testing email sending function in your applications. You can end up getting plenty of dummy messages in your inbox; you might send dummy mails to real users by mistake; you need to test thousands of messages; the list goes on and on.</p>
<p>Well, there is something that you can do to handle this situation better, and here’s an article that tells you how: <a href="http://www.nagarro.com/blog/a-better-way-to-test-email-sending-functionality-is-to-use-your-own-smtp-server/">http://www.nagarro.com/blog/a-better-way-to-test-email-sending-functionality-is-to-use-your-own-smtp-server/</a></p>
<p><em>This article was also written by me at my employer’s corporate blog. Going forward, I am going to be pointing to any articles I write on that blog from here.</em></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=q0HBNGPgXJA:SprkKbCl2yQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=q0HBNGPgXJA:SprkKbCl2yQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=q0HBNGPgXJA:SprkKbCl2yQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=q0HBNGPgXJA:SprkKbCl2yQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=q0HBNGPgXJA:SprkKbCl2yQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=q0HBNGPgXJA:SprkKbCl2yQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=q0HBNGPgXJA:SprkKbCl2yQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=q0HBNGPgXJA:SprkKbCl2yQ:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/q0HBNGPgXJA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/testing-email-sending-functionality-in-your-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/testing-email-sending-functionality-in-your-applications/</feedburner:origLink></item>
		<item>
		<title>Extend Google Chrome for search and be more productive</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/R83YG3bX-6Y/</link>
		<comments>http://blog.gadodia.net/extend-google-chrome-for-search-and-be-more-productive/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 14:59:17 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Tips-and-Tricks]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/extend-google-chrome-for-search-and-be-more-productive/</guid>
		<description><![CDATA[One of the things that I find myself doing quite frequently is using Image Search (whether Bing or Google, though Bing is better). And I am also used to just typing the search term in my browser address bar and pressing enter. Normally to do image search, you would have to either go to the [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things that I find myself doing quite frequently is using Image Search (whether Bing or Google, though Bing is better). And I am also used to just typing the search term in my browser address bar and pressing enter. Normally to do image search, you would have to either go to the respective image search page first, and then enter your search term there (but then you are not using the enter search term in address bar shortcut). Or another way is to enter the search term in the address bar, press enter, and then choose the Image search link from the top menu of the search engine (again, pretty clunky).</p>
<p>So, how do we solve this problem? Well, Chrome offers us a very cool functionality (which FireFox also has, I believe) where I can add many search engines to address bar, and I can choose which one to call by adding a shortcut word/letter before my search term.</p>
<p>Let me show you how you can do this, and let me take Bing image search as the example (since I use this).</p>
<p> <span id="more-875"></span>
<p>Before you proceed, please read this article on how to <a href="http://blog.gadodia.net/serious-about-giving-bing-a-try-make-it-default/">add a new search engine to Chrome</a>. Once you have read it you will know that you can easily go to the Tools menu, choose Options, and then click on the Manage button under the “Default Search” section to open the Search Engines dialog box.</p>
<p>Here, click the Add button and add the following values in the three fields:</p>
<ul>
<li><strong>Name</strong> – Bing Image Search</li>
<li><strong>Keyword </strong>– i (notice this is a small ‘i&#8217;. It can be anything you like. This is the shortcut key that you will use to access the search from the address bar)</li>
<li><strong>URL </strong>- http://www.bing.com/images/search?q=%s</li>
</ul>
<p>Press OK, and close the dialog boxes. Now, go to your browser address bar, and press i followed by the keyword you are searching for. Chrome will now directly show you results from Bing Image Search. What’s more the moment you type anything after i followed by a space, Chrome will let you know that it is going to use the Bing Image Search for this search (see below):</p>
<p><img src="http://images.gadodia.net/blog/2009/06/chromequicksearch.gif" /> </p>
<p>So, now it is very easy for me to search for images by employing this shortcut. This type of a function is not limited to search engines. You can add any site which support searching through query strings as shown above (in fact Chrome adds any site on which it detects functionality such as this automatically).</p>
<p>I have shortcuts for images, videos, and my own blog (almost all WordPress blogs support a search query syntax, so can be easily added here). </p>
<p><strong>Adding Site Specific Quick Search</strong></p>
<p>Actually, you don’t even need for the site to support such a syntax, and can use the power of the search engines to make a site specific quick search (although I can’t understand why a site won’t have search syntax). Here’s an example of how to do this (and I am taking my blog as an example, even though I can use the query string syntax to search on it):</p>
<ul>
<li><strong>Name</strong> – Habitually Good</li>
<li>Keyword – HG</li>
<li>URL – http://www.bing.com/search?q=site:blog.gadodia.net+%s</li>
</ul>
<p>Now, if you type “HG “ followed by any search query, you will get results only from my blog. Of course, this will work with Google as well.</p>
<p>Go ahead and add shortcuts to your heart’s content and make yourself more productive.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=R83YG3bX-6Y:VHp8fBlxR30:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=R83YG3bX-6Y:VHp8fBlxR30:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=R83YG3bX-6Y:VHp8fBlxR30:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=R83YG3bX-6Y:VHp8fBlxR30:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=R83YG3bX-6Y:VHp8fBlxR30:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=R83YG3bX-6Y:VHp8fBlxR30:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=R83YG3bX-6Y:VHp8fBlxR30:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=R83YG3bX-6Y:VHp8fBlxR30:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/R83YG3bX-6Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/extend-google-chrome-for-search-and-be-more-productive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/extend-google-chrome-for-search-and-be-more-productive/</feedburner:origLink></item>
		<item>
		<title>How to take puppy photos</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/T99WvvHiEuE/</link>
		<comments>http://blog.gadodia.net/how-to-take-puppy-photos/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:17:08 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Dogs]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Puppies]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/how-to-take-puppy-photos/</guid>
		<description><![CDATA[It has been quite some time since I posted on Photography (a subject quite close to my heart). My last post was back in March when I visited Sultanpur Bird Sanctuary. Since then life has been in a tumble – our dog Trinity gave birth to an awesome litter – and our hands have been [...]]]></description>
			<content:encoded><![CDATA[<p>It has been quite some time since I posted on Photography (a subject quite close to my heart). My last post was back in March when I visited <a href="http://blog.gadodia.net/capturing-birds-on-photo/">Sultanpur Bird Sanctuary</a>. Since then life has been in a tumble – <a href="http://blog.gadodia.net/heres-a-picture-of-my-dog/">our dog Trinity</a> gave birth to an awesome litter – and our hands have been – as a lot of people reminded us – <em>litter</em>ally full. So, while I have been taking some photos on and off of the puppies, I didn’t get a chance to process and post them.</p>
<p>Most recently, I decided to take photos of Peach (the pup that we are going to keep with us), and it was becoming an exercise in frustration as she is so active and moving all the time. I was shooting at night, and indoors. And I didn’t want to use a flash, but for my abilities, she kept giving me blurry pictures.</p>
<p>So, I thought, that maybe I need to improvise. A thought struck me, and I turned all the lights off, and made the room pretty much completely dark.</p>
<p> <span id="more-874"></span>
<p>Yes, completely dark. Now, I setup my camera flash (a Canon 580 EXII) so that instead of throwing light directly at the subject, it was throwing the light at the ceiling. And I pulled out the reflector that the camera has got in it so that some of the light gets reflected to the front of the camera. This has the effect of throwing diffused light on the subject.</p>
<p>Since everything in the room was dark, I was able to slow the shutter speed down a little bit, which allowed me to capture Peach sufficiently (because the lens mostly only recorded the image when the flash came on, and any movement while the shutter was still open got neglected because it was in the dark.</p>
<p>The results are below (click to see larger versions):</p>
<p><a href="http://picasaweb.google.com/lh/photo/xL-o_-EKw2TPdY0tCanBpw?feat=embedwebsite"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://lh4.ggpht.com/_RWxg2x1fuo8/SkHYTt7k5CI/AAAAAAAAB9w/0iCZfuPZyyc/s400/IMG_5198.jpg" /></a></p>
<p>&#160;<a href="http://picasaweb.google.com/lh/photo/m-T7V3mFApBUElNfbjGrww?feat=embedwebsite"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://lh4.ggpht.com/_RWxg2x1fuo8/SkHYSR117wI/AAAAAAAAB9s/iq8mAWuLp2Y/s400/IMG_5195.jpg" /></a></p>
<p><a href="http://picasaweb.google.com/lh/photo/8cdeO-6R_fr5rOG0IyZpVQ?feat=embedwebsite"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://lh6.ggpht.com/_RWxg2x1fuo8/SkHYMlqa7vI/AAAAAAAAB9U/1HeXgHD1nTQ/s400/IMG_5172.jpg" /></a></p>
<p>&#160;<a href="http://picasaweb.google.com/lh/photo/z97_W-FNi7EkDbEfi2Hdfw?feat=embedwebsite"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://lh6.ggpht.com/_RWxg2x1fuo8/SkHYJwu9T2I/AAAAAAAAB9I/RRCnW2uYbWY/s400/IMG_5152.jpg" /></a></p>
<p>&#160;<a href="http://picasaweb.google.com/lh/photo/g5psdXPhtWNsI7Top1YtpA?feat=embedwebsite"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://lh3.ggpht.com/_RWxg2x1fuo8/SkHYVmPXXyI/AAAAAAAAB90/3-T0ncqwttQ/s400/IMG_5200.jpg" /></a></p>
<p>And here’s one of the other puppies, shot in normal light, as he jumped up to me.</p>
<p align="center"><a href="http://picasaweb.google.com/lh/photo/SP98AEgpi_PTc_joYFNKoQ?feat=embedwebsite"><img src="http://lh6.ggpht.com/_RWxg2x1fuo8/SkHYaKOok5I/AAAAAAAAB-I/8R2-t_lg5QA/s400/IMG_5222.jpg" /></a></p>
<p align="left">Hope you enjoyed the photos.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=T99WvvHiEuE:qyUxGra7XKA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=T99WvvHiEuE:qyUxGra7XKA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=T99WvvHiEuE:qyUxGra7XKA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=T99WvvHiEuE:qyUxGra7XKA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=T99WvvHiEuE:qyUxGra7XKA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=T99WvvHiEuE:qyUxGra7XKA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=T99WvvHiEuE:qyUxGra7XKA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=T99WvvHiEuE:qyUxGra7XKA:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/T99WvvHiEuE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/how-to-take-puppy-photos/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/how-to-take-puppy-photos/</feedburner:origLink></item>
		<item>
		<title>Amazon S3: Simplifying image uploads in your blogging workflow</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/YoZStQaLPzI/</link>
		<comments>http://blog.gadodia.net/amazon-s3-simplifying-image-uploads-in-your-blogging-workflow/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 14:38:57 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Amazon S3]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tips-and-Tricks]]></category>
		<category><![CDATA[Tools-and-Utilities]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/amazon-s3-simplifying-image-uploads-in-your-blogging-workflow/</guid>
		<description><![CDATA[Almost a year ago, I switched to Amazon S3 for hosting the images that are part of my blog posts. It has been a great move, and has kept me happy, and hasn’t cost me a lot (given that I don’t pull so much traffic anyway). However, there has always been the occasional moment where [...]]]></description>
			<content:encoded><![CDATA[<p>Almost a year ago, I switched to <a href="http://blog.gadodia.net/how-to-make-your-blog-independent-from-your-hosting/" target="_blank">Amazon S3 for hosting the images</a> that are part of my blog posts. It has been a great move, and has kept me happy, and hasn’t cost me a lot (given that I don’t pull so much traffic anyway). However, there has always been the occasional moment where I have found the change in my workflow to be tedious. The fact that instead of just pulling the images into LiveWriter (<a href="http://blog.gadodia.net/using-windows-livewriter-to-publish-blog-posts/" target="_blank">the application I use to blog</a>) and pushing the publish button, I had to first use <a href="http://blog.gadodia.net/using-twitter-for-commercial-reasons-the-right-way/" target="_blank">CloudBerry Explorer</a> (an excellent application for Amazon S3) to upload the image to S3, then get it’s URL, and then embed it into my post.</p>
<p><img style="margin: 0px 10px 0px 0px; display: inline" title="Amazon Web Services" alt="Amazon Web Services" align="left" src="http://images.gadodia.net/blog/2009/06/AWS.jpg" width="240" height="98" />So, today I thought to myself, maybe I should consider writing a WordPress plug-in for automating this task on the WordPress end. And the moment that thought came to me I almost kicked myself. Because I was suddenly 100% sure that someone probably already did that (I should have searched for it an year ago). But better later than never, I say. And so, when I searched, there it was waiting: <a href="http://tantannoodles.com/toolkit/wordpress-s3/" target="_blank">Amazon S3 plugin for WordPress</a>, by the author of tan tan noodles blog.</p>
<p>The rest of the article is about making it work for my setup.</p>
<p> <span id="more-863"></span>
<p>The plug-in is straight forward enough, you install it as usual – by dropping it in your plug-ins directory and activating it from the admin panel. Once you do that, there are some options to setup as shown below:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="Amazon S3" border="0" alt="Amazon S3" src="http://images.gadodia.net/blog/2009/06/S31.png" width="510" height="425" /> </p>
<p>The keys you will find in your Amazon Web Services account. And some of the other settings are dependent upon how you setup your S3 account. By the way, if you choose the setting for “Bucket is setup for virtual hosting”, it might give you a warning message that the DNS is not configured properly (it did in my case), but I ignored the warning, and it works fine for me.</p>
<p>Now, the moment you set this up, the plug-will use whatever configuration you have for your file uploads to create a directory structure in the Amazon Bucket you chose. So, if you have an existing setup you may have to tweak it a little to make it compatible.</p>
<p>In my case, I had a folder called blog in my bucket under which the images were kept and I had chosen to adopt the same standard that WordPress uses when it organizes the folders into years and months. So, all I had to do was go to the <strong>Miscellaneous Settings</strong> screen and change the upload folders storage path to blog:</p>
<p><img style="border-bottom: 0px; border-left: 0px; margin: 0px auto 15px; display: block; float: none; border-top: 0px; border-right: 0px" title="Amazon S3" border="0" alt="Amazon S3" src="http://images.gadodia.net/blog/2009/06/S32.png" width="510" height="324" />One undesirable side effect of doing this was that my media library broke. Not that I use it, and not that it will make any difference to the past posts (from when I used to upload the images to WordPress instead of Amazon S3). But, then all I had to do to fix it was to copy the contents of wp-content/uploads (my earlier setting) to a newly created folder in the root called blog.</p>
<p>And that’s it, I was done. Now all the images I post from LiveWriter automatically get uploaded to my designated Amazon S3 bucket. And it makes it much easier for me to deal with them.</p>
<p><strong>Update</strong>: As sad as this sounds, the plug-in is not working as expected. For me, it loads the files to Amazon S3, but it also retains a copy on my webhost. And the links that are created in the post are from the webhost instead of links from Amazon S3. I will try and either fix the plug-in myself, or try to find a fix on the Internet (and requesting the author).</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=YoZStQaLPzI:0v3doGXWsBU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=YoZStQaLPzI:0v3doGXWsBU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=YoZStQaLPzI:0v3doGXWsBU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=YoZStQaLPzI:0v3doGXWsBU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=YoZStQaLPzI:0v3doGXWsBU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=YoZStQaLPzI:0v3doGXWsBU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=YoZStQaLPzI:0v3doGXWsBU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=YoZStQaLPzI:0v3doGXWsBU:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/YoZStQaLPzI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/amazon-s3-simplifying-image-uploads-in-your-blogging-workflow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/amazon-s3-simplifying-image-uploads-in-your-blogging-workflow/</feedburner:origLink></item>
		<item>
		<title>About passwords</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/72z7DNdG7HQ/</link>
		<comments>http://blog.gadodia.net/about-passwords/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 20:17:53 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips-and-Tricks]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/about-passwords/</guid>
		<description><![CDATA[Disclaimer: I understand that most people who visit this site probably don’t have the problem with keeping weak passwords, so feel free to skip this one; but just in case, you don’t know what I am talking about, it might be worth your while to read it.
Not too much time passes before I hear from [...]]]></description>
			<content:encoded><![CDATA[<p><em>Disclaimer: I understand that most people who visit this site probably don’t have the problem with keeping weak passwords, so feel free to skip this one; but just in case, you don’t know what I am talking about, it might be worth your while to read it.</em></p>
<p>Not too much time passes before I hear from someone or another that their mail account was hacked, or their messenger account was compromised, or something like that. They can’t understand what happened. While there are plenty of ways through which a hacker can gain access to your account, one of the most common is by guessing the password that you use.</p>
<p>By guessing the password, it means that the hacker is using a program which will try thousands of possibilities to guess your password. Well, if your password is easy to guess, then you are in trouble, because the hacker will have it sooner or later.</p>
<p>So, what can you do?</p>
<p> <span id="more-851"></span>
<p>The answer is not to keep weak passwords. There are may ways to ensure this. The Internet is full of good articles around this topic.</p>
<p>While it is possible to think of a really random and hard to crack password such as IE^dO#12o2s7, it is also almost impossible to remember such a password. Passwords have to be such that they should be easy to remember. Here are some ideas that you can use:</p>
<ul>
<li>Do not put any personal information in your password (name, phone number, etc.)</li>
<li>Do not use the same password for all your accounts.</li>
<li>Try and have a complex password which is a mix of letters, numbers, and special characters.</li>
<li>Try to have at least 8 characters in a password.</li>
</ul>
<p>So, how do we make it easy to remember?</p>
<ul>
<li>One trick is to choose a phrase which you will never forget, such as: “I grew up in Philippines”. Now take this phrase and add some numbers and characters in it and remove the spaces: “9Igrewupin@Philippines!”. Now that is a nice password – it is easy to remember since it states a simple fact – the only thing that you have to remember is where you put the numbers and the special characters.</li>
<li>But you can’t go about using the same password for every account, so what you can do is use the same base password, but change it a little to reflect the account for which you are choosing the password – so using the example above, for my account on Yahoo I would choose “9Igrewupin@Yahoo!”; or for my Google account I would choose “9Igrewupin@Google!”.</li>
</ul>
<p><strong>The real important thing is this</strong>: there are times when we have to share our passwords, so you should never share your password directly. First you should go and change your password to something simpler, then share it. Once the person you are sharing it with is done, then go and change the password back to the original – this has multiple advantages – if you are using a pattern such as described above, it is not revealed – another is that if you have the same password for every account, you don’t show that.</p>
<p>If your passwords are not strong, you should change them all today. So, that you are not ruing tomorrow the fact that your account got hacked.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=72z7DNdG7HQ:kaverQ9W3fE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=72z7DNdG7HQ:kaverQ9W3fE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=72z7DNdG7HQ:kaverQ9W3fE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=72z7DNdG7HQ:kaverQ9W3fE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=72z7DNdG7HQ:kaverQ9W3fE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=72z7DNdG7HQ:kaverQ9W3fE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=72z7DNdG7HQ:kaverQ9W3fE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=72z7DNdG7HQ:kaverQ9W3fE:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/72z7DNdG7HQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/about-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/about-passwords/</feedburner:origLink></item>
		<item>
		<title>Stupid trick – Getting the logo of a website</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/qc2o2u9Mumc/</link>
		<comments>http://blog.gadodia.net/stupid-trick-getting-the-logo-of-a-website/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 00:04:58 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Tips-and-Tricks]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/stupid-trick-getting-the-logo-of-a-website/</guid>
		<description><![CDATA[Here’s a trick that doesn’t always work (but has worked for me many a times). Not sure how useful it will be for you, since its a stupid trick at best (sometimes stupid works). Often times I find myself trying to get the logo of a company or a blog. I may need it for [...]]]></description>
			<content:encoded><![CDATA[<p>Here’s a trick that doesn’t always work (but has worked for me many a times). Not sure how useful it will be for you, since its a stupid trick at best (sometimes stupid works). Often times I find myself trying to get the logo of a company or a blog. I may need it for a blog post, or for a presentation, or any other reason. Typically, this would be available on their webpage somewhere.</p>
<p>There are many ways to go about doing this:</p>
<ul>
<li>I can simply try to right-click the logo on the webpage and try to save the file or copy the image from my browser. If this works, then we are done (but it doesn’t work a lot of times, see below for why).</li>
<li>If the above doesn’t work, I could try and take a screenshot of the webpage and try to get the logo that way. This is a problem is the logo is on a colored background (or worse a shaded background). Because then you get the color in the screenshot as well, and you need some skill with Photoshop to resolve this situation – in any case this is too time consuming.</li>
</ul>
<p>So, how do we do this?</p>
<p> <span id="more-850"></span>
<p>Well, first let me explain why you are not able to right-click and save the logo. The reason is that a lot of websites embed the logo into the webpage through a CSS attribute instead of a direct image tag.</p>
<p>To be able to find the logo, you need to be able to read the CSS of the website. This can be quite tricky at times. The long method is:</p>
<ul>
<li>View the HTML source of the page – decipher it so that you can locate the element where the logo is being displayed.</li>
<li>Then locate the CSS class which has been applied to that element.</li>
<li>Now locate the URL to the CSS file in the html page.</li>
<li>Download the CSS file, and locate the CSS class to find the URL to the logo.</li>
</ul>
<p>Good luck doing all that. Luckily, you don’t have to. Most modern browsers have features which can ease your task. Let me show you how you can do the above in Chrome (the browser that I use).</p>
<p>For an example, we will take my blog (which has the same problem – you can’t easily download the logo).</p>
<p><strong>Step 1: Right click the logo image and choose the Inspect Element menu option</strong> (as shown below):</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.gadodia.net/blog/2009/06/logo1.png" /> </p>
<p>This launches the Inspector window in Chrome which shows you the HTML structure of the page (and automatically highlights the element that you right-clicked on in the HTML pane. Further more, for the highlighted element it shows you the CSS styles which have been applied on that element. Yup, we got it.</p>
<p>Here’s what it looks like (click the image to enlarge):<a href="http://images.gadodia.net/blog/2009/06/logo2.gif" target="_blank"><img style="margin: 10px auto; display: block; float: none" src="http://images.gadodia.net/blog/2009/06/logo2.gif" width="460" height="272" /></a></p>
<p>As you can see in the image, there is a <em>background </em>attribute applied on the element which contains the URL of the logo.</p>
<p><strong>Step 2: Copy URL and paste it in the browser window and press enter</strong></p>
<p>That’s it, you are done! As I said, its a stupid trick, but sometimes it works.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=qc2o2u9Mumc:ZCYlyB5HtX4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=qc2o2u9Mumc:ZCYlyB5HtX4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=qc2o2u9Mumc:ZCYlyB5HtX4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=qc2o2u9Mumc:ZCYlyB5HtX4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=qc2o2u9Mumc:ZCYlyB5HtX4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=qc2o2u9Mumc:ZCYlyB5HtX4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=qc2o2u9Mumc:ZCYlyB5HtX4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=qc2o2u9Mumc:ZCYlyB5HtX4:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/qc2o2u9Mumc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/stupid-trick-getting-the-logo-of-a-website/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/stupid-trick-getting-the-logo-of-a-website/</feedburner:origLink></item>
		<item>
		<title>Twitter Profile Copier</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/XvHcDhxRLxE/</link>
		<comments>http://blog.gadodia.net/twitter-profile-copier/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 23:12:03 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Tools-and-Utilities]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/twitter-profile-copier/</guid>
		<description><![CDATA[Over the weekend, I was feeling a little burnt out from work and so wanted to do something fun. I have been wanting to play with the Twitter API for quite some time, but till now didn’t get a chance. So I thought, whey not spend a couple of hours working on that.
Out came the [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend, I was feeling a little burnt out from work and so wanted to do something fun. I have been wanting to play with the Twitter API for quite some time, but till now didn’t get a chance. So I thought, whey not spend a couple of hours working on that.</p>
<p>Out came the trusty Visual Studio and I started coding. A couple of hours later, I have an application which does nothing more than allowing you to copy the Twitter theme from any user on Twitter. (yup, I know its a useless app, but I was just having some fun).</p>
<p>I am going to show quickly how the application is used, then list a few disclaimers, and then provide a link to download the application in case you are feeling bored enough to go copy someone’s profile theme.</p>
<p> <span id="more-849"></span>
<p>After installing the application, you should find an icon on your desktop, simply launch it. You see the following screen:</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.gadodia.net/blog/2009/06/twitterapp.png" /> </p>
<p>In the screen, just enter your Twitter username, and your Twitter password, and also enter the name of the profile whose theme you want to copy. I am choosing the theme of <a href="http://twitter.com/Caterina">Caterina Fake</a> (a co-founder of Flickr), who has a nice looking theme (shown below):</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.gadodia.net/blog/2009/06/twitterapp2.jpg" /> </p>
<p>Once you have entered the details, just hit the button and if you entered the right username and password, then you should now have the theme of the person whose name you entered (in my case Caterina).</p>
<p>And sure enough, here’s my profile after I clicked the button:</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.gadodia.net/blog/2009/06/twitterapp3.jpg" /></p>
<p>Simple, isn’t it?</p>
<p><strong>Disclaimers:</strong></p>
<p>There are many disclaimers that go along with this application (should you decide to use it):</p>
<ul>
<li>It doesn’t copy the tiled background setting. So, if the profile you are copying from has the background image tiled, and you don’t, then after the copy is done, you will have to manually go and check the tiled box in your settings page (and vice versa). The reason it doesn’t do that is simple – I am using <a href="http://tweetsharp.com/">Tweet#</a> as a library to access the Twitter API, and they seem to have forgotten to implement this option (and I was too lazy to fix that code).</li>
<li>There is no error handling. So, if something goes wrong (such as the wrong username/password) then the app won’t tell you. Sorry, but this was a weekend fun task – so I didn’t want to spend too much effort.</li>
<li>It requires .Net framework 3.5 to run. Chances are that you will have it installed, but if you don’t the installer will tell you and you will have to download and install it.</li>
<li>Standard disclaimer: I am not responsible for anything that arises from the use of this application.</li>
</ul>
<p><strong>Download Link</strong></p>
<p>If you would still like to give this a try, then here is the download link: <a title="http://files.gadodia.net/blog/2009/06/TwitterProfileHelper.msi" href="http://files.gadodia.net/blog/2009/06/TwitterProfileHelper.msi">http://files.gadodia.net/blog/2009/06/TwitterProfileHelper.msi</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=XvHcDhxRLxE:Eln0P24UNq0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=XvHcDhxRLxE:Eln0P24UNq0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=XvHcDhxRLxE:Eln0P24UNq0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=XvHcDhxRLxE:Eln0P24UNq0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=XvHcDhxRLxE:Eln0P24UNq0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=XvHcDhxRLxE:Eln0P24UNq0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=XvHcDhxRLxE:Eln0P24UNq0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=XvHcDhxRLxE:Eln0P24UNq0:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/XvHcDhxRLxE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/twitter-profile-copier/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/twitter-profile-copier/</feedburner:origLink></item>
		<item>
		<title>Bing vs Google – no fancy analytics, pure personal experience</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/2QeTrraRP-Y/</link>
		<comments>http://blog.gadodia.net/bing-vs-google-no-fancy-analytics-pure-personal-experience/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 12:01:40 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/bing-vs-google-no-fancy-analytics-pure-personal-experience/</guid>
		<description><![CDATA[I read an interesting post by Anil Dash where he used the Mechanical Turk to perform some analysis on the quality of search results being generated by Bing and Google. In the post, Anil says that Bing is an improvement over live, but still has some way to go before catching up to Google. But [...]]]></description>
			<content:encoded><![CDATA[<p>I read an interesting post by Anil Dash where he used the <a href="http://www.mturk.com">Mechanical Turk</a> to perform some analysis on the quality of search results being generated by Bing and Google. <a href="http://blog.doloreslabs.com/2009/06/bing-an-improvement-over-live-but-still-not-google-quality-evaluating-bing-with-mechanical-turk/">In the post</a>, Anil says that Bing is an improvement over live, but still has some way to go before catching up to Google. But Anil also says that the difference is not big. Now that is where I feel differently.</p>
<p>Here’s my (probably myopic) view on the situation. And this is based on the fact that I use Google quite extensively in my daily routine, and I switched over to using Bing about 10 days ago. Below is the sum total of my experience on Bing.</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.gadodia.net/blog/2009/06/bing-vs-google.jpg" /> </p>
<p> <span id="more-846"></span>
<p>Well, let me begin by saying that I use Chrome as my browser. I setup <a href="http://blog.gadodia.net/serious-about-giving-bing-a-try-make-it-default/">Bing as the default search engine</a> on it. This is important because I am used to searching by simply opening a new tab and typing my search query (or using Alt+D to go to the address bar of the current tab). Now, in Chrome, when you want to do a search query, if you prefix the term Google to it, Chrome automatically converts this into a Google Quick Search (as shown below):</p>
<p><img src="http://images.gadodia.net/blog/2009/06/google-quick-search.jpg" /> </p>
<p>So, by setting the search engine to default, and using Google Quick Search, I can use both the engines without much inconvenience barrier. This is what allows me to see quickly what Google is giving when I am not able to find what I am looking for on the first page of search results on Bing.</p>
<p><strong>Google understands context better! </strong>That is my conclusion. Google knows what I am looking for. </p>
<p><strong>USE CASE 1:</strong></p>
<p>I saw on Twitter that one of the featured Twitter applications is called wefollow.com. Well, I went to wefollow.com and couldn’t make heads and tails out of what the heck it is. So, I binged it. Here’s the exact search phrase I used:</p>
<blockquote><p><em><strong>what is wefollow.com</strong></em></p>
</blockquote>
<p>The results on Bing were disappointing. The first page didn’t have a single result which explained what wefollow.com is. Here’s a screenshot of the results page (to run the query yourself, click here: <a title="http://tinyurl.com/l52fkt" href="http://tinyurl.com/l52fkt">http://tinyurl.com/l52fkt</a>.</p>
<p><img src="http://images.gadodia.net/blog/2009/06/bing-results-1.png" width="415" height="634" /> </p>
<p>Here’s the result from Google on the same query (to run it click here: <a title="http://tinyurl.com/ltbyl9" href="http://tinyurl.com/ltbyl9">http://tinyurl.com/ltbyl9</a>):</p>
<p><img src="http://images.gadodia.net/blog/2009/06/google-result-1.png" /> </p>
<p>Notice the huge difference in the quality of results. I immediately get several links which will explain to me what wefollow.com is. Now, that is what I call search results quality.</p>
<p><strong>USE CASE 2</strong>:</p>
<p>A few days ago, I was encountering an error in my WordPress installation. One of the plugins was misbehaving, and was throwing an error on the WordPress pages. So I binged again with part of the error message as the search query.</p>
<p>Bing returned me a set of results each one of which was a site which was experiencing the same error. Read that again. This means that the results that Bing returned to me were sites where this error was displaying on the page as well.</p>
<p>Google returned me sites where other people had written about this error (forums and blogs).</p>
<p><strong>USE CASE 3:</strong></p>
<p>I <a href="http://blog.gadodia.net/intelligent-world-time-in-google/">used Google to find the time in various cities around the world</a> a lot (visit that link if you don’t know how that works). Here are some queries that I ran on both Bing and Google:</p>
<p>I live in Gurgaon. Bing doesn’t even recognize it as a place where it should give time.</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.gadodia.net/blog/2009/06/google-vs-bing-time-1.png" /> </p>
<p>And in this one, both of them show the New York Times site as the first result, but Google also shows the current time in New York, which is what I was searching for.</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.gadodia.net/blog/2009/06/google-vs-bing-time-2.png" /> </p>
<p>By the way, Bing does have the feature of showing time. Try searching for San Jose time (or click here: <a href="http://tinyurl.com/m67xvw">http://tinyurl.com/m67xvw</a>). It shows you the time in San Jose, California. If you make the same search in Google though, it shows you the time in San Jose, California as well as San Jose, Costa Rica.</p>
<p><strong>Conclusion</strong></p>
<p>There are tons of queries that i can keep displaying (because I am experiencing this on a daily basis). I am not saying that I always have to go back to Google. But a lot of times the results that Bing returns are just not good enough.</p>
<p>Note, for the times I do not go back to Google, it doesn’t mean Bing gave better results. It only means, that I found what I expected (for all I know for these queries Google might give better results, I won’t know since I don’t try in these cases).</p>
<p>In conclusion, I can safely say, that for <u>my</u> footprint of queries, Google does a better job of understanding <u>my</u> intent.</p>
<p>So, why do I use Bing? Well, I like Microsoft (please don’t start a flame war) and I would like to see some competition in the search space (as competition usually ends up benefiting the consumer = me).</p>
<p>What are your experiences on Bing?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=2QeTrraRP-Y:m_VueM1619A:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=2QeTrraRP-Y:m_VueM1619A:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=2QeTrraRP-Y:m_VueM1619A:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=2QeTrraRP-Y:m_VueM1619A:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=2QeTrraRP-Y:m_VueM1619A:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=2QeTrraRP-Y:m_VueM1619A:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=2QeTrraRP-Y:m_VueM1619A:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=2QeTrraRP-Y:m_VueM1619A:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/2QeTrraRP-Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/bing-vs-google-no-fancy-analytics-pure-personal-experience/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/bing-vs-google-no-fancy-analytics-pure-personal-experience/</feedburner:origLink></item>
		<item>
		<title>Serious about giving Bing a try? Make it default</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/oGROmKyZsEc/</link>
		<comments>http://blog.gadodia.net/serious-about-giving-bing-a-try-make-it-default/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 09:08:12 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Tips-and-Tricks]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/serious-about-giving-bing-a-try-make-it-default/</guid>
		<description><![CDATA[I switched over to Chrome for FireFox almost as soon as Chrome came out. I love the browser. One of the things that I have grown quite accustomed to doing is simply searching from the Chrome Address Bar. I no longer go to www.google.com for searching. It has become second nature.
So, when Bing launched, even [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://blog.gadodia.net/is-chrome-taking-over-firefox/">switched over to Chrome for FireFox</a> almost as soon as Chrome came out. I love the browser. One of the things that I have grown quite accustomed to doing is simply searching from the Chrome Address Bar. I no longer go to <a href="http://www.google.com">www.google.com</a> for searching. It has become second nature.</p>
<p>So, when Bing launched, even though I told myself I will give it a shot, I found that I was still using Google to do my searches because of the habit with the address bar. So, to stick to my decision to give Bing a fair try, I just made Bing the default search engine for Chrome. Here’s how to do it if you want to do it for yourself.</p>
<p> <span id="more-845"></span>
<p><strong>1. Fire up Chrome, click on the tools button, and click Options</strong> – this will open the Options dialog box.</p>
<p><img src="http://images.gadodia.net/blog/2009/06/bing1.jpg" /> </p>
<p><strong>2. On the Basics tab, locate the “Manage” button under Default Search section, and click it – </strong>this will open up the Search Engines dialog box.</p>
<p><strong>3. Click on the “Add” button and enter the details as shown in the picture below, and press Ok</strong> – this will create an entry for Bing as a search engine in Chrome.</p>
<p><img src="http://images.gadodia.net/blog/2009/06/bing2.jpg" /> </p>
<p><strong>4. Almost done. Select Bing in the list of search engines and click on the “Make Default” button</strong> – the entry will probably be in Other search engines, in the list.</p>
<p>That’s it, we are done. Now whenever I search for something using my usual process, I end up using Bing. You can add Bing as a default search engine in whichever browser you use. The process is usually similar.</p>
<p>Happy Binging!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=oGROmKyZsEc:ZY-04dA1Ct8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=oGROmKyZsEc:ZY-04dA1Ct8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=oGROmKyZsEc:ZY-04dA1Ct8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=oGROmKyZsEc:ZY-04dA1Ct8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=oGROmKyZsEc:ZY-04dA1Ct8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=oGROmKyZsEc:ZY-04dA1Ct8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=oGROmKyZsEc:ZY-04dA1Ct8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=oGROmKyZsEc:ZY-04dA1Ct8:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/oGROmKyZsEc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/serious-about-giving-bing-a-try-make-it-default/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/serious-about-giving-bing-a-try-make-it-default/</feedburner:origLink></item>
		<item>
		<title>Satellite TV in India: Airtel IPTV vs Tata Sky Plus</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/Kw0MArKR188/</link>
		<comments>http://blog.gadodia.net/satellite-tv-in-india-airtel-iptv-vs-tata-sky-plus/#comments</comments>
		<pubDate>Sun, 31 May 2009 23:12:43 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Airtel]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[IPTV]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/satellite-tv-in-india-airtel-iptv-vs-tata-sky-plus/</guid>
		<description><![CDATA[A couple of years ago, I wrote about why I switched from Dish TV to Tata Sky. Today, the scenario is a little different. I have moved to a new house, and we had two Televisions. We moved our Tata Sky over to one of them, but we were debating what to do for the [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of years ago, I wrote about why I switched from <a href="http://blog.gadodia.net/satellite-tv-in-india-dish-tv-versus-tata-sky/">Dish TV to Tata Sky</a>. Today, the scenario is a little different. I have moved to a new house, and we had two Televisions. We moved our Tata Sky over to one of them, but we were debating what to do for the other TV. The choice was going to be between Tata Sky Plus (the one that comes with the <a href="http://en.wikipedia.org/wiki/Digital_video_recorder">DVR</a> option) and Airtel <a href="http://en.wikipedia.org/wiki/IPTV">IPTV</a>.</p>
<p>So, which one did I choose? Before I disclose that, here are the factors that I took into consideration when I compared <a href="http://www.tataskyplus.com/">Tata Sky Plus</a> to <a href="http://www.airtel.in/interactive/">Airtel IPTV</a>.</p>
<p> <span id="more-844"></span>
<p>So, what are the considerations when you make such a decision. The usual suspects are:</p>
<ul>
<li>Cost</li>
<li>Picture Clarity</li>
<li>Support Services Quality</li>
<li>Program Recording</li>
</ul>
<p>For <strong>Tata Sky</strong>, these are the details:</p>
<ul>
<li><strong>Cost</strong>: there is an upfront cost of the device which can be prohibitive for some. Its between Rs. 8000 to Rs. 10000. The rest is your usual Tata Sky subscription along with Rs. 50 per month for using Tata Sky Plus.</li>
<li><strong>Picture Clarity</strong>: same as Tata Sky, which is pretty fine.</li>
<li><strong>Support Services</strong>: Tata Sky people are pretty professional and I have never had a problem with them. They have a great website through which you can make online payments and configure your bouquet of services.</li>
<li><strong>Program Recording</strong>: this is where the DVR power comes in. All those Amir Khan advertisements are true. There is the ability to record any program on any channel, pause live TV, etc.</li>
</ul>
<p>For <strong>Airtel IPTV</strong>, these are the details:</p>
<ul>
<li><strong>Cost</strong>: there is an upfront cost of around Rs. 3000 to Rs. 4000 for the installation and the devices. And then there are 4 plans which vary between Rs. 400 per month to Rs. 1600 per month. The cheapest plan doesn’t include Internet. The other 3 plans have Internet available at varying speeds and they are all of unlimited download types. What you get for all this, is a telephone, a DSL connection, and the IPTV service, and 135 channels.</li>
<li><strong>Picture Clarity</strong>: while I have heard a lot of rants about how poor the picture quality is, I run it on a 40 inch LCD TV, and I find it comparable to the Tata Sky that we are running on our other TV (which is also 40 inch LCD).</li>
<li><strong>Support Services</strong>: Airtel has excellent support services and once again there is a website through which you can do all of your transactions.</li>
<li><strong>Program Recording</strong>: this is where things start to differ a little. Airtel IPTV has live TV pause, rewind, and all those features of the DVR, but with a caveat. It only has these for 35 odd channels. Also, you don’t need to record the programs that you want to watch later. For these 35 channels, Airtel records ALL programs for a week. Therein lies the other limitation, if you want to watch an episode from more than a week ago, you are out of luck.</li>
</ul>
<p>So, which option did we go for? We went for Airtel IPTV. </p>
<ul>
<li>First, because we needed an Internet connection and a phone anyway. </li>
<li>Second, because it really is pretty relaxing not to have to remember that you have to set some program for recording. Also in TataSky Plus, there is a limit on how many simultaneous programs you can record. In Airtel IPTV, at least the 35 channels are all recorded for a week.</li>
<li>Third, because it was something new and we had the option since we already had TataSky on the other TV.</li>
</ul>
<p>How have your experiences been with Airtel IPTV?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=Kw0MArKR188:nAdyXglWrAQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=Kw0MArKR188:nAdyXglWrAQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=Kw0MArKR188:nAdyXglWrAQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=Kw0MArKR188:nAdyXglWrAQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=Kw0MArKR188:nAdyXglWrAQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=Kw0MArKR188:nAdyXglWrAQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=Kw0MArKR188:nAdyXglWrAQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=Kw0MArKR188:nAdyXglWrAQ:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/Kw0MArKR188" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/satellite-tv-in-india-airtel-iptv-vs-tata-sky-plus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/satellite-tv-in-india-airtel-iptv-vs-tata-sky-plus/</feedburner:origLink></item>
		<item>
		<title>Amazon S3: Reading Server Log Files</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/6p39X-eZLvc/</link>
		<comments>http://blog.gadodia.net/amazon-s3-reading-server-log-files/#comments</comments>
		<pubDate>Sun, 24 May 2009 00:14:20 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Amazon S3]]></category>
		<category><![CDATA[Tips-and-Tricks]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/amazon-s3-reading-server-log-files/</guid>
		<description><![CDATA[In a previous post, I talked about how you enable logging on Amazon S3 to monitor what activity is being performed on your files stored on Amazon S3. Alright, so what happens once you start collecting logs. How do you read them? They are created in the form of text files, which you could probably [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous post, I talked about how you <a href="http://blog.gadodia.net/amazon-s3-are-you-the-only-one-accessing-your-files/">enable logging on Amazon S3</a> to monitor what activity is being performed on your files stored on Amazon S3. Alright, so what happens once you start collecting logs. How do you read them? They are created in the form of text files, which you could probably open in notepad and try to make sense of them in there. Here’s a screenshot of what they look like in notepad:</p>
<p><img src="http://images.gadodia.net/blog/2009/05/s3log1.gif" /> </p>
<p>As you can see, there is a problem here. Unless you read files like these for a living, this format is pretty much unreadable. There is one more problem with Amazon S3 logs – it is that there are always too many of them. S3 doesn’t create one log per day per bucket. It creates many logs per day per bucket. So, for one of my buckets, for 3 days worth of logging, I had 329 log files. Clearly, I will go crazy if I was to open each one, one-by-one, to see what was in them.</p>
<p>Well, in this post, I am going to outline the solution I came up with.</p>
<p> <span id="more-843"></span>
<p>Before I begin, there are of course ready made methods out there to interpret Amazon S3 logs. I must say, that I would love to use them as they provide so much more information and analysis than the simple reading of logs that I do, however, they don’t always work, or work like you would like them to.</p>
<p>Here are two other ways to analyze your S3 logs:</p>
<ul>
<li><a href="http://www.s3stat.com/">S3Stat</a> – this is a very awesome service, which costs next to nothing (and actually, you get to try it for free for 30 days). However, there are certain limitations that it poses in the way you want to manage your logging. I didn’t want to do it that way, so I didn’t use it. I highly recommend that you check it out, though.</li>
<li><a href="http://blog.cloudberrylab.com/2009/05/how-to-generate-reports-on-amazon-s3.html">SiSense Prism Viewer</a> – On the CloudBerry Explorer blog, you can find some information about this neat product (which is again free in a limited way) which allows you to pull the logs on your desktop and run analytics there. This program didn’t work for me.</li>
</ul>
<p>Having got those out of the way, let me go on to demonstrate how I solved my problem of reading the Amazon logs.</p>
<p><strong><u>Problem 1: How do I handle so many files?</u></strong></p>
<p>I needed a way to combine the files into one big file which I can then try and open in a more readable format. Well, old school computer skills came to my rescue (when I was even thinking of coding a program to combine them). I remembered the copy command – specifically, I remembered that copy can be used to copy multiple files into one file.</p>
<p>So, I fired up the command prompt and issued this awesome command on my log files. Here’s how to do it. </p>
<ol>
<li>Before anything, create a folder on your hard drive and copy the logs that you want to process for a given bucket into that folder from Amazon S3. To keep it simple, make sure that you don’t have any other files in that folder.</li>
<li>Go to your Windows Start Menu, and Choose Run (alternatively, you can press Windows Key + R). </li>
<li>Type cmd and press Enter. This should open up a command prompt window.</li>
<li>Now change your directory to the folder where you have stored your log files. You need to use the CD command in order to change directories in a Windows command shell (click <a href="http://www.pcstats.com/articleview.cfm?articleid=1723&amp;page=3">here</a> for a quick tutorial).</li>
<li>Once you are in the directory where you had stored the log files, simply issue the following command: <strong>copy * big_log</strong> (as shown in the picture below).</li>
</ol>
<p><img style="margin: 0px 10px 0px 0px; display: inline" align="left" src="http://images.gadodia.net/blog/2009/05/s3log2.jpg" /> </p>
<p>This should create a file called big_log in the same directory as the other files and it will have all the log files combined into it. Now, we move to the second problem of how to view this combined log in a format which is easier to understand.</p>
<p><strong><u>Problem 2: Reading the log</u></strong></p>
<p>Well, this is even easier. To my rescue comes Microsoft Excel. If you have Excel installed on your computer, then you can simply open the log file and then tell Excel how to interpret it. Here’s what to do:</p>
<ol>
<li>Start Excel and go to File menu and choose Open.</li>
<li>In the Open File dialog box, navigate to the folder where the big_log file was created. You may not see it, because by default this dialog will only show files supported by Excel. You need to choose “All Files” in “Files of type” combo box.</li>
<li>Locate your file, select it, and click the Open button.</li>
<li>The moment you do that, you are presented with the Text Import Wizard. The screenshots below show you what you should do.</li>
</ol>
<p><img src="http://images.gadodia.net/blog/2009/05/import1.gif" /></p>
<p>Choose “Delimited” in the Original data type options, and click Next.</p>
<p><img src="http://images.gadodia.net/blog/2009/05/import2.gif" /> </p>
<p>On the next screen, check “Space” in the Delimiters options, and click Finish. Immediately, Excel will divide your data into the right columns and rows, and now you can work with this data to slice and dice it the way you want it. To understand which column represents which value, here’s the <a href="http://docs.amazonwebservices.com/AmazonS3/latest/index.html?LogFormat.html">Server Log Format Documentation</a>.’</p>
<p>What I usually do is that I get rid of some of the columns that I don’t need and I resize the others and put filters on top of them. This allows me to do my basic analysis of the data. One of the key things that I am usually interested in knowing is whether someone is hot-linking my files. I can easily tell them by looking at the <strong>Referer</strong> column (which is the second to the last column), and if that column contains any URL other than my own website, then I know that this URL is hot-linking to my images or files.</p>
<p>How do you analyze your S3 files?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=6p39X-eZLvc:NCQ0LrQHcpY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=6p39X-eZLvc:NCQ0LrQHcpY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=6p39X-eZLvc:NCQ0LrQHcpY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=6p39X-eZLvc:NCQ0LrQHcpY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=6p39X-eZLvc:NCQ0LrQHcpY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=6p39X-eZLvc:NCQ0LrQHcpY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=6p39X-eZLvc:NCQ0LrQHcpY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=6p39X-eZLvc:NCQ0LrQHcpY:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/6p39X-eZLvc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/amazon-s3-reading-server-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/amazon-s3-reading-server-log-files/</feedburner:origLink></item>
		<item>
		<title>Amazon S3: Are you the only one accessing your files?</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/c08wG_L_gJw/</link>
		<comments>http://blog.gadodia.net/amazon-s3-are-you-the-only-one-accessing-your-files/#comments</comments>
		<pubDate>Wed, 20 May 2009 13:06:39 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Amazon S3]]></category>
		<category><![CDATA[Tips-and-Tricks]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/amazon-s3-are-you-the-only-one-accessing-your-files/</guid>
		<description><![CDATA[Almost a year ago, I blogged about moving image and file storage for this blog to Amazon S3. It’s been over an year, and I have been very satisfied. I haven’t had to pay too much money for this move, and there has been no down time whatsoever. 
One of the drawbacks of moving to [...]]]></description>
			<content:encoded><![CDATA[<p>Almost a year ago, I blogged about <a href="http://blog.gadodia.net/how-to-make-your-blog-independent-from-your-hosting/">moving image and file storage for this blog to Amazon S3</a>. It’s been over an year, and I have been very satisfied. I haven’t had to pay too much money for this move, and there has been no down time whatsoever. </p>
<p>One of the drawbacks of moving to S3 is that you pay for accessing your files and images. That is fine as long as you are the only one accessing these (or the access is controlled by you). For example, I am okay with paying money every time images I host on S3 are accessed by people who are visiting this blog (and in the process they access the images). But since providing such access makes the images public, anyone can link to these files from their websites or blogs. This is called hot-linking images, and is one of the worst things you can do on the Internet.</p>
<p>So, how can you prevent this? You can’t prevent it directly, but you can monitor if this is happening, and there are a number of things you can do if you discover hot-linking of your files. Amazon S3 allows you to enable Logging on your buckets, and I describe the step-by-step on how to do this.</p>
<p> <span id="more-841"></span>
<p><u><strong>Step 1</strong>: <strong>Download CloudBerry Explorer</strong></u></p>
<p>Actually just about any of the popular S3 tools would do, but I use CloudBerry, and I highly recommend it (<a href="http://blog.gadodia.net/using-twitter-for-commercial-reasons-the-right-way/">here’s the story behind it</a>). </p>
<p><strong><u>Step 2: Understanding Logging and Buckets</u></strong></p>
<p>If you have made it this far, I am assuming you know what S3 is and the fact that all data is stored on S3 in buckets. In S3, logs are generated at the bucket level. So if you enable logging on a bucket, all activities on any files in that bucket will be logged.</p>
<p>For you to enable logging, you need to have a target bucket which will store the log files. This can be any existing bucket, or you can create a new bucket just for storing the logs. This is what I choose to do.</p>
<p><strong><u>Step 3: Launch CloudBerry Explorer</u></strong></p>
<p>Once you start CloudBerry Explorer (and configure it with your Amazon S3 credentials), you will be able to see all your buckets in the right pane (by default, this is the case, but if you have already navigated to a bucket, you will need to navigate to the root level).</p>
<p><strong><u>Step 4: Create a Logging Bucket</u></strong></p>
<p>This is of course optional since you can use any of your existing buckets, but I like to keep things clean. Simply click on the New Bucket icon on the tool bar in the view where your Amazon S3 buckets are showing.</p>
<p><img style="margin: 0px; display: inline" src="http://images.gadodia.net/blog/2009/05/s3explorer.jpg" /></p>
<p>You can choose any name for your logging bucket. Mine is called logs.gadodia.net (as it goes well with my naming convention).</p>
<p><strong><u>Step 5: Enable logging for your buckets</u></strong></p>
<p>Once you know where you are going to keep your logs, its a simple matter of invoking the Logging command from the context menu. Here’s how it’s done. Select the bucket on which you want to enable logging, and right click it. Choose Logging.</p>
<p><img src="http://images.gadodia.net/blog/2009/05/s3explorer1.jpg" /> </p>
<p>When you choose the Logging menu item on the context menu, you will be taken to a properties dialog box, where you will need to enter two values (as shown below):</p>
<p><img src="http://images.gadodia.net/blog/2009/05/s3explorer2.jpg" /> </p>
<p>Here, the prefix can be anything. By default it is the name of the bucket. This allows you to identify the log file for this bucket. Second, you need to choose which bucket the logs will be created in.</p>
<p>Once this is done just press OK and you are done. Of course, in the backend CloudBerry Explorer carries out a number of tasks to set this up for you; and if you are interested in learning about it, then I recommend reading Amazon’s article on <a href="http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?LoggingHowTo.html">Setting Up Server Access Logging</a>.</p>
<p>I will try and put up an article on how to interpret the logs that are generated in the future.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=c08wG_L_gJw:84CnW2MlM8w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=c08wG_L_gJw:84CnW2MlM8w:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=c08wG_L_gJw:84CnW2MlM8w:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=c08wG_L_gJw:84CnW2MlM8w:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=c08wG_L_gJw:84CnW2MlM8w:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=c08wG_L_gJw:84CnW2MlM8w:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=c08wG_L_gJw:84CnW2MlM8w:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=c08wG_L_gJw:84CnW2MlM8w:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/c08wG_L_gJw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/amazon-s3-are-you-the-only-one-accessing-your-files/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/amazon-s3-are-you-the-only-one-accessing-your-files/</feedburner:origLink></item>
		<item>
		<title>You have to love Programmers</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/bEQ-m3A3-S4/</link>
		<comments>http://blog.gadodia.net/you-have-to-love-programmers/#comments</comments>
		<pubDate>Tue, 19 May 2009 08:19:18 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/you-have-to-love-programmers/</guid>
		<description><![CDATA[I was looking at my FaceBook page (which I do every once in a while to see what my friends’ updates are). And I came across this little gem from Scott Hanselman (he of course runs a site called OverheardAtHome from where this come from): 
Daddy, I can&#8217;t pedal anymore, I&#8217;ve used up all the [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking at my FaceBook page (which I do every once in a while to see what my friends’ updates are). And I came across this little gem from <a href="http://www.hanselman.com/blog">Scott Hanselman</a> (he of course runs a site called <a href="http://www.overheardathome.com/" target="_blank">OverheardAtHome</a> from where this come from): </p>
<blockquote><p><strong><em>Daddy, I can&#8217;t pedal anymore, I&#8217;ve used up all the food in my tummy.</em></strong></p>
</blockquote>
<p>As funny as the kiddy talk is, I just couldn’t stop laughing at some of the comments that followed Scott’s post. Look for yourself in the screen shot below.</p>
<p><img src="http://images.gadodia.net/blog/2009/05/hanselman.jpg" /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=bEQ-m3A3-S4:Ijlc9hN4bcA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=bEQ-m3A3-S4:Ijlc9hN4bcA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=bEQ-m3A3-S4:Ijlc9hN4bcA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=bEQ-m3A3-S4:Ijlc9hN4bcA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=bEQ-m3A3-S4:Ijlc9hN4bcA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=bEQ-m3A3-S4:Ijlc9hN4bcA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=bEQ-m3A3-S4:Ijlc9hN4bcA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=bEQ-m3A3-S4:Ijlc9hN4bcA:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/bEQ-m3A3-S4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/you-have-to-love-programmers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/you-have-to-love-programmers/</feedburner:origLink></item>
		<item>
		<title>Some great ideas for Earth Day</title>
		<link>http://feedproxy.google.com/~r/HabituallyGood/~3/d2DtgB_94AE/</link>
		<comments>http://blog.gadodia.net/some-great-ideas-for-earth-day/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 13:24:46 +0000</pubDate>
		<dc:creator>Vaibhav</dc:creator>
				<category />
		<category><![CDATA[Earth Day]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Tips-and-Tricks]]></category>

		<guid isPermaLink="false">http://blog.gadodia.net/some-great-ideas-for-earth-day/</guid>
		<description><![CDATA[Here is a list of ideas of activities that you can do on Earth Day and the rest of the year. We should go out of our way to make an impact and spread awareness. Remember, any big problem (such as saving the planet) starts with baby steps, so let’s take ours and hope that [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of ideas of activities that you can do on <a href="http://en.wikipedia.org/wiki/Earth_Day" target="_blank">Earth Day</a> and the rest of the year. We should go out of our way to make an impact and spread awareness. Remember, any big problem (such as saving the planet) starts with baby steps, so let’s take ours and hope that enough of us take these steps to make a planet saving difference.</p>
<p>These are various things that could think of. Please add your ideas in the comments.</p>
<p> <span id="more-834"></span>
</p>
</p>
<p><strong>Spread Awareness</strong></p>
<ul>
<li>Call up 10 people you know and ask them what their planet saving resolution for Earth day is. If they are not sure what you are talking about, explain to them the concept of Earth Day, and also tell them that this is a great excuse to make a resolution (such as one you make on new year) to start doing something about the planet. If they are not convinced, throw out some of the facts about how the planet is fast tracking towards complete destruction (see facts below). If they need ideas on what to do, show them this article.</li>
<li>Do you have a blog? Write an article on it, like I am doing here. Make a convincing case for your readers that they really have to do something on Earth Day. Do you have a podcast? publish one for the Earth Day. Do you have a website? Put on an Earth Day banner. Are you on Twitter? Tweet this post.</li>
<li>Get your HR department to conduct an activity for all employees in the office and thus spreading awareness.</li>
<li>Make sure you update your Orkut, Facebook, Twitter, etc. statuses to reflect a message that tells people about what you have done on Earth Day, and asks them to do something as well (e.g. I adopted a Panda, what have you done?)</li>
<li>Send out a mail each on all your mailing groups talking about Earth Day and the importance of saving the planet.</li>
<li>Wear clothes with Earth Day messages. Have bumper stickers on your car for the Earth Day. Fly the Earth Day flag from your balcony. </li>
</ul>
<p><strong>Act</strong></p>
<ul>
<li>Say no to plastic, seriously. Start carrying reusable bags with you so that you don’t need to use a plastic bag.</li>
<li>Plant 10 trees. This helps prevent soil erosion, cleans pollution, and provides home for insects, birds, etc. increasing the biodiversity of the area.</li>
<li>Read on 5 different issues concerning the environment and therefore learn about the problems that are ailing the planet, and what you can do to help. If you are in Gurgaon, India, two very important topics that everyone should know about are rainwater harvesting and garbage disposal.</li>
<li>Change all your lighting in the house to energy efficient lighting. CFLs and energy star rated lighting may cost you a bit more up front, but will pay off more than their cost over the life of their operation in terms of reduced electricity consumption.</li>
<li>Organize a community cleanup campaign – put together groups and pick up litter from roads and parks and dispose of it properly.</li>
<li>Adopt a wild animal which is endangered. One great source for this is the WWF site: <a href="http://www.worldwildlife.org/how/index.html">http://www.worldwildlife.org/how/index.html</a>. Most people don’t realize how important wild animals are to the survival of the planet.</li>
<li>Save fuel consumption. Start a carpool for going to office, school, etc. Turn off your engines at long traffic stops. Drive moderately. Get a car which is fuel efficient, hybrid, or electric.</li>
<li>Optimize your house hold heating and/or cooling. Make sure you don’t keep your refrigerator door open more than necessary (or better, be quick about it when you open your refrigerator). Make sure your windows and doors are closed and you don’t move in and out of a cooled or heated room too frequently. If you are using an air conditioner, try to set the temperature to a couple of degrees above what you normally would (and vice versa if you are using a heater).</li>
<li>Reduce, Reuse, Recycle – Use as little as you can. Reuse as much as you can. Recycle what you don’t need and buy recycled products.</li>
<li>Use <a href="http://www.google.com" target="_blank">Google</a> to search for the usual keywords such as “How to save electricity?”, or “How to save water?” or “How to save fuel?” and so on. Look through the top 5 results, and adopt at least 1 suggestion from each of your searches.</li>
</ul>
<p><strong>Points to Ponder</strong></p>
<ul>
<li>If you are on a cruise on a luxury ocean liner, in one week, your ship generates 800,000 liters of sewage, 3.8 million liters of gray water (from showers, sinks, washers, etc.), 150,000 liters of oily water, and over 8 tons of solid toxic and non-toxic waste. There are hundreds of these ships in the world (do the math).</li>
<li>Over <strong>1,000,000,000</strong> (One Billion) plastic bags are used every day. That’s over 10,000 bags a second. And this is in the US alone. Around the world, each year we use between 500 billion to 1 trillion plastic bags (over a million per minute).</li>
<li>Energy needed to create <strong>1 new can</strong> = Energy needed to create <strong>20 recycled cans</strong>.</li>
<li>Recycling <strong>1 ton of paper</strong> = Saving <strong>17 trees</strong>.</li>
<li>In the US, a 100 million trees are chipped down each year to produce junk mail.</li>
<li>Pollution of drinking water is a problem for over half the world’s population with 5-10 million people dying each year from water-related diseases.</li>
<li>Each year, plastic in the water kills 100,000 marine mammals (whales, dolphins, etc.), 1 million sea birds, and countless fish.</li>
<li>40% of the rivers in the United States are too polluted for fishing, swimming, or aquatic life.</li>
</ul>
<p>This post barely scraps the surface of the problem. But, we need to keep trying, and so here we are. Please leave your ideas in the comments on what you are going to do on Earth day or what you suggest every one can do.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=d2DtgB_94AE:qOHiDmKGx1s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=d2DtgB_94AE:qOHiDmKGx1s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=d2DtgB_94AE:qOHiDmKGx1s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=d2DtgB_94AE:qOHiDmKGx1s:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=d2DtgB_94AE:qOHiDmKGx1s:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=d2DtgB_94AE:qOHiDmKGx1s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?i=d2DtgB_94AE:qOHiDmKGx1s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/HabituallyGood?a=d2DtgB_94AE:qOHiDmKGx1s:POIT-yWGFT8"><img src="http://feeds.feedburner.com/~ff/HabituallyGood?d=POIT-yWGFT8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/HabituallyGood/~4/d2DtgB_94AE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.gadodia.net/some-great-ideas-for-earth-day/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.gadodia.net/some-great-ideas-for-earth-day/</feedburner:origLink></item>
	</channel>
</rss>
