<?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>Don&#039;t Forget to Plant It! &#187; apple</title>
	<atom:link href="http://blog.codeeg.com/tag/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codeeg.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 12:22:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Setting up Virtual Hosts on Mac OSX</title>
		<link>http://blog.codeeg.com/2010/03/26/setting-up-virtual-hosts-on-mac-osx/</link>
		<comments>http://blog.codeeg.com/2010/03/26/setting-up-virtual-hosts-on-mac-osx/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 03:50:32 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Virtual Hosts]]></category>
		<category><![CDATA[VirtualHost]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=277</guid>
		<description><![CDATA[I&#8217;ve been juggling a few different web projects lately, and decided to setup different virtual hosts on my Mac so that I can easily work with them. Googling around gave me a lot of different answers, none of which seem to work completely. This is what finally worked for me (on Snow Leopard). First, add [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve been juggling a few different web projects lately, and decided to setup different virtual hosts on my Mac so that I can easily work with them.  Googling around gave me a lot of different answers, none of which seem to work completely.  This is what finally worked for me (on Snow Leopard).</p>
<p>First, add a new local domain to your <em>/etc/hosts</em> file:<br />
<code> </code></p>
<p><code> </code></p>
<p><code> </code></p>
<p><code></p>
<pre>127.0.0.1       localhost devsite.local</pre>
<p></code></p>
<p>Next, you&#8217;ll need to configure Apache with this new virtual host.  Fortunately, the default Apache config has this partially setup.  Open up <em>/etc/apache2/httpd.conf</em> and uncomment the following Include:</p>
<p><code> </code></p>
<p><code> </code></p>
<p><code></p>
<pre># Virtual hosts
#Include /private/etc/apache2/extra/httpd-vhosts.conf</pre>
<p></code></p>
<p>Now, we need to add our virtual host to the <em>httpd-vhosts.conf </em>file referenced above.  The file already had a couple of sample configuration in it, but I commented out those and added the following:</p>
<p><code> </code></p>
<p><code> </code></p>
<p><code></p>
<pre>&lt;VirtualHost *:80&gt;
    DocumentRoot "/Library/WebServer/Documents"
    ServerName localhost
&lt;/VirtualHost&gt;

&lt;VirtualHost *:80&gt;
    DocumentRoot "/usr/docs/devsite.local"
    ServerName devsite.local
&lt;/VirtualHost&gt;</pre>
<p></code></p>
<p>This first entry will map localhost to its default document location (without it http://localhost won&#8217;t work correctly).  The second entry maps my new domain.  Additionally, you&#8217;ll want to make sure files in your new docs directory have adequate access permissions.  I ended adding a new Directory section to <em>httpd-vhosts.conf </em>file:</p>
<p><code> </code></p>
<p><code></p>
<pre>&lt;Directory "/usr/docs/devsite.local"&gt;
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
&lt;/Directory&gt;</pre>
<p></code></p>
<p>Now all you have to do is put your web files in <em>/usr/docs/devsite.local</em>.  I originally had my new local domain map to <em>&lt;user dir&gt;/Sites/devsite.local</em>, but changed it because I would have to make sure Apache could access to all the directories leading up to those docs. So instead I just symlinked my http docs from my user directory into <em>/usr/docs.</em></p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2010/03/26/setting-up-virtual-hosts-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Switching from Windows to Mac: A Retrospective</title>
		<link>http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/</link>
		<comments>http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 00:55:27 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MacBook Pro]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/?p=232</guid>
		<description><![CDATA[Just recently done a 2 week stint working on Windows while Apple Geniuses were working on my MBP, I thought it would be a good time to blog on my own Skribit Suggestion and reflect on my switch to Mac 14 months ago. Reasons for Switching Prior to my MBP, I&#8217;ve was working on a [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/" title="Permanent link to Switching from Windows to Mac: A Retrospective"><img class="post_image alignnone" src="http://blog.codeeg.com/wp-content/uploads/2009/06/DSC_0081-300x199.jpg" width="300" height="199" alt="Post image for Switching from Windows to Mac: A Retrospective" /></a>
</p><p>Just recently done a 2 week stint working on Windows while Apple Geniuses were working on my MBP, I thought it would be a good time to blog on <a title="My Skribit Suggestion" href="http://skribit.com/suggestions/switching-to-from-windows-to-mac">my own Skribit Suggestion</a> and reflect on my switch to Mac 14 months ago.</p>
<h2>Reasons for Switching</h2>
<p>Prior to my MBP, I&#8217;ve was working on a personal HP laptop that was on it&#8217;s last leg.  My screen had started developing an assortment of 1 pixel vertical lines and the keyboard would randomly doouble typed keys.  I had a choice to make &#8211; I can either get another (and better) Windows laptop, or do the the switch.  Ultimately, I decided on switching.  Here were my reasons.</p>
<h3>Apple made great <span style="text-decoration: line-through;">looking</span> laptops that looks good too</h3>
<p>Apple really makes some really good looking laptops, but it&#8217;s easy to forget that they they&#8217;re functionally great laptops too.  When my wife first got her MacBook, I was amazed at how everything looked so crisp on it.  And speaking as someone that has broken a power connector on a laptop before, MagSafe is a must-have awesome feature.</p>
<h3>A Unix based Operating System</h3>
<p>When you do development, working on a Unix based environment with a real command line is a big advantage.  Cygwin can help bridge that gap on Windows, but it&#8217;s nothing like having a terminal that can size itself properly and not having to constantly translate Windows paths to Unix paths and vice versa.</p>
<p>Another benefit of having a Unix OS is that Open Source software plays much better on it than on Windows.  Most OSS is developed to target Unix first, Windows second.  When working on Elf Island on Windows, my workflow while working on the game (which is developed primarily using OSS), involved starting two different services from Windows System Tray, starting another service from the Windows Services, and finally running a few commands from Cygwin.  I can do the equivalent of all that from the command line on a Unix environment.</p>
<h3>A Paid-For Software Friendly Ecosystem</h3>
<p>For some reason, it seems that Mac users are willing to pay for software, and as a result there is a lot of <a title="TextMate Editor" href="http://macromates.com/">reasonably price</a> <a title="Transmit" href="http://www.panic.com/transmit/">software</a> for Macs.  Doing software development myself, I can appreciate and definitely want to support this line of thinking.  Sure, Windows has tons of commercial, <a href="http://downloads.com">paid-for software</a>, but I can&#8217;t say I feel comfortable about downloading them for fear of excessive ads, poor installations practices, and/or spyware.</p>
<h3>Experiencing Something New</h3>
<p>Probably the biggest reason for doing the switch is that I&#8217;ve been using Windows for years.  It was time for a change - a change for changes&#8217; sake.  Programmers are told that they should regularly learn new languages to keep their skills sharp and to explore new ways of doing things.  It should be the same with the software you use as well.  If you develop software, you owe it to yourself to see how the other side does it to gain some perspective.</p>
<h3>Conclusions</h3>
<p>So after a year of working fully on the Mac, here&#8217;s are some things I like and don&#8217;t like about my OS X:</p>
<h4>Pros</h4>
<ul>
<li><strong>Windows Management.</strong> It took a while getting used to, but I have grown to prefer <strong>Command+Tab</strong> &amp; <strong>Command+`</strong> to Windows <strong>Alt+Tab</strong> model.</li>
<li><strong>OS Degradation.</strong> With my prior laptop, Windows had greatly degraded by it&#8217;s first anniversary.  I haven&#8217;t experience that with my MBP yet.</li>
<li><strong>Great TrackPad.</strong> When programming, I try to stay on the keyboard as much as possible, but I find that transitioning between the trackpad and keyboard on my MBP the easiest of any laptop I&#8217;ve used before.</li>
</ul>
<h4>Cons</h4>
<ul>
<li><strong>Keyboard Shortcut Images. </strong>For some strange reason keyboard shortcuts are still displayed using icons (<img style="border: 0px initial initial;" title="Apple Keys" src="http://blog.codeeg.com/wp-content/uploads/2009/06/mac_keys.png" alt="Apple Keys" width="47" height="11" />) that in some cases are no longer shown on the keyboard.  Trying to remember what icon is what key can feel like akin to decipher hieroglyphics.</li>
<li><strong>Alt Key Menu Access.</strong> I miss how the <strong>Alt </strong>key in Windows gave you keyboard access to the application menu.  I often used that function keyboard shortcut.</li>
<li><strong>I Miss My Alt+Ctrl+Delete.</strong> I kind of feel that Windows does a better job of preventing errant applications from locking up the whole OS.  I attribute that to Window&#8217;s plentiful experience with crashes and lockups.  It seems that lockups on OS X are more catastrophic (requiring a hard reboot) than they should be.</li>
</ul>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 247px; width: 1px; height: 1px;">http://macromates.com/</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2009/07/08/switching-from-windows-to-mac-a-retrospective/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MacBook Pro&#8217;s MagSafe Feature</title>
		<link>http://blog.codeeg.com/2006/01/10/macbook-pros-magsafe-feature/</link>
		<comments>http://blog.codeeg.com/2006/01/10/macbook-pros-magsafe-feature/#comments</comments>
		<pubDate>Wed, 11 Jan 2006 03:02:22 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[magsafe]]></category>

		<guid isPermaLink="false">http://blog.codeeg.com/2006/01/10/macbook-pros-magsafe-feature/</guid>
		<description><![CDATA[It&#8217;s nice to see that someone has finally figured out how to fix this nasty problem with laptops. I&#8217;ve had this happen to two of my laptops, one of which I&#8217;ve fortunately had fixed through work. Now I just have to convince purchasing (my wife) that it is within our budget.]]></description>
			<content:encoded><![CDATA[<p></p><p>It&#8217;s nice to see that <a title="MacBook Pro's Design" href="http://www.apple.com/macbookpro/design.html">someone has finally figured out how to fix this nasty problem with laptops</a>.  I&#8217;ve had this happen to two of my laptops, one of which I&#8217;ve fortunately had fixed through work.</p>
<p>Now I just have to convince purchasing (my wife) that it is within our budget.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeeg.com/2006/01/10/macbook-pros-magsafe-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
