<?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>The Happy Moron &#187; tongueincheek</title>
	<atom:link href="http://thehappymoron.com/blog/category/tongueincheek/feed/" rel="self" type="application/rss+xml" />
	<link>http://thehappymoron.com/blog</link>
	<description>When being stupid is smart</description>
	<lastBuildDate>Wed, 23 May 2012 18:13:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to learn Greek the Hard Way</title>
		<link>http://thehappymoron.com/blog/2012/04/26/how-to-learn-greek-the-hard-way/</link>
		<comments>http://thehappymoron.com/blog/2012/04/26/how-to-learn-greek-the-hard-way/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 23:11:57 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[personalinthepubliceye]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[greek]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[whyIhatecomputers]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1956</guid>
		<description><![CDATA[&#8230; or, &#8220;Why I will not get &#8216;A&#8217;s in school unless I change my behaviour&#8221; &#8230; or &#8220;Why nothing in life is simple&#8221; &#8230; or simply: &#8220;Yak Shaving&#8220;. I don&#8217;t want to lie. Being me has considerable advantages. But it &#8230; <a href="http://thehappymoron.com/blog/2012/04/26/how-to-learn-greek-the-hard-way/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&#8230; or, &#8220;Why I will not get &#8216;A&#8217;s in school unless I change my behaviour&#8221;<br />
&#8230; or &#8220;Why nothing in life is simple&#8221;<br />
&#8230; or simply: &#8220;<a href="http://www.catb.org/jargon/html/Y/yak-shaving.html">Yak Shaving</a>&#8220;.</p>
<p>I don&#8217;t want to lie. Being me has considerable advantages. But it has some  challenges, too &#8211; like the way I learn Greek:</p>
<h3>The Challenge</h3>
<p>1) Sit down to learn Biblical Greek.<br />
2)Wow &#8211; <a href="http://www.teknia.com/">Mounce&#8217;s BBG</a> has <strong>a lot of vocab</strong>!<br />
3)Cool! Mounce has audio files for every single vocab word!<br />
4)I should listen to Mounce say all the vocab so I can learn to pronounce them right &#8211; it will be easier to do this now, so I don&#8217;t make a mental association with incorrect pronunciations&#8230;<br />
5)But the vocab is spread throughout all the lessons and it&#8217;s so slow clicking through all the web pages&#8230;<br />
6)This will surely go quicker if I do things <em>The Right Way</em>&#8230;</p>
<h3>Finding The Right Way</h3>
<p>7)The files are all Quicktime&#8230;<br />
8)Install Quicktime.<br />
9)I should cache the audio-files locally&#8230; and I can maybe even convert them into .mp3 so I can play them in a playlist!<br />
8)Open terminal ==&gt; &#8216;man <a href="http://www.gnu.org/software/wget/">wget</a>&#8216;<br />
9)Hmm&#8230; But I need to get the file locations from the links! Is this a job for regex?<br />
10)Save the source for thirty web-pages for link extraction.<br />
11)Oh no! The .html files only link to the individual html pages for each word &#8211; there are about 300 of them! Time to ramp it up&#8230; oh, IT&#8217;S ON.</p>
<h3>Getting Ready for Battle</h3>
<p>12)Is it finally time to learn BASH scripting or should I brush up on my Ruby? Let&#8217;s go with Ruby.<br />
13)Which Ruby screen scraping library should I use to handle the html pages? (Google them) Scrubyt isn&#8217;t actively developed, should I use Nokogiri or Anemone? I think Nokogiri&#8230;<br />
14) Oh wait&#8230; Ruby isn&#8217;t installed &#8211; what&#8217;s the current best practice for install on Ubuntu? It seems to be the Ruby Version Manager, but the Ubuntu packages don&#8217;t seem to work right. I should probably install RubyGems manually&#8230;<br />
15)RVM install botches horribly.<br />
16)Ok, we&#8217;ll just use the old ruby1.8 with Nokogiri then&#8230;<br />
17)But I don&#8217;t have a good editor installed and I haven&#8217;t used one in about a year &#8211; I wonder which is top of the hill? (Research Netbeans &amp; Eclipse) Hmm&#8230; they&#8217;re chunky! (Install Geany and Redcar and jruby)<br />
18)Hey, I&#8217;m almost ready to start playing around with editors and finding which one I like better&#8230; And after this I can figure out how to use Nokogiri! Isn&#8217;t Biblical Greek fun?</p>
<h3>Battle is Joined</h3>
<p>19)Spend three hours writing program that uses nokogiri<br />
20)Finally! Downloading the .mov files&#8230;<br />
21)Discover that running wget through Ruby means the downloaded files are incomplete<br />
22)Change the program to generate command line scripts<br />
23)Think about manually running 30 command line scripts. Oh Goody! I get to brush up on bash scripting after all.<br />
24)Google &#8220;Parameter Extensions&#8221; and remind myself how a bash &#8220;for loop&#8221; works.<br />
25)End up using &#8216;find&#8217; to concatenate all the files into a single script.<br />
26)Download the .mov files.</p>
<h3>Cleaning up the Battlefield</h3>
<p>27) No, really, that&#8217;s about it&#8230; All that&#8217;s needed now is to write my bash scripts to convert all the .mov to .mp3 (after installing the proper codecs, of course) and to generate the .m3u playlist files so I can play all the vocabulary for a given chapter.<br />
28)But I guess once that&#8217;s done, I can fire up Audacity and record myself reciting all the words after Mounce &#8211; this way I can make my own .mp3s with my own voice, using correct pronunciation *and* Fwith the definitions &#8211; so it will make it easier to memorize! Also I can share those <img src='http://thehappymoron.com/blog/wp-content/themes/brunelleschi/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <br />
29)But I don&#8217;t know about that&#8230; that might be a bit of a distraction from the task at hand&#8230;</p>
<p>Isn&#8217;t learning Biblical Greek Fun?</p>
<h3>Addendum</h3>
<p>30)As with anything in our modern scientific world, <em>if you didn&#8217;t write it down, it didn&#8217;t happen&#8230; Laboratory rule #1. </em>The last step is, obviously, to write the blog post!</p>
<p><em>UPDATE: It turns out that downloading via manual wget scripts or even single wget commands clips off the ends of some of the QuickTime files. Weird. The same thing happens if you update your Nokogiri scraping program to generate &#8216;curl&#8217; download scripts as well. Even if you open them in Firefox and &#8216;Save As&#8217; you will get clipped versions of the files <img src='http://thehappymoron.com/blog/wp-content/themes/brunelleschi/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </em></p>
<p><em>But they play all right on the website&#8230; Maybe I&#8217;ll just use that <img src='http://thehappymoron.com/blog/wp-content/themes/brunelleschi/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2012/04/26/how-to-learn-greek-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Every Now and Again</title>
		<link>http://thehappymoron.com/blog/2012/01/30/every-now-and-again/</link>
		<comments>http://thehappymoron.com/blog/2012/01/30/every-now-and-again/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 17:29:10 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[dinosaurcomics]]></category>
		<category><![CDATA[ryannorth]]></category>
		<category><![CDATA[trex]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1862</guid>
		<description><![CDATA[I remember Dinosaur Comics. And I smile a little bit.]]></description>
			<content:encoded><![CDATA[<p>I remember Dinosaur Comics.</p>
<p><a href="http://www.qwantz.com/index.php?comic=2129">And I smile a little bit</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2012/01/30/every-now-and-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If I Remember My Belt</title>
		<link>http://thehappymoron.com/blog/2011/08/05/if-i-remember-my-belt/</link>
		<comments>http://thehappymoron.com/blog/2011/08/05/if-i-remember-my-belt/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 16:34:27 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[belt]]></category>
		<category><![CDATA[eye contact]]></category>
		<category><![CDATA[friday]]></category>
		<category><![CDATA[success]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1619</guid>
		<description><![CDATA[&#8230; then my Friday morning has been a success. I forget too often on Friday.  As I&#8217;m on the train, or walking into work, my hand will brush against my waist. Some neuron in my brain fires (I&#8217;m pretty sure I have &#8230; <a href="http://thehappymoron.com/blog/2011/08/05/if-i-remember-my-belt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&#8230; then my Friday morning has been a success.</p>
<p>I forget too often on Friday.</p>
<p> As I&#8217;m on the train, or walking into work, my hand will brush against my waist. Some neuron in my brain fires (I&#8217;m pretty sure I have a dedicated belt recognition neuron) and yes, it feels wrong because my belt is. not. there.</p>
<p>I call them Eye Contact Fridays.</p>
<p>If you see me catch and hold your gaze from afar? If I approach with vim and vigor, greet you enthusiastically? Don&#8217;t look down. You&#8217;ll see me beltless. Or you&#8217;ll see the spot on my shirt.</p>
<p>Hold their gaze&#8230; Close the distance quickly&#8230; Big smile!</p>
<p>I don&#8217;t know what it is about Fridays.</p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2011/08/05/if-i-remember-my-belt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Joy of Computing &#8211; II</title>
		<link>http://thehappymoron.com/blog/2011/06/21/the-joy-of-computing-ii/</link>
		<comments>http://thehappymoron.com/blog/2011/06/21/the-joy-of-computing-ii/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 19:40:39 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[whyIhatecomputers]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1553</guid>
		<description><![CDATA[for /f %%i in (&#8216;find %~1 -print ^&#124; grep .*java$&#8217;) do @for /f &#8220;delims=&#8221; %%j in (&#8216;wc -w %%i ^&#124; sed s/\(^^[0-9]*\^).*/\1/&#8217;) do @set /a N+=%%j This is why I hate computers.]]></description>
			<content:encoded><![CDATA[<p>for /f %%i in (&#8216;find %~1 -print ^| grep .*java$&#8217;) do @for /f &#8220;delims=&#8221; %%j in (&#8216;wc -w %%i ^| sed s/\(^^[0-9]*\^).*/\1/&#8217;) do @set /a N+=%%j</p>
<p>This is why I hate computers.</p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2011/06/21/the-joy-of-computing-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Joy of Computing</title>
		<link>http://thehappymoron.com/blog/2011/05/27/the-joy-of-computing/</link>
		<comments>http://thehappymoron.com/blog/2011/05/27/the-joy-of-computing/#comments</comments>
		<pubDate>Fri, 27 May 2011 23:29:20 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[whyIhatecomputers]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1531</guid>
		<description><![CDATA[for /F %%n in ('echo %working_path%\%1 ^&#124; sed s/[^^^^\]\$/%2\\%1/') do set new_file=%%n This is why I hate computers.]]></description>
			<content:encoded><![CDATA[<p><code>for /F %%n in ('echo %working_path%\%1 ^| sed s/[^^^^\]\$/%2\\%1/') do set new_file=%%n</code></p>
<p>This is why I hate computers.</p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2011/05/27/the-joy-of-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>For all you perfectionists</title>
		<link>http://thehappymoron.com/blog/2011/02/26/for-all-you-perfectionists/</link>
		<comments>http://thehappymoron.com/blog/2011/02/26/for-all-you-perfectionists/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 03:28:46 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[LOLCat]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1258</guid>
		<description><![CDATA[see more Lolcats and funny pictures]]></description>
			<content:encoded><![CDATA[<p><a href="http://icanhascheezburger.com/2011/02/25/funny-pictures-it-duzent-matter/?utm_source=embed&amp;utm_medium=web&amp;utm_campaign=sharewidgetA"><img class="event-item-lol-image" title="funny pictures - It duzent matter weather u win or lose...." src="http://icanhascheezburger.files.wordpress.com/2011/02/4d067ccc-4250-4634-bfa8-a1176930ff96.jpg" alt="funny pictures - It duzent matter weather u win or lose...." width="500px" height="374px" /></a><br />
see more <a href="http://icanhascheezburger.com?utm_source=embed&amp;utm_medium=web&amp;utm_campaign=sharewidgetA">Lolcats and funny pictures</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2011/02/26/for-all-you-perfectionists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It takes a whole village to raise a child</title>
		<link>http://thehappymoron.com/blog/2011/02/24/it-takes-a-whole-village-to-raise-a-child/</link>
		<comments>http://thehappymoron.com/blog/2011/02/24/it-takes-a-whole-village-to-raise-a-child/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 19:07:34 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[child]]></category>
		<category><![CDATA[proverb]]></category>
		<category><![CDATA[raise]]></category>
		<category><![CDATA[raze]]></category>
		<category><![CDATA[village]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1255</guid>
		<description><![CDATA[Or so they say&#8230; but if you&#8217;ve ever seen a small boy play with matches, you know the truth: It only takes a child to raze a whole village.]]></description>
			<content:encoded><![CDATA[<p>Or so they say&#8230; but if you&#8217;ve ever seen a small boy play with matches, you know the truth:</p>
<p>It only takes a child to raze a whole village.</p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2011/02/24/it-takes-a-whole-village-to-raise-a-child/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Brrr&#8230;</title>
		<link>http://thehappymoron.com/blog/2011/02/01/brrr/</link>
		<comments>http://thehappymoron.com/blog/2011/02/01/brrr/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 15:36:47 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[brr]]></category>
		<category><![CDATA[brrr]]></category>
		<category><![CDATA[cold]]></category>
		<category><![CDATA[frosty]]></category>
		<category><![CDATA[room temperature]]></category>
		<category><![CDATA[steam]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[winter]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1231</guid>
		<description><![CDATA[It&#8217;s so cold here even our steam is only room temperature.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s so cold here even our steam is only room temperature.</p>
<p><a href="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam2_rotated.jpg"><img class="aligncenter size-large wp-image-1235" title="steam2_rotated" src="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam2_rotated-768x1024.jpg" alt="" width="620" height="826" /></a><a href="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam1_rotated.jpg"></a></p>
<p><a href="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam1_rotated.jpg"><img class="aligncenter size-large wp-image-1234" title="steam1_rotated" src="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam1_rotated-768x1024.jpg" alt="" width="620" height="826" /></a><a href="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam2_rotated.jpg"><br />
</a></p>
<p><a href="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam3.jpg"><img class="aligncenter size-large wp-image-1230" title="steam3" src="http://thehappymoron.com/blog/wp-content/uploads/2011/02/steam3-1024x768.jpg" alt="" width="620" height="465" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2011/02/01/brrr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where is the internet at?</title>
		<link>http://thehappymoron.com/blog/2010/12/30/where-is-the-internet-at/</link>
		<comments>http://thehappymoron.com/blog/2010/12/30/where-is-the-internet-at/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 17:48:55 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[curios]]></category>
		<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[curio]]></category>
		<category><![CDATA[cutewinfail]]></category>
		<category><![CDATA[epic]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1168</guid>
		<description><![CDATA[CuteWinFail is where the internet is at.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/user/cutewinfail/">CuteWinFail</a> is where the internet is at.</p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2010/12/30/where-is-the-internet-at/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contact</title>
		<link>http://thehappymoron.com/blog/2010/12/16/contact/</link>
		<comments>http://thehappymoron.com/blog/2010/12/16/contact/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 15:56:15 +0000</pubDate>
		<dc:creator>happy_moron</dc:creator>
				<category><![CDATA[tongueincheek]]></category>
		<category><![CDATA[butwhy]]></category>
		<category><![CDATA[eyecontact]]></category>

		<guid isPermaLink="false">http://thehappymoron.com/blog/?p=1140</guid>
		<description><![CDATA[But why is it called &#8220;eye contact&#8221;, and not, &#8220;you contact&#8221;?]]></description>
			<content:encoded><![CDATA[<p>But why is it called &#8220;eye contact&#8221;, and not, &#8220;you contact&#8221;?</p>
]]></content:encoded>
			<wfw:commentRss>http://thehappymoron.com/blog/2010/12/16/contact/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

