<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Brandon's Notepad</title>
	<atom:link href="http://brandonsnotepad.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://brandonsnotepad.wordpress.com</link>
	<description>Notes To Self</description>
	<lastBuildDate>Thu, 26 Jan 2012 22:40:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='brandonsnotepad.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Brandon's Notepad</title>
		<link>http://brandonsnotepad.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://brandonsnotepad.wordpress.com/osd.xml" title="Brandon&#039;s Notepad" />
	<atom:link rel='hub' href='http://brandonsnotepad.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Single Keystroke Menu Using Term::ReadKey</title>
		<link>http://brandonsnotepad.wordpress.com/2012/01/13/single-keystroke-menu-using-termreadkey/</link>
		<comments>http://brandonsnotepad.wordpress.com/2012/01/13/single-keystroke-menu-using-termreadkey/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 17:55:04 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[Term::ReadKey]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3270</guid>
		<description><![CDATA[Using Term::ReadKey, you can implement a console menu/prompt that accepts a single keystroke. There are many similar implementations of ReadKey available on the Web. This one is in the form of a reusable subroutine. Only valid options are accepted and the choice is returned to the calling script for futher use. It does not convert [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3270&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<hr />
Using Term::ReadKey, you can implement a console menu/prompt that accepts a single keystroke.  There are many similar implementations of ReadKey available on the Web.  This one is in the form of a reusable subroutine.  Only valid options are accepted and the choice is returned to the calling script for futher use.  It does not convert the choice to upper- or lower-case, because sometimes it is nice to have both options available.</p>
<hr />
<h3>The Subroutine</h3>
<p>This code can be placed in a script or in a separate module.</p>
<blockquote>
<pre>
 1: use Term::ReadKey;
 2:
 3: sub getPromptOption ($$)
 4: {
 5: 	my $prompt  = shift;
 6:	my $options = shift;
 7:	my $choice;
 8:
 9:	ReadMode 'cbreak';
10:	print $prompt;
11:	$choice = ReadKey(0) until $choice =~ m/[$options]/;
12:	ReadMode 'normal';
13:	return $choice;
14: }
</pre>
</blockquote>
<p>Obviously, the Term::ReadKey must be loaded first (line 1).  The getPromptOption() subroutine accepts two mandatory parameters as indicated by the declared prototype (line 3).  Additional field-validation logic may be desired, but is omitted here for brevity.  The terminal&#8217;s &#8220;read&#8221; mode is changed to cbreak, which accepts a single character as input (line 9).  The prompt that was passed into the subroutine is printed on the screen (line 10) and then the program enters a loop that reads characters from keyboard input until one of the valid options is entered (line 11).  Once a valid key has been pressed, the read mode is returned to normal mode (input accepted until the Enter key is pressed; line 12) and the chosen option is returned to the calling logic (line 13).</p>
<h3>Usage</h3>
<p>This is a very contrived routine that illustrates the use of the subroutine described above.  It allows the user to increment or decrement a current value.</p>
<blockquote>
<pre>
 1. my $i = 0;
 2. my $action = '';
 3. print "Current value: $i\n\n";
 4. until ( $action =~ m/[Xx]/ ) {
 5.	$action = getPromptOption(
 6.		"Select Action: [I]ncr, [D]ecr, or E[X]it",
 7.		"IiDdXx"
 8.	);
 9.	$i++ if ( $action =~ m/[Ii]/ );
10.	$i-- if ( $action =~ m/[Dd]/ );
11.	print "\n\nCurrent value: $i\n\n";
12. }
</pre>
</blockquote>
<p>The iterator (&#8220;$i&#8221;) is set to an initial value of zero (line 1) and the next action flag (&#8220;$action&#8221;) set to null (line 2).  The current value is printed on the screen (line 3) so that the user knows what it is.  Next, the user is prompted to increment or decrement the value, or to exit the program (lines 5-8).  If the user chooses to change the value by pressing the &#8220;i&#8221; key (line 9) or the &#8220;d&#8221; key (line 10), then the value is printed again on the screen for the benefit of the user (line 11).  If the user presses the &#8220;x&#8221; key, the loop ends (line 4) and process control flows out to the end of the script.  Please notice that both the upper- and lower-cases are valid options (line 7), but that the program is indifferent to which is used (lines 4, 9, 10).</p>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/perl/'>Perl</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/perl/'>Perl</a>, <a href='http://brandonsnotepad.wordpress.com/tag/termreadkey/'>Term::ReadKey</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3270&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2012/01/13/single-keystroke-menu-using-termreadkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>TiddlyWiki: Cookbooks</title>
		<link>http://brandonsnotepad.wordpress.com/2012/01/13/tiddlywiki-cookbooks/</link>
		<comments>http://brandonsnotepad.wordpress.com/2012/01/13/tiddlywiki-cookbooks/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 14:48:20 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[TiddlyWiki]]></category>
		<category><![CDATA[cookbook]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3262</guid>
		<description><![CDATA[Home &#62; My Lists &#62; Technical Notes &#62; TiddlyWiki &#62; TiddlyWiki: Cookbooks If anything, TiddlyWiki reminds me of a set of index cards (well, more so of Cardfile and HyperCard I suppose), and index cards make me think of two things: term papers and recipes. I&#8217;ve noted elsewhere how I&#8217;ve used TiddlyWiki for educational purposes, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3262&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="/">Home</a> &gt; <a href="/lists/">My Lists</a> &gt; <a href="/technical-notes/">Technical Notes</a> &gt; TiddlyWiki &gt; <a href="/2012/01/13/tiddlywiki-cookbooks/">TiddlyWiki: Cookbooks</a></p>
<hr />
If anything, TiddlyWiki reminds me of a set of index cards (well, more so of <a href="http://en.wikipedia.org/wiki/Cardfile">Cardfile</a> and <a href="http://en.wikipedia.org/wiki/Hypercard">HyperCard</a> I suppose), and index cards make me think of two things: term papers and recipes.  I&#8217;ve noted elsewhere how I&#8217;ve used TiddlyWiki for educational purposes, so here&#8217;s my list of TW-powered recipe boxes.</p>
<p>Disclaimer: I&#8217;m sure the recipes on the sites below are great.  I can&#8217;t say that I&#8217;ve ever actually made any of them.  I&#8217;m showing off TiddlyWiki, not endorsing recipes.</p>
<hr />
<p><b>Jackson Boyle&#8217;s Kitchen.</b> <a href="http://jacksonboyle.com/">Mr. Boyle&#8217;s blog</a> includes a TiddlyWiki recipe book.  The site is no longer around, but the recipes are still available <a href="http://web.archive.org/web/20070124114716/http://jacksonboyle.com/kitchen.htm">here</a> on the Wayback Machine.</p>
<p><b>Philosophical Gourmet Cookbook.</b> The Philosophy department of the University of Florida once published a gourmet cookbook online.  The link is now dead, but a copy can be found <a href="http://web.archive.org/web/20080905121438/http://web.phil.ufl.edu/cookbook/index.html">here</a> on the Wayback Machine.</p>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/tiddlywiki/'>TiddlyWiki</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/cookbook/'>cookbook</a>, <a href='http://brandonsnotepad.wordpress.com/tag/tiddlywiki/'>TiddlyWiki</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3262&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2012/01/13/tiddlywiki-cookbooks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>January 12, 2012: DHTML, Hacking, Polymer Balls</title>
		<link>http://brandonsnotepad.wordpress.com/2012/01/12/january-12-2012-dhtml-hacking-polymer-balls/</link>
		<comments>http://brandonsnotepad.wordpress.com/2012/01/12/january-12-2012-dhtml-hacking-polymer-balls/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 00:54:06 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[My Stack]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/2012/01/12/january-12-2012-dhtml-hacking-polymer-balls/</guid>
		<description><![CDATA[Dynamic Drive I was looking for some site navigation options and found Dynamic Drive: DHTML Scripts for the Real World. They have some really slick stuff. I was particularly interested in the Drill Down Menu before my attention was diverted elsewhere. I may come back to it some day. Hackers Handbook Wow! A reference manual [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3259&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Dynamic Drive</strong><br />
I was looking for some <a href="http://www.dynamicdrive.com/dynamicindex1/">site navigation options</a> and found <a href="http://www.dynamicdrive.com/">Dynamic Drive: DHTML Scripts for the Real World</a>. They have some really slick stuff. I was particularly interested in the <a href="http://www.dynamicdrive.com/dynamicindex1/drilldownmenu.htm">Drill Down Menu</a> before my attention was diverted elsewhere. I may come back to it some day.</p>
<p><strong>Hackers Handbook</strong><br />
Wow! <a href="http://www.androidtapp.com/apps/books-reference/hackers-handbook/">A reference manual on how to hack!</a> It&#8217;s an Android app and costs $6.99. One reviewer gave it a 3.4-star rating and explained that all of the material was available online for free.</p>
<p><strong>How To Make Bouncing Polymer Balls</strong><br />
This three-part series explains <a href="http://chemistry.about.com/od/demonstrationsexperiments/ss/bounceball.htm">how to make polymer bouncy balls</a> using household products.</p>
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/my-stack/'>My Stack</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3259&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2012/01/12/january-12-2012-dhtml-hacking-polymer-balls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>TiddlyWiki: My Experience</title>
		<link>http://brandonsnotepad.wordpress.com/2012/01/12/tiddlywiki-my-experience/</link>
		<comments>http://brandonsnotepad.wordpress.com/2012/01/12/tiddlywiki-my-experience/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 23:55:23 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Computer Software]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[TiddlyWiki]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3251</guid>
		<description><![CDATA[Home &#62; My Lists &#62; Technical Notes &#62; TiddlyWiki &#62; TiddlyWiki: My Experience I have fallen in and out of love with TiddlyWiki several times since August 2006. It started with this &#8216;blog post by &#8220;euicho&#8221; written almost exactly one year earlier. I&#8217;ve used it successfully for several small projects, though more often than not, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3251&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="/">Home</a> &gt; <a href="/lists/">My Lists</a> &gt; <a href="/technical-notes/">Technical Notes</a> &gt; TiddlyWiki &gt; <a href="/2012/01/12/tiddlywiki-my-experience/">TiddlyWiki: My Experience</a></p>
<hr />
I have fallen in and out of love with TiddlyWiki several times since August 2006.  It started with <a href="http://euicho.com/2005/tiddlywiki/">this &#8216;blog post</a> by &#8220;euicho&#8221; written almost exactly one year earlier.  I&#8217;ve used it successfully for several small projects, though more often than not, what began with a TiddlyWiki blossomed into a &#8216;blog, a website, or a full-blown application.  So, if anything, it&#8217;s good for working out a design for what I really want to do.  It&#8217;s extremely versatile and addictive too!  Here are some highlights from my TiddlyWiki experience.</p>
<hr />
<p><b>Notepad.</b> Believe it or not, this &#8216;blog began as a TiddlyWiki&#8230;sort of.  I wanted to publish my notes on a number of topics on a free &#8220;personal&#8221; page.  Cobbling pages together by hand was too labor-intensive, especially when I wanted to change the look-and-feel of the whole site at one time.  I wasn&#8217;t learned in CSS at the time and I tried automating the compilation of a site using flat data files, HTML templates, make, and a few other scripting utilities.  All of it was taking up way too much time.  TiddlyWiki was the answer.  For a very good reason (which now escapes me), I decided to use &#8216;blog technology instead, which has worked out far better in the long run; however, I might not have made that leap without TiddlyWiki in the middle.</p>
<p><b>School Notes.</b> I finally broke down and bought a laptop while I was in graduate school.  This allowed me to take all of my notes electronically, at least for the last couple of years in the program.  I really wanted to go paperless, so I relied on scans, downloads, and other methods for keeping it all digital. I even recorded lectures on occasion.  TiddlyWiki was my notebook of choice.  With a wiki mindset, I would create Tiddlers for topics and then referenced them from Tiddlers containing basic outlines of both textbook chapters and lectures.  Doing most of the work before hand allowed me to take minimal notes during class, which meant that I could pay more attention to the professor and participate in the discussion more fully.</p>
<p><b>Big Finish.</b> The proverbial icing on the cake came in my capstone course.  The professor (who happened to be the department chair) believed heavily in the power of organization.  A student who keeps an organized and complete notebook will always do well, he would tell us often.  As such, we had to turn in our class notebooks to the professor at the end of the semester &#8211; for a grade!  I hadn&#8217;t done that since, oh let&#8217;s see, high school!  It was degrading, but admittedly, a very wise requirement on his part.  I had one little problem.  I told him that I could print out the contents of my &#8220;notebook&#8221;, but with his permission I&#8217;d rather turn in a 100%-electonic copy.  He agreed, so long as it was easily viewed on his PC with little effort.  Everything was linked in the TiddlyWiki.  I just burned the CD and wrote the instrucitons on the label: &#8220;insert into CD-ROM drive and open notebook.html&#8221;.  I guess it worked, because I aced the course.  He retired the next year.</p>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/computer-software/'>Computer Software</a>, <a href='http://brandonsnotepad.wordpress.com/category/online-tools/'>Online Tools</a>, <a href='http://brandonsnotepad.wordpress.com/category/tiddlywiki/'>TiddlyWiki</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/tiddlywiki/'>TiddlyWiki</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3251&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2012/01/12/tiddlywiki-my-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>Tie::File Examples</title>
		<link>http://brandonsnotepad.wordpress.com/2012/01/10/tiefile-examples/</link>
		<comments>http://brandonsnotepad.wordpress.com/2012/01/10/tiefile-examples/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 21:07:36 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[Tie::File]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3234</guid>
		<description><![CDATA[Using Tie::File, you can operate directly on a text file as an array. This provides random access to lines in a file and allows for speedy manipulation of very large files since the file itself is not loaded into memory. The following are some examples with explanation as to how they work. (Yes, these examples [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3234&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<hr />
Using Tie::File, you can operate directly on a text file as an array.  This provides random access to lines in a file and allows for speedy manipulation of very large files since the file itself is not loaded into memory.  The following are some examples with explanation as to how they work.  (Yes, these examples are extremely rudimentary and a bit redundant at that; this is because I like to have complete examples at my fingertips to use as base templates when I need them for real programming work.)</p>
<hr />
<h3>The Data File</h3>
<p>Any ASCII text file can be used with the following examples.  I use &#8220;myfile.txt&#8221; for illustrative purposes, and for me, it is a twenty-line file that contains consecutive numbers on each line (line 1 is &#8220;1&#8243;, line 2 is &#8220;2&#8243;, etc.).  The following code creates this data file and quickly resets it as needed.</p>
<blockquote>
<pre>
1: open (OUT,"&gt;myfile.txt");
2: print OUT join("\n",1..20);
3: close OUT;
</pre>
</blockquote>
<h3>Basic Example</h3>
<p>This is a very basic example for using Tie::File.  It just prints the contents of an array on the screen.</p>
<blockquote>
<pre>
1: use Tie::File;
2: my @records;
3: tie @records, 'Tie::File', "myfile.txt";
4: print join ( "\n", @records );
5: untie @records;
</pre>
</blockquote>
<p>The module must first be loaded using the <code>use</code> function (line 1).  Next, an array is defined that will be tied to the file (line 2).  The tie command is where the magic happens (line 3). Now the lines in the file can be operated upon as though they were just elements in an array.  The print/join function is a common way to print an array tot he screen (line 4).  The <code>untie</code> function releases the file (line 5), though this is often omitted due to laziness.</p>
<h3>Direct Access</h3>
<p>Reading a file and printing records is only so much fun.  Here&#8217;s an example of how to change a single line in the file directly.</p>
<blockquote>
<pre>
1: use Tie::File;
2: my @records;
3: tie @records, 'Tie::File', "myfile.txt";
4: $records[9] = "foo";
5: print join ( "\n", @records );
6: untie @records;
</pre>
</blockquote>
<p>This is the same code as before, except that line 4 has been injected.  It is a simple assignment that changes the tenth line of the file to &#8220;foo&#8221;.  Remember that PERL arrays are zero-based, so <code>$records[9]</code> is actually the <i>tenth</i> element in the array.</p>
<h3>Autochomp</h3>
<p>Notice that newlines must either be chomped on input or readded for output.  This is handled automatically.</p>
<h3>Windows Newlines</h3>
<p>Here&#8217;s an interesting trick if you are using PERL on Windows.  Consider the following code.</p>
<blockquote>
<pre>
1: use Tie::File;
2: my @records;
3: tie @records, 'Tie::File', "myfile.txt";
4: $records[9] = "foo\nbar";
5: print join ( "\n", @records );
6: untie @records;
</pre>
</blockquote>
<p>Adding a newline character (&#8220;\n&#8221;) to the array element value will only embed it in the string.  Inspect the file afterward, and find that no new line has been created in the file, even though it appears from the screen output that one had been added.  Since line endings in Windows are two characters instead of one, carriage-return and linefeed, you must prepend the other character (&#8220;\r&#8221;).</p>
<blockquote>
<pre>
1: use Tie::File;
2: my @records;
3: tie @records, 'Tie::File', "myfile.txt";
4: $records[9] = "foo\r\nbar";
5: print join ( "\n", @records );
6: untie @records;
</pre>
</blockquote>
<p>Now the file does show an additional line.  Of course, there are much better ways of doing this.</p>
<h3>Changing Record Separators</h3>
<p>Much like the <code>RS</code> and <code>ORS</code> variables in AWK, the record separator can be changed to any text string.  This is done when the file is tied.  Only this line is presented here.</p>
<blockquote>
<pre>
1: tie @records, 'Tie::File', "myfile.txt", recsep =&gt; 'zap';
</pre>
</blockquote>
<p>Now, the file will be separated into records on every occurence of the string &#8216;zap&#8217;.  I don&#8217;t want to spend the time to write and test a working example for this, as the need for this sort of thing may never arise in my work.  It was just interesting to note.</p>
<h3>Splicing</h3>
<p>To remove one or more lines from a tied file, use the splice command.</p>
<blockquote>
<pre>
1: use Tie::File;
2: my ( @records, @removed );
3: tie @records, 'Tie::File', "myfile.txt";
4: @removed = splice(@records,1,3);
5: print join ( "\n", @records );
6: untie @records;
</pre>
</blockquote>
<p>Again, this is the same code we&#8217;ve been using, except an additional array has been declared (line 2) and the splice command has been introduced to remove the second, third, and fourth lines from the file (line 4).  The first parameter of the <code>splice</code> function is the array, the second is the offset from the beginning of the array (one element), and the third is the length of the slice to be removed (three elements).</p>
<p>Here&#8217;s how elements can be replaced.</p>
<blockquote>
<pre>
1: use Tie::File;
2: my ( @records, @removed );
3: tie @records, 'Tie::File', "myfile.txt";
4: @removed = splice(@records,1,3,26);
5: print join ( "\n", @records );
6: untie @records;
</pre>
</blockquote>
<p>The same records are removed as above, but one new element has been inserted in their place with a value of 26.</p>
<h3>Push, Pop, Shift, Unshift</h3>
<p>All of these functions have <code>splice</code> equivalents, but they can be used as they normally would to manipulate the tied file.</p>
<h3>Iteration</h3>
<p>Random access is nice, but sometimes it is necessary to iterate through the records in a file.  The following illustrates how to print the contents of the array to the screen by iteration instead of using print/join.</p>
<blockquote>
<pre>
1. use Tie::File;
2. my ( @records, $record );
3. tie @records, 'Tie::File', "myfile.txt";
4. foreach $record ( @records ) { print "$record\n"; }
5: untie @records;
</pre>
</blockquote>
<p>In addition to declaring the array, a record scalar is defined (line 2).  The <code>foreach</code> iterator is used as one would expect to traverse through the array from beginning to end.  A <code>for</code> loop could have been used just as easily.</p>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/perl/'>Perl</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/perl/'>Perl</a>, <a href='http://brandonsnotepad.wordpress.com/tag/tiefile/'>Tie::File</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3234&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2012/01/10/tiefile-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>January 5, 2012: Athos</title>
		<link>http://brandonsnotepad.wordpress.com/2012/01/05/january-5-2012-athos/</link>
		<comments>http://brandonsnotepad.wordpress.com/2012/01/05/january-5-2012-athos/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 22:26:34 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[My Stack]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/2012/01/05/january-5-2012-athos/</guid>
		<description><![CDATA[Mount Athos A friend sent me a link to the CBS 60 Minutes story that aired on Christmas 2011 about this most-fascinating part of the world. Part 1: http://www.cbsnews.com/video/watch/?id=7392864n Part 2: http://www.cbsnews.com/video/watch/?id=7392862n Wiki: http://en.wikipedia.org/wiki/Mount_Athos Filed under: My Stack<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3231&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Mount Athos</strong><br />
A friend sent me a link to the CBS 60 Minutes story that aired on Christmas 2011 about this most-fascinating part of the world.<br />
Part 1: <a href="http://www.cbsnews.com/video/watch/?id=7392864n">http://www.cbsnews.com/video/watch/?id=7392864n</a><br />
Part 2: <a href="http://www.cbsnews.com/video/watch/?id=7392862n">http://www.cbsnews.com/video/watch/?id=7392862n</a><br />
Wiki: <a href="http://en.wikipedia.org/wiki/Mount_Athos">http://en.wikipedia.org/wiki/Mount_Athos</a></p>
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/my-stack/'>My Stack</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3231&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2012/01/05/january-5-2012-athos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>Tea 2012</title>
		<link>http://brandonsnotepad.wordpress.com/2012/01/04/tea-2012/</link>
		<comments>http://brandonsnotepad.wordpress.com/2012/01/04/tea-2012/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 19:07:48 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Food & Drink]]></category>
		<category><![CDATA[Moroccan Mint]]></category>
		<category><![CDATA[Touareg]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3224</guid>
		<description><![CDATA[The teas I tasted in A.D. 2012 and what I thought about them. Prices are per pound. Touareg (Moroccan Mint) Organic Green Tea. [World Market; ~$66.67] In the queue. Filed under: Food &#38; Drink Tagged: Moroccan Mint, Touareg<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3224&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<hr />
The teas I tasted in A.D. 2012 and what I thought about them.  Prices are per pound.</p>
<hr />
<p><b>Touareg (Moroccan Mint) Organic Green Tea.</b> [World Market; ~$66.67] In the queue.</p>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/food-drink/'>Food &amp; Drink</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/moroccan-mint/'>Moroccan Mint</a>, <a href='http://brandonsnotepad.wordpress.com/tag/touareg/'>Touareg</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3224&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2012/01/04/tea-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>E100 Challenge 2011-2012</title>
		<link>http://brandonsnotepad.wordpress.com/2011/12/29/e100-challenge-2011-2012/</link>
		<comments>http://brandonsnotepad.wordpress.com/2011/12/29/e100-challenge-2011-2012/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 00:00:00 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Christianity]]></category>
		<category><![CDATA[E100]]></category>
		<category><![CDATA[Lectio Divina]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3206</guid>
		<description><![CDATA[Home &#62; My Research &#62; Christianity &#62; Sacred Scripture &#62; E100 Challenge An Evangelical Christian friend of mine invited me to take The Essential One-Hundred Bible Reading Plan, also known as the E100 Challenge. If for no other reason, I accepted to show that Catholics embrace the Bible too. I&#8217;ve already noticed a few noteworthy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3206&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="/">Home</a> &gt; <a href="/research/">My Research</a> &gt; Christianity &gt; <a href="/scripture/">Sacred Scripture</a> &gt; <a href="/2011/12/29/e100-challenge-2011-2012/">E100 Challenge</a></p>
<hr />
An Evangelical Christian friend of mine invited me to take <a href="http://e100challenge.com">The Essential One-Hundred Bible Reading Plan</a>, also known as the E100 Challenge.  If for no other reason, I accepted to show that Catholics embrace the Bible too.  I&#8217;ve already noticed a few noteworthy things about this program, and I thought it would be neat to compose a &#8220;nutshell&#8221; narrative based on the selected passages.  This particular challenge is running between December 2011 and May 2012.</p>
<hr />
<h3>Observations</h3>
<ul>
<li>I received a reading plan from my friend that listed all of the readings.  I tried to find a copy online, but apparently they are only available in the <a href="http://store.e100challenge.com">E100 store</a>.  The 136-page guide costs about $10, and the daily planner is only availble in packs of 25 for just under $13 (all prices as of 12/29/2011).  So as not to deprive the company of revenue, I will not directly reproduce the list here.</li>
<li>The plan did contain a shortened version of <a href="http://e100.publishpath.com/websites/e100/downloads/reading_method.pdf">The Scripture Union Bible Reading Method</a> (SUBRM).  This method is almost identical to <a href="http://www.fisheaters.com/lectiodivina.html">Lectio Divina</a>, which was developed over time (primarily) between the 4th and 12th centuries (sources vary as to events that attribute to this development, the details of which are irrelevant here).</li>
</ul>
<h3>My Narrative</h3>
<p>The SUBRM involves reflecting upon the Scriptures, asking questions.  This correlates to the Lectio Divina practice of meditatio.  It recommends writing the answers in a journal or notebook.  This narrative is my E100 journal.  One caveat: in my experience, Lectio Divina is usually applied to much smaller passages, not one or two whole chapters at one time, so I will focus on key points each day.</p>
<p>Since I am starting this part late, I will have to catch up&#8230;</p>
<p><b>OLD TESTAMENT</b></p>
<blockquote><p>
1. God created the world and man in it.  All of creation was pleasing to God, man included.  He lovingly provided all that is necessary to sustain us.  The whole man includes both body (dust) and soul (breath).  We were made to be like God and to be with God.  God asked only for us to trust in him and not in ourselves.  The garden, God&#8217;s care, was given freely to man.</p>
<p>
2. But man chose to disobey God.  The result was death: not an immediate physical death, but a spiritual one.  No longer a friend of God, man had forfeited God&#8217;s gifts.  The protection of the garden was gone.  God foreshadows that man will struggle with this choice for generations, but that an offspring of the woman will eventually conquer it.</p>
<p>
3. As time progressed, man became so wicked that God decided to destroy his creation because of them.  Only one man found favor with God on account of his righteousness.  Noah obeyed God in every detail.  His obedience saved not only him, but his family and other creatures from the forthcoming destruction.  The flood waters came, and only the passengers of the ark were left behind.</p>
<p>
4. When the flood waters subsided and the earth had been cleansed, Noah made an acceptable sacrifice to God.  Acknowledging that it is man&#8217;s fallen nature that causes him to sin, God then made a covenant with the earth, promising that he would never again destroy creation with a devastating flood.</p>
<p>
5. Several generations passed, and man plotted to reach heaven by building a large tower.  (Jewish tradition tells us that Noah&#8217;s great-grandson, Nimrod, desired vengeance on God for the destruction of their forefathers.)  Remembering his promise, God simply confused their language, preventing the completion of this ambitious and prideful project.</p>
<p>
6. God decided to set a people apart for himself in a land of their own, beginning with a man named Abram.  A special blessing is to be made upon the members of this people and a curse upon their enemies.  The latter is proven true when the Egyptian Pharaoh attempts to take Abram&#8217;s wife for his own.</p>
<p>
7. God assured Abram through a covenant promise that his blessing was to be bestowed on his own offspring upon his death.  The covenant ceremony required an animal sacrifice, signifying the fate of the one who breaks it. </p>
<p>
8. The blessing of Abram (now called Abraham) was to be inherited by his son Isaac, despite that Abraham had an older son by a servant girl.  This was God&#8217;s choice that the blessing be passed on to the son born of his wife, Sarah.  God then tested Abraham&#8217;s faithfulness by telling him to sacrifice Isaac, an order that Abraham followed obediently until he was stopped by God and was given an alternate victim.</p>
<p>
9. From Isaac, the blessing was to fall on his son, Esau; however, his younger son, Jacob, deceived Isaac and received his blessing instead.  Again, this was God&#8217;s will, confirmed by the Lord himself to Jacob in a dream.  Once the blessing is given, it cannot be revoked and cannot be replaced with a curse.  Esau vowed vengence.</p>
<p>
10. After some time had passed, Jacob and Esau were reconciled, though Jacob had been expecting a confrontation for he knew that Esau had murderous intentions toward him in the past.  While Esau was still far off, Jacob had sent gifts as a peace-offering, but these were initially dismissed by Esau.  The real confrontation had actually been with a mysterious stranger the night before his meeting with Esau.  Though the stranger lost the fight, he blessed Jacob, and changed Jacob&#8217;s name to Israel, &#8220;he who has contended with divinity&#8221;.  God often changes the names of men after they have reached a point of transformation in their lives.</p>
<p>
11. Israel favored his son, Joseph, who had been born of him in his old age.  Joseph was blest by God with the ability to interpret dreams.  His older brothers were jealous of Israel&#8217;s favor toward Joseph and sold him into slavery.  The brothers convinced Israel that his son had been killed by a wild animal. </p>
<p>
12. Joseph fared well under God&#8217;s protection.  He was placed in charge of his master&#8217;s house.  His master&#8217;s wife desired him, but when he refused her on the grounds that she was tempting him to sin, she accused him of rape.  He was jailed, but there too, he found favor with with the jailor and was given responsibilities.  While in prison, he interpreted dreams.  He predicted one prisoner&#8217;s release and asked him to appeal to the Pharaoh for his own release.  When Joseph satisfactorily interpreted the Pharaoh&#8217;s dreams, he was released and put in charge of the land of Egypt.</p>
<p>
13.  Ten of Joesph&#8217;s brothers were sent to Egypt to purchase food during a famine.  Benjamin was not with them.  Joseph recognized them, and sold them the food they required, but he also imprisoned one of the brothers, Simeon, and made his release conditional upon the presence of all eleven brothers in Egypt.  The money they paid for the food was also placed secretly in their bags, so that when they returned home, they discovered that they had not paid for the goods.</p>
<p>
14. When the food ran out, they prepared for another journey to Egypt, taking with them Benjamin, gifts for the man in charge of the food, and enough money to pay for more food as well as the food they had taken.  Simeon was released and they dined on portions from Joseph&#8217;s table, still not recognizing him.  As they prepared for the journey home, Joseph planted their money amongst their things once again, as well as a silver goblet in Benjamin&#8217;s bag, and had them stopped on their way to be arrested for theft.  His brother Judah pleas on Benjamin&#8217;s behalf so that the favored son may go back to his father, Israel.</p>
<p>
15. Joseph revealed his true identity to his brothers and, with assistance from the Pharaoh, sent them back to gather his father and their people and to bring them back to settle in Egypt, where he could be near them and provide for them.  So, the people if Israel came to Egypt to live, and they became a numerous people.</p>
<p>
16. A new Pharaoh eventually came into power who did not know (or did not recognize) Joseph&#8217;s contributions to Egypt.  In fear of their numbers, he oppressed the Israelites, making them slaves and ordering the deaths of their newborn boys. An Israelite boy was born and, because his mother faithfully placed him in the hands of God to protect him from infanticide, he was delivered by the water into the arms of Pharaoh&#8217;s daughter who loved him and adopted him.  She was his advocate to Pharaoh, pleaing on his behalf and thereby saving him from death.  She named him Moses.  When Moses was grown, he killed an Egyptian for treating his Hebrew kin cruelly.  He fled to a foreign land, settled there and was married.</p>
<p>
17. God heard the cry of the Israelites.  He came to Moses in a vision and called Moses to go to Egypt and lead the Israelites into the land he promised to Abraham.  He showed Moses the signs he would work to show them that he was with Moses.  He also sent Moses&#8217; brother, Aaron, as a spokesman.</p>
<p>
18. The might of God was displayed in a series of plagues imposed upon Egypt.  At first, the Pharaoh&#8217;s magicians could replicate these miracles (or at least claimed to be able to do so), but when they (admittedly) could no longer do the things that God was doing through Moses, Pharaoh recognized that these were the works of God.  God not only proved his identity, but also his dominion over man and nature.  Moreover, by some of his wonders, God set his people apart from the Egyptians.  Nonetheless, Pharaoh remained obstinate.</p>
<p>
19. Before the Israelites were delivered out of Egypt, so that they might prepare, God marked the head of their calendar and established and mandated an annual memorial sacrifice.  The victim had to be an unblemished lamb, its blood used to signify the sanctity of the place of sacrifice, and its meat eaten as part of a meal along with bread and herbs.  The meat was to be consumed in the first day, but the partaking of the bread was to continue for seven.  This time was reserved for sacred assemblies and the preparation of the needed food.  One who disobeyed in the celebration of this custom thus separated himself from the people of Israel.  Indeed, the Israelites performed the sacrifice as perscribed and anyone who did not suffered the loss of the firstborn in the household, including the Egyptians.  This loss was too great, and Pharaoh granted permission for the Israelites to leave Egypt.</p>
<p>
20. Pharaoh changed his mind and pursued the Israelites into the desert.  Through Moses, God delivered the Israelites across the Red Sea by parting its waters that they may walk acrosson dry land.  When the Egyptians followed, God covered them with the sea, killing them all.  His people were blessed, their foes cursed, just as God had promised Abraham.</p>
<p>
21. Having delivered the Israelites from bondage in Egypt, he made a covenant bond with them: the people of Israel would be God&#8217;s most precious treasure on Earth if they obey him completely.  They would be a &#8220;kingdom of priests&#8221;, a consecrated people set apart for God, making a sacrifice of themselves in dedication to him.  He then told Moses to prepare the people for his coming down to the mountain.  They were to sanctify themselves and wait for the confirmation of their new relationship with God signified in the sounding of a trumpet.  The people were not to approach the holy, but remain faithful to their earthly spiritual leader through whom God chose to reveal himself.  Indeed, through Moses he gave them ten words, rules by which they were to live their lives.  After witnessing the events on the mountain, God speaking to Moses in lightening and thunder, they accepted Moses as their mediator to the divine.</p>
<p>
22. Moses spoke with God for some time on the mountain, and the people forgot about their promise of obedience.  They made a statue that they idolized as an image of God (Aaron built an altar in front of it and procalimed the next day to be a feast day of the Lord).  This angered God and he wished to destroy them, but Moses interceded on their behalf, reminding God of his great love toward them and their fathers.  The sin of the people did not go unpunished.  Due to their zeal, the tribe of Levi was chosen and consecrated to perform ritual services for the Lord. Their first task, by which they were ordained, was to put to death many of the idolators. Moses set up a tent from which he conversed with God.  No person could see God, for he hid himself in a column of cloud; but when the cloud stood outside of Moses&#8217; tent, the people revered his presence with solemn bows.  Because Moses had found favor with him, God agreed to go before the people on their journey to the land promised to Abraham and his descendants.  God gave to Moses the ten words again and emphasized that the prescribed feasts were to be kept.  Because he spoke with God, Moses&#8217; face shone.</p>
<p>
23. Moses was succeeded by his aide, Joshua.  God promised to be with Joshua and urged him to observe the law he had given them, reciting it day and night.  Joshua commanded his officers to prepare the people to occupy the land on the other side of the Jordan river from where they were camped.  The two tribes that were already in the land apportioned for them pledged to aid their brethren in the occupation effort, to obey Joshua as they had obeyed Moses.</p>
<p>
24. The tablets that bore the ten words of God had been placed in a container called an ark which the Levite priests would carry ahead of the people.  As God had done through Moses at the Red Sea, when the feet of the priests touched the Jordan waters, it ceased to flow, allowing the people to cross on dry ground.  At God&#8217;s command, Joshua had representatives from the twelve tribes mark the spot of the crossing with stones from the riverbed.</p>
<p>
25. Jericho was the first city to be conquered.  Joshua was approached by a warrior who made himself known as the commander of the Lord&#8217;s army.  The Israelites had besieged Jericho and God instructed them to march around the city with the ark of the covenant for seven days.  When they had completed the marches on the seventh day, and had blown ram horns and had made much noise, the walls of Jericho collapsed.  The city was taken and all living creatures within were put to death (save a family spared for the help they had provided).  Articles made of precious metals were collected for the Lord&#8217;s treasury, but the Israelites were not to covet the possessions of the citizens of Jericho.  Joshua cursed the city, that it may never be rebuilt.</p>
<p>
26. Once the promised land had been delivered to the Israelites, the people served God and that generation that had seen his great works passed away.
</p></blockquote>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/christianity/'>Christianity</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/e100/'>E100</a>, <a href='http://brandonsnotepad.wordpress.com/tag/lectio-divina/'>Lectio Divina</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3206&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2011/12/29/e100-challenge-2011-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>Dark Films</title>
		<link>http://brandonsnotepad.wordpress.com/2011/12/21/dark-films/</link>
		<comments>http://brandonsnotepad.wordpress.com/2011/12/21/dark-films/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 01:41:26 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[dark film]]></category>
		<category><![CDATA[dark movie]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3182</guid>
		<description><![CDATA[Back to My Lists Here is my list of dark films in order of release date. SPOILER WARNING!!! I include commentary as I have time, some of which is based on memory and may be in need of correction. THX1138 (1971) George Lucas&#8217; classic film! The government uses a mandatory drug program to control citizens. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3182&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Back to <a href="/lists/">My Lists</a></p>
<hr />
Here is my list of dark films in order of release date. SPOILER WARNING!!! I include commentary as I have time, some of which is based on memory and may be in need of correction.</p>
<hr />
<p><strong>THX1138</strong> (1971) George Lucas&#8217; classic film! The government uses a mandatory drug program to control citizens. The story follows one man, THX1138, as he tries to make sense of it all and is punished for his rebellion.</p>
<p><strong>Time Bandits</strong> (1981)</p>
<p><strong>City of Lost Children</strong> (1995)</p>
<p><strong>Se7en</strong> (1995)</p>
<p><strong>Fallen</strong> (1998)</p>
<p><strong>Pi</strong> (1998)</p>
<p><strong>The Island</strong> (2005) Human clones are bred for their spare parts as a service to wealthy individuals. The problem is, they weren&#8217;t ever supposed to leave a sedated state, and the company has to create a cover-up story when it becomes necessary for their survival to wake them. This shares many elements found in THX1138 (above).</p>
<p><strong>Seven Pounds</strong> (2008) I never want to see this movie again. It outwardly glorifies grave sin. Being an organ donor is noble. Killing yourself with the full consent of your will is intrinically evil and a mortal sin, even if you bequeath your parts to others who need them in your will&#8230;er, suicide note&#8230;whatever. This movies epitomizes the culture of death. The advocates of euthanasia and the right-to-die movement undoubtedly loves the message. Ben (played by Will Smith) is praised for his generous gift of self, but any good Christian will tell you that it is a gift that he had no right to give.</p>
<p><strong>The Time Traveler&#8217;s Wife</strong> (2009)</p>
<p><strong>The Imaginarium of Doctor Parnassus</strong> (2009)</p>
<p><strong>Never Let Me Go</strong> (2010)</p>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/entertainment/'>Entertainment</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/dark-film/'>dark film</a>, <a href='http://brandonsnotepad.wordpress.com/tag/dark-movie/'>dark movie</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3182&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2011/12/21/dark-films/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
		<item>
		<title>Sacred Scripture: Exegeses</title>
		<link>http://brandonsnotepad.wordpress.com/2011/12/08/sacred-scripture-exegeses/</link>
		<comments>http://brandonsnotepad.wordpress.com/2011/12/08/sacred-scripture-exegeses/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 21:06:42 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Christianity]]></category>
		<category><![CDATA[Ephesians 2:8-10]]></category>
		<category><![CDATA[John 3:16]]></category>

		<guid isPermaLink="false">http://brandonsnotepad.wordpress.com/?p=3163</guid>
		<description><![CDATA[Home &#62; My Research &#62; Christianity &#62; Sacred Scripture &#62; Exegeses Old Testament None planned yet&#8230; New Testament John 3:16 (planned) Ephesians 2:8-10 (planned) Filed under: Christianity Tagged: Ephesians 2:8-10, John 3:16<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3163&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="/">Home</a> &gt; <a href="/research/">My Research</a> &gt; Christianity &gt; <a href="/scripture/">Sacred Scripture</a> &gt; <a href="/2011/12/08/sacred-scripture-exegeses/">Exegeses</a></p>
<hr />
<h3>Old Testament</h3>
<table width="100%">
<tr valign="top">
<td>None planned yet&#8230;</td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<hr />
<h3>New Testament</h3>
<table width="100%">
<tr valign="top">
<td>John 3:16 (planned)</td>
<td>Ephesians 2:8-10 (planned)</td>
<td></td>
<td></td>
</tr>
</table>
<hr />
<br />Filed under: <a href='http://brandonsnotepad.wordpress.com/category/christianity/'>Christianity</a> Tagged: <a href='http://brandonsnotepad.wordpress.com/tag/ephesians-28-10/'>Ephesians 2:8-10</a>, <a href='http://brandonsnotepad.wordpress.com/tag/john-316/'>John 3:16</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brandonsnotepad.wordpress.com/3163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brandonsnotepad.wordpress.com/3163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brandonsnotepad.wordpress.com/3163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brandonsnotepad.wordpress.com/3163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/brandonsnotepad.wordpress.com/3163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/brandonsnotepad.wordpress.com/3163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/brandonsnotepad.wordpress.com/3163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/brandonsnotepad.wordpress.com/3163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brandonsnotepad.wordpress.com/3163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brandonsnotepad.wordpress.com/3163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brandonsnotepad.wordpress.com/3163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brandonsnotepad.wordpress.com/3163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brandonsnotepad.wordpress.com/3163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brandonsnotepad.wordpress.com/3163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brandonsnotepad.wordpress.com&amp;blog=2651995&amp;post=3163&amp;subd=brandonsnotepad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://brandonsnotepad.wordpress.com/2011/12/08/sacred-scripture-exegeses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Brandon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
