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

<channel>
	<title>What is coming to myhead</title>
	<atom:link href="http://whatiscomingtomyhead.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://whatiscomingtomyhead.wordpress.com</link>
	<description>In this blog I will write about all the things which are coming to my head. All the things? Okay, not really, only things that are related to software development (mainly Java, Spring, Maven, etc.) But we will see...</description>
	<lastBuildDate>Sat, 28 Jan 2012 14:44:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='whatiscomingtomyhead.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>What is coming to myhead</title>
		<link>http://whatiscomingtomyhead.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://whatiscomingtomyhead.wordpress.com/osd.xml" title="What is coming to myhead" />
	<atom:link rel='hub' href='http://whatiscomingtomyhead.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Getting started with Play 2.0, Heroku and Scala</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2012/01/28/getting-started-with-play-2-0-heroku-and-scala/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2012/01/28/getting-started-with-play-2-0-heroku-and-scala/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 13:42:05 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Scala]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[Play]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=242</guid>
		<description><![CDATA[This is another tutorial of the category &#8216;quick start for absolute beginners&#8217;. This time the topic is on Play 2.0, Heroku and Scala. A really nice overview of all three topics can be found in this presentation on slideshare (simply &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2012/01/28/getting-started-with-play-2-0-heroku-and-scala/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=242&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is another tutorial of the category &#8216;quick start for absolute beginners&#8217;. This time the topic is on <a title="Play 2.0 Homepage" href="http://www.playframework.org/2.0">Play 2.0</a>, <a title="Heroku - Cloud Application Platform" href="http://www.heroku.com/">Heroku</a> and <a title="The Scala Programming Language" href="http://www.scala-lang.org/">Scala</a>.</p>
<p>A really nice overview of all three topics can be found in <a href="http://www.slideshare.net/havocp/scala-akka-and-play-an-introduction-on-heroku">this presentation</a> on slideshare (simply skip the Akka part).</p>
<h1>Play 2.0</h1>
<p>Play 2.0 is still in beta status and according to the official homepage, APIs are likely to change a bit in the future. Nevertheless, I guess it is time to have a quick look into the new features of the framework and create a simple application.</p>
<h2>Installing Play</h2>
<p>As we would like to access all latest features, we are going to build Play from the source code ourselves. Therefore, you need to retrieve the sources from <a href="https://github.com/playframework/Play20">GitHub</a>. If you haven&#8217;t installed git yet, <a href="http://book.git-scm.com/2_installing_git.html">do so now</a>. Next, clone the play repository by calling <em><strong>git clone git://github.com/playframework/Play20.git</strong></em></p>
<p>Once you have the source code on your local machine, switch to the <strong><em>../play20/framework</em></strong> folder and type <strong><em>build</em></strong>. This will start up an embedded <a href="https://github.com/harrah/xsbt/wiki">sbt</a> shell, in which you have to execute the <em><strong>build-repository</strong></em> command. (Make sure that you have a solid internet connection, as this step will require to download some megabytes of data. I tried it in the train, which was very frustrating&#8230;)</p>
<p>To complete the installation, you need to add the <em><strong>../play20/</strong></em> folder to your systems <em><strong>PATH</strong></em> environment variable.</p>
<p><em>More detailed instructions on how to install Play 2.0 (either from source, or from pre-compiled binary packages) can be found in the <a href="https://github.com/playframework/Play20/wiki/Installing">Play 2.0 wiki</a>.</em></p>
<h2>Creating a Simple Application</h2>
<p>Once Play 2.0 is setup on your machine, you can <a href="https://github.com/playframework/Play20/wiki/NewApplication">create a simple application</a>by typing <em><strong>play new myFirstApp</strong></em>. Provide the name of your application and as we would like to use Scala as our main development language, select the according entry. And that is it! You have just created your first Play application.</p>
<p>Play 2.0 comes with a nifty little console, which supports many development task out of the box. The most common command for you to execute is likely to be <em><strong>run</strong></em>. Others might include, <strong><em>console</em></strong>, <em><strong>clean</strong></em>, <em><strong>compile</strong></em> and <em><strong>test</strong></em>. The commands are more or less self explanatory. Nevertheless, there is also a <em><strong>help</strong></em> goal (you may guess what this one does), and a little bit of <a title="Play Console" href="https://github.com/playframework/Play20/wiki/PlayConsole">documentation</a>.</p>
<p>If you don&#8217;t want to open the Play Console just to execute a single command, you can also type <em><strong>play [your_command</strong></em>]. For now, this is what you should do, type <em><strong>play run</strong></em> to start the server in development mode.</p>
<p>After the server has been started, open a browser and go to <a title="Locally Running Play Application" href="http://localhost:9000">http://localhost:9000</a> You should see something similar to the screenshot below.</p>
<p><a href="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-24_09-06-28_cwindowssystem32cmd-exe-play-run.png"><img class="aligncenter size-full wp-image-276" title="Creating and running a Play application" src="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-24_09-06-28_cwindowssystem32cmd-exe-play-run.png?w=593&#038;h=707" alt="Creating and running a Play application" width="593" height="707" /></a></p>
<p><a href="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-24_09-08-27_welcome-to-play-2-0-beta-mozilla-firefox.png"><img class="aligncenter size-full wp-image-277" title="Play 2.0 Application" src="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-24_09-08-27_welcome-to-play-2-0-beta-mozilla-firefox.png?w=593&#038;h=368" alt="Play 2.0 Application" width="593" height="368" /></a></p>
<h2>Where to go from here</h2>
<p>In the previous section we have successfully created a simple Play 2.0 application. The second part of this post will show you how to get this application running on Heroku. But before we go there, I would like to point you to some further resources to get familiar with Play 2.0.</p>
<p>Most defiantly you should have a closer look on the anatomy of a Play 2.0 application. Furthermore, there are three nice sample applications, which are provided within the Play 2.0 sources and <a title="Play 2.0 application anatomy" href="https://github.com/playframework/Play20/wiki/Anatomy">documented adequately in the wiki</a>. Last but not least you might also want to browse through <a title="Play's Scala API manual" href="https://github.com/playframework/Play20/wiki/ScalaHome">Play&#8217;s scala api manual</a>.</p>
<h1>Heroku</h1>
<p>I promised you, that this article will show you how to get your Play application running on Heroku. So let&#8217;s see how this is done.</p>
<h2>Quickstarting Heroku</h2>
<p>First of all, go to <a href="https://api.heroku.com/signup">heroku signup page</a> and enter your E-Mail address. After you have received a confirmation mail and provided a password, you are successfully signed up.</p>
<p>Next go to the <a href="http://devcenter.heroku.com/articles/quickstart">quickstart guide</a> and download the heroku toolbelt corresponding to your system and install it. After the installation is completed you can start to access heroku from the command line. Type <strong><em>heroku login</em></strong> to connect to the heroku platform servers. The first time you connect to heroku you need to provide your personal SSH key (or simply hit enter to automatically create a new one).</p>
<p>Now that you are logged in to Heroku, you are ready to deploy your Play application. Unfortunately, your app isn&#8217;t ready for that process yet, so let&#8217;s apply some minor changes.</p>
<h2>Making your app ready for Heroku</h2>
<p>The following section is based on the <a href="https://github.com/playframework/Play20/wiki/ProductionHeroku">Deploying Play to Heroku tutorial</a>, you might either read the original source or the summary given here.</p>
<p>Heroku needs to know how to start your add, therfore you should add a <a href="https://github.com/typesafehub/xsbt-start-script-plugin">start script</a> provided by the great folks at <a href="http://www.typesafe.com/company/team">typesafe</a>. Simply add the following line to your project/plugins.sbt file (Ensure that you also place a blank line before and after this line): <em><strong>addSbtPlugin(&#8220;com.typesafe.startscript&#8221; % &#8220;xsbt-start-script-plugin&#8221; % &#8220;0.5.0&#8243;)</strong></em></p>
<p>Next, you need to create a plain text file in your application&#8217;s root directory called <strong><em>Procfile</em></strong> containing the following line: <em><strong>web: target/start</strong></em></p>
<p>The next thing to do is create a local git repository for your application. In your application root folder, just type <strong><em>git init</em></strong> to create the repo, then type <strong><em>git add .</em></strong> to add all files and folder and finally make a commit by typing <em><strong>git commit -m &#8220;init&#8221;</strong></em>.</p>
<p>Last thing to do is creating your app at heroku, do this by typing <em><strong>heroku create &#8211;stack cedar</strong></em>. (Make sure you are still logged in to heroku!) You shoud note down the url where your application is going to be available. In my case that is <a title="http://blooming-dawn-3920.heokuapp.com/" href="http://blooming-dawn-3920.heokuapp.com/">http://blooming-dawn-3920.heokuapp.com/</a></p>
<p><a href="http://whatiscomingtomyhead.files.wordpress.com/2012/01/heroku.png"><img class="aligncenter size-full wp-image-282" title="Making your app ready for heroku" src="http://whatiscomingtomyhead.files.wordpress.com/2012/01/heroku.png?w=593&#038;h=389" alt="Making your app ready for heroku" width="593" height="389" /></a></p>
<h2>Deploying your app</h2>
<p>By now, everything you need to deploy your Play 2.0 application to Heroku should be set up. The last thing you need to do is simply push your contents from your local git repository to the heroku server. To do so, type <strong><em>git push heroku master</em></strong>, after your sources are transferred to the remote repository an automatic execution of <em><strong>sbt clean compile stage</strong></em> is triggered. If everything went well, you should see something similar to the screen shot below. You should also be able to go to your url and see your application running there.</p>
<p><a href="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-28_15-14-30_cwindowssystem32cmd-exe.png"><img class="aligncenter size-full wp-image-287" title="Successful Heroku Deployment" src="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-28_15-14-30_cwindowssystem32cmd-exe.png?w=593&#038;h=197" alt="Successful Heroku Deployment" width="593" height="197" /></a></p>
<p>You are now ready to develop some nice features for your application. Whenever you want to deploy a new version of your app heroku, simply push your changes by executing <strong><em>git push heroku master</em></strong> again. Three more hints before I leave you alone with your app: You can tpye <strong><em>heroku ps</em></strong> to check the state of your application, call <em><strong>heroku logs</strong></em> to access your applications log files, and even start a remote REPL session by executing <strong><em>heroku run sbt play</em></strong>.</p>
<p>And now, happy coding!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/242/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=242&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2012/01/28/getting-started-with-play-2-0-heroku-and-scala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>

		<media:content url="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-24_09-06-28_cwindowssystem32cmd-exe-play-run.png" medium="image">
			<media:title type="html">Creating and running a Play application</media:title>
		</media:content>

		<media:content url="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-24_09-08-27_welcome-to-play-2-0-beta-mozilla-firefox.png" medium="image">
			<media:title type="html">Play 2.0 Application</media:title>
		</media:content>

		<media:content url="http://whatiscomingtomyhead.files.wordpress.com/2012/01/heroku.png" medium="image">
			<media:title type="html">Making your app ready for heroku</media:title>
		</media:content>

		<media:content url="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-28_15-14-30_cwindowssystem32cmd-exe.png" medium="image">
			<media:title type="html">Successful Heroku Deployment</media:title>
		</media:content>
	</item>
		<item>
		<title>Get rid of &#8220;unmappable character for encoding Cp1252&#8243; once and for all</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2012/01/02/get-rid-of-unmappable-character-for-encoding-cp1252-once-and-for-all/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2012/01/02/get-rid-of-unmappable-character-for-encoding-cp1252-once-and-for-all/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 18:47:04 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[cp1252]]></category>
		<category><![CDATA[encoding]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=264</guid>
		<description><![CDATA[Nowadays, many open source as well as commercially developed projects contain code that is UTF-8 encoded. More general it is very unlikely that you checkout some code from GIT, SVN or [insert arbitrary abbreviation here] that is actually encoded with &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2012/01/02/get-rid-of-unmappable-character-for-encoding-cp1252-once-and-for-all/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=264&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Nowadays, many open source as well as commercially developed projects contain code that is <a href="http://de.wikipedia.org/wiki/UTF-8">UTF-8</a> encoded. More general it is very unlikely that you checkout some code from GIT, SVN or [insert arbitrary abbreviation here] that is actually encoded with <a href="http://en.wikipedia.org/wiki/Windows-1252">Windows&#8217; crappy default encoding</a>. (In case of my western European system, that encoding would be <strong><em>Cp1252</em></strong>).</p>
<p>So, how many times have you seen the above error when compiling some Java code on a windows machine? And how many times have you wondered if there is a solution to set the file encoding in a global, system wide manner? Well, fortunately, there is a way to do that!</p>
<p>A quite simple procedure to globally set the file encoding for all JVMs is given in the answer by <strong><em>erickson</em></strong> in <a href="http://stackoverflow.com/questions/361975/setting-the-default-java-character-encoding">this stackoverflow question</a>. All you need to do, is to specify a envirnoment variable called <strong><em>JAVA_TOOL_OPTIONS</em></strong>. If you set this variable to <em><strong>-Dfile.encoding=UTF8</strong></em>, everytime a JVM is started, it will pick up this information.</p>
<p>Obviously, you are able set other JVM parameters via JAVA_TOOL_OPTIONS as well. See the <a href="http://docs.oracle.com/javase/6/docs/platform/jvmti/jvmti.html#tooloptions">JVM documentation</a> for more details. If you are interested in further details about character encodings in Java, check out this <a href="http://illegalargumentexception.blogspot.com/2009/05/java-rough-guide-to-character-encoding.html">excellent article</a>.</p>
<p><a href="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-02_08-49-33_new-6-notepad.png"><img class="aligncenter size-full wp-image-265" title="2012-01-02_08-49-33_new  6 - Notepad++" src="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-02_08-49-33_new-6-notepad.png?w=593" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=264&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2012/01/02/get-rid-of-unmappable-character-for-encoding-cp1252-once-and-for-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>

		<media:content url="http://whatiscomingtomyhead.files.wordpress.com/2012/01/2012-01-02_08-49-33_new-6-notepad.png" medium="image">
			<media:title type="html">2012-01-02_08-49-33_new  6 - Notepad++</media:title>
		</media:content>
	</item>
		<item>
		<title>Double Challenge #3 – Play!</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/12/04/double-challenge-3-play/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/12/04/double-challenge-3-play/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 16:20:23 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Double Challenge]]></category>
		<category><![CDATA[Non-IT]]></category>
		<category><![CDATA[Scala]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=236</guid>
		<description><![CDATA[It&#8217;s December already, which means it is time for the last double challenge of the year and a quick retrospective. Retrospective: November&#8217;s double challenge was pretty much successful. I&#8217;ve taken care of almost all Christmas presents (only minor things are &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2011/12/04/double-challenge-3-play/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=236&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s December already, which means it is time for the last double challenge of the year and a quick retrospective.</p>
<h3>Retrospective:</h3>
<p><a title="Double Challenge #2 – Christmas and Scala" href="http://whatiscomingtomyhead.wordpress.com/2011/11/11/226/">November&#8217;s double challenge</a> was pretty much successful. I&#8217;ve taken care of almost all Christmas presents (only minor things are missing) and have read the aimed 250 pages in my <a href="http://www.amazon.com/Programming-Scala-Comprehensive-Step---Step/dp/0981531644/ref=sr_1_1?ie=UTF8&amp;qid=1319654359&amp;sr=8-1">Scala book</a>. With that preparation I think I am ready for the next steps in Scala&#8230; so here is the goal for this month.</p>
<h3>Upcoming double challenge:</h3>
<ul>
<li><strong>Deploy a simple<strong> <a href="http://www.playframework.org/">Play!</a> application, written in </strong><a href="http://www.scala-lang.org/">Scala</a>, to <a href="http://www.heroku.com/">Heroku</a>.</strong> Why? <a href="http://www.scala-lang.org/node/11128">Recent</a> <a href="http://www.scala-lang.org/node/11761">announcements</a> indicate that the three topics will have a bright future <a href="http://scala.playframework.org/">together</a>.</li>
<li><strong>Do not drink any sugared/sweetened beverages until Christmas.</strong> Let&#8217;s find out how many drinks are actually full of sugar&#8230;</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=236&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/12/04/double-challenge-3-play/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>
	</item>
		<item>
		<title>That map has to go up on my wall&#8230;</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/11/26/that-map-has-to-go-up-on-my-wall/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/11/26/that-map-has-to-go-up-on-my-wall/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 12:53:11 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Money]]></category>
		<category><![CDATA[Non-IT]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=228</guid>
		<description><![CDATA[&#8230;its amazingly shocking. But also interesting how many crazy facts you still find after hours and hours looking on it. The Money Chart<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=228&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8230;its amazingly shocking. But also interesting how many crazy facts you still find after hours and hours looking on it.</p>
<div class="wp-caption aligncenter" style="width: 602px"><a href="http://www.xkcd.com/980/huge/"><img title="The money chart" src="http://imgs.xkcd.com/comics/money.png" alt="" width="592" height="394" /></a><p class="wp-caption-text">For licence and copyright information please see the xkcd.com homepage.</p></div>
<p><a href="http://www.xkcd.com/980/huge/">The Money Chart</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/228/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=228&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/11/26/that-map-has-to-go-up-on-my-wall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>

		<media:content url="http://imgs.xkcd.com/comics/money.png" medium="image">
			<media:title type="html">The money chart</media:title>
		</media:content>
	</item>
		<item>
		<title>Double Challenge #2 &#8211; Christmas and Scala</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/11/11/226/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/11/11/226/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 18:15:19 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[Cloud Foundry]]></category>
		<category><![CDATA[Double Challenge]]></category>
		<category><![CDATA[Non-IT]]></category>
		<category><![CDATA[Scala]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=226</guid>
		<description><![CDATA[It has been a bit more than a month since I &#8216;ve been writing about the first double challenge. Thus, I think it is time for a short retrospective and a call-out of the next challenges. Retrospective: The first double &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2011/11/11/226/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=226&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It has been a bit more than a month since I &#8216;ve been writing about the <a title="First Dobule Challenge – Less meat, more clouds" href="http://whatiscomingtomyhead.wordpress.com/2011/10/08/first-dobule-challenge-less-meat-more-clouds/">first double challenge</a>. Thus, I think it is time for a short retrospective and a call-out of the next challenges.</p>
<h3>Retrospective:</h3>
<p>The first double challenge was only half a success. Cutting down meat consumption to three days a week has dramatically reduced my overall meat consumption. It wasn&#8217;t easy, but I can absolutely recommend this model (maybe start with two or three meat free days a week). I will defiantly stick with the four meat-less-days-a-week model for a few more months.<br />
The technical challenge on the other hand was not that successful. Unfortunately, I couldn&#8217;t really find the time to get an application running on cloud foundry. Well, I got quite far with that (it is quite easy), but finding the time to write a tutorial about it was pretty much impossible. Fortunately, <a href="http://www.ntpro.nl/blog/archives/1737-Video-Getting-Started-With-VMware-Cloud-Foundry.html">some</a> <a href="http://blog.springsource.com/2011/08/24/micro-cloud-foundry-for-spring-developers/">good</a> <a href="http://blog.springsource.org/2011/04/12/roo-cloud-foundry-productivity-in-the-cloud/">tutorials</a> about this topic are already existent.</p>
<h3>Upcoming double challenge:</h3>
<ul>
<li><strong>Buy all Christmas presents until the end of November.</strong> Why? To escape the <a href="http://secure.feva.org/images/23.%20Christmas%20Stress%20Outsid.jpg">pre-christmas stress</a>! Man, I hate shopping in December.</li>
<li><strong>Work myself through another 250 pages of my beloved <a href="http://www.amazon.com/Programming-Scala-Comprehensive-Step---Step/dp/0981531644/ref=sr_1_1?ie=UTF8&amp;qid=1319654359&amp;sr=8-1">Scala book</a>.</strong> (And write heaps of Scala code on the way.) Why? Scala! <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=226&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/11/11/226/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>
	</item>
		<item>
		<title>Scala &amp; Maven &#8211; POM Example</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/10/31/scala-maven-pom-example/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/10/31/scala-maven-pom-example/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 20:34:17 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Scala]]></category>
		<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=209</guid>
		<description><![CDATA[Today, there is no waffle about what Scala or Maven is. This is just the plain configuration to build Scala projects with Maven. If you want more detailed information check Maven for Beginners at scala-lang.org or browse through the documentation &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2011/10/31/scala-maven-pom-example/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=209&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, there is no waffle about what <a href="http://www.scala-lang.org">Scala</a> or <a href="http://maven.apache.org/">Maven</a> is. This is just the plain configuration to build Scala projects with Maven. If you want more detailed information check <a href="http://www.scala-lang.org/node/345">Maven for Beginners</a> at scala-lang.org or browse through the documentation of the <a href="scala-tools.org/mvnsites/maven-scala-plugin">Scala-Maven-Plugin</a>.</p>
<p>By the way,the configuration works as well if you want to mix Java and Scala within a single project. Just place your scala files in <strong>src/main/scala</strong> and your Java files in <strong>src/main/java</strong> (or the src/test equivalents). Maven will do the rest for you.</p>
<p>Enjoy!</p>
<p><pre class="brush: xml;">
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;my.company&lt;/groupId&gt;
  &lt;artifactId&gt;my-artifact&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;

  &lt;repositories&gt;
    &lt;repository&gt;
      &lt;id&gt;scala-tools.org&lt;/id&gt;
      &lt;name&gt;Scala-tools Repository&lt;/name&gt;
      &lt;url&gt;http://scala-tools.org/repo-releases&lt;/url&gt;
    &lt;/repository&gt;
  &lt;/repositories&gt;
  &lt;pluginRepositories&gt;
    &lt;pluginRepository&gt;
      &lt;id&gt;scala-tools.org&lt;/id&gt;
      &lt;name&gt;Scala-tools Repository&lt;/name&gt;
      &lt;url&gt;http://scala-tools.org/repo-releases&lt;/url&gt;
    &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;

  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.scala-lang&lt;/groupId&gt;
      &lt;artifactId&gt;scala-library&lt;/artifactId&gt;
      &lt;version&gt;2.9.1&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.scalatest&lt;/groupId&gt;
      &lt;artifactId&gt;scalatest_2.9.1&lt;/artifactId&gt;
      &lt;version&gt;1.6.1&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;junit&lt;/groupId&gt;
      &lt;artifactId&gt;junit&lt;/artifactId&gt;
      &lt;version&gt;4.10&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;

  &lt;build&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.scala-tools&lt;/groupId&gt;
        &lt;artifactId&gt;maven-scala-plugin&lt;/artifactId&gt;
        &lt;executions&gt;
          &lt;execution&gt;
            &lt;goals&gt;
              &lt;goal&gt;compile&lt;/goal&gt;
              &lt;goal&gt;testCompile&lt;/goal&gt;
            &lt;/goals&gt;
          &lt;/execution&gt;
        &lt;/executions&gt;
        &lt;configuration&gt;
          &lt;jvmArgs&gt;
            &lt;jvmArg&gt;-Xms64m&lt;/jvmArg&gt;
            &lt;jvmArg&gt;-Xmx1024m&lt;/jvmArg&gt;
          &lt;/jvmArgs&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/build&gt;
&lt;/project&gt;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/209/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=209&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/10/31/scala-maven-pom-example/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting started with Scala</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/10/26/getting-started-with-scala/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/10/26/getting-started-with-scala/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 19:53:20 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Scala]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[SBT]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=203</guid>
		<description><![CDATA[Update: Scala Documentation (an excellent site for getting started with Scala) has just been launched. Make sure to check it out as well. If you want to get started with Scala, here is a short list with (in my opinion) &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2011/10/26/getting-started-with-scala/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=203&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> <a href="http://docs.scala-lang.org/index.html">Scala Documentation</a> (an excellent site for getting started with Scala) has just been launched. Make sure to check it out as well.</p>
<p>If you want to get started with Scala, here is a short list with (in my opinion) some of the most important resources to get you on the fast track.</p>
<ol>
<li><strong>Get a book!</strong> I highly recommend <a href="http://www.amazon.com/Programming-Scala-Comprehensive-Step---Step/dp/0981531644/ref=sr_1_1?ie=UTF8&amp;qid=1319654359&amp;sr=8-1">this one</a>, but there are <a href="http://www.scala-lang.org/node/959">plenty</a> out there already.</li>
<li>Install <a href="https://github.com/harrah/xsbt/wiki">SBT</a> and learn <a href="https://github.com/harrah/xsbt/wiki/Getting-Started-Welcome">how to use it</a>. (You might as well use <a href="http://www.scala-lang.org/node/345">Maven with Scala</a> if you really want to.)</li>
<li>Install <a href="http://www.scala-ide.org/">Scala IDE for Eclipse</a> and use <a href="https://github.com/typesafehub/sbteclipse">sbteclipse </a>to import your SBT projects.</li>
<li><a href="http://www.scala-tribes.org/">Get</a> <a href="http://goodstuff.im/">some</a> <a href="http://friendfeed.com/scala-programming">friends</a> <a href="http://www.heikoseeberger.name/">out</a> <a href="http://grahamhackingscala.blogspot.com/">there</a>, and <a href="http://www.scala-lang.org/node/1305#Scala">learn</a>.</li>
<li>And not to forget my personal favourite for quick hacks: <a href="http://www.simplyscala.com/">Simply Scala</a></li>
<li><strong>Enjoy!</strong></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=203&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/10/26/getting-started-with-scala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>
	</item>
		<item>
		<title>First Dobule Challenge &#8211; Less meat, more clouds</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/10/08/first-dobule-challenge-less-meat-more-clouds/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/10/08/first-dobule-challenge-less-meat-more-clouds/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 08:55:32 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Cloud Foundry]]></category>
		<category><![CDATA[Double Challenge]]></category>
		<category><![CDATA[Environmental Sustainability]]></category>
		<category><![CDATA[SpringSource]]></category>
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=200</guid>
		<description><![CDATA[I am quite a fan of Lars Vogels&#8217;s Challenge of the Month. That is why I decided to introduce a similar category on my blog. But, as I don&#8217;t want to be a typical European copy-cat, I will do it &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2011/10/08/first-dobule-challenge-less-meat-more-clouds/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=200&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am quite a fan of <a href="http://www.vogella.de/">Lars Vogels&#8217;s</a> <a href="http://www.vogella.de/blog/category/challenge/">Challenge of the Month</a>. That is why I decided to introduce a similar category on my blog. But, as I don&#8217;t want to be a typical European copy-cat, I will do it slightly different. Every month I will set up a double challenge for myself. Including one IT concerned challenge and one non-IT concerned challenge. By doing this, I hope it will a) improve my writing, b) improve my IT-skills and c) improve some other areas in my live.</p>
<p>So my first double challenge will be:</p>
<ul>
<li><strong>Only eat meat on three days a week.</strong> Why?<a href="http://www.guardian.co.uk/environment/datablog/2009/sep/02/meat-consumption-per-capita-climate-change"> Average meat consumption</a> in Europe is way to high! <a href="http://www.forbes.com/2009/03/24/eating-red-meat-lifestyle-health-red-meat-study.html">Not good for yourself</a> and <a href="http://www.paystolivegreen.com/2009/01/are-we-eating-too-much-meat/">not good for others</a>. Let&#8217;s change that.</li>
<li><strong>Deploy an application to <a href="http://www.cloudfoundry.com/">cloud foundry</a>.</strong> Why? Seems to be a very promising way to run Java applications in the cloud and I haven&#8217;t had a look at it for over a year now.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=200&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/10/08/first-dobule-challenge-less-meat-more-clouds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>
	</item>
		<item>
		<title>ISO-3166-1 Country List as SQL Script</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/10/02/iso-3166-1-country-list-as-sql-script/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/10/02/iso-3166-1-country-list-as-sql-script/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 09:43:09 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ISO-3166-1]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=195</guid>
		<description><![CDATA[How often do you need a drop-down in your application that displays all countries? And in most cases you need it in more than one language, right. I&#8217;ve been there a couple of times and finally decided to publish an &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2011/10/02/iso-3166-1-country-list-as-sql-script/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=195&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How often do you need a drop-down in your application that displays <a href="http://en.wikipedia.org/wiki/ISO_3166-1">all countries</a>? And in most cases you need it in more than one language, right. I&#8217;ve been there a couple of times and finally decided to publish an sql script that could be used to create a countries table and fill it with all countries according to <a href="http://www.iso.org/iso/country_codes.htm">ISO-3166-1</a>.</p>
<p>It took me some time to <a href="http://en.wikipedia.org/wiki/ISO_3166-1">scan</a> <a href="http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm">different</a> <a href="http://edoceo.com/notabene/sql-country-codes">sources</a> and create my own countries.sql. And that was the main reason for setting up this post, I couldn&#8217;t find a page or blog post that had a ready-to-apply SQL script. When I was looking for the spanish translations, I finally stumbled upon <a href="http://www.mega-db.com.ar/Table/iso3166">Mega Database</a> and its wonderful lists of everything. So you can either go to their page and get your own <a href="http://www.mega-db.com.ar/Table/iso3166/Export">export</a> of the data, or simply <a href="http://scala-hamburg.de/whatiscomingtomyhead/countries.sql">download the script</a> I have attached to this post.</p>
<p>Thanks to <a href="http://www.mega-db.com.ar">http://www.mega-db.com.ar</a> for the lists and enjoy displaying those country drop-downs.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=195&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/10/02/iso-3166-1-country-list-as-sql-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>
	</item>
		<item>
		<title>Database Reverse Engineering with Spring Roo 1.2</title>
		<link>http://whatiscomingtomyhead.wordpress.com/2011/09/20/database-reverse-engineering-with-spring-roo-1-2/</link>
		<comments>http://whatiscomingtomyhead.wordpress.com/2011/09/20/database-reverse-engineering-with-spring-roo-1-2/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 17:36:51 +0000</pubDate>
		<dc:creator>Nils Schmidt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[database reverse engineering]]></category>
		<category><![CDATA[Roo]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://whatiscomingtomyhead.wordpress.com/?p=189</guid>
		<description><![CDATA[Reverse engineering an existing database into a new application seems to be one of the most important features in rapid application development. Having the right tools at hand can give you a major boost when rewriting an application on top &#8230; <a href="http://whatiscomingtomyhead.wordpress.com/2011/09/20/database-reverse-engineering-with-spring-roo-1-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=189&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Reverse engineering an existing database into a new application seems to be one of the most important features in rapid application development. Having the right tools at hand can give you a major boost when rewriting an application on top of an existing database.</p>
<p><a href="http://www.springsource.org/roo">Spring Roo</a> hasn&#8217;t had support for Database Reverse Engineering (DBRE) when its first major version was released. Not surprisingly, adding DBRE support had been the most requested feature for subsequent versions. In Roo 1.1 full support for <a href="http://blog.springsource.com/2010/10/27/spring-roo-1-1-0-is-released/">incremental DBRE was added</a> and since then it has been <a href="https://jira.springsource.org/browse/ROO-1410">constantly</a> <a href="https://jira.springsource.org/browse/ROO-1408">improved</a>. It is <a href="http://static.springsource.org/spring-roo/reference/html/base-dbre.html">fully documented</a> and pretty much straight forward to use.</p>
<p>According to my <a href="http://en.wordpress.com/features/stats/">WordPress Stats</a>, my <a href="http://whatiscomingtomyhead.wordpress.com/2010/03/24/spring-roo-database-reverse-engineering/">old post about DBRE in Roo</a> is still the second most visited on my blog. As it became more than obsolete, I thought it might be time to clear things up and point you guys to the new DBRS features in Spring Roo 1.1.x and 1.2.x</p>
<p>So if you are interested in Roo and/or DBRE, make sure to check out the latest developments in this area.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whatiscomingtomyhead.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whatiscomingtomyhead.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whatiscomingtomyhead.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whatiscomingtomyhead.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whatiscomingtomyhead.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whatiscomingtomyhead.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whatiscomingtomyhead.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whatiscomingtomyhead.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whatiscomingtomyhead.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whatiscomingtomyhead.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whatiscomingtomyhead.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whatiscomingtomyhead.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whatiscomingtomyhead.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whatiscomingtomyhead.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whatiscomingtomyhead.wordpress.com&amp;blog=11632414&amp;post=189&amp;subd=whatiscomingtomyhead&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whatiscomingtomyhead.wordpress.com/2011/09/20/database-reverse-engineering-with-spring-roo-1-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/678a1dddd660e81247ab882808be0488?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nilsschmidthamburg</media:title>
		</media:content>
	</item>
	</channel>
</rss>
