<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Aakash Bapna&#039;s Blog &#187; tech</title>
	<atom:link href="http://blog.aakash.me/index.php/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aakash.me</link>
	<description>litter bin of gibberish thoughts, ideas &#38; code</description>
	<lastBuildDate>Fri, 20 Aug 2010 20:59:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The solution to facebook privacy puzzle</title>
		<link>http://blog.aakash.me/index.php/2010/08/the-solution-to-facebook-privacy-puzzle/</link>
		<comments>http://blog.aakash.me/index.php/2010/08/the-solution-to-facebook-privacy-puzzle/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 20:59:21 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/?p=103</guid>
		<description><![CDATA[Almost everyday I hear stories associated with disastrous facebook privacy controls. Someone&#8217;s vulgar/rash updates appear in there family members newsfeed, someone has his photos in Pjs circulated everywhere on facebook!  All this is resulting in people sharing less, now they have started to think before they share anything.
Whats the solution to this ??
Facebook&#8217;s all about [...]]]></description>
			<content:encoded><![CDATA[<p>Almost everyday I hear stories associated with disastrous facebook privacy controls. Someone&#8217;s vulgar/rash updates appear in there family members newsfeed, someone has his photos in Pjs circulated everywhere on facebook!  All this is resulting in people sharing less, now they have started to think before they share anything.</p>
<p>Whats the solution to this ??</p>
<p>Facebook&#8217;s all about a profile wall and a newsfeed. whatever you post gets added to your wall. Your newsfeed gets populated with posts from various friend walls. Thats it!</p>
<p>For instance &#8211; whenever a friend tags you in a photo in there album, it creates a post on your wall. The newsfeeds of your friends pick that entry from your wall and soon everyone in your list could see that photo.</p>
<p>What facebook privacy controls offer now is &#8211; add attributes to a wall post entry to hide it or show it to certain people. It doesn&#8217;t stop  friends from making erroneous posts on your wall unless you block them all over from posting, which is something you never would do to him/her.</p>
<p>So here&#8217;s the idea&#8211; why not provide a user with a set of walls instead of single wall for all ? A user sets default walls for different people, he gives different views of himself to them.</p>
<p>Now suppose, I set default walls for my college friends, my work people, my family members. Whenever my college friend tags me in a photo, that goes to wall designated for him, and it appears only in newsfeeds of  my college friends, no one else. I have sandboxed friends this way! I, no more depend on people in friend list for taking care of my privacy.</p>
<p>Facebook already has networks for this, but these networks are very wide, they contain girls, boys, people whom I may not have acquaintances with. Hence they don&#8217;t work.</p>
<p>Idea is still developing, will post more as it refines&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2010/08/the-solution-to-facebook-privacy-puzzle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The new issue with social sharing sites and Google Buzz</title>
		<link>http://blog.aakash.me/index.php/2010/02/redundant-data-issue-with-social-sharing/</link>
		<comments>http://blog.aakash.me/index.php/2010/02/redundant-data-issue-with-social-sharing/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 14:15:34 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/?p=95</guid>
		<description><![CDATA[You open facebook. Check your feed, find some new posts, videos and photos. Cool.. you even press like or comment on few of them.
Now you go to twitter. Some more cool content for you. Also you notice some posts from services like youtube, flickr, blog feeds duplicated(from facebook) in your feed. Uninteresting.. isn&#8217;t it?
So now [...]]]></description>
			<content:encoded><![CDATA[<p>You open facebook. Check your feed, find some new posts, videos and photos. Cool.. you even press like or comment on few of them.</p>
<p>Now you go to twitter. Some more cool content for you. Also you notice some posts from services like youtube, flickr, blog feeds duplicated(from facebook) in your feed. Uninteresting.. isn&#8217;t it?</p>
<p>So now comes the new thing- Google Buzz. You have already checked facebook, twitter for your daily social dose. But as its inside gmail, you ought to click it.  All that you see is&#8211; same repeated content which you have seen earlier. Nothing new.. and on top of that google buzz marks the items people comment as unread, making you check it again and again even when there&#8217;s nothing really new. Even the gtalk status updates which you see right away clearly in gmail are starting to appearing in buzz. #fail</p>
<p>Hope you get this redundant data problem..</p>
<p>When I first heard of google buzz and connected sites I was very excited. I thought it would aggregate ALL content posted by my twitter and facebook friends, apply its superb relevancy algorithms and show it inside gmail.  The google guys are clever, they will surely figure it out some day..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2010/02/redundant-data-issue-with-social-sharing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>From iPhone to Android</title>
		<link>http://blog.aakash.me/index.php/2010/02/from-iphone-to-android/</link>
		<comments>http://blog.aakash.me/index.php/2010/02/from-iphone-to-android/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 23:14:53 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/?p=92</guid>
		<description><![CDATA[My experiences with the Android in HTC hero]]></description>
			<content:encoded><![CDATA[<p>Okay.. enough iPhone, I need a change, something new to play/hack with. WinMo is his own world of stylus and task managers. Nokia phones are not for geeks <img src='http://blog.aakash.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Blackberry still doesnot have a decent touch-screen phone and its hack-ability is known to be very low.</p>
<p>I am left with the Android which is making a fuss almost every day. I did try the android in its very early days of T-Mobile G1 then tried the G2 (HTC hero) but none of them proved to be compelling and the absence of multi-touch from majority of applications made me stick to iPhone. So which iPhone I am talking about? The very very very old 4GB iPhone. It still rocks my world with its simplicity and powerful basic functionality as in the iPod, the phone app and the safari browser.</p>
<p>Now android caught my attention again with 2 recent major developments-</p>
<ul>
<li>The Google maps app now has a turn by turn navigator !! something which only $50+ apps like tomtom used to have.</li>
<li>The Nexus One getting multitouch in browser,maps and other apps. (<a href="http://www.techcrunch.com/2010/02/02/nexus-one-multi-touch/">more on this</a>)</li>
</ul>
<p>Hence I got a T-Mobile G2 back today as the Nexus One is out of my reach. Popped in my Docomo simcard and was really taken away by the amazing HTC sense UI. The first thing I do in phones is to check if I am running the latest software or not. Boom! this phone is still on 1.5 or the cupcake! I remember seeing the 2.x firmware mentioned in most of the good posts and announcements about android. I wanted to try out the other features like the facebook integration, gmail and the android marketplace.. BUT all that would go with new firmware install. My impatience was growing to install the latest firmware on my phone.</p>
<p>So here starts my hunt for the latest firmware for HTC hero with multitouch apps and new google maps. Initially  I go with the stable shipped  ROMs and later use them to benchmark against the custom roms. I came across the words &#8220;OTA&#8221; wherever I read about new android updates. I dug my phone for the &#8216;check for updates&#8217;  button, but couldn&#8217;t find any. I thought if I give this clever device a internet connection, it would automatically check for updates and prompt me to download. My belkin router malfunctioned and i had  given it for service, so I created a AD-HOC wireless network to take android to internet. But wait the adhoc wireless network just doesnot show up in android !! And I thought the blackberry and the PSP were the only devices to ignore adhoc networks <img src='http://blog.aakash.me/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  Some googling led me to an <a href="http://www.modmygphone.com/forums/showthread.php?t=22681">article</a> which claims to get it working, but right now I am more keen in the ROM update, Google might have fixed it in 2.x?</p>
<p>The HTC websites has some kinda rom update, but it asks for the serial no. etc just to download the ROM. I am not doing that. Lets search for a decent rom which is tweaked to the least..</p>
<p>Now I come across &#8211; Rooting the HTC Hero, installing custom recovery &#8230;  <a href="http://android.modaco.com/content/htc-hero-hero-modaco-com/292018/11-jan-3-1-modaco-custom-rom-for-gsm-hero/">this page</a> cleared a lot many things for me and pointed  in right direction. After reading reading and reconfirming from 2-3 sites I choose the following path for new ROM.</p>
<p style="text-align: center;"><span style="color: #000000;">Stock (1.5 or HTC 1.7 software version)</span><strong><span style="color: #000000;"> -&gt;</span></strong><a href="http://android.modaco.com/content/htc-hero-hero-modaco-com/291486/06-jan-installing-the-patched-recovery-image-on-your-device/"><span style="color: #000000;">Custom Recovery Image</span></a><span style="color: #000000;"> -&gt; HTC 2.73(rooted) </span><strong><span style="color: #000000;">-&gt; </span></strong><span style="color: #000000;">Latest radio as </span><a href="http://android.modaco.com/content/htc-hero-hero-modaco-com/291942/22-jan-stock-roms-radios-in-update-zip-format-for-gsm-hero/"><span style="color: #000000;">here</span></a></p>
<p>I expected I would end up with hacked/rooted 2.0 android with latest radio.. BUT damm the phone (even though its snappier than before) is still on 1.5!!</p>
<p>I went to the ultimate destination for cooked roms I remembered from winmo days- the xda-developers.com They seem to have everything! even android 2.1!  Without much reading I downloaded one ROM. While it was downloading, I started to read about these android 2.1 roms. I figured out that most weren&#8217;t stable enough like the 1.5 stock, the UI looked horrible on many(I downloaded one with sense UI), camera was not able to deliver full 5mps and mms wasn&#8217;t working yet. Inspite of these I just wanted to try this 2.1 and went on to install it. My phone would take any ROM now as it had a custom recovery patch. The phone booted.. I could spot the new loading animation. After 5 mins of use, HTC Sense felt like a  non-sense! apps were crashing before I could actually explore every menu item in them. Google Goggles wasn&#8217;t there. The new google maps app, couldn&#8217;t determine my location but was able to route and offered me to try the new beta navigation feature (woot!). I couldn&#8217;t find any satellites as I was indoors. The multitouch gestures were there in browser but not swift like the iPhone&#8217;s.</p>
<p>Tomorrow I will take this new google maps for a ride in my locality. After that will go back to the rooted latest HTC ROM with android 1.5 and explore other features.</p>
<p>On other side, I have also put the  android source code for download, why not make the OS say Hello Aakash when it boots <img src='http://blog.aakash.me/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>One more thing, if you are on Windows 7, download the android drivers from softpedia. You need them to run the ADB and hence to install patched recovery image. I have read that all these changes, hacks are reversible, to go back to factory state all you need to do is&#8211; run the RUU from HTC on PC.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2010/02/from-iphone-to-android/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WP Likes 3.0 &#8211; its not just likes!</title>
		<link>http://blog.aakash.me/index.php/2010/01/wp-likes-3-0-a-glimpse/</link>
		<comments>http://blog.aakash.me/index.php/2010/01/wp-likes-3-0-a-glimpse/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:38:44 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-likes]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/?p=72</guid>
		<description><![CDATA[Finally done with the 3rd major iteration of the WP Likes plugin. You can see it in action on this blog. Improvements all around and everything is smoother.
I will enlist a few-

Renders in one line and more refined customization. No more &#8216;you and&#8217; being appended everytime. Differentiates between people and a person.
Translating or reusing the [...]]]></description>
			<content:encoded><![CDATA[<p>Finally done with the 3rd major iteration of the WP Likes plugin. You can see it in action on this blog. Improvements all around and everything is smoother.</p>
<p>I will enlist a few-</p>
<ol>
<li>Renders in one line and more refined customization. No more &#8216;you and&#8217; being appended everytime. Differentiates between people and a person.</li>
<li>Translating or reusing the plugin never been so easy.<br />
<a rel="attachment wp-att-74" href="http://blog.aakash.me/index.php/2010/01/wp-likes-3-0-a-glimpse/capture/"><img class="aligncenter size-medium wp-image-74" title="like texts" src="http://blog.aakash.me/wp-content/uploads/2010/01/Capture-300x111.PNG" alt="like texts" width="300" height="111" /></a></li>
<li><strong>Compatible with popular WP Super Cache plugin</strong>. Automatically updates the cache for the post which is liked. Inform WP likes that WP Super Cache is enabled from the settings page and it will take care of rest.</li>
</ol>
<p>I am testing the plugin right now, so far it has no problems  with WP 2.9.1. You too can try out the plugin from- <a title="wp likes 3.0" href="http://downloads.wordpress.org/plugin/wp-likes.3.0.zip" target="_blank">http://downloads.wordpress.org/plugin/wp-likes.3.0.zip</a> . I will mark this as a stable release after a day or two of testing and consequently your wordpress will ask for plugin upgrade.</p>
<p>[<strong>Update</strong>]: Release time!! This is working like a breeze. If you want further tighter integration(like in Wordpress MU) or even more customization, I am offering support at a very nominal fee. Send a mail to me[at]aakash[d0t]me if you need help. Next version will have improved sidebar widget and people tracking of some form.</p>
<p>[<strong>Update2</strong>]: <strong>This does restore the new default CSS</strong>. You might want to backup the old css for reference. And there are some alternate like button images in plugin images folder, you might want to try them out!</p>
<p>As always press <em>like</em> if you like it. Keep the bug reports and feedback coming.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2010/01/wp-likes-3-0-a-glimpse/feed/</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
		<item>
		<title>Analyse what have you done in past from Twitter and TwitVerbs</title>
		<link>http://blog.aakash.me/index.php/2009/09/analyse-what-have-you-done-in-past-from-twitter-and-twitverbs/</link>
		<comments>http://blog.aakash.me/index.php/2009/09/analyse-what-have-you-done-in-past-from-twitter-and-twitverbs/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 22:09:10 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[appengine]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/?p=59</guid>
		<description><![CDATA[Ever wondered what have you been doing over the last few days, where the time is being spent on?  Well if you tweet a lot, this twitter tool can help you.
TwitVerbs- http://twitverbs.appspot.com/
It gets the verbs from your tweets and lets you know when you have been doing what! Like when you have been going out [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wondered what have you been do<em>ing </em>over the last few days, where the time is being spent on?  Well if you tweet a lot, this twitter tool can help you.</p>
<p>TwitVerbs- <a href="http://twitverbs.appspot.com/" target="_blank">http://twitverbs.appspot.com/</a></p>
<p>It gets the verbs from your tweets and lets you know when you have been doing what! Like when you have been go<em>ing</em> out somewhere,, drink<em>ing</em>, smok<em>ing, </em>cook<em>ing</em> or play<em>ing</em> something. You will be amazed by the results. trust me. eg&#8211;</p>
<div id="attachment_60" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-60" href="http://blog.aakash.me/index.php/2009/09/analyse-what-have-you-done-in-past-from-twitter-and-twitverbs/capture_biz/"><img class="size-medium wp-image-60" title="@biz 's verbs" src="http://blog.aakash.me/wp-content/uploads/2009/09/Capture_biz-300x171.jpg" alt="What @biz has been doing" width="300" height="171" /></a><p class="wp-caption-text">What @biz has been doing</p></div>
<p>This app is the result of my latest crave on python and the google app engine <img src='http://blog.aakash.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Do post feedback, if you forgot the url, here it is again- <a href="http://twitverbs.appspot.com/" target="_blank">http://twitverbs.appspot.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2009/09/analyse-what-have-you-done-in-past-from-twitter-and-twitverbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Likes 2.0</title>
		<link>http://blog.aakash.me/index.php/2009/07/wp-likes-2-0/</link>
		<comments>http://blog.aakash.me/index.php/2009/07/wp-likes-2-0/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 12:34:13 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/index.php/2009/07/wp-likes-2-0/</guid>
		<description><![CDATA[I have been taking note of all the feedback posted by you guys for WP Likes intial 1.0 release.
So with 2.0 I tried to fulfill most of your wishes. Here are the highlights of this release-

Finally an admin panel to tweak common settings like- whether to display on front page / posts on pages.
It shows the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been taking note of all the feedback posted by you guys for WP Likes intial 1.0 release.</p>
<p>So with 2.0 I tried to fulfill most of your wishes. Here are the highlights of this release-</p>
<ul>
<li>Finally an admin panel to tweak common settings like- whether to display on front page / posts on <em>pages.</em></li>
<li>It shows the stats of your most liked posts on your admin dashboard.</li>
<li>You can even show the most liked posts on your blog using the sidebar widget.</li>
<li>CSS editing is now under settings and translating/reusing the plugin is now even more easy as the text&#8217;s for like/unlike can be easily edited.</li>
<li>A UI uplift.. hope you like it.</li>
</ul>
<p>Next major revision will be able to track the person you liked the post as your post commenter, blog user or guest.. still digging into this and wondering how to consume gravatar here.</p>
<p><strong>WP Likes 2.0-  <a href="http://wordpress.org/extend/plugins/wp-likes/" target="_blank">http://wordpress.org/extend/plugins/wp-likes/</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2009/07/wp-likes-2-0/feed/</wfw:commentRss>
		<slash:comments>106</slash:comments>
		</item>
		<item>
		<title>I likes this and so does wordpress</title>
		<link>http://blog.aakash.me/index.php/2009/04/i-likes-this-and-so-does-wordpress/</link>
		<comments>http://blog.aakash.me/index.php/2009/04/i-likes-this-and-so-does-wordpress/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 20:36:43 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-plugin]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/?p=24</guid>
		<description><![CDATA[Atlast I am able to port the  &#8220;likes&#8221; feature from facebook to this blog using only the wordpress API, no dirty hacks!
Currently it allows visitors dropping by your blog to &#8216;like&#8217; your posts if they find it interesting. Of  course only once, they can unlike it if the did so by mistake or just to [...]]]></description>
			<content:encoded><![CDATA[<p>Atlast I am able to port the  &#8220;likes&#8221; feature from facebook to this blog using only the wordpress API, no dirty hacks!</p>
<p>Currently it allows visitors dropping by your blog to &#8216;like&#8217; your posts if they find it interesting. Of  course only once, they can unlike it if the did so by mistake or just to play around with this awesome feature.</p>
<p>Now the big question- Can I track who liked my post?</p>
<p>Well yes.. if the user is a registered member of your site 0_O  // work being done on this folks, any ideas? chip in..</p>
<p>You can download the 1.0 beta bits of the WP likes plugin from <a title="download now" href="http://downloads.wordpress.org/plugin/wp-likes.zip">here</a>.</p>
<p>Upload the extracted zip folder to your wp-content/plugin directory of your blog. It will automatically appear in the plugin section of your Admin Panel, simply activate it from there.</p>
<p>In the next coming days I will work on packaging it even better and get it to the wordpress directory.</p>
<p>[<strong>UPDATE 1</strong><strong> </strong>] The plugin is available directly from wordpress directory- <a href="http://wordpress.org/extend/plugins/wp-likes/">http://wordpress.org/extend/plugins/wp-likes/</a> jQuery is now fetched in its best form(minified,GZIPed, ~20kb) at lightening speed from Google servers. The jQuery dependency will fade away in future releases.</p>
<p>[<strong>UPDATE 2</strong>] The version 1.1 is released with a lot of critical fixes, please give it a shot again if it was failing previously.</p>
<p>[<strong>UPDATE 3</strong>] Just commited the 2.0 version to the svn repo. Brings you a lot of customization, dashboard stats widget and sidebar. Will make a new post soon about it, till then take it for ride and keep the feedback coming!</p>
<p><strong><a href="http://blog.aakash.me/index.php/2009/07/wp-likes-2-0/">WP likes 2.0</a> features and highlights.</strong></p>
<p>So LIKE this?? then jump on the link below.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2009/04/i-likes-this-and-so-does-wordpress/feed/</wfw:commentRss>
		<slash:comments>93</slash:comments>
		</item>
		<item>
		<title>Windows Server 08, IIS7,php and wordpress</title>
		<link>http://blog.aakash.me/index.php/2009/03/windows-server-08-iis-7-php-and-wordpress/</link>
		<comments>http://blog.aakash.me/index.php/2009/03/windows-server-08-iis-7-php-and-wordpress/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 21:11:32 +0000</pubDate>
		<dc:creator>Aakash Bapna</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.aakash.me/?p=27</guid>
		<description><![CDATA[[Windows Server 08]
Recently I moved from joyent to a dedicated server at softlayer running Windows server 08, reason being my free trial with them was over. I had already done a lot of testing with a unix based server and wanted to try out windows server and IIS7. I have also moved my opensocail app&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>[<strong>Windows Server 08</strong>]</p>
<p>Recently I moved from joyent to a dedicated server at <a href="http://www.softlayer.com/index.html">softlayer</a> running Windows server 08, reason being my free trial with them was over. I had already done a lot of testing with a unix based server and wanted to try out windows server and IIS7. I have also moved my opensocail app&#8217;s and almost everything over here. It boasts a 1GB  RAM and an Intel dual core processor(3GHz). Initially I had a lot problems setuping things, the server couldn&#8217;t boot up many a times after a reboot request, there were problem with ethernet drivers which caused it to go down every week.  Thanks to softlayer&#8217;s customer support the kinks were ironed out, prominently the updated ethernet driver from Intel fixed a lot of problems.</p>
<p>I am using IIS7 with fast-cgi to run my php, MySQL for storing data. For an inexperienced guy like me who is still poking around with unix but is using windows systems since childhood.. this server yielded a lot of good results,I was able to digg a lot deeper into bugs, and find the culprit code. I have a better view of things over here, eg- I could visualize the</p>
<div id="attachment_30" class="wp-caption aligncenter" style="width: 489px"><a rel="attachment wp-att-30" href="http://blog.aakash.me/index.php/2009/03/windows-server-08-iis-7-php-and-wordpress/2009-03-11_0139/"><img class="size-full wp-image-30" title="2009-03-11_0139" src="http://blog.aakash.me/wp-content/uploads/2009/03/2009-03-11_0139.png" alt="mysql admin" width="479" height="313" /></a><p class="wp-caption-text">mysql admin</p></div>
<p>queries being thrown on MySQL, active connections, key usage, query cache, slow queries and time taken in executing, sorting, searching and locking/unlocking tables.</p>
<p>LEARNING: Never use the default mysql config file thats applied after installation. This results in your perf. issues with your system resources lying used. Edit the config file to your needs, your server&#8217;s thresholds to get a boast. DO NOT  use the GUI tool to edit the config, it will mess up the settings and can prevent the MySQL from starting.. use a notepad.</p>
<p>You will find a lot of articles on internet for installing PHP with fast-cgi on IIS7, improving its performance.  The performance counters in Server Manager give you a lot of insight into the machine, incoming requests.</p>
<p>[<strong>WordPress</strong>]</p>
<p>This blog which runs on wordpress which inturn depends on php, mysql. The feature set, flexibility provided for wordpress is really amazing. It has a really good developer whichs provides it with numerous helpful plugins. Guess what&#8230;. now even I want to do something with it, have an idea..already started working on it <img src='http://blog.aakash.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As I installed wordpress, I noticed that I couldn&#8217;t directly update my plugins,or  install new ones directly from admin panel. I had to download it manually and then put it in wp-content/plugins folder to install it. The error was &#8220;<span style="font-family: 'Courier New'; line-height: 18px; white-space: pre;">Download failed.: Could not create Temporary file<span style="font-family: Georgia; line-height: 19px; white-space: normal;">&#8220;.</span></span><br />
I googled, soon found out the solution  <a href="http://wordpress.org/support/topic/243300">http://wordpress.org/support/topic/243300</a> as described by the guy in 4th post.</p>
<p>You need to go to folder wp-contents-&gt;properties-&gt;security tab and give read, write, modify permissions to user network service. I remember coming across permission errors like this quite a few times on IIS and PHP, the simillar approaches worked to fix them</p>
<p>So things were running fine.. and I went on to optimize wp on IIS7. Read an article which said to start user and kernel mode output caches on the IIS, could see some improvement. Installed the google gears plugin for the admin panel to fasten it.</p>
<p>I also came across an IIS filter called &#8220;<a href="http://www.ripcordsoftware.com/IISxpress/IISxpress_for_IIS.aspx">IISxpress</a>&#8221; which said that it would apply compression on  the IIS outputs and do a lot of optimization. I jumped on it and installed it.. but to my dismay.. my wordpress&#8217;s admin panel wasn&#8217;t opening. After 2-3 subsequent retries to load the admin panel crashed the app pool iteself. which resuled in &#8220;503: service unavailable&#8221; errors. I could guess that this time the culprit was IISxpress, uninstalled it(required a reboot!) and everything went back to normal.</p>
<p>LEARNING: Cache and Compression- you need to get them done the right, balanced way, else they can ruin an running app.</p>
<p>Again unix&#8217;s power I had seen, experienced and undoubtedly great once mastered, but as a beginner, at critical times I ended up googling unix, SUDOing, changing directories  rather than digging the root cause of an issue. Also on Windows server you can run php as well as ASP.NET both with decent performance.</p>
<p>If you are a student and would like to try out windows server 08, you can actually get licensed genuine version directly from Microsoft through the <a href="https://www.dreamspark.com/default.aspx">dreamspark</a> program. This is what I did.. I first installed it on my local machine and after getting hold of it in few days.. went on to purchase the server on internet which costs me $100 a month!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aakash.me/index.php/2009/03/windows-server-08-iis-7-php-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
