<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>What&#039;s UP Next</title>
	<atom:link href="http://asitkatiyar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://asitkatiyar.wordpress.com</link>
	<description>Drive your thoughts</description>
	<lastBuildDate>Fri, 30 Dec 2011 06:09:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='asitkatiyar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>What&#039;s UP Next</title>
		<link>http://asitkatiyar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://asitkatiyar.wordpress.com/osd.xml" title="What&#039;s UP Next" />
	<atom:link rel='hub' href='http://asitkatiyar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The Top 5 Internet Destinations in 2011</title>
		<link>http://asitkatiyar.wordpress.com/2011/12/29/the-top-5-internet-destinations-in-2011/</link>
		<comments>http://asitkatiyar.wordpress.com/2011/12/29/the-top-5-internet-destinations-in-2011/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 06:24:35 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=194</guid>
		<description><![CDATA[There was a tough fight between internet search giant Google and the social networking giant Facebook to be at the top internet destinations. According to the research done by market researcher Nielsen, here are the lists of top 5  internent destinations of 2011: 1- Top 5 Web Brands Microsoft and Apple take 6th and 9th [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=194&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There was a tough fight between internet search giant <a href="http://google.com">Google</a> and the social networking giant <a href="http://facebook.com">Facebook</a> to be at the top internet destinations. According to the research done by market researcher <a href="http://www.nielsen.com">Nielsen</a>, here are the lists of top 5  internent destinations of 2011:</p>
<p>1- Top 5 Web Brands</p>
<p><a href="http://asitkatiyar.files.wordpress.com/2011/12/top5webbrands.png"><img class="alignleft size-full wp-image-195" title="top5webbrands" src="http://asitkatiyar.files.wordpress.com/2011/12/top5webbrands.png?w=600" alt=""   /></a></p>
<p>Microsoft and Apple take 6th and 9th positions respectively</p>
<p>2- Top 5 Social Networks and Blogs</p>
<p><a href="http://asitkatiyar.files.wordpress.com/2011/12/top5socialbrands.png"><img class="alignleft size-full wp-image-196" title="top5socialbrands" src="http://asitkatiyar.files.wordpress.com/2011/12/top5socialbrands.png?w=600" alt=""   /></a></p>
<p>LinkedIn and Google+ get 6th and 8th positions respectively</p>
<p>3- Top 5 Destinations for Video</p>
<p><a href="http://asitkatiyar.files.wordpress.com/2011/12/top5viedobrands.png"><img class="alignleft size-full wp-image-197" title="top5viedobrands" src="http://asitkatiyar.files.wordpress.com/2011/12/top5viedobrands.png?w=600" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=194&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2011/12/29/the-top-5-internet-destinations-in-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>

		<media:content url="http://asitkatiyar.files.wordpress.com/2011/12/top5webbrands.png" medium="image">
			<media:title type="html">top5webbrands</media:title>
		</media:content>

		<media:content url="http://asitkatiyar.files.wordpress.com/2011/12/top5socialbrands.png" medium="image">
			<media:title type="html">top5socialbrands</media:title>
		</media:content>

		<media:content url="http://asitkatiyar.files.wordpress.com/2011/12/top5viedobrands.png" medium="image">
			<media:title type="html">top5viedobrands</media:title>
		</media:content>
	</item>
		<item>
		<title>The Samsung Galaxy Tab Line Steps Down</title>
		<link>http://asitkatiyar.wordpress.com/2011/07/11/the-samsung-galaxy-tab-line-steps-down/</link>
		<comments>http://asitkatiyar.wordpress.com/2011/07/11/the-samsung-galaxy-tab-line-steps-down/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 11:32:00 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=190</guid>
		<description><![CDATA[Samsung CTO Responsible For The Galaxy Tab Line Steps Down.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=190&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mobilecrunch.com/2011/07/11/samsung-cto-responsible-for-the-galaxy-tab-line-steps-down/">Samsung CTO Responsible For The Galaxy Tab Line Steps Down</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=190&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2011/07/11/the-samsung-galaxy-tab-line-steps-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP Editor Support for .module and .inc Files in Eclipse</title>
		<link>http://asitkatiyar.wordpress.com/2011/07/01/php-editor-support-for-module-and-inc-files-in-eclipse/</link>
		<comments>http://asitkatiyar.wordpress.com/2011/07/01/php-editor-support-for-module-and-inc-files-in-eclipse/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 07:16:01 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=178</guid>
		<description><![CDATA[I have been using eclise from and found very helpful editor to write the PHP programs. It provides in-buit support for developing PHP programs. While working on a Drupal project, I encounterd that Drupal uses PHP code (specially in modules) written in files having .module and .inc extensions. Ecplise doesn&#8217;t provide the built-in support for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=178&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been using eclise from and found very helpful editor to write the PHP programs. It provides in-buit support for developing PHP programs. While working on a Drupal project, I encounterd that Drupal uses PHP code (specially in modules) written in files having .module and .inc extensions. Ecplise doesn&#8217;t provide the built-in support for these extensions. So, when you open these files, the will appear as simple text files with no PHP editor support.</p>
<p>I did some R&amp;D and found one solution for this problem. We can add the content types in eclise to solve this problem. Here are the steps:</p>
<p>Step -1: Go to Window -&gt; Preferences</p>
<p>Step -2: Click on General -&gt; Content Types. Select &#8220;PHP Content Type&#8221;, then click &#8220;Add&#8221; button. Write &#8220;*.module&#8221; or &#8220;*.inc&#8221; in Content Type text box in new window and then click &#8220;OK&#8221; button.<br />
<a href="http://asitkatiyar.files.wordpress.com/2011/07/d_step4.jpg"><img class="alignleft size-full wp-image-180" title="step3" src="http://asitkatiyar.files.wordpress.com/2011/07/d_step4.jpg?w=600" alt=""   /></a></p>
<p>Step -3: Click on Editors -&gt; File Associatons. Click on first &#8220;Add&#8221; button and type &#8220;*.module&#8221; or &#8220;*.inc&#8221; in File Type text box in new window and then click OK</p>
<p><a href="http://asitkatiyar.files.wordpress.com/2011/07/d_step5.jpg"><img class="alignleft size-full wp-image-181" title="step4" src="http://asitkatiyar.files.wordpress.com/2011/07/d_step5.jpg?w=600" alt=""   /></a></p>
<p>Step -&gt; 4: Then click &#8220;OK&#8221; button to close the Preferences window and restart eclipse.</p>
<p>Now when you will open any .module or .inc files, the editor will have PHP support.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=178&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2011/07/01/php-editor-support-for-module-and-inc-files-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>

		<media:content url="http://asitkatiyar.files.wordpress.com/2011/07/d_step4.jpg" medium="image">
			<media:title type="html">step3</media:title>
		</media:content>

		<media:content url="http://asitkatiyar.files.wordpress.com/2011/07/d_step5.jpg" medium="image">
			<media:title type="html">step4</media:title>
		</media:content>
	</item>
		<item>
		<title>A Request to Mayawati</title>
		<link>http://asitkatiyar.wordpress.com/2010/09/23/a-request-to-mayawati/</link>
		<comments>http://asitkatiyar.wordpress.com/2010/09/23/a-request-to-mayawati/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 04:24:53 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[Myidea]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=174</guid>
		<description><![CDATA[Dear Mayawati, Respectfully we beg to say that please be human and save some money for disaster managment instead of just spending hard earned money in making statues of yours and your beloved elephants. Now it is too late as people are dying in western UP without food and homes affected by flood and you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=174&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dear Mayawati,</p>
<p>Respectfully we beg to say that please be human and save some money for  disaster managment instead of just spending hard earned money in making  statues of yours and your beloved elephants. Now it is too late as  people are dying in western UP without food and homes affected by flood  and you are asking Rs.2000cr aid from center. Shame on you.</p>
<p>From</p>
<p>Citizens of UP</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=174&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2010/09/23/a-request-to-mayawati/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>
	</item>
		<item>
		<title>Back To Life</title>
		<link>http://asitkatiyar.wordpress.com/2009/12/28/back-to-life/</link>
		<comments>http://asitkatiyar.wordpress.com/2009/12/28/back-to-life/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 12:10:21 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[Myidea]]></category>
		<category><![CDATA[life style]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=167</guid>
		<description><![CDATA[Yes, I am back to life. Before starting job in IT company, I was fit and leading very healthy life. After that my lifestyle changed. My daily schedule included coming to office by bike and sit in the office for more than 9hrs and going back to room, have dinner and sleep. This schedule depressed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=167&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, I am back to life. Before starting job in IT company, I was fit and leading very healthy life. After that my lifestyle changed. My daily schedule included coming to office by bike and sit in the office for more than 9hrs<br />
and going back to room, have dinner and sleep. This schedule depressed my physical activities very much but not my food intake. consequently, I started accumulating fat. I never realized that the fat I was gaining was slowly affecting my thinking and attitude. My attitude towards my relationships, life, and future prospects started getting dull. Consequently my work performance started dipping. I never felt fresh and enthusiastic in daily activities even after taking full rest.</p>
<p>Once I got one chain mail having words of Infosys chief Narayan Murthi addressed to the IT techies. He said &#8220;life is not just the office and work. Life means a lot. Manage your time so that no need to sit extra time in office. After office explore some new activities. This will make u fresh.&#8221;</p>
<p>Getting inspired with this, I thought why not start fighting with my fat. I joined a gym and started spending at least 1 hr everyday there. The initial days were very difficult and full of tiredness. But slowly I started getting my energy and exuberance back in daily routine. My work performance got better with positive attitude towards life. I lost around 4Kg weight within 1 month. I can&#8217;t express how good it feels to stand in front of the mirror and see myself coming in shape again. I would like to list some of the improvements in daily routine:</p>
<p style="padding-left:30px;"><span style="color:#8f8d90;">1-</span> <span style="color:#ff6600;">Now I don&#8217;t feel like sleeping 15 min more in morning and open eyes with full freshness (be at office on time).</span><br />
<span style="color:#8f8d90;">2-</span> <span style="color:#ff6600;">Now I don&#8217;t suffer the sleepless (or less sleep) nights and have sound sleep because of being tired physically.</span><br />
<span style="color:#8f8d90;">3-</span> <span style="color:#ff6600;">Less yawning in office and meetings (my biggest achievement).<br />
<span style="color:#8f8d90;">4-</span> Better utilized my free time (rather than just watching TV).</span><br />
<span style="color:#8f8d90;">5-</span><span style="color:#800000;"> <span style="color:#ff6600;">Started using my older favourite jeans (another achievement).</span></span><span style="color:#ff6600;"><br />
<span style="color:#8f8d90;">6-</span> No time to think negative (empty mind is devil&#8217;s home).<br />
<span style="color:#8f8d90;">7-</span> Wrap up my work within office time (improves my time management).</span></p>
<p>Now I am planning to join swimming classes on weekends. I found my life back with this idea, you never know which one brings yours back. So keep exploring your hobbies. This really works.</p>
<p><!--Session data--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=167&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2009/12/28/back-to-life/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>
	</item>
		<item>
		<title>Pranav Mistry: Master of SixthSense Technology</title>
		<link>http://asitkatiyar.wordpress.com/2009/11/19/pranav-mistry-master-of-sixthsense-technology/</link>
		<comments>http://asitkatiyar.wordpress.com/2009/11/19/pranav-mistry-master-of-sixthsense-technology/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 07:18:34 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[SixthSense]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=155</guid>
		<description><![CDATA[Pranav Mistry demoed some sixth sense technology enabled tools TEDIndia. He showed that how a physical device can interact with the world of data and information. The interesting part is that he started working on his concept tools from using the motion sensors of an ordinary computer mouse. With the full development and the implementation of his [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=155&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Pranav Mistry demoed some sixth sense technology enabled tools <a href="http://www.ted.com/" target="_blank">TEDIndia</a>. He showed that how a physical device can interact with the world of data and information. The interesting part is that he started working on his concept tools from using the motion sensors of an ordinary computer mouse.</div>
<div>With the full development and the implementation of his concept devices one can:</div>
<div id="_mcePaste" style="padding-left:30px;">* watch the news as TV news printed on news paper,</div>
<div id="_mcePaste" style="padding-left:30px;">* find more details of any physical object just by taking them in one&#8217;s hands,</div>
<div id="_mcePaste" style="padding-left:30px;">* take pictures just by making frames using one&#8217;s fingers,</div>
<div id="_mcePaste" style="padding-left:30px;">* pick any picture or block of data like a physical object and drop them on your computer screen or any other paper to modify them and a lot more.</div>
<div id="_mcePaste">Microsoft&#8217;s &#8220;Surface&#8221; is also based on multi-touch and gesture recognition, but has some limitations. The concept tools presented by Pranav are really  awesome and brilliant. The constructive use of this technology will bring a revolution in the future world.</div>
<div>I think the best use of this technology to help the physically challenged people. Just imagine how helpful it would be if we can make:</div>
<div id="_mcePaste" style="padding-left:30px;">* Sixth sense enabled paper helping the deaf to display what others say,</div>
<div id="_mcePaste" style="padding-left:30px;">* Sixth sense enabled earphones which tell a blind about an object name, type, size and distance,</div>
<div id="_mcePaste" style="padding-left:30px;">* A speaking device which plays the dialogs which a dumb want to say and a lot more.</div>
<div id="_mcePaste">I really appreciate Pranav to come up with this brilliant idea.</div>
<div></div>
<div><object width="446" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param> <param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/PranavMistry_2009I-medium.flv&su=http://images.ted.com/images/ted/tedindex/embed-posters/PranavMistry-2009I.embed_thumbnail.jpg&vw=432&vh=240&ap=0&ti=685&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=pranav_mistry_the_thrilling_potential_of_sixthsense_tec;year=2009;theme=the_creative_spark;theme=a_taste_of_tedindia;theme=new_on_ted_com;theme=tales_of_invention;theme=what_s_next_in_tech;theme=ted_under_30;theme=design_like_you_give_a_damn;event=TEDIndia+2009;&preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/dynamic/PranavMistry_2009I-medium.flv&su=http://images.ted.com/images/ted/tedindex/embed-posters/PranavMistry-2009I.embed_thumbnail.jpg&vw=432&vh=240&ap=0&ti=685&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=pranav_mistry_the_thrilling_potential_of_sixthsense_tec;year=2009;theme=the_creative_spark;theme=a_taste_of_tedindia;theme=new_on_ted_com;theme=tales_of_invention;theme=what_s_next_in_tech;theme=ted_under_30;theme=design_like_you_give_a_damn;event=TEDIndia+2009;"></embed></object></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/155/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=155&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2009/11/19/pranav-mistry-master-of-sixthsense-technology/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Questions on PHP Part2</title>
		<link>http://asitkatiyar.wordpress.com/2009/11/16/basic-questions-on-php-part2/</link>
		<comments>http://asitkatiyar.wordpress.com/2009/11/16/basic-questions-on-php-part2/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 11:09:03 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Interview]]></category>
		<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=133</guid>
		<description><![CDATA[After getting a very good response on my earlier compilation &#8220;Basic Questions on PHP &#8220;, I am back with a new compilation of basic PHP questions on arrays. 1- How to check if a value exists in an array? Ans- Use in_array() function for this. Example: &#60;?php $sample = array(&#8220;banana&#8221;,&#8221;apple&#8221;,&#8221;pear&#8221;,&#8221;banana&#8221;); $newvalue = &#8220;pear&#8221;; if (in_array($newvalue,$sample)) { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=133&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">After getting a very good response on my earlier compilation &#8220;<a class="wpgallery" href="http://asitkatiyar.wordpress.com/2006/06/10/basic-questions-on-php/" target="_blank">Basic Questions on PHP</a> &#8220;, I am back with a new compilation of basic PHP questions on arrays.</div>
<div id="_mcePaste"><span style="color:#808000;"><strong>1-</strong> How to check if a value exists in an array?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans</strong></span><strong>-</strong> Use in_array() function for this.</div>
<div id="_mcePaste">Example:</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(&#8220;banana&#8221;,&#8221;apple&#8221;,&#8221;pear&#8221;,&#8221;banana&#8221;);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$newvalue = &#8220;pear&#8221;;</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">if (in_array($newvalue,$sample)) { echo &#8220;$newvalue is already in the array!&#8221;; }</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>2-</strong> How to create an array of consecutive numbers and array of alphabets?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans:</strong></span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$arr_of_numbers = range(1,10);//$arr_of_numbers = array(1,2,3,4,5,6,7,8,9,10)</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$arr_of_letters = range(a,m); //$arr_of_letters = array(a,b,c,d,e,f,g,h,i,j,k,l,m)</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>3-</strong> How to reset an array?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans: </strong></span>The reset() function does this and returns the first element of the array.</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(&#8216;itm1&#8242;,&#8217;itm2&#8242;,&#8217;itm3&#8242;,&#8217;itm4&#8242;);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$first = reset($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">echo $first; //itm1</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>4-</strong> How to count the frequency a value appears in an array?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans:</strong></span> array_count_values() function does this operation. It returns an associative array with values as keys and their fequencies as values.</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample_arr = array(1,0,1,2,0,2,2,2,3,4,2,5,2,3,5,3,1,5);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$most_popular = array_count_values($sample_arr);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">print_r($most_popular);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">output: Array(</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[1] =&gt; 3</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[0] =&gt; 2</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[2] =&gt; 6</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[3] =&gt; 3</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[4] =&gt; 1</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[5] =&gt; 3</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">)</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>5-</strong> How to remove last element of an array?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans:</strong></span> array_pop() function does this.</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(&#8220;One&#8221;,&#8221;Two&#8221;,&#8221;Three&#8221;,&#8221;Four&#8221;,&#8221;Five&#8221;,&#8221;Six&#8221;);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$last = array_pop($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">echo &#8220;last element is &#8220;.$last; //last element is Six&#8230;</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>6-</strong> How to sort an array with alphanumeric values?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans:</strong></span> natsort() function will do this.</div>
<div id="_mcePaste">Example:</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(&#8220;1.gif&#8221;,&#8221;2.png&#8221;,&#8221;20.jpg&#8221;,&#8221;10.gif&#8221;);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">natsort($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">print_r($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Output:</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Array (</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[0] =&gt; 1.gif</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[1] =&gt; 2.png</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[3] =&gt; 10.gif</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[2] =&gt; 20.jpg</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">)</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>7-</strong> How to change an array into string?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans:</strong></span> We can achieve this using &#8220;implode()&#8221; function.</div>
<div id="_mcePaste">Example:</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(&#8220;I&#8221;,&#8221;love&#8221;,&#8221;PHP&#8221;);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample_to_string = implode(&#8221; &#8220;, $sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">echo &#8220;$sample_to_string&#8221;;//I love PHP</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>8-</strong> How to remove duplicate values from an array?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans:</strong></span> The array_unique() function will do this.</div>
<div id="_mcePaste">Example:</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(&#8220;pear&#8221;,&#8221;apple&#8221;,&#8221;pear&#8221;,&#8221;banana&#8221;);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample_to_unique = array_unique($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">print_r($sample_to_unique);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Output:</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Array</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">(</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[0] =&gt; pear</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[1] =&gt; apple</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[2] =&gt; banana</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">)</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>9-</strong> How to interchange key to values and visa versa of an array?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans: </strong></span>We can do this using array_flip() function.</div>
<div id="_mcePaste">Example:</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(&#8220;John&#8221;,&#8221;Alice&#8221;,&#8221;Boby&#8221;);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">print_r($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$flipped = array_flip($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">print_r($flipped);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Output:</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Array</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">(</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[0] =&gt; John</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[1] =&gt; Alice</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[2] =&gt; Boby</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">)</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Array</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">(</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[John] =&gt; 0</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[Alice] =&gt; 1</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[Boby] =&gt; 2</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">)</span></div>
<div id="_mcePaste"><span style="color:#808000;"><strong>10-</strong> How to add an element at the begining of an array?</span></div>
<div id="_mcePaste"><span style="color:#003366;"><strong>Ans:</strong></span> The array_unshift() does this. This function returns the number of elements in the array after additions of the new element.</div>
<div id="_mcePaste">Example:</div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">&lt;?php</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$sample = array(2,3,4,5,6);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">$no_sample = array_unshift($sample,1);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">echo &#8220;Number of elements: $no_sample \n\n&#8221;;</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">print_r($sample);</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">?&gt;</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Output:</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Number of elements: 10</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">Array</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">(</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[0] =&gt; 1</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[1] =&gt; 2</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[2] =&gt; 3</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[3] =&gt; 4</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[4] =&gt; 5</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">[5] =&gt; 6</span></div>
<div id="_mcePaste" style="padding-left:30px;"><span style="color:#ff9900;">)</span></div>
<div id="_mcePaste">Hope these questions will help the PHP folks. I will come soon with some new PHP stuff.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=133&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2009/11/16/basic-questions-on-php-part2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>
	</item>
		<item>
		<title>I Love Firefox</title>
		<link>http://asitkatiyar.wordpress.com/2009/11/13/i-love-firefox/</link>
		<comments>http://asitkatiyar.wordpress.com/2009/11/13/i-love-firefox/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 06:49:02 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[Myidea]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=127</guid>
		<description><![CDATA[Nov 09th is the birthday of Firefox and this year it has completed 5 years. I can say these five years firefox has  shown continuous growth to success and popularity. Being a web developer I can bet that firefox is the best internet browser among others. Most of the open source web developers prefer to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=127&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste"><img class="alignleft size-full wp-image-128" title="ff" src="http://asitkatiyar.files.wordpress.com/2009/11/ff.jpg?w=600" alt="ff"   /></div>
<div>Nov 09th is the birthday of Firefox and this year it has completed 5 years. I can say these five years firefox has  shown continuous growth to success and popularity. Being a web developer I can bet that firefox is the best internet</div>
<div id="_mcePaste">browser among others. Most of the open source web developers prefer to use this as default web browser. I can recall that I used IE only once just to download firefox on my personal computer. Our most of the development time goes in fixing design related bugs on IE and this is really frustrating.</div>
<div id="_mcePaste">Many many thanks to the firefox development community.</div>
<div></div>
<blockquote>
<div><a href="http://www.spreadfirefox.com/5years/en-US/"><span style="color:#ff6600;">Cheers to Firefox and many many happy returns of the day</span></a>.</div>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=127&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2009/11/13/i-love-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>

		<media:content url="http://asitkatiyar.files.wordpress.com/2009/11/ff.jpg" medium="image">
			<media:title type="html">ff</media:title>
		</media:content>
	</item>
		<item>
		<title>Credit Card Traps</title>
		<link>http://asitkatiyar.wordpress.com/2009/11/12/credit-card-traps/</link>
		<comments>http://asitkatiyar.wordpress.com/2009/11/12/credit-card-traps/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 09:52:16 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[Myidea]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=119</guid>
		<description><![CDATA[The credit card is one of the very good facilities offered by banks. But some times this facility becomes a hassle for you and you feel like trapped. I&#8217;ve been through same kind of experience last month. I got last month&#8217;s credit card statement. I was shocked to see that the bank added Rs.2000 for annual [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=119&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste"><img class="alignleft size-full wp-image-120" title="card" src="http://asitkatiyar.files.wordpress.com/2009/11/card.jpg?w=600" alt="card"   />The credit card is one of the very good facilities offered by banks. But some times this facility becomes a hassle for you and you feel like trapped. I&#8217;ve been through same kind of experience last month.</div>
<div id="_mcePaste">I got last month&#8217;s credit card statement. I was shocked to see that the bank added Rs.2000 for annual card fee, Rs.1000 for add-on card annual fee and some Rs.400 for the service tax against these annual charges. That made mycredit card due shoot-up to almost double.</div>
<div id="_mcePaste">I called to the bank customer care to resolve the issue. The executive told me the same story written in the statement. I claimed that this was not mentioned at the time of applying for the card. The executive then assured me that they are waving off those extra charges. She then said, &#8220;Sir we have a very good offer for the heath insurance policy. Just listen this offer&#8221;. I thought that there is no harm at least in listening the offer. She forwared the call to other (insurance) company executive, they tied up with. Then he started explaining the company health insurance offer. The guy was so smart and I don&#8217;t know when he snared me. He was about the activate the health policy and was going to deduct the policy premium from my credit card.</div>
<div id="_mcePaste">I scent that I am in trap, I suddenly stopped him. I totally refused to activate any policy linked to my credit card.</div>
<div id="_mcePaste">Then I came to know, why the bank added that extra amount. If one gets those extra charges and doesn&#8217;t call them, then he will have to pay that amount. If he calls regarding this, the bank will try to snare him in some offers. In both the cases the bank takes the benifit.</div>
<div id="_mcePaste">I would suggest everyone to be very careful with the use of credit cards. If you are smart enough, you will enjoy it&#8217;s benefits. In other case the facility will become hassle for you.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=119&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2009/11/12/credit-card-traps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>

		<media:content url="http://asitkatiyar.files.wordpress.com/2009/11/card.jpg" medium="image">
			<media:title type="html">card</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAX Request Using YUI</title>
		<link>http://asitkatiyar.wordpress.com/2009/11/12/ajax-request-using-yui/</link>
		<comments>http://asitkatiyar.wordpress.com/2009/11/12/ajax-request-using-yui/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 05:57:13 +0000</pubDate>
		<dc:creator>Asit</dc:creator>
				<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://asitkatiyar.wordpress.com/?p=115</guid>
		<description><![CDATA[Ajax stands for &#8220;Asynchronous Javascript And XML&#8221;. The interactions between client and server in the standard web applications are &#8220;synchronous&#8221;. This means that one request has to wait for other to complete. In asynchronous request scenario the multiple requests and responses are independent of each other. That means one request will not have to wait for the other [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=115&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Ajax stands for &#8220;Asynchronous Javascript And XML&#8221;. The interactions between client and server in the standard web applications are &#8220;synchronous&#8221;. This means that one request has to wait for other to complete. In asynchronous request scenario the multiple requests and responses are independent of each other. That means one request will not have to wait for the other to complete.</div>
<div id="_mcePaste"><a href="http://developer.yahoo.com/yui/" target="_blank">Yahoo User </a><a href="http://developer.yahoo.com/yui/" target="_blank">Inertface</a> provides a good way to generate the XMLHttpRequest (Ajax request) through its &#8220;<a href="http://developer.yahoo.com/yui/connection/" target="_blank">Connection Manager</a>&#8220;. Here I am giving a very simple example to use YUI connection manager for this:</div>
<p style="padding-left:30px;"><span style="color:#808080;">&lt;html&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;head&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;title&gt;Simple Ajax Request&lt;/title&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://yui.yahooapis.com/2.7.0/build/yahoo/yahoo-min.js&#8221;&gt;&lt;/script&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://yui.yahooapis.com/2.7.0/build/event/event-min.js&#8221;&gt;&lt;/script&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://yui.yahooapis.com/2.7.0/build/connection/connection-min.js&#8221;&gt;&lt;/script&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;/head&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;body&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;h1&gt;Simple Example of creating Ajax Request&lt;/h1&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;script&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> //The callback function:</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> var callback = {</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> success: function(a){</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> //Assign the resonse to the HTML element</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> </span><span style="white-space:pre;"><span style="color:#808080;"> </span></span><span style="color:#808080;"> document.getElementById(&#8216;response&#8217;).innerHTML = a.responseText;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> },</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> failure: function(a){</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> //Alert the failure message</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> alert(a.statusText);</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> }</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> }</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> //Make the Ajax request:</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> function ajaxRequest(){</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> var newRequest = YAHOO.util.Connect.asyncRequest(&#8216;GET&#8217;, &#8216;Request/Url&#8217;, callback);</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> }</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;/script&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;!&#8211;The div element in which the resonse will be shown &#8211;&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;div id=&#8221;response&#8221;&gt;&lt;/div&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;input type=&#8221;button&#8221; value=&#8221;Create Request&#8221; onClick=&#8221;ajaxRequest();&#8221;&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;"> &lt;/body&gt;</span></p>
<p style="padding-left:30px;"><span style="color:#808080;">&lt;/html&gt;</span></p>
<p><span style="color:#000000;">Hope this example helped in better understanding of Ajax using YUI. </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/asitkatiyar.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/asitkatiyar.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/asitkatiyar.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/asitkatiyar.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/asitkatiyar.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/asitkatiyar.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/asitkatiyar.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/asitkatiyar.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/asitkatiyar.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/asitkatiyar.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/asitkatiyar.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/asitkatiyar.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/asitkatiyar.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/asitkatiyar.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=asitkatiyar.wordpress.com&amp;blog=250539&amp;post=115&amp;subd=asitkatiyar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://asitkatiyar.wordpress.com/2009/11/12/ajax-request-using-yui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59f5440eaa4da0039ccd7cf35d943072?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">asitkatiyar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
