<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Reflections of a scattered Mind !!</title>
	<atom:link href="http://blog.saionline.co.in/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.saionline.co.in</link>
	<description>&#34;Not all scattered pieces are of broken glass&#34;</description>
	<lastBuildDate>Fri, 06 Aug 2010 17:33:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<cloud domain='blog.saionline.co.in' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Just Friends! It got something !!</title>
		<link>http://blog.saionline.co.in/2010/08/just-friends-it-got-something/</link>
		<comments>http://blog.saionline.co.in/2010/08/just-friends-it-got-something/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 17:33:47 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[TimePass]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[just friends]]></category>
		<category><![CDATA[novels]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=231</guid>
		<description><![CDATA[If you&#8217;re wondering what it is, &#8216;Just Friends&#8216; is a novel by an Indian writer. I think it is his debut novel, but don&#8217;t take my word on this. You need to google (or bing, for Bing fans) it to be sure. By &#8216;It got something&#8217;, I don&#8217;t mean to say, its an awesome book.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re wondering what it is, &#8216;<a href="http://sumritshahi.weebly.com/index.html" target="_blank">Just Friends</a>&#8216; is a novel by an Indian writer. I think it is his debut novel, but don&#8217;t take my word on this. You need to google (or bing, for Bing fans) it to be sure. By &#8216;It got something&#8217;, I don&#8217;t mean to say, its an awesome book. I wouldn&#8217;t even say its a good book, its just another book (add some 18+ masala content to the recipe) . What impressed me in the book are the quotes (quoted by the author himself, I believe) in it. They are not inspirational or something, but I liked them (not that I like only inspirational, in general). So, I decided to put my favorites here and share with you.</p>
<ul>
<li>Sleep is deadly and love is lethal. The combination is so powerful that it leaves you helpless, forcing you to sleep later.</li>
<li>A sleepless night is a lover&#8217;s right</li>
<li>Restless nights, drowsy mornings, confused afternoons, lonely evenings&#8230;</li>
<li>Eyes are like prostitutes &#8211; they reveal more than they can conceal.</li>
<li>I laughed, she laughed. Problem solved.</li>
<li>I smiled, she smiled. All problems could wait.</li>
<li>You pose a great competition to sugar for its characteristics of deadly sweetness and mixing quickly and easily in unknown waters.</li>
<li>I wasn&#8217;t superstitious. It was just&#8230; love.</li>
</ul>
<p>In case they don&#8217;t make sense to you, you need to read the novel then coz they all are situational, though you can identify the situations from the statements itself for many of them.</p>
<p>Until next post, have a peaceful life (great would be great, though)&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2010/08/just-friends-it-got-something/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Android: Part I</title>
		<link>http://blog.saionline.co.in/2010/07/learning-android-part-one/</link>
		<comments>http://blog.saionline.co.in/2010/07/learning-android-part-one/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 17:10:58 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=225</guid>
		<description><![CDATA[I will use this post to talk about my &#8216;Getting familiar with Android&#8217; learning. As announced in the last post, I&#8217;ve started learning Android, but not even at half-pace as I wanted to. Anyways, let me tell what I&#8217;m doing in learning. I&#8217;m using ADT on Eclipse Helios and using the Emulator for testing purposes.]]></description>
			<content:encoded><![CDATA[<p>I will use this post to talk about my &#8216;Getting familiar with Android&#8217; learning. As announced in the last post, I&#8217;ve started learning Android, but not even at half-pace as I wanted to.</p>
<p>Anyways, let me tell what I&#8217;m doing in learning. I&#8217;m using ADT on Eclipse Helios and using the Emulator for testing purposes. Currently focusing on the samples present along with Android SDK. Gone through the Application Fundamentals available along with the SDK.</p>
<p>Interesting Things:</p>
<ul>
<li>Most importantly, its good to see myself learning the things I&#8217;m interested in from the start (FYI, I always have that thing for Web &amp; Mobile Development)</li>
<li>Very clear &amp; highly helpful documentation (and, also downloadable). And the docs are developer-focused &amp; also lays emphasis on good practices at every step, like i18n, using resources instead of hard-coded strings etc. etc..</li>
<li>Separation of layout of the app and the application logic (supports XML files for layout). I get the feeling this is inspired from Flex (mxml &amp; as), but I don&#8217;t know.</li>
<li>Provides a very good mechanisms for interoperability between various applications. Simply said, I can use the capabilities of other applications installed, and also I can expose my app&#8217;s capabilities to other apps. Also, Android search also integrates good with any application&#8217;s search.</li>
<li>Application Development is done in Java, which is said to be a very developer-friendly. I can utilize this to brush my skills in java, as I have other plans to work in Java in some not-so-far future.</li>
</ul>
<p>Annoying Things:</p>
<ul>
<li>Tabs are NOT simple to use. I&#8217;d prefer a way to declare tabs and its contents in the XML itself.</li>
<li>In TabHost, mandatory referencing of elements to&#8217; tabs&#8217; &amp; &#8216;tabcontent&#8217; doesn&#8217;t look like a good programming feature.</li>
<li>Missing the tabs &amp; tabcontent id referencing in the TabHost would give no error / warning by Compiler, but fails at Runtime, without any proper information (even while debugging)</li>
<li>Emulator takes very long time to start. So, its preferred not to close the emulator after every run. (start along with eclipse and close it before closing eclipse)</li>
<li>Emulator keyboard shortcuts &#8211; Not too easy to remember (like, Ctrl + F12 for Toggle Portrait / Landscape modes). I&#8217;d have preferred if the emulator itself has a help button, to show the shortcuts.</li>
<li>Nothing to do with Android, but the bug in Helios (Eclipse Web tools plug-in) has become a pain, forcing me not to us any features while editing resources. Bug &#8211; https://bugs.eclipse.org/bugs/show-bug.cgi?id=318108</li>
<li>Again, may not be related to ADT (frankly, I don&#8217;t know), but the auto-complete context is very slow, taking 30-60 seconds (which is tooooo long, btw). Here again, I&#8217;m forced to disable Auto-Activation of context Assist at &#8216;Window -&gt; Preferences -&gt; Java -&gt; Editor -&gt; Context Assist -&gt; Enable Auto Activation&#8217;</li>
<li>I  can&#8217;t run the application when my focus is on layout files (on resource files, for that matter). I always need to switch to a java file, to run (Ctrl + F11) the application</li>
<li>The layout filenames cannot contain uppercase letters. If it contains, the error shown doesn&#8217;t help in identifying it</li>
</ul>
<p>Unclear points for me:</p>
<ul>
<li>In Android XML, for TabHost, @android:id/tabhost works ( i.e; referencing other element with tabhost id ). How can access this element from my Activity class? (since, no reference is created in R.id )</li>
<li>Is XML compiled ? Or interpreted at Runtime? If compiled, how can I see the generated Java (?) files? (something similar to -keep compiler option in Flash Builder)</li>
<li>And many other things (like, working of Intent, i18n, logging), but these are somethings I need to learn as I dive further in android..</li>
</ul>
<p>Tasks for coming days:</p>
<ul>
<li>Finish the Tutorials in the resources, and then go to the samples folder available with the SDK.</li>
<li>Try to make a couple of simple *usable* apps, so that I get enough practice with the SDK APIs</li>
</ul>
<p>Also, attaching the projects <a title="HelloAndroid.zip" href="http://blog.saionline.co.in/wp-content/uploads/2010/07/HelloAndroid.zip">HelloAndroid.zip</a> and <a title="HelloViews.zip" href="http://blog.saionline.co.in/wp-content/uploads/2010/07/HelloViews.zip">HelloViews.zip</a> I made during my learning.</p>
<p>Wish me that I gain pace in learning Android over the next few weeks&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2010/07/learning-android-part-one/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>And, I&#8217;m back!</title>
		<link>http://blog.saionline.co.in/2010/06/and-im-back/</link>
		<comments>http://blog.saionline.co.in/2010/06/and-im-back/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 14:34:52 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[My Experiences]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=226</guid>
		<description><![CDATA[I&#8217;ve decided that I need to celebrate the release of WordPress 3.0. So, I&#8217;ve given a thought about the best way to celebrate! And guess what? Using it &#38; spreading the word will the best (both for myself &#38; WordPress too ). So, I&#8217;m back to my blog. And this is not like my previous]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided that I need to celebrate the release of WordPress 3.0. So, I&#8217;ve given a thought about the best way to celebrate! And guess what? Using it &amp; spreading the word will the best (both for myself &amp; WordPress too <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ). So, I&#8217;m back to my blog. And this is not like my previous times !!! I&#8217;m going stick around updating my blog for quite some time (a couple of months, for a minimum).</p>
<p>Let me start with what happened during last few months. Actually, many of them I wish they didn&#8217;t happen or they happened other way.. <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<ul>
<li>I tried to get a driving license at Noida, but failed because of lack of local address proof. Seriously, going back to my hometown just for getting a license &#8211; doesn&#8217;t it sound stupid?</li>
<li>With no license, my dream of a getting a bike got wiped away !</li>
<li>I&#8217;m getting bored (read as vexed, irritated and so on&#8230;) of Noida ! What a stupid place it is !! Isn&#8217;t it?</li>
<li>Laptop is troubling me a lot&#8230;. Currently under repair. Wish I get it back soon!</li>
<li>Lost all the contacts from the mobile!</li>
</ul>
<p>And the good part: Google I/O 2010 brought back my interest in Web &amp; Mobile development, due to which, I decided to spend atleast 40 hours in the coming couple of months learning Android. I&#8217;ve also decided Learning is going to my major focus area for a couple more years!!</p>
<p>So, wish me luck in putting things into execution !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2010/06/and-im-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Benefits of Failure</title>
		<link>http://blog.saionline.co.in/2010/02/the-benefits-of-failure/</link>
		<comments>http://blog.saionline.co.in/2010/02/the-benefits-of-failure/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 19:48:09 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[My Experiences]]></category>
		<category><![CDATA[benefits]]></category>
		<category><![CDATA[failure]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=198</guid>
		<description><![CDATA[This is video of the speech by the famous J.K. Rowling at the Harvard Commencement, 2008. So, whats in the video? It has some humor in it, especially the first 150 secs. I&#8217;m sure a few smiles you&#8217;d certainly escape from your tender lips.. She talks how &#8216;being poor&#8217; influences (or atleast attempt to) your]]></description>
			<content:encoded><![CDATA[<p>This is video of the speech by the famous J.K. Rowling at the Harvard Commencement, 2008.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="302" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=1711302&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="302" src="http://vimeo.com/moogaloop.swf?clip_id=1711302&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>So, whats in the video?</p>
<ul>
<li>It has some humor in it, especially the first 150 secs. I&#8217;m sure a few smiles you&#8217;d certainly escape from your tender lips.. <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </li>
<li>She talks how &#8216;being poor&#8217; influences (or atleast attempt to) your life and all in it including career, passion etc. etc.</li>
<li>And the core part &#8211; The benefits of failure. I think she had put this part in action in a great way, or else, after watching this video, why did I desperately want to fail in a big way despite my fear of failure??</li>
</ul>
<p>Now that I mentioned I fear failure, let me tell what my mind tells me right now. &#8220;You do not fear the failure itself, but your fear its after-effects. Its capable of taking everything fro you !&#8221;. But my heart is encouraging me &#8211; &#8220;When you had done everything from scratch, why do you fear to do it again? It&#8217;d easier this time.. !!&#8221; <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>I know it sounds funny, but really can&#8217;t help. Perhaps, this is why people call &#8211; &#8220;An idle brain is the Devil&#8217;s workshop&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2010/02/the-benefits-of-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I had a problem</title>
		<link>http://blog.saionline.co.in/2009/12/i-had-a-problem/</link>
		<comments>http://blog.saionline.co.in/2009/12/i-had-a-problem/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 23:52:29 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[files]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=182</guid>
		<description><![CDATA[Symptoms: Language: C++, Operating System: Windows Target Audience: Programmers Sub Area: Reading ASCII / UTF-8 files from the disk using C++ streams. Trouble: How to handle files whose file names contains non-ASCII characters?? (coz ifstream takes a ASCII file path ) Solution: Use _wfopen_s(), the safe version of _wfopen(), which takes a wide-character file name]]></description>
			<content:encoded><![CDATA[<p><strong>Symptoms: </strong></p>
<ul>
<li>Language: C++, Operating System: Windows</li>
<li>Target Audience: Programmers</li>
<li>Sub Area: Reading ASCII / UTF-8 files from the disk using C++ streams.</li>
<li>Trouble: How to handle files whose file names contains non-ASCII characters?? (coz ifstream takes a ASCII file path <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  )</li>
</ul>
<p><strong>Solution:</strong></p>
<ul>
<li>Use _wfopen_s(), the safe version of _wfopen(), which takes a wide-character file name &amp; gives a FILE pointer i.e; FILE*.</li>
<li>Use the obtained FILE* to create a stream, like ifstream in(fp);</li>
<li>We used wide-character file name &amp; are reading the file byte-by-byte (actually, its char). DONE !! <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>BTW, I got help from <a href="http://bytes.com/topic/net/answers/264598-iostream-question-how-open-unicode-file-name">here</a> ! Hope this saves  time for someone out there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2009/12/i-had-a-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QuickPost: Torrent sites I use frequently</title>
		<link>http://blog.saionline.co.in/2009/11/quickpost-torrent-sites-i-use-frequently/</link>
		<comments>http://blog.saionline.co.in/2009/11/quickpost-torrent-sites-i-use-frequently/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 18:07:42 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[TimePass]]></category>
		<category><![CDATA[telugu]]></category>
		<category><![CDATA[torrents]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=183</guid>
		<description><![CDATA[A quickpost to announce the torrent sites I use regularly (and of vourse, I like them) http://www.vertor.com Its the home for verified torrents. Hence, you need not worry about fake torrents. It also have screenshots and an audio sample. And the best thing, it does not need any registration and almost ad-free. http://www.telugutorrents.net As name]]></description>
			<content:encoded><![CDATA[<p>A quickpost to announce the torrent sites I use regularly (and of vourse, I like them)</p>
<ol>
<li> <a title="Vertor - Verified Torrents" href="http://www.vertor.com">http://www.vertor.com</a> Its the home for verified torrents. Hence, you need not worry about fake torrents. It also have screenshots and an audio sample. And the best thing, it does not need any registration and almost ad-free. <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li><a title="Telugu Torrents" href="http://www.telugutorrents.net ">http://www.telugutorrents.net </a>As name suggests, its dedicated for Telugu, a regional language in India (and also my mother tongue). Good part about this site is: Only good quality (dvdrip) videos are allowed to be posted here and no place in here for camrips, which is a good feature as far as I&#8217;m concerned. Also, downloads happen with a very good speed. Sad thing is it is open for registered users only, and registrations are closed now !! <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </li>
<li><a href="http://www.tollytorrents.com">http://www.tollytorrents.com</a> Again, a telugu only site, but contains all the entertainment stuff (like, music, dvdrips, camrips, wallpapers etc.) . Though requires registration, registrations are free &amp; open. Downloads happen at a good speed. By the way, I started using this site today only <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <a href="http://www.tollytorrents.com"><br />
</a></li>
</ol>
<p><strong>Update 1: </strong>One of my browser addon blocks all the ads on webpage, and hence can&#8217;t assure the *ad-free* I announced for Vertor.</p>
<p><strong>Update 2: </strong>A little clarification: &#8216;tolly&#8217; in tollytorrents refer to tollywood which refers to movie industry of Telugu.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2009/11/quickpost-torrent-sites-i-use-frequently/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask your computer to help you in household chores</title>
		<link>http://blog.saionline.co.in/2009/10/ask-your-computer-to-help-you-in-household-chores/</link>
		<comments>http://blog.saionline.co.in/2009/10/ask-your-computer-to-help-you-in-household-chores/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 15:14:03 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[TimePass]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/2009/10/ask-your-computer-to-help-you-in-household-chores/</guid>
		<description><![CDATA[Does this title come as a surprise to you? But, yes ! computer can help you with some additional things too (apart from computing). With a small program, you can make the cradle (baby rocker) of your baby swing, without your presence. Shocked? Well, do you recognize you PC has a CDROM and also a]]></description>
			<content:encoded><![CDATA[<p>Does this title come as a surprise to you? But, yes ! computer can help you with some additional things too (apart from computing).</p>
<p>With a small program, you can make the cradle (baby rocker) of your baby swing, without your presence. Shocked? Well, do you recognize you PC has a CDROM and also a program can also open &amp; close a CDROM drive?  Continuous opening &amp; closing of CDROM can help in your baby rocker&#8217;s harmonic motion.</p>
<p>Check this link for similar innovative ideas: <a href="http://blog.makezine.com/archive/2009/08/linux_baby_rocker.html">http://blog.makezine.com/archive/2009/08/linux_baby_rocker.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2009/10/ask-your-computer-to-help-you-in-household-chores/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Doing things the HTML way</title>
		<link>http://blog.saionline.co.in/2009/10/doing-things-the-html-way/</link>
		<comments>http://blog.saionline.co.in/2009/10/doing-things-the-html-way/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 17:52:53 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=113</guid>
		<description><![CDATA[Hi, Some points that come into handy while developing in HTML: Always use XHTML tags. meaning that, your HTML should be well-formed XML (closing  &#38; ending tags should be present). Like, for example, use &#60;br/&#62; instead of &#60;br&#62; Try to use XHTML 1.0 strict as much as possible. But, this mode doesn&#8217;t support target attribute]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Some points that come into handy while developing in HTML:</p>
<ul>
<li>Always use XHTML tags. meaning that, your HTML should be well-formed XML (closing  &amp; ending tags should be present). Like, for example, use &lt;br/&gt; instead of &lt;br&gt;</li>
<li>Try to use XHTML 1.0 strict as much as possible. But, this mode doesn&#8217;t support target attribute on anchor (&lt;a&gt;) links. If you need to specify &#8216;target&#8217; on links, they you should be using XHTML 1.0 transitional doctype.</li>
<li>Always specify the doctype of your HTML page. Also just run the validator test available at w3c.org to know where are deviating from the standards specified. And fix as much as possible to make it closer to standards.</li>
<li>IE doesn&#8217;t support *.ico [Icons] files as Images in <img alt="" /> tags. So, make sure that your images are NOT ico types.</li>
<li>Are you developing site in non-English language? Then, knowing about<strong> Dynamic Fonts</strong> is a must before implementation. Try to find more about it from Google ( I have no experience with them to tell you <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  )</li>
<li>A common bad practice among beginners: Uploading a large image to the server (like, 1024 * 768) &amp; then set required image &amp; height(200 * 150)  in HTML. This would cause unnecessary bandwidth waste which can be easily avoided by uploading the resized image of the desired dimensions.</li>
<li>You should learn about &#8216;Alternate Style-sheets&#8217; if you wanna provide multiple themes to the webuser. Basic usage of this can be found at: <a href="http://javascript.about.com/library/blswitch.htm">http://javascript.about.com/library/blswitch.htm</a></li>
<li>One important, yet highly ignored practise, is providing a Print specific stylesheet for the page. This is possible by specifying media=&#8221;print&#8221; on the stylesheet link, like <em>&lt;link type=&#8221;text/css&#8221; rel=&#8221;stylesheet&#8221; href=&#8221;/css/print.css&#8221; media=&#8221;print&#8221; /&gt;</em>. And, let all the unneccesary data be hidden in this css file (like, ads, navigational menu, header, search bar etc.). Keep the print to minimum.</li>
<li>It would also look good if we provide the end-user a &#8216;Print Preview&#8217; from inside our page itself. This isn&#8217;t any magic, its similar to multi theming concept as said above.</li>
</ul>
<p>Yes, I understand these are very basics, but don&#8217;t we know that Basics are the building blocks of any application?</p>
<p><strong>Update:</strong> The Print Preview concept is borrowed from <br /><a href="http://www.alistapart.com/d/printtopreview/example.html">http://www.alistapart.com/d/printtopreview/example.html</a>. <br />Click on &#8216;Print this Page&#8217; on the LHS of the page &amp; see that page layout changes, giving the user the Print Preview Experience</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2009/10/doing-things-the-html-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GTalk: Display Images Cache</title>
		<link>http://blog.saionline.co.in/2009/09/gtalk-display-images-cache/</link>
		<comments>http://blog.saionline.co.in/2009/09/gtalk-display-images-cache/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 18:32:53 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[display image]]></category>
		<category><![CDATA[gtalk]]></category>
		<category><![CDATA[IM]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=96</guid>
		<description><![CDATA[In my last article, I talked about the way of obtaining a user&#8217;s display image in Yahoo! Messenger &#38; Google Talk, over the internet through http protocol (the browser way). In this case, it is the browser&#8217;s decision about the cache to be used for those images. But, the IM client Applications(googletalk.exe, YahooMessenger.exe) are stand-alone]]></description>
			<content:encoded><![CDATA[<p>In my <a title="Display Images in Instant Messengers" href="http://http://blog.saionline.co.in/2009/08/display-images-in-instant-messengers/">last article</a>, I talked about the way of obtaining a user&#8217;s display image in Yahoo! Messenger &amp; Google Talk, over the internet through http protocol (the browser way). In this case, it is the browser&#8217;s decision about the cache to be used for those images. But, the IM client Applications(googletalk.exe, YahooMessenger.exe) are stand-alone applications. And we do not expect them to fetch the display image on the fly over the wire from the internet, whenever the image is to be displayed. The most simple, obvious but yet powerful solution is  to maintain the cache of images on the disk.</p>
<p>Now, my point of this article is, what is this cache location of images, so that I can easily navigate over to there and pick a friend&#8217;s avatar from there..  <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Well on Windows Systems, the display images cache directory for GTalk is:<span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry"> </span></p>
<p><span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry">C:\Documents and Settings\<em>&lt;windows username&gt;</em>\Local Settings\Application Data\Google\Google Talk\avatars</span></p>
<p><span>The images saved in there are PNG files with transparent background, so you can open them with basic image application [maybe, you need to change the application extension to .png]. Do you observe there are two images for each id  there ? One image is 32 x32 [ends with .online.avatar] and the other is 96 x 96 px image [ends with .original.avatar].</span></p>
<p>You can find much more information about GTalk at <a href="http://www.customizetalk.com">http://www.customizetalk.com</a>. This site has some useful information all about the GTalk Themes Development, GTalk Bots Development and many other interesting [and not complicated at the same time] stuff.</p>
<p>Its fun as well as  interesting to find how simple a powerful application can be. Sticking to development basics <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Update:</strong> Find some interesting Google Talk emoticons &amp; their string equivalents here : <a href="http://tkhere.blogspot.com/2007/12/brand-new-google-chat-emoticons-no-one.html">http://tkhere.blogspot.com/2007/12/brand-new-google-chat-emoticons-no-one.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2009/09/gtalk-display-images-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Images in Instant Messengers</title>
		<link>http://blog.saionline.co.in/2009/08/display-images-in-instant-messengers/</link>
		<comments>http://blog.saionline.co.in/2009/08/display-images-in-instant-messengers/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 19:54:34 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[display image]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[gtalk]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=84</guid>
		<description><![CDATA[Have you ever felt while chatting that your friend&#8217;s display image is awesome ? If you ever felt so, the most obvious thing you&#8217;d try to do next is save the image [so that you can use it later on some purpose]. But, in general, the messengers do not support saving the display images [No,]]></description>
			<content:encoded><![CDATA[<p>Have you ever felt while chatting that your friend&#8217;s display image is awesome ? If you ever felt so, the most obvious thing you&#8217;d try to do next is save the image [so that you can use it later on some purpose]. But, in general, the messengers do not support saving the display images [No, you can't just right-click on the menu &amp; select Save]. Well, I just explored &amp; experimented a bit with Google Talk &amp; Yahoo! Messenger to check how to access the display images through an http url? So, here are my results:</p>
<ul>
<li>Yahoo! Messenger: The display image of all the users are publicly available on the web. To access the avatar / display image of a user whose Y! Id is <em>yid</em>, then just navigate to:
<p>http://img.msg.yahoo.com/avatar.php?yids=<em>yid</em></p>
<p>Here comes a shock now !! All images are publicly available, meaning that everyone has permissions to save your image onto their disk.</li>
<li>Google Talk: I&#8217;m not really sure where the images get loaded from on GTalk, but on the GTalk plugin available on GMail, the images are loaded from: https://mail.google.com/mail/photos/<em>username</em>@gmail.com, where the <em>username </em>is the user&#8217;s Google username. On contrary to the Yahoo! Security Settings, these images are NOT publicly available. You cannot access the images of users who are not in your friends list. Also, this URL checks for your valid session, meaning that you need to be logged into GMail to access these images.</li>
</ul>
<p>I was actually wondering if there is any tool which can list me all the data-transfers happening b/w my IMs &amp; the host sites? Wouldn&#8217;t it be wonderful if we know all the endpoints of an IM server, the message formats etc. [We can probably develop our custom messenger for that IM service, if we get to  know those details <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ]</p>
<p>Well, now girls [especially Indians, who are conservative] should give a thought before uploading their display image, if they do not want their pictures to fall into wrong / unwanted hands.</p>
<p>Now, its time to have fun by tricking your pals by their own display images as yours.. <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2009/08/display-images-in-instant-messengers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
