<?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>roundcrisis.Find&#60;Solution&#62;() &#187; Uncategorized</title>
	<atom:link href="http://roundcrisis.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://roundcrisis.com</link>
	<description></description>
	<lastBuildDate>Mon, 21 May 2012 22:32:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='roundcrisis.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>roundcrisis.Find&#60;Solution&#62;() &#187; Uncategorized</title>
		<link>http://roundcrisis.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://roundcrisis.com/osd.xml" title="roundcrisis.Find&#60;Solution&#62;()" />
	<atom:link rel='hub' href='http://roundcrisis.com/?pushpress=hub'/>
		<item>
		<title>XNA&#8211;A Simple Spring Camera in 2D</title>
		<link>http://roundcrisis.com/2012/05/05/xnaa-simple-spring-camera-in-2d/</link>
		<comments>http://roundcrisis.com/2012/05/05/xnaa-simple-spring-camera-in-2d/#comments</comments>
		<pubDate>Sat, 05 May 2012 14:10:29 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acceleration force mass]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">https://roundcrisis.wordpress.com/?p=990</guid>
		<description><![CDATA[Cameras are cool, so lets keep at it and try a spring camera, i.e. one that follows you around. The initial aspect of the camera and how to use it is on the previous post on cameras, so I ll let you go and have a look there. The spring camera is very similar to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=990&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cameras are cool, so lets keep at it and try a spring camera, i.e. one that follows you around.</p>
<p>The initial aspect of the camera and how to use it is on the <a title="XNA – A Simple 2D Camera" href="http://roundcrisis.com/2012/04/19/xna-a-simple-2d-camera/" target="_blank">previous post</a> on cameras, so I ll let you go and have a look there.</p>
<p>The spring camera is very similar to a simple camera, but with Hooke&#8217;s Law applied. Hooke&#8217;s Law states that the extension of a helical spring is directly proportional to the weight applied, provided the elastic limit of the spring is not exceeded. I read this a few times and couldnt figure how to turn this into code , so I went to Khan Academy and found this <a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=ZzwuHS9ldbY#!" target="_blank">video</a>, where the formula <strong><span style="font-size:medium;">F = –k x</span></strong> is explained.</p>
<span style="text-align:center; display: block;"><a href="http://roundcrisis.com/2012/05/05/xnaa-simple-spring-camera-in-2d/"><img src="http://img.youtube.com/vi/ZzwuHS9ldbY/2.jpg" alt="" /></a></span>
<p>If we use the formula as is, then the spring would be “springing” forever, so when calculating the force we will use some damping. So the new update method in Camera.cs now looks like this</p>
<div id="codeSnippetWrapper" style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:20px 0 10px;width:97.5%;">
<div id="codeSnippet" style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;">
<pre style="text-align:left;line-height:12pt;background-color:white;margin:0;width:100%;"><span id="lnum1" style="color:#606060;"> 1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">void</span> Update(<span style="color:#0000ff;">float</span> elapsedSeconds, <span style="color:#0000ff;">float</span> rotation, Vector2 desiredPosition, <span style="color:#0000ff;">float</span> zoom)</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:0;width:100%;"><span id="lnum2" style="color:#606060;"> 2:</span>     {</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;margin:0;width:100%;"><span id="lnum3" style="color:#606060;"> 3:</span>         var delta = _position - desiredPosition;</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:0;width:100%;"><span id="lnum4" style="color:#606060;"> 4:</span>         var force = -SpringStiffness * delta - Damping * _velocity;</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;margin:0;width:100%;"><span id="lnum5" style="color:#606060;"> 5:</span></pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:0;width:100%;"><span id="lnum6" style="color:#606060;"> 6:</span>         var acceleration = force / Mass;</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;margin:0;width:100%;"><span id="lnum7" style="color:#606060;"> 7:</span>         _velocity += acceleration * elapsedSeconds;</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:0;width:100%;"><span id="lnum8" style="color:#606060;"> 8:</span>         _position += _velocity * elapsedSeconds;</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;margin:0;width:100%;"><span id="lnum9" style="color:#606060;"> 9:</span></pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:0;width:100%;"><span id="lnum10" style="color:#606060;"> 10:</span>         Transform = Matrix.CreateTranslation(-_position.X, -_position.Y, 0) *</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;margin:0;width:100%;"><span id="lnum11" style="color:#606060;"> 11:</span>                     Matrix.CreateRotationZ(rotation) *</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:0;width:100%;"><span id="lnum12" style="color:#606060;"> 12:</span>                     Matrix.CreateScale(zoom, zoom, 1)*</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;margin:0;width:100%;"><span id="lnum13" style="color:#606060;"> 13:</span>                     Matrix.CreateTranslation(_halfScreenSize.X, _halfScreenSize.Y, 0);</pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;margin:0;width:100%;"><span id="lnum14" style="color:#606060;"> 14:</span>     }</pre>
<p><!--CRLF--></p>
</div>
</div>
<p>The line</p>
<p>var<span style="color:#ff6600;"> force = -SpringStiffness * delta</span><span style="color:#008000;"> &#8211; Damping * _velocity</span>;</p>
<p>Is respecting the formula F= –kx, where k is the SpringStiffness and x is the delta(in orange). The second part of this assignment(in green)  is applying some damping proportional to the velocity.</p>
<p>Once we have the result of calculating the force, we use the force vector to calculate the acceleration that, in turn that value is used to calculate the velocity and position.</p>
<p>Finally, once we have the position, the matrix transformation is calculated in the same way we calculated this for the simple camera (<a title="XNA – A Simple 2D Camera" href="http://roundcrisis.com/2012/04/19/xna-a-simple-2d-camera/" target="_blank">in previous post</a>).</p>
<p>You can get a complete working sample <a href="https://github.com/Andrea/SpringCamera2dXNA" target="_blank">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/990/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=990&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2012/05/05/xnaa-simple-spring-camera-in-2d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Phone 7&#8211; Game Development Experience</title>
		<link>http://roundcrisis.com/2011/12/06/windows-phone-7-game-development-experience/</link>
		<comments>http://roundcrisis.com/2011/12/06/windows-phone-7-game-development-experience/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 13:27:59 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[gamedev]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[xna]]></category>
		<category><![CDATA[ganedev]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">https://roundcrisis.wordpress.com/?p=915</guid>
		<description><![CDATA[I got a Windows Phone 7 to play with for a while and these are some notes about the experiment.  I just did a tick-tac-toe based on this blog post changed a few things tho (like the use of extension method for checking for wining and replaced by bit shifting ), but I wanted to have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=915&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got a Windows Phone 7 to play with for a while and these are some notes about the experiment.  I just did a tick-tac-toe based on this <a href="http://mobile.tutsplus.com/tutorials/windows/windows-phone-7-game-development/">blog post</a> changed a few things tho (like the use of extension method for checking for wining and replaced by bit shifting <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ), but I wanted to have some code to fall back to just in case.</p>
<p>NOTE: I have an android phone, and had an iPhone for a while in the past, so my expectations about this phone are probably based on them.</p>
<p>As soon as I connected the phone to my computer it prompted me to install the Zune software, after installation you get this:</p>
<p><a href="http://roundcrisis.files.wordpress.com/2011/12/capture.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Capture" src="http://roundcrisis.files.wordpress.com/2011/12/capture_thumb.png?w=244&h=96" alt="Capture" width="244" height="96" border="0" /></a></p>
<p>restarting my machine? we are not in 1999, this shouldn’t be a requirement.</p>
<p>Also when I was trying to install some game, the phone displayed a message about the fact that some installations require re starting the phone. Very strange</p>
<p>Rather randomly on an LG –E90099 I get the error that the phone is pin locked (it isn&#8217;t <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ).</p>
<p>If while trying to debug to your phone you get an error, “The application could not be lauched for debugging. Verify that the application is installed on target device” that, for me , meant that the phone was locked (ie dark screen) Make sure you can see the menu and try again</p>
<p><a href="http://roundcrisis.files.wordpress.com/2011/12/capture1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="Capture" src="http://roundcrisis.files.wordpress.com/2011/12/capture_thumb1.png?w=244&h=181" alt="Capture" width="244" height="181" border="0" /></a></p>
<p>After these initial errors, I pretty much moved pretty quickly.</p>
<p>I  am quite surprised by this, but at least for game development  (with xna) this little trial has been incredibly painless.</p>
<p>Regarding the phone OS,  there are some aspects that I really dislike:</p>
<ul>
<li>A lot of screen is wasted, for example if i search online for something, I can only see about 2 to 3 results.</li>
<li>The facebook integration (I dont want facebook). Probably it can be turned off?</li>
<li>Figuring out how to un-link the hotmail account to the phone is quite tricky (it might be just me)</li>
<li>Having to restart your phone after installing an app is just not acceptable.</li>
</ul>
<p>Things I liked about the phone</p>
<ul>
<li>Dealing with text in general is superior at least to the android experience. ie writting texts and email was a good experience</li>
<li>Generally fast and non cluttered</li>
</ul>
<p>In general my perception of the phone has improved after trying it . And I have to add I m pretty impressed by the Zune software, it looks good, it worked flawlessly. Comparing to iTunes and Samsung Kies it&#8217;s way ahead.</p>
<p>I like XNA, and the fact that it was so transparent to deploy a game to the phone was really nice.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/915/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=915&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/12/06/windows-phone-7-game-development-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>

		<media:content url="http://roundcrisis.files.wordpress.com/2011/12/capture_thumb.png" medium="image">
			<media:title type="html">Capture</media:title>
		</media:content>

		<media:content url="http://roundcrisis.files.wordpress.com/2011/12/capture_thumb1.png" medium="image">
			<media:title type="html">Capture</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming Science</title>
		<link>http://roundcrisis.com/2011/11/22/programming-science/</link>
		<comments>http://roundcrisis.com/2011/11/22/programming-science/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 09:40:04 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://roundcrisis.wordpress.com/?p=900</guid>
		<description><![CDATA[So a few Scientists and a few developers met last Wednesday. It was hard to know where we were going to end and thanks so much to everyone that participated. The following is a summary of the tips we (scientist + developers) thought was a good idea Tips for scientists writing code (1st Round): Talk [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=900&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So a few Scientists and a few developers met last Wednesday. It was hard to know where we were going to end and thanks so much to everyone that participated. The following is a summary of the tips we (scientist + developers) thought was a good idea</p>
<p>Tips for scientists writing code (1st Round):</p>
<ul>
<li>Talk to other scientists that work on similar projects and share a list of your most used functions (I cant remember the name of the person suggestion</li>
<li>Every now and then meet up with other scientist writing similar code to you to talk specifically about the code you write, after all if you know the tools you are working with better, you are bound to be more productive</li>
<li>Use source control. There are pretty good open source alternatives and many places that offer free storage. Some source control options: Git, Mercurial, subversion. Some places to host your code: github, bitbucket, google code, codeplex</li>
<li>Use variable names that indicate what you are talking about.</li>
<ul>
<li>Some bad examples: your_cat_name, sss, ttt, etc. Some good examples: portionOfSphere, portion_of_sphere.</li>
</ul>
<li>In the case of IDL, avoid for loops and try to use functions</li>
<li>Try to get used to reading others people code so that you realise where you can improve, or point out things that can be done i na more effective way</li>
</ul>
<h3> Help a scientist day</h3>
<p>The above is all well and good, however. We were also thinking about collaboration. So Philippe came up with a great idea: Help a scientist day.</p>
<ul>
<li>A scientist submits (somewhere to be discussed) a problem she or he thinks it could be solved with some help of more developers</li>
<li>people can ask questions about the idea (either technical details or just to check that its a problem similar to theirs)</li>
<li>People can vote on ideas <span style="color:#a5a5a5;">(no need to sign up )</span></li>
<li>The ideas with most votes (that are doable) will be the ones that will be implemented by developer during “Help a Scientist Day”</li>
</ul>
<p>So, we need to organize this day, please comment on <a href="https://plus.google.com/b/114172855713532113103/" target="_blank">G+</a> so we can get this going</p>
<p>Cheers</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/900/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/900/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/900/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/900/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/900/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/900/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/900/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/900/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/900/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/900/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/900/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/900/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/900/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/900/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=900&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/11/22/programming-science/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting out with XNA? some handy links</title>
		<link>http://roundcrisis.com/2011/11/07/starting-out-with-xna-some-handy-links/</link>
		<comments>http://roundcrisis.com/2011/11/07/starting-out-with-xna-some-handy-links/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 21:19:03 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://roundcrisis.com/?p=887</guid>
		<description><![CDATA[XNA is the SDK from Microsoft for game development. XNA getting started tutorial. Well organized, paced  series of  XNA tutorials by a guy that teaches this. If you know nothing this is pretty good. Xna workshop. Some posts and links to learn XNA Is kinda handy to see other people&#8217;s questions Riemers XNA Tutorials. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=887&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>XNA is the SDK from Microsoft for game development.</p>
<ul>
<li><a href="http://rbwhitaker.wikidot.com/getting-started-tutorials" target="_blank">XNA getting started tutorial</a>. Well organized, paced  series of  XNA tutorials by a guy that teaches this. If you know nothing this is pretty good.</li>
<li><a href="http://www.gamedev.net/forum/145-xna-40-2011-workshop/" target="_blank">Xna workshop</a>. Some posts and links to learn XNA Is kinda handy to see other people&#8217;s questions</li>
<li><a href="http://www.riemers.net/eng/Tutorials/XNA/Csharp/series1.php" target="_blank">Riemers XNA Tutorials</a>. I think this is a link you want to keep, every time I search for something XNA related I get a post from this guy</li>
<li><a href="http://www.david-gouveia.com/2d-camera-with-parallax-scrolling-in-xna/" target="_blank">2D Camera with parallax scrolling</a>. Does what it said on the tin, very comprehensive article that also links to other interesting articles.</li>
<li><strong><a href="https://github.com/mono/MonoGame" target="_blank">Mono game</a></strong>. The good news is that there is a port <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  &#8230; &#8220;MonoGame is an open source implementation of the XNA APIs that allows developers to build 2D games that run on Android, iPhone, iPad, Mac, Linux and Windows using the same code base, or reusing existing XNA code that runs on Xbox 360 or Windows Phone 7&#8243;</li>
</ul>
<div>I ve been reading <a href="http://www.amazon.com/Learning-XNA-4-0-Development-Windows/dp/1449394620" target="_blank">Learning XNA 4.0</a> its pretty good so far, well written and easy to follow tho with enough detail.</div>
<div>If you know of other good details, please comment <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/887/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=887&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/11/07/starting-out-with-xna-some-handy-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
		<item>
		<title>TDD tools for .net developers</title>
		<link>http://roundcrisis.com/2011/07/09/tdd-tools-for-net-developers/</link>
		<comments>http://roundcrisis.com/2011/07/09/tdd-tools-for-net-developers/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 11:49:46 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://roundcrisis.com/?p=828</guid>
		<description><![CDATA[In the last few years the tooling available to .net developers for unit testing in general has matured, these are some of the tools  that I either used or heard of : Continuous Integration: Team City: I use it and really like it, simple to set up and use, if you want to try it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=828&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the last few years the tooling available to .net developers for unit testing in general has matured, these are some of the tools  that I either used or heard of :</p>
<p>Continuous Integration:</p>
<ul>
<li>Team City: I use it and really like it, simple to set up and use, if you want to try it they have a free professional edition .</li>
<li>Cruise Control.net: Open source, used it but didnt find it too friendly, I m aware a lot of people use it</li>
<li>Hudson. Originally a Java only project but there are some success stories on the .net fence, has some features unavailable in the other two mentioned above.</li>
<li>there must be something else. ?</li>
</ul>
<div>BDD Frameworks</div>
<div>
<ul>
<li>StoryQ:  This is what I use. Like it because you write C# code with some constraints and it generates reports on the behaviour. Samples: <a href="http://storyq.codeplex.com/SourceControl/changeset/view/2d36d2927f4d#src%2fStoryQ.Demo%2fDemoTest.cs" target="_blank">code</a> <a href="http://yfrog.com/h2y3mtp" target="_blank">report</a></li>
<li>Cukes/Cucumber: I remember the first time I saw cucumber in action I was really impressed, however it&#8217;s hard to get buy in for a tool that requires another language installed, probably fine for some projects, it depends a lot on the project, the company and the culture.</li>
<li>SpecFlow:  you write features in Gherkin(the cucumber spec language) that are then compiled into c# code. Nice reports, but I find the generated code hard to read&#8230; ie a bit too verbose (<a href="https://github.com/techtalk/SpecFlow-Examples/blob/master/BowlingKata/BowlingKata-MbUnit/Bowling.Specflow/ScoreCalculationAlternativesFeature.feature" target="_blank">example feature</a> <a href="https://github.com/techtalk/SpecFlow-Examples/blob/master/BowlingKata/BowlingKata-MbUnit/Bowling.Specflow/BowlingSteps.cs" target="_blank">example generated code</a>) however I wouldnt discard it totally.</li>
<li>NSpec:  You write c# code (very lambda-y)  and it generates reports.. like it even less for reasons similar to the above,  have a look at it yourself <a href="http://nspec.org/" target="_blank">here</a></li>
<li>Fit/fitnesse:  I haven&#8217;t tried it, it supposed to be very good, I ll leave that one to you (would love some feedback on this if anyone reading did try it)</li>
</ul>
<div>Unit Testing Frameworks.</div>
<div>
<ul>
<li>xUnit: a nice, compact unit test framework, I like it because it has less noise,  no setup method (ie it uses the ctor for</li>
<li>nUnit:  The most popular one.</li>
<li>mbUnit: good support for RowTests.</li>
<li>_</li>
<li>msTests: the option by Microsoft. I tried this framework when it came out, so perhaps not valid anymore. My experience with it was that the same set of test ran 20% slower. Also it had poor support for theory tests. Maybe this all changed. I will guess that anyone using this framework does it because they can&#8217;t use anything else</li>
</ul>
<div><a href="http://roundcrisis.files.wordpress.com/2011/05/unit-testing-fm.png"><img title="unit testing fm" src="http://roundcrisis.files.wordpress.com/2011/05/unit-testing-fm.png?w=202&h=300" alt="" width="202" height="300" /></a></div>
</div>
<div>Builds</div>
<div>
<ul>
<li>Psake:  powershel based DSL for building</li>
<li>Rake:  Ruby based Dsl for builds, nice to use ruby, but sometimes needing the ruby dependency is a deal breaker</li>
<li>Nant: not something I would choose, but hey if you like xml this is the way to go (if you like Xml you might want to talk to your doctor too <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</li>
<li>MSBuild:  I find it non intuitive, I thought I was being unfair so I asked in twitter what ppl thought of it. One supporter and 4 not really happy with it (see below)</li>
<li>Final Builder : a commercial option, and not a bad one to be honest. Very easy to use (drag drop style) tho not as flexible as we needed.</li>
</ul>
</div>
<div><a href="http://roundcrisis.files.wordpress.com/2011/07/capture.png"><img class="size-full wp-image-838 aligncenter" title="MsBuild" src="http://roundcrisis.files.wordpress.com/2011/07/capture.png?w=500" alt=""   /></a></div>
</div>
<div>Code Coverage</div>
<div>
<ul>
<li> NCover: does the job but I think the generated graph could be better. Running the tool was cumbersome too as far as I remember</li>
<li> dotCover : really nice and integrated with resharper, it a bit rough around the edges with lambdas and other minor things, but a tool I use day to day</li>
</ul>
</div>
<div>Feedback and anything that wasn&#8217;t mentioned yet , please feel free to comment</div>
<div>Cheers</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/828/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/828/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/828/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/828/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/828/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/828/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/828/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/828/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/828/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/828/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/828/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/828/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/828/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/828/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=828&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/07/09/tdd-tools-for-net-developers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>

		<media:content url="http://roundcrisis.files.wordpress.com/2011/05/unit-testing-fm.png?w=202" medium="image">
			<media:title type="html">unit testing fm</media:title>
		</media:content>

		<media:content url="http://roundcrisis.files.wordpress.com/2011/07/capture.png" medium="image">
			<media:title type="html">MsBuild</media:title>
		</media:content>
	</item>
		<item>
		<title>DDD Scotland. Review and Slides</title>
		<link>http://roundcrisis.com/2011/05/11/ddd-scotland-review-and-slides/</link>
		<comments>http://roundcrisis.com/2011/05/11/ddd-scotland-review-and-slides/#comments</comments>
		<pubDate>Wed, 11 May 2011 10:25:04 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://roundcrisis.com/?p=819</guid>
		<description><![CDATA[During the past weekend I was at DDD Scotland, it was great to meet all the people there. I  apologize for the amount of lolcalts that I added to my presentation (available below) and any feedback, etc more than welcome. In many ways it was good to get the presentation out of the way early [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=819&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>During the past weekend I was at DDD Scotland, it was great to meet all the people there.</p>
<p>I  apologize for the amount of lolcalts that I added to my presentation (available below) and any feedback, etc more than welcome.</p>
<iframe src='http://www.slideshare.net/slideshow/embed_code/7891964' width='500' height='410'></iframe>
<p>In many ways it was good to get the presentation out of the way early  because it meant I could focus on being out there listening to other folks smarter than me talk and meet some people.</p>
<p>After my talk I was at Gary Short&#8217;s presentation on hoe to measure performance, interesting and really well delivered. Some interesting questions too.</p>
<p>Then I was at Seb Rose talk on TDD and unit testing. It was interesting to see that you can test drive a C++ app. His advice was sound. He talked about the importance of setting a structure before starting to test. He talked about the importance of deployment. And how it was important that the tests were also clean and well designed. <a href="http://www.slideshare.net/sebrose/unit-testing-tdd-and-the-walking-skeleton" target="_blank">Link to his slides</a></p>
<p>After that there was lunch, unfortunately (or not)  I couldnt catch any of the grok talks as I was talking to people, one of the ideas we had was to open source a project (not mine :S) that would make using selenium+qunit on CI easier&#8230; will see how that goes.</p>
<p>After that I joined a talk by Toby Henderson,  The dark parts of Mono. I reallly enoyed this talk. Info about small standalone tools or libraries that you can use, with examples. Such as IKVM, Cecil, SIMD, Compiler and Gendarme.</p>
<p>Finally, I joined the &#8220;Ask the Speakers&#8221; panel, very relaxed and quite fun. We talked about the news (Mono and its future, other stuff I cant remember &#8211; please comment),  innovation and community. There is a <a href="http://www.leggetter.co.uk/2011/05/09/ddd-scotland-2011.html" target="_blank">post </a>of note that goes into some of the stuff we talked about .</p>
<p>All in all a great event, thanks to everyone for making it possible.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/819/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=819&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/05/11/ddd-scotland-review-and-slides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
		<item>
		<title>Clarifying CQRS[Udi Dahan] Spanish Translation</title>
		<link>http://roundcrisis.com/2011/04/14/clarifying-cqrsudi-dahan-spanish-translation/</link>
		<comments>http://roundcrisis.com/2011/04/14/clarifying-cqrsudi-dahan-spanish-translation/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 18:10:58 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[cqrs]]></category>
		<category><![CDATA[ddd]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[transalation]]></category>
		<category><![CDATA[udi_dahan]]></category>

		<guid isPermaLink="false">http://roundcrisis.com/?p=799</guid>
		<description><![CDATA[Hi : Recently a group of us (tho mostly Pablo Nuñez ) translated the article from Udi Dahan Clarifying CQRS. Here is the link to it, if you feel that it can be improved please just leave a comment here and I can add you to the document with edit rights. Some terms where hard [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=799&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi :</p>
<p>Recently a group of us (tho mostly <a href="http://xamlsorpresa.wordpress.com/">Pablo Nuñez</a> ) translated the article from Udi Dahan Clarifying CQRS.<a href="https://docs.google.com/document/d/1-5rmzY48aXZp3A-uaULnwU0gV7r1E1ZkEV1i5YBn-LI/edit?hl=en#"> Here is the link</a> to it, if you feel that it can be improved please just leave a comment here and I can add you to the document with edit rights. Some terms where hard to translate.</p>
<p>Thanks to Pablo, <a href="http://carlospeix.com/">Carlos Peix</a> , <a href="http://www.jorgegamba.com/blog/">Jorge Gamba</a> and everyone that retweeted and helped.</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>Hola:</p>
<p>Me pareció que el articulo de Udi Dahan, Clarifying CQRS, podría ser muy útil para la comunidad de desarrolladores hispano hablantes.</p>
<p>Así que algunos de nosotros decidimos traducirlo, aquí esta <a href="https://docs.google.com/document/d/1-5rmzY48aXZp3A-uaULnwU0gV7r1E1ZkEV1i5YBn-LI/edit?hl=en&amp;pli=1#"> el link</a> , la mayoríadel credito debe ir a <a href="http://xamlsorpresa.wordpress.com/">Pablo Nuñez</a> . Pero también gracias a las demás personas que ayudaron: <a href="http://carlospeix.com/">Carlos Peix</a> , <a href="http://www.jorgegamba.com/blog/">Jorge Gamba</a> , etc (la verdad no me acuerdo quien mas perdón:) )</p>
<p>Si tienes algún comentario o corrección simplemente deja un mensaje aquí y te puedo agregar al documento con derecho de escritura.</p>
<p>Gracias</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/799/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/799/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/799/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=799&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/04/14/clarifying-cqrsudi-dahan-spanish-translation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning CQRS. Why not using a framework is a good idea</title>
		<link>http://roundcrisis.com/2011/04/12/learning-cqrs-why-not-using-a-framework-is-a-good-idea/</link>
		<comments>http://roundcrisis.com/2011/04/12/learning-cqrs-why-not-using-a-framework-is-a-good-idea/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 11:55:32 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://roundcrisis.com/?p=794</guid>
		<description><![CDATA[I ve been talking to some people over the past few months about CQRS, particularly CQRS/ES and at some point of the conversation I get the framework question. I think the implementation of the patterns CQRS and ES is not trivial (it&#8217;s also not necessary to do both , but lets keep going) however, the escence of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=794&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ve been talking to some people over the past few months about CQRS, particularly CQRS/ES and at some point of the conversation I get the <strong>framework </strong>question.</p>
<p>I think the implementation of the patterns CQRS and ES is not trivial (it&#8217;s also not necessary to do both , but lets keep going) however, the escence of the advantages you get out of both comes from implementing the rules of the domain, in the domain. By making the state transitions explicit.</p>
<p>The number one reason why you should learn about CQRS without a framework is because, it could cloud your understanding of the domain with artificial constraints. Another important reason is that when you learn by doing, you understand the workings and shortcomings of a particular methodology.</p>
<p>That is not to say that frameworks are bad and you should never use them, but make sure that when you make a decision like that, it is a conscious one.</p>
<p>I remember one day when I was at a talk by Gregg Young, and he said: How many of you use (ms)SQL? How many of you made that conscious choice? (ie to use an relational database for storage) .  I realised then that, I didn&#8217;t make that choice or considered an option in certain cases, but what scared me the most is that I was making a bunch of assumptions as soon as anyone said &#8220;system&#8221; , it made me realise that most of those assumptions could blind me into not really considering all the options.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/794/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/794/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/794/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=794&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/04/12/learning-cqrs-why-not-using-a-framework-is-a-good-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
		<item>
		<title>CQRS/ES Presentation in Belfast yesterday</title>
		<link>http://roundcrisis.com/2011/01/21/cqrses-presentation-in-belfast-yesterday/</link>
		<comments>http://roundcrisis.com/2011/01/21/cqrses-presentation-in-belfast-yesterday/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 15:31:24 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://roundcrisis.com/?p=775</guid>
		<description><![CDATA[I was in Belfast yesterday were I was presenting what I called &#8220;CQRS/ES and friends&#8221; in NIMTUG . I had a great time thanks to all who came and thanks to the organizers. I would normally post here my presentation, but not sure its of any value, as it doesnt have much info, I use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=775&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was in Belfast yesterday were I was presenting what I called &#8220;CQRS/ES and friends&#8221; in <a href="http://nimtug.org/" target="_blank">NIMTUG </a>. I had a great time thanks to all who came and thanks to the organizers.</p>
<p>I would normally post here my presentation, but not sure its of any value, as it doesnt have much info, I use it for helping me remember what to say, if anyone want it, i can definetly post it, just add a comment here.</p>
<p>The code I was showing is a fork of  <a href="https://github.com/gregoryyoung/m-r">Super Simple CQRS code example</a> by Gregg Young</p>
<p>I have a link (bit.ly bundle) with a bunch of links about CQRS and ES, including a few other sample code bases  <a href="http://bit.ly/9LC877" target="_blank">http://bit.ly/9LC877</a></p>
<p>If you have any questions, or feedback good or bad (something missing?) please let me know by posting a comment here (if you don&#8217;t want me to publish it just say so )</p>
<p>Thanks for coming <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/775/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=775&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2011/01/21/cqrses-presentation-in-belfast-yesterday/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
		<item>
		<title>7L7W &#8211; Scala Day 1</title>
		<link>http://roundcrisis.com/2010/10/31/7l7w-chapter-4-review-scala-day-1/</link>
		<comments>http://roundcrisis.com/2010/10/31/7l7w-chapter-4-review-scala-day-1/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 15:49:58 +0000</pubDate>
		<dc:creator>roundcrisis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://roundcrisis.wordpress.com/2010/10/31/7l7w-chapter-4-review-scala-day-1/</guid>
		<description><![CDATA[In the Book Club, we are reading 7 Languages in 7 Weeks (for more info on the book club go to Dublin Alt.Net mailing list) so far a really awesome book, Its helping me have a quick view of not only different languages, but also different programing paradigms. Which is really refreshing, but hard. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=711&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the Book Club, we are reading <a href="http://www.pragprog.com/titles/btlang/seven-languages-in-seven-weeks" target="_blank">7 Languages in 7 Weeks</a> (for more info on the book club go to <a href="http://groups.google.com/group/dublinaltnet" target="_blank">Dublin Alt.Net mailing list</a>) so far a really awesome book, Its helping me have a quick view of not only different languages, but also different programing paradigms. Which is really refreshing, but hard. The thing that I like the most about the book so far , is that you do much more than a hello world, but of course, you can learn in depth, however, the author makes a really good job of explaining what’s at the core of each language, sometimes, just trying to really grasp that is a tiny bit hard , when  it’s a paradigm you are unfamiliar with it, but the effort is well worth it.</p>
<p>Anyway, since I haven’t been able to the last two meet ups, I thought I’d do a second read of the Scala chapter and put together some notes. Please note I m writing the notes as I read.</p>
<p>- Scala is a hybrid language (a mix of OO and functional)<br />
- Hints that its a different kind of language<br />
- Runs on the JVM, though given the state of Java, not sure that is any kind of insurance. Scala can use Java libraries natively, just like Iron* languages , can use .net libraries directly<br />
- Statically typed<br />
- type inference (like c#? –&gt; review)<br />
- functional concepts, like c#? it would be awesome if it added some native support for immutable types<br />
- Support immutable types, but its got some modifier ( need to check this out more in depth)<br />
- actors</p>
<p>Scala is a general purpose language, interesting that it seems to fit well many scenarios because of this OO, Functional mix<br />
Type inference seems to be not so strong<br />
Principles of functional programming that apply to Scala:<br />
- programs are made of functions<br />
- functions return a value<br />
- given the same input, a function will return the same output<br />
- side effect free</p>
<p><span style="color:#0000ff;">val</span> is immutable <span style="color:#0000ff;">var</span> not &#8230;. Likes</p>
<p>There is a full page on the book dedicated to somewhat clarifying strong vs weak and static vs dynamic  languages. I mostly agree with his points there.</p>
<p>My first impression when seeing the language was that it reminded me more to python than to java, maybe it was <span style="color:#0000ff;font-family:Courier New;"><strong>def</strong></span> .</p>
<ul>
<li>Visibility of <span style="text-decoration:line-through;">methods,</span> functions. Public is default</li>
<li>Support for tuples and ranges . In purely functional languages, tuples are used as objects. You can do multi value assignment with tuples</li>
<li>Constructors. I like Scala’s  syntax and default</li>
<li>Object instances are interesting, at first I was thinking they were like static classes in C#, but apparently not quite. As far as I understand, an object declaration in Scala is basically a singleton instance of a class definition.  However, in C# a static class is a class that can be accessed and used, without creating an instance. That makes me think that there is a cost associated with the instantiation, but I cant see any other difference. (comments on this would be appreciated)</li>
<li><span style="color:#0000ff;">traits</span>. Like an interface and an implementation all in one, generally focusing on a single concern, well that’s what the book say, however I can’t see here how you do to declare a trait separetly</li>
</ul>
<p>As Part of the exercise of Day 1 you need to find a comparison between Java and Scala(I found <a href="http://blog.lostlake.org/index.php?/archives/26-5-Things-a-Java-developer-needs-to-know-about-Scala.html" target="_blank">this</a>), one of the interesting things I learned while checking that out is that XML is supported natively, I also liked the point on moving to a more functional style of programming slowly, but with a nicer syntax.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roundcrisis.wordpress.com/711/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roundcrisis.wordpress.com/711/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roundcrisis.wordpress.com/711/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roundcrisis.wordpress.com/711/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/roundcrisis.wordpress.com/711/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/roundcrisis.wordpress.com/711/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/roundcrisis.wordpress.com/711/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/roundcrisis.wordpress.com/711/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roundcrisis.wordpress.com/711/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roundcrisis.wordpress.com/711/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roundcrisis.wordpress.com/711/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roundcrisis.wordpress.com/711/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roundcrisis.wordpress.com/711/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roundcrisis.wordpress.com/711/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roundcrisis.com&#038;blog=5261556&#038;post=711&#038;subd=roundcrisis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://roundcrisis.com/2010/10/31/7l7w-chapter-4-review-scala-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7aebde1035a2608f1a3f763d8fceaf73?s=96&#38;d=" medium="image">
			<media:title type="html">roundcrisis</media:title>
		</media:content>
	</item>
	</channel>
</rss>
