<?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>Oscar Moreno Blog</title>
	<atom:link href="http://oscarmm.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://oscarmm.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 16 Mar 2011 17:34:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='oscarmm.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Oscar Moreno Blog</title>
		<link>http://oscarmm.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://oscarmm.wordpress.com/osd.xml" title="Oscar Moreno Blog" />
	<atom:link rel='hub' href='http://oscarmm.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Merging between branches in Mercurial</title>
		<link>http://oscarmm.wordpress.com/2011/03/16/merging-between-branches-in-mercurial/</link>
		<comments>http://oscarmm.wordpress.com/2011/03/16/merging-between-branches-in-mercurial/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 17:31:53 +0000</pubDate>
		<dc:creator>oscarmm</dc:creator>
				<category><![CDATA[Software development]]></category>

		<guid isPermaLink="false">http://oscarmm.wordpress.com/?p=45</guid>
		<description><![CDATA[Just a tip for not forget how to merge between branches properly. Merge from stable to default, in this example we are on stable: (All changes has to be be committed) hg commit -m "My new features" hg pull --rebase hg push hg update default //change to default branch hg merge stable // merge the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=45&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just a tip for not forget how to merge between branches properly. Merge from stable to default, in this example we are on stable:<br />
<code><br />
(All changes has to be be committed)<br />
hg commit -m "My new features"<br />
hg pull --rebase<br />
hg push<br />
hg update default //change to default branch<br />
hg merge stable // merge the stable changes<br />
hg commit -m "Merge from stable to default"<br />
hg push<br />
(Remind go again to the proper branch, if needed)<br />
hg update stable //change to stable branch<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oscarmm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oscarmm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oscarmm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oscarmm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oscarmm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oscarmm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oscarmm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oscarmm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oscarmm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oscarmm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oscarmm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oscarmm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oscarmm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oscarmm.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=45&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oscarmm.wordpress.com/2011/03/16/merging-between-branches-in-mercurial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28c447321e5b3fa52be9f1670c13790e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oscarmm</media:title>
		</media:content>
	</item>
		<item>
		<title>Mercurial,Git and SVN branch in shell prompt</title>
		<link>http://oscarmm.wordpress.com/2011/03/07/mercurial-git-and-svn-branch-in-shell-prompt/</link>
		<comments>http://oscarmm.wordpress.com/2011/03/07/mercurial-git-and-svn-branch-in-shell-prompt/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 18:27:21 +0000</pubDate>
		<dc:creator>oscarmm</dc:creator>
				<category><![CDATA[Software development]]></category>

		<guid isPermaLink="false">http://oscarmm.wordpress.com/?p=36</guid>
		<description><![CDATA[It&#8217;s usual deal with some branches if your project is big, and sometimes could be pretty dangerous changing, commiting and merging between branches, in our actual project we have three: default, stable and experimental. Last week I was commiting to default and I had to resolve a bug on stable, merge it on default, hours [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=36&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s usual deal with some branches if your project is big, and sometimes could be pretty dangerous changing, commiting and merging between branches, in our actual project we have three: default, stable and experimental. Last week I was commiting to default and I had to resolve a bug on stable, merge it on default, hours after merge the default changes to stable, in order to make a new production release, and merge also with experimental with their changes&#8230; so I had to be very careful&#8230; I though it were so cool have the branch in the shell prompt, and seems more people thinks like me, I discovered <a title="hg-prompt" href="http://sjl.bitbucket.org/hg-prompt/">http://sjl.bitbucket.org/hg-prompt/</a> it doesn&#8217;t only show the branch, also the status, bookmarks and more&#8230; really useful.</p>
<p>There are also for Git and SVN:</p>
<p><a href="http://hocuspokus.net/2009/07/add-git-and-svn-branch-to-bash-prompt/">http://hocuspokus.net/2009/07/add-git-and-svn-branch-to-bash-prompt/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oscarmm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oscarmm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oscarmm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oscarmm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oscarmm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oscarmm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oscarmm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oscarmm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oscarmm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oscarmm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oscarmm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oscarmm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oscarmm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oscarmm.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=36&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oscarmm.wordpress.com/2011/03/07/mercurial-git-and-svn-branch-in-shell-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28c447321e5b3fa52be9f1670c13790e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oscarmm</media:title>
		</media:content>
	</item>
		<item>
		<title>The importance of the comma (and TDD)</title>
		<link>http://oscarmm.wordpress.com/2010/04/07/the-importance-of-the-comma-and-tdd/</link>
		<comments>http://oscarmm.wordpress.com/2010/04/07/the-importance-of-the-comma-and-tdd/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 16:45:57 +0000</pubDate>
		<dc:creator>oscarmm</dc:creator>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://oscarmm.wordpress.com/?p=20</guid>
		<description><![CDATA[Today I was improving some code switching (inmutable) lists to tuples, after the change I run the tests, one fails and triying to find the error I discover that the tuples are not really the same than an inmutable list, at least if they have one element. The example: &#62;&#62;&#62; t = ('ES') &#62;&#62;&#62; for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=20&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was improving some code switching (inmutable) lists to tuples, after the change I run the tests, one fails and triying to find the error I discover that the tuples are not really the same than an inmutable list, at least if they have one element. The example:</p>
<p><code><br />
&gt;&gt;&gt; t = ('ES')<br />
&gt;&gt;&gt; for i in t:<br />
...    print i<br />
...<br />
E   <em>(this is one element)</em><br />
S   <em>(this is another element but I were expected both together, 'ES')</em><br />
</code><br />
And:<br />
<code><br />
&gt;&gt;&gt; t = ('ES',) <span style="color:#ff0000;"> <em>(Notice the comma)</em></span><br />
&gt;&gt;&gt; for i in t:<br />
...    print i<br />
...<br />
ES  <em>(one element, what I expected)</em><br />
</code></p>
<p>I don&#8217;t know if it&#8217;s a bug&#8230;, in lists is the same if you write or not the comma if only has one element.</p>
<p>Probably I had not discovered it until my app breaks, so remember, on tuples and lists with one element EVER use the comma too, and of course, TDD.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oscarmm.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oscarmm.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oscarmm.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oscarmm.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oscarmm.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oscarmm.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oscarmm.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oscarmm.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oscarmm.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oscarmm.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oscarmm.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oscarmm.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oscarmm.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oscarmm.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=20&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oscarmm.wordpress.com/2010/04/07/the-importance-of-the-comma-and-tdd/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28c447321e5b3fa52be9f1670c13790e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oscarmm</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://oscarmm.wordpress.com/2009/03/31/hello-world/</link>
		<comments>http://oscarmm.wordpress.com/2009/03/31/hello-world/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 08:40:57 +0000</pubDate>
		<dc:creator>oscarmm</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Yes, Hello world! not &#8220;Hola Mundo&#8221;, I have been thinking on write some technical post in English, it will be a good idea to practice my (bad) English. I will have a lot of grammar and semantic mistakes but I have a good &#8220;code debugger&#8221;, Carlos Ble<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=1&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, Hello world! not &#8220;Hola Mundo&#8221;, I have been thinking on write some technical post in English, it will be a good idea to practice my (bad) English.</p>
<p>I will have a lot of grammar and semantic mistakes but I have a good &#8220;code debugger&#8221;, <a href="http://www.carlosble.com">Carlos Ble</a> <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oscarmm.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oscarmm.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oscarmm.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oscarmm.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oscarmm.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oscarmm.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oscarmm.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oscarmm.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oscarmm.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oscarmm.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oscarmm.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oscarmm.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oscarmm.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oscarmm.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oscarmm.wordpress.com&amp;blog=7175517&amp;post=1&amp;subd=oscarmm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oscarmm.wordpress.com/2009/03/31/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28c447321e5b3fa52be9f1670c13790e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oscarmm</media:title>
		</media:content>
	</item>
	</channel>
</rss>
