<?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>Art Life and Technology</title>
	<atom:link href="http://techdigger.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://techdigger.wordpress.com</link>
	<description>A discursive take on the world around us</description>
	<lastBuildDate>Thu, 26 Jan 2012 17:46:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='techdigger.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Art Life and Technology</title>
		<link>http://techdigger.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://techdigger.wordpress.com/osd.xml" title="Art Life and Technology" />
	<atom:link rel='hub' href='http://techdigger.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Debugging the Android Battery</title>
		<link>http://techdigger.wordpress.com/2011/04/16/improve-android-battery-usage/</link>
		<comments>http://techdigger.wordpress.com/2011/04/16/improve-android-battery-usage/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 09:36:05 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=249</guid>
		<description><![CDATA[Does android battery suck, or is it usage? In short it does suck compared to other popular alternatives(the i range). However the purpose of this post is not to start a witchhunt or rant but to arm you with tools to debug your battery usage. I will help you track down your battery hog(s) and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=249&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Does android battery suck, or is it usage? In short it does suck compared to other popular alternatives(the i range). However the purpose of this post is not to start a witchhunt or rant but to arm you with tools to debug your battery usage. I will help you track down your battery hog(s) and then suggest some methods to tackle them.</p>
<p>There are <strong>4 main causes</strong> of battery hogs:</p>
<ol>
<li>Cell Phone Usage</li>
<li>Display</li>
<li>CPU usage</li>
<li>Sensors like (GPS, Wifi etc)</li>
</ol>
<p>Lets start with the easy one:</p>
<h2><strong>Cell Phone Usage</strong></h2>
<p>Cell tower is the one that provides you connectivity, EDGE and 3G. Unfortunately weak signal can cause this to use exorbitant amount of  battery. If you are experiencing full battery drain in about 2-3 hours then this is most probably the culprit. First thing to do is go Settings -&gt; About Phone -&gt; Battery Use -&gt; Cell Phone standby. Look @ Time spent without signal. Any number other than 0 is very dangerous. There are no practical solutions to this problem. Search for network and fix it. This will prevent phone from searching network when signal is weak. However this may not work when you go on roaming and if you spend most time out of signal this will still consume battery.</p>
<h2><strong>Display</strong></h2>
<p>The only downside of having a large screen is that it consumes exponential charge. If you using an LCD screen, your phone is only likely to survive 4-5 hrs of screen on time. This is assuming that you are not performing any CPU intensive task during that period like gaming, video etc. It is highly likely that you will consume 4 hrs of usage out of your phone in the entire day hence its unlikely that your phone will survive more than a day. The only aspect to debug here is if some freaky software or buggy ROM is keeping your screen up. Gingerbread provides you clean interface to check your screen on period. You can use <a href="https://market.android.com/details?id=com.latedroid.juiceplotter">Juice Plotter</a> on non gingerbread phones but it has been known to consume a lot of battery itself. Make sure you only use to to debug your screen and not on a regular basis.</p>
<p style="text-align:center;"><img class="aligncenter" title="Screen On Time" src="http://ossadmin.files.wordpress.com/2011/03/battery-usage-graph.png?w=288&#038;h=480" alt="" width="288" height="480" /></p>
<p>Have a look at your Screen ON time and make sure you are getting around 4 hrs of usage. Any thing less than that means that you have issues with your battery. Look through the CPU Usage and Sensor usage area  debug those issues.</p>
<h3>Solutions:</h3>
<ol>
<li>Choose an AMOLED screen phone: AMOLED screens consume very little battery in comparison to LCD Screens.</li>
<li>If you have an AMOLED screen then choose darker themes while browsing/surfing/wallpapers. A light color pixel consumes about 5.8 times more energy than dark pixel. This method will not work for LCD phones. You can see the impact of changed wall paper using <a href="https://market.android.com/details?id=com.manor.currentwidget">Current Widget</a>. This will tell you how much charge your phone is consuming(wait for couple of min for it to refresh when you change the wall paper).</li>
<li>Choose  lower screen brightness in general. Rely on Power control widgets to increase screen brightness when required.</li>
<li>Reduce display timeout to 30sec-1min. Adjust that to a time that is comfortable to you.</li>
</ol>
<h2><strong>CPU usage</strong></h2>
<div>Today&#8217;s CPU are beast. This means not only they are fast and powerful they consumAndroid allows apps to ask for CPU while not using the screen. e millions of amperes of precious juice(okay maybe not millions). CPU usage is a bit tricky to debug in pre-Gingerbread phones. You are mostly led to superstitious advices to control power usage. You can see as much as 10-20% battery usage overnight when you were not using the screen, this is because  Android allows apps to ask for CPU while not using the screen and poorly designed apps continue to update even when they have not been used in a while draining CPU. Enough rant now to function, to debug CPU:</div>
<div>
<ol>
<li>Launch Spare Parts. Fortunately this is bundled in Gingerbread phones, for Froyo you can try out this market app <a href="https://market.android.com/details?id=com.androidapps.spare_parts">https://market.android.com/details?id=com.androidapps.spare_parts</a> and hope it will work.</li>
<li>Look at Battery history inside Spare Parts. Select &#8220;Other Usage&#8221; in first drop down.</li>
<li>Check out Running time vs Screen On time.</li>
</ol>
<div>If these two numbers are widely different then you have a problem on your hands. This means that some app is keeping CPU awake even when your screen is off. To find out which app</div>
<div>
<ol>
<li>Launch Spare Parts</li>
<li>Look at battery history and select &#8220;Partial Wake Usage&#8221;</li>
<li>Now you will see which app is the culprit and eating up CPU.</li>
</ol>
<div>Now comes the hard part . You can reduce your running time by disabling this app. If the app manufacturer is good, he would have provided you means to reduce its battery usage(Disabling sync, changing sync from push to hourly, reducing data refresh etc). If not then you should uninstall the app and use something else for that purpose. Keep repeating this exercise till your running time is almost equal to your screen on time.  You will see radical improvements in your standby time with this exercise which in turn can reduce your charge cycles to as much as 2 days.</div>
<div>Other than choosing good apps which use CPU wisely some suggestions:</div>
<div>
<ol>
<li>Use less push sync in general. True push is only available with Blackberry everybody else is doing a very frequent pull to emulate push, so make sure you don&#8217;t use push where its not required.</li>
<li>In my opinion disable auto sync all together and do a manual sync when needed. You can put the auto sync button in your power widget and flick it on and off whenever needed</li>
<li>Use <a href="https://market.android.com/details?id=com.latedroid.juicedefender">Juice Defender</a> it will give you good usage patterns(disabling sync at night etc).</li>
</ol>
<div>Solution for Advanced Users: if you need all the apps that sync but still want to reduce your battery usage you can try <a href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBgQFjAA&amp;url=https%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dcom.mhuang.overclocking&amp;ei=41upTc-rMcjTrQf9p_inCA&amp;usg=AFQjCNFIulPB7QjqIyLtGiHbS93SSzmTXg&amp;sig2=yd3p1PyPXBzNSvao_7xiRQ">Set CPU</a> to underclock your CPU. You can also use the inbuilt underclocking baked into the CM7 ROM. This solution will only work if you have <em>rooted your phone</em> and your <em>kernel supports underclocking</em>. Default android kernel comes with OnDemand CPU clocking. CPU almost instantly scales to max frequency(like 1Ghz) from its min frequency(like 245Mhz) when required. You will need this kind of speed for gaming/browsing etc however its not required for sync and other background tasks. Set CPU lets you configure so that</div>
<div>
<ol>
<li>Your CPU scales slowly(Conservating  scaling/Power intensive), especially when you have very little battery left</li>
<li>Reduce highest CPU frequency to something like 700 Mhz especially during the night or when the screen is off</li>
</ol>
</div>
<div>Keep in mind however that these solutions can impact your phones performance while rendering pages, gaming etc, so do not reduce cpu frequency or scaling when your screen is on to prevent frustrating experiences.</div>
</div>
<h2><strong>Sensor usage</strong></h2>
<div>If you have reached here then the problem is quite simple shut off all your sensors <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Well Android provides various ways of debugging sensor usage, have a look at your Spare parts =&gt; Battery History =&gt; Sensor Usage/GPS Usage. If you see a lot of devices are using GPS Sensor you are likely to see a lot of battery loss. Its unfair that android does not let us control which device has access to my location and which does not, I hope they will add that in future versions of android. Meanwhile if you see useless apps tryto access location(mostly to serve relevant ads etc) then you can adopt the following solutions:</div>
<div>
<ol>
<li>Disable both ways to determine your location in Settings =&gt; Location and Security. If you really need location then go for &#8220;use wireless location&#8221; instead of GPS for location. Use GPS only in critical situations where precise location is very necessary</li>
<li> Change Wifi sleep policy (in Settings =&gt; Wireless and Networks =&gt; Wifi Settings =&gt; Menu key =&gt; Advanced =&gt; Wifi Sleep policy =&gt; When screen is off) This will switch off your wifi and turn on  mobile network when you are not using the screen. This way your background apps can use your slow mobile network to sync while saving wifi juice.</li>
<li>Turn on &#8220;Only 2G network&#8221; in (Settings =&gt; Wireless and Networks =&gt;  Mobile Networks) . This will switch off your 3G network and use only 2G which uses much less battery and is much slower. You can also use 2G/3G switcher in power widget to control this if you rely on 3G for browsing.</li>
</ol>
<div>Got any other suggestions?? Let me know in comments&#8230;</div>
</div>
</div>
</div>
<br /> Tagged: <a href='http://techdigger.wordpress.com/tag/android/'>Android</a>, <a href='http://techdigger.wordpress.com/tag/battery/'>battery</a>, <a href='http://techdigger.wordpress.com/tag/google/'>google</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=249&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2011/04/16/improve-android-battery-usage/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://ossadmin.files.wordpress.com/2011/03/battery-usage-graph.png" medium="image">
			<media:title type="html">Screen On Time</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache Mahout 0.2 Released &#8211; Now classify, cluster and generate recommendations!</title>
		<link>http://techdigger.wordpress.com/2009/11/18/apache-mahout-0-2-released-now-classify-cluster-and-generate-recommendations/</link>
		<comments>http://techdigger.wordpress.com/2009/11/18/apache-mahout-0-2-released-now-classify-cluster-and-generate-recommendations/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 13:48:32 +0000</pubDate>
		<dc:creator>TechDigger</dc:creator>
				<category><![CDATA[data mining]]></category>
		<category><![CDATA[decision trees]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hbase]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[k means clustering]]></category>
		<category><![CDATA[latent dirichlet allocation]]></category>
		<category><![CDATA[lucene]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[mahout]]></category>
		<category><![CDATA[map reduce]]></category>
		<category><![CDATA[mean shift clustering]]></category>
		<category><![CDATA[naive bayes]]></category>
		<category><![CDATA[naive bayes classifier]]></category>
		<category><![CDATA[netflix recommender]]></category>
		<category><![CDATA[recommendations]]></category>
		<category><![CDATA[slope one recommender]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=230</guid>
		<description><![CDATA[For the past two years, I have been working with this amazing bunch of people whilst, being paid by Google in their summer of code program in a project called Mahout. And like the name says, it is trying to tame the young beast known as Hadoop. I have received a lot from the community. Being [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=230&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 92px"><a href="http://lucene.apache.org/mahout"><img src="http://lucene.apache.org/mahout/images/Mahout-logo-82x100.png" alt="Apache Mahout" width="82" height="100" /></a><p class="wp-caption-text">Apache Mahout</p></div>
<p align="justify">
For the past two years, I have been working with this amazing bunch of people whilst, being paid by Google in their summer of code program in a project called <a href="http://lucene.apache.org/mahout">Mahout</a>. And like the name says, it is trying to tame the young beast known as <a href="http://hadoop.apache.org">Hadoop</a>. I have received a lot from the community. Being part of the project, I have got some real exposure to Java, data mining, machine learning and hands on experience over distributed systems like <a href="http://hadoop.apache.org">Hadoop</a>, <a href="http://hadoop.apache.org/hbase">Hbase</a>, <a href="http://hadoop.apache.org/pig">Pig</a>.  The project is still in its infancy, but, its ambitions are high in the sky. I am happy to announce the second release of the project, and proud to be a part of it. I hope people will adapt it in their projects and that it becomes the defacto standard machine learning library the way lucene and hadoop has become in their respective focus areas.
</p>
<p>If you are already excited and want to take it for a ride, read Grant&#8217;s article on IBM developerworks <a href="https://www.ibm.com/developerworks/java/library/j-mahout/index.html">here</a><br />
The release announcement below</p>
<div align="justify" style="font-size:90%;border:1px dashed #337733;padding:10px;">
<p>Apache Mahout 0.2 has been released and is now available for public download at<a href="http://www.apache.org/dyn/closer.cgi/lucene/mahout">http://www.apache.org/dyn/closer.cgi/lucene/mahout</a></p>
<p>Up to date maven artifacts can be found in the Apache repository at<br />
<a href="https://repository.apache.org/content/repositories/releases/org/apache/mahout/">https://repository.apache.org/content/repositories/releases/org/apache/mahout/</a></p>
<p>Apache Mahout is a subproject of Apache Lucene with the goal of delivering scalable machine learning algorithm implementations under the Apache license. http://www.apache.org/licenses/LICENSE-2.0</p>
<p>Mahout is a machine learning library meant to scale: Scale in terms of community to support anyone interested in using machine learning. Scale in terms of business by providing the library under a commercially friendly, free software license. Scale in terms of computation to the size of data we manage today.</p>
<p>Built on top of the powerful map/reduce paradigm of the Apache Hadoop project, Mahout lets you solve popular machine learning problem settings like clustering, collaborative filtering and classification<br />
over Terabytes of data over thousands of computers.</p>
<p>Implemented with scalability in mind the latest release brings many performance optimizations so that even in a single node setup the library performs well.</p>
<p>The complete changelist can be found here:</p>
<p><a href="http://issues.apache.org/jira/browse/MAHOUT/fixforversion/12313278">http://issues.apache.org/jira/browse/MAHOUT/fixforversion/12313278</a></p>
<p>New Mahout 0.2 features include</p>
<ul>
<li>Major performance enhancements in Collaborative Filtering, Classification and Clustering</li>
<li>New: Latent Dirichlet Allocation(LDA) implementation for topic modelling</li>
<li>New: Frequent Itemset Mining for mining top-k patterns from a list of transactions</li>
<li>New: Decision Forests implementation for Decision Tree classification (In Memory &amp; Partial Data)</li>
<li>New: HBase storage support for Naive Bayes model building and classification</li>
<li>New: Generation of vectors from Text documents for use with Mahout Algorithms</li>
<li>Performance improvements in various Vector implementations</li>
<li>Tons of bug fixes and code cleanup</li>
</ul>
<p>Getting started: New to Mahout?</p>
<ul>
<li> Download Mahout at <a href="http://www.apache.org/dyn/closer.cgi/lucene/mahout">http://www.apache.org/dyn/closer.cgi/lucene/mahout</a></li>
<li> Check out the Quick start: <a href="http://cwiki.apache.org/MAHOUT/quickstart.html">http://cwiki.apache.org/MAHOUT</a></li>
<li> Read the Mahout Wiki: <a href="http://cwiki.apache.org/MAHOUT">http://cwiki.apache.org/MAHOUT</a></li>
<li> Join the community by subscribing to mahout-user@lucene.apache.org</li>
<li> Give back: <a href="http://www.apache.org/foundation/getinvolved.html">http://www.apache.org/foundation/getinvolved.html</a></li>
<li> Consider adding yourself to the power by Wiki page:<a href="http://cwiki.apache.org/MAHOUT/poweredby.html">http://cwiki.apache.org/MAHOUT/poweredby.html</a></li>
</ul>
<p>For more information on Apache Mahout, see <a href="http://lucene.apache.org/mahout">http://lucene.apache.org/mahout</a>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=230&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/11/18/apache-mahout-0-2-released-now-classify-cluster-and-generate-recommendations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2a560751d04360d9ad54d0772bd77c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TechDigger</media:title>
		</media:content>

		<media:content url="http://lucene.apache.org/mahout/images/Mahout-logo-82x100.png" medium="image">
			<media:title type="html">Apache Mahout</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Indexes/Sorting on very large tables in Mysql</title>
		<link>http://techdigger.wordpress.com/2009/08/03/creating-indexes-sorting-very-large-tables-fast-mysql/</link>
		<comments>http://techdigger.wordpress.com/2009/08/03/creating-indexes-sorting-very-large-tables-fast-mysql/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 12:29:59 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[indexing]]></category>
		<category><![CDATA[memory tables]]></category>
		<category><![CDATA[merge tables]]></category>
		<category><![CDATA[partitioning]]></category>
		<category><![CDATA[sorting]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=219</guid>
		<description><![CDATA[If your dataset is anywhere between 1 million to  180 million then you have come to the right blog.  Normally a procedure like this will require atleast 1 day or more depending on dataset. But I will teach you how to get results in as quick as 3 hrs. You will be able to execute [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=219&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If your dataset is anywhere between 1 million to  180 million then you have come to the right blog.  Normally a procedure like this will require atleast 1 day or more depending on dataset. But I will teach you how to get results in as quick as 3 hrs. You will be able to execute queries on indexes fully utilizing them without going through the painful process of creating them on the the entire table. Recently at work I had to deal with a dataset of 180 million  and this entry gives details of the work flow that I adopted.  I will not effectively sort the complete table but will tell you how to achieve the same effect in less than 2-3 hrs for 180 million rows. I tried well known methods to achieve indexing. I tried to use Alter table statement after 2 hrs stopped it. I tried to dump the data in hope of inserting it in an indexed table but after 1 hr stopped that as well. Then I explored Mysql functionality a bit to discover 3 features which can really reduce time, those were Memory tables, Merge tables and Partitioning(not necessary). Fortunately sorting using merge sort is a recursive job, so in the process of sorting 180 million rows I also had to learn how to sort 2 million faster than normal index creation. So the first thing that you have to do is  find out the order of rows that you have.</p>
<p>If you have less than 1 million rows then you are better off using mysql&#8217;s inbuilt commands</p>
<blockquote><p>Alter table &lt;tblname&gt; create index (&lt;column name&gt;);</p></blockquote>
<p>If you have more than than then read on&#8230;..</p>
<p>The concepts I will be using are as follows:</p>
<h2>Memory Tables:</h2>
<p>These tables are hash maps that mysql stores in memory. These tables are temporary (in the sense they disappear after mysql server restart)  and have limited rows. However they are lighting fast on index creation or sorting.</p>
<h2>Partitioning:</h2>
<p>Somebody in Mysql finally realized that to be fast database has to split the data across servers. Finally in version 5 they have introduced partitioning. If you have the luxery of more than 1 server you can use this. I did not have this luxury so will do indexing without it.</p>
<h2>Merge tables:</h2>
<p>So these are 1 server counterpart of Partitioning. If you want to split your dataset into multiple tables and run single query on all of them you can use Merge tables. They have their own share of problems, but for general functionality of insertion, deletion, searching and dumping, they work great. The only 2 major limitations one that they only work if base tables are MyISAM and searching on them is multiples of logn(see below if interested)</p>
<h3>Irrelevant Mathematical jargon(feel free to skip)</h3>
<blockquote><p>So if you search  table on indexed columns then search takes Log(n) time (n = number of tuples). So imagine you have 100*n size of table and you create 100 sub tables of n each. Now searching on one table will take Log(n) time and total time is 100*log(n)=log(n to the power 100). If it were a single table it would have taken Log(100*n) =Log(100)+log(n). So in a single table it scale logarithmically but merge table scales exponentially.</p></blockquote>
<p>I will explain the steps that I took below, you can customize them to your dataset.</p>
<p>There are several ways of creating index however mine will require you to have quite a powerful machine and a reliable power supply. Atleast 2gb of ram is required and more is better here. If you have around 2 million rows then skip to step 4.</p>
<h2>Step 0</h2>
<p>This step is about reconnaissance. It will determine the numerical data in the next steps. You need to know the approximate amount of space your row takes. This will determine the size of your memory table. You can determine the size of memory table by trial and error also but a numerical estimate will help.  In the steps below I will assume initial table as <strong>client_data</strong> and final table as <strong>client_data_sorted</strong>. All other tables are temp and generated on the spot.</p>
<h2>Step 1: Increasing allowed size of Memory table to fit data</h2>
<p>The first thing you need to do is extend the allowed memory limit of mysql. To sort faster we will need memory tables. Do so by adding the lines marked as red below under  [mysqld] in my.cnf file. Typically located in /etc/my.cnf or /etc/mysql/my.cnf depending on your distribution.</p>
<blockquote><p><strong>my.cnf file</strong></p>
<p><span style="color:#0000ff;">[mysqld]</span></p>
<p><span style="color:#0000ff;">datadir=/var/lib/mysql</span><span style="color:#0000ff;"><br />
</span><span style="color:#0000ff;">socket=/var/lib/mysql/mysql.sock</span><span style="color:#0000ff;"><br />
</span><span style="color:#0000ff;">..</span><br />
<span style="color:#ff0000;">max_heap_table_size=4096M<br />
tmp_table_size=4096M</span></p></blockquote>
<p>Adding these lines will ensure that mysql can now take 4GB space for storing memory tables.Feel free to increase this number if you have higher memory but ensure that you dont encounter swapping.</p>
<h2>Step 2: Dump data in memory table for indexing</h2>
<p>Now you need to create a  <a href="http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html">memory table</a> with same structure as your final table.</p>
<blockquote><p>create table client_data_memory like client_data_sorted;<br />
alter table client_data_memory engine=Memory;</p></blockquote>
<p>The second line alters the engine to memory. The only thing to keep in mind is that memory engine keeps all the data in memory hence if your mysql server restarts or machine restarts then all the data is lost. Ensure that you never rely on them as a reliable storage.</p>
<p>Figure out  how many rows your memory table can contain. In a typical scenario this would be order of 10 million. This value will change depending on your system&#8217;s memory and values set in step 1.  You can test it out by inserting data from source table to memory table. After the limit the process will interrupt in the middle giving error like table is full.</p>
<blockquote><p>Insert into client_data_memory select * from client_data limit &lt;test limit value&gt;;</p>
<p>Ex:  Insert into client_data_memory select * from client_data limit 0,10000000;    # 10 million rows from 0th row</p></blockquote>
<h2>Step 4: Storing data from Memory table to MyISAM table</h2>
<p>If you have order of 10 million rows then the process stops for you here. Just use an alter table command to create index on memory table(3-4 minutes) then insert the memory table data into client_data_sorted table. You just saved yourself  hours of pain. <span style="text-decoration:underline;">If you have more than 10 million then  skip this step. </span></p>
<blockquote><p>Alter table client_data_memory add index (&lt;column name&gt;);</p>
<p>(or sort the table)</p>
<p>Insert into client_data_sorted select * from client_data_memory;</p></blockquote>
<p>If you can store 10million rows in your memory table and total tables are around 40 million then you are better off iteratively repeating the above steps. Merely sort 10 million then insert, then truncate memory table , then insert next 10 million , sort then insert. The process will take exponentially more time every time but still will finish far faster than normal.  If you have more than 40 million then read on. A world of pain awaits you&#8230;.</p>
<h2>Step 5: Create Merge table for accessing data</h2>
<p>The above process will not work iteratively for you if you have more than 50 million rows as while inserting you have to merge too. Suppose your memory can store 10 million and you have 180 million rows then create 18 temporary tables of engine type <strong>MyISAM.</strong></p>
<blockquote><p>create table data_temp1 like client_data_sorted;<br />
alter table data_temp1 engine=MyISAM;</p></blockquote>
<p>Now use the above technique to insert data 10 million a piece into each of these tables. So data_temp0 will contain 0-10 million then data_temp1 will have 10 miliion to 20 million and so forth.</p>
<blockquote><p>truncate table client_data_memory;insert into client_data_memory select * from client_data limit<br />
0,15000000;insert into data_temp0 select * from client_data_memory;<br />
truncate table client_data_memory;insert into client_data_memory select * from client_data limit<br />
10000000,15000000;insert into data_temp1 select * from client_data_memory;</p>
<p>&#8230;&#8230;.</p></blockquote>
<p>This will take quite a long time, for me it took 10 min for every 10 million so 180 min in total. Meanwhile consider some of the more worthwhile alternatives like  <a href="http://wiki.apache.org/hadoop/Hive">hive</a>, its too late for it now but its worth a look. <a href="http://dilbert.com/strips/comic/1993-11-01/">This</a> is also useful.</p>
<p>Now create a merge table. A merge table is created on top of several MyISAM tables of same structure. Its important to have same structure and MyISAM tables. You can use this as  a single table however all the searching is performed on all tables and hence is slower than single table.</p>
<blockquote><p>create table client_data_merge like client_data_sorted;<br />
alter table client_data_merge engine=merge union=</p>
<p>(data_temp0,data_temp1,data_temp2,data_temp3,data_temp4,data_temp5,data_temp6,data_temp7,data_temp8,data_temp</p>
<p>9,data_temp10,data_temp11,data_temp12) INSERT_METHOD=LAST;</p></blockquote>
<h2>Step 5: Final Sorted table(if required)</h2>
<p>For most temporary uses this merge table will work. You can use this table normally. Insert data into the table etc etc. However if the <a href="http://dev.mysql.com/doc/refman/5.1/en/merge-table-problems.html">limitations of merge tables</a> are not acceptable you have to create the final table  from this merge table. You can use merge tables to dump the data in a sorted fashion according to indexes or simply use</p>
<blockquote><p>Insert into &lt;tblname&gt; Select * from &lt;merge table&gt; order by &lt;index1&gt;,&lt;index2&gt;&#8230;..</p></blockquote>
<p>This way you get to Insert much faster as the data is already sorted and mysql simply has to insert the data and update the indexes. If this method helped.. do let me know in the comments.</p>
<br /> Tagged: database, indexing, memory tables, merge tables, mysql, partitioning, sorting <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=219&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/08/03/creating-indexes-sorting-very-large-tables-fast-mysql/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>
	</item>
		<item>
		<title>Removing Glycerin: A Trick to make your Indian beer taste like Bud</title>
		<link>http://techdigger.wordpress.com/2009/07/17/removing-glycerin-a-trick-to-make-your-indian-beer-taste-like-bud/</link>
		<comments>http://techdigger.wordpress.com/2009/07/17/removing-glycerin-a-trick-to-make-your-indian-beer-taste-like-bud/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 14:27:09 +0000</pubDate>
		<dc:creator>TechDigger</dc:creator>
				<category><![CDATA[beer]]></category>
		<category><![CDATA[glycerin]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[after taste]]></category>
		<category><![CDATA[bad taste]]></category>
		<category><![CDATA[bitter]]></category>
		<category><![CDATA[budweiser]]></category>
		<category><![CDATA[carlsberg]]></category>
		<category><![CDATA[castle lager]]></category>
		<category><![CDATA[cow's piss]]></category>
		<category><![CDATA[fosters]]></category>
		<category><![CDATA[haywards]]></category>
		<category><![CDATA[haywards 5000]]></category>
		<category><![CDATA[indian beer]]></category>
		<category><![CDATA[kalyani]]></category>
		<category><![CDATA[kingfisher]]></category>
		<category><![CDATA[removing glycerin]]></category>
		<category><![CDATA[taste good]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=191</guid>
		<description><![CDATA[Why do Indian Beers taste bad? I have had this question buzzing in the back of my mind for quite a long time. Till now I believe that all my friends and colleagues think we Indians just don&#8217;t know to make Beer. Like how hard is it? In my Tharavadu (Ancestral home), I have drunk [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=191&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Why do Indian Beers taste bad? I have had this question buzzing in the back of my mind for quite a long time. Till now I believe that all my friends and colleagues think we Indians just don&#8217;t know to make Beer. Like how hard is it?<img style="float:right;border:0 initial initial;padding:10px;" title="Indian Beer" src="http://trak.in/wp-content/uploads/2008/04/windowslivewritertatabecomesaleadingglobalbrandthanksto25-d69bindian-beer-bottles-1.jpg" alt="Indian-Beer" /></p>
<p style="text-align:justify;">In my <a href="http://en.wikipedia.org/wiki/Tharavadu">Tharavadu</a> (Ancestral home), I have drunk pure <a href="http://en.wikipedia.org/wiki/Palm_wine">Toddy</a> made from the sap of a Coconut or Palm Tree. Believe me this light alcoholic drink can blow away all the products of UB group currently in the market. You might have heard of <a href="http://en.wikipedia.org/wiki/Fenny">Fenny</a> and other<a href="http://en.wikipedia.org/wiki/List_of_Indian_drinks"> Indian Locally Brewed delights</a>. So with the rich history and wealth of knowledge for creating alcoholic drinks, why do we still suck at making Beer. I got a small tip from my friend Rohit Sakhwalkar (Sakhu) during my recent visit to Gurgaon. A million thanks to him for making not just my day but the whole drinking career ahead <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>Why do Indian Beers taste bad? The answer is some organic compound which behaves like Glycerin. This is the reason why there is a bitter aftertaste. Yes, Glycerin exists in the alcoholic state as <a href="http://en.wikipedia.org/wiki/Glycerol">Glycerol</a>. My mother who is a whiz at Organic Chemistry had given me some insight into this molecule. Due to its higher molecular weight and inductive effect of the Hydrogen atoms, Glycerol is less soluble than Ethanol in water. So after a bit of google search and poking around beer forums, I was convinced that this was the culprit behind the bad tase. Glycerin is added to beer as a preservative. As you know Indian climate is close to being ideal for beer storage. But all major sources of information like Wikipedia denies this fact. They also says that pure glycerine is sweet in taste. And that Glycerine is a major constituent of Bio Diesel which is gonna run the vehicles in the future. So basically it is gonna run both man and machine alike.</p>
<p>So with the help of Rohit&#8217;s tip, I tried his method of separation of the contaminent from Beer. Here are the steps and photographs of the same</p>
<p><strong>Step By Step: Removal of Glycerin from Beer</strong><a class="alignright" href="http://techdigger.files.wordpress.com/2009/07/removing-glycerrine.jpg"><img class="alignright size-medium wp-image-193" title="Removing-Glycerrine" src="http://techdigger.files.wordpress.com/2009/07/removing-glycerrine.jpg?w=200&#038;h=300" alt="Removing-Glycerrine" width="200" height="300" /></a></p>
<ol style="text-align:justify;">
<li>Get a Glass/tumbler of water.</li>
<li>Open the bottle of beer slowly so as to create less turbulence.</li>
<li>Cover the mouth of the beer with your thumb and slowly turn it upside down with mouth inside the water. This is the trickiest part, ensure you do not shake the bottle and cause the dissolved Carbon Dioxide to effervesce. The reason will be clear below.</li>
<li>As soon as the bottle is upside down you will see thick yellow colored liquid coming out. Which I believe is the organic compound mixed with  the colouring agents in the beer.</li>
<li>Keep it there for some time. Maybe a min or two. I kept it for over 5 mins. Hoping to drain out the stuff completely losing some beer in the process.</li>
<li>Put it back and enjoy the amazing taste of what is actually Beer. Yes my friend that is how Beer tastes like. If it doesnt taste close to Budweiser beer <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> , you might have done something seriously wrong. I even feel that Carlsberg is de-glycerinified Kalyani beer, Who knows!. I dont care as long my b rew tastes awesome.</li>
</ol>
<p>Take look at the only video I found online talking about this. I couldnt take one myself for my camera wasn&#8217;t distinguishing the colors<br />
<a href="http://vids.myspace.com/index.cfm?fuseaction=vids.individual&amp;videoid=7947995">Video showing the removal of Glycerine from beer</a></p>
<p><strong>Get ready for some geek funda. The science (or atleast my hypothesis) behind this method.</strong></p>
<p>When you put a bottle upside down, the atmospheric pressure is pushing the water in the tumbler, the low pressure created inside the top of the bottle is causing the liquid not to fall down into the tumbler. So at equilibrium, the liquid inside the beer + water starts to settle down based on its density. Glycerine(or whatever Organic compound  being denser than water settles down into the glass of water, Water from the tumbler will go into the beer bottle(but not much, if you dont shake the bottle). If the Carbon Dioxide had started effervescing, the gas content inside the beer bottle would have started increasing, this would have caused the beer to flow into the glass due to increasing air pressure.</p>
<br /> Tagged: after taste, bad taste, beer, bitter, budweiser, carlsberg, castle lager, cow's piss, fosters, haywards, haywards 5000, indian beer, kalyani, kingfisher, life, removing glycerin, taste good <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=191&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/07/17/removing-glycerin-a-trick-to-make-your-indian-beer-taste-like-bud/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2a560751d04360d9ad54d0772bd77c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TechDigger</media:title>
		</media:content>

		<media:content url="http://trak.in/wp-content/uploads/2008/04/windowslivewritertatabecomesaleadingglobalbrandthanksto25-d69bindian-beer-bottles-1.jpg" medium="image">
			<media:title type="html">Indian Beer</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/removing-glycerrine.jpg?w=200" medium="image">
			<media:title type="html">Removing-Glycerrine</media:title>
		</media:content>
	</item>
		<item>
		<title>Page Faults and Context Switches: Chrome, Flash and Techcrunch are killing my system</title>
		<link>http://techdigger.wordpress.com/2009/07/13/page-faults-and-context-switches-chrome-flash-and-techcrunch-are-killing-my-system/</link>
		<comments>http://techdigger.wordpress.com/2009/07/13/page-faults-and-context-switches-chrome-flash-and-techcrunch-are-killing-my-system/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 21:28:47 +0000</pubDate>
		<dc:creator>TechDigger</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[context switch]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google talk]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[inspiron 1720]]></category>
		<category><![CDATA[mike arrington]]></category>
		<category><![CDATA[morro]]></category>
		<category><![CDATA[multiprocess]]></category>
		<category><![CDATA[page fault]]></category>
		<category><![CDATA[shockwave flash]]></category>
		<category><![CDATA[techcrunch]]></category>
		<category><![CDATA[thrashing]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=166</guid>
		<description><![CDATA[Update: Beta News reported a similar performance drop when running chrome 3.0.193.1 on Windows 7 RC I am a power user. When I surf, I have around 20-25 tabs open. I have many processes running simultaneously on my windows 7 RC. When I code, I have a test Ubuntu installation running on VMware.  To do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=166&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.betanews.com/article/Is-Google-optimizing-Chrome-3-for-Windows-XP-netbooks/1247847145"><strong>Update: </strong> Beta News reported a similar performance drop when running chrome 3.0.193.1 on Windows 7 RC</a></p>
<p style="text-align:justify;">I am a power user. When I surf, I have around 20-25 tabs open. I have many processes running simultaneously on my windows 7 RC.<img style="float:right;border:0 initial initial;margin:10px;" title="TaskManager" src="http://techdigger.files.wordpress.com/2009/07/taskmanager.png?w=200&#038;h=294" alt="TaskManager" width="200" height="294" /> When I code, I have a test Ubuntu installation running on VMware.  To do all these, I spent most of my earnings on a 17&#8243;, Core2duo 2.4Ghz, 4GB ram, NVidia 8600M GT <a title="Dell Inspiron 1720" href="http://www.notebookreview.com/default.asp?newsID=3904" target="_blank">Dell Inspiron Laptop 1720</a>. I have been using Google Chrome since the day it was made available and i keep up with the latest builds of the same. I also love the fact that it was zipper than my earlier favorite(Firefox) in opening new tabs. But, the whole time Google Chrome has been stressing my laptop&#8217;s hardware.</p>
<p style="text-align:justify;">
To prove my point, take look at the screenshots from Process Explorer, a Task Manager replacement for Windows. The Laptop was restarted and the screenshots were taken after around 4-5 hours of casual browsing with around 25 tabs open. I also had a Hadoop installation running on a VMware Player. Simultaneously, I was also dabbling  around with some code in eclipse .
</p>
<p>The following were my observations</p>
<ul>
<li>The Browser Process of Chrome is doing over <strong>10 Million Page Faults</strong>. The closest that comes to this process is the Microsoft AntiMalware service(Morro engine) at 2 Million. As you can see in screenshot 1(below), the whole top list is dominated by Chome processes.</li>
<li>The Flash process has over <strong>70 Million Context Switches</strong>(see screenshot 2(below) which was taken 20 odd minutes after screenshot 1), <strong>@5000 </strong>Context Switches/sec which is quite appalling.  The nearest competitors are Interrupts, Chrome again, Google Talk (Another Windows Application from Google)</li>
<li>Lastly, Techcrunch.com, Mike Arrington&#8217;s &#8220;Bloat-ware&#8221; Blog , one tab of which is taking around <strong>500MB of RAM</strong> taking the total RAM occupied by all  Chrome  processes at 1.05Gb (Note: Firefox was really good at this. I seldom get past 400-500 MB on that many number of tabs). Also funny thing is that,  if you compare Techcrunch to Gmail, the latter  just takes 64MB of ram(see Chrome&#8217;s Process Manager screenshot above)</li>
</ul>
<p>Let me teach my readers a quick Computer Science 101. The following explanations are over simplified, so if you are not satisfied with the explanation, go read Wikipedia for a detailed discussion over the same.</p>
<p><strong>Page Fault:</strong> When a processor tries to fetch some block of data from the memory, if doesn&#8217;t find the data in the memory it tries to get that data from the hard disk. Operating system manages the blocks of memory and moves some of them to the HDD based on Most Recently used criterion. Since you know the over head of a disk access is way larger than a memory access, too many page faults translate to more spinning of the hard disk. <a href="http://en.wikipedia.org/wiki/Page_fault">Read Wikipedia for a detailed description</a></p>
<p><strong>Context Switch:</strong> In a multiprocess environment like windows. The cost of switching from one process to another process is quite high. If an application keeps switching very fast, that means it&#8217;s not getting enough cpu time to do its work, and it is wreaking havoc on the other applications by decreasing their effective cpu time also. <a href="http://en.wikipedia.org/wiki/Context_switch"> Read Wikipedia for a detailed description</a></p>
<p>Few things come out of this little insight</p>
<ul>
<li>Flash NPAPI plugin is a useless piece of crap. Even after 10 major versions, they still have an ill designed system. (Some people have told me this was specific to chrome as according to them Flash runs fine on Firefox)</li>
<li>Chrome even though is very fast in terms of HTML rendering and JavaScript execution. But, it kills the system by the large number of <strong>PageFaults</strong> and <strong>Context Switches</strong> it does.</li>
<li>Techcrunch seems to be doing more job than a complex web-application like Gmail. Or is it because the 20 odd flash ads they have on their Blog. They could be even doing mouse pointer/user tracking or even Javascript  code Instrumentation. Who knows!(Just Kidding). What ever it is, they need to find and fix the root cause of the problem.</li>
</ul>
<p>If my readers believe they are also suffering from the same fate as I am, I would request them to put their stats up in the comments section.</p>
<p>I am using Chrome 3.0.193.0 with Flash 10.0 on a Win7 RC ( Yeah I know that it&#8217;s a unstable combination. But, even when I was using Chrome 2.0 on Vista SP1 with Flash 9, I had the same problem)</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-169" title="Process Explorer" src="http://techdigger.files.wordpress.com/2009/07/process-explorer1.png?w=570&#038;h=441" alt="Process Explorer" width="570" height="441" /><img class="aligncenter size-full wp-image-177" title="Process Explorer2" src="http://techdigger.files.wordpress.com/2009/07/process-explorer21.png?w=570&#038;h=267" alt="Process Explorer2" width="570" height="267" /></p>
<br /> Tagged: adobe, chrome, context switch, dell, flash, google, google talk, hard disk, inspiron 1720, mike arrington, morro, multiprocess, page fault, shockwave flash, techcrunch, thrashing, VMware, windows 7 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=166&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/07/13/page-faults-and-context-switches-chrome-flash-and-techcrunch-are-killing-my-system/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2a560751d04360d9ad54d0772bd77c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TechDigger</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/taskmanager.png" medium="image">
			<media:title type="html">TaskManager</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/process-explorer1.png" medium="image">
			<media:title type="html">Process Explorer</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/process-explorer21.png" medium="image">
			<media:title type="html">Process Explorer2</media:title>
		</media:content>
	</item>
		<item>
		<title>Download videos from any sharing site(Youtube, Dailymotion, Metacafe, vimeo etc)</title>
		<link>http://techdigger.wordpress.com/2009/07/13/download-videos-sharing-site-youtube-dailymotion-metacafe-vimeo-hul/</link>
		<comments>http://techdigger.wordpress.com/2009/07/13/download-videos-sharing-site-youtube-dailymotion-metacafe-vimeo-hul/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 04:59:37 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[dailymotion]]></category>
		<category><![CDATA[downthemall]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[metacafe]]></category>
		<category><![CDATA[veoh]]></category>
		<category><![CDATA[video download]]></category>
		<category><![CDATA[vimeo]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=148</guid>
		<description><![CDATA[There are a lot of ways to download content from a video sharing sites. Most folks rely on applications to download videos. Applications are really unsuitable for 3 reasons Mostly they are specific to one or two sites In some cases they are shareware They have hardcoded techniques for url retrieval which outdate easily. A slightly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=148&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are a lot of ways to download content from a video sharing sites. Most folks rely on applications to download videos. Applications are really unsuitable for 3 reasons</p>
<ul>
<li>Mostly they are specific to one or two sites</li>
<li>In some cases they are shareware</li>
<li>They have hardcoded techniques for url retrieval which outdate easily.</li>
</ul>
<p>A slightly better technique for downloading is relying on sites to decode the url for you. This removes the latter 2 limitations of applications. For most of you who have come here <a href="http://www.ripzor.com/">Ripzor</a> will suffice .  However the top limitation still remains if you are looking for a site not listed in ripzor.com. Also some times the url retrieval technique changes and sites do not update their scripts. I will give you the method to retrieve URLs in an easy manner using every day tools.</p>
<p><strong>Tools required</strong></p>
<ol>
<li>Firefox</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a>(or any other debugging tool)</li>
<li>[Optional] Downloader ( like flashget or <a href="https://addons.mozilla.org/en-US/firefox/addon/201">Downthemall</a>)</li>
</ol>
<p>Dont get scared from the word debugger. This technique is mostly a misuse of the word debugging <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .  Now after you have installed the above &#8220;tools&#8221; . Lets start</p>
<p>Step 1: Select a video downloading site like youtube.com/dailymotion.com and pick a video. For further screenshots I have picked up this <a href="http://www.youtube.com/watch?v=QX9wn6CxJjA">youtube video</a> and this<a href="http://www.dailymotion.com/in/featured/channel/tech/video/x9sw11_robot-chef_tech"> dailymotion video. </a>The same techniques will work on any video site.</p>
<p>Step2: Now open video in Firefox and enable firebug debugging tool from<em> Tools -&gt;Firebug-&gt; Open Firebug in a new window</em></p>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 160px"><img class="size-thumbnail wp-image-155" title="OpenFirebug" src="http://techdigger.files.wordpress.com/2009/07/openfirebug1.png?w=150&#038;h=81" alt="Open Firebug in Firefox" width="150" height="81" /><p class="wp-caption-text">Open Firebug in Firefox</p></div>
<p>Step3: Click on the<em> </em>youtube tab and click on<em> Activate Firebug for the firefox tab</em> button in the firebug window</p>
<div id="attachment_151" class="wp-caption aligncenter" style="width: 160px"><img class="size-thumbnail wp-image-151" title="activateFirebug" src="http://techdigger.files.wordpress.com/2009/07/activatefirebug.png?w=150&#038;h=100" alt="Activate Firebug for Firefox tab" width="150" height="100" /><p class="wp-caption-text">Activate Firebug for Firefox tab</p></div>
<p>Step 4: Select the <em>Net</em> tab among <em>Console/HTML/ CSS/Script/DOM and Net</em> on the top . Then select the <em>Flash</em> tab. This tab will give you all the web requests that a .swf file will make. Most sites use flash players for playing the video so this tab will work. If the following steps dont work then select the<em> All</em> tab for seeing all requests</p>
<div id="attachment_152" class="wp-caption aligncenter" style="width: 160px"><img class="size-thumbnail wp-image-152" title="activateNetandFlash" src="http://techdigger.files.wordpress.com/2009/07/activatenetandflash.png?w=150&#038;h=100" alt="Tabs to be used are net and flash" width="150" height="100" /><p class="wp-caption-text">Tabs to be used are net and flash</p></div>
<p>Step5. Play the video you will get a screen like this in firebug. Now look for requests that look like video requests. For ex. those ending with .flv, .mp4 or in youtube&#8217;s case get_video. Right click on that link and select <em>Copy Location</em>. If there is no such link then you need to go back to step3 and select<em> All</em> tab instead of flash.</p>
<div id="attachment_153" class="wp-caption aligncenter" style="width: 160px"><img class="size-thumbnail wp-image-153" title="Firebugflashcopylocation" src="http://techdigger.files.wordpress.com/2009/07/firebugflashcopylocation.png?w=150&#038;h=91" alt="Copy link location" width="150" height="91" /><p class="wp-caption-text">Copy link location</p></div>
<p>Step6. Use your downloader to download that video or paste that link in firefox itself to use it for downloading the video. In some cases you will have to close the video site tab to download this video as only one streaming might be allowed.</p>
<p>So now you can download any video from any video sharing site as long as the video is not encrypted with the player. Let me know what all sites you tried below.</p>
<br /> Tagged: dailymotion, downthemall, firebug, firefox, metacafe, veoh, video download, vimeo, youtube <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=148&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/07/13/download-videos-sharing-site-youtube-dailymotion-metacafe-vimeo-hul/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/openfirebug1.png?w=150" medium="image">
			<media:title type="html">OpenFirebug</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/activatefirebug.png?w=150" medium="image">
			<media:title type="html">activateFirebug</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/activatenetandflash.png?w=150" medium="image">
			<media:title type="html">activateNetandFlash</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/07/firebugflashcopylocation.png?w=150" medium="image">
			<media:title type="html">Firebugflashcopylocation</media:title>
		</media:content>
	</item>
		<item>
		<title>Swipeball for iPhone</title>
		<link>http://techdigger.wordpress.com/2009/07/09/swipeball-for-iphone/</link>
		<comments>http://techdigger.wordpress.com/2009/07/09/swipeball-for-iphone/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 17:58:48 +0000</pubDate>
		<dc:creator>TechDigger</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[addictive]]></category>
		<category><![CDATA[appstore]]></category>
		<category><![CDATA[casual games]]></category>
		<category><![CDATA[finger gesture]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[inkball]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone app]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[swipeball]]></category>
		<category><![CDATA[touch screen]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=135</guid>
		<description><![CDATA[SwipeBall is fun and addictive yet simple to learn and play! Light up bulbs by bouncing balls off of walls and lines that you draw by swiping your finger on the touchscreen! Balls bounce and change in color as they touch the colored walls.The objective of the game is to light up all bulbs – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=135&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<span style="text-align:center; display: block;"><a href="http://techdigger.wordpress.com/2009/07/09/swipeball-for-iphone/"><img src="http://img.youtube.com/vi/3hvEbWHciwU/2.jpg" alt="" /></a></span>
<p>SwipeBall is fun and addictive yet simple to learn and play! Light up bulbs by bouncing balls off of walls and lines that you draw by swiping your finger on the touchscreen! Balls bounce and change in color as they touch the colored walls.The objective of the game is to light up all bulbs – each with a ball of the same color before time runs out. Light up all bulbs and reach the next level &#8211; hit the light bulb with a ball of a different color and you lose. Game gets more exciting and challenging as you complete a level and encounter different wall layouts, colors, speed and number of balls!</p>
<p>SwipeBall is a must have for any user looking for a fun game that gives hours of entertainment and interaction and yet is quick to learn. Different levels of difficulty make it a perfect game to get started on and hone your skills and show off to your friends as you get better. Don&#8217;t tell us we didn&#8217;t warn you it&#8217;s addictive!</p>
<p>Download Now From Apple Appstore for 99 cents <a title="http://itunes.com/apps/swipeball" href="http://itunes.com/apps/swipeball" target="_blank">http://itunes.com/apps/swipeball</a></p>
<p>Features</p>
<p>- Multiple levels with different wall colors and layouts<br />
- Touchscreen to create your own barriers while you play<br />
- Sound effects to indicate you have lit a lamp and countdown as time runs out<br />
- Increasing levels of difficulty as you get better<br />
- Twenty-five levels for non-stop fun and action</p>
<p><img class="aligncenter size-medium wp-image-102" title="SwipeBall" src="http://itsfrosty.files.wordpress.com/2009/06/logo-large.png?w=300&#038;h=300" alt="SwipeBall" width="300" height="300" /></p>
<div class="wp-caption aligncenter" style="width: 330px"><img title="SwipeBall - Level 20" src="http://itsfrosty.files.wordpress.com/2009/06/img_0009.png?w=320&#038;h=480&#038;h=480" alt="SwipeBall - Level 20" width="320" height="480" /><p class="wp-caption-text">SwipeBall - Level 20</p></div>
<div class="wp-caption aligncenter" style="width: 330px"><img title="SwipeBall - Level Selector" src="http://itsfrosty.files.wordpress.com/2009/06/img_0006.png?w=320&#038;h=480&#038;h=480" alt="SwipeBall - Level Selector" width="320" height="480" /><p class="wp-caption-text">SwipeBall - Level Selector</p></div>
<div class="wp-caption aligncenter" style="width: 330px"><img title="SwipeBall - Level 15" src="http://itsfrosty.files.wordpress.com/2009/06/img_0004.png?w=320&#038;h=480&#038;h=480" alt="SwipeBall - Level 15" width="320" height="480" /><p class="wp-caption-text">SwipeBall - Level 20</p></div>
<p>For support please send an email to &#8220;swipeball &lt;at&gt; thinking &lt;dot&gt; me&#8221; or post a comment here</p>
<p>PS. It took us over 3 months to get accepted into the Apple Developer Program from India.<br />
Download Now From Apple Appstore for 99 cents <a title="http://itunes.com/apps/swipeball" href="http://itunes.com/apps/swipeball" target="_blank">http://itunes.com/apps/swipeball</a></p>
<br /> Tagged: addictive, appstore, casual games, finger gesture, fun, inkball, iphone, iphone app, jailbreak, swipeball, touch screen <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=135&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/07/09/swipeball-for-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2a560751d04360d9ad54d0772bd77c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TechDigger</media:title>
		</media:content>

		<media:content url="http://itsfrosty.files.wordpress.com/2009/06/logo-large.png?w=300" medium="image">
			<media:title type="html">SwipeBall</media:title>
		</media:content>

		<media:content url="http://itsfrosty.files.wordpress.com/2009/06/img_0009.png?w=320&#38;h=480" medium="image">
			<media:title type="html">SwipeBall - Level 20</media:title>
		</media:content>

		<media:content url="http://itsfrosty.files.wordpress.com/2009/06/img_0006.png?w=320&#38;h=480" medium="image">
			<media:title type="html">SwipeBall - Level Selector</media:title>
		</media:content>

		<media:content url="http://itsfrosty.files.wordpress.com/2009/06/img_0004.png?w=320&#38;h=480" medium="image">
			<media:title type="html">SwipeBall - Level 15</media:title>
		</media:content>
	</item>
		<item>
		<title>Enable Multitouch(two-fingers) on Synaptics trackpad on Linux</title>
		<link>http://techdigger.wordpress.com/2009/04/02/multitouch-on-synaptics-trackpad-on-linux/</link>
		<comments>http://techdigger.wordpress.com/2009/04/02/multitouch-on-synaptics-trackpad-on-linux/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 17:38:56 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[GNU]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[trackpad]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[circular scroll]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[synaptic]]></category>
		<category><![CDATA[three finger]]></category>
		<category><![CDATA[touchpad]]></category>
		<category><![CDATA[two finger]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=89</guid>
		<description><![CDATA[Very few people know that every synaptics trackpad supports multitouch and as long as your OS supports it  you can always use multitouch to enhance your computers interface. Apple has patented several UI design elements ,hence has inhibited Windows and Linux to come out with similar UI elements like pinch and zoom, scroll etc.    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=89&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_97" class="wp-caption alignright" style="width: 138px"><img class="size-thumbnail wp-image-97" title="images" src="http://techdigger.files.wordpress.com/2009/04/images.jpg?w=128&#038;h=95" alt="This could be your Trackpad" width="128" height="95" /><p class="wp-caption-text">This could be your Trackpad</p></div>
<p>Very few people know that every synaptics trackpad supports multitouch and as long as your OS supports it  you can always use multitouch to enhance your computers interface. Apple has patented several UI design elements ,hence has inhibited Windows and Linux to come out with similar UI elements like pinch and zoom, scroll etc.    </p>
<blockquote><p><a href="http://techdigger.wordpress.com/2009/04/02/multitouch-synaptics-trackpad-windows-xp-vista7/"><img class="alignright size-thumbnail wp-image-103" title="microsoft-windows-vista-logo" src="http://techdigger.files.wordpress.com/2009/04/microsoft-windows-vista-logo.jpg?w=30&#038;h=30" alt="microsoft-windows-vista-logo" width="30" height="30" />If you are using Windows xp, vista or Windows 7 then click here</a></p></blockquote>
<p><img class="alignright size-thumbnail wp-image-99" title="signature_color_high_res_0" src="http://techdigger.files.wordpress.com/2009/04/signature_color_high_res_0.jpg?w=128&#038;h=59" alt="signature_color_high_res_0" width="128" height="59" /> Install Synaptics driver  in ubuntu</p>
<blockquote><p>apt-get install  xserver-xorg-input-synaptics </p></blockquote>
<p>Now  edit your xorg.conf file</p>
<blockquote><p>sudo vi /etc/X11/xorg.conf</p></blockquote>
<p>find the input section</p>
<blockquote><p>Section &#8220;InputDevice&#8221; Identifier &#8220;Synaptics Touchpad&#8221;</p></blockquote>
<p>Add these lines in it</p>
<blockquote><p><span>Option &#8220;HorizEdgeScroll&#8221; &#8220;on&#8221;</span></p>
<p><span>Option &#8220;VertEdgeScroll&#8221; &#8220;on&#8221;<br />Option &#8220;VertTwoFingerScroll&#8221; &#8220;on<br />Option &#8220;HorizTwoFingerScroll&#8221; &#8220;on&#8221;<br />Option &#8220;CornerCoasting&#8221; &#8220;on&#8221;<br />Option &#8220;PalmDetect&#8221; &#8220;on&#8221;<br />Option &#8220;CircularScrolling&#8221; &#8220;on&#8221;<br />Option &#8220;CircScrollTrigger&#8221; &#8220;3&#8243;</span></p>
<p> </p></blockquote>
<br /> Tagged: apple, circular scroll, linux, multitouch, open-source, scroll, synaptic, three finger, touchpad, trackpad, two finger <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=89&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/04/02/multitouch-on-synaptics-trackpad-on-linux/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/04/images.jpg?w=128" medium="image">
			<media:title type="html">images</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/04/microsoft-windows-vista-logo.jpg?w=96" medium="image">
			<media:title type="html">microsoft-windows-vista-logo</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/04/signature_color_high_res_0.jpg?w=128" medium="image">
			<media:title type="html">signature_color_high_res_0</media:title>
		</media:content>
	</item>
		<item>
		<title>Enable Multitouch(two-fingers) on Synaptics trackpad for Windows xp/Vista/7</title>
		<link>http://techdigger.wordpress.com/2009/04/02/multitouch-synaptics-trackpad-windows-xp-vista7/</link>
		<comments>http://techdigger.wordpress.com/2009/04/02/multitouch-synaptics-trackpad-windows-xp-vista7/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 17:34:54 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[trackpad]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[circular scroll]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[synaptic]]></category>
		<category><![CDATA[three finger]]></category>
		<category><![CDATA[two finger]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=90</guid>
		<description><![CDATA[Very few people know that every synaptics trackpad supports multitouch and as long as your OS supports it you can always use multitouch to enhance your computers interface. Apple has patented several UI design elements ,hence has inhibited Windows and Linux to come out with similar UI elements like pinch and zoom, scroll etc.   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=90&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<div id="attachment_97" class="wp-caption alignright" style="width: 138px"><img class="size-thumbnail wp-image-97" title="images" src="http://techdigger.files.wordpress.com/2009/04/images.jpg?w=128&#038;h=95" alt="This could be your Trackpad" width="128" height="95" /><p class="wp-caption-text">This could be your Trackpad</p></div>
<p>Very few people know that every synaptics trackpad supports multitouch and as long as your OS supports it  you can always use multitouch to enhance your computers interface. Apple has patented several UI design elements ,hence has inhibited Windows and Linux to come out with similar UI elements like pinch and zoom, scroll etc.</p>
<blockquote><p> <br />
<a href="http://techdigger.wordpress.com/2009/04/02/multitouch-on-synaptics-trackpad-on-linux/"><img class="alignright size-thumbnail wp-image-110" title="linux-online-inc" src="http://techdigger.files.wordpress.com/2009/04/linux-online-inc.jpg?w=26&#038;h=30" alt="linux-online-inc" width="26" height="30" />If you are using Linux and want to setup multitouch then click here</a> </p></blockquote>
<p><img class="alignright size-thumbnail wp-image-99" title="signature_color_high_res_0" src="http://techdigger.files.wordpress.com/2009/04/signature_color_high_res_0.jpg?w=128&#038;h=59" alt="signature_color_high_res_0" width="128" height="59" /></p>
<p>You only need a patched driver to enable multitouch features in synaptics. Download the latest driver from here</p>
<p><strong>Download links (for XP/Vista 32/64-bit):</strong><br />
<a href="http://www.sendspace.com/file/9n9c6i" target="_blank">http://www.sendspace.com/file/9n9c6i</a><br />
<a href="http://mihd.net/42vtopk" target="_blank">http://mihd.net/42vtopk</a></p>
<p>This driver is made from an outdated driver of synaptics. So you may have to <strong>uninstall your existing driver</strong>. </p>
<ol>
<li>Go to Add-Remove Software. </li>
<li>Find and uninstall synaptic driver</li>
<li>Reboot</li>
</ol>
<p><strong>Extract the zip </strong>file(touchpad_synaptics_v10.2.4_vistax32x64_xpx32x64_modded_build2.zip) to a folder</p>
<p><strong>Install selected driver.</strong></p>
<blockquote><p>This driver is not signed. Hence windows will issue a warning. Do not install this driver on your production machine. This is a development build and using it may crash your system</p></blockquote>
<p>Now you can  enable these 3 features on your Windows Desktop using Synaptic Options. Go to bottom right in your Windows taskbar to select synaptics tray icon or search synaptic in control panel. Then select Synaptic touchpad in Device Settings. </p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></p>
<ol>
<li><span style="font-weight:normal;"><strong>Multitouch scrolling</strong> : You will be able to scroll using 2/3 fingers. The scrolling is not as smooth as mac (shucks!!) but works equivalent to page up and page down. Here is how to enable it in Synaptics Options. You can configure what each direction will cause.<br />
<em>Two finger Gestures -&gt; Top/Bottom/Left/Right</em></span></li>
<li><span style="font-weight:normal;"><em><span style="font-style:normal;"><strong>Chiral Motion</strong> : This technique is very useful for precise scrolling. Whenever you wish to scroll just slide two fingers downwards(or upwards) and then you can move your fingers in clockwise or anticlockwise order to continue scrolling.This is a much more precise way of scrolling but you need to get used to it. Here is how to enable it in Synaptics Options<em></em></span><br />
</em><em>Virtual Scrolling -&gt; Enable Chiral motion scrolling</em></span></li>
<p><em></em></p>
<p><em></em></p>
<p><em></em></p>
<p><em></p>
<li><span style="font-weight:normal;"><em><span style="font-style:normal;"><em><span style="font-style:normal;"><strong>Momentum</strong> : This grants your mouse momentum so if you drag your mouse and leave it. It will travel some more distance depending on the speed of your drag. This is quite cool for some time, but very difficult to handle and impractical. Still somthing cooool to show off <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . . Here is how to enable it in Synaptics Options<br />
<em>   Pointer Motion -&gt; Momentum -&gt; Enable Momentum</em></span></em></span></em></span></li>
<p></em> </ol>
<p></strong> </div>
<p>UPDATE: The driver has not functioned for some laptops. It is suited only for some laptops. If you have installed this  driver, do let us know in the comments if this worked for you. Thanks!!!</p>
<br /> Tagged: apple, circular scroll, guide, mouse, multitouch, scroll, synaptic, three finger, trackpad, two finger, vista, windows, windows 7, xp <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=90&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2009/04/02/multitouch-synaptics-trackpad-windows-xp-vista7/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/04/images.jpg?w=128" medium="image">
			<media:title type="html">images</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/04/linux-online-inc.jpg?w=80" medium="image">
			<media:title type="html">linux-online-inc</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2009/04/signature_color_high_res_0.jpg?w=128" medium="image">
			<media:title type="html">signature_color_high_res_0</media:title>
		</media:content>
	</item>
		<item>
		<title>Hyper-V: problems and solutions</title>
		<link>http://techdigger.wordpress.com/2008/11/29/hyperv-installation-problems-solution-fix-error/</link>
		<comments>http://techdigger.wordpress.com/2008/11/29/hyperv-installation-problems-solution-fix-error/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 04:58:57 +0000</pubDate>
		<dc:creator>RaghuRam</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[hyperv]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[issues]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[server 2008]]></category>
		<category><![CDATA[server consolidation]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=73</guid>
		<description><![CDATA[Hyper-V is the new hypervisor based virtualization solution from Microsoft. The product is targeted mainly for the data centers for server consolidation. I have been using it since the day it became RTM and am really impressed by its performance and stability. There are some minor issues which is acceptable as the product is still [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=73&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"><img title="Windows Server 2008" src="http://i.microsoft.com/global/windowsserver2008/en/us/PublishingImages/logo-ms-ws08-v.png" alt="Windows Server 2008" width="224" height="75" /></dt>
</dl>
<p><a href="http://www.microsoft.com/windowsserver2008/en/us/hyperv.aspx" target="_blank">Hyper-V</a> is the new <a href="http://en.wikipedia.org/wiki/Hypervisor" target="_blank">hypervisor </a>based virtualization solution from Microsoft. The product is targeted mainly for the data centers for <strong>server consolidation</strong>. I have been using it since the day it became RTM and am really impressed by its performance and stability. There are some minor issues which is acceptable as the product is still young. I have a Intel Core 2 6420, which has the Intel-VT extension required for Hyper-V and 4 GB of ram sufficient enough for running a single guest. Hyper-V is supported only on windows 2008 server 64 bit edition.</p>
<h3><span style="text-decoration:underline;">Installation Steps</span></h3>
<p>These are the installation steps for installing Hyper-V</p>
<ol>
<li>Check if your processor supports either <a href="http://en.wikipedia.org/wiki/Vanderpool#Intel_VT_.28IVT.29" target="_blank">Intel-VT</a> or <a href="http://en.wikipedia.org/wiki/Vanderpool#AMD_virtualization_.28AMD-V.29" target="_blank">AMD Pacifica</a> extensions.</li>
<li>Install Windows 2008 server 64 bit edition.</li>
<li>Install all the updates.</li>
<li>Add the role Hyper-V using server manager.</li>
<li>Install updates for the Hyper-V role.</li>
</ol>
<p>Now you are all set to install you guest operating system. Run the Hyper-V manager application to manage your guest operating systems. Create a new virtual machine and setup different properties like memory, number of processors etc.. If you are planning to install your guest operating system from network make sure that you add a legacy network adapter as the guest operating system wont be having drivers at install time for the normal network adapter. Once you are done installing the guest operating system install the integration services from the settings menu of that virtual machine. Installation of integration services is highly required for better performance and also getting remote desktop to work.</p>
<h3><span style="text-decoration:underline;">Issues</span></h3>
<p><strong>1) No audio on the virtual machine. How to listen to your favorite mp3&#8242;s ? </strong></p>
<p><strong></strong> The first thing that you might notice is the lack of Audio device. Hyper-V is for running multiple servers on a single physical machine. Not many people play mp3&#8242;s on a production server, I suppose. So how do we get audio to work on your virtual machine ???</p>
<p>The solution is simple. Don&#8217;t use the hyper-v manager to connect to the guest operating system. Instead enable remote desktop on the guest machine and use mstsc to connect to the guest. If you are using windows 2003 as the guest you still find that the audio doesn&#8217;t work. There are couple of setting that you need to make to get audio to work. First thing is to change the windows audio service startup to automatic from disabled and start the service. This can be done by running services.msc from the run dialog. Next, you have to fire tscc.msc from the run dialog to change a couple of terminal services settings. In the connection tab, double click on the Rdp-tcp row to get the properties tab. Unselect the &#8220;Audio Mapping&#8221; option there and save the settings. Remember you have to logout from that session and start a new session for the settings to take effect. Of course simpler thing would be to reboot the guest. Connect again to the guest and enjoy your favorite mp3&#8242;s &#8230;..</p>
<p><strong>2) Unreadable/fuzzy  text on LCD monitors if you are using remote desktop</strong></p>
<p>So you think you solved your hyper-v problems by connecting using mstsc instead of the hyper-v manager,  then maybe you are using a CRT monitor or you have never seen <a href="http://www.microsoft.com/typography/ClearTypeInfo.mspx" target="_blank">cleartype </a>in action. Yes, font smoothing doesn&#8217;t work with RDP if you have either windows XP or windows 2003 as the guest OS. And if you have a LCD monitor like me, you know how much pain in the *** it is to work on a LCD without font smoothing. So now you have to fix this cleartype issue.</p>
<p>Microsoft has finally issued a Hot fix for this feature at <a href="http://support.microsoft.com/kb/946633" target="_blank">http://support.microsoft.com/kb/946633</a>. Download the fix and install it. You have to reboot the machine for the fix to work. Also make sure the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\TSEnableFontSmoothing is set to 1.</p>
<p><strong>3) Strange cursor problem and fix</strong></p>
<p>Also, when I used to connect to guest machine using the hyper-v manager instead of remote desktop client, I faced a <a href="http://social.technet.microsoft.com/forums/en-US/winserverhyperv/thread/90dd71f5-5203-4945-865a-9ddd88ee0387" target="_blank">weird problem </a>with my mouse cursor. After using the guest machine for sometime may be a couple of hours the mouse pointer becomes fixed meaning that it doesn&#8217;t change depending on the thing beneath it. It sometimes becomes a wait cursor, sometimes a small dot and like that. This is quite frustrating while you try to re-size windows or frames as you cannot make whether you are at the proper point to re-size the window. Luckily after using remote desktop to connect to the host this problem also is solved.</p>
<p>Hope these solutions fix some of your hyper-v problems.</p>
<br /> Tagged: bugs, fix, hyper-v, hyperv, hypervisor, issues, microsoft, problem, server 2008, server consolidation, solution, troubleshoot, virtual machine, virtualization, windows <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=73&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/11/29/hyperv-installation-problems-solution-fix-error/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cf35093460929f0f2e91049eaaf81e9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">RaghuRam</media:title>
		</media:content>

		<media:content url="http://i.microsoft.com/global/windowsserver2008/en/us/PublishingImages/logo-ms-ws08-v.png" medium="image">
			<media:title type="html">Windows Server 2008</media:title>
		</media:content>
	</item>
		<item>
		<title>Technorati Blog search site is down!!</title>
		<link>http://techdigger.wordpress.com/2008/05/30/technorati-blog-search-site-is-down/</link>
		<comments>http://techdigger.wordpress.com/2008/05/30/technorati-blog-search-site-is-down/#comments</comments>
		<pubDate>Fri, 30 May 2008 17:18:21 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[sites]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[blog search]]></category>
		<category><![CDATA[downtime]]></category>
		<category><![CDATA[site down]]></category>
		<category><![CDATA[site status]]></category>
		<category><![CDATA[technorati]]></category>
		<category><![CDATA[website down]]></category>
		<category><![CDATA[website status]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/2008/05/30/53/</guid>
		<description><![CDATA[Technorati popular blog search site is down!!!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=53&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://techdigger.files.wordpress.com/2008/05/technorati-down.jpg"><img src="http://techdigger.files.wordpress.com/2008/05/technorati-down.jpg?w=300&#038;h=105" alt="Technorati site search is down" width="300" height="105" class="aligncenter size-medium wp-image-52" /></a><br />
Technorati popular blog search site is down!!!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=53&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/05/30/technorati-blog-search-site-is-down/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/technorati-down.jpg?w=300" medium="image">
			<media:title type="html">Technorati site search is down</media:title>
		</media:content>
	</item>
		<item>
		<title>MPEG 4 Part -2 / AVI video codec performance review: Divx vs Xvid which is better?</title>
		<link>http://techdigger.wordpress.com/2008/05/28/mpeg-avi-decoding-divx-vs-xvid/</link>
		<comments>http://techdigger.wordpress.com/2008/05/28/mpeg-avi-decoding-divx-vs-xvid/#comments</comments>
		<pubDate>Wed, 28 May 2008 16:31:19 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[benchmark]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Video Compression]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[codec]]></category>
		<category><![CDATA[Divx]]></category>
		<category><![CDATA[FFmpeg]]></category>
		<category><![CDATA[media player classic]]></category>
		<category><![CDATA[mpc]]></category>
		<category><![CDATA[MPeg4]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Xvid]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=32</guid>
		<description><![CDATA[MPEG-4 Part 2 is a video compression technology developed by MPEG. It belongs to the MPEG-4 ISO/IEC standard (ISO/IEC 14496-2). It is a discrete cosine transform compression standard, similar to previous standards such as MPEG-1 and MPEG-2. Several popular codecs including DivX, Xvid and Nero Digital are implementations of this standard. If you were looking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=32&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>MPEG-4 Part 2</strong> is a <a title="Video compression" href="http://en.wikipedia.org/wiki/Video_compression">video compression</a> technology developed by <a class="mw-redirect" title="MPEG" href="http://en.wikipedia.org/wiki/MPEG">MPEG</a>. It belongs to the <a title="MPEG-4" href="http://en.wikipedia.org/wiki/MPEG-4">MPEG-4</a> <a class="mw-redirect" title="ISO" href="http://en.wikipedia.org/wiki/ISO">ISO</a>/<a title="IEC" href="http://en.wikipedia.org/wiki/IEC">IEC</a> standard (ISO/IEC 14496-2). It is a <a title="Discrete cosine transform" href="http://en.wikipedia.org/wiki/Discrete_cosine_transform">discrete cosine transform</a> compression standard, similar to previous standards such as <a title="MPEG-1" href="http://en.wikipedia.org/wiki/MPEG-1">MPEG-1</a> and <a title="MPEG-2" href="http://en.wikipedia.org/wiki/MPEG-2">MPEG-2</a>. Several popular <a title="Codec" href="http://en.wikipedia.org/wiki/Codec">codecs</a> including <a title="DivX" href="http://en.wikipedia.org/wiki/DivX">DivX</a>, <a title="Xvid" href="http://en.wikipedia.org/wiki/Xvid">Xvid</a> and <a title="Nero Digital" href="http://en.wikipedia.org/wiki/Nero_Digital">Nero Digital</a> are implementations of this standard.</p>
<blockquote><p>If you were looking for MP4/Mpeg4 Part 10  CoreAVC vs FFmpeg video codec performance review then click <a href="http://techdigger.wordpress.com/2008/05/21/264-mp4-hd-codec-review-coreavc-ffmpeg/" target="_self">here</a></p></blockquote>
<p><em>Codecs:</em></p>
<p>Though there are several codecs that perform the encoding owing to the  universal use of this encoding in dvds, common implementations are Nero, Divx, Xvid etc. Among these arguably the most popular codecs are  <strong>Xvid and Divx</strong>. We will be seeing side by side comparison of both in the article. You can find both codecs individual history on their wiki pages. I find the history of Divx quite  amusing,They adopted their name Divx to mock a company that used to charge users for viewing by the hour and themselves used spyware in their later version hence becoming a subject of mockery. You might have already noticed that &#8220;Xvid&#8221; is &#8220;Divx&#8221; backwards.</p>
<p>I will talk of decoding performance here. Decoding probably makes much more sense to a normal user as encoding is done by few but everybody decodes videos. Decoding is quite  a subjective criteria hence besides my own comments I have also attached screenshots that allow the user to make his/her own judgment. The codecs were taken from <a href="http://finalbuilds.edskes.net/" target="_self">Final build site.</a></p>
<p><strong>Xvid</strong><br />
<img class="alignright" src="http://cache.kotaku.com/assets/resources/2007/12/Xvid_logo.jpg" alt="Xvid Logo" width="100" /><br />
There is a very good chance that any video that you come across is encoded with Xvid. Across my search of encoders I found Xvid is the most preferred one for encoding. Its opensource hence free, much more configurable hence lets you draw the last byte&#8217;s worth. Though it seems logical that if video is encoded with encoder its respective decoder should also be the best, however I found the results didn&#8217;t fare as I expected.</p>
<p><strong>Divx</strong><br />
<img class="alignright" src="http://upload.wikimedia.org/wikipedia/en/thumb/b/b6/DivX_logo_color.SVG/256px-DivX_logo_color.SVG.png" alt="Divx Logo" width="100" /></p>
<p>The good old closed source version. Divx is costly and costing is on per PC basis hence encoding costly. Decoding can be done for free using their web player. The pro version is not free however there are other ways of using the codec in Media Player classic shipped with Klite Codec as explained below.</p>
<p>Here is the screenshot of Gspot codec analyzation. This provides the codec information with which the file was encoded in:</p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/gspot-screenshot.jpg"><img class="alignright size-medium wp-image-34" src="http://techdigger.files.wordpress.com/2008/05/gspot-screenshot.jpg?w=295&#038;h=300" alt="GSPOT Screenshot of Sherlock Holmes " width="295" height="300" /></a> Important things that can be highlighted from the <a href="http://www.free-codecs.com/download/GSpot.htm" target="_blank">Gspot codec</a> is</p>
<p>1.  Video Encoding was done by Divx version 5.1.1</p>
<p>2. Audio Encoding was done by MPEG-1 Layer 3 more popularly known as MP3</p>
<p>3. The default resolution is 352&#215;272 and should be judged at that resolution</p>
<p>Further information can also be seen from the screenshot</p>
<p>PS: you can also use other codec information utils like AVI codec etc.</p>
<p>Following are the screenshots taken from the video with different filters(All the left screenshots are Divx and right ones are Xvid)<br />
<a href="http://techdigger.files.wordpress.com/2008/05/divx_sherlock_holmes_cpu-usage-20-25.jpg"><img class="alignleft size-medium wp-image-35" src="http://techdigger.files.wordpress.com/2008/05/divx_sherlock_holmes_cpu-usage-20-25.jpg?w=200&#038;h=154" alt="Divx Filter with Sherlock Holmes" width="200" height="154" /></a></p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/xvid_sherlock_holmes_cpuusage-35-38.jpg"><img class="alignleft size-medium wp-image-36" src="http://techdigger.files.wordpress.com/2008/05/xvid_sherlock_holmes_cpuusage-35-38.jpg?w=200&#038;h=154" alt="Xvid filter with Sherlock Holmes" width="200" height="154" /></a></p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/divx_sherlock_holmes_cpu-usage-20-25_21.jpg"><img class="alignleft size-medium wp-image-38" src="http://techdigger.files.wordpress.com/2008/05/divx_sherlock_holmes_cpu-usage-20-25_21.jpg?w=200&#038;h=154" alt="Screenshot with Divx Filter " width="200" height="154" /></a></p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/xvid_sherlock_holmes_cpuusage-35-38_2.jpg"><img class="alignleft size-medium wp-image-39" src="http://techdigger.files.wordpress.com/2008/05/xvid_sherlock_holmes_cpuusage-35-38_2.jpg?w=200&#038;h=154" alt="Screenshot with Xvid Filter" width="200" height="154" /></a></p>
<p>Click the pics and view them at full-size and compare them. As the videos clearly depicted the Divx Filter far outperforms Xvid Filter in visual apeal.</p>
<p>There is a very important decoder that I have not mentioned here, that is the FFmpeg decoder(default decoder in most open players like mplayer, media player classic and vlc). This decoder generally uses libavcodec to decode the media files and even though the performance is not as good as the above decoders but it is good enough but the difference in CPU usage is extreme. Ex for a normal movie where Divx and Xvid take as much as 25-30% CPU usage, FFmpeg will take barely 10-15%. So if its quality you are looking for then look no further than Divx but for performance nobody matches FFmpeg</p>
<p>So overall the results are quite ambigous. If you are looking for quality then Divx, for free encoding/decoding Xvid and for decoding performance FFmpeg . You can download the filters from <a href="http://finalbuilds.edskes.net/">here</a>, and you can learn how to switch your filter from <a href="http://techdigger.wordpress.com/2008/05/20/how-to-switch-media-player-classic-codec/" target="_self">here</a>.  So what are you going to do with your player???</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=32&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/05/28/mpeg-avi-decoding-divx-vs-xvid/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://cache.kotaku.com/assets/resources/2007/12/Xvid_logo.jpg" medium="image">
			<media:title type="html">Xvid Logo</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/en/thumb/b/b6/DivX_logo_color.SVG/256px-DivX_logo_color.SVG.png" medium="image">
			<media:title type="html">Divx Logo</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/gspot-screenshot.jpg?w=295" medium="image">
			<media:title type="html">GSPOT Screenshot of Sherlock Holmes </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/divx_sherlock_holmes_cpu-usage-20-25.jpg?w=200" medium="image">
			<media:title type="html">Divx Filter with Sherlock Holmes</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/xvid_sherlock_holmes_cpuusage-35-38.jpg?w=200" medium="image">
			<media:title type="html">Xvid filter with Sherlock Holmes</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/divx_sherlock_holmes_cpu-usage-20-25_21.jpg?w=200" medium="image">
			<media:title type="html">Screenshot with Divx Filter </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/xvid_sherlock_holmes_cpuusage-35-38_2.jpg?w=200" medium="image">
			<media:title type="html">Screenshot with Xvid Filter</media:title>
		</media:content>
	</item>
		<item>
		<title>MP4/ HD video codec performance review: CoreAVC vs FFmpeg which is better ?</title>
		<link>http://techdigger.wordpress.com/2008/05/21/mp4-hd-video-codec-review-coreavc-ffmpeg/</link>
		<comments>http://techdigger.wordpress.com/2008/05/21/mp4-hd-video-codec-review-coreavc-ffmpeg/#comments</comments>
		<pubDate>Wed, 21 May 2008 22:18:44 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[benchmark]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Video Compression]]></category>
		<category><![CDATA[codec]]></category>
		<category><![CDATA[CoreAVC]]></category>
		<category><![CDATA[Corecodec]]></category>
		<category><![CDATA[FFmpeg]]></category>
		<category><![CDATA[H.264]]></category>
		<category><![CDATA[HD]]></category>
		<category><![CDATA[media player classic]]></category>
		<category><![CDATA[Mp4]]></category>
		<category><![CDATA[mpc]]></category>
		<category><![CDATA[MPeg4]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=33</guid>
		<description><![CDATA[MPEG-4 is used for AV data for web (streaming media) and CD distribution, voice (telephone, videophone) and broadcast television applications.MPEG-4 adds new features such as (extended) VRML support for 3D rendering, object-oriented composite files (including audio, video and VRML objects), support for externally-specified Digital Rights Management and various types of interactivity. AAC (Advanced Audio Codec) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=33&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MPEG-4 is used for AV data for web (streaming media) and CD distribution, voice (telephone, videophone) and broadcast television applications.MPEG-4 adds new features such as (extended) VRML support for 3D rendering, object-oriented composite files (including audio, video and VRML objects), support for externally-specified Digital Rights Management and various types of interactivity. AAC (Advanced Audio Codec) was standardized as an adjunct to MPEG-2 (as Part 7) before MPEG-4 was issued.The key parts to be aware of are <em>MPEG-4 part 2</em> (MPEG-4 SP/ASP, used by codecs such as DivX, Xvid, Nero Digital and 3ivx and by Quicktime 6) and <em>MPEG-4 part 10</em> (MPEG-4 AVC/H.264, used by the x264 codec, by Nero Digital AVC, by Quicktime 7, and by next-gen DVD formats like HD DVD and Blu-ray Disc).</p>
<blockquote><p>If you were looking for MPEG 4 Part 2/ AVI video codec performance review: Divx vs Xvid  then click <a href="http://techdigger.wordpress.com/2008/05/28/mpeg-avi-decoding-divx-vs-xvid/" target="_self">here</a></p></blockquote>
<p><em>Codecs:</em></p>
<p>As told previously 2 parts of MPEG-4 format are popular. There are several codecs available that implement  MPEG-4 with different level of perfection, popular ones are Quicktime(Part 10), FFmpeg(Part 10), Xvid(Part 2), Divx(Part 2) and CoreAVC(Part 10). After consulting several forums, I found 2 of those very talked about <strong>CoreAVC and FFmpeg</strong>. I have compared the 2 codecs below.</p>
<p><strong>FFmpeg</strong><br />
<img class="alignright" src="http://ffmpeg.mplayerhq.hu/ffmpeg-logo.png" alt="FFmpeg Logo" width="100" height="25" /><br />
Whether you are a codec geek or not, this is the most probable codec that you have been using since time  immemorial.  Its free, opensource, can allow a lot of tweaking, plays a major number of containers and codecs. I will try not to go beyond H.264 in this article but one thing is for sure, whether you are using CoreAVC or not, you definitely have to use FFmpeg due to its overwhelmingly large number of codec compatibility.</p>
<p><strong>CoreAVC</strong><br />
<img class="alignright" src="http://upload.wikimedia.org/wikipedia/en/8/8e/CoreAVC_Logo.png" alt="CoreAVC or Corecodec Logo" width="100" height="19" /><br />
Its a closed source alternative for decoding H.264, infact its one of the accepted formats for Blue-ray. When it came out it astonished everyone with the sheer speed and performance outputs. Its known to exceed several hardware implementations (reminds me of John Carmack implementation of square root in Quake 3 which was faster than FPU). Corecodec people call it the fastest codec on earth.(and I am nobody to argue).</p>
<p>Left one is CoreAVC and right is FFmpeg</p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_1.jpg"><img class="alignleft size-medium wp-image-36" src="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_1.jpg?w=200&#038;h=83" alt="x264 encoded movie Sunshine decoded with CoreAVC " width="200" height="83" /></a></p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_1.jpg"><img class="alignleft size-medium wp-image-36" src="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_1.jpg?w=200&#038;h=83" alt="x264 encoded movie Sunshine decoded with CoreAVC " width="200" height="83" /></a></p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_2.jpg"><img class="alignleft size-medium wp-image-36" src="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_2.jpg?w=200&#038;h=83" alt="x264 encoded movie Sunshine decoded with CoreAVC " width="200" height="83" /></a></p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_2.jpg"><img class="alignleft size-medium wp-image-36" src="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_2.jpg?w=200&#038;h=83" alt="x264 encoded movie Sunshine decoded with CoreAVC " width="200" height="83" /></a><br />
<a href="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_3.jpg"><img class="alignleft size-medium wp-image-36" src="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_3.jpg?w=200&#038;h=83" alt="x264 encoded movie Sunshine decoded with CoreAVC " width="200" height="83" /></a></p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_3.jpg"><img class="alignleft size-medium wp-image-36" src="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_3.jpg?w=200&#038;h=83" alt="x264 encoded movie Sunshine decoded with CoreAVC " width="200" height="83" /></a></p>
<p>Doesnt take a rocket scientist to notice that better one. However when I discussed this on outside forums, I faced considerable shouting and screaming so I did more tweaking and testing and found another bit of information that convinced me to use CoreAVC for good.<br />
Left is CoreAVC and right is FFmpeg.<br />
Top is W/O post processing and bottom is with Post Processing</p>
<p><a href="http://techdigger.files.wordpress.com/2008/05/cpu-usage2.jpg"><img class="aligncenter size-medium wp-image-49" src="http://techdigger.files.wordpress.com/2008/05/cpu-usage2.jpg?w=300&#038;h=277" alt="CPU usage between FFmpeg and CoreAVC" width="300" height="277" /></a><br />
<a href="http://techdigger.files.wordpress.com/2008/05/cpu-cycles_coreavc.jpg"><img class="alignleft size-medium wp-image-50" src="http://techdigger.files.wordpress.com/2008/05/cpu-cycles_coreavc.jpg?w=193&#038;h=114" alt="Cpu Cycles with CoreAVC" width="193" height="114" /></a><br />
<a href="http://techdigger.files.wordpress.com/2008/05/cpu-cycles_ffmpeg.jpg"><img class="alignleft size-medium wp-image-51" src="http://techdigger.files.wordpress.com/2008/05/cpu-cycles_ffmpeg.jpg?w=191&#038;h=116" alt="CPU cycles consumption when using FFmpeg codec " width="191" height="116" /></a><br />
Difference between CPU usage when using FFmpeg and CoreAVC is huge. It can be seen from the above CPU usage or by seeing CPU cycles consumption . Considering that I have a Core 2 duo system with 1.8Ghz this difference is a substantial one, infact with preprocessing the player hung at 100% cpu usage in FFmpeg.</p>
<p>I found out to my amazement that Corecodecs are <em>actually</em> the fastest codecs in the world. I used all possible codecs at my disposal(VLC, ffmpeg, quicktime, windows media player and Nero) but CoreAVC not only gave better performance compared to all of them but also astonishingly smooth one at that. I ran it on 1080p trailer of 10000BC on MPC using quicktime alternative(had to rename .mov to .hdmov to use coreAVC) and performance was mind boggling.<br />
Bottomline, I&#8217;d suggest you one thing. just go right now to<a href="http://home.hccnet.nl/h.edskes/finalbuilds.htm" target="_blank"> Final build site</a> and download the coreavc format and start using it. You can find out how to do that <a href="http://techdigger.wordpress.com/2008/05/20/how-to-switch-media-player-classic-codec/" target="_self">here.</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=33&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/05/21/mp4-hd-video-codec-review-coreavc-ffmpeg/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://ffmpeg.mplayerhq.hu/ffmpeg-logo.png" medium="image">
			<media:title type="html">FFmpeg Logo</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/en/8/8e/CoreAVC_Logo.png" medium="image">
			<media:title type="html">CoreAVC or Corecodec Logo</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_1.jpg?w=200" medium="image">
			<media:title type="html">x264 encoded movie Sunshine decoded with CoreAVC </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_1.jpg?w=200" medium="image">
			<media:title type="html">x264 encoded movie Sunshine decoded with CoreAVC </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_2.jpg?w=200" medium="image">
			<media:title type="html">x264 encoded movie Sunshine decoded with CoreAVC </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_2.jpg?w=200" medium="image">
			<media:title type="html">x264 encoded movie Sunshine decoded with CoreAVC </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/coreavc_x264_sunshine_3.jpg?w=200" medium="image">
			<media:title type="html">x264 encoded movie Sunshine decoded with CoreAVC </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/ffmpeg_x264_sunshine_3.jpg?w=200" medium="image">
			<media:title type="html">x264 encoded movie Sunshine decoded with CoreAVC </media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/cpu-usage2.jpg?w=300" medium="image">
			<media:title type="html">CPU usage between FFmpeg and CoreAVC</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/cpu-cycles_coreavc.jpg?w=193" medium="image">
			<media:title type="html">Cpu Cycles with CoreAVC</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/cpu-cycles_ffmpeg.jpg?w=191" medium="image">
			<media:title type="html">CPU cycles consumption when using FFmpeg codec </media:title>
		</media:content>
	</item>
		<item>
		<title>How to change/install Media Player Classic codec filter</title>
		<link>http://techdigger.wordpress.com/2008/05/20/how-to-switch-media-player-classic-codec/</link>
		<comments>http://techdigger.wordpress.com/2008/05/20/how-to-switch-media-player-classic-codec/#comments</comments>
		<pubDate>Tue, 20 May 2008 19:10:06 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Video Compression]]></category>
		<category><![CDATA[codec]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[klite]]></category>
		<category><![CDATA[media player classic]]></category>
		<category><![CDATA[mpc]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=40</guid>
		<description><![CDATA[If you are dissatisfied with the codec used by your Media Player classic to decode your videos you can easily switch them to other codecs. Step 1: Decide the codec you wanna use. There are considerable number of guides available on this on the net. I have found doom9 forum quite helpful and informative. MPEG [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=40&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are dissatisfied with the codec used by your Media Player classic to decode your videos you can easily switch them to other codecs.</p>
<p>Step 1:</p>
<p>Decide the codec you wanna use. There are considerable number of guides available on this on the net. I have found <a href="http://forum.doom9.org" target="_blank">doom9 forum</a> quite helpful and informative.</p>
<blockquote><p>MPEG 4 part  2/ AVI codec review: Divx vs Xvid  <a href="http://techdigger.wordpress.com/2008/05/28/mpeg-avi-decoding-divx-vs-xvid/" target="_self">here</a></p></blockquote>
<blockquote><p>H.264/ MP4/ HD codec review: CoreAVC vs FFmpeg  <a href="http://techdigger.wordpress.com/2008/05/21/264-mp4-hd-codec-review-coreavc-ffmpeg/" target="_self">here</a></p></blockquote>
<p>Step 2:</p>
<p>Download the codec. Though there are several sites that provide opensource codecs for free, there are few that provide closed source too.  I have found <a href="http://finalbuilds.edskes.net/" target="_blank">Final build site</a> to be quite good and provides almost all codecs. If you dont have any codecs at all I do suggest you to install <a href="http://www.codecguide.com/download_kl.htm" target="_blank">Klite codec Pack</a> and have some basic codecs to start with.</p>
<p>Step 3:</p>
<p>If you have started using Media Player classic without any change then you are most probably using FFmpeg codecs. These are very good codecs and use libavcodec for most of the decoding. It decodes most formats however not all of them perfectly. Now that you have your new filter installed.</p>
<ol>
<li>Open the options window in media player classic(by pressing &#8216;o&#8217; or through right click menu )</li>
<li>Go to External filters option. Now in the right side of the window select Add Filter</li>
<li>You will get an elaborate window with a plethora of options. Select your codec
<ol>
<li>If your codec is not available there you will have to put a little more stress. Open the folder that your codec installed in.</li>
<li>find a file with .ax extension in that folder and put it in filters folder inside Klite Codec Pack folder</li>
<li>Now you should click browse in the bottom left of codec window and select the filter inside filters folder. You can browse to select ax file from the folder it was installed but needlessly adds a dependency.</li>
</ol>
</li>
<li>After selecting that filter go the right of the window and click Prefer among the 3 options(prefer, block and merit)</li>
</ol>
<p>Eureka your filter is changed, you have a better video already!!!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=40&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/05/20/how-to-switch-media-player-classic-codec/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>
	</item>
		<item>
		<title>Official download links for Windows XP Service Pack 3 download</title>
		<link>http://techdigger.wordpress.com/2008/05/01/official-links-for-windows-service-pack-3-download/</link>
		<comments>http://techdigger.wordpress.com/2008/05/01/official-links-for-windows-service-pack-3-download/#comments</comments>
		<pubDate>Thu, 01 May 2008 17:23:27 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[service pack]]></category>
		<category><![CDATA[service pack 3]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=31</guid>
		<description><![CDATA[Service Pack 3 download locations have been revealed. You can download them from the following locations Windows XP Service Pack 3 English Windows XP Service Pack 3 Simplified Chinese Windows XP Service Pack 3 German Windows XP SP3 French Windows XP SP3 Russian Windows XP SP3 Japanese These are official windows update links. Courtesy: Ghacks<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=31&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Service Pack 3 download locations have been revealed. You can download them from the following locations</p>
<p><a href="http://download.windowsupdate.com/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-enu_c81472f7eeea2eca421e116cd4c03e2300ebfde4.exe" target="_self"></a></p>
<p><a href="http://download.windowsupdate.com/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-enu_c81472f7eeea2eca421e116cd4c03e2300ebfde4.exe">Windows XP Service Pack 3 English</a><br />
<a href="http://download.windowsupdate.com/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-chs_D7067E86ABD4257454200D0C398D71C4CE6CD33E.exe">Windows XP Service Pack 3 Simplified Chinese</a><br />
<a href="http://www.download.windowsupdate.com/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-deu_f2dcd2211384a78df215c696a7fd1a7949dc794b.exe">Windows XP Service Pack 3 German</a><br />
<a href="http://download.windowsupdate.com/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-fra_414B61BBC86E09579D8447BAA23EB1B867F9CA93.exe">Windows XP SP3 French</a><br />
<a href="http://download.windowsupdate.com/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-rus_850cda9f57033a17d046a56d422547ea80dcaf61.exe">Windows XP SP3 Russian</a><br />
<a href="http://www.download.windowsupdate.com/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-jpn_e0fc34cfa52d270b3c79a68af8fa358244f7419e.exe">Windows XP SP3 Japanese</a></p>
<p>These are official windows update links.</p>
<p>Courtesy: <a href="http://www.ghacks.net/2008/04/28/official-windows-xp-service-pack-3-download-links/">Ghacks</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=31&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/05/01/official-links-for-windows-service-pack-3-download/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>
	</item>
		<item>
		<title>Compile Java code from Java application dynamically</title>
		<link>http://techdigger.wordpress.com/2008/05/01/25/</link>
		<comments>http://techdigger.wordpress.com/2008/05/01/25/#comments</comments>
		<pubDate>Thu, 01 May 2008 14:41:16 +0000</pubDate>
		<dc:creator>RaghuRam</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[dynamic code]]></category>
		<category><![CDATA[jung]]></category>
		<category><![CDATA[random graphs]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=25</guid>
		<description><![CDATA[Recently, I came across this problem of adding a scripting interface to an application that we were developing as a part of our term project. Let me describe more details about the project and the problem. The project that we were working on is all about generating Random Graphs and their analysis. A little research [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=25&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I came across this problem of adding a scripting interface to an application that we were developing as a part of our term project. Let me describe more details about the project and the problem. The project that we were working on is all about generating <a href="http://en.wikipedia.org/wiki/Random_graph" target="_blank">Random Graphs</a> and their analysis. A little research for libraries that would simplify our task yeilded an open source gem <a href="http://jung.sourceforge.net/">JUNG</a>. As this post is neither about JUNG nor opensource I would try to talk as little as possible about their coolness. Some serious effort for a couple of days from my beloved friend Praveen resulted in this java beast.</p>
<p style="text-align:center;"><a href="http://techdigger.files.wordpress.com/2008/05/screenshot.png"><img class="alignnone size-medium wp-image-26 aligncenter" style="vertical-align:middle;" src="http://techdigger.files.wordpress.com/2008/05/screenshot.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:left;">The app has more tools for network analysis than this simple visualization like plotting the Degree Distribution Vs Rank, Pk Vs k, Clustering Coefficient Vs Rank, Betweenness centrality Vs Rank plots. Despite this much effort we are not confident about getting the best possible grade due to the lack of good innovation  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ( I guess I am talking big here). So, here comes the small innovation. The networks that we analyse are generated using standard models like <strong><a href="http://en.wikipedia.org/wiki/Preferential_attachment">Barabási–Albert (BA) model</a>, </strong><a title="Erdős–Rényi model" href="http://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model">Erdős–Rényi model</a> etc. In this way the application is limited and finds little use as these models had been analysed fully in every possible angle. So the application needs to support new models. But, writing code for each and every model is too complex and inefficient. The obvious path then would be to somehow express a network. The simplest way for the end user would be to express the network in english <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . But poor computers yet donot understand english completely. So, the alternative is to ask the user to express the network in a language that computers can understand. The essence is that we need a scripting interface to express the network in our application. A single problem can have more than one solution and with opensource its more true. After all opensource is about choice. We had a couple of alternatives for this problem too. There are lots of embeddable <a href="http://merd.sourceforge.net/pixel/language-study/scripting-language/" target="_blank">scripting languages</a> at our disposal.</p>
<p style="text-align:left;">We finally decided to pick java for this purpose. The solution that we picked might seem odd as it comes second to last in the <a href="http://merd.sourceforge.net/pixel/language-study/scripting-language/" target="_blank">scriptometer rankings</a>. But, it has its own benefits. The obvious thing is the simplicity and elegance of the soultion.</p>
<ol>
<li>There is no need for us to learn a new language</li>
<li>There are no integration costs. ( If you have missed the point, we programmed the whole application in java itself )</li>
</ol>
<p>Once we have decided that the end user expresses the network in java, we need to chalk out a solution for running his network model to generate the set of vertices and edge. The problem boils down to two things</p>
<ol>
<li>Compile the code that he has written from the application itself.</li>
<li>Execute his code to generate the network graph.</li>
</ol>
<p>So how do you compile java code from java application. There are two solutions to this problem too. The first one is using an undocumented java class com.sun.tools.javac.Main. The other solution is to use a more standard and documented api available from java 1.6 onwards. We chose the earlier one as the final application has to run on a machine with only java 1.5, though that means using undocumented and unsupported functions. Time for some real java</p>
<blockquote><p>String[] optionsAndSources = {&#8220;Synthesis.java&#8221;};</p>
<p>try{<br />
PrintWriter out = new PrintWriter( new FileWriter( &#8220;C:\\out.txt&#8221; ) );<br />
int status =  Main.compile( optionsAndSources, out );<br />
System.out.println( &#8220;status: &#8221; + status );</p>
<p>} catch(IOException e){<br />
System.err.println(&#8220;The file cannot be opened &#8220;+e);<br />
}</p></blockquote>
<p>Remeber to include the tools.jar shipped with the jdk in the classpath. Main.compile is basically a wrapper over the javac ( javac is not required on the machine running this application. ). It does the real job of compiling the java source code and producing the class file. The arguments are self explanatory.</p>
<p>Once the class file is generated it has to be executed. This process is much simpler and doesnt require any undocumented classes ( aah releif !! ). Java has a class called <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" target="_blank">Class</a>.  Instances of the class <code>Class</code> represent classes and interfaces  in a running Java application. One can create a new instance of any class using the member function <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#newInstance()" target="_blank">newInstance()</a>. Once a new instance is created it has to be typecasted into a class that the compiler knows at compile time so that we can invoke its methods. So we have an abstract base class called Model that models all network models. Any network model defined by the user inherits this base class and also implements an abstract function defined in the base class Network called generate. Once a new instance of the user&#8217;s network model is created, it is typecasted to the base class Network and the generate method is called on this object to generate the network. More code follows &#8230;</p>
<blockquote><p>Model obj=null;<br />
try {<br />
Class c = Class.forName(&#8220;UserModel&#8221;);<br />
obj = (Model)(c.newInstance());<br />
} catch (Exception e) {<br />
/* Catching Exception for simplicity. */<br />
System.err.println(&#8220;error while loading class&#8221;+e);<br />
}<br />
obj.instantiate();<br />
obj.compute();</p></blockquote>
<p>I would try to write more about creating an applet from this application and may be a link to the applet that we created in my next blog.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=25&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/05/01/25/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cf35093460929f0f2e91049eaaf81e9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">RaghuRam</media:title>
		</media:content>

		<media:content url="http://techdigger.files.wordpress.com/2008/05/screenshot.png?w=300" medium="image" />
	</item>
		<item>
		<title>Sins of Opensource</title>
		<link>http://techdigger.wordpress.com/2008/05/01/sins-of-opensource/</link>
		<comments>http://techdigger.wordpress.com/2008/05/01/sins-of-opensource/#comments</comments>
		<pubDate>Thu, 01 May 2008 10:13:54 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[GNU]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[google gear]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=18</guid>
		<description><![CDATA[Well, you are an opensource user. Your geek rating is much higher than any of your other puny friends on facebook. You bask in the glory of being clean and untainted. But dont confuse being opensource as &#8220;not being evil&#8221;. The real trick is to use the good will of opensource and still use it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=18&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, you are an opensource user. Your geek rating is much higher than any of your other puny friends on facebook. You bask in the glory of being clean and <a href="http://www.linux-watch.com/news/NS3364701970.html" target="_blank">untainted.</a> But dont confuse being opensource as &#8220;not being evil&#8221;. The real trick is to use the good will of opensource and still use it for your nefarious (<a href="http://www.microsoft.com/en/us/default.aspx" target="_blank">defination</a>) purposes. Behold the sins of Opensource and how/where to use it in your own company:</p>
<ol>
<li>
<div><strong>As Strategy (aka Greed): </strong>Most evil are those who employ opensource as a strategy, this not only allows them to publisize there product but also gives them a GNU loving status. Google like always leading the way with <a href="http://gears.google.com/" target="_blank">Google Gears </a> and <a href="http://code.google.com/apis/talk/index.html" target="_blank">Libjingle.</a> By making Gears opensource it caused a 3 way effect</div>
<ol>
<li>It allowed the people to look into the code and ensure that there are no google spies sitting in it, hence building trust.Without this nobody would opt for it</li>
<li>It also became instant favorite to all those who hate <em>The Microsoft way, </em>giving them the satisfaction of using an opensource alternative on an opensource platform(firefox).</li>
<li>Allowing other people to step in with it and start making more tools to replace more softwares(<a href="http://www.zoho.com/" target="_blank">ZOHO</a>, <a href="http://code.google.com/support/bin/answer.py?answer=81101&amp;topic=11982" target="_blank">Offline WIkipedia</a> etc)</li>
</ol>
<p>So using it as a stratigic weapon you can assasinate a lot more quickly than otherwise.</li>
<li><strong>As a User (aka Gluttony): </strong>You reading this blog in firefox and me writing it in wordpress doesnt make things a whole lot better. If you have used a product of opensource and have never cared to:
<ol>
<li>Submit a bug report.</li>
<li>donate for it(and are never planning to).</li>
<li>Contribute back.</li>
</ol>
<p>then you are evil. You are another one of those selfish people who just wanna use the product for free and run away with the benifits. I wouldnt blame you for it but we are all sinners</li>
<li><strong>As a developer(aka Pride): </strong>If you are a developer associated with a opensource community because of any of the following reasons then you are also a sinner:
<ol>
<li>Even if you see your own project suffering because of unsufferable GUI, you still stand by and keep working on core internal library which is already ruthlessly efficient. Since GUI is one of the most boring things to work on you choose to ignore it and because of that your project suffers. This is the sin that leads to poor interfaces of so many opensource software.</li>
<li>You have been laid off, and just want to code to keep your skills sharp and to build your CV and have no interest in the concept of &#8220;greater good&#8221; and benifit of all man kind.</li>
</ol>
</li>
<li><strong>As a startup(aka Sloth)</strong>: If you are a startup or for that matter any company and you are using opensource software because of any of the reasons then you are also sinners:
<ol>
<li>Using your expert skills you are able to disprove Microsoft&#8217;s <a href="http://en.wikipedia.org/wiki/Total_cost_of_ownership" target="_blank">TCO</a> model and use opensource as cheap software.</li>
<li>Use plenty of opensource tools in your company but have never released any of the scripts etc neither have cared enough to put even a simple logo on your official site.</li>
<li>You rely of free service of opensource community that is 10 times larger than that of any company&#8217;s support staff.</li>
<li>Worse are all are those developers who use the free experience provided by opensource community in development of features that they eventually want to put in there own software(best oppurtunity is <a href="http://code.google.com/soc/2008/" target="_blank">GSOC</a>).</li>
</ol>
</li>
</ol>
<p>Disclaimer: I&#8217;d like to apologize to anybody who feels offended. This article fundamentally represents how opensource is practically being used by different catagory of people(coders, users and companies). There are several other ways of employing/deploying opensource which will be discussed in future articles.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=18&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/05/01/sins-of-opensource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>
	</item>
		<item>
		<title>Google is the next Microsoft</title>
		<link>http://techdigger.wordpress.com/2008/02/19/google-is-the-next-microsoft/</link>
		<comments>http://techdigger.wordpress.com/2008/02/19/google-is-the-next-microsoft/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 06:19:49 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[alliance]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/?p=24</guid>
		<description><![CDATA[&#8220;Google is more like us than anything that we have ever competed before.&#8221; This famous quote about Google is by none other than Bill Gates himself. Microsoft is one of the biggest and fastest growing giant, the world has ever seen. The reach of Microsoft in various fields is inspiring. With a steady product range [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=24&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;Google is more like us than anything that we have ever competed before.&#8221;</p></blockquote>
<p><span style="font-family:Arial;font-size:10pt;">This famous quote about Google is by none other than Bill Gates himself. Microsoft is one of the biggest and fastest growing giant, the world has ever seen. The reach of Microsoft in various fields is inspiring. With a steady product range and effective marketing strategy, Microsoft is poised to become bigger and better by the day. Google is a relative new comer and often underestimated in comparison to Microsoft. True Google has an entirely different revenue model and ideology but that ideology to organize the world&#8217;s information is the key to success of Google in the fields where Microsoft has been unable to leave a footprint. </span></p>
<p><span style="font-family:Arial;font-size:10pt;">Everybody knows that Web is growing at a rapid rate. Over 5.4 million new sites are put up monthly and the success of Google in monetizing this exponential growth has made Google the fastest growing company in the history of the world. . The growth of internet<img src="http://www.techcrunch.com/wp-content/youtubelogo.png" alt="Youtube" align="right" /> will inevitably have far reaching consequences than earlier predicted. It has already started pushing more and more desktop functionality to the internet making all our information available everywhere. Google has anticipated this trend and has started developing applications to mimic the desktop functionality. No spreadsheet in the world will provide you with infinite rows and columns like Google spreadsheet, and no </span><img src="http://www.randomhouse.com/bantamdell/images/secondlife_logo.gif" alt="Second Life Logo" width="67" height="123" align="left" /><span style="font-family:Arial;font-size:10pt;">hard disk can provide potentially infinite video storage space like the way YouTube does. The consequences don&#8217;t stop there. Ads were well</span><span style="font-family:Arial;font-size:10pt;"> known to the real world till Google came along with state of the art Adsense. Now the traditional video ads that we are so familiar with on television are being replicated in Adsense. Your friend circle has migrated on the web, your college facebook, your mails, your calendar, even you yourself can now have a <a href="http://www.secondlife.com/">second life.</a></span></p>
<p><span style="font-family:Arial;font-size:10pt;">There are no two ways about it. Google has not only pioneered the IT revolution it is leading it with an online revenue generation of over 16.59 billion dollars, if that&#8217;s not enough then check this out; Google owns about 5% sites in the world that&#8217;s 77 million sites worldwide. Only those companies will continue to succeed which are backed by effective research and the best employees. Microsoft is renowned for its efforts in research and work culture. Microsoft has come up with products which have ensured its continued capture on existing market. Google is not far behind with its unique way of promoting research among its employees. I am of course talking about <a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=3&amp;url=http%3A%2F%2Fwww.google.com%2Fsupport%2Fjobs%2Fbin%2Fstatic.py%3Fpage%3Dabout.html%26about%3Deng&amp;ei=Epa6R6XaI5qk6wP14fzhDA&amp;usg=AFQjCNHkqXI5dE30laOEbLt57CRuREbM2A&amp;sig2=vhVS9PwShoLmA-PEGc6iRA">the 20% free time</a>, which is an integral part of Google&#8217;s company policy. Using this Google has targeted the researcher in its employees. This free time has lead to numerous products which are in main stream for Google like Orkut, Gmail and </span><span style="font-family:Arial;font-size:10pt;"></span><img src="http://rebelpixel.com/wp-content/uploads/2007/w.071119-1702-9693.jpg" width="67" height="100" align="left" /><span style="font-family:Arial;font-size:10pt;">even the popular Adsense. This unique work culture also has been the key to attract the best employees around the globe. Not only this, If you are wish to know in depth about any field the best lecture you can </span><span style="font-family:Arial;font-size:10pt;">find is probably <a href="http://video.google.com/videosearch?q=type%3Agoogle+engEDU&amp;page=1&amp;lv=0&amp;so=1">Google tech talks</a>. Google tech talks are available on Google videos on almost all fields (Bio fuel, Second life to begin with). People who talk are from variety of backgrounds and are generally the forerunners in their field. </span></p>
<p><span style="font-family:Arial;font-size:10pt;">Those who claim that Google is not the next Microsoft have perhaps not observed the striking similarity between the acquisitions undertaken by Google in the recent years and that of Microsoft in the early 90s. Microsoft undertook major acquisitions in process of its growth targeting a vast array of companies. The companies&#8217; skill set ranged from Business Intelligence to server virtualization. </span></p>
<p><span style="font-family:Arial;font-size:10pt;"></span><img height="35" width="94" alt="Engyro" src="http://www.engyro.com/images/engyro.png" align="center" /><img src="http://www.aquantive.com/media/home/avenueainc_logo.gif" align="center" height="35" width="94" alt="Aquanti" /><img align="center" src="http://officewriter.softartisans.com/images/header-logo1.jpg" alt="Soft Artison" height="35" width="94" /><img align="center" height="35" width="94" src="http://www.dundas.com/Common/HeaderImages/Header-01Logo.jpg" /></p>
<p><span style="font-family:Arial;font-size:10pt;">Microsoft&#8217;s aggressive takeovers were the backbone of its strong and innovative lineup of software. Google also is actively acquiring companies with a wide agenda in mind. It has acquired companies like Double click to improve its existing ad services and it has also acquired companies like Android to expand into mobile devices thereby diversifying its target market. </span></p>
<p><span style="font-family:Arial;font-size:10pt;">Anybody who has observed the growth of Microsoft knows that acquisitions were not the only way Microsoft grew. It undertook major alliances with companies such as Dell, IBM. A prime alliance methodology was the OEM alliance, this alliance helped Microsoft to capture the desktop market. </span><span style="font-family:Arial;font-size:10pt;">Google has also learned from this and started alliances with a wide array of companies. For example the alliance with Airtel in India, Apple iPhone in US and the major alliance with Firefox which ships Google as a default search in over 150 million browsers worldwide. This shows that it has the business acumen to compete with Microsoft and even outsmart it. </span></p>
<p><span style="font-family:Arial;font-size:10pt;">A major speculation made on Google is that its state in the market is fragile, owing to the one-dimensional success that it has established till now. However I would like to point out that Google is not as fragile as they think. There are several reasons for it. </span></p>
<ol>
<li><span style="font-family:Arial;font-size:10pt;">Google shows interest in competing startups and acquire them if they show promising talent, for example YouTube. </span></li>
<li><span style="font-family:Arial;font-size:10pt;">Google has always stimulated diversification by keeping its employees in small groups imitating the research groups kept in the best universities in the world. </span></li>
<li><span style="font-family:Arial;font-size:10pt;">A typical misconception about Google is that it leads the market solely because of its powerful search. Very few people know about its Map Reduce. What is this Map Reduce? Imagine the power to organize millions of bytes of information in a matter of seconds. The power that enables Google to process over 20 Peta bytes of information daily. This magic sauce allows Google to quickly test out its innovative ideas in matter of days faster than anybody else in the world. Taking this amazing algorithm in account, who&#8217;s to say that Google won&#8217;t venture into as many dimensions as Microsoft if not more? </span></li>
</ol>
<p><span style="font-family:Arial;font-size:10pt;">Reaching the heights to which Microsoft has reached is an ambitious target. There are very few companies in the world that can achieve what Microsoft has done in the software market. There is always the chance that Google may also fail to do so, but I think that it does have the right mix of ingredients to become a Microsoft or even topple it. </span></p>
<p><span style="font-family:Arial;font-size:8pt;">PS: I could talk about how Microsoft and Google both are being sued for antitrust or how both have shown monopolist tendencies, but I believe that this point of view would not weaken my cause but would also not be credible. Just because Google has made the same mistake as Microsoft in a juncture of its corporate lifetime does not prove or disprove that Google will become the next Microsoft. </span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=24&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/02/19/google-is-the-next-microsoft/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>

		<media:content url="http://www.techcrunch.com/wp-content/youtubelogo.png" medium="image">
			<media:title type="html">Youtube</media:title>
		</media:content>

		<media:content url="http://www.randomhouse.com/bantamdell/images/secondlife_logo.gif" medium="image">
			<media:title type="html">Second Life Logo</media:title>
		</media:content>

		<media:content url="http://rebelpixel.com/wp-content/uploads/2007/w.071119-1702-9693.jpg" medium="image" />

		<media:content url="http://www.engyro.com/images/engyro.png" medium="image">
			<media:title type="html">Engyro</media:title>
		</media:content>

		<media:content url="http://www.aquantive.com/media/home/avenueainc_logo.gif" medium="image">
			<media:title type="html">Aquanti</media:title>
		</media:content>

		<media:content url="http://officewriter.softartisans.com/images/header-logo1.jpg" medium="image">
			<media:title type="html">Soft Artison</media:title>
		</media:content>

		<media:content url="http://www.dundas.com/Common/HeaderImages/Header-01Logo.jpg" medium="image" />
	</item>
		<item>
		<title>Download Apple Keynote Speech January 2008</title>
		<link>http://techdigger.wordpress.com/2008/01/16/download-mac-keynote-speech-2008/</link>
		<comments>http://techdigger.wordpress.com/2008/01/16/download-mac-keynote-speech-2008/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 07:59:38 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[keynote]]></category>
		<category><![CDATA[macworld]]></category>
		<category><![CDATA[steve jobs]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/2008/01/16/download-mac-keynote-speech-2008/</guid>
		<description><![CDATA[MP4 http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.mp4 3gp http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.3gp<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=21&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MP4</p>
<p><a href="http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.mp4">http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.mp4</a></p>
<p>3gp</p>
<p><a href="http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.3gp">http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.3gp</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=21&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2008/01/16/download-mac-keynote-speech-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.mp4" length="335669466" type="video/mp4" />
<enclosure url="http://events.apple.com.edgesuite.net/f27853y2/iphone/972345688g_1_ip.3gp" length="78418839" type="video/3gpp" />
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>
	</item>
		<item>
		<title>Threats to privacy in 2007</title>
		<link>http://techdigger.wordpress.com/2007/12/27/threats-to-privacy-in-2007/</link>
		<comments>http://techdigger.wordpress.com/2007/12/27/threats-to-privacy-in-2007/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 07:21:14 +0000</pubDate>
		<dc:creator>Mayur Rustagi</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[doubleclick]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[reader]]></category>

		<guid isPermaLink="false">http://techdigger.wordpress.com/2007/12/27/threats-to-privacy-in-2007/</guid>
		<description><![CDATA[Well there are no 2 ways about it, the world is entering the age of data and even if you want to protect data, you inevitably have to provide it to sites/insurance salesman/girlfriend/devil. While the latter 3 are not so harmful the first one can be quite a death threat. So how to ensure that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=15&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well there are no 2 ways about it, the world is entering the age of data and even if you want to protect data, you inevitably have to provide it to sites/insurance salesman/girlfriend/devil. While the latter 3 are not so harmful the first one can be quite a death threat. So how to ensure that your account has not been hacked and your life stolen from under your feet:</p>
<ul>
<li><b>GMAIL hacked:</b><br />
<blockquote><p>         Open your Gmail account settings and check your filters. If you find a weird filter which was not made by you , then your account was HACKED.</p></blockquote>
<p>This was a nifty little trick to hack the gmail javascript and add a filter that sends mails as designated by the hacker to a particular account. The emails are also deleted hence you cannot retrieve them. <a TARGET="_blank" HREF="http://www.davidairey.co.uk/StaticPage.html">Moreinfo here.</a> (Google has fixed the vulnerability but if your account was hacked you will still have to manually correct it). Curse google for not being a little more vocal about it and tell its users.</li>
<li><b>Google reader hacked:<br />
</b></p>
<blockquote><p>   Go to your google reader and unshare all items</p></blockquote>
<p>Okay Okay the reader is not hacked but Google has started its new share feature that not only allows you to force your shared items on your friends &#8220;All items&#8221; list, but also to all the folks that you have ever contacted(mailed, send gtalk request to). So if are privy about your shared items in any other mode (besides all and none) you cannot do so with current Google reader settings. There are workarounds(<a TARGET="_blank" HREF="http://googlereader.blogspot.com/2007/12/managing-your-shared-items.html">http://googlereader.blogspot.com/2007/12/managing-your-shared-items.html</a>) but I am more of a <i>better safe then sorry</i> kind of guy <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </li>
<li><b>Taking over of double click:</b><br />
<blockquote><p>Pray</p></blockquote>
<p>Google’s attempt to buy out display ad service DoubleClick has received the approval of the US Federal Trade Commission (FTC), although it still faces European antitrust scrutiny(I trust in Europe).<br />
The  £1.56 billion deal has been heavily-criticized for potentially reducing the options open to web marketers and endanger web user privacy. There is nothing you can do about that except pray to god that the big brother(Google) doesn&#8217;t take over</li>
<li><b>What privacy??</b><br />
<blockquote><p>              &#8220;you grant Google a worldwide, non-exclusive, royalty-free license to reproduce, adapt, modify, publish and distribute such Content on Google services for the purpose of displaying, distributing and promoting Google services&#8221;</p></blockquote>
<p>Ya thats true for Picasa, Google groups and many such services, including google apps.</li>
<li><b> General privacy concern:</b><br />
<blockquote><p>Well, use MSN atleast you&#8217;ll die in peace</p></blockquote>
<p><a TARGET="_blank" HREF="http://www.privacyinternational.org/article.shtml?cmd%5B347%5D=x-347-553961">http://www.privacyinternational.org/article.shtml?cmd%5B347%5D=x-347-553961</a> I don&#8217;t think more needs to be said</li>
</ul>
<p>There are many other threats out there to privacy. But bottom line is that in this age of data, stricter privacy laws are in demand, because as you can see from above not much can be done to protect your data(besides not using the service at all). Protection of  IP needs to take front row, the more social we get , more problems will emerge. So you can either put your head in sand and hope that your data is not being used, or stand up straight and take action.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techdigger.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techdigger.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techdigger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techdigger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techdigger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techdigger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techdigger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techdigger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techdigger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techdigger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techdigger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techdigger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techdigger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techdigger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techdigger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techdigger.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techdigger.wordpress.com&amp;blog=2363146&amp;post=15&amp;subd=techdigger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techdigger.wordpress.com/2007/12/27/threats-to-privacy-in-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d5f17223d4340c49baeb21389980861?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mayur Rustagi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
