<?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>Spencer Herzberg</title>
	<atom:link href="http:///spencer/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>/spencer</link>
	<description>from spencerherzberg import *</description>
	<lastBuildDate>Sun, 08 May 2011 01:23:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Wedding Photos!!!</title>
		<link>/spencer/?p=243</link>
		<comments>/spencer/?p=243#comments</comments>
		<pubDate>Fri, 06 May 2011 00:01:37 +0000</pubDate>
		<dc:creator>spencer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://herzfam.com/spencer/?p=243</guid>
		<description><![CDATA[Well, Hollee and I are now officially a couple! We were married on April 16th, 2011 in Iowa Falls, IA. Hollee&#8217;s father is a photographer and he decided to post all of the wedding photos online on his website (he has a great website btw!) by clicking the link below. Herzberg Wedding Photos]]></description>
			<content:encoded><![CDATA[<p>Well, Hollee and I are now officially a couple! We were married on April 16th, 2011 in Iowa Falls, IA. Hollee&#8217;s father is a photographer and he decided to post all of the wedding photos online on his website (he has a great website btw!) by clicking the link below.</p>
<p><a href="http://heirloomproductionsonline.com/store/weddings" target="blank">Herzberg Wedding Photos</a><br />
<img style="padding-left: 40px;" src="http://heirloomproductionsonline.com/media//proofing/cache/cdd9ae16-9bb2-4bf5-b46b-28fa355cf85a_thumb.jpg" /><img style="float:right; padding-right: 40px;" src="http://heirloomproductionsonline.com/media//proofing/cache/31108cfc-b267-4e82-a207-9d4de3613436_thumb.jpg" /></p>
<div style="clear: both;"></div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>/spencer/?feed=rss2&#038;p=243</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wedding!!!</title>
		<link>/spencer/?p=199</link>
		<comments>/spencer/?p=199#comments</comments>
		<pubDate>Sat, 12 Feb 2011 10:12:15 +0000</pubDate>
		<dc:creator>spencer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://herzfam.com/spencer/?p=199</guid>
		<description><![CDATA[Hello, I am making this post to direct people to Hollee and my wedding website, mostly so people who type in the address incorrectly and end up here. If you are looking for the wedding website, click the link bellow: http://www.herzfam.com/wedding -Spencer]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I am making this post to direct people to Hollee and my wedding website, mostly so people who type in the address incorrectly and end up here. If you are looking for the wedding website, click the link bellow:</p>
<p><a href="http://www.herzfam.com/wedding" alt="http://www.herzfam.com/wedding" >http://www.herzfam.com/wedding</a></p>
<p>-Spencer</p>
]]></content:encoded>
			<wfw:commentRss>/spencer/?feed=rss2&#038;p=199</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aopy!</title>
		<link>/spencer/?p=184</link>
		<comments>/spencer/?p=184#comments</comments>
		<pubDate>Wed, 24 Nov 2010 01:47:32 +0000</pubDate>
		<dc:creator>spencer</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://herzfam.com/spencer/?p=184</guid>
		<description><![CDATA[Long time, no post&#8230; I have resurrected a project that a fellow student and I worked on during a graduate course at RIT this past year. Aopy is a Python framework for Aspect Oriented Programming. It allows for quick and easy join point and advice declaration as well as run-time modification of join points. I [...]]]></description>
			<content:encoded><![CDATA[<p>Long time, no post&#8230;</p>
<p>I have resurrected a project that a fellow student and I worked on during a graduate course at RIT this past year. Aopy is a Python framework for Aspect Oriented Programming. It allows for quick and easy join point and advice declaration as well as run-time modification of join points. </p>
<p>I have create a new page on my blog under Current Projects where you can find more details on this project as well as the links to the GitHub repo were this project is hosted.</p>
<p><a href="http://herzfam.com/spencer/current-projects/aopy/">Current Projects &#8211; aopy</a><br />
<a href="https://github.com/whelmingbytes/aopy">GitHub &#8211; aopy</a></p>
<p>Have fun!</p>
<p>-Spencer</p>
]]></content:encoded>
			<wfw:commentRss>/spencer/?feed=rss2&#038;p=184</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 schroot in 10.04</title>
		<link>/spencer/?p=86</link>
		<comments>/spencer/?p=86#comments</comments>
		<pubDate>Fri, 07 May 2010 02:48:29 +0000</pubDate>
		<dc:creator>spencer</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://herzfam.com/spencer/?p=86</guid>
		<description><![CDATA[*** Update: First and foremost, I take no credit for any of this post&#8217;s content. I am really just taking what others have done (which I have links to bellow) and am putting it on my blog for a personal reference and hopefully the small changes that I made to their guides will help someone [...]]]></description>
			<content:encoded><![CDATA[<p><strong>*** Update:</strong> First and foremost, I take no credit for any of this post&#8217;s content. I am really just taking what others have done (which I have links to bellow) and am putting it on my blog for a personal reference and hopefully the small changes that I made to their guides will help someone somewhere.</p>
<p>I have recently upgraded to <a href="http://www.ubuntu.com/">Ubuntu 10.04</a> (love it with an SSD) and now am in the progress of making changes to <a href="http://www.cyanogenmod.com">Cyanogen&#8217;s</a> Custom Android ROM with the help of <a href="http://www.allenvoter.com/">fellow RIT Student: Allen Voter</a>. Information on that process will come later&#8230;</p>
<p>So the goal of this post will be to install a 32-bit chroot of 9.10 in my fresh install of 10.04 as 9.10 is easier to build and test Cyanogen&#8217;s custom Android rom. I have modified some guides from <a href="http://www.debian-administration.org/articles/566">here</a> and <a href="https://dev.launchpad.net/Running/Schroot">here</a>. I have also elected to use <a href="http://manpages.ubuntu.com/manpages/hardy/man1/schroot.1.html">schroot</a> as it allows for easy chroot access.</p>
<ol>
<li>First, we must install schroot and debootstrap:<br />
<code>$ sudo apt-get install schroot debootstrap</code></li>
<li>Next, we need to configure/edit the <strong>/etc/schroot/schroot.conf</strong> file so schroot will do our bidding:<br />
<code>[karmic]<br />
description=karmic<br />
type=directory<br />
location=/var/chroot/karmic<br />
priority=3<br />
users=YOUR_USER<br />
groups=SOME_GROUP_LIKE_users<br />
root-groups=YOUR_ADMIN_USER<br />
run-setup-scripts=true<br />
run-exec-scripts=true</code></p>
<p>Make the necessary changes to best suit your needs and apparently, the run-* lines are not necessary for 10.04 or later.</li>
<li>Now that we have schroot configured, we need to do the install, which I think is called &#8220;creating the chroot&#8221;:<br />
<code>$ sudo debootstrap --arch i386 karmic /var/chroot/karmic http://mirrors.rit.edu/ubuntu/</code></p>
<p>Again, modify the command to match what you changed in step 2. This will take some time. Also note that the last command is a single line.</li>
<li>Congratulations, once this is complete, your chroot is ready! Keep in mind that there are no X packages installed and this is basically a command line install (we will fix this in a minute). Now for posterity, we should update the system:<br />
<code>$ schroot -c karmic -u root apt-get update<br />
$ schroot -c karmic -u root apt-get upgrade</code></p>
<p>You may also want to install some software (we install Firefox so the system will grab the X components):<br />
<code>$ schroot -c karmic -u root apt-get install firefox</code></li>
<li>Well, as you can see, the length of this command could be problematic if you need to install many things or want to do something with root. If we take our base systems user, passwords, and sudoers files and place them in the chroot environment, we can interact with the system in a much easier way:<code>$ sudo cp /etc/{resolv.conf,passwd,group,shadow,sudoers} /var/chroot/karmic/etc</code>This now allows us to get straight into the shell and it should act just like your host system.</li>
<li>To drop straight into a chroot shell:<br />
<code>$ schroot -c karmic<br />
(karmic)superman@mycomputer:~$ </code></li>
<li>Finally, you may want to run some X applications:<br />
<code>$ xhost +localhost<br />
localhost being added to access control list<br />
$ schroot -c karmic -p firefox</code></li>
<p><del>I have yet to figure out what exactly the <strong>xhost</strong> command does and not really sure if this needs to be run every time you start up a shell, but if/when I figure it out, I will update this post.</del> Comment number 1 from Nk says that <strong>xhost</strong> allows or denies access to the X server and will persist until there is a restart of X. Sounds good enough for me, thanks Nk!</ol>
<p>A great feature of this schroot method is that your home directory is auto-mounted so both the host and the chroot have access to the same folder.</p>
<p>Great! You now have a chroot environment to do testing, development, and just playing around. Another useful thing to use chrooting for is running 64-bit software. You could change this installation a bit to pull the 64-bit install of Ubuntu instead and you could run 64-bit apps inside a 32-bit host. Awesome. Now that I have this set up, my plan is to use it for building Cyanogen&#8217;s Android ROM so stay tuned for posts on how that worked.</p>
]]></content:encoded>
			<wfw:commentRss>/spencer/?feed=rss2&#038;p=86</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

