<?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>Sword Systems &#187; pain</title>
	<atom:link href="http://swordsystems.com/category/pain/feed/" rel="self" type="application/rss+xml" />
	<link>http://swordsystems.com</link>
	<description>Cutting Commentary</description>
	<lastBuildDate>Tue, 15 May 2012 14:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>You don&#8217;t know what you don&#8217;t know</title>
		<link>http://swordsystems.com/2010/10/12/you-dont-know-what-you-dont-know/</link>
		<comments>http://swordsystems.com/2010/10/12/you-dont-know-what-you-dont-know/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 13:29:15 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[pain]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://swordsystems.com/?p=89</guid>
		<description><![CDATA[Disclaimer: If you are reading this post, then you probably don&#8217;t need to.  It likely doesn&#8217;t contain anything that you don&#8217;t already know or practice.  But perhaps it will help you convince a co-worker who is still pounding away in the dark. I used to believe that I didn&#8217;t need to keep up with technical [...]]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px;"><strong>Disclaimer:</strong> If you are reading this post, then you probably don&#8217;t need to.  It likely doesn&#8217;t contain anything that you don&#8217;t already know or practice.  But perhaps it will help you convince a co-worker who is still pounding away in the dark.</p>
<p>I used to believe that I didn&#8217;t need to keep up with technical RSS feeds or newsgroups.  I learn things quickly and know how to use Google.  Thus, if I ever wanted to find some tool to accomplish a certain task or if I hit a problem with a library I was using, I could quickly go out and find what I was looking for.  Spending time reading the Hibernate user group and the JBoss user groups and the Spring user group and all the rest just took away time from designing and implementing the next feature on the schedule.  Who could possibly remember all the other new product, library, and feature announcements unless you had a need for them right then?</p>
<p>I now know that this is an excellent way to regularly reinvent the wheel.  Why?  Because you don&#8217;t know what you don&#8217;t know.  Sometimes it&#8217;s easy to guess when there are tools, libraries, or entire languages that can help you do your job.  For example, we all know that there are many ORM, logging, and xml-parsing libraries.  There are many situations, however, where it is unlikely that you will realize you are facing a problem that someone else has already solved.</p>
<p>This happened to me last spring.  We were in crunch time trying to finish up a release and I had fallen behind on my feed/newsgroup reading.  I winced every time I opened up Google Reader and saw the unread count tick higher and higher.  As part of this release, I wrote a handy little utility routine that let me override a single method of a class by using groovy&#8217;s ExpandoMetaClass.  The nice thing about the routine was that it always discarded the modified MetaClass after the closure that was passed to it finished.  I could thus remove the many try&#8230;finally blocks that were piling up in my tests as a tried to make sure I didn&#8217;t corrupt a MetaClass from one test to another.</p>
<p>A couple of days later, I was able to whittle down the backlog in Google Reader.  That&#8217;s when I saw this entry from mrhaki: <a href="http://mrhaki.blogspot.com/2010/03/grails-goodness-using-metaclass-with.html">http://mrhaki.blogspot.com/2010/03/grails-goodness-using-metaclass-with.html</a>.  Built into the GrailsUnitTestCase class was a method that did exactly what I wanted, plus a lot more &#8211; registerMetaClass.  Given, my utility routine can be used outside of a Grails&#8217; unit test, so it&#8217;s not a complete waste.  But I could have saved myself a few hours of effort if I had been up to date on my reading.  Perhaps I could have spent those hours catching up on the rest of my &#8220;To Read&#8221; list&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://swordsystems.com/2010/10/12/you-dont-know-what-you-dont-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing an existing grails projects into Intellij</title>
		<link>http://swordsystems.com/2009/07/30/importing-an-existing-grails-projects-into-intellij/</link>
		<comments>http://swordsystems.com/2009/07/30/importing-an-existing-grails-projects-into-intellij/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 11:14:00 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[Intellij]]></category>
		<category><![CDATA[pain]]></category>

		<guid isPermaLink="false">http://swordsystems.com/?p=16</guid>
		<description><![CDATA[Yesterday I had the fun experience of getting an existing grails project configured in Intellij. The process required just a few more steps than given in the Intellij documentation, so I added my notes to an existing thread in the Intellij forums on the same topic. I hope it saves someone else from denting the [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I had the fun experience of getting an existing grails project configured in Intellij.  The process required just a few more steps than given in the Intellij documentation, so I added my notes to an <a href="http://www.jetbrains.net/devnet/message/5242706#5242706">existing thread</a> in the Intellij forums on the same topic.  I hope it saves someone else from denting the wall with their head.</p>
]]></content:encoded>
			<wfw:commentRss>http://swordsystems.com/2009/07/30/importing-an-existing-grails-projects-into-intellij/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

