<?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>Stoopad.com&#187; Tech Archives  &#8211; at Stoopad.com</title>
	<atom:link href="http://stoopad.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://stoopad.com</link>
	<description>A webcomic and tech blog</description>
	<lastBuildDate>Sun, 17 Jan 2010 03:27:25 +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>Gentle Gentoo, Part IV</title>
		<link>http://stoopad.com/2010/01/11/gentle-gentoo-part-iv/</link>
		<comments>http://stoopad.com/2010/01/11/gentle-gentoo-part-iv/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 03:40:12 +0000</pubDate>
		<dc:creator>jgshort</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[80s]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[boot options]]></category>
		<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[configuration files]]></category>
		<category><![CDATA[custom kernel]]></category>
		<category><![CDATA[customizable system]]></category>
		<category><![CDATA[dos days]]></category>
		<category><![CDATA[fiddle]]></category>
		<category><![CDATA[frustrations]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[steep learning curve]]></category>
		<category><![CDATA[windows os]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://stoopad.com/?p=530</guid>
		<description><![CDATA[In Part I, I discussed the idea of installing a Gentoo partition on my machine. Part II delved into the why and how of starting out, including my initial frustrations of installing Gentoo on a fresh Bootcamp partition. Part III discussed the rage and horror I felt when I thought I lost my data after [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://stoopad.com/2010/01/07/gentle-gentoo/">Part I</a>, I discussed the idea of installing a <a href="http://www.gentoo.org/">Gentoo</a> partition on my machine. <a href="http://stoopad.com/2010/01/08/gentle-gentoo-part-ii/">Part II</a> delved into the why and how of starting out, including my initial frustrations of installing Gentoo on a fresh Bootcamp partition. <a href="http://stoopad.com/2010/01/10/gentle-gentoo-part-iii/">Part III</a> discussed the rage and horror I felt when I thought I lost my data after installing Grub. </p>
<p>To wrap up this series, I&#8217;ll discuss why installing Gentoo was completely worth the steep learning curve and why I&#8217;ve found operating system bliss.</p>
<p><span id="more-530"></span></p>
<p>Once I sorted out every issue with Grub and rEFIt, I found myself sitting in front of a typical Bash prompt. I didn&#8217;t really know where to start, but I knew I needed to setup my installation. The beauty of Gentoo is that it&#8217;s YOUR setup: Once again it&#8217;s an operating system of options. You can install whatever you need. Or not install anything. And once you install it, you configure it accord to <em>your</em> needs. It&#8217;s entirely up to you.</p>
<p>Speaking from the perspective of a seasoned Windows/OS X/Ubuntu user, I&#8217;ve haven&#8217;t <em>quite</em> experienced the beauty offered by a wholly customizable system since my old MS DOS days back in the&#8230; 80s, when I used to fiddle with boot options and write autoexec files to play particular games (remember that?!). </p>
<p>Gentoo is exceedingly powerful, and it&#8217;s power shines through in its fine-tuned package system, Portage. I prefer Portage over apt and yum, now that I&#8217;m accustomed to it. Like everything with Gentoo, there&#8217;s a learning curve and Portage is no exception. Mastering the ubiquitous USE flags, for example, is key to setting up an efficient, uncluttered system.</p>
<p>Similarly, because it begins life as a very basic system, configuring a custom kernel (and making sure it works) isn&#8217;t necessarily trivial but highly recommended. You will also need to write several configuration files in order for the system to work the way a typical Linux distro might work, but for the power user this just might be bliss (it certainly was for me). </p>
<p>Yes, after nearly pulling my hair out with frustration over frustration at the install process, I was pleasantly surprised to see that Gentoo, overall, happens to be one of the most polished Linux distributions that I&#8217;ve used. I now prefer it over Ubuntu, Fedora and OpenSUSE. It&#8217;s truly the operating system for a computing power user, and offers unparalleled customization. </p>
<p>For me, it&#8217;s almost the perfect operating system. I look forward to further customizations, frustrations and <em>power</em>!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoopad.com/2010/01/11/gentle-gentoo-part-iv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git and the Single Developer</title>
		<link>http://stoopad.com/2010/01/10/git-and-the-single-developer/</link>
		<comments>http://stoopad.com/2010/01/10/git-and-the-single-developer/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 04:02:24 +0000</pubDate>
		<dc:creator>jgshort</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[eee pc]]></category>
		<category><![CDATA[gentoo linux]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[own software]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[peace of mind]]></category>
		<category><![CDATA[real peace]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[revision control system]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://stoopad.com/?p=521</guid>
		<description><![CDATA[While I&#8217;m not at work or performing contracting duties, I write my own software in C. Obviously I require a revision control system and I&#8217;ve opted at this time for git. In previous posts I&#8217;ve made no secret of my love for git. It&#8217;s a simple, elegant and fast revision control system that works just [...]]]></description>
			<content:encoded><![CDATA[<p>While I&#8217;m not at work or performing contracting duties, I write my own software in C. Obviously I require a revision control system and I&#8217;ve opted at this time for git. </p>
<p>In previous posts I&#8217;ve made no secret of my love for <a href="http://git-scm.com/">git</a>. It&#8217;s a simple, elegant and fast revision control system that works just as well for a single developer as it does with a team of distributed developers.</p>
<p>Primarily I operate across three different machines: A Gentoo Linux partition, my primary OS X partition and my Eee PC running Moblin Linux. Here&#8217;s where distributed revision control systems really help, and where git in particular truly shines.</p>
<p><span id="more-521"></span></p>
<p>First of all, each machine has its own local repository, each repository with different branches (I create branches as I see fit, but they follow a common naming theme). I &#8220;sync&#8221; everything between machines through my account at <a href="http://github.com/">GitHub</a>, however I could just as easily use any one of my machines or servers as the primary git repository. I enjoy GitHub&#8217;s feature list, however, and the monthly rate is reasonable.</p>
<p>First, having my source on multiple machines distributed geographically gives me real peace of mind. I&#8217;ve already flirted with losing my two primary partitions recently (a scary enough though), but I wouldn&#8217;t lose my source unless something truly catastrophic happened and both GitHub and my laptop died at exactly the same instance as my partitions. </p>
<p>I don&#8217;t think this will happen. Ever.</p>
<p>Second, git hub works well for what I do. A typical session might look something like this:</p>
<p><code>$ git pull<br />
$ git checkout -b v0.1.6<br />
-- write a little code, compile, test, get frustrated...<br />
$ git add .<br />
$ git commit -a -m "A few changes."<br />
$ git checkout master<br />
$ git merge v0.1.6<br />
$ git push<br />
</code></p>
<blockquote><p>I&#8217;m likely leaving a few details, don&#8217;t take the above snippet as gosphel&#8230; it&#8217;s just an example.</p></blockquote>
<p>Finally, git offers me the ability to scale vertically. It&#8217;s already fast and stable (well, it has proven so for me). I don&#8217;t have any reservations about adding additional team members to any project I have stored in a git repository. </p>
<p>If it works for the Linux kernel, it works for me.</p>
<p>Do you use git in your personal or professional projects as a lone developer? Have any wisdom to share? If so, please leave it below!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoopad.com/2010/01/10/git-and-the-single-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentle Gentoo, Part III</title>
		<link>http://stoopad.com/2010/01/10/gentle-gentoo-part-iii/</link>
		<comments>http://stoopad.com/2010/01/10/gentle-gentoo-part-iii/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 19:20:11 +0000</pubDate>
		<dc:creator>jgshort</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[boot partition]]></category>
		<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[comedy of errors]]></category>
		<category><![CDATA[frustration]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[horror]]></category>
		<category><![CDATA[hubris]]></category>
		<category><![CDATA[initial installation]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[learning experience]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux root partition]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[rage]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://stoopad.com/?p=513</guid>
		<description><![CDATA[In Part I, I discussed the idea of installing a Gentoo partition on my machine. Part II delved into the why and how of starting out, including my initial frustrations of installing Gentoo on a fresh Bootcamp partition. Now I&#8217;m going to talk about the RH portion of the CFRHB method of installing an operating [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://stoopad.com/2010/01/07/gentle-gentoo/">Part I</a>, I discussed the idea of installing a <a href="http://www.gentoo.org/">Gentoo</a> partition on my machine. <a href="http://stoopad.com/2010/01/08/gentle-gentoo-part-ii/">Part II</a> delved into the why and how of starting out, including my initial frustrations of installing Gentoo on a fresh Bootcamp partition.</p>
<p>Now I&#8217;m going to talk about the <a href="http://stoopad.com/2010/01/07/gentle-gentoo/">RH portion of the CFRHB</a> method of installing an operating system: <strong>RAGE and HORROR</strong>!</p>
<p><span id="more-513"></span></p>
<p>This all started when I began the <a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&#038;chap=10">steps</a> for installing Grub.</p>
<p>On my initial installation, everything that could go wrong did go wrong. I initially lost my boot partition, which I easily recovered. I then lost the fresh Gentoo installation I had just spent two days installing and configuring&#8230; which again, I easily recovered. These steps didn&#8217;t do much to increase my own confidence that I was on the right path to a &#8220;perfect&#8221; Linux distribution. </p>
<p>Grub is extremely straightforward to install. WHY I had so many issues, I&#8217;ll never know, but a little hubris and a little impatience go a long way to a lot of frustration. </p>
<p>My partitions are setup as such:</p>
<p><code>\dev\sda1        OSX partition<br />
\dev\sda2        Linux boot partition<br />
\dev\sda3        Linux root partition<br />
\dev\sda4        swap<br />
</code></p>
<p>I continuously flubbed the installation of Grub, swapping \dev\sda2 with \dev\sda on more than on occasion, or mis-configuring paths to the kernel on the root partition. This was ridiculous, until I finally wizened up and starting testing Grub before rebooting. </p>
<p>This sounds like a comedy of errors, and it was. I&#8217;m such a n00b sometimes. </p>
<p>If I could pass along any wisdom at all to anyone else installing Gentoo, it&#8217;s this: Have a lot of patience and read everything in the documentation. Carefully plan your deployment from start to finish, and don&#8217;t make the mistake I made, which was to believe Gentoo would be a relatively quick installation. </p>
<p>I could have easily avoided every issue I ran into with just a little more patience and a little more planning. Ultimately, the entire installation was a fantastic learning experience, one that I won&#8217;t forget. It was also positive: After losing an Ubuntu server on our cloud installation, I successfully deployed a Gentoo replacement in just a couple of hours. I&#8217;ll talk about the server failure in an upcoming post.</p>
<p>Eventually everything turned out for the best. I ended up with multiple boot load options through <a href="http://refit.sourceforge.net/">rEFIt</a> and Grub. </p>
<blockquote><p>rEFIt was THE perfect solution and highly recommended to anyone planning on n-booting their Mac.</p></blockquote>
<p>I finally ended up inside my very first Gentoo installation. Here&#8217;s where the Bliss began, which I&#8217;ll discuss in Part IV.</p>
]]></content:encoded>
			<wfw:commentRss>http://stoopad.com/2010/01/10/gentle-gentoo-part-iii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentle Gentoo, Part II</title>
		<link>http://stoopad.com/2010/01/08/gentle-gentoo-part-ii/</link>
		<comments>http://stoopad.com/2010/01/08/gentle-gentoo-part-ii/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 05:37:33 +0000</pubDate>
		<dc:creator>jgshort</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[imac]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://stoopad.com/?p=491</guid>
		<description><![CDATA[In Part I, I discussed the idea of installing a Gentoo partition on my machine. For the uninitiated, Gentoo is a Linux distribution with a source-based package management system: Applications are compiled to your native machine architecture and, fundamentally, Gentoo is designed to be completely customized&#8230; from the kernel up. This intrigued me. I didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://stoopad.com/2010/01/07/gentle-gentoo/">Part I</a>, I discussed the idea of installing a <a href="http://www.gentoo.org/">Gentoo</a> partition on my machine. For the uninitiated, Gentoo is a Linux distribution with a source-based package management system: Applications are compiled to your native machine architecture and, fundamentally, Gentoo is designed to be completely customized&#8230; from the kernel up.</p>
<p>This intrigued me. I didn&#8217;t want (or need) a general desktop distribution such as Ubuntu or Fedora. I wanted something a little more raw. Something with a bit more power. </p>
<p>But days before I ever set eyes on my very first custom-compiled kernel, I had to prep my iMac with a Bootcamped partition.</p>
<p><span id="more-491"></span></p>
<p>This is a straightforward operation. The engineers at Apple have created a very elegant solution to the dual booting problem. Prepping the drive with a 32 GB partition was simple, straight and to the point. Today I regret such a small partition. In a few weeks, I&#8217;ll expand it to 120+ GB or more. </p>
<p>Once I had the partition ready, I burned a copy of the <a href="http://www.gentoo.org/main/en/where.xml">Gentoo LiveCD</a> to a DVD and rebooted. Bootcamp booted straight into the DVD and this is where my first issue cropped up.</p>
<blockquote><p>Let me backup. I make this whole process sound miserable and boring. In fact, aside from several frustrations spawned mostly by my own over-enthusiasm to play with my new toy, installing such a raw distribution ended up being a perfectly wonderful learning experience. With every moment of frustration encountered, I learned more and more. </p></blockquote>
<p>Back to the boot process: My initial boot failed. The boot screen continuously froze, requiring further reboots until I figured out how to turn off the branded boot image and see the details of the boot process. The issue turned out to be my keyboard, which I had to replace with a new Logitech. </p>
<p>Finally, after several hours of rebooting, retrying and swearing, I was sitting in front of a KDE desktop. Much to my surprise I couldn&#8217;t locate an installer as you might find on other distributions&#8230; And this misunderstanding was purely of my own creation as I didn&#8217;t fully read (or comprehend) the bountiful documentation provided on the Gentoo site. Indeed, this was my first eye-opening discovery of the Gentoo philosophy: Options.</p>
<p>Gentoo has so many options it can be bewildering. So where do you begin? </p>
<p>The best place to begin is with the <a href="http://www.gentoo.org/doc/en/handbook/">Gentoo Handbook</a>. A word to the wise: Read carefully and completely. Don&#8217;t skim.</p>
<p>For my particular system, I began with the <a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml">x86 Handbook</a>. It&#8217;s effectively a step-by-step guide to configuring and installing Gentoo for the most common cases, and it worked well for me.</p>
<p>It wasn&#8217;t until I got to step 11 (Configuring the bootloader) that I truly ran into some hairy issues. For a while I was unable to boot back into my OS X partition. I had to reinstall several times and reboot, reboot, reboot until everything was just so. I&#8217;ll discuss the bootloader and partitions in the next article in the series. By the time I rebooted for the upteenth time, I was <em>done</em> and about ready to go with Ubuntu.</p>
<p>Let me just say, I&#8217;m glad I didn&#8217;t.</p>
<p>What I have is not only a perfectly stable, usable system&#8230; but it&#8217;s <em>mine</em>. It&#8217;s exactly how I want it&#8230; and it works. Fast! </p>
<p>In the next article in this series, I&#8217;ll discuss the issues I encountered with the bootloader Grub, compiling a customer kernel and more. Looking forward a little further to Part IV, I&#8217;ll write about my experience with working with the Portage package system, installing KDE and getting my dev tools configured. </p>
<p>Until then, have you installed Gentoo? What about other source-base distributions? Please share your experience in the comment box below!</p>
]]></content:encoded>
			<wfw:commentRss>http://stoopad.com/2010/01/08/gentle-gentoo-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentle Gentoo, Part I</title>
		<link>http://stoopad.com/2010/01/07/gentle-gentoo/</link>
		<comments>http://stoopad.com/2010/01/07/gentle-gentoo/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 04:11:46 +0000</pubDate>
		<dc:creator>jgshort</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[moblin]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[talking]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://stoopad.com/?p=481</guid>
		<description><![CDATA[Last Friday, 9:00 PM: It&#8217;s one of those quiet evenings at home: The kid&#8217;s asleep, the spouse is watching TV. I&#8217;m sitting at my desk once again debugging some nasty code (but really I&#8217;m just checking Facebook). My machine hums away, OS X chugs along just fine. Technically everything is as it should be. Background: [...]]]></description>
			<content:encoded><![CDATA[<p>Last Friday, 9:00 PM: It&#8217;s one of those quiet evenings at home: The kid&#8217;s asleep, the spouse is watching TV. I&#8217;m sitting at my desk once again debugging some nasty code (but really I&#8217;m just checking Facebook). My machine hums away, OS X chugs along just fine. Technically everything is as it should be. </p>
<p>Background: I run <a href="http://moblin.org/">Moblin</a> on my <a href="http://eeepc.asus.com/global/products.html?n=0">EeePC</a> now: It&#8217;s efficient and I love it. Indeed, Linux is an operating system I&#8217;ve admired for a long time but never really had the desire to utilize as my primary desktop replacement. For a netbook, Moblin is king, and Linux works great as a server (obviously, it&#8217;s what we&#8217;re running here). And over the last couple of years it has matured tremendously.</p>
<p>So on this particularly beautiful Friday evening when everything felt technically in order, I decide to Bootcamp my iMac and install <a href="http://www.gentoo.org/">Gentoo</a>.</p>
<p>A mighty battle ensued&#8230;</p>
<p><span id="more-481"></span></p>
<p>I&#8217;ll go into detail over the next couple of posts, but effectively the installation went something like this:</p>
<ol>
<li><strong>C</strong>onfusion<br />How exactly do I do this without losing any of my existing data? Could the Gentoo directions be any more confusing? Where the crap do I begin?!</li>
<li><strong>F</strong>rustration<br />Oh my God I don&#8217;t want to repeat these steps another time. Let&#8217;s blow away the partition AGAIN.</li>
<li><strong>R</strong>age<br />WHAT?! Where&#8217;s my data?!</li>
<li><strong>H</strong>orror<br />WHERE&#8217;S MY DATA?!!</li>
<li><strong>B</strong>liss<br />Oh there&#8217;s my data, there&#8217;s Gentoo&#8230; this is beautiful..</li>
</ol>
<p>(This is the CFRHB!! method of operating system installations)</p>
<p>Once I &#8216;got it,&#8217; I can&#8217;t imagine using any other distribution. Gentoo, once it&#8217;s humming along, is a straight up masterpiece of software engineering. The Portage package management system is fantastic: Powerful. This is exactly what I&#8217;ve been seeking in an OS as my primary development box.</p>
]]></content:encoded>
			<wfw:commentRss>http://stoopad.com/2010/01/07/gentle-gentoo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->