<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Random Musings</title>
	
	<link>http://www.nslms.com</link>
	<description />
	<lastBuildDate>Thu, 19 Aug 2010 17:43:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/nslms_com" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="nslms_com" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">nslms_com</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Hidden Danger of Grails Plugins</title>
		<link>http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 17:43:40 +0000</pubDate>
		<dc:creator>RyanG</dc:creator>
				<category><![CDATA[Grails/Groovy]]></category>
		<category><![CDATA[artifacts]]></category>
		<category><![CDATA[code coverage]]></category>
		<category><![CDATA[downside]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[technical debt]]></category>
		<category><![CDATA[test driven development]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=622</guid>
		<description><![CDATA[As a new developer to Grails you&#8217;re probably in awe over the vast number of very powerful plugins which are available to you. Without writing a single line of your own code you can do all sorts of cool things like interact with Twitter, Facebook, Amazon&#8217;s S3 storage system, Apple Push notifications, Spring Security, and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F19%2Fhidden-danger-of-grails-plugins%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F19%2Fhidden-danger-of-grails-plugins%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>As a new developer to Grails you&#8217;re probably in awe over the vast number of very powerful plugins which are available to you.  Without writing a single line of your own code you can do all sorts of cool things like interact with Twitter, Facebook, Amazon&#8217;s S3 storage system, Apple Push notifications, Spring Security, and the list goes on and on.  As of this writing there are 447 plugins available in the official Grails plugin repository.</p>
<p>It is understandably tempting to leverage all of this code to simply bolt together an integrated solution which solves the problem you&#8217;re facing.  But there is a downside to consuming someone else&#8217;s code, particularly when you&#8217;re doing test driven development.  Here are some things to consider before you pull the trigger and <i>grails install-plugin</i>.<br />
<span id="more-622"></span></p>
<h3>Using a cannon to kill a mosquito</h3>
<p>When you adopt someone else&#8217;s code by installing their plugin, you don&#8217;t always know about all of it&#8217;s capabilities.  You very likely did a quick google search, or a keyword search in the grails plugins and found something which appeared to solve the particular problem you were facing.  It is very likely though that the plugin you just installed can do what you need, and much MUCH more.</p>
<p>Worse still, it may end up bloating your code with a bunch of functionality that you don&#8217;t need, while still not fully solving your problem!</p>
<h3>I see a black box and I want to paint it white</h3>
<p>If you&#8217;re working on a sizable project and collaborating with a team, you&#8217;re probably doing TDD, and you probably have a code coverage requirement for your tests.  When you install a plugin a lot of the appeal is that it will create a TON of functionality and Grails artifacts for you (controllers, domain classes, services, taglibs etc).  If you do have a code coverage requirement, that means that you have to address those new artifacts with tests.</p>
<p>This is a double edged sword.  On the bright side, you are forced to really understand what the plugin is doing with the artifacts it provides, and you might discover that you need to rewrite them or refactor them for your application.  The negative of course is that you have to expend the mental energy to understand what the author is doing, and how they&#8217;re doing it.  Very quickly the functionality that you got &#8220;for free&#8221; isn&#8217;t looking so appealing, and you might end up spending as much (or more) time understanding the plugins implementation as you would have to build your own functionality and tests.</p>
<h3>The bad that comes with the good</h3>
<p>You might have noticed that all but the most mainstream plugins for Grails are not always documented particularly well.  This can be a serious barrier to including a plugin in your project as well.  If you can&#8217;t figure out how to make it work, or get a clear understanding of the inner workings, you may spend more time fiddling with it than leveraging it.</p>
<p>Another consequence of adopting the plugins code is that you inherit the plugins <a href="http://martinfowler.com/bliki/TechnicalDebt.html">technical debt</a>.  The plugin author had a specific problem domain in mind when she wrote the code.  If your problem domain is slightly different the compromises built into the plugin may be ones which you&#8217;re not willing (or able) to accept.</p>
<h3>Looking to the future</h3>
<p>If you&#8217;ve considered all of these things, and decided that it&#8217;s worth the effort to write the tests and accept the technical debt of a plugin, there is one last thing to consider.  What happens in the future?  What if six months go by and your requirements change, requiring more functionality than your current plugin choice supplies?  You could try to find another plugin which covers the new requirement, or you may have to extend the functionality of your chosen plugin.  If the plugin you&#8217;ve chosen is poorly documented or poorly coded this could be difficult, or impossible, forcing you to pay the price by rewriting all of the functionality provided by the plugin.</p>
<p>Consider too what happens if the plugin author stops maintaining the codebase.  When new versions of grails are released, the functionality of the plugin could break and you&#8217;re once again forced to maintain code you didn&#8217;t write.</p>
<h3>Sometimes it&#8217;s worth the risk</h3>
<p>Of course, I would hardly discourage you from using the plugins that are available, they can be hugely beneficial and save you immense amounts of time.  The warning is just to consider the cost of &#8220;buying&#8221; another developers code and folding it into your solution.</p>
<p>Once you&#8217;ve considered all of these things and still decide that a plugin is right for your project you&#8217;ll be much better prepared for the effort that comes with using it, and you might just appreciate the functionality that the plugin provides a teeny bit more.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/&amp;n=Hidden+Danger+of+Grails+Plugins&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/&amp;t=Hidden+Danger+of+Grails+Plugins" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/&amp;title=Hidden+Danger+of+Grails+Plugins&amp;summary=As%20a%20new%20developer%20to%20Grails%20you%27re%20probably%20in%20awe%20over%20the%20vast%20number%20of%20very%20powerful%20plugins%20which%20are%20available%20to%20you.%20%20Without%20writing%20a%20single%20line%20of%20your%20own%20code%20you%20can%20do%20all%20sorts%20of%20cool%20things%20like%20interact%20with%20Twitter%2C%20Facebook%2C%20Amazon%27s%20S3%20storage%20system%2C%20Apple%20Push%20notifications&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Hidden%20Danger%20of%20Grails%20Plugins%22&amp;body=Link: http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A As%20a%20new%20developer%20to%20Grails%20you%27re%20probably%20in%20awe%20over%20the%20vast%20number%20of%20very%20powerful%20plugins%20which%20are%20available%20to%20you.%20%20Without%20writing%20a%20single%20line%20of%20your%20own%20code%20you%20can%20do%20all%20sorts%20of%20cool%20things%20like%20interact%20with%20Twitter%2C%20Facebook%2C%20Amazon%27s%20S3%20storage%20system%2C%20Apple%20Push%20notifications" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/&amp;title=Hidden+Danger+of+Grails+Plugins&amp;selection=As%20a%20new%20developer%20to%20Grails%20you%27re%20probably%20in%20awe%20over%20the%20vast%20number%20of%20very%20powerful%20plugins%20which%20are%20available%20to%20you.%20%20Without%20writing%20a%20single%20line%20of%20your%20own%20code%20you%20can%20do%20all%20sorts%20of%20cool%20things%20like%20interact%20with%20Twitter%2C%20Facebook%2C%20Amazon%27s%20S3%20storage%20system%2C%20Apple%20Push%20notifications" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Hidden+Danger+of+Grails+Plugins+-+http://b2l.me/ajgvrb&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=wbkt4MYmrjY:s_NHcDkIhYs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=wbkt4MYmrjY:s_NHcDkIhYs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/08/19/hidden-danger-of-grails-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Made Velveeta</title>
		<link>http://www.nslms.com/2010/08/16/i-made-velveeta/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/08/16/i-made-velveeta/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 16:36:10 +0000</pubDate>
		<dc:creator>MarlenaG</dc:creator>
				<category><![CDATA[Parenting]]></category>
		<category><![CDATA[Personal Expressions]]></category>
		<category><![CDATA[cheese]]></category>
		<category><![CDATA[culinary]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[kids]]></category>
		<category><![CDATA[parenting]]></category>
		<category><![CDATA[velveeta]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=645</guid>
		<description><![CDATA[I attended a city college culinary program, which means I know a little about food. I learned the basics of the culinary world, things like mother sauces, cuts of meat, basics of pastries, ect. I&#8217;m a foodie. I love food, like it and love to play with it and experiment. Thankfully my husband enjoys my [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F16%2Fi-made-velveeta%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F16%2Fi-made-velveeta%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I attended a city college culinary program, which means I know a little about food.  I learned the basics of the culinary world, things like mother sauces, cuts of meat, basics of pastries, ect.  I&#8217;m a foodie.  I love food, like it and love to play with it and experiment.  Thankfully my husband enjoys my experiments, eating and helping me cook and inspiring me.<br />
<span id="more-645"></span></p>
<p>Well in my attempts to focus on using on what is on hand I made a simple baked potato dinner.  Which meant I could bake potatoes and make fun toppings and have fun with it.  I decided we had to have a cheese sauce, it was vital.  I made a lovely blonde roux, then a slightly runny bechemel and then added cheeses, nutmeg, cayenne, and mustard.  It was delightful and strangely familiar.  When my husband came home after a long day he smiled as he put his potato together and let me know the cheese sauce was awesome.  He even offered to have my babies (attractive offer after you have had two children).  I looked at him and said, &#8220;Yeah, I made velveeta.  My teachers would be proud.&#8221;</p>
<p> I love when I get through a week when I don&#8217;t throw away any food and we don&#8217;t have any reason to go grocery shopping mid week, it&#8217;s exciting to me.  Yeah I know, I&#8217;m a bit strange.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/08/16/i-made-velveeta/&amp;n=I+Made+Velveeta&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/08/16/i-made-velveeta/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/08/16/i-made-velveeta/&amp;t=I+Made+Velveeta" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/08/16/i-made-velveeta/&amp;title=I+Made+Velveeta&amp;summary=I%20attended%20a%20city%20college%20culinary%20program%2C%20which%20means%20I%20know%20a%20little%20about%20food.%20%20I%20learned%20the%20basics%20of%20the%20culinary%20world%2C%20things%20like%20mother%20sauces%2C%20cuts%20of%20meat%2C%20basics%20of%20pastries%2C%20ect.%20%20I%27m%20a%20foodie.%20%20I%20love%20food%2C%20like%20it%20and%20love%20to%20play%20with%20it%20and%20experiment.%20%20Thankfully%20my%20husband%20enjo&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22I%20Made%20Velveeta%22&amp;body=Link: http://www.nslms.com/2010/08/16/i-made-velveeta/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20attended%20a%20city%20college%20culinary%20program%2C%20which%20means%20I%20know%20a%20little%20about%20food.%20%20I%20learned%20the%20basics%20of%20the%20culinary%20world%2C%20things%20like%20mother%20sauces%2C%20cuts%20of%20meat%2C%20basics%20of%20pastries%2C%20ect.%20%20I%27m%20a%20foodie.%20%20I%20love%20food%2C%20like%20it%20and%20love%20to%20play%20with%20it%20and%20experiment.%20%20Thankfully%20my%20husband%20enjo" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/08/16/i-made-velveeta/&amp;title=I+Made+Velveeta&amp;selection=I%20attended%20a%20city%20college%20culinary%20program%2C%20which%20means%20I%20know%20a%20little%20about%20food.%20%20I%20learned%20the%20basics%20of%20the%20culinary%20world%2C%20things%20like%20mother%20sauces%2C%20cuts%20of%20meat%2C%20basics%20of%20pastries%2C%20ect.%20%20I%27m%20a%20foodie.%20%20I%20love%20food%2C%20like%20it%20and%20love%20to%20play%20with%20it%20and%20experiment.%20%20Thankfully%20my%20husband%20enjo" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=I+Made+Velveeta+-+http://b2l.me/ahrjsg&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=aMGEktl-v4A:Gn_7xUAMRxU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=aMGEktl-v4A:Gn_7xUAMRxU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/08/16/i-made-velveeta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RightScriptDiff – Maintain your RightScripts Locally</title>
		<link>http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 05:09:51 +0000</pubDate>
		<dc:creator>RyanG</dc:creator>
				<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[compare]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[RightScale]]></category>
		<category><![CDATA[RightScript]]></category>
		<category><![CDATA[rsDiff]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=654</guid>
		<description><![CDATA[If you&#8217;re running servers in the cloud, particularly on Amazon&#8217;s AWS and haven&#8217;t heard about RightScale you owe it to yourself to check them out. I&#8217;ve been using their tools for launching and managing linux servers on AWS. They allow you to automate all of the tasks to launch a new box, and even run [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F02%2Frightscriptdiff-maintain-your-rightscripts-locally%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F02%2Frightscriptdiff-maintain-your-rightscripts-locally%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>If you&#8217;re running servers in the cloud, particularly on Amazon&#8217;s AWS and haven&#8217;t heard about <a href="http://www.rightscale.com">RightScale</a> you owe it to yourself to check them out.  I&#8217;ve been using their tools for launching and managing linux servers on AWS.  They allow you to automate all of the tasks to launch a new box, and even run regular operational tasks, all with the use of RightScripts.</p>
<p>RightScripts are just glorified shell scripts which get downloaded from RightScale to your linux server running in any of the clouds they support, and executed with the parameters that you specify in the RightScale dashboard for that RightScript.  Of course, as you start to get into more complex scenarios you&#8217;re likely to start writing and testing your scripts locally before saving them in the RightScale dashboard.  That&#8217;s where RightScriptDiff comes in.<br />
<span id="more-654"></span></p>
<p>The only way to create or edit a RightScript as of this writing is through the RightScale dashboard.  So you&#8217;re typing your script into a nice big textarea, where you can&#8217;t tab for indents or any of the other benefits you get from an editor like vim, emacs, or even *gasp* notepad.exe.  As a result I started to write, and even test my scripts locally before I ever committed them to RightScale.</p>
<p>Going this route of course adds a fair amount of overhead to the process.  You have to remember which scripts you&#8217;ve edited, then copy/paste them into the RightScale dashboard to update the script in their system.  After a while I found I couldn&#8217;t keep up with the overhead, and I needed to find some good way to compare my local copies of scripts with the ones in my RightScale dashboard.</p>
<p>Thus was born RightScriptDiff.  By supplying RightScriptDiff with your username, password, and account id for RightScale along with a path to a directory containing your local scripts, it will use the RightScale API to compare your local copy against the one stored in your RightScale account.  If you&#8217;re thinking &#8220;why don&#8217;t you just synchronize the script using the API&#8221;, you&#8217;re on the right track.  Sadly, the API doesn&#8217;t (yet) support RightScripts for anything but viewing, here&#8217;s hoping they open up that functionality a bit.</p>
<p>In order for RightScriptDiff to compare your local files, they must be named with a specific pattern, namely &lt;rightscript_id&gt;-&lt;rightscript_name&gt;.sh.  Actually, the script name and the *.sh extension are optional, but that&#8217;s the convention I use so it&#8217;s easier to identify them.  You can pass (almost) any argument to RightScriptDiff that you can to the &#8220;ls&#8221; command in *nix and OSX, so something like <em>relative/path/to/RightScripts/*.sh</em> is totally acceptable.  This means you can also target just a single script if you&#8217;d like.  RightScriptDiff uses the RightScript_ID section of the filename to look up the script using the RightScript API, then compares the script against your local copy.  If they&#8217;re the same, you get a happy success message that there is no difference.  If the files are different, a side by side diff is shown.</p>
<p>Here&#8217;s an example of a successful run;</p>
<pre class="brush: bash;">
Ryan-Geyers-MacBook-Pro:RightScripts rgeyer$ rsDiff.sh
Please enter the path to scripts stored locally...
*.sh
Grabbing all RightScripts for user: ***** on account: *****.  Be patient, this could take a while...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  369k  100  369k    0     0   148k      0  0:00:02  0:00:02 --:--:--  182k
Found 1 nodes:
-- NODE --

Local copy of 236067-LDAP Install OpenLDAP.sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 237784-LDAP Create Database.sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 237788-LDAP Set Config Admin Details.sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 237789-LDAP Tools Install.sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 238408-LDAP Enable Schema(s).sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 238454-LDAP DB S3 Backup.sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 238480-LDAP DB S3 Restore.sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 238481-LDAP DB S3 Enable Continuous Backup.sh does not differ from RightScale copy.
Found 1 nodes:
-- NODE --

Local copy of 238497-LDAP DB S3 Disable Continuous Backup.sh does not differ from RightScale copy.
</pre>
<p>This is what it looks like when the scripts differ;</p>
<pre class="brush: bash;">
Ryan-Geyers-MacBook-Pro:RightScripts rgeyer$ rsDiff.sh
Please enter the path to scripts stored locally...
237784*.sh
Grabbing all RightScripts for user: ***** on account: *****.  Be patient, this could take a while...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  369k  100  369k    0     0   172k      0  0:00:02  0:00:02 --:--:--  220k
Found 1 nodes:
-- NODE --

Local copy of 237784-LDAP Create Database.sh differs from RightScale copy.. Diff below..
							      &gt;	sed -i &quot;s/@@DATABASE_TYPE@@/$DATABASE_TYPE/g&quot; $tmp_file
							      &gt;	sed -i &quot;s/@@DB_CHECKPOINT@@/$DB_CHECKPOINT/g&quot; $tmp_file
							      &lt;
echo &quot;Finishing up...&quot;
</pre>
<p>As mentioned above RightScriptDiff requires three values, your RightScale account email address, password, and account number.  You might notice that in both instances above I did not need to provide them and was prompted only for the path to my scripts.  This is because I pre-defined my credentials and account before hand.   There are a couple ways to provide this to RightScriptDiff, you can call rsDiff.sh with parameters (-e|&#8211;email=)&lt;email-address&gt; (-p|&#8211;password=)&lt;password&gt; (-a|&#8211;account_id=)&lt;account_id&gt;, or you can rename the supplied rsDiffAuth.sh.example file, to rsDiffAuth.sh and put your credentials in there.</p>
<p>After developing this, I discovered that I had edited one of my script files locally and the change wasn&#8217;t reflected in my RightScale dashboard, so it&#8217;s already proved useful to me.  Hopefully this helps some other sysadmins building our their RightScale managed clouds.</p>
<p>You can download RightScriptDiff by running the following command.  I wrote it on OSX 10.6.4, but it should work on most flavors of linux as well.</p>
<pre class="brush: bash;">
svn export https://linode.nslms.com/svn_ro/RightScriptDiff/
</pre>
<p>Chances are pretty good I&#8217;ll create a landing page for this, particularly if it becomes popular, so stay tuned here for updates!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/&amp;n=RightScriptDiff+-+Maintain+your+RightScripts+Locally&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/&amp;t=RightScriptDiff+-+Maintain+your+RightScripts+Locally" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/&amp;title=RightScriptDiff+-+Maintain+your+RightScripts+Locally&amp;summary=If%20you%27re%20running%20servers%20in%20the%20cloud%2C%20particularly%20on%20Amazon%27s%20AWS%20and%20haven%27t%20heard%20about%20RightScale%20you%20owe%20it%20to%20yourself%20to%20check%20them%20out.%20%20I%27ve%20been%20using%20their%20tools%20for%20launching%20and%20managing%20linux%20servers%20on%20AWS.%20%20They%20allow%20you%20to%20automate%20all%20of%20the%20tasks%20to%20launch%20a%20new%20box%2C%20and%20even%20r&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22RightScriptDiff%20-%20Maintain%20your%20RightScripts%20Locally%22&amp;body=Link: http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A If%20you%27re%20running%20servers%20in%20the%20cloud%2C%20particularly%20on%20Amazon%27s%20AWS%20and%20haven%27t%20heard%20about%20RightScale%20you%20owe%20it%20to%20yourself%20to%20check%20them%20out.%20%20I%27ve%20been%20using%20their%20tools%20for%20launching%20and%20managing%20linux%20servers%20on%20AWS.%20%20They%20allow%20you%20to%20automate%20all%20of%20the%20tasks%20to%20launch%20a%20new%20box%2C%20and%20even%20r" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/&amp;title=RightScriptDiff+-+Maintain+your+RightScripts+Locally&amp;selection=If%20you%27re%20running%20servers%20in%20the%20cloud%2C%20particularly%20on%20Amazon%27s%20AWS%20and%20haven%27t%20heard%20about%20RightScale%20you%20owe%20it%20to%20yourself%20to%20check%20them%20out.%20%20I%27ve%20been%20using%20their%20tools%20for%20launching%20and%20managing%20linux%20servers%20on%20AWS.%20%20They%20allow%20you%20to%20automate%20all%20of%20the%20tasks%20to%20launch%20a%20new%20box%2C%20and%20even%20r" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RightScriptDiff+-+Maintain+your+RightScripts+Locally+-+http://b2l.me/aemxqq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=i6bZidzqXUI:_7jRuyBFu-o:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=i6bZidzqXUI:_7jRuyBFu-o:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/08/02/rightscriptdiff-maintain-your-rightscripts-locally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sleep, sweet sweet sleep</title>
		<link>http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 17:34:18 +0000</pubDate>
		<dc:creator>MarlenaG</dc:creator>
				<category><![CDATA[Parenting]]></category>
		<category><![CDATA[Personal Expressions]]></category>
		<category><![CDATA[kids]]></category>
		<category><![CDATA[nap]]></category>
		<category><![CDATA[sleep]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=572</guid>
		<description><![CDATA[I remember being young and fighting every single nap time in preschool, daycare, and kindergarten. I remember whimpering when my parents held true to my 8:30pm bedtime. I just wanted to stay up and play with the adults, I didn&#8217;t get why I had to go to bed. I imagined that my parents were having [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F01%2Fsleep-sweet-sweet-sleep%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F08%2F01%2Fsleep-sweet-sweet-sleep%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I remember being young and fighting every single nap time in preschool, daycare, and kindergarten.  I remember whimpering when my parents held true to my 8:30pm bedtime.  I just wanted to stay up and play with the adults, I didn&#8217;t get why I had to go to bed.  I imagined that my parents were having candy and ice cream parties.  I could hear soft jazz playing in the living room and muffled conversations that had a healthy sprinkling of laughter, singing and silly noises.  I felt like I was missing out on so much.  It wasn&#8217;t until Jr. High that I started to stay up late for school work and honestly I thought I was a grown up for not complaining.  Then high school I stayed up for cram sessions, reports, homework and started to get that sleep was a valuable commodity.  Still I would stay up Friday and Saturday in attempts to spend time with my mom and grandmother or with my friends.  I had a strict curfew, one that my mom would tell my friends and their parents so that they knew she meant business.<br />
<span id="more-572"></span></p>
<p>One year I had insomnia, probably had something to do with the 3-5 cups of coffee that I was drinking every day in my sophomore year of high school.   I remember accidentally waking up my mom vacuuming at 1am.  She let me know that I was only allowed to do dishes, wipe down counters and dust if I insisted on staying up that late doing chores.  Clearly my mom was no fool, never tell a teenager to stop cleaning.</p>
<p>I went into a culinary program at the local city college and was in school 40 hours a week.  I got in the habit of waking up early daily (classes started at 6:30am).  I would go home and study, and have catering events at school regularly.  I was a teenager so I would also attempt to have a social life on the weekends minus the class work and catering events.  I finished the culinary program and was a baker at a buji organic grocery store so again I was keeping early hours.  I would still try to go out with friends at night even though I was up  4am to work.  I was a HUGE fan of the power nap.</p>
<p>I changed careers shortly after getting married and was getting used to 8-5 work day but still known to wake up at 3:30am often due to my previous career.  I had health issues and all I did was sleep for 6-8 hours a couple years, which for me is decadent.  </p>
<p>Now I&#8217;m a mom, with a newborn (how long do you get to claim that?) and a toddler which means that I&#8217;m up by 7am every day and juggling everyone&#8217;s needs and wants.  I look forward to my toddler&#8217;s bed time on the crazy days when both boys seem to have arranged their meltdowns so I can have a stereo experience.  Then I get to play the power nap game through the night.  I miss naps, I miss long stretches of sleep.  Hell I miss sleep in general.  </p>
<p>Dear Sleep,<br />
I miss you love and know one day we will be reunited.  I&#8217;m guessing it will be about two years but when we are together again it will be fireworks and a crescendo of beautiful music.</p>
<p>Love,<br />
me</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/&amp;n=Sleep%2C+sweet+sweet+sleep&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/&amp;t=Sleep%2C+sweet+sweet+sleep" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/&amp;title=Sleep%2C+sweet+sweet+sleep&amp;summary=I%20remember%20being%20young%20and%20fighting%20every%20single%20nap%20time%20in%20preschool%2C%20daycare%2C%20and%20kindergarten.%20%20I%20remember%20whimpering%20when%20my%20parents%20held%20true%20to%20my%208%3A30pm%20bedtime.%20%20I%20just%20wanted%20to%20stay%20up%20and%20play%20with%20the%20adults%2C%20I%20didn%27t%20get%20why%20I%20had%20to%20go%20to%20bed.%20%20I%20imagined%20that%20my%20parents%20were%20having%20c&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Sleep%2C%20sweet%20sweet%20sleep%22&amp;body=Link: http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20remember%20being%20young%20and%20fighting%20every%20single%20nap%20time%20in%20preschool%2C%20daycare%2C%20and%20kindergarten.%20%20I%20remember%20whimpering%20when%20my%20parents%20held%20true%20to%20my%208%3A30pm%20bedtime.%20%20I%20just%20wanted%20to%20stay%20up%20and%20play%20with%20the%20adults%2C%20I%20didn%27t%20get%20why%20I%20had%20to%20go%20to%20bed.%20%20I%20imagined%20that%20my%20parents%20were%20having%20c" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/&amp;title=Sleep%2C+sweet+sweet+sleep&amp;selection=I%20remember%20being%20young%20and%20fighting%20every%20single%20nap%20time%20in%20preschool%2C%20daycare%2C%20and%20kindergarten.%20%20I%20remember%20whimpering%20when%20my%20parents%20held%20true%20to%20my%208%3A30pm%20bedtime.%20%20I%20just%20wanted%20to%20stay%20up%20and%20play%20with%20the%20adults%2C%20I%20didn%27t%20get%20why%20I%20had%20to%20go%20to%20bed.%20%20I%20imagined%20that%20my%20parents%20were%20having%20c" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Sleep%2C+sweet+sweet+sleep+-+http://b2l.me/ad9xp4&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=-nYqYR2vWLw:9W4cIDjYGo4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=-nYqYR2vWLw:9W4cIDjYGo4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/08/01/sleep-sweet-sweet-sleep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grails Domain Mocking Limitations</title>
		<link>http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 22:29:29 +0000</pubDate>
		<dc:creator>RyanG</dc:creator>
				<category><![CDATA[Grails/Groovy]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[limitation]]></category>
		<category><![CDATA[mock]]></category>
		<category><![CDATA[withCriteria]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=589</guid>
		<description><![CDATA[So, I just threw out most of this morning trying to figure out why something which clearly should work was blowing up my unit test on a grails app. To spare you the same pain I&#8217;m documenting it here. The scenario is that I have Roles and Privileges as domain classes. A role has many [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F07%2F27%2Fgrails-domain-mocking-limitations%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F07%2F27%2Fgrails-domain-mocking-limitations%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>So, I just threw out most of this morning trying to figure out why something which clearly <em>should</em> work was blowing up my unit test on a grails app.  To spare you the same pain I&#8217;m documenting it here.</p>
<p>The scenario is that I have Roles and Privileges as domain classes.  A role has many privileges, and any privilege may belong to one or more roles.  This is represented in domain classes pretty succinctly as;</p>
<p class="filename">/grails-app/domain/com/nslms/mockdomainlimtations/Role.groovy</p>
<pre class="brush: groovy;">
package com.nslms.mockdomainlimitations

class Role {
  static hasMany = [privileges: Privilege]

  static constraints = {
  }
  String name
}
</pre>
<p class="filename">/grails-app/domain/com/nslms/mockdomainlimtations/Privilege.groovy</p>
<pre class="brush: groovy;">
package com.nslms.mockdomainlimitations

class Privilege {

  static constraints = {
  }

  String name
}
</pre>
<p>So I can access all the privileges which belong to a role pretty easily, but what if I want to know all roles which a particular privilege belongs to?  Easy enough, we can look that up in a variety of ways.  Below I show adding a new closure to the privilege domain class which uses the <a href="http://grails.org/doc/latest/ref/Domain%20Classes/withCriteria.html">withCriteria</a> functionality of GORM to return all roles which have this privilege in the privileges map.  The new closure is in the highlighted lines.</p>
<p class="filename">/grails-app/domain/com/nslms/mockdomainlimtations/Privilege.groovy (with new closure)</p>
<pre class="brush: groovy; highlight: [10,11,12,13,14,15,16];">
package com.nslms.mockdomainlimitations

class Privilege {

  static constraints = {
  }

  String name

  def getRolesWithThisPrivilege = {
    Role.withCriteria() {
      privileges {
        eq('id', this.id)
      }
    }
  }
}
</pre>
<p>Now, if you&#8217;re doing proper test driven development (you are doing TDD, right?!), you&#8217;d probably already have a test written for this new closure that would look something like the highlighted lines of the test fixture below.  Notice lines 8 and 9 which are also highlighted to show that we&#8217;re asking the framework to mock out the GORM methods on the role and privilege classes.</p>
<p class="filename">/test/unit/com/nslms/mockdomainlimitaions/PrivilegeTests.groovy</p>
<pre class="brush: groovy; highlight: [8,9,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32];">
package com.nslms.mockdomainlimitations

import grails.test.*

class PrivilegeTests extends GrailsUnitTestCase {
  protected void setUp() {
    super.setUp()
    MockUtils.mockDomain(Role.class)
    MockUtils.mockDomain(Privilege.class)
  }

  protected void tearDown() {
    super.tearDown()
  }

  void testAbilityToGetAListOfRolesAPrivilegeBelongsTo() {
    def role1 = new Role(name: 'Administrator')
    def role2 = new Role(name: 'User')

    def priv1 = new Privilege(name: 'ReadAll').save(flush: true)

    role1.addToPrivileges(priv1)
    role2.addToPrivileges(priv1)

    role1.save(flush: true)
    role2.save(flush: true)

    def roleList = priv1.getRolesWithThisPrivilege()

    assert roleList.size() == 2
    assert roleList == [role1, role2]
  }
}
</pre>
<p>Even after you&#8217;ve implemented <b>getRolesWithThisPrivilege</b> on the Privileges domain class though, you&#8217;ll find your test still fails with an error that looks like the following.</p>
<p style="font-size: larger; font-style: italic; color: red;">No signature of method: com.nslms.mockdomainlimitations.Role.withCriteria() is applicable for argument types: (com.nslms.mockdomainlimitations.Privilege$_closure1_closure3) values: [com.nslms.mockdomainlimitations.Privilege$_closure1_closure3@8327473]</p>
<p>In short, it&#8217;s telling us that the <a href="http://grails.org/doc/latest/ref/Domain%20Classes/withCriteria.html">withCriteria</a> method of GORM isn&#8217;t implemented in the context of our test.  Of course if you put the exact same code in an integration test you&#8217;re golden.</p>
<p class="filename">/test/integration/com/nslms/mockdomainlimitations/PrivilegeTest.groovy</p>
<pre class="brush: groovy;">
package com.nslms.mockdomainlimitations

class PrivilegeTest extends GroovyTestCase {
  void testAbilityToGetAListOfRolesAPrivilegeBelongsTo() {
    def role1 = new Role(name: 'Administrator')
    def role2 = new Role(name: 'User')

    def priv1 = new Privilege(name: 'ReadAll').save(flush: true)

    role1.addToPrivileges(priv1)
    role2.addToPrivileges(priv1)

    role1.save(flush: true)
    role2.save(flush: true)

    def roleList = priv1.getRolesWithThisPrivilege()

    assert roleList.size() == 2
    assert roleList == [role1, role2]
  }
}
</pre>
<p>With this in place, you can run a &#8220;grails test-app -integration&#8221; and the exact same test which failed during unit testing will succeed.  This is of course because the entire grails bootstrapping occurs, and all of the artifacts (like domain classes) are wired up fully by the framework.</p>
<p>So the moral of the story?  If you&#8217;re planning to test anything more than simple saves with GORM in your testing phase, consider putting the more complex stuff into an integration test.  Either that, or keep your eyes peeled for problems like this and be prepared to refactor.</p>
<p>Feel free to grab a copy of the test grails app I created for this example.</p>
<pre class="brush: bash;">
svn export https://linode.nslms.com/svn_ro/MockDomainLimitations
</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/&amp;n=Grails+Domain+Mocking+Limitations&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/&amp;t=Grails+Domain+Mocking+Limitations" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/&amp;title=Grails+Domain+Mocking+Limitations&amp;summary=So%2C%20I%20just%20threw%20out%20most%20of%20this%20morning%20trying%20to%20figure%20out%20why%20something%20which%20clearly%20should%20work%20was%20blowing%20up%20my%20unit%20test%20on%20a%20grails%20app.%20%20To%20spare%20you%20the%20same%20pain%20I%27m%20documenting%20it%20here.%0D%0A%0D%0AThe%20scenario%20is%20that%20I%20have%20Roles%20and%20Privileges%20as%20domain%20classes.%20%20A%20role%20has%20many%20privileges%2C&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Grails%20Domain%20Mocking%20Limitations%22&amp;body=Link: http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A So%2C%20I%20just%20threw%20out%20most%20of%20this%20morning%20trying%20to%20figure%20out%20why%20something%20which%20clearly%20should%20work%20was%20blowing%20up%20my%20unit%20test%20on%20a%20grails%20app.%20%20To%20spare%20you%20the%20same%20pain%20I%27m%20documenting%20it%20here.%0D%0A%0D%0AThe%20scenario%20is%20that%20I%20have%20Roles%20and%20Privileges%20as%20domain%20classes.%20%20A%20role%20has%20many%20privileges%2C" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/&amp;title=Grails+Domain+Mocking+Limitations&amp;selection=So%2C%20I%20just%20threw%20out%20most%20of%20this%20morning%20trying%20to%20figure%20out%20why%20something%20which%20clearly%20should%20work%20was%20blowing%20up%20my%20unit%20test%20on%20a%20grails%20app.%20%20To%20spare%20you%20the%20same%20pain%20I%27m%20documenting%20it%20here.%0D%0A%0D%0AThe%20scenario%20is%20that%20I%20have%20Roles%20and%20Privileges%20as%20domain%20classes.%20%20A%20role%20has%20many%20privileges%2C" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Grails+Domain+Mocking+Limitations+-+http://b2l.me/ac4762&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=TtgYbXodlKs:Y0cg6VSJpcs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=TtgYbXodlKs:Y0cg6VSJpcs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/07/27/grails-domain-mocking-limitations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My torrid confession…</title>
		<link>http://www.nslms.com/2010/07/20/my-torrid-confession/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/07/20/my-torrid-confession/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 04:54:33 +0000</pubDate>
		<dc:creator>MarlenaG</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=565</guid>
		<description><![CDATA[I LOVE the Gilmore Girls. I love the cheesy storyline, I love the silly romances, the silly friendships. I love all the dysfunctional relationships that somehow come to a nearly peaceful resting place within an hour. I loved the relation ship between Lorlei and Rori. I felt a kinship with their relationship as it was [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F07%2F20%2Fmy-torrid-confession%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F07%2F20%2Fmy-torrid-confession%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I LOVE the Gilmore Girls.  I love the cheesy storyline, I love the silly romances, the silly friendships.  I love all the dysfunctional relationships that somehow come to a nearly peaceful resting place within an hour.  I loved the relation ship between Lorlei and Rori.  I felt a kinship with their relationship as it was reminiscent of the relationship between my mother, my sister, and I.  We have comical relationships, we play off each other and crack each other up daily, though we had more of a George Lopez, Chris Rock playful antics than what they had.   </p>
<p>I looked forward to watching it Monday-Friday on a network I rarely admit watching.  </p>
<p>I have even developed a soft spot in my heart for Scott Patterson (actor that plays Luke).  In some ways that character has an air that is reminiscent of my husband, protective and hardworking and sweet.  I even think he is cute, almost as cute as my husband.  I totally blame my husband being one of those spectacular men that I compare all to and that is why I have a crush on him. <img src='http://www.nslms.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>On many of my days suffering from my extreme morning sickness when pregnant with my second son, I would lay on the couch watching the Gilmore Girls twice a day.  I would squeal when it would start and happily watch it or if I was too ill that day (i.e. running to the bathroom to kneel before the porcelain throne too often) I would record the shows to watch later.  I have even been known to set up the DVR to record both episodes being shown that day even though I knew that the morning episode was a rerun played the evening before.  I feel shame, I told you it was a torrid confession.  </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/07/20/my-torrid-confession/&amp;n=My+torrid+confession...&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/07/20/my-torrid-confession/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/07/20/my-torrid-confession/&amp;t=My+torrid+confession..." rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/07/20/my-torrid-confession/&amp;title=My+torrid+confession...&amp;summary=I%20LOVE%20the%20Gilmore%20Girls.%20%20I%20love%20the%20cheesy%20storyline%2C%20I%20love%20the%20silly%20romances%2C%20the%20silly%20friendships.%20%20I%20love%20all%20the%20dysfunctional%20relationships%20that%20somehow%20come%20to%20a%20nearly%20peaceful%20resting%20place%20within%20an%20hour.%20%20I%20loved%20the%20relation%20ship%20between%20Lorlei%20and%20Rori.%20%20I%20felt%20a%20kinship%20with%20their%20&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22My%20torrid%20confession...%22&amp;body=Link: http://www.nslms.com/2010/07/20/my-torrid-confession/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20LOVE%20the%20Gilmore%20Girls.%20%20I%20love%20the%20cheesy%20storyline%2C%20I%20love%20the%20silly%20romances%2C%20the%20silly%20friendships.%20%20I%20love%20all%20the%20dysfunctional%20relationships%20that%20somehow%20come%20to%20a%20nearly%20peaceful%20resting%20place%20within%20an%20hour.%20%20I%20loved%20the%20relation%20ship%20between%20Lorlei%20and%20Rori.%20%20I%20felt%20a%20kinship%20with%20their%20" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/07/20/my-torrid-confession/&amp;title=My+torrid+confession...&amp;selection=I%20LOVE%20the%20Gilmore%20Girls.%20%20I%20love%20the%20cheesy%20storyline%2C%20I%20love%20the%20silly%20romances%2C%20the%20silly%20friendships.%20%20I%20love%20all%20the%20dysfunctional%20relationships%20that%20somehow%20come%20to%20a%20nearly%20peaceful%20resting%20place%20within%20an%20hour.%20%20I%20loved%20the%20relation%20ship%20between%20Lorlei%20and%20Rori.%20%20I%20felt%20a%20kinship%20with%20their%20" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=My+torrid+confession...+-+File: /data/app/webapp/functions.php<br />Line: 43<br />Message: Table 'b2l_shrinker.phurl_urls' doesn't exist&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=oHkrIEWiOJc:i3TVrEbfpl0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=oHkrIEWiOJc:i3TVrEbfpl0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/07/20/my-torrid-confession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Renewed passion</title>
		<link>http://www.nslms.com/2010/07/18/renewed-passion/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/07/18/renewed-passion/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 05:25:05 +0000</pubDate>
		<dc:creator>MarlenaG</dc:creator>
				<category><![CDATA[Personal Expressions]]></category>
		<category><![CDATA[cooking chef food foodie passion]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=542</guid>
		<description><![CDATA[I attempted a day of rest yesterday as it was one of my last days when my husband was easily available while I recovered from my c-section. I ended up watching a lot of the new food channel (Anyone else feel like this is a more cooking focused fine living network? Anyone?) and found my [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F07%2F18%2Frenewed-passion%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F07%2F18%2Frenewed-passion%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I attempted a day of rest yesterday as it was one of my last days when my husband was easily available while I recovered from my c-section.  I ended up watching a lot of the new food channel (Anyone else feel like this is a more cooking focused fine living network?  Anyone?) and found my self getting a bit excited at the thought of getting back in the kitchen.  </p>
<p>Don&#8217;t get me wrong, I do cook but everything has become routine and needs to be easily taken over by my husband as one or both boys may suddenly need something only their mom can provide.  My husband can hold his own in the kitchen but I can&#8217;t expect him to get where I was going with two or three pots on the stove and read my mind as to what my goal was.  I like recipes but love to get inspired, use basic technique I have learned years ago and run with it.  </p>
<p>I found myself considering staying home full time with my boys and making bread.  Yep, I&#8217;m thinking about getting a sourdough starter again and making bread regularly.  I watched Giada make a rather small pan of focosia and wondered why she didn&#8217;t poke her fingers through the dough and then pour her olive oil all over and debated if I liked the idea of adding grapes as a topping.  Then I remembered the challenge of braiding challah and how yummy it was for french toast for breakfast.  I had flash backs of making danish dough and how much work was involved and wondered if that is even possible with two boys in tow.  I mean having a homemade danish is delightful and you can make some of the flakiest decadent cinnamon rolls ever with it.  Can you tell I was never an advocate of the Atkin&#8217;s diet?  </p>
<p>I suddenly remember my Asian food obsession, how I was attempting to make an array of foods from different countries.  Thankfully my husband told me everything was yummy and would clean his plate.  I wonder if I can attempt to add sushi to my menu.  Oh and I have to try to make Pho again, collect my beef bones and make my own stocks from scratch again.  </p>
<p>I&#8217;m definitely feeling renewed in my passion, my choice of career so many years ago, mama is feeling inspired to get cooking again.  We shall see if I&#8217;m successful.  I&#8217;m sure you will hear from both myself and the husband about said attempts&#8230;I guarantee you will have a couple laughs. </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/07/18/renewed-passion/&amp;n=Renewed+passion&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/07/18/renewed-passion/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/07/18/renewed-passion/&amp;t=Renewed+passion" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/07/18/renewed-passion/&amp;title=Renewed+passion&amp;summary=I%20attempted%20a%20day%20of%20rest%20yesterday%20as%20it%20was%20one%20of%20my%20last%20days%20when%20my%20husband%20was%20easily%20available%20while%20I%20recovered%20from%20my%20c-section.%20%20I%20ended%20up%20watching%20a%20lot%20of%20the%20new%20food%20channel%20%28Anyone%20else%20feel%20like%20this%20is%20a%20more%20cooking%20focused%20fine%20living%20network%3F%20%20Anyone%3F%29%20and%20found%20my%20self%20gettin&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Renewed%20passion%22&amp;body=Link: http://www.nslms.com/2010/07/18/renewed-passion/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20attempted%20a%20day%20of%20rest%20yesterday%20as%20it%20was%20one%20of%20my%20last%20days%20when%20my%20husband%20was%20easily%20available%20while%20I%20recovered%20from%20my%20c-section.%20%20I%20ended%20up%20watching%20a%20lot%20of%20the%20new%20food%20channel%20%28Anyone%20else%20feel%20like%20this%20is%20a%20more%20cooking%20focused%20fine%20living%20network%3F%20%20Anyone%3F%29%20and%20found%20my%20self%20gettin" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/07/18/renewed-passion/&amp;title=Renewed+passion&amp;selection=I%20attempted%20a%20day%20of%20rest%20yesterday%20as%20it%20was%20one%20of%20my%20last%20days%20when%20my%20husband%20was%20easily%20available%20while%20I%20recovered%20from%20my%20c-section.%20%20I%20ended%20up%20watching%20a%20lot%20of%20the%20new%20food%20channel%20%28Anyone%20else%20feel%20like%20this%20is%20a%20more%20cooking%20focused%20fine%20living%20network%3F%20%20Anyone%3F%29%20and%20found%20my%20self%20gettin" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Renewed+passion+-+File: /data/app/webapp/functions.php<br />Line: 43<br />Message: Incorrect key file for table './b2l_shrinker/phurl_urls.MYI'; try to repair it&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=DYn2c2BqY7M:J_zwdxtoRnU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=DYn2c2BqY7M:J_zwdxtoRnU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/07/18/renewed-passion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first five days…</title>
		<link>http://www.nslms.com/2010/06/22/my-first-five-days/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/06/22/my-first-five-days/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 18:03:18 +0000</pubDate>
		<dc:creator>MarlenaG</dc:creator>
				<category><![CDATA[Parenting]]></category>
		<category><![CDATA[Personal Expressions]]></category>
		<category><![CDATA[big brother]]></category>
		<category><![CDATA[birth story]]></category>
		<category><![CDATA[infant]]></category>
		<category><![CDATA[new baby]]></category>
		<category><![CDATA[toddler]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=536</guid>
		<description><![CDATA[My first five days home with both my boys and my husband were a bit of a whirl wind. Slowly my mom has shortened her visits here to help, trying to give our newly extended family more space. When writing these posts I heard Captain Kirk from the original Star Trek with beeps and all. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F06%2F22%2Fmy-first-five-days%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F06%2F22%2Fmy-first-five-days%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>My first five days home with both my boys and my husband were a bit of a whirl wind.  Slowly my mom has shortened her visits here to help, trying to give our newly extended family more space.  When writing these posts I heard Captain Kirk from the original Star Trek with beeps and all.  I feel as if I have entered a strange and exciting new world.  Each day offering new ideas and new lessons of an alien land.<br />
<span id="more-536"></span></p>
<p>I have learned that waking up early and staying up has it&#8217;s benefits but by noon I am giggly and by 3pm I&#8217;m starting to sound like my cranky toddler that is demanding his own quiet time without company.  I have also learned that it may be time to give in to naps late in the evening so that I have a fighting chance to have a conversation with my husband without falling asleep mid-sentence. </p>
<p>I&#8217;m left further amazed with any mother I know that has done this and survived beautifully.  I&#8217;m slowly learning that the house doesn&#8217;t have to be spotless, playing with my toddler and holding my newborn are much more important than a company ready home.  My boys needs will change daily, what worked perfectly yesterday may not work perfectly today and that is ok.  I have said for quite some time that my life will never be boring again since I had my first child, and my second child has added a new dimension to life that I can&#8217;t imagine my life without.  </p>
<p>I heard time and time again that your heart grows when you have your second child.  I had no idea how instant this occurred, and it was instant.  I adored my second son from his first cry and continued to love him by the minute.</p>
<p>I survived my first five days of being home and a mother of two, with lots of help, and I&#8217;m hoping to continue to grow and learn with each following day.  I admit that the sleep depirvation caused giggles, the hormonal fluctuations caused a few tears over the silliest moments, but all is worth every second I can enjoy this incredible blessing that is parenthood. </p>
<h3>Day Two</h3>
<p>Waking up at home is amazing, not having my blood pressure checked, my temperature checked was a nice change.  My newborn seems to not be phased with the change of location.  My toddler is excited to see his baby brother in the morning.  I am thrilled to be allowed to move to another room and get comfy and lounge.  I love to be home.</p>
<p>My husband is sick, and I&#8217;m starting to worry about him.  He is tired, lethargic, and just feeling all around icky.  My mom is here and thankfully helping me with my toddler and house duties as we both watch the hubs attempt to do all he can in his current state.  He ended up napping much of the day away.  Poor guy.</p>
<p>I&#8217;m doing ok, slowly recovering, still leaps and bounds better than last time.  Breastfeeding has been going well, T is a pro at this point.  The sleep deprivation has been interesting to say the least but due to the great support I have so far I have been able to sneak a nap in here and there.  My eldest son has been a crack up with his epiphanies about his little brother.  Today was good.</p>
<h3>Day Three</h3>
<p>Today was a day that started with a jump and jolt.  My husband got really sick and now it is mission keep husband hydrated and fed.  I&#8217;m bummed as this means I have to keep myself and my boys far away from him for fear that he may be contagious.  Yeah, not an easy feat when you are still recovering from a c/s and have a toddler that wants nothing more but than to be close to his papa.</p>
<p>Today was T&#8217;s first pediatrician appointment, thankfully my mom was able to take us to the office and wrangle my toddler.  Sadly due my husband&#8217;s symptoms he had to miss this appointment, he wasn&#8217;t too happy about missing his son&#8217;s first appointment.  The great news is T is back to his birth weight and the doctor said he was doing well.  We made a follow up appointment and we are hoping the hubs will be able to join us.  Q was thrilled to be out of the house and have company in the back seat.  </p>
<p>I pulled out the Baby Bjorn carrier today and all Q wanted was for me to take it off and let him hold &#8216;his baby&#8217;.  T, the newborn, was ok with the Bjorn.  Today was long as the hubs was asleep for much of the day trying to recover, I missed him like crazy.  My mom was my super hero leaping tall buildings and flying in to save the day for all four of us, I&#8217;m not sure what would have happened without my mom helping us out.  </p>
<p>I&#8217;ve never been so happy to see my eldest son&#8217;s bed time till this evening because I knew once he was in bed I could cuddle the tiny baby to sleep and start my longer cat naps of the day.  Usually I am not too excited to see his bedtime as I love every minute I get to play with him.  Exhaustion makes you look at things differently.  I still miss the hubs, a lot.  I hope he feels better asap.</p>
<h3>Day Four</h3>
<p>I slept in, kinda.  I woke up at 5:30am in pain, the incision is healing well but I have to stay on top of my Ibuprofen intake or else suffer.  The sad part of my morning?  I had to wake my husband to be able to get said Ibuprofen, my poor sick husband.  The baby and I were off to the living room after it kicked in to have new surroundings and so I had a fighting chance to jump into the shower after the new born was fed, burped and changed.  I hopped, well as much as I can hop, into the shower and felt refreshed.  </p>
<p>Today is the day I discovered the amazing invention known as the bouncy seat.  Who knew that a bent piece of metal that allowed a soft cushioned seat to bounce and vibrate and play music would allow a mother to put down a drowsy, slightly cranky newborn for a few minutes would make the world a better place?  I sure as hell didn&#8217;t.  I am in awe of the person that created this thing and even my toddler knows the baby in the bouncy seat is a good thing for all involved.  I was able to put my beautiful baby boy down and tend to the toddler&#8217;s needs to the best of my slowed ability and even got to pee without hearing screams from either child.  A-MA-ZING!!!</p>
<p>I was excited every time my husband made an appearance outside of the bedroom, it is starting to look like he is doing better.  My mom came over in the morning and helped me around the house with both children and making sure the husband was eating and doing better.  Knowing that he was improving I even got some girl chat in.  I&#8217;m learning that if I want a fighting chance to nap this is the only way it is going to happen is if I bathe and then crash afterward once I confirm all is well in the house and all are sleeping.  </p>
<p>I&#8217;m learning, slowly, and at this rate I may have a fighting chance of figuring things out before I become delirious with exhaustion.  My husband is doing much better now, we got to enjoy a lot of his company minus one nap today.  The bad part is my early wake up means limited amount of time with the husband, he is definitely the night owl of our household.  It worked nicely for us when we had our first son as he took the late night shift with him while I took the early morning shift.  Now that there are two, we seem to have fallen back into our old schedule which works but we are going to have to figure out how to make the time for quality time for the two of us together.  I know that we are only six days out with a newborn and toddler so we have time to figure things out, I&#8217;m just starting my planing now.</p>
<h3>Day Five</h3>
<p>I slept in even later than yesterday, 6:30am, Hooray!!  My toddler announced that it was time to get up and was excited to see his mom and baby up with him.  He even made up a cheer for the light outside and us being up.  Sadly this meant that I didn&#8217;t get my early morning nap, and that I was trying to figure out how on earth I was going to feed my newborn, myself and be prepared to jump up to feed my toddler when he deemed it time.  It didn&#8217;t work out all that well.  It took me two and a half hours to eat a simple yogurt breakfast as my toddler discovered many different things for me to stop eating to investigate.  I didn&#8217;t get my early morning shower in.  Then when the newborn needed to be fed my toddler appeared once I got settled and nursing my newborn to demand breakfast.  </p>
<p>Thankfully the husband came in and rescued me and fed our toddler and made sure any other possible needs that could come up in the next twenty minutes were cared for.  He then returned to bed.  Only to be asked an hour and a half later to watch the boys so I could bathe, he really is a good guy.  My mom didn&#8217;t come over till much later and we hung out with the boys and chatted.  She left relatively early, compared to the first few days, we survived and enjoyed our time with our boys.  We even found time to talk and cuddle after our toddler went to bed.  Today was a lovely day.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/06/22/my-first-five-days/&amp;n=My+first+five+days...&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/06/22/my-first-five-days/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/06/22/my-first-five-days/&amp;t=My+first+five+days..." rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/06/22/my-first-five-days/&amp;title=My+first+five+days...&amp;summary=My%20first%20five%20days%20home%20with%20both%20my%20boys%20and%20my%20husband%20were%20a%20bit%20of%20a%20whirl%20wind.%20%20Slowly%20my%20mom%20has%20shortened%20her%20visits%20here%20to%20help%2C%20trying%20to%20give%20our%20newly%20extended%20family%20more%20space.%20%20When%20writing%20these%20posts%20I%20heard%20Captain%20Kirk%20from%20the%20original%20Star%20Trek%20with%20beeps%20and%20all.%20%20I%20feel%20as%20if&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22My%20first%20five%20days...%22&amp;body=Link: http://www.nslms.com/2010/06/22/my-first-five-days/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A My%20first%20five%20days%20home%20with%20both%20my%20boys%20and%20my%20husband%20were%20a%20bit%20of%20a%20whirl%20wind.%20%20Slowly%20my%20mom%20has%20shortened%20her%20visits%20here%20to%20help%2C%20trying%20to%20give%20our%20newly%20extended%20family%20more%20space.%20%20When%20writing%20these%20posts%20I%20heard%20Captain%20Kirk%20from%20the%20original%20Star%20Trek%20with%20beeps%20and%20all.%20%20I%20feel%20as%20if" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/06/22/my-first-five-days/&amp;title=My+first+five+days...&amp;selection=My%20first%20five%20days%20home%20with%20both%20my%20boys%20and%20my%20husband%20were%20a%20bit%20of%20a%20whirl%20wind.%20%20Slowly%20my%20mom%20has%20shortened%20her%20visits%20here%20to%20help%2C%20trying%20to%20give%20our%20newly%20extended%20family%20more%20space.%20%20When%20writing%20these%20posts%20I%20heard%20Captain%20Kirk%20from%20the%20original%20Star%20Trek%20with%20beeps%20and%20all.%20%20I%20feel%20as%20if" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=My+first+five+days...+-+http://b2l.me/5thgd&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=Wce5BHVqV6E:o0yy_fMneVo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=Wce5BHVqV6E:o0yy_fMneVo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/06/22/my-first-five-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Men and Women are different</title>
		<link>http://www.nslms.com/2010/06/20/men-and-women-are-different/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/06/20/men-and-women-are-different/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 18:39:43 +0000</pubDate>
		<dc:creator>MarlenaG</dc:creator>
				<category><![CDATA[Parenting]]></category>
		<category><![CDATA[Personal Expressions]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=522</guid>
		<description><![CDATA[Yes, I know the obvious differences, body parts, hair growth, DNA. My husband and I are different, he is a good foot taller than me, has straight hair, is fair and has dreamy blue green eyes. I&#8217;m short, olive, with dark brown eyes, you get the point. I have been reminded time and time again [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F06%2F20%2Fmen-and-women-are-different%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F06%2F20%2Fmen-and-women-are-different%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Yes, I know the obvious differences, body parts, hair growth, DNA.  My husband and I are different, he is a good foot taller than me, has straight hair, is fair and has dreamy blue green eyes.  I&#8217;m short, olive, with dark brown eyes, you get the point. I have been reminded time and time again how different my husband and I are.  We are a happy fit, we have a good rhythm and work nicely together.  </p>
<p>I have had the joy of working with him in some large catering events and at home in the kitchen.  We have had some small kitchens during our marriage and yet seem to be able to work together well, it has become a lovely graceful dance.  Often he and I do a dance when it comes to taking care of our toddler and taking care of our home and each other.  That being said, we are still so different.</p>
<p>We are both type A personalities, in our own special ways.  Our son has picked up on it, he likes certain things to be a certain way.  Example:  He has to have his train put away with the wheels all pointing in the same direction in their cubbies.  He can handle some messes but food spills drive him nutty.  </p>
<p>Back to my husband and I, we are different in how we do chores.  Both of us have had to learn neither of us are doing anything wrong, we just do things differently to work towards the same end result.  Example:  I cook a meal and love for the dishwasher to be loaded by the time I am plating a meal.  Oil, seasonings and food is put away.  I wipe down counters as I go and if possible have the dishwasher running by the time we sit down to eat.  </p>
<p>My husband, on the other hand, will make a lovely meal and have most of the dishes piled up in the sink, food put away and have a few seasonings and oil out.  Pans cooling on the range.  He is much more concerned in getting the family at the table and enjoying our meal than making sure the kitchen is clean before sitting down.  He will clean the kitchen later and I know that.  There is nothing wrong with this, but it still makes me a bit twitchy. </p>
<p>We do laundry differently.  I do small chores or have small projects going that are easily stopped and started.  I am constantly keeping an eye on where the loads are at in their cycle and as soon as the dryer dings I have the load out and the load from the washer in and I&#8217;m folding the laundry.  As soon as the laundry is folded I put it away.  I hate having laundry hanging out in out small laundry room or folded in a basket in our room.  </p>
<p>My husband on the other hand is busy multitasking.  He usually needs to finish his thought or where ever he is in his process, then he checks on the laundry.  He has no problem leaving a basket of folded clothes at the foot of our bed for a few hours, sometimes even overnight.  This isn&#8217;t a crime yet again, I&#8217;m usually left twitchy and he just looks at me like I have lost a bit of my mind.  He doesn&#8217;t get it.  </p>
<p>I don&#8217;t get why he has to watch a movie from beginning to end even if he isn&#8217;t enjoying it.  Why his keys have to be on the key hook before he takes off his shoes when he gets home.  We both have our quirks.</p>
<p>We approach diaper changes differently, we dress our toddler differently (ironically my husband is pickier than I am about what our son wears), we play with our son differently.  This doesn&#8217;t bother me.  I know my husband adores our children and he is only doing what is in our son&#8217;s best interest, I also know that my husband&#8217;s part in our sons lives is HUGE.  He also doesn&#8217;t seem to mind how I do these things either, he likes that we have a different approach to these mundane things.  It makes life interesting.</p>
<p>Men and women are different, and the differences can be fun and amazing or annoying and frustrating.  I am still finding new differences and it blows my mind and gives me a new lesson to learn.  I&#8217;m still having fun discovering our differences. </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/06/20/men-and-women-are-different/&amp;n=Men+and+Women+are+different&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/06/20/men-and-women-are-different/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/06/20/men-and-women-are-different/&amp;t=Men+and+Women+are+different" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/06/20/men-and-women-are-different/&amp;title=Men+and+Women+are+different&amp;summary=Yes%2C%20I%20know%20the%20obvious%20differences%2C%20body%20parts%2C%20hair%20growth%2C%20DNA.%20%20My%20husband%20and%20I%20are%20different%2C%20he%20is%20a%20good%20foot%20taller%20than%20me%2C%20has%20straight%20hair%2C%20is%20fair%20and%20has%20dreamy%20blue%20green%20eyes.%20%20I%27m%20short%2C%20olive%2C%20with%20dark%20brown%20eyes%2C%20you%20get%20the%20point.%20I%20have%20been%20reminded%20time%20and%20time%20again%20how%20di&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Men%20and%20Women%20are%20different%22&amp;body=Link: http://www.nslms.com/2010/06/20/men-and-women-are-different/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Yes%2C%20I%20know%20the%20obvious%20differences%2C%20body%20parts%2C%20hair%20growth%2C%20DNA.%20%20My%20husband%20and%20I%20are%20different%2C%20he%20is%20a%20good%20foot%20taller%20than%20me%2C%20has%20straight%20hair%2C%20is%20fair%20and%20has%20dreamy%20blue%20green%20eyes.%20%20I%27m%20short%2C%20olive%2C%20with%20dark%20brown%20eyes%2C%20you%20get%20the%20point.%20I%20have%20been%20reminded%20time%20and%20time%20again%20how%20di" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/06/20/men-and-women-are-different/&amp;title=Men+and+Women+are+different&amp;selection=Yes%2C%20I%20know%20the%20obvious%20differences%2C%20body%20parts%2C%20hair%20growth%2C%20DNA.%20%20My%20husband%20and%20I%20are%20different%2C%20he%20is%20a%20good%20foot%20taller%20than%20me%2C%20has%20straight%20hair%2C%20is%20fair%20and%20has%20dreamy%20blue%20green%20eyes.%20%20I%27m%20short%2C%20olive%2C%20with%20dark%20brown%20eyes%2C%20you%20get%20the%20point.%20I%20have%20been%20reminded%20time%20and%20time%20again%20how%20di" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Men+and+Women+are+different+-+http://b2l.me/48yr5&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=BiT_d25oWQA:SHlqy99NOYE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=BiT_d25oWQA:SHlqy99NOYE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/06/20/men-and-women-are-different/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sushi, glorious sushi!</title>
		<link>http://www.nslms.com/2010/06/13/sushi-glorious-sushi/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.nslms.com/2010/06/13/sushi-glorious-sushi/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 20:26:19 +0000</pubDate>
		<dc:creator>MarlenaG</dc:creator>
				<category><![CDATA[Parenting]]></category>
		<category><![CDATA[Personal Expressions]]></category>
		<category><![CDATA[cravings]]></category>
		<category><![CDATA[forbidden fruit]]></category>
		<category><![CDATA[pregnancy]]></category>
		<category><![CDATA[sushi]]></category>

		<guid isPermaLink="false">http://www.nslms.com/?p=538</guid>
		<description><![CDATA[There are a few things I miss when pregnant. I miss a ice cold pilsner on a hot day. The full bouquet of an well balanced cabernet savigion. The crisp, acidic flavor of a well chilled savignion blanc. Even the syrupy sweet nearly effervescent flavor of an ice wine. Tequilla, oh how I love it [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F06%2F13%2Fsushi-glorious-sushi%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F06%2F13%2Fsushi-glorious-sushi%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>There are a few things I miss when pregnant.  I miss a ice cold pilsner on a hot day.  The full bouquet of an well balanced cabernet savigion.  The crisp, acidic flavor of a well chilled savignion blanc.  Even the syrupy sweet nearly effervescent flavor of an ice wine.  Tequilla, oh how I love it straight up or mixed in a margarita on the rocks with a salted rim and lots of spicy Mexican food.  I miss these things when I am pregnant but I can easily live without, the hubs is welcome to enjoy without me and in front of me, no big deal.</p>
<p>My husband is welcome to enjoy a bike ride, roller blade (though I don&#8217;t see him doing that, ever), roller skate, ride a roller coaster.  Not a big deal for him to do so in front of me, I enjoy said activities but I can live without.  I know I will get to enjoy soon enough, no big deal.</p>
<p>There  is but one thing my husband isn&#8217;t to enjoy in my presence when I am with child, one thing alone and that is sushi.  I have given him the death look when he even mentions sashimi in my presence.  My mouth begins to water and I end up having those vivid pregnancy hormone induced dreams about a beautifully large serving of Ahi sashimi, salmon, octopus, yellow tale.  I wake up drooling and frustrated and annoyed with the world as I have to resist the craving, the need of having the tender decadent sea flavored raw fish.</p>
<p>Well, part of my recovery and my celebration after having major surgery and having my child no longer in my womb but in my arms I get to enjoy a huge helping of sashimi.  I begin to plan my attack of this plate ode to raw fish a month before my child&#8217;s estimated due date, how I plan to inhale and hopefully recall my first taste of rich, fatty fish.</p>
<p><font style="size: .80em; color: silver;"><i>Editors Note: I would have a beautiful stock image of the actual sashimi she ate, but I dare not stand between her and her fish!</i></font><br />
When I encounter my first sushi experience after having my child it is a frenzied whirl wind of fish, soy sauce, wasabi, and pickled ginger.  I try to admire my beautiful plate with an glorious assortment of colors so vibrant, I try to sip my miso and gaze at my prey to enjoy the pure anticipation of my meal.  Then I attack, trying to enjoy each note of each type of sea food on my plate, comparing and contrasting the texture difference.  Then I hit a euphoric point when all goes silent and silky textures, salty flavors, combined with the sweet flavor of fish.  Then before I know it my little romance is over and I long for more.  But for a while I sit back and smile like the cat ate the canary and recall the glorious first to last bite and consider the next time my passionate, frenzied rendezvous will be with sushi.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring-old">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.nslms.com/2010/06/13/sushi-glorious-sushi/&amp;n=Sushi%2C+glorious+sushi%21&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.nslms.com/2010/06/13/sushi-glorious-sushi/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.nslms.com/2010/06/13/sushi-glorious-sushi/&amp;t=Sushi%2C+glorious+sushi%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.nslms.com/2010/06/13/sushi-glorious-sushi/&amp;title=Sushi%2C+glorious+sushi%21&amp;summary=There%20are%20a%20few%20things%20I%20miss%20when%20pregnant.%20%20I%20miss%20a%20ice%20cold%20pilsner%20on%20a%20hot%20day.%20%20The%20full%20bouquet%20of%20an%20well%20balanced%20cabernet%20savigion.%20%20The%20crisp%2C%20acidic%20flavor%20of%20a%20well%20chilled%20savignion%20blanc.%20%20Even%20the%20syrupy%20sweet%20nearly%20effervescent%20flavor%20of%20an%20ice%20wine.%20%20Tequilla%2C%20oh%20how%20I%20love%20it%20st&amp;source=Random Musings" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Sushi%2C%20glorious%20sushi%21%22&amp;body=Link: http://www.nslms.com/2010/06/13/sushi-glorious-sushi/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A There%20are%20a%20few%20things%20I%20miss%20when%20pregnant.%20%20I%20miss%20a%20ice%20cold%20pilsner%20on%20a%20hot%20day.%20%20The%20full%20bouquet%20of%20an%20well%20balanced%20cabernet%20savigion.%20%20The%20crisp%2C%20acidic%20flavor%20of%20a%20well%20chilled%20savignion%20blanc.%20%20Even%20the%20syrupy%20sweet%20nearly%20effervescent%20flavor%20of%20an%20ice%20wine.%20%20Tequilla%2C%20oh%20how%20I%20love%20it%20st" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://www.nslms.com/2010/06/13/sushi-glorious-sushi/&amp;title=Sushi%2C+glorious+sushi%21&amp;selection=There%20are%20a%20few%20things%20I%20miss%20when%20pregnant.%20%20I%20miss%20a%20ice%20cold%20pilsner%20on%20a%20hot%20day.%20%20The%20full%20bouquet%20of%20an%20well%20balanced%20cabernet%20savigion.%20%20The%20crisp%2C%20acidic%20flavor%20of%20a%20well%20chilled%20savignion%20blanc.%20%20Even%20the%20syrupy%20sweet%20nearly%20effervescent%20flavor%20of%20an%20ice%20wine.%20%20Tequilla%2C%20oh%20how%20I%20love%20it%20st" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Sushi%2C+glorious+sushi%21+-+http://b2l.me/3g35p&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nslms_com?a=tEqlynl8LkM:c0GhXzeWA6Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nslms_com?a=tEqlynl8LkM:c0GhXzeWA6Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/nslms_com?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.nslms.com/2010/06/13/sushi-glorious-sushi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
