<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0">

<channel>
	<title>Therefore Systems</title>
	
	<link>http://www.thereforesystems.com</link>
	<description>a learning effort by Deepak Kapoor</description>
	<lastBuildDate>Wed, 16 May 2012 01:12:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<feedburner:info uri="thereforesystems" /><feedburner:emailServiceId>ThereforeSystems</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/OneDotNetWay" /><feedburner:info uri="onedotnetway" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-nd/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>OneDotNetWay</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Cloudera VirtualBox boot error NET: Registered protocol family 2</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/3-DVZGwE-zY/</link>
		<comments>http://www.thereforesystems.com/cloudera-virtualbox-boot-error-net-registered-protocol-family-2/#comments</comments>
		<pubDate>Wed, 16 May 2012 01:11:17 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Cloudera]]></category>
		<category><![CDATA[Hadoop]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1231</guid>
		<description><![CDATA[<p>I downloaded Cloudera <a href="https://ccp.cloudera.com/display/SUPPORT/Downloads">CDH3 Virtual Machine for VirtualBox</a> to have a readymade Hadoop environment to experiment with. While booting the VM I got an error and the boot sequence stalled. </p> <p></p> <p>&#160;</p> <p>The issue here is that IOAPIC is disabled for this VM. You can find out more about IOAPIC <a href="http://www.intel.com/design/chipsets/datashts/290566.htm">here</a>.</p> <p>To [...]<p><a href="http://www.thereforesystems.com/cloudera-virtualbox-boot-error-net-registered-protocol-family-2/">Cloudera VirtualBox boot error NET: Registered protocol family 2</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I downloaded Cloudera <a href="https://ccp.cloudera.com/display/SUPPORT/Downloads">CDH3 Virtual Machine for VirtualBox</a> to have a readymade Hadoop environment to experiment with. While booting the VM I got an error and the boot sequence stalled. </p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Cloudera CDH boot error" border="0" alt="Cloudera CDH boot error" src="http://www.thereforesystems.com/wp-content/uploads/2012/05/image.png" width="612" height="339"></p>
<p>&nbsp;</p>
<p>The issue here is that IOAPIC is disabled for this VM. You can find out more about IOAPIC <a href="http://www.intel.com/design/chipsets/datashts/290566.htm">here</a>.</p>
<p>To enable IOAPIC, power off your virtual machine. Go to settings –&gt; System. Click on Motherboard tab and check Enable IO APIC.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Cloudera VirtualBox image settings" border="0" alt="Cloudera VirtualBox image settings" src="http://www.thereforesystems.com/wp-content/uploads/2012/05/image1.png" width="565" height="421"></p>
<p>After this Cloudera image boots fine.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Cloudera CDH3" border="0" alt="Cloudera CDH3" src="http://www.thereforesystems.com/wp-content/uploads/2012/05/image2.png" width="645" height="536"></p>
<p><a href="http://www.thereforesystems.com/cloudera-virtualbox-boot-error-net-registered-protocol-family-2/">Cloudera VirtualBox boot error NET: Registered protocol family 2</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/ODdoUB-zUVA" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/3-DVZGwE-zY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/cloudera-virtualbox-boot-error-net-registered-protocol-family-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/cloudera-virtualbox-boot-error-net-registered-protocol-family-2/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/ODdoUB-zUVA/</feedburner:origLink></item>
		<item>
		<title>Error Installing ASP.NET MVC 4 with Web Platform Installer</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/E-rop5ZS5Yk/</link>
		<comments>http://www.thereforesystems.com/error-installing-asp-net-mvc-4-with-web-platform-installer/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 00:29:27 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1223</guid>
		<description><![CDATA[<p>I’m starting this post with a rant. Here it goes. Web Platform Installer has got to be the most pathetic piece of crap ever produced by Microsoft. It just does not work. I can’t understand how they are able to push out such a piece of garbage. I’m angry, and I have my reasons. So [...]<p><a href="http://www.thereforesystems.com/error-installing-asp-net-mvc-4-with-web-platform-installer/">Error Installing ASP.NET MVC 4 with Web Platform Installer</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I’m starting this post with a rant. Here it goes. Web Platform Installer has got to be the most pathetic piece of crap ever produced by Microsoft. It just does not work. I can’t understand how they are able to push out such a piece of garbage. I’m angry, and I have my reasons. So I want to play with ASP.NET MVC 4. I go to the website and I attempt an install. After about 5 minutes Web Platform Installer shows me this:</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Web Platform Installer Error" border="0" alt="Web Platform Installer Error" src="http://www.thereforesystems.com/wp-content/uploads/2012/04/SNAGHTML417603de.png" width="700" height="480"></p>
<p>Failed to Install? Why? </p>
<p>You are sorry? You’ve got to be kidding me. </p>
<p>Now I’ve had my <a href="http://www.thereforesystems.com/wat080-failed-to-locate-the-windows-azure-sdk-please-make-sure-the-windows-azure-sdk-v1-5-is-installed/">adventures with Web Platform Installer</a> in the past. I should not have bothered with it again. Next time I’m not touching this thing. Rant over.</p>
<p>To install it without raising your blood pressure, follow this link:</p>
<p><a title="http://download.microsoft.com/download/3/1/0/310C7C02-9E25-4A11-88E0-4CEC53556CC1/AspNetMVC4Setup.exe" href="http://download.microsoft.com/download/3/1/0/310C7C02-9E25-4A11-88E0-4CEC53556CC1/AspNetMVC4Setup.exe">http://download.microsoft.com/download/3/1/0/310C7C02-9E25-4A11-88E0-4CEC53556CC1/AspNetMVC4Setup.exe</a></p>
<p><a href="http://www.thereforesystems.com/error-installing-asp-net-mvc-4-with-web-platform-installer/">Error Installing ASP.NET MVC 4 with Web Platform Installer</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/2trKnaDIq4k" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/E-rop5ZS5Yk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/error-installing-asp-net-mvc-4-with-web-platform-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/error-installing-asp-net-mvc-4-with-web-platform-installer/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/2trKnaDIq4k/</feedburner:origLink></item>
		<item>
		<title>Meaningless number: 230,000,000</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/nri28KOaI08/</link>
		<comments>http://www.thereforesystems.com/meaningless-number-230000000/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 01:53:58 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1219</guid>
		<description><![CDATA[<p>Search for Sydney weather and Google says that it has found 230,000,000 results. It also takes pride in telling us that it took 0.16 seconds to complete the task. Am I impressed? Totally.</p> <p>&#160;</p> <p></p> <p>&#160;</p> <p>So let’s just see what Google has to show me on page 230,000. </p> <p>&#160;</p> <p></p> <p>&#160;</p> <p>WTF? </p> [...]<p><a href="http://www.thereforesystems.com/meaningless-number-230000000/">Meaningless number: 230,000,000</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Search for Sydney weather and Google says that it has found 230,000,000 results. It also takes pride in telling us that it took 0.16 seconds to complete the task. Am I impressed? Totally.</p>
<p>&nbsp;</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Google search for Sydney weather. 230,000,000 results found." border="0" alt="Google search for Sydney weather. 230,000,000 results found." src="http://www.thereforesystems.com/wp-content/uploads/2012/04/image.png" width="714" height="130"></p>
<p>&nbsp;</p>
<p>So let’s just see what Google has to show me on page 230,000. </p>
<p>&nbsp;</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Google search for Sydney weather. Cannot show more than 1000 results." border="0" alt="Google search for Sydney weather. Cannot show more than 1000 results." src="http://www.thereforesystems.com/wp-content/uploads/2012/04/image1.png" width="804" height="365"></p>
<p>&nbsp;</p>
<p>WTF? </p>
<p>What is the point of bragging about those 230,000,000 results in 0.16 seconds when you will only show 1000 of those results? </p>
<p>Bad Google, bad bad Google.</p>
<p><a href="http://www.thereforesystems.com/meaningless-number-230000000/">Meaningless number: 230,000,000</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/iijH5lhD4Xs" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/nri28KOaI08" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/meaningless-number-230000000/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/meaningless-number-230000000/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/iijH5lhD4Xs/</feedburner:origLink></item>
		<item>
		<title>Enable GZip Compression in Django</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/ITJtkhWbYwQ/</link>
		<comments>http://www.thereforesystems.com/enable-gzip-compression-in-django/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 04:13:59 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1196</guid>
		<description><![CDATA[<p>GZip compression reduces size of payload sent to browser which in turn increases performance for your site. If you are not doing this then stop everything and <a title="Benefits of GZip compression." href="http://developer.yahoo.com/performance/rules.html#gzip">read this</a>. Hopefully you will be convinced. I for one use it all the time. </p> <p>How do we do it in Django? [...]<p><a href="http://www.thereforesystems.com/enable-gzip-compression-in-django/">Enable GZip Compression in Django</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>GZip compression reduces size of payload sent to browser which in turn increases performance for your site. If you are not doing this then stop everything and <a title="Benefits of GZip compression." href="http://developer.yahoo.com/performance/rules.html#gzip">read this</a>. Hopefully you will be convinced. I for one use it all the time. </p>
<p>How do we do it in Django? Just include GZip Middleware. How? Easy. In your settings.py file look for MIDDLEWARE_CLASSES and add</p>
<blockquote><p>django.middleware.gzip.GZipMiddleware</p>
</blockquote>
<p>Here it is in my settings.py along with other middleware classes I am using.</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">MIDDLEWARE_CLASSES <span style="color: #66cc66;">=</span> <span style="color: black;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #483d8b;">'django.middleware.common.CommonMiddleware'</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; <span style="color: #483d8b;">'django.contrib.sessions.middleware.SessionMiddleware'</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; <span style="color: #483d8b;">'django.middleware.csrf.CsrfViewMiddleware'</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; <span style="color: #483d8b;">'django.contrib.auth.middleware.AuthenticationMiddleware'</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; <span style="color: #483d8b;">'django.contrib.messages.middleware.MessageMiddleware'</span><span style="color: #66cc66;">,</span><br />
&nbsp; &nbsp; <span style="color: #483d8b;">'django.middleware.gzip.GZipMiddleware'</span><span style="color: #66cc66;">,</span><br />
<br />
<span style="color: black;">&#41;</span></div></div>
<p>I created a test page with lots of lorem ipsum and look at the difference in size of data transferred to the browser.</p>
<p>Without GZip.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Django GZip compression" border="0" alt="Django GZip compression" src="http://www.thereforesystems.com/wp-content/uploads/2012/03/image3.png" width="599" height="41"></p>
<p>With GZip.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Django GZip compression" border="0" alt="Django GZip compression" src="http://www.thereforesystems.com/wp-content/uploads/2012/03/image4.png" width="600" height="44"></p>
<p>&nbsp;</p>
<p>Of course there are many other steps you can and you must take to improve performance of your site. Here is the <a title="Rules to increase performance of a website." href="http://developer.yahoo.com/performance/rules.html">link</a> again to the site which you must read if you care about performance.</p>
<p><a href="http://www.thereforesystems.com/enable-gzip-compression-in-django/">Enable GZip Compression in Django</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/xUGYZh591H8" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/ITJtkhWbYwQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/enable-gzip-compression-in-django/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/enable-gzip-compression-in-django/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/xUGYZh591H8/</feedburner:origLink></item>
		<item>
		<title>Customize Response Headers in Django</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/I4GyCitfYR0/</link>
		<comments>http://www.thereforesystems.com/customize-response-headers-in-django/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 00:32:39 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1180</guid>
		<description><![CDATA[<p>Django makes it as easy as it can be to work with Response Headers. These headers in case you did not know are sent to the browser along with the response to a request. You can customize values for existing headers and also add new headers. In this example we will look at how easily [...]<p><a href="http://www.thereforesystems.com/customize-response-headers-in-django/">Customize Response Headers in Django</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Django makes it as easy as it can be to work with Response Headers. These headers in case you did not know are sent to the browser along with the response to a request. You can customize values for existing headers and also add new headers. In this example we will look at how easily it is done in Django. </p>
<p>We will use a simple example of a page which displays current server date and time. The output of the page does not matter for this example because we are focusing on Response Headers here. Our example page is served by this view:</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">def</span> current_datetime<span style="color: black;">&#40;</span>request<span style="color: black;">&#41;</span>:<br />
&nbsp; &nbsp; now <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">datetime</span>.<span style="color: #dc143c;">datetime</span>.<span style="color: black;">now</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; t <span style="color: #66cc66;">=</span> get_template<span style="color: black;">&#40;</span><span style="color: #483d8b;">'current_datetime.html'</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; c <span style="color: #66cc66;">=</span> Context<span style="color: black;">&#40;</span><span style="color: black;">&#123;</span><span style="color: #483d8b;">'current_date'</span>: now<span style="color: black;">&#125;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; r <span style="color: #66cc66;">=</span> HttpResponse<span style="color: black;">&#40;</span>t.<span style="color: black;">render</span><span style="color: black;">&#40;</span>c<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">return</span> r</div></div>
<p>&nbsp;</p>
<p>By default Django will send <strong>Content-Type</strong>, <strong>Date</strong> and <strong>Server</strong> response headers to the browser as seen in the screenshot below. </p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Default Response Headers from Django" border="0" alt="Default Response Headers from Django" src="http://www.thereforesystems.com/wp-content/uploads/2012/03/image1.png" width="644" height="370"></p>
<p>Let’s say that we want to modify the value for Server header. You know, to feel the false satisfaction of making it hard for hackers to find out the technology stack used by our website. Besides the sarcasm, it can be done by modifying our view like this:</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">def</span> current_datetime<span style="color: black;">&#40;</span>request<span style="color: black;">&#41;</span>:<br />
&nbsp; &nbsp; now <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">datetime</span>.<span style="color: #dc143c;">datetime</span>.<span style="color: black;">now</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; t <span style="color: #66cc66;">=</span> get_template<span style="color: black;">&#40;</span><span style="color: #483d8b;">'current_datetime.html'</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; c <span style="color: #66cc66;">=</span> Context<span style="color: black;">&#40;</span><span style="color: black;">&#123;</span><span style="color: #483d8b;">'current_date'</span>: now<span style="color: black;">&#125;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; r <span style="color: #66cc66;">=</span> HttpResponse<span style="color: black;">&#40;</span>t.<span style="color: black;">render</span><span style="color: black;">&#40;</span>c<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; r<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Server'</span><span style="color: black;">&#93;</span> <span style="color: #66cc66;">=</span> <span style="color: #483d8b;">'Served by 3cpo'</span><br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">return</span> r</div></div>
<p>&nbsp;</p>
<p>Each view in Django returns a HttpResponse and we can work with it as we would work with a dictionary. We can see that the value for Server response header has been changed to ‘Served by 3cpo’.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Server Header Served by Django" border="0" alt="Server Header Served by Django" src="http://www.thereforesystems.com/wp-content/uploads/2012/03/image2.png" width="638" height="362"></p>
<p>Adding a new header is also simple. It is done by adding a new element to HttpResponse we send back. As shown here.</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">def</span> current_datetime<span style="color: black;">&#40;</span>request<span style="color: black;">&#41;</span>:<br />
&nbsp; &nbsp; now <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">datetime</span>.<span style="color: #dc143c;">datetime</span>.<span style="color: black;">now</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; t <span style="color: #66cc66;">=</span> get_template<span style="color: black;">&#40;</span><span style="color: #483d8b;">'current_datetime.html'</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; c <span style="color: #66cc66;">=</span> Context<span style="color: black;">&#40;</span><span style="color: black;">&#123;</span><span style="color: #483d8b;">'current_date'</span>: now<span style="color: black;">&#125;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; r <span style="color: #66cc66;">=</span> HttpResponse<span style="color: black;">&#40;</span>t.<span style="color: black;">render</span><span style="color: black;">&#40;</span>c<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; r<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Server'</span><span style="color: black;">&#93;</span> <span style="color: #66cc66;">=</span> <span style="color: #483d8b;">'Served by 3cpo'</span><br />
&nbsp; &nbsp; r<span style="color: black;">&#91;</span><span style="color: #483d8b;">'x-powered-by'</span><span style="color: black;">&#93;</span> <span style="color: #66cc66;">=</span> <span style="color: #483d8b;">'my Linux server'</span><br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">return</span> r</div></div>
<p>&nbsp;</p>
<p>We have just included a new response header ‘x-powered-by’ which is set to ‘my Linux server’.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Adding new Response Header in Django" border="0" alt="Adding new Response Header in Django" src="http://www.thereforesystems.com/wp-content/uploads/2012/03/image7.png" width="641" height="373"></p>
<p>Simple enough, right? Well, this is what I like about Django and its batteries included approach.</p>
<p><a href="http://www.thereforesystems.com/customize-response-headers-in-django/">Customize Response Headers in Django</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/ksdFeLKT5To" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/I4GyCitfYR0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/customize-response-headers-in-django/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/customize-response-headers-in-django/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/ksdFeLKT5To/</feedburner:origLink></item>
		<item>
		<title>Beautiful Python: Working With English Alphabets</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/y01KUFhc7Ac/</link>
		<comments>http://www.thereforesystems.com/beautiful-python-working-with-english-alphabets/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 23:26:40 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Beautiful Python]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1174</guid>
		<description><![CDATA[<p>Yesterday while working on my website I came across a need to display links which start with alphabets from A – Z. Now there are many ways to skin a cat and one of them is to create an array and fill it with 26 elements, each representing an alphabet. Something like a[0] = ‘A’, [...]<p><a href="http://www.thereforesystems.com/beautiful-python-working-with-english-alphabets/">Beautiful Python: Working With English Alphabets</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Yesterday while working on my website I came across a need to display links which start with alphabets from A – Z. Now there are many ways to skin a cat and one of them is to create an array and fill it with 26 elements, each representing an alphabet. Something like a[0] = ‘A’, a[1] = ‘B’ and so on. But that is not Pythonic. This is:</p>
<p>First step is to get all alphabets in English language</p>
<blockquote><p>&gt;&gt;&gt; import string<br />&gt;&gt;&gt; alphas = string.ascii_lowercase<br />&gt;&gt;&gt; alphas<br />&#8216;abcdefghijklmnopqrstuvwxyz&#8217;<br />&gt;&gt;&gt;</p>
</blockquote>
<p>Great! But I’d like to have them as a list so that I produce links for each element or do something else with them.</p>
<blockquote><p>&gt;&gt;&gt; import string<br />&gt;&gt;&gt; alphas = string.ascii_lowercase<br />&gt;&gt;&gt; alphas<br />&#8216;abcdefghijklmnopqrstuvwxyz&#8217;<br />&gt;&gt;&gt; list_of_alphas = list(alphas)<br />&gt;&gt;&gt; list_of_alphas<br />['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',<br /> 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']<br />&gt;&gt;&gt;</p>
</blockquote>
<p>This looks good. How about making them all upper case? Easy enough.</p>
<blockquote><p>&gt;&gt;&gt; import string<br />&gt;&gt;&gt; alphas = string.swapcase(string.ascii_lowercase)<br />&gt;&gt;&gt; list_of_alphas = list(alphas)<br />&gt;&gt;&gt; list_of_alphas<br />['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',<br /> 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']<br />&gt;&gt;&gt;</p>
</blockquote>
<p>I think this is pretty cool. </p>
<p><a href="http://www.thereforesystems.com/beautiful-python-working-with-english-alphabets/">Beautiful Python: Working With English Alphabets</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/4PhlJBnOA2Y" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/y01KUFhc7Ac" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/beautiful-python-working-with-english-alphabets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/beautiful-python-working-with-english-alphabets/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/4PhlJBnOA2Y/</feedburner:origLink></item>
		<item>
		<title>The Zen Of Python</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/tjkvcVzqTqs/</link>
		<comments>http://www.thereforesystems.com/the-zen-of-python/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 00:14:36 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1172</guid>
		<description><![CDATA[<p>These days I am doing a great amount of work using Python. If you are game to learn a new language then I highly recommend looking at Python. You will find it both <a href="http://onstartups.com/tabid/3339/bid/20493/Why-PHP-Is-Fun-and-Easy-But-Python-Is-Marriage-Material.aspx">fun and productive</a>. Basic tenets of the language can be summarized in what is called “The Zen of Python”.</p> <p>The Zen [...]<p><a href="http://www.thereforesystems.com/the-zen-of-python/">The Zen Of Python</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>These days I am doing a great amount of work using Python. If you are game to learn a new language then I highly recommend looking at Python. You will find it both <a href="http://onstartups.com/tabid/3339/bid/20493/Why-PHP-Is-Fun-and-Easy-But-Python-Is-Marriage-Material.aspx">fun and productive</a>. Basic tenets of the language can be summarized in what is called “The Zen of Python”.</p>
<p>The Zen of Python, by Tim Peters</p>
<ul>
<li>Beautiful is better than ugly.</li>
<li>Explicit is better than implicit.</li>
<li>Simple is better than complex.</li>
<li>Complex is better than complicated.</li>
<li>Flat is better than nested.</li>
<li>Sparse is better than dense.</li>
<li>Readability counts.</li>
<li>Special cases aren&#8217;t special enough to break the rules.</li>
<li>Although practicality beats purity.</li>
<li>Errors should never pass silently.</li>
<li>Unless explicitly silenced.</li>
<li>In the face of ambiguity, refuse the temptation to guess.</li>
<li>There should be one&#8211; and preferably only one &#8211;obvious way to do it.</li>
<li>Although that way may not be obvious at first unless you&#8217;re Dutch.</li>
<li>Now is better than never.</li>
<li>Although never is often better than *right* now.</li>
<li>If the implementation is hard to explain, it&#8217;s a bad idea.</li>
<li>If the implementation is easy to explain, it may be a good idea.</li>
<li>Namespaces are one honking great idea &#8212; let&#8217;s do more of those!</li>
</ul>
<p>Where did I get this from? Well, from Python itself. Just type <font style="background-color: #cccccc" color="#0000ff">&nbsp; import this&nbsp; </font> on Python prompt.</p>
<p><a href="http://www.thereforesystems.com/the-zen-of-python/">The Zen Of Python</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/9juNxzdgpi8" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/tjkvcVzqTqs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/the-zen-of-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/the-zen-of-python/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/9juNxzdgpi8/</feedburner:origLink></item>
		<item>
		<title>Install classic desktop in Ubuntu 11.10</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/WW4Alq-dd00/</link>
		<comments>http://www.thereforesystems.com/install-classic-gnome-desktop-in-ubuntu-11-10/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 06:07:25 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1165</guid>
		<description><![CDATA[<p>Ubuntu 11.10 does not include classic GNOME desktop by default. And if you are like me then you want to get rid of Unity as soon as you log on. GNOME desktop can be installed by executing this command in terminal.</p> <p>sudo apt-get install gnome-panel</p> <p>After the package is installed, log out and log back [...]<p><a href="http://www.thereforesystems.com/install-classic-gnome-desktop-in-ubuntu-11-10/">Install classic desktop in Ubuntu 11.10</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 11.10 does not include classic GNOME desktop by default. And if you are like me then you want to get rid of Unity as soon as you log on. GNOME desktop can be installed by executing this command in terminal.</p>
<blockquote><p>sudo apt-get install gnome-panel</p>
</blockquote>
<p>After the package is installed, log out and log back in. Click on the gear icon and select GNOME Classic or GNOME Classic (No effects) as per liking. That’s it. Classic desktop should be back now and life will seem a bit more normal.</p>
<p><a href="http://www.thereforesystems.com/wp-content/uploads/2012/03/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Activate classic desktop in Ubuntu 11.10" border="0" alt="Ubuntu Log in screen" src="http://www.thereforesystems.com/wp-content/uploads/2012/03/image_thumb.png" width="516" height="341"></a></p>
<p><a href="http://www.thereforesystems.com/install-classic-gnome-desktop-in-ubuntu-11-10/">Install classic desktop in Ubuntu 11.10</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/nTnGVTxqmRs" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/WW4Alq-dd00" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/install-classic-gnome-desktop-in-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/install-classic-gnome-desktop-in-ubuntu-11-10/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/nTnGVTxqmRs/</feedburner:origLink></item>
		<item>
		<title>WAT080: Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v1.5 is installed.</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/X3hU_OylSK0/</link>
		<comments>http://www.thereforesystems.com/wat080-failed-to-locate-the-windows-azure-sdk-please-make-sure-the-windows-azure-sdk-v1-5-is-installed/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 10:32:50 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1153</guid>
		<description><![CDATA[<p>After installing Windows Azure SDK and Visual Studio tools November 2011, I got this error when compiling an existing Cloud project.</p> <p>WAT080: Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v1.5 is installed.</p> <p>This post documents the roller coaster ride I went through to solve the problem. If you [...]<p><a href="http://www.thereforesystems.com/wat080-failed-to-locate-the-windows-azure-sdk-please-make-sure-the-windows-azure-sdk-v1-5-is-installed/">WAT080: Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v1.5 is installed.</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>After installing Windows Azure SDK and Visual Studio tools November 2011, I got this error when compiling an existing Cloud project.</p>
<p><font color="#c0504d">WAT080: Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v1.5 is installed.</font></p>
<p>This post documents the roller coaster ride I went through to solve the problem. If you are interested in just the solution then here it is:</p>
<p><font color="#008080">Download the bits from <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=28045">this page</a> and install them manually.</font> </p>
<p>If you are interested in how I got to the solution then read on. </p>
<p>Before anything, let me clarify that I already had an older version of Azure SDK and tools on my machine. I used Web Platform installer to install the latest Azure SDK and Visual Studio Tools i.e. November update. Then a drama started. </p>
<p>The build error I got said that I should make sure that Windows Azure SDK v1.5 is installed. But I already installed v1.6. If the project files were changed between versions of tools then they should have been upgraded to latest version by Visual Studio. This did not happen. My first maneuver was to re-install Visual Studio tools. I downloaded just the standalone installer for tools and tried installing it. I got this error.</p>
<p>&#160;<img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.thereforesystems.com/wp-content/uploads/2012/02/image.png" width="485" height="300" /></p>
<p>The log file showed me these errors:</p>
<p> <font color="#0000ff" size="1">[16AC:16B0][2012-02-07T07:21:21]: Error 0&#215;80070643: Failed to install MSI package.    <br />[16AC:16B0][2012-02-07T07:21:21]: Error 0&#215;80070643: Failed to execute MSI package.     <br />[1744:1748][2012-02-07T07:21:21]: Error 0&#215;80070643: Failed to configure per-machine MSI package.     <br />[1744:1748][2012-02-07T07:21:21]: Error 0&#215;80070643: Failed to execute MSI package.</font>
<p>&#160;</p>
<p>I was in no mood for looking into the details of errors in the log file. I just wanted to get going with Azure and not worry about installer logs. So I uninstalled the SDK, Authoring Tools and Visual Studio tools to get a clean Azure free environment.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.thereforesystems.com/wp-content/uploads/2012/02/image1.png" width="321" height="51" /></p>
<p>After uninstalling Azure bits I fired up Web Platform Installer and installed Azure SDK and tools. Little did I know that this was not going to work. Here is a screenshot of the errors I got.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.thereforesystems.com/wp-content/uploads/2012/02/image2.png" width="622" height="414" /></p>
<p>By this time I was annoyed (you may substitute “annoyed” with a more colorful word of your choice). Web Platform Installer should just do it, right? It should take care of dependencies, right? Well that was not the case.</p>
<p>By this time I gave up on Web Platform Installer and downloaded standalone Azure bits and decided to install them manually. Here is the download link:</p>
<p><a title="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=28045" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=28045">http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=28045</a></p>
<p>I downloaded and installed the ones highlighted below.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.thereforesystems.com/wp-content/uploads/2012/02/image3.png" width="641" height="458" /></p>
<p>After installing Azure Emulator, Libs and SDK, I installed Visual Studio Tools and it installed correctly.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.thereforesystems.com/wp-content/uploads/2012/02/image4.png" width="485" height="300" /></p>
<p>I opened the project which was giving me a build error. Visual Studio asked me to convert it to a newer format. I happily obliged. Finally I saw <font color="#00c100"><strong>Build Succeeded</strong></font>.</p>
<p>Although not a big deal specially after the issue was resolved, I still feel that installer could have done a better job. Anyhow, I’m back in the cloud <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.thereforesystems.com/wp-content/uploads/2012/02/wlEmoticon-smile.png" /></p>
<p><a href="http://www.thereforesystems.com/wat080-failed-to-locate-the-windows-azure-sdk-please-make-sure-the-windows-azure-sdk-v1-5-is-installed/">WAT080: Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v1.5 is installed.</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/oFmV92Za4oY" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/X3hU_OylSK0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/wat080-failed-to-locate-the-windows-azure-sdk-please-make-sure-the-windows-azure-sdk-v1-5-is-installed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/wat080-failed-to-locate-the-windows-azure-sdk-please-make-sure-the-windows-azure-sdk-v1-5-is-installed/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/oFmV92Za4oY/</feedburner:origLink></item>
		<item>
		<title>Remove langauge resources and clean up disk space on mac</title>
		<link>http://feedproxy.google.com/~r/OneDotNetWay/~3/bE_fB5SgU_8/</link>
		<comments>http://www.thereforesystems.com/remove-langauge-resources-and-clean-up-disk-space-on-mac/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 12:10:06 +0000</pubDate>
		<dc:creator>Deepak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.thereforesystems.com/?p=1135</guid>
		<description><![CDATA[<p>Since last few days I noticed a significant decline in performance on my mac. After opening about 8 different apps my machine would become irritatingly unresponsive. Now macs don&#8217;t slow down, or do they? Well the fact is that they do and this could be because of a number of reasons. In my case it [...]<p><a href="http://www.thereforesystems.com/remove-langauge-resources-and-clean-up-disk-space-on-mac/">Remove langauge resources and clean up disk space on mac</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Since last few days I noticed a significant decline in performance on my mac. After opening about 8 different apps my machine would become irritatingly unresponsive. Now macs don&#8217;t slow down, or do they? Well the fact is that they do and this could be because of a number of reasons. In my case it was due to lack of empty space on my hard drive. So it was time for a clean up. I started by deleting music files which I would never listen to. Then I started thinking about other stuff I can do without and which comes with Mac OSX pre-installed. Language files happened to be one such culprit. In reality I don&#8217;t use anything other than English on my machine. Maybe once in a while I read stuff in hindi but that&#8217;s about it.</p>
<p>To clean up unnecessary language resources I found a utility called <a href="http://monolingual.sourceforge.net/" title="Monolingual">Monolingual</a>. It removes files for languages you do not need. After running the utility, I gained 2.1GB of disk space.</p>
<p>
<img src="http://www.thereforesystems.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-04-at-11.08.29-PM.png" width="434" height="453" alt="Screen Shot 2012-02-04 at 11.08.29 PM.png" /></p>
<p><a href="http://monolingual.sourceforge.net/" title="Monolingual">Download Monolingual</a>.</p>
<p><a href="http://www.thereforesystems.com/remove-langauge-resources-and-clean-up-disk-space-on-mac/">Remove langauge resources and clean up disk space on mac</a> is a post from: <a href="http://www.thereforesystems.com">Therefore Systems</a></p>
<img src="http://feeds.feedburner.com/~r/ThereforeSystems/~4/-_VwHmRRM0U" height="1" width="1"/><img src="http://feeds.feedburner.com/~r/OneDotNetWay/~4/bE_fB5SgU_8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thereforesystems.com/remove-langauge-resources-and-clean-up-disk-space-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thereforesystems.com/remove-langauge-resources-and-clean-up-disk-space-on-mac/</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/ThereforeSystems/~3/-_VwHmRRM0U/</feedburner:origLink></item>
	</channel>
</rss>

