<?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>Joe Crotty &#187; Joseph Crotty</title>
	<atom:link href="http://joecrotty.com/author/joecrotty/feed/" rel="self" type="application/rss+xml" />
	<link>http://joecrotty.com</link>
	<description>Joe Crotty</description>
	<lastBuildDate>Sun, 06 Nov 2011 18:12:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Git Remote Repository Setup</title>
		<link>http://joecrotty.com/2010/08/git-remote-repository-setup/</link>
		<comments>http://joecrotty.com/2010/08/git-remote-repository-setup/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 20:34:00 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=838</guid>
		<description><![CDATA[Today I was trying to get the hang of setting up a remote git repository for shared ssh use by several developers at my day job.  I wanted anyone with ssh access to be able to check out the repository, &#8230; <a href="http://joecrotty.com/2010/08/git-remote-repository-setup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to get the hang of setting up a remote git repository for shared ssh use by several developers at my day job.  I wanted anyone with ssh access to be able to check out the repository, but only those in a specific group to have write access (i.e., a commit bit if you will).  So, let&#8217;s dive right in using language most folks likely to read this article would associate with classic SCM tools like cvs and svn.  Assume two machines with ssh already configured correctly for the users devlord and devserf.</p>
<ol>
<li>repo &#8211; machine that will hold the master remote repository</li>
<li>local &#8211; local machine that will hold the checked out repository</li>
</ol>
<p>devlord is in the git group, but devserf is not. Assuming we already have a code base on local let&#8217;s get that checked into a new git repository.</p>
<pre>
<pre class="brush: bash; title: ; toolbar: true; notranslate">cd /var/www/myproj git init</pre>
</pre>
<p> </p>
<p>Now configure repo machine.</p>
<pre>
<pre class="brush: bash; title: ; toolbar: true; notranslate">su - root&lt;br /&gt;adduser git&lt;br /&gt;mkdir -p /var/git&lt;br /&gt;chmod 775 /var/git&lt;br /&gt;su git&lt;br /&gt;cd /var/git&lt;br /&gt;mkdir -p myproj&lt;br /&gt;cd myproj&lt;br /&gt;git init --bare --shared=0664&lt;br /&gt;</pre>
</pre>
<p>The &#8211;bare tells git that it will only hold file deltas and binary information for future checkout.  It&#8217;s the master repository not an actual working repository.</p>
<p>Let&#8217;s head back to local and finish up getting our myproj code base into the master repository on repo.</p>
<p>cd /var/www/myproj</p>
<p>git remote add origin ssh://devlord@repo/var/git/myproj</p>
<p>git push origin master</p>
<p>I don&#8217;t fully understand origin yet, but it&#8217;s akin to a local branch and the master is elsewhere &#8211; in this case on repo. The second command pushed local myproj over to the master myproj repo.</p>
<p>Now devserf can checkout a copy of myproj on local.</p>
<p>cd /home/devserf</p>
<p>git clone ssh://devserf@repo/var/git/myproj</p>
<p>However, if devserf modifies myproj and wants to push their changes back to master myproj at repo it will fail because they are not in the git group on repo.  Only users in the git group on repo, like devlord, are allowed to make commits back to the master.</p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/08/git-remote-repository-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes</title>
		<link>http://joecrotty.com/2010/06/changes/</link>
		<comments>http://joecrotty.com/2010/06/changes/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 12:00:13 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Featured Content]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=825</guid>
		<description><![CDATA[It&#8217;s been a whirlwind three plus months. My apologies to regular readers for the lack of recent posts. A recap is in order as to what exactly I have been up to. March 15, 2010 or so my wife and &#8230; <a href="http://joecrotty.com/2010/06/changes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-829" title="rmnp_summer_2010_web" src="http://joecrotty.com/wp-content/uploads/2010/06/rmnp_summer_2010_web.jpg" alt="" width="488" height="324" /></p>
<p>It&#8217;s been a whirlwind three plus months. My apologies to regular readers for the lack of recent posts. A recap is in order as to what exactly I have been up to. March 15, 2010 or so my wife and I decided to launch a hastily planned attempt to buy our first home.  We went down this same route in 2004 and abandoned ship when it became clear that the housing market was awash with over priced homes. Invigorated by the thought of an $8,000 federal tax tax credit that would apply only if we could get under contract by April 30, 2010 and close by June 30, 2010 we charged forward forcefully. After a lot of looking, researching, showings and a few false starts we found a great house in Broomfield, CO and closed May 13, 2010 and moved in May 15.</p>
<p><span id="more-825"></span>To complicate matters I started a new job April 19 at OceansideTen Management, Inc. as a software developer/engineer.  Since the move in it&#8217;s been an endless list of to-dos and odd jobs around the house. Last weekend Heather and I drove back to Missouri Valley, Iowa and drove back a U-Haul trailer full of furniture she had been storing at her mom&#8217;s house.  Her mom came with and spent the week helping get things in order here. What a blessing! We capped off her visit with a <a title="Slideshow Photobucket" href="http://s168.photobucket.com/albums/u196/joecrotty/Family/Ann%20Summer%202010/?albumview=slideshow">drive up to Estes Park and a hike from Bear Lake to Emerald Lake in Rocky Mountain National Park</a>.</p>
<p>I am looking forward to more outdoor trips this summer now that things are stabilizing at the new home front.</p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/06/changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whose world order?</title>
		<link>http://joecrotty.com/2010/06/whose-world-order/</link>
		<comments>http://joecrotty.com/2010/06/whose-world-order/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 17:03:24 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=702</guid>
		<description><![CDATA[    Warning, this is a an article by a software geek for said geeks. Rapid boredom will probably ensue even for the target audience. Most of us at one time or another have worked on a Big Ball of &#8230; <a href="http://joecrotty.com/2010/06/whose-world-order/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p> </p>
<p><div id="attachment_727" class="wp-caption alignnone" style="width: 500px"><img class="size-full wp-image-727" title="Gulliver and Phones" src="http://joecrotty.com/wp-content/uploads/2010/03/gulliver_and_phones.jpg" alt="" width="490" height="213" /><p class="wp-caption-text">Gulliver, as the system, washes ashore to be tamed by the custodians.</p></div>
<p> </p>
<p>Warning, this is a an article by a software geek for said geeks. Rapid boredom will probably ensue even for the target audience. Most of us at one time or another have worked on a <a title="Big Ball of Mud" href="http://www.laputan.org/mud/">Big Ball of Mud</a>. For a less seasoned hacker the first tour or two of such a haphazard system may go unnoticed due to a number of circumstances the least of which being naivety. But, over time, the imprints of sloppy, duct tape, spaghetti code jungles come to be recognizable. By no means complete a few standout examples from my career:</p>
<p><span id="more-702"></span></p>
<ol>
<li>Code is not stored in an <a title="Wiki Source Code Management" href="http://en.wikipedia.org/wiki/Source_Code_Management">SCM</a>.</li>
<li>Bug fires rage 24/7 consuming all resources perpetually.</li>
<li>Poor code abounds with total disregard for any <a title="GNU Coding Standards" href="http://www.gnu.org/prep/standards/">standards</a> (e.g., wheel is reinvented regularly, 10 screen shot methods, classes with 100&#8242;s of members, etc.).</li>
<li>Duplicate data and functionality throughout including &#8220;clone&#8221; systems.</li>
<li>Management, via ignorance, insists things are basal or worse are in complete denial.</li>
</ol>
<p>Once one can identify a subset of ailments it&#8217;s tempting to run from these helter-skelter systems in haste. Knowledge arms us not to repeat them &#8211; maybe. Yet <a title="Brian Foote" href="http://www.laputan.org/index.html">Foote</a> and <a title="Joseph Yoder" href="http://www.joeyoder.com/">Yoder</a> make clear in <a title="Big Ball of Mud" href="http://www.laputan.org/mud/">BBOM</a> many profitable such systems exist. Profitability aside the fact is they abound! Having designed, developed, and maintained such systems myself the temptation is to disparage. What is it about these hastily crafted boomtown&#8217;s that irk us? Is it the simple fact that the architects and custodians are all to comfortable with a level of expediency we are uncomfortable with?</p>
<p>I am poorly equipped to answer from my limited exposure. Both <a title="Big Ball of Mud" href="http://www.laputan.org/mud/">BBOM</a>s I worked on were absolutely driven by a perceived fleeting window of business opportunity. Design marathons, repositories, code standards, pair coding, QC, test harnesses, continuous integration, etc. where all pushed aside in the rush to launch. Once there and stably afloat i.e.,  profitable, did the realization often slowly set in that the system was ineptly fashioned. Once built management forever demands hastily cobbled features to increase ROI almost always at the cost of sane design &#8211; the &#8220;structure&#8221; worsens. Of course, as engineers we fight to avert such quagmires whether through evangelization and/or example.  However, we all have to eat &#8211; to deny human nature is foolhardy.</p>
<p>An inverse universe exists where architecture, means and process are king. Laugh if you will but it&#8217;s well known that <a title="Microsoft" href="http://www.microsoft.com/en/us/default.aspx">Microsoft</a> runs one of the most process driven engineering shops the world over. For them sheer scale dictates a process rooted approach. However, for the average web business outlet day to day operation is about finding the middle ground between launch mentality and design nirvana.</p>
<p>So, whose world order should prevail in software engineering? The one that works.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/LH_e8NfNV-c&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="500" height="344" src="http://www.youtube.com/v/LH_e8NfNV-c&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/06/whose-world-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hints of Grace</title>
		<link>http://joecrotty.com/2010/04/hints-of-grace/</link>
		<comments>http://joecrotty.com/2010/04/hints-of-grace/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 23:40:28 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Catholic]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=810</guid>
		<description><![CDATA[For the last four years I have volunteered at Holy Trinity Catholic Church &#38; School as a catechist for the religious education program forming young adults. Classes are offered twice a week on Wednesdays evening and Sunday afternoon during the &#8230; <a href="http://joecrotty.com/2010/04/hints-of-grace/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-815" title="Salvador First Communion" src="http://joecrotty.com/wp-content/uploads/2010/04/salvador_first_communion.jpg" alt="" width="488" height="324" /></p>
<p>For the last four years I have volunteered at <a title="Holy Trinity Catholic Church &amp; School" href="http://www.htcatholic.org/">Holy Trinity Catholic Church &amp; School</a> as a catechist for the religious education program forming young adults. Classes are offered twice a week on Wednesdays evening and Sunday afternoon during the regular school year. My wife and I, Heather, teach the Wednesday class. This year we moved up from teaching second to third grade sacramental kids (i.e., they receive both reconciliation and first communion in the Spring).</p>
<p><span id="more-810"></span>The highlight of the year, without a doubt, was seeing these children of God, claimed by him during baptism, receive holy communion for the first time.  I was overjoyed by the visible ceremony, but internally I could sense an extraordinary grace that imbued all of them. They have moved one step further in the natural progression as foot soldiers for Christ. Let us pray their parents remain steady in the fight against evil and deliver each child consistently and without fail to God&#8217;s house on Sunday .</p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/04/hints-of-grace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catholic Bumper Sticker Design</title>
		<link>http://joecrotty.com/2010/04/catholic-bumper-sticker-design/</link>
		<comments>http://joecrotty.com/2010/04/catholic-bumper-sticker-design/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 21:17:56 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Catholic]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=782</guid>
		<description><![CDATA[For a few years now I have been yearning to put a maltese cross styled window sticker on my truck topper. Something that hollers out to a distressed and a generally non believing world that I am Catholic and Proud! &#8230; <a href="http://joecrotty.com/2010/04/catholic-bumper-sticker-design/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_798" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-798" title="Maltese Cross Keys of St. Peter" src="http://joecrotty.com/wp-content/uploads/2010/04/maltese_vatican_cross_web.png" alt="" width="250" height="250" /><p class="wp-caption-text">Maltese Cross Keys of St. Peter</p></div>
<p>For a few years now I have been yearning to put a maltese cross styled window sticker on my truck topper. Something that hollers out to a distressed and a generally non believing world that I am Catholic and Proud! I poked around the web and came up with a few ideas but nothing that really stuck. If you want something done right then you have to do it yourself.</p>
<p>The <a title="Order of Malta" href="http://www.orderofmalta.org/english">Order of Malta</a> and the associated <a title="Wiki Maltese Cross" href="http://en.wikipedia.org/wiki/Maltese_cross">Maltese Cross</a> are old by almost any standard. Yet,even though the <a title="Wiki Maltese Cross Image" href="http://en.wikipedia.org/wiki/File:Maltese-Cross-Heraldry.svg">wiki maltese cross image</a> is decent enough they get the geometry wrong. After locating a <a title="Geometric Maltese Cross" href="http://www.smom-za.org/MalteseCross/geometry.htm">correct geometric maltese cross layout</a> the next hurdle was designing it such that at least fellow Catholics would get &#8220;it.&#8221;</p>
<p><span id="more-782"></span>I am fairly certain other dyed in the wool Catholics would recognize the maltese cross, but there is uncertainty it would resonate a call to arms in the <a title="George Weigel column &quot;Scandal-time, once more&quot;" href="http://www.archden.org/index.cfm/ID/3702">public square in defense</a> of everything we <a title="Catechism of Catholic Church Profession of Faith" href="http://www.usccb.org/catechism/text/partone.shtml">profess</a>. The other day after dinner at a friends house I noticed they had a small sharp looking <a title="Catholic bumper stickers" href="http://www.cafepress.com/+catholic+bumper-stickers">Vatican flag bumper sticker</a> on their SUV. In the white half of the flag is the universally recognized crossed <a title="Wiki Keys of Saint Peter image" href="http://en.wikipedia.org/wiki/File:Emblem_of_the_Papacy_SE.svg">Keys of Saint Peter</a>. Obviously, at least to me, a blended design of the Maltese Cross and the Vatican Flag would drive home a clarion call to defend, preserve, and uphold the Church &#8211; especially the Pope. We must not flinch in the slightest when the enemies of the Church press in on every side.</p>
<p>When <a title="FedEx Kinko's" href="http://www.fedex.com/us/office/">Kinko&#8217;s</a> is done printing up the sticker and it&#8217;s fixed to the truck topper I&#8217;ll post a photo.</p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/04/catholic-bumper-sticker-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Urban Legends</title>
		<link>http://joecrotty.com/2010/04/urban-legends/</link>
		<comments>http://joecrotty.com/2010/04/urban-legends/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 00:55:47 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=756</guid>
		<description><![CDATA[I live in Westminster, Colorado a growing suburban area northwest of Denver. It&#8217;s a mixed profile of semi-industrial areas, quaint residential neighborhoods, parks, schools, and the the usual sprinkle of hustle and bustle that accompanies suburban life. Having lived here &#8230; <a href="http://joecrotty.com/2010/04/urban-legends/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-766" title="Sign Shaker" src="http://joecrotty.com/wp-content/uploads/2010/04/sign_shaker.jpg" alt="" width="490" height="325" /></p>
<p>I live in <a title="City of Westminster" href="http://www.ci.westminster.co.us/">Westminster, Colorado</a> a growing suburban area northwest of Denver. It&#8217;s a mixed profile of semi-industrial areas, quaint residential neighborhoods, parks, schools, and the the usual sprinkle of hustle and bustle that accompanies suburban life. Having lived here for ten years I know a thing or two about some of the local <a title="Wiki Urban Legends" href="http://en.wikipedia.org/wiki/Urban_legend">urban legends</a>. For example, &#8220;air guitar master&#8221; Mark who makes infrequent rounds on Federal Boulevard in the Federal Heights region in retro &#8217;80&#8242;s metal rock garb hammering out licks to his walkman.  I hope to highlight him in a future post, but today&#8217;s feature character is the &#8220;sign dancer.&#8221;</p>
<p><span id="more-756"></span>Anyone who has driven through the intersection of <a title="120th Ave &amp; Sheridan Blvd Google Maps" href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=120+and+sheridan&amp;sll=39.836653,-105.037205&amp;sspn=0.252292,0.528374&amp;g=westminster,+co&amp;ie=UTF8&amp;hq=&amp;hnear=W+120th+Ave+%26+N+Sheridan+Blvd,+Colorado&amp;ll=39.914081,-105.0529&amp;spn=0.063002,0.132093&amp;z=14">120th Avenue and Sheridan Boulevard</a> and missed the &#8220;sign dancer&#8221; when present must have been either very busy behind the wheel or blind.  <a title="Tim Farnsworth Facebook Page" href="http://www.facebook.com/photo.php?pid=3074430&amp;id=241540939268#!/pages/ME-Sign-Guy-on-120th-Sheridan/213165393673?ref=ts">Tim Farnsworth</a> is the name and Professional Sign Shaker is the game. Forget about your typical lifeless fast food employee ordered to a nearby intersection to stir up business. Tim&#8217;s sheer energy, movement, drive, costume and general street rapper vibe catapults the banal sign vegetable to new heights. Tim shakes six hours a day five days a week as his main employment for <a title="M&amp;E Painting" href="http://www.mandepainting.com/">M&amp;E Painting</a>. He almost always brings a smile to my face and a friendly honk!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="490" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/t5Xn03NqVGE&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="490" height="344" src="http://www.youtube.com/v/t5Xn03NqVGE&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/04/urban-legends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quote Panel</title>
		<link>http://joecrotty.com/2010/03/quote-panel/</link>
		<comments>http://joecrotty.com/2010/03/quote-panel/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 19:19:35 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=674</guid>
		<description><![CDATA[Yesterday while looking at the new blog header I decided to have a hand at adding a quote mechanism. I have always been fond of the hilarious tongue in check The Tao Of Programming series &#8211; the first self titled &#8230; <a href="http://joecrotty.com/2010/03/quote-panel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday while looking at the <a title="Nothing to Say" href="http://joecrotty.com/2010/03/nothing-to-say/">new blog header</a> I decided to have a hand at adding a quote mechanism. I have always been fond of the hilarious tongue in check <a title="The Tao Of Programming series" href="http://tal.forum2.org/tao">The Tao Of Programming series</a> &#8211; the first self titled book being best by far. My initial notion was to put it in the footer which seemed vacuous. Puzzled I gave up for a few hours and wandered to a tangential stream of thought. Later, while talking with my wife just before bed an idea hit me like a ton of bricks.  Why not put a sliding quote panel in the header animated by <a title="jQuery" href="http://jquery.com/">jQuery</a>? Nearly sick with excitement I &#8220;uhm&#8221;-ed my way through the rest of the talk with my wife and then stole off the first chance to get to a computer to hammer out some initial code before the ephemeral concept evaporated from my mind.</p>
<p><span id="more-674"></span><a title="Quotes Collection WordPress plugin" href="http://wordpress.org/extend/plugins/quotes-collection/">Quotes Collection</a>, a <a title="WordPress plugin" href="http://wordpress.org/extend/plugins/">WordPress plugin</a>, looked great but after playing with it for five minutes warts appeared. For starters it smartly used a database table, but there were no tools baked in for bulk import.  Secondly, the plugin <a title="UI Wiki" href="http://en.wikipedia.org/wiki/User_interface">UI</a> was badly munging anything I bothered to manually insert into the database. However, the plugin provided an easy to use and feature rich <a title="PHP" href="http://php.net/index.php">PHP</a> function for dropping the quotes into <a title="HTML Wiki" href="http://en.wikipedia.org/wiki/HTML">HTML</a>. I decided to keep the plugin for displaying the quotes and hack a <a title="Perl" href="http://www.perl.org/">perl</a> script to do the bulk database quote insert.</p>
<p>Fortunately, the <a title="The Tao Of Programming" href="http://www.canonical.org/~kragen/tao-of-programming.html">quotes  themselves were easy enough to obtain</a> and due to a lapsed copyright  available for the taking. After copy and pasting them into <a title="Vim" href="http://www.vim.org/">vim</a> and staring at one line for nearly three minutes fatigue settled in. I made a few conceptual mental notes for the morrow and went to bed.</p>
<p>Early today I finished the edit of the quotes file, ttop.dat, in a vim editor. The tedium of manually stripping poor double quote characters, blank lines, and extra spaces raced by with a rested mind. I settled on using &#8216;&#8212;&#8217; as a delimiter between all quotes as most contained multiple lines knowing that perl&#8217;s <a title="Perl Input Record Separator" href="http://perldoc.perl.org/perlvar.html#$/">input record separator</a> would permit parsing pliability. Once the quote file edit was complete I hacked up the perl script to slurp and parse the file and insert each quote to the database. After a few trail runs to ferret out the bugs the quotes were neatly tucked away in the database.</p>
<pre class="brush: perl; title: ; toolbar: true; notranslate">
#!/usr/bin/perl

use strict;
use warnings;

use DBI;

# insert the new uirs into the db
sub db_insert_quotes {
    my $quote_sref = shift;
    my $dbh = shift;

    my $sql = &quot;INSERT INTO wp_quotescollection (quote, author, source, tags, visible, time_added, time_updated)
               VALUES (?, 'Geoffrey James', 'The Tao Of Programming', 'TTOP', 'yes', NOW(), NOW())&quot;;
    my $sth = $$dbh-&gt;prepare($sql);
    $sth-&gt;bind_param(1, $$quote_sref);
    $sth-&gt;execute;
}

# Connect to the database.
my $dbh = DBI-&gt;connect(&quot;DBI:mysql:database=DATABASE;host=localhost&quot;,
                       &quot;USER&quot;, &quot;PASSWORD&quot;,
                       {'RaiseError' =&gt; 1});

$/ = &quot;---\n&quot;;
while (&lt;&gt;) {
    chomp;
    chop;
    my $quote = $_;
    #db_insert_quotes(\$quote, \$dbh);
}

exit;
</pre>
<p>A few months back I vaguely recalled reading a <a title="WebDesinger Wall" href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/">jQuery article</a> with a great <a title="Simple Sliding Panel Demo" href="http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html">simple sliding panel demo</a>. After grabbing a few images and applying a dollop or two of CSS, Javascript, and HTML my panel was functional. <a title="Kuler" href="http://kuler.adobe.com/">Kuler</a>&#8216;s color insights came to the rescue again saving site visitors from my train wreck artistic spasms.</p>
<p>This site enhancement was a joy to work on. I hope visitors are enthused about it as I am.</p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/03/quote-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nothing to Say</title>
		<link>http://joecrotty.com/2010/03/nothing-to-say/</link>
		<comments>http://joecrotty.com/2010/03/nothing-to-say/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 22:54:28 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=666</guid>
		<description><![CDATA[It was an arid posting week here at the blog trying to come up with something fresh to say. In the process of looking around at the ship shape of the blog the realization that the header and logo look &#8230; <a href="http://joecrotty.com/2010/03/nothing-to-say/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It was an arid posting week here at the blog trying to come up with something fresh to say. In the process of looking around at the ship shape of the blog the realization that the header and logo look squirrelly occurred. So I fired up <a title="Adobe Photoshop" href="http://www.adobe.com/products/photoshop/photoshop/">Photoshop</a>, <a title="Vim" href="http://www.vim.org/">vim</a> and <a title="Git" href="http://git-scm.com/">git</a> and changed things around to a more streamlined, recognizable and social/web 2.0 header area.  Also, the <a title="Archive Layout Issue Blog Post" href="http://joecrotty.com/2010/03/design-tweaks/">archive layout issue</a> was fixed yet again. Now if I could only come up with a good idea to blog about.</p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/03/nothing-to-say/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nikon D90 Learning Tools</title>
		<link>http://joecrotty.com/2010/03/nikon-d90-learn-tools/</link>
		<comments>http://joecrotty.com/2010/03/nikon-d90-learn-tools/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 15:00:19 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=630</guid>
		<description><![CDATA[In have been eying the Nikon D90 DSLR for the better part of three months. At the start of March, 2010 Nikon Rumors reported some deep online discounts were in the works and with my birthday pending at the end &#8230; <a href="http://joecrotty.com/2010/03/nikon-d90-learn-tools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In have been eying the <a title="Nikon D90" href="http://www.nikonusa.com/Find-Your-Nikon/Product/Digital-SLR/25446/D90.html">Nikon D90</a> <a title="DSLR Wiki" href="http://en.wikipedia.org/wiki/Digital_single-lens_reflex_camera">DSLR</a> for the better part of three months. At the start of March, 2010 <a title="Nikon Rumors" href="http://nikonrumors.com/">Nikon Rumors</a> reported some <a title="Nikon Rumors discount roundup" href="http://nikonrumors.com/2010/03/03/the-latest-nikon-instant-rebates-list.aspx">deep online discounts</a> were in the works and with my birthday pending at the end of the month I pulled the trigger and purchased a D90 camera kit including a <a title="Nikkor Lenses" href="http://www.nikonusa.com/Find-Your-Nikon/Product/Camera-Lenses/2192/AF-S-DX-NIKKOR-18-200mm-f%252F3.5-5.6G-ED-VR-II.html">Nikkor 18-200mm f/3.5-5.6G ED VRII</a> all around lens from <a title="B&amp;H Photo Video" href="http://www.bhphotovideo.com/">B&amp;H Photo Video</a>. Much to my joy even my wife approved the purchase. Now that the easy part is done it&#8217;s time to learn how to use this interface monster.</p>
<p><span id="more-630"></span>Set up with a 16G <a title="SDHC Wiki" href="http://en.wikipedia.org/wiki/Secure_Digital#SDHC">SDHC</a> memory card and a decent <a title="Schneider Optics" href="http://www.schneideroptics.com/">B+W</a> lens filter I spent my first day poking around for D90 learning tools and culled the following list:</p>
<ul>
<li>Nikon D90 <a title="Nikon D90 manual" href="http://www.nikonusa.com/pdf/manuals/noprint/D90_ennoprint.pdf">manual</a></li>
<li>Nikon D90 <a title="Digitutor videos" href="http://www.nikondigitutor.com/eng/d90/index.shtml">Digitutor</a> videos</li>
<li>Ken Rockwell&#8217;s Nikon D90 <a title="Ken Rockwell's Nikon D90 User's Guide" href="http://www.kenrockwell.com/nikon/d90/users-guide/index.htm">Users&#8217;s Guide</a></li>
</ul>
<p>This probably sounds trite but reading parts of the manual, especially the camera body layout and control panel diagrams, taught me a great deal. After shooting some pictures around the apartment I drove to one of my favorite outdoor haunts, <a title="Eldorado Canyon State Park" href="http://parks.state.co.us/parks/eldoradocanyon/Pages/EldoradoCanyonHome.aspx">Eldorado Canyon State Park</a>, for an afternoon of milling around the trails with an itchy trigger finger.</p>
<div class="wp-caption alignnone" style="width: 500px"><a href="http://i168.photobucket.com/albums/u196/joecrotty/joecrottycom/2010-03-13_15-40-58.jpg"><img class="noborder" title="Fowler Trail Hikers" src="http://i168.photobucket.com/albums/u196/joecrotty/joecrottycom/2010-03-13_15-40-58_webjc.jpg" alt="" width="490" height="325" /></a><p class="wp-caption-text">Fowler Trail Hikers</p></div>
<div class="wp-caption alignnone" style="width: 500px"><a href="http://i168.photobucket.com/albums/u196/joecrotty/joecrottycom/2010-03-13_15-54-44.jpg"><img title="One dream begins as another ends" src="http://i168.photobucket.com/albums/u196/joecrotty/joecrottycom/2010-03-13_15-54-44_webjc.jpg" alt="" width="490" height="738" /></a><p class="wp-caption-text">One dream begins as another ends</p></div>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/03/nikon-d90-learn-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoF Design Patterns</title>
		<link>http://joecrotty.com/2010/03/gof-design-patterns/</link>
		<comments>http://joecrotty.com/2010/03/gof-design-patterns/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 19:56:21 +0000</pubDate>
		<dc:creator>Joseph Crotty</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Featured Content]]></category>

		<guid isPermaLink="false">http://joecrotty.com/?p=618</guid>
		<description><![CDATA[As a programmer and all around nerd dating back to my teen years I have covered a fair bit of computing terrain. However, at a recent job interview requiring Java skills I completely floundered when asked, "Talk to us about design patterns and illustrate some instances where you have applied them?" <a href="http://joecrotty.com/2010/03/gof-design-patterns/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As a programmer and all around nerd dating back to my teen years I have covered a fair bit of computing terrain. However, at a recent job interview requiring Java skills I completely floundered when asked, &#8220;Talk to us about design patterns and illustrate some instances where you have applied them?&#8221;  Baffled and not one to beat around the bush I admitted my naivety immediatley. In a gesture of kindness the interview panel threw a few classic design patterns at me like singleton and abstract factory both of which I was aware of, but only had a vague grasp of. One guy on the panel suggested I read up on a famous engineering design pattern book by a group referred to as the Gang of Four. I took him up on that offer a few days later and ordered a used copy of <a title="Design Patterns Wiki" href="http://en.wikipedia.org/wiki/Design_Patterns"><em>Design Patterns: Elements of Reusable Object-Oriented Software</em></a> from <a title="Buy Design Patterns at Amazon" href="http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612">Amazon</a>.</p>
<p><span id="more-618"></span></p>
<div id="attachment_623" class="wp-caption alignnone" style="width: 500px"><img class="size-large wp-image-623" title="Design Patterns Front Cover" src="http://joecrotty.com/wp-content/uploads/2010/03/design_patterns_bookfc-490x490.jpg" alt="" width="490" height="490" /><p class="wp-caption-text">Design Patterns Front Cover</p></div>
<p>The book arrived two days ago and I have been busy poring over it in my spare time. I am using a <a title="GoF/Gamma Patterns" href="http://mahemoff.com/paper/software/learningGoFPatterns/">study guide</a> that groups the patterns by difficulty ranging from easy to advanced. Can&#8217;t wait to finish reading and possibly start applying these new nuggets of knowledge to my current AJAX charting application project.</p>
]]></content:encoded>
			<wfw:commentRss>http://joecrotty.com/2010/03/gof-design-patterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

