<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Elmar on tech &#38; life</title>
	<atom:link href="http://easyel.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://easyel.wordpress.com</link>
	<description>subjective, unfocused, hopefully entertaining</description>
	<lastBuildDate>Fri, 06 Nov 2009 13:38:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='easyel.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b76087e6388aecb378fda8141f40938e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Elmar on tech &#38; life</title>
		<link>http://easyel.wordpress.com</link>
	</image>
			<item>
		<title>Solved &#8211; Mac OSX Image Capture does not recognize iPhone anymore</title>
		<link>http://easyel.wordpress.com/2009/11/06/solved-mac-osx-image-capture-does-not-recognize-iphone-anymore/</link>
		<comments>http://easyel.wordpress.com/2009/11/06/solved-mac-osx-image-capture-does-not-recognize-iphone-anymore/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 13:38:05 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=72</guid>
		<description><![CDATA[This has been wrecking my nerves for weeks. I don´t like the way iPhoto or Picasa manages my Photos so I like to rely on my own way of handling them in a plain file/foldersystem. I have been using Mac OSX´s Image Capture tool for this until recently it simply stopped working.
I am quite sure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=72&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This has been wrecking my nerves for weeks. I don´t like the way iPhoto or Picasa manages my Photos so I like to rely on my own way of handling them in a plain file/foldersystem. I have been using Mac OSX´s Image Capture tool for this until recently it simply stopped working.</p>
<p>I am quite sure it happened after an update of either the iPhone or iTunes. Anyway, I surfed the web for ways to make it work again but nothing really worked. If you are in a similar situation &#8211; here is what made it working for me again (without any warranties).</p>
<ul>
<li>I deleted the Image Capture .plist file in the Library folder (search for &#8220;imagecapture&#8221; and &#8220;.plist&#8221;)</li>
<li>I reseted the PRAM memory which is done by<br />
- rebooting<br />
- pressing CMD+Option Key+P+R before the grey screen appears<br />
- stop pressing key combination after screen goes black</li>
</ul>
<p>After starting up again and firing up Image Capture it first said &#8220;No device found&#8221; for 5 seconds AND then showed up the iPhone under Devices again. Hope it works for you too!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=72&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2009/11/06/solved-mac-osx-image-capture-does-not-recognize-iphone-anymore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>64Bit Discrimation with Ruby &amp; MySQL</title>
		<link>http://easyel.wordpress.com/2009/02/07/64bit-discrimation-with-ruby-mysql/</link>
		<comments>http://easyel.wordpress.com/2009/02/07/64bit-discrimation-with-ruby-mysql/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 20:27:29 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=69</guid>
		<description><![CDATA[In case you are having issues with your Ruby installation and MySQL (libmysql.dll is missing error), here is the solution:
In addtion to your MySQL 64Bit installation, download the 32Bit installation without the installer and copy the libmysql.dll from this download to the ruby/bin folder.
Hope it helps!
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=69&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In case you are having issues with your Ruby installation and MySQL (libmysql.dll is missing error), here is the solution:</p>
<p>In addtion to your MySQL 64Bit installation, download the 32Bit installation without the installer and copy the libmysql.dll from this download to the ruby/bin folder.</p>
<p>Hope it helps!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=69&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2009/02/07/64bit-discrimation-with-ruby-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>Cheap server hickups on yulaframework.com</title>
		<link>http://easyel.wordpress.com/2008/12/30/cheap-server-hickups-on-yulaframeworkcom/</link>
		<comments>http://easyel.wordpress.com/2008/12/30/cheap-server-hickups-on-yulaframeworkcom/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 09:25:59 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[yula]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=64</guid>
		<description><![CDATA[We are currently hosting the yula web-application framework on a low-budget vps. While it costs near to nothing &#8211; the RAM allocation isn´t really a good fit for a Java-Webapp. It´s 256 Mb with 512 Burst *cough*. As a result tomcat was breaking down because the JVM hogs more memory than the machine can allocate.

Unfortunately [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=64&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="title">We are currently hosting the <a href="http://www.yulaframework.com">yula web-application framework</a> on a low-budget vps. While it costs near to nothing &#8211; the RAM allocation isn´t really a good fit for a Java-Webapp. It´s 256 Mb with 512 Burst *cough*. As a result tomcat was breaking down because the JVM hogs more memory than the machine can allocate.</div>
<div class="content">
<p>Unfortunately GoDaddy isn´t able to shift more (virtual) memory to this machine. While we are with setting up our new company <a href="http://www.redtrac.com">redTrac</a>, I was trying to figure out a quick way to increase the stability of the system. That was particular tricky as I have been successfully avoiding Linux for the past years, running happily on .NET and Windows. Well, times change and I like new challenges .</p>
<p><img class="aligncenter size-full wp-image-67" title="im-in-ur-serverz" src="http://easyel.files.wordpress.com/2008/12/im-in-ur-serverz.gif?w=420&#038;h=320" alt="im-in-ur-serverz" width="420" height="320" /></p>
<p>What I did was SSH into the VPS and edit tomcat´s startup.sh by adding 2 lines of code right at the top of it:</p>
<p>JAVA_OPTS=&#8221;-Xms64m -Xmx512m&#8221;<br />
export JAVA_OPTS</p>
<p>We´ll see for how long this will last but at least I can say that it runs more stable than before.</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=64&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/12/30/cheap-server-hickups-on-yulaframeworkcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>

		<media:content url="http://easyel.files.wordpress.com/2008/12/im-in-ur-serverz.gif" medium="image">
			<media:title type="html">im-in-ur-serverz</media:title>
		</media:content>
	</item>
		<item>
		<title>Does &#8220;Request per second&#8221; performance matter for Web apps?</title>
		<link>http://easyel.wordpress.com/2008/12/24/does-request-per-second-performance-matter-for-web-apps/</link>
		<comments>http://easyel.wordpress.com/2008/12/24/does-request-per-second-performance-matter-for-web-apps/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 13:03:43 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Grails]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=61</guid>
		<description><![CDATA[If does matter, can it stand on it´s own? Shouldn´t it be coupled to the underlying software´s development agility (Time-to-Market, Maintainability, Changeability, Beautifullibility  ). My view is that it doesn´t really matter if your framework can do 200 or 400 requests per second (for a given testcase on identical hardware). Usually you´ll find that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=61&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If does matter, can it stand on it´s own? Shouldn´t it be coupled to the underlying software´s development agility (Time-to-Market, Maintainability, Changeability, Beautifullibility <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ). My view is that it doesn´t really matter if your framework can do 200 or 400 requests per second (for a given testcase on identical hardware). Usually you´ll find that the human factor is much more important. If you base your work on a framwork that is easy and consistent to use, you´ll produce more readable and less error prone software.</p>
<p>The second thing that I see is the rise of cloud computing offers. Microsoft is ramping up azure which is really easy to use with ASP.NET/Vs2008. There is Google´s AppEngine (which soon will hopefully support Grails and Groovy) and Value-added-service providers like <a href="http://www.mor.ph/">mor.ph</a> and <a href="http://www.stax.net/">stax</a>. mor-ph and stax deploy and monitor apps on amazon´s widely successful elastic cloud offerings. All of this makes scalability a breeze and puts an even stronger emphazis on agile, developer-friendly frameworks like Groovy and <a href="http://www.grails.org/">Grails</a>&#8230; even if they come at a cost of a lower &#8220;rpc&#8221;.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=61&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/12/24/does-request-per-second-performance-matter-for-web-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>Silverlight Quirks</title>
		<link>http://easyel.wordpress.com/2008/12/12/silverlight-quirks/</link>
		<comments>http://easyel.wordpress.com/2008/12/12/silverlight-quirks/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 10:54:39 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/2008/12/12/silverlight-quirks/</guid>
		<description><![CDATA[I am working on a 3D-asteroid-shooter for my Kids as a christmas present. They all like computer games quite a lot and I hope to impress them with a selfmade game. So far everything is going pretty well but there are some major quirks that can hold you up when going the Silverlight/Blend way.
First of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=58&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am working on a 3D-asteroid-shooter for my Kids as a christmas present. They all like computer games quite a lot and I hope to impress them with a selfmade game. So far everything is going pretty well but there are some major quirks that can hold you up when going the <a href="http://silverlight.net/default.aspx">Silverlight</a>/<a href="http://www.microsoft.com/expression/products/Overview.aspx?key=blend">Blend </a>way.</p>
<p>First of all Blend crashes and leaves you with XAML that it can´t digest. If you are familar with XAML you can always roll back your last action in Code-View and Blend will be cooperative again &#8211; but if you don´t you get a very bad usage experience from it.</p>
<p>Second, Blend attaches attributes to your custom usercontrols-header definition that will mess up your software. It just took me half an hour to learn that a Blend named my userControl which messed instanciation of additional controls of the same type.</p>
<p>Apart from that, it´s a fantastic technology. Check out this <a href="http://www.andybeaulieu.com/silverlight/2.0/camerademo/demo5testpage.html">little physics demo</a> &#8211; awesome.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=58&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/12/12/silverlight-quirks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>Webtest with Canoo</title>
		<link>http://easyel.wordpress.com/2008/12/07/webtest-with-canoo/</link>
		<comments>http://easyel.wordpress.com/2008/12/07/webtest-with-canoo/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 18:32:26 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/2008/12/07/webtest-with-canoo/</guid>
		<description><![CDATA[One thing that kept breaking in my attempt to conquer the GRAILS basics was webtesting. I set up a fairly standard webtest that ran through a pre-recorded set of web-actions. No matter what coding I put into the file it would always throw a null point exception: &#8220;Cannot invoke method toInteger() on null object&#8221;
Console output
&#8230;
Loading [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=52&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One thing that kept breaking in my attempt to conquer the GRAILS basics was webtesting. I set up a fairly standard webtest that ran through a pre-recorded set of web-actions. No matter what coding I put into the file it would always throw a null point exception: &#8220;Cannot invoke method toInteger() on null object&#8221;</p>
<p><strong>Console output</strong><br />
&#8230;<br />
Loading with installed plug-ins: ["webtest", "autobase"] &#8230;<br />
[copy] Copying 1 file to C:\Users\ElmarS\.grails\1.0.4\projects\CollabToDo<br />
Running WebTest &#8230;<br />
Cannot invoke method toInteger() on null object<br />
&#8230;</p>
<p><strong>Solution:</strong><br />
Problem was, that I created the domain testfile manually (i.e. PersonTest.groovy). Webtest files need to be generated with the create-webtest command though &#8211; at least for the first run as it seems . This is because it creates an additional TestSuite.groovy in the same test directory. I would have expected this file creation to be part of the plugin-installation process. But well, it´s not a perfect world, right <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Did you know -&gt;  canoo has a free Plugin for Firefox that let´s you record webtests instead coding the sequences yourself! <a href="http://webtestrecorder.canoo.com/">Check it out &#8211; it can save you hours of work</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=52&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/12/07/webtest-with-canoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>A note on testing controllers</title>
		<link>http://easyel.wordpress.com/2008/12/03/a-note-on-testing-controllers/</link>
		<comments>http://easyel.wordpress.com/2008/12/03/a-note-on-testing-controllers/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 19:09:03 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=50</guid>
		<description><![CDATA[Integration tests will fail with a funny message&#8230;
grails testing Cannot send redirect &#8211; response is already committed
&#8230; if you forget to add a return statement to your controller action after you do a redirect &#8211; like so:

def handleLogin = {
        def person = Person.findByPersonName(params.personName)
     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=50&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Integration tests will fail with a funny message&#8230;</p>
<blockquote><p>grails testing Cannot send redirect &#8211; response is already committed</p></blockquote>
<p>&#8230; if you forget to add a return statement to your controller action after you do a redirect &#8211; like so:</p>
<pre class="brush: java;">
def handleLogin = {
        def person = Person.findByPersonName(params.personName)
        if(!person){
            flash.message = &quot;Person not found for Person-name: ${params.personName}&quot;
            redirect(action: &quot;login&quot;)
            return &lt;------//-----//-----//-----//
        }
        session.person = person
        redirect(controller: 'todo')
}
</pre>
<p>Note: This is a special case as program code that´s embeded into a control block like the above if-statement isn´t returning anything. So you need to be explicit and put in a return statement.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=50&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/12/03/a-note-on-testing-controllers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>GRAILS with PostgreSQL Gotcha</title>
		<link>http://easyel.wordpress.com/2008/12/03/grails-with-postgresql-gotcha/</link>
		<comments>http://easyel.wordpress.com/2008/12/03/grails-with-postgresql-gotcha/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 17:00:11 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=48</guid>
		<description><![CDATA[Everyone is talking about PostgreSQL these days. Especially folks that discover that they are running MySQL illligaly because it´s libs are under the GPL  ).
In case you want to check out GRAILS in conjunction with PostgreSQL (gosh &#8211; what a name) save yourself some time and don´t call your user domain model &#8216;user&#8217; because [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=48&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Everyone is talking about PostgreSQL these days. Especially folks that discover that they are running MySQL illligaly because it´s libs are under the GPL <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ).</p>
<p>In case you want to check out GRAILS in conjunction with PostgreSQL (gosh &#8211; what a name) save yourself some time and don´t call your user domain model &#8216;user&#8217; because it will fail on database deployment.</p>
<blockquote><p>column notation .id applied to type &#8220;name&#8221;, which is not a composite type</p></blockquote>
<p>That is because <strong>User </strong> is a reserved table name for PostgreSQL. So call it Person or what not and it will work just fine.</p>
<p>Here is the complete DataSource file to get you up and running quickly:</p>
<pre class="brush: java;">
dataSource {
pooled = false
url = &quot;jdbc:postgresql://localhost:5432/dbDev&quot;
driverClassName = &quot;org.postgresql.Driver&quot;
dialect = org.hibernate.dialect.PostgreSQLDialect
username = &quot;user&quot;
password = &quot;passwordd&quot;
}
hibernate {
cache.use_second_level_cache=true
cache.use_query_cache=true
cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
}
// environment specific settings
environments {
development {
dataSource {
dbCreate = &quot;create-drop&quot; // one of 'create', 'create-drop','update'
url = &quot;jdbc:postgresql://localhost:5432/dbDev&quot;
}
}
test {
dataSource {
dbCreate = &quot;update&quot;
url = &quot;jdbc:postgresql://localhost:5432/dbTest&quot;
}
}
production {
dataSource {
dbCreate = &quot;update&quot;
url = &quot;jdbc:postgresql://localhost:5432/dbProd&quot;
}
}
}
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=48&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/12/03/grails-with-postgresql-gotcha/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>GRAILS Form post</title>
		<link>http://easyel.wordpress.com/2008/12/03/grails-form-post/</link>
		<comments>http://easyel.wordpress.com/2008/12/03/grails-form-post/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 14:35:39 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Grails]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=43</guid>
		<description><![CDATA[I am currently digging into Groovy and Grails and &#8220;Beginning Groovy and Grails&#8221; is a nice Book to get started. In this post I will add my findings while working with the proposed demo app.
Note, although the source code is available for download, I think that you learn more from actually writing code.
First quirk in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=43&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am currently digging into Groovy and Grails and &#8220;Beginning Groovy and Grails&#8221; is a nice Book to get started. In this post I will add my findings while working with the proposed demo app.</p>
<p>Note, although the source code is available for download, I think that you learn more from actually writing code.</p>
<p>First quirk in the book is the actual form building process in Chapter 5 &#8211; Handeling the Login and Logout Action. Here is a snippet of the code that doesn´t actually work:</p>
<pre class="brush: xml;">
        &lt;form&gt;
            &lt;span class=&quot;nameClear&quot;&gt;
                &lt;label for=&quot;login&quot;&gt;
                    Sign In:
                &lt;/label&gt;
            &lt;/span&gt;
            &lt;g:select name=&quot;userName&quot; from=&quot;${User.list()}&quot; optionKey=&quot;userName&quot; optionValue=&quot;userName&quot;&gt;&lt;/g:select&gt;
&lt;div class=&quot;buttons&quot;&gt;
                &lt;span class=&quot;button&quot;&gt;
                    &lt;g:actionSubmit value=&quot;Login&quot; /&gt;
                &lt;/span&gt;&lt;/div&gt;
&lt;/form&gt;
</pre>
<p>In order for GRAILS to accept the form post you need to tweak the code in of two ways. Either by adding the action into the actionSubmit tag like so:</p>
<pre class="brush: xml;">
       &lt;g:actionSubmit value=&quot;Login&quot; action=&quot;handleLogin&quot;/&gt;
</pre>
<p>or use a normal submit button (or leave the actioSubmit Button in place) and swap the form tag for a g:form and put the action in there:</p>
<pre class="brush: xml;">
       &lt;g:form action=&quot;handleLogin&quot;&gt;
</pre>
<p>Full source code:</p>
<pre class="brush: xml;">
       &lt;g:form action=&quot;handleLogin&quot; method=&quot;post&quot; &gt;
            &lt;span class=&quot;nameClear&quot;&gt;
                &lt;label for=&quot;login&quot;&gt;
                    Sign In:
                &lt;/label&gt;
            &lt;/span&gt;
            &lt;g:select name=&quot;userName&quot; from=&quot;${User.list()}&quot; optionKey=&quot;userName&quot; optionValue=&quot;userName&quot;&gt;&lt;/g:select&gt;
&lt;div class=&quot;buttons&quot;&gt;
                &lt;span class=&quot;button&quot;&gt;
                    &lt;g:actionSubmit value=&quot;Login&quot; /&gt;
                &lt;/span&gt;&lt;/div&gt;
&lt;/g:form&gt;
</pre>
<p>Haven´t checked wether it is possible to do something like:</p>
<pre class="brush: xml;">
        &lt;form&gt;
            &lt;span class=&quot;nameClear&quot;&gt;
                &lt;label for=&quot;login&quot;&gt;
                    Sign In:
                &lt;/label&gt;
            &lt;/span&gt;
            &lt;g:select name=&quot;userName&quot; from=&quot;${User.list()}&quot; optionKey=&quot;userName&quot; optionValue=&quot;userName&quot;&gt;&lt;/g:select&gt;
&lt;div class=&quot;buttons&quot;&gt;
                &lt;span class=&quot;button&quot;&gt;
                    &lt;g:actionSubmit value=&quot;Login&quot; action=&quot;handleLogin&quot; /&gt;
                    &lt;g:actionSubmit value=&quot;DoSomethingElse&quot; action=&quot;otherMethod&quot; /&gt;
                &lt;/span&gt;&lt;/div&gt;
&lt;/form&gt;
</pre>
<p>This would make it very easy to post data to different controller methods. Right now, can´t think of a practical use case but it´s nifty anyway.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=43&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/12/03/grails-form-post/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>
	</item>
		<item>
		<title>Financial Crisis: No one did see it coming &#8230; except &#8230;</title>
		<link>http://easyel.wordpress.com/2008/10/14/financial-crisis-no-one-did-see-it-coming-except/</link>
		<comments>http://easyel.wordpress.com/2008/10/14/financial-crisis-no-one-did-see-it-coming-except/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 14:11:27 +0000</pubDate>
		<dc:creator>easyel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Finances]]></category>
		<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://easyel.wordpress.com/?p=39</guid>
		<description><![CDATA[Sir John Templeton &#8211; one of the greatest investment specialists of all times. I just read an interview with him that dates back more or less three years:
During the past few years, Sir John has been very concerned about the lack      of quality investments available in the market, and he [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=39&subd=easyel&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="wp-caption aligncenter" style="width: 146px"><img title="Sir John Templeton" src="http://www.templeton.org/i/inmemoriam-sirjohntempleton.jpg" alt="Sir John Templeton" width="136" height="166" /><p class="wp-caption-text">Sir John Templeton</p></div>
<p>Sir John Templeton &#8211; one of the greatest investment specialists of all times. I just read an interview with him that dates back more or less three years:</p>
<blockquote><p>During the past few years, Sir John has been very concerned about the lack      of quality investments available in the market, and he has repeatedly warned      of the possibility of a major collapse in housing prices &#8211; and even a      &#8217;30s-style run on the stock markets</p></blockquote>
<p>Hmm, does that sound familiar to you? Definetly not as wishy-washy as Nostradamus predicitions. He probably would have muttered something bizarre like: &#8220;The reign of the king which sits on many empty shells that are made of stone will fall. The bear and the bull will fight.&#8221;. Sir John is spot-on though about what we are going through today. Respect.</p>
<p>But well, in the very same interview there also some advices that you better did not follow. Let me state once again:</p>
<blockquote><p><strong>Bargain Stock Pick: KIA Is a Future GM</strong></p>
<p>You always find some bargains, but just less than usual.</p>
<p>The last one I bought for myself is a company called Kia Motors. I bought      one of their automobiles and it gives me better value than any other car I      have ever owned.</p>
<p>They are now growing better than any other major automobile company,      selling a great majority of cars outside South Korea in America and Europe      and so forth, but they manufacture them in India, China and South Korea.</p>
<p>And yet I bought that stock recently at less than five times earnings. I      think there&#8217;s a chance &#8211; maybe not a probability, but a chance &#8211; that KIA      Motors will be larger than General Motors 30 years from now.</p></blockquote>
<p>Well, I think <a href="http://finance.google.com/finance?q=SEO:000270">that one</a> did not turn out as a real bargain just yet *cough*.</p>
<p>Sir John Templeton has been a remarkable person. I encourage you to read more about him. At the least, you might just get a secret hint about your next investment <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/easyel.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/easyel.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/easyel.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/easyel.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/easyel.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/easyel.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/easyel.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/easyel.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/easyel.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/easyel.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=easyel.wordpress.com&blog=3617406&post=39&subd=easyel&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://easyel.wordpress.com/2008/10/14/financial-crisis-no-one-did-see-it-coming-except/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c31c2d48e32c7965b5e148fee18bdf29?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">easyel</media:title>
		</media:content>

		<media:content url="http://www.templeton.org/i/inmemoriam-sirjohntempleton.jpg" medium="image">
			<media:title type="html">Sir John Templeton</media:title>
		</media:content>
	</item>
	</channel>
</rss>