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

<channel>
	<title>Roberto Carvajal &#187; Mac Development</title>
	<atom:link href="http://robertocarvajal.org/category/mac-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://robertocarvajal.org</link>
	<description>personal blog</description>
	<lastBuildDate>Wed, 23 Feb 2011 16:43:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Do The Evolution Redux</title>
		<link>http://robertocarvajal.org/2009/04/03/do-the-evolution-redux/</link>
		<comments>http://robertocarvajal.org/2009/04/03/do-the-evolution-redux/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 20:59:20 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Mac Development]]></category>

		<guid isPermaLink="false">http://robertocarvajal.org/2009/04/03/do-the-evolution-redux/</guid>
		<description><![CDATA[I learned how to work with NSThread about 15 minutes ago, and updated my evolution simulator on the mac and got it working like I wanted to, I talked about it here. Before: After:]]></description>
			<content:encoded><![CDATA[<p>I learned how to work with <code>NSThread</code> about 15 minutes ago, and updated my evolution simulator on the mac and got it working like I wanted to, I talked about it <a href="http://robertocarvajal.org/2008/10/14/do-the-evolution/">here</a>.</p>
<p>Before:</p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/Gw6r4MI4xSE" frameborder="0" allowfullscreen></iframe></p>
<p>After:</p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/B0v1N4AfmD0" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://robertocarvajal.org/2009/04/03/do-the-evolution-redux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Independent Software Vendor</title>
		<link>http://robertocarvajal.org/2009/03/29/independent-software-vendor/</link>
		<comments>http://robertocarvajal.org/2009/03/29/independent-software-vendor/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 23:12:36 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Mac Development]]></category>

		<guid isPermaLink="false">http://robertocarvajal.org/2009/03/29/independent-software-vendor/</guid>
		<description><![CDATA[After 10 years in the freelancer world and in the middle of a mid 20s crisis I am slowly mutating into an independent software vendor. That&#8217;s the kind of people that make products out of nothing and sell them directly to the end user and make a living out of it (or try to). It [...]]]></description>
			<content:encoded><![CDATA[<p>After 10 years in the freelancer world and in the middle of a mid 20s crisis I am slowly mutating into an independent software vendor. That&#8217;s the kind of people that make products out of nothing and sell them directly to the end user and make a living out of it (or try to). It will never happen overnight, I still need to do freelance in order to survive but I can see each day how it makes sense to steer away from freelancing and start a small online store, release products or both. So I have a couple of ideas and options, so far there is one big app that seems totally fine to convert into a product, resell it and provide support. The other is a small iphone game I&#8217;m working on, it&#8217;s a very specific niche kind of game that I enjoy playing and thinking about the iphone version gave me this gut feeling that I&#8217;ll follow. I have absolutely no idea if any of this things will became real products and end up paying 100% of my bills but I know for sure I want to do them and I want to stop living the freelancer lifestyle for a time.</p>
<p>So, I want to document all the development process and learn as much as I can from this first try at making a product and a game so you are going to read more about this as I work on them.</p>
<p>Of course if everything fails, I can get back to freelancing or get a full time job for the first time (&#8220;riiiiiiight&#8221;)..</p>
]]></content:encoded>
			<wfw:commentRss>http://robertocarvajal.org/2009/03/29/independent-software-vendor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do The Evolution</title>
		<link>http://robertocarvajal.org/2008/10/14/do-the-evolution/</link>
		<comments>http://robertocarvajal.org/2008/10/14/do-the-evolution/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 18:53:19 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Mac Development]]></category>

		<guid isPermaLink="false">http://robertocarvajal.org/2008/10/14/do-the-evolution/</guid>
		<description><![CDATA[I don&#8217;t really remember if I learned Darwin&#8217;s theory of evolution by the means of natural selection at school, I was attending to a catholic school but as far as I know we never read the bible literally so evolution shouldn&#8217;t conflict with god and we must had been taught about it but I just [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t really remember if I learned Darwin&#8217;s theory of evolution by the means of natural selection at school, I was attending to a catholic school but as far as I know we never read the bible literally so evolution shouldn&#8217;t conflict with god and we must had been taught about it but I just don&#8217;t remember, instead I do remember the day I decided to deeply involve my life with computers, I was a kid watching a documentary on TV and they showed computer simulated creatures that evolved to accomplish a certain goal like move in different environments such as land or water, they also of course explained the theory of evolution which is the foundation of their research. I was so amazed by that show that I truly decided I will some day do the same and became a computer scientist, that show changed my life and opened my mind to the sciences, which in turn gave me a wonderful world where faith and belief are useless, I can&#8217;t thank them enough.</p>
<p>I found parts of the show on youtube and here they are:</p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/oCXzcPNsqGA" frameborder="0" allowfullscreen></iframe></p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/b1rHS3R0llU" frameborder="0" allowfullscreen></iframe></p>
<p>Time went by and my computer skills got better, at some point I taught myself how to write software at the same time I had to learn how to read and write in english to understand the books I was &#8220;reading&#8221;, so when I say I&#8217;m autodidact I really mean it.</p>
<p>Many years later I started reading about religion and evolution and all that controversy around it in the US, this time I was of course completely atheist and a decent programmer, I found another video, this time on youtube that explained how evolution really works. Inside this brilliant video the author runs a software with small creatures that shows a basic feature of many creatures as they change it&#8217;s color to mimic their environment, those creatures that mix the best with their environment have less chance to get eaten by predators, some of them die randomly and the remaining ones get a chance to pass their genes to the next generation with a small probability of a small mutation, the process is repeated over and over and something wonderful happens, this small organisms start to gradually change their color and mix with the environment.</p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/SeTssvexa9s" frameborder="0" allowfullscreen></iframe></p>
<p>Then as a video response I found a Windows version of the same:</p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/n9e2Rs-pQ_o" frameborder="0" allowfullscreen></iframe></p>
<p>Then it hit me! I could try to do the same for the mac, since I wanted to learn how to program on the mac anyways, this is the perfect way to get started!.. so I got myself a couple of beers and a weekend, I learned the basics of Objective-C and Cocoa and this is the result.</p>
<p>WARNING: Beware I&#8217;m a complete n00b in the Mac OS X development world, my familiarity with Cocoa is 3 days old and I just got my books yestarday so don&#8217;t expect a piece of art here:</p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/Gw6r4MI4xSE" frameborder="0" allowfullscreen></iframe></p>
<p>Of course the code sucks, I use pseudo-random number generators and a very rough mix and mutation algorithm, but the point is, it seems to work, I was happy and smiling :)</p>
<p>Bonus Track (I couldn&#8217;t resist):</p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/3C9CH3q9PLI" frameborder="0" allowfullscreen></iframe></p>
<p><iframe title="YouTube video player" width="500" height="390" src="http://www.youtube.com/embed/YXYRkp2HZto" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://robertocarvajal.org/2008/10/14/do-the-evolution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

