<?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>Anthony Hook &#187; education</title>
	<atom:link href="http://anthonyrhook.com/blog/category/education/feed/" rel="self" type="application/rss+xml" />
	<link>http://anthonyrhook.com/blog</link>
	<description>Death before decaf.</description>
	<lastBuildDate>Tue, 18 Oct 2011 16:48:38 +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>Ubuntu Wisconsin Presentation &#8211; Success</title>
		<link>http://anthonyrhook.com/blog/2011/10/12/ubuntu-wisconsin-presentation-success/</link>
		<comments>http://anthonyrhook.com/blog/2011/10/12/ubuntu-wisconsin-presentation-success/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 15:07:08 +0000</pubDate>
		<dc:creator>anthony</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[Planet Ubuntu]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://anthonyrhook.com/blog/?p=544</guid>
		<description><![CDATA[Rick Schwai&#8217;s resentation was a great success in Rhinelander! We had 13 people in attendance. My wife and I were happy to attend, and I provided any clarification on questions during the presentation, as well as talked about the Ubuntu Local Community.  After, Rick took a survey and interest form, and everyone was able to [...]]]></description>
			<content:encoded><![CDATA[<p>Rick Schwai&#8217;s resentation was a great success in Rhinelander! We had 13 people in attendance. My wife and I were happy to attend, and I provided any clarification on questions during the presentation, as well as talked about the Ubuntu Local Community.  After, Rick took a survey and interest form, and everyone was able to take one (or a few) free <a href="http://shop.canonical.com/product_info.php?products_id=918" target="_blank">Ubuntu 10.04 LTS CDs </a></p>
<p>I am looking forward to working with Rick on future presentations in the area, whether I&#8217;m able to attend or not.  If anyone else in the LoCo is interested in presenting or has any questions, please let us know on the <a href="https://lists.ubuntu.com/mailman/listinfo/Ubuntu-us-wi" target="_blank">mailing list</a>.</p>
<p>Here are a few pictures of the venue, and Rick&#8217;s setup.</p>

<a href='http://anthonyrhook.com/blog/2011/10/12/ubuntu-wisconsin-presentation-success/2011-10-03_18-18-20_544/' title='A shot of the venue'><img width="150" height="150" src="http://anthonyrhook.com/blog/wp-content/uploads/2011-10-03_18-18-20_544-150x150.jpg" class="attachment-thumbnail" alt="A shot of the venue" title="A shot of the venue" /></a>
<a href='http://anthonyrhook.com/blog/2011/10/12/ubuntu-wisconsin-presentation-success/2011-10-03_17-31-15_426/' title='Ubuntu Wisconsin LoCo tear-offs'><img width="150" height="150" src="http://anthonyrhook.com/blog/wp-content/uploads/2011-10-03_17-31-15_426-150x150.jpg" class="attachment-thumbnail" alt="Ubuntu Wisconsin LoCo tear-offs" title="Ubuntu Wisconsin LoCo tear-offs" /></a>
<a href='http://anthonyrhook.com/blog/2011/10/12/ubuntu-wisconsin-presentation-success/2011-10-03_18-18-31_717/' title='Preparing for the presentation'><img width="150" height="150" src="http://anthonyrhook.com/blog/wp-content/uploads/2011-10-03_18-18-31_717-150x150.jpg" class="attachment-thumbnail" alt="Preparing for the presentation" title="Preparing for the presentation" /></a>

]]></content:encoded>
			<wfw:commentRss>http://anthonyrhook.com/blog/2011/10/12/ubuntu-wisconsin-presentation-success/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu Wisconsin on the radio</title>
		<link>http://anthonyrhook.com/blog/2011/09/26/ubuntu-wisconsin-on-the-radio/</link>
		<comments>http://anthonyrhook.com/blog/2011/09/26/ubuntu-wisconsin-on-the-radio/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 17:08:44 +0000</pubDate>
		<dc:creator>anthony</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[Planet Ubuntu]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://anthonyrhook.com/blog/?p=515</guid>
		<description><![CDATA[Rick Schwai from our own Ubuntu Wisconsin Local Community had an interview with WXPR regarding his upcoming presentation, &#8220;Introduction To Ubuntu.&#8221;  Above is the sound clip from WXPR, where Rick got a little more than a minute of airtime giving a brief introduction to Ubuntu, giving listeners taste of what they can see on October [...]]]></description>
			<content:encoded><![CDATA[<div class="soundcloudIsGold " id="soundcloud-24191899"><object height="18px" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F24191899&amp;auto_play=false&amp;player_type=tiny&amp;show_comments=true&amp;color=ff7700"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param><embed wmode="transparent" allowscriptaccess="always" height="18px" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F24191899&amp;auto_play=false&amp;player_type=tiny&amp;show_comments=true&amp;color=ff7700" type="application/x-shockwave-flash" width="100%"></embed></object></div>
<p>Rick Schwai from our own Ubuntu Wisconsin Local Community had an interview with WXPR regarding his <a title="Introduction to Ubuntu Presentation" href="http://loco.ubuntu.com/events/ubuntu-us-wisconsin/1214/detail/" target="_blank">upcoming presentation</a>, &#8220;Introduction To Ubuntu.&#8221;  Above is the sound clip from WXPR, where Rick got a little more than a minute of airtime giving a brief introduction to Ubuntu, giving listeners taste of what they can see on October 3rd.  If you&#8217;re in the area and find this interesting, we hope to see you there.  I&#8217;ll be there, with a nice stack of Ubuntu 10.04 LTS CDs to hand out to anyone who attends.</p>
<p>Stop on by:</p>
<p style="padding-left: 30px;"><strong>When:</strong> Mon, 03 Oct. 2011 18:30 &#8211; 19:30 CDT</p>
<p style="padding-left: 30px;"><strong>Where:</strong> <a href="http://loco.ubuntu.com/events/venues/United_States/560/detail/" target="_blank">Rhinelander District Library</a></p>
<p style="padding-left: 30px;"><strong>Why:</strong> Introduction to Ubuntu</p>
<p>Let me know if you have any questions, and we hope to see you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyrhook.com/blog/2011/09/26/ubuntu-wisconsin-on-the-radio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scratching your left ear with your right hand</title>
		<link>http://anthonyrhook.com/blog/2011/07/05/scratchin-your-left-ear-with-your-right-hand/</link>
		<comments>http://anthonyrhook.com/blog/2011/07/05/scratchin-your-left-ear-with-your-right-hand/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 18:26:51 +0000</pubDate>
		<dc:creator>anthony</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://anthonyrhook.com/blog/?p=453</guid>
		<description><![CDATA[There are many ways to do many things in the computer world as evidenced by xkcd #763.  When in programming classes at the university, my professor would see some of the silliest things.  He had a very nice way of telling classmates they&#8217;re doing things wrong; he would tell them their code was, &#8220;like scratching [...]]]></description>
			<content:encoded><![CDATA[<p>There are many ways to do many things in the computer world as evidenced by <a title="xkcd: Workaround" href="http://xkcd.com/763/">xkcd #763</a>.  When in programming classes at the university, my professor would see some of the silliest things.  He had a very nice way of telling classmates they&#8217;re doing things wrong; he would tell them their code was, &#8220;like scratching your left ear with your right hand.&#8221;  Go ahead and try it.  Sure, it works, but there&#8217;s a better ways to do things.</p>
<div class="wp-caption aligncenter" style="width: 408px"><a href="http://xkcd.com/763/"><img class=" " title="I once worked on a friend's dad's computer. He had the hard drive divided into six partitions, C: through J:, with a 'Documents' directory tree on each one. Each new file appeared to be saved to a partition at random. I knew enough not to ask." src="http://imgs.xkcd.com/comics/workaround.png" alt="xkcd: Workaround" width="398" height="462" /></a><p class="wp-caption-text">xkcd: Workaround</p></div>
<p>Now, I don&#8217;t profess to be a coding master leet hacker guru.  I do, however, understand that there are a few things that could definitely be more optimized with this code below.  Sure, it will work.  Sure, it should have the correct and desired outcome, but there are a few ways to do things a bit differently.  In something small, it&#8217;s not going to have a huge impact.  Do this a few dozen unnecessary times, and you may have issues.</p>
<p>Professional coders, this post may be of no use to you, or maybe it&#8217;s a nice refresher on some coding style.</p>
<p>We&#8217;re going to break down a small block of code I recently saw.  Granted, this is psuedocode, but you get the point of what was actually happening:</p>
<pre style="padding-left: 30px;">int $theStart = 0;
for ($theStart=2012; $theStart &lt; 2028; $theStart++)
{
//do some operation (2028-2012 times)
}</pre>
<p>First  off, you&#8217;re hardcoding limits into your forloop. Don&#8217;t do this, it makes babies cry.  To make this more flexible, I recommend variables declared at the top of the class/function/whatever-block-is-currently-in-scope with some lower and upperbound that is easily identifiable.</p>
<p>Remember this line?</p>
<pre style="padding-left: 30px;">int $theStart = 0;</pre>
<p>Well, you&#8217;re re-declaring the variable the next line. That&#8217;s just silly.</p>
<pre style="padding-left: 30px;">for ($theStart=2012;  $theStart &lt; 2028; $theStart++)</pre>
<p>Because you&#8217;re re-declaring <em>$theStart</em> here, we&#8217;re going to combine that with the declared lowerbound and upperbound into this:</p>
<pre style="padding-left: 30px;">int $lowerBound = 2012;
int $upperBound = 2028;
for (int $i=$lowerBound; $i &lt; $upperBound; $i++)
{
//do some operation ($lowerBound - $upperBound times)
}</pre>
<p>You can probably see that it may be one more extra line of actual code, but here&#8217;s an explanation of why this is better.</p>
<ul>
<li>We&#8217;re avoiding re-declaring an already declared variable</li>
<li>Easily identifying <em>upperBound</em> and <em>lowerBound</em> variables, if you need to change them later, resuse this code for anything else, adjust this class/block/function to take in <em>upperBound</em> and <em>lowerBound</em> as arguments, etc</li>
<li>Makes the code easier to work with using the temporary variable <em>i</em> inside the forloop, instead of worrying about changing <em>theNumber</em>. Granted, <em>theNumber</em>&#8216;s actual value won&#8217;t change outside of this forloop (scope, kids!), but it still won&#8217;t be as confusing.</li>
</ul>
<p>Take what you want out of this, perhaps it&#8217;ll help some code out there be better, stronger, run faster, and jump higher.  Also, try using your right hand to scratch your right ear.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyrhook.com/blog/2011/07/05/scratchin-your-left-ear-with-your-right-hand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anthony&#8217;s Kombucha Recipe</title>
		<link>http://anthonyrhook.com/blog/2011/06/13/anthonys-kombucha-recipe/</link>
		<comments>http://anthonyrhook.com/blog/2011/06/13/anthonys-kombucha-recipe/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 03:03:08 +0000</pubDate>
		<dc:creator>anthony</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[entertainment]]></category>

		<guid isPermaLink="false">http://anthonyrhook.com/blog/?p=455</guid>
		<description><![CDATA[Kombucha is an interesting drink enjoyed by cultures around the world.  I&#8217;ve had the great experience in the last few weeks buying it at my local organic store, although priced at $3.45 for 16 to 20 oz, I don&#8217;t remember, I figured there&#8217;d be a way for me to brew my own. Before you start: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Kombucha">Kombucha</a> is an interesting drink enjoyed by cultures around the world.  I&#8217;ve had the great experience in the last few weeks buying it at my local <a href="http://www.goldenharvestmarket.com/">organic store</a>, although priced at $3.45 for 16 to 20 oz, I don&#8217;t remember, I figured there&#8217;d be a way for me to brew my own.</p>
<h2>Before you start:</h2>
<p>Keep in mind that sanitation is important; sanitize all of your equipment (I suggest vinegar, do not use soap), and make sure you keep your hands clean.</p>
<p>I read a few different recipes before deciding to start my own, so please do your research beforehand and make sure you&#8217;re safe!  If I&#8217;ve missed anything, feel free to let me know.  I cannot responsible for anything you may do wrong, so please do your own research to make sure you&#8217;re safe.</p>
<p>I obtained a starter <a href="http://en.wikipedia.org/wiki/SCOBY">SCOBY</a> (Symbiotic Colony of Bacteria and Yeast) from a gentleman at work (Thanks, Brad!).</p>
<h2>Here&#8217;s what you need:</h2>
<ul>
<li>1 gallon spring water (room temperature)</li>
<li>5 bags <a href="http://shop.numitea.com/Gunpowder-Green/p/NUMIS-10109&amp;c=NumiTeaStore@Teabag@Green">organic green tea</a></li>
<li>1.5 cups <a href="http://www.amazon.com/Pure-Cane-Granulated-White-Sugar/dp/B000R4FGK8">pure cane sugar</a></li>
<li>1 meal pot (for boiling water)</li>
<li>1 gal glass cookie jar (important that&#8217;s glass)</li>
<li>1 plastic ladle (no metal, please!)</li>
<li>1 jar of starter Kombucha (you can use a cup of Kombucha and a SCOBY from a previous batch, or get some from a friend, or use some from Kombucha you&#8217;ve purchased)</li>
</ul>
<h2>Here&#8217;s how I did it:</h2>
<ol>
<li>Boil 1qt water in the metal pot</li>
<li>Add 1.5 cups sugar, dissolve</li>
<li>Turn heat off, add 5 tea bags</li>
<li>Steep for 15 minutes, then discard tea bags</li>
<li>Remove from stove and let cool to room temp (consider leaving overnight)</li>
<li>Combine starter Kombucha, 1 qt tea, and remaining room temperature spring water into the 1 gal glass cookie jar</li>
<li>Cover with a porous cloth, and use a rubber-band to keep it fastened around the top of the cookie jar</li>
<li>Let sit on the counter for 7-14 days at room temperature</li>
<li>Separate the new SCOBY (that will have grown on top of the old SCOBY), and put it into a new jar, along with 1 cup of the brewed tea (you&#8217;ve just made your own starter batch!)</li>
<li>Strain the Kombucha, and enjoy!  Please don&#8217;t store in metal or plastic containers; use glass.</li>
</ol>
<p>Here is my first starter batch as a result of my first gallon of Kombucha.  The white stuff is the SCOBY that grew on top of my jar, which I will use for my next batch.</p>
<p><a href="http://anthonyrhook.com/blog/wp-content/uploads/StarterBatch.jpg"><img class="aligncenter size-medium wp-image-465" title="Green Tea Kombucha Starter Batch" src="http://anthonyrhook.com/blog/wp-content/uploads/StarterBatch-225x300.jpg" alt="Green Tea Kombucha Starter Batch" width="225" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyrhook.com/blog/2011/06/13/anthonys-kombucha-recipe/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Impromptu Ubuntu Hour 1: Campus Barber Shop</title>
		<link>http://anthonyrhook.com/blog/2010/02/03/impromptu-ubuntu-hour-1-campus-barber-shop/</link>
		<comments>http://anthonyrhook.com/blog/2010/02/03/impromptu-ubuntu-hour-1-campus-barber-shop/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 02:48:46 +0000</pubDate>
		<dc:creator>anthony</dc:creator>
				<category><![CDATA[education]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[good times had here]]></category>
		<category><![CDATA[herecomestheneighborhood]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Hour]]></category>
		<category><![CDATA[Wisconsin LoCo]]></category>

		<guid isPermaLink="false">http://anthonyrhook.com/blog/?p=341</guid>
		<description><![CDATA[This post is somewhat of a follow-up of Wisconsin Ubuntu Hour. So, I got a haircut today and had about an hour long discussion with my barber about all sorts of topics.  We touched subjects varying from the new iPad, different upcoming technologies, and we ended up talking about operating systems. I am finding myself [...]]]></description>
			<content:encoded><![CDATA[<p>This post is somewhat of a follow-up of <a href="http://anthonyrhook.com/blog/2010/02/02/wisconsin-ubuntu-hour/" target="_blank">Wisconsin Ubuntu Hour</a>.</p>
<p>So, I got a haircut today and had about an hour long discussion with my barber about all sorts of topics.  We touched subjects varying from the new iPad, different upcoming technologies, and we ended up talking about operating systems.</p>
<p>I am finding myself being a smidge reserved when it comes to talking about Ubuntu, I don&#8217;t want to be &#8220;that guy,&#8221; (read: evangelist) but I do not hesitate to like to let people know that there exist free (<em>libre</em>, beer) alternatives to the software they&#8217;re used to.</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-342" title="Protesting" src="http://anthonyrhook.com/blog/wp-content/uploads/Penguins_Picket-300x206.png" alt="Penguins Protesting" width="300" height="206" /></p>
<p style="text-align: left;">We began talking and Ubuntu came into conversation, and, as per the usual, common questions did arise.  I felt he asked questions any responsible consumer would, and I wasn&#8217;t surprised as to his reaction to its (Ubuntu, and GNU/Linux in general) existence.</p>
<p style="text-align: left;">He asked me a few questions like:</p>
<ul>
<li>Why is it safer? No viruses?</li>
<li>How is this free?</li>
<li>What is &#8220;Open Source?&#8221;</li>
<li>How do I get it?</li>
</ul>
<p>One thing that is important to keep in mind when doing an Ubuntu Hour is that you should be prepared to answer questions like these accurately (or as accurately as you can, it&#8217;s okay to tell someone you&#8217;re not entirely sure).  I&#8217;d get into possible answers, but that would take a long time to write in a single post, and there are other explanations on the internet that are probably far better than I would be at explaining them.</p>
<p>He did seem generally intrigued and frustrated with his current setup, and liked the idea of &#8220;it&#8221; in general.  Of course, I could have gone into greater detail about a lot of things, but it&#8217;s important to know when to stop.  One thing that I will do next time I&#8217;m in for a haircut (or have spare time to run across the road; that&#8217;s all the farther away it is from my room on campus) is bring him a LiveCD to try out.  Maybe he&#8217;ll like it, maybe it won&#8217;t, but at least he is aware of an alternative.</p>
<p>You never know when an opportunity may arise and when you can make a difference, so be prepared.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyrhook.com/blog/2010/02/03/impromptu-ubuntu-hour-1-campus-barber-shop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

