<?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>My Distributed Life &#187; Garett</title>
	<atom:link href="http://mydistributedlife.com/author/techalpha/feed/" rel="self" type="application/rss+xml" />
	<link>http://mydistributedlife.com</link>
	<description>Musings of a Geek/Husband/Father</description>
	<lastBuildDate>Thu, 30 Apr 2015 05:11:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>File Size to String in JavaScript</title>
		<link>http://mydistributedlife.com/2012/03/file-size-to-string-in-javascript/</link>
		<comments>http://mydistributedlife.com/2012/03/file-size-to-string-in-javascript/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 05:14:35 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=21</guid>
		<description><![CDATA[Recently, I needed to figure out a way to convert the size of a file, which is being returned in bytes, to a string representation.  So, given a file size in bytes like 349792 the string “342KB&#8221; would be returned.  Inspired by the following StackOverflow post, I came up with this JavaScript version. function fileSizeToString(size) ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2012/03/file-size-to-string-in-javascript/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>Recently, I needed to figure out a way to convert the size of a file, which is being returned in bytes, to a string representation.  So, given a file size in bytes like 349792 the string “342KB&#8221; would be returned.  Inspired by the following <a href="http://stackoverflow.com/questions/281640/how-do-i-get-a-human-readable-file-size-using-net" target="_blank">StackOverflow post</a>, I came up with this JavaScript version.</p>
<pre class="brush: javascript auto-links: false;">function fileSizeToString(size) {
    var suffix = ["B", "KB", "MB", "GB"];

    var place = Math.floor(Math.log(size) / Math.log(1024));
    var fileSize = Math.round(size / Math.pow(1024, place));

    return (fileSize + suffix[place]);
};</pre>
<p>As you can see this is a relatively simple function, and really boils down to two lines of code. The first line</p>
<pre class="brush: javascript auto-links: false;">var place = Math.floor(Math.log(size) / Math.log(1024));</pre>
<p>determines which suffix will be used. While the second line</p>
<pre class="brush: javascript auto-links: false;">var fileSize = Math.round(size / Math.pow(1024, place));</pre>
<p>calculates the file size, which is typically <a href="http://en.wikipedia.org/wiki/File_size" target="_blank">measured</a> in units of 1024.</p>
<p>In my case I only needed to support up to gigabyte file sizes, but the function could easily be modified to support larger sizes.</p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2012/03/file-size-to-string-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix &#8211; Visual Studio 2010 SP1 Breaks SSMS Intellisense</title>
		<link>http://mydistributedlife.com/2011/04/fix-visual-studio-2010-sp1-breaks-ssms-intellisense/</link>
		<comments>http://mydistributedlife.com/2011/04/fix-visual-studio-2010-sp1-breaks-ssms-intellisense/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 04:25:43 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=20</guid>
		<description><![CDATA[After installing Visual Studio 2010 Service Pack 1, I noticed that intellisense had stopped working in SQL Server Management Studio 2008 R2. The issue was noted in Scott Guthrie’s blog, a few weeks ago. I discovered today that a hotfix is available from Microsoft as a part of SQL Server 2008 R2 cumulative update 7. ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2011/04/fix-visual-studio-2010-sp1-breaks-ssms-intellisense/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>After installing <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5">Visual Studio 2010 Service Pack</a> 1, I noticed that intellisense had stopped working in SQL Server Management Studio 2008 R2. The <a href="http://weblogs.asp.net/scottgu/archive/2011/03/15/visual-studio-2010-sp1.aspx">issue</a> was noted in <a href="http://weblogs.asp.net/scottgu">Scott Guthrie’s</a> blog, a few weeks ago. I discovered today that a hotfix is available from Microsoft as a part of SQL Server 2008 R2 <a href="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2507770&amp;kbln=en-us">cumulative update 7</a>. I’ve installed <a href="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2507770&amp;kbln=en-us">update 7</a>, and verified that intellisense works again.</p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2011/04/fix-visual-studio-2010-sp1-breaks-ssms-intellisense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weekly Reading 1&#8211;Remote Fa&#231;ade Pattern</title>
		<link>http://mydistributedlife.com/2011/01/weekly-reading-1remote-faade-pattern/</link>
		<comments>http://mydistributedlife.com/2011/01/weekly-reading-1remote-faade-pattern/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 06:05:57 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[Reading]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=19</guid>
		<description><![CDATA[As I’m an avid reader, I decided to start sharing weekly recaps of my reading list. This will often include articles I’ve found interesting, but also items related to the projects I’m currently involved with. The subject matter may vary, but I hope others will find them useful, or better yet as a way to ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2011/01/weekly-reading-1remote-faade-pattern/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>As I’m an avid reader, I decided to start sharing weekly recaps of my reading list. This will often include articles I’ve found interesting, but also items related to the projects I’m currently involved with. The subject matter may vary, but I hope others will find them useful, or better yet as a way to <a href="http://mydistributedlife.com/2009/06/sharpening-my-developer-saw.html">sharpen your saw</a>.</p>
<p>The past week has been all about design. I’ve been reading one of my favorite books again, <a href="http://www.amazon.com/gp/product/0321127420?ie=UTF8&amp;tag=seetecalp-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0321127420">Patterns of Enterprise Application Architecture</a>. Recently, I’ve been thinking about ways to create a web service layer over fine-grained API.  In order to reduce the number of remote calls from client applications over a distributed network, I’ve been revisiting the <a href="http://martinfowler.com/eaaCatalog/remoteFacade.html">Remote Façade</a> pattern, which allows you to create a coarse-grained interface over a fine-grained API. Additionally, you may also find the article on <a href="http://martinfowler.com/eaaCatalog/dataTransferObject.html">Data Transfer Objects</a> useful.</p>
<p>Here are a few more articles that I read:</p>
<p><a href="http://www.ibm.com/developerworks/webservices/library/ws-soa-granularity/"><font style="font-weight: normal">Software components: Coarse-grained versus fine-grained</font></a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/ff649585.aspx">Data Transfer Object</a></p>
<p><a href="http://www.programmersheaven.com/2/Domain-Objects-Caching-Pattern-for-NET">Domain Objects Caching Pattern for .NET</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2011/01/weekly-reading-1remote-faade-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Finally Supports SVG</title>
		<link>http://mydistributedlife.com/2010/03/internet-explorer-finally-supports-svg/</link>
		<comments>http://mydistributedlife.com/2010/03/internet-explorer-finally-supports-svg/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 03:01:05 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[SVG]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[VML]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=18</guid>
		<description><![CDATA[I was reading the Internet Explorer 9 Platform Preview release notes, and was happy to see that SVG is listed among its supported features.&#160; It&#8217;s one of those features that have been dubiously missing from previous versions of the browser. This has forced many developers to opt for VML when rendering to Internet Explorer, which ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2010/03/internet-explorer-finally-supports-svg/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>I was reading the Internet Explorer 9 Platform Preview <a href="http://ie.microsoft.com/testdrive/info/ReleaseNotes/Default.html">release notes</a>, and was happy to see that <a href="http://en.wikipedia.org/wiki/Svg">SVG</a> is listed among its supported features.&nbsp; It&#8217;s one of those features that have been dubiously missing from previous versions of the browser. This has forced many developers to opt for <a href="http://en.wikipedia.org/wiki/Vector_Markup_Language">VML</a> when rendering to Internet Explorer, which can be a pain as I recently found out while working on a project, because certain features always seem to be <a href="http://www.lrbabe.com/?p=104">broken</a> with each new release. While it will be years before we will only have to support SVG across all browsers, it&#8217;s still great to see that this will eventually be possible. However, from my experience with Microsoft technologies, I say that with a great deal of caution.</p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2010/03/internet-explorer-finally-supports-svg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running a 64-bit Guest Virtual Machine on a 32-bit Host</title>
		<link>http://mydistributedlife.com/2010/03/running-a-64-bit-guest-virtual-machine-on-a-32-bit-host/</link>
		<comments>http://mydistributedlife.com/2010/03/running-a-64-bit-guest-virtual-machine-on-a-32-bit-host/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 02:02:38 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=17</guid>
		<description><![CDATA[I was recently asked by a colleague if it was possible to run a 64-bit guest operating system on a 32-bit host. The question was specifically geared towards running Windows 2008 R2, via VMware Player, on Windows XP. Yes you should definitely be able to run a 64-bit virtual machine on a 32-bit host like ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2010/03/running-a-64-bit-guest-virtual-machine-on-a-32-bit-host/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>I was recently asked by a colleague if it was possible to run a 64-bit guest operating system on a 32-bit host. The question was specifically geared towards running Windows 2008 R2, via <a href="http://www.vmware.com/products/player/">VMware Player</a>, on Windows XP.</p>
<p>Yes you should definitely be able to run a 64-bit virtual machine on a 32-bit host like Windows XP. There are a couple of caveats, which include:</p>
<ol>
<li>The virtual machine software must support 64-bit guests. That is, VMware Player must support 64-bit guests, which it does. You should use the latest version (3.0 as of this article) to be sure you get support for Windows 2008 R2. See the <a href="http://www.vmware.com/support/player30/doc/releasenotes_player3.html#new_os">release notes</a> for more information.</li>
<li>The CPU on the machine must support 64-bit instructions. In the case of Intel based CPUs, EMT64.</li>
<li>The CPU must support Virtualization Technology. Again, for Intel CPUs this is the VT extensions.</li>
<li>VT must be enabled. This is often accomplished via the Bios.</li>
</ol>
<p>Those are the perquisites for running 64-bit guests, like Windows 2008 R2, on a 32-bit host. You can check if your CPU supports 64-bit instructions and virtualization technology using <a href="http://www.cpuid.com/cpuz.php">CPU-Z</a>, or the VMware <a href="http://www.vmware.com/download/shared_utilities.html">shared utilities</a>. VMware also provides additional information in this knowledge base <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1003945">article</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2010/03/running-a-64-bit-guest-virtual-machine-on-a-32-bit-host/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why Aren&#8217;t More Startups Using .NET?</title>
		<link>http://mydistributedlife.com/2010/03/why-arent-more-startups-using-net/</link>
		<comments>http://mydistributedlife.com/2010/03/why-arent-more-startups-using-net/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 03:50:18 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Entrepreneur]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=16</guid>
		<description><![CDATA[I&#8217;ve been reading the High Scalability blog quite a bit lately. After reading several articles over the past couple of weeks, I&#8217;m wondering where are all the web startups that are using the Microsoft stack? I believe .NET is a very productive platform on which a successful web-based product can be built, and I really ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2010/03/why-arent-more-startups-using-net/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been reading the <a href="http://highscalability.com/">High Scalability</a> blog quite a bit lately. After reading several articles over the past couple of weeks, I&#8217;m wondering where are all the web startups that are using the Microsoft stack? I believe .NET is a very productive platform on which a successful web-based product can be built, and I really like the C# programming language. I don&#8217;t consider&nbsp; myself a Microsoft fan boy, and in the past I&#8217;ve recommend and used open source technologies for a few startups that I&#8217;ve worked with. So, why aren&#8217;t more startups using .NET? Maybe they are out there, but not heavily advertised. A few notable exceptions include:</p>
<ul>
<li><a href="http://www.myspace.com/">MySpace</a> </li>
<li><a href="http://www.stackoverflow.com/">Stack Overflow</a> </li>
<li><a href="http://www.plentyoffish.com/">Plenty Of Fish</a> </li>
<li><a href="http://www.theport.com/">ThePort</a> </li>
</ul>
<p>One issue that seems to always be raised is the cost of Microsoft&#8217;s SQL Server, especially as one begins to scale out. If your strategy is to scale up by purchasing bigger hardware, then the cost may be fine, but as you begin to scale out, the costs can go significantly higher. So, for a start-up, who more than likely has very little money, this is not going to be a viable option. </p>
<p>Microsoft has attempted to address this issue by creating the <a href="http://www.microsoft.com/BizSpark/">BizSpark</a> program, where a startup can use their software virtually free of charge for up to three years. At the end of the program you would pay a small fee, and purchase the production licenses for software that you will continue to use. The assumption that seems to be made here is that after the three year period a company will be generating enough revenue to afford the licenses. This is a step in the right direction, but after the three year period you still have to potentially fork out a large sum of money.&nbsp; </p>
<p>Given theses choices I can understand why most startups shy away from using the Microsoft stack. However, I&#8217;ve been looking at it more seriously, and I&#8217;m wondering if you could replace the more costly pieces of the stack with another suitable option, then would it become more attractive. Specifically, what if you could replaced SQL Server with another open source database, like MySQL or PostgreSQL? It seems that these products have mature .NET support, so I can&#8217;t see why they wouldn&#8217;t be great choices to replace SQL Server. <a href="http://www.theport.com/">ThePort</a> indicates a similar strategy as they begin to look at scaling their application.</p>
</p>
<blockquote><p>However robust the cluster is, we&#8217;ve concluded that we will eventually have to move to a sharded architecture with MySQL. MS SQL licensing fees makes both continuing to enhance the cluster and scaling out to multiple machines prohibitive. </p></blockquote>
<p>Additionally, you have the <a href="http://www.microsoft.com/exPress/">express</a> versions of Visual Studio, which are more than capable. When combined with other open source tools like <a href="http://nant.sourceforge.net/">NAnt</a>, <a href="http://subversion.tigris.org/">Subversion</a>, <a href="http://www.nunit.org/">NUnit</a>, and <a href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET">CruiseControl.net</a>, I think you a have viable development platform for almost any application.</p>
<p>Obviously, I&#8217;m coming from a position that lacks the experience implementing such a solution, but as I begin to review potential options for new projects, this is one that I would have to seriously consider. </p>
<p>Here are a few resources for further reading on the subject: </p>
<ul>
<li><a href="http://highscalability.com/blog/2009/2/12/myspace-architecture.html">MySpace Architecture</a> </li>
<li><a href="http://highscalability.com/blog/2009/8/5/stack-overflow-architecture.html">Stack Overflow Architecture</a> </li>
<li><a href="http://highscalability.com/plentyoffish-architecture">Plenty Of Fish Architecture</a> </li>
<li><a href="http://highscalability.com/blog/2009/8/16/theport-network-architecture.html">ThePort Architecture</a> </li>
<li><a href="http://www.codinghorror.com/blog/2009/06/scaling-up-vs-scaling-out-hidden-costs.html">Scaling Up vs. Scaling Out: Hidden Costs</a> </li>
<li><a href="http://www.emadibrahim.com/2009/08/05/startup-asp-net-mvc-cloud-scale-deployment/">MVC, Cloud Scale &amp; Deployment</a> </li>
<li><a href="http://codebetter.com/blogs/karlseguin/archive/2009/10/22/migrating-to-postgresql-with-my-friend-nhibernate.aspx">Migrating to Postgresql with my friend NHibernate</a> </li>
<li><a href="http://weblogs.asp.net/astopford/archive/2007/09/05/is-asp-net-good-enough-for-startup-s.aspx">Is ASP.NET good enough for startup&#8217;s</a> </li>
<li><a href="http://dimebrain.com/2008/04/five-recommenda.html">Six recommendations for starting a startup with ASP.NET</a> </li>
<li><a href="http://blog.jumptree.com/2007/why-we-chose-aspnet-to-run-our-startup/">Why we chose ASP.NET to run our startup</a> </li>
<li><a href="http://www.xconomy.com/seattle/2009/05/11/how-microsoft-bizspark-is-doing-with-startups-and-how-it-can-do-better/">How Microsoft BizSpark Is Doing With Startups</a> </li>
<li><a href="http://www.microsoftstartupzone.com/">Microsoft Startup Zone</a> </li>
</ul>
<p>I would love to hear opinions on this. </p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/d51bee23-1076-41d0-9da8-6d9c66a76562/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=d51bee23-1076-41d0-9da8-6d9c66a76562" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2010/03/why-arent-more-startups-using-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Your MacBook Pro Hard Drive</title>
		<link>http://mydistributedlife.com/2010/03/upgrading-your-macbook-pro-hard-drive/</link>
		<comments>http://mydistributedlife.com/2010/03/upgrading-your-macbook-pro-hard-drive/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 03:59:25 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=15</guid>
		<description><![CDATA[Although I had more than enough room remaining on the 250GB Serial ATA drive that came with my MacBook Pro, I decided to upgrade the hard drive to a 500GB 7200 RPM drive. My main reason for doing this is that I wanted a faster drive, since the previous drive ran at 5400 RPM. After ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2010/03/upgrading-your-macbook-pro-hard-drive/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>Although I had more than enough room remaining on the 250GB Serial ATA drive that came with my MacBook Pro, I decided to upgrade the hard drive to a 500GB 7200 RPM drive. My main reason for doing this is that I wanted a faster drive, since the previous drive ran at 5400 RPM. After some research, I decided to go with the <a href="http://www.anrdoezrs.net/click-3848723-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16822145275%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-Hard%2BDrives%2B-%2BNotebooks%2B%2F%2BLaptops-_-Hitachi%2BGlobal%2BStorage%2BTechnologies-_-22145275&amp;cjsku=N82E16822145275">Hitachi Travelstar 7K500</a>. I purchased the drive and an <a href="http://www.kqzyfj.com/click-3848723-10440897?url=http%3A%2F%2Fwww.newegg.com%2FProduct%2FProduct.aspx%3FItem%3DN82E16817729010%26nm_mc%3DAFC-C8Junction%26cm_mmc%3DAFC-C8Junction-_-External%2BEnclosure-_-AcomData-_-17729010&amp;cjsku=N82E16817729010">Acomdata Tango USB &amp; Firewire</a> enclosure from my favorite place, <a href="http://www.jdoqocy.com/click-3848723-10485908">Newegg</a>. </p>
<p>This was my first time upgrading my MacBook Pro, which is a mid-2009 Unibody edition. The process was very easy, except for the fact that I didn&#8217;t have a Torx screw driver, which is needed for the hard drive, but thank God for New York City, and the 24 hour Best Buy not too far from me. Where else can you go at 12 midnight to purchase a screw driver kit? Anyway, below are the steps I took to upgrade the hard drive. I&#8217;ve also included a few screen shots to serve as guidance.</p>
<h1><strong><font size="4">In preparation you will need to do the following:</font></strong></h1>
<ul>
<li>Download and install <a href="http://www.bombich.com/">Carbon Copy Cloner</a>. Also, please show your support by donating to this incredible useful tool. </li>
<li>Read <a href="http://www.ifixit.com/Guide/Browse/MacBook_Pro">ifixit</a> for instructions on removing the hard drive for your particular model. </li>
<li>Before proceeding, it is wise to create a backup of your current drive. I didn&#8217;t do this, but it&#8217;s probably best to do, just in case something goes wrong. </li>
</ul>
<p>&nbsp; <br /> <br />
<h1><strong><font size="4">To upgrade the hard drive I did the following:</font></strong></h1>
<h2><strong>1. Format the new disk drive</strong></h2>
<ul>
<li>Connect the new drive, via enclosure, to the machine. </li>
<li>Open <strong>Disk Utility</strong>, which can be found under the <strong>Applications-&gt;Utilities</strong> folder. </li>
<li>Select the new drive, and click the <strong>Erase</strong> tab. </li>
<li>Select &#8220;<strong>Mac OS Extended (Journaled)</strong>&#8221; as the format, and give the drive a name. </li>
<li>Click &#8220;<strong>Erase</strong>&#8220;. </li>
</ul>
<p><a href="http://mydistributedlife.com/wp-content/uploads/import/29-disc_util_format_drive.jpg"><img src="http://mydistributedlife.com/wp-content/uploads/import/30-disc_util_format_drive_thumb.jpg" alt="30-disc_util_format_drive_thumb.jpg" /></a> </p>
<p>&nbsp;</p>
<h2><strong>2. Repair permissions on the current drive</strong></h2>
<ul>
<li>From <strong>Disk Utility</strong>, select your current hard drive. </li>
<li>Click &#8220;<strong>Repair Permissions</strong>&#8220;. </li>
</ul>
<p><a href="http://mydistributedlife.com/wp-content/uploads/import/31-disc_util_repair_perm.jpg"><img src="http://mydistributedlife.com/wp-content/uploads/import/32-disc_util_repair_perm_thumb.jpg" alt="32-disc_util_repair_perm_thumb.jpg" /></a> </p>
<p>&nbsp;</p>
<h2><strong>3. Clone the current hard drive to the new drive</strong> </h2>
<ul>
<li>Open <strong>Carbon Copy Cloner</strong>, which should have been installed to the <strong>Applications</strong> folder. </li>
<li>Select your current hard drive as the &#8220;<strong>Source Disk</strong>&#8221; and the new drive as the &#8220;<strong>Target Disk</strong>&#8220;. </li>
<li>Select &#8220;<strong>Backup Everything</strong>&#8221; for &#8220;<strong>Cloning Options</strong>&#8220;. </li>
<li>I left &#8220;<strong>Delete items that don&#8217;t exist on the source</strong>&#8221; unchecked. </li>
<li>Verify that it says &#8220;<strong>This item will be bootable</strong>&#8220;. </li>
<li>Click &#8220;<strong>Clone</strong>&#8220;. </li>
<li>(Optional) After the drive has been cloned. I went back to <strong>Disc Utility</strong>, selected the new drive and click &#8220;<strong>Repair Permissions</strong>&#8220;. </li>
</ul>
<p><a href="http://mydistributedlife.com/wp-content/uploads/import/27-ccc_clone_drive.jpg"><img src="http://mydistributedlife.com/wp-content/uploads/import/28-ccc_clone_drive_thumb.jpg" alt="28-ccc_clone_drive_thumb.jpg" /></a> </p>
<p>&nbsp;</p>
<h2><strong>4. Boot to the new drive to ensure that it works</strong></h2>
<ul>
<li>Reboot the machine, immediately holding down the &#8220;<strong>Option</strong>&#8221; key. </li>
<li>The &#8220;<strong>Startup Manager</strong>&#8221; screen will appear. </li>
<li>Select the external drive as the boot drive. </li>
</ul>
<p>Note: This may be a slow process. At least I found it a little painful.</p>
<p>&nbsp;</p>
<h2><strong>5. Replace the old drive with the new one</strong></h2>
<p>After verifying that the clone copy works, remove the old hard drive and install the new drive. </p>
<p>&nbsp;</p>
<p>I hope you find this helpful. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2010/03/upgrading-your-macbook-pro-hard-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Photoshop Images For Your UI</title>
		<link>http://mydistributedlife.com/2010/02/free-photoshop-images-for-your-ui-1/</link>
		<comments>http://mydistributedlife.com/2010/02/free-photoshop-images-for-your-ui-1/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 22:16:54 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=14</guid>
		<description><![CDATA[Shawn Adrian has been kind enough to freely share a few images that he has created in Photoshop. Check them out.]]></description>
				<content:encoded><![CDATA[<p><a href="http://blog.nerdburn.com/">Shawn Adrian</a> has been kind enough to freely share a few <a href="http://blog.nerdburn.com/entries/user-interface-design/20-free-handmade-buttons-ui-elements-in-one-psd">images</a> that he has created in Photoshop. Check them out.</p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2010/02/free-photoshop-images-for-your-ui-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieve the BizTalk Installation Path From the Registry</title>
		<link>http://mydistributedlife.com/2010/02/retrieve-the-biztalk-installation-path-from-the-registry/</link>
		<comments>http://mydistributedlife.com/2010/02/retrieve-the-biztalk-installation-path-from-the-registry/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:44:54 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=13</guid>
		<description><![CDATA[Recently, I wrote a utility to extract dehydrated messages from a BizTalk 2006 environment. As part of the process, I needed to figure out what folder the BizTalk software was installed in. Below is a function I quickly wrote to retrieve the BizTalk installation path from the Windows registry. I thought it might be something ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2010/02/retrieve-the-biztalk-installation-path-from-the-registry/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>Recently, I wrote a utility to extract dehydrated messages from a BizTalk 2006 environment. As part of the process, I needed to figure out what folder the BizTalk software was installed in. Below is a function I quickly wrote to retrieve the BizTalk installation path from the Windows registry. I thought it might be something useful to share.</p>
<pre class="brush: csharp; auto-links: false;">public string GetBizTalkInstallationFolder()
{
    string biztalkFolder = String.Empty;

    using (RegistryKey biztalkKey = Registry.LocalMachine.OpenSubKey(&quot;SOFTWARE\\Microsoft\\BizTalk Server\\3.0&quot;))
    {
        biztalkFolder = biztalkKey.GetValue(&quot;InstallPath&quot;, String.Empty).ToString();
    }

    return biztalkFolder;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2010/02/retrieve-the-biztalk-installation-path-from-the-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Blog Home</title>
		<link>http://mydistributedlife.com/2010/02/new-blog-home/</link>
		<comments>http://mydistributedlife.com/2010/02/new-blog-home/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 02:50:56 +0000</pubDate>
		<dc:creator><![CDATA[Garett]]></dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://mydistributedlife.com/?p=12</guid>
		<description><![CDATA[So, for the 3 people who read my blog, if that many.You may have noticed that it was down for a couple of weeks. I&#8217;ve been in the process of moving away from hosting my blog at home to a more reliable host (anything is more reliable than that). I wanted to host from home, ... <span class="more"><a class="more-link" href="http://mydistributedlife.com/2010/02/new-blog-home/">[Read more...]</a></span>]]></description>
				<content:encoded><![CDATA[<p>So, for the 3 people who read my blog, if that many.You may have noticed that it was down for a couple of weeks. I&#8217;ve been in the process of moving away from hosting my blog at home to a more reliable host (anything is more reliable than that). I wanted to host from home, because I use Solaris, and I couldn&#8217;t find a good Solaris 10 VPS. I know, I know, but there are so many good Linux hosting providers. You might also be wondering: why the heck did you choose Solaris in the first place? Well, because that&#8217;s what I knew best, since I worked with it for several years. Well, that and the fact that I think it&#8217;s an awesome operating system, despite it not being a popular hosting option. I hope <a href="http://www.opensolaris.org/">OpenSolaris</a> changes that, but it may just be wishful thinking on my part.</p>
<p>After spending sometime researching hosting providers, it came down to two: <a href="http://www.slicehost.com/">Slicehost</a> and <a href="http://www.linode.com/">Linode</a>. While it was pretty much a toss up, I ended up choosing <a href="http://www.linode.com/">Linode</a>, because I thought their pricing/feature combination was slightly better. The setup process was fairly smooth . However, it took me longer to get my blog up and running, because I struggled to get <a href="http://www.movabletype.org/">MovabeType</a> working with <a href="http://wiki.nginx.org/Main">Nginx</a>, and <a href="http://www.plackperl.org/">Plack</a>. I would love to hear from folks who have gotten this working. I finally abandoned it and went with my previous setup using Apache. So, my blog is finally up, running on Ubuntu thanks to the great <a href="http://library.linode.com/">library</a> of documentation that <a href="http://www.linode.com/">Linode</a> provides to help in configuring various Linux packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://mydistributedlife.com/2010/02/new-blog-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
