<?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>HCoder.org</title>
	<atom:link href="http://hcoder.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://hcoder.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 01 Sep 2010 17:51:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Flattr: microdonations rock!</title>
		<link>http://hcoder.org/2010/08/31/flattr-microdonations-rock/</link>
		<comments>http://hcoder.org/2010/08/31/flattr-microdonations-rock/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 20:44:56 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=461</guid>
		<description><![CDATA[Ever since I discovered Flattr I was really excited about it. Back then it was a closed beta, only-by-invitation service, and I couldn&#8217;t get hold of an invitation before they opened it to everyone. Of course I signed up, tried it out and looked for content to &#8220;flattr&#8221; right away. I think the idea is [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I discovered Flattr I was really excited about it. Back then it was a closed beta, only-by-invitation service, and I couldn&#8217;t get hold of an invitation before they <a href="http://blog.flattr.net/2010/08/open-beta/">opened it to everyone</a>.</p>
<p>Of course I signed up, tried it out and looked for content to &#8220;flattr&#8221; right away. I think the idea is great, and I can&#8217;t really complain about the implementation either. The service feels really easy to use and understand, and there are many extensions and plugins to integrate with different tools, including the <a href="http://wordpress.org/extend/plugins/flattr/">WordPress plugin</a> I&#8217;m using.</p>
<p>How does Flattr work then? Basically, you pay a fixed amount of money per month (you choose how much of course!), and you click &#8220;Flattr&#8221; buttons of the content you find interesting on the internet. At the end of the month, the money you paid is divided between the number of buttons you clicked, and each of those &#8220;slices&#8221; will be given to each author. You can watch the video below for a better explanation:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/9zrMlEEWBgY?fs=1&amp;hl=es_ES" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/9zrMlEEWBgY?fs=1&amp;hl=es_ES" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>The only downside is that the money Flattr gets for every transaction is a bit high (<a href="http://https://flattr.com/support/faq">10%</a>), but I really like the idea and the service and I feel it&#8217;s something I have to support. Because, as the <a href="http://questioncopyright.com/">Question Copyright</a> folks say, &#8220;<a href="http://questioncopyright.com/qco-t-ctnt-m.html">I <strong>am</strong> the content industry</a>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/08/31/flattr-microdonations-rock/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Not a Number: our first concert</title>
		<link>http://hcoder.org/2010/08/30/not-a-number-our-first-concert/</link>
		<comments>http://hcoder.org/2010/08/30/not-a-number-our-first-concert/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 11:45:44 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[band]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[not a number]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=443</guid>
		<description><![CDATA[It&#8217;s kind of funny how the whole thing started. I had gone to some drum lessons and had an electronic drumkit at home&#8230; but hadn&#8217;t played that much and didn&#8217;t have anyone to play with, so I was worried that I&#8217;d lose motivation and drop drumming. So I talked to Chris because he played bass [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s kind of funny how the whole thing started. I had gone to some drum lessons and had an electronic drumkit at home&#8230; but hadn&#8217;t played that much and didn&#8217;t have anyone to play with, so I was worried that I&#8217;d lose motivation and drop drumming. So I talked to Chris because he played bass (and he liked Jazz!), we met at my place and had a mini-jam-session. But hey, only bass and drums can have only so much fun. So he proposed we looked for someone else and add some &#8220;spice&#8221; to the mix.</p>
<p>So I sent a message to some internal company mailing list to see if there was anyone interested. And boy were they interested. <em>Four</em> people replied, and the best is that it was a singer, two guitar players and a piano player. So we decided to look for a place to rehearse, found the amazing <a href="https://www.ovingshotellet.no/">Øvingshotellet</a> and gave it a try. One of the guitar players was really put off by Jazz, so ended up being five: voice, guitar, piano, bass and drums.</p>
<p>It was funny because I was exceptionally bad at the time (October 2009; now I&#8217;m just very bad), and had never played Jazz before. And of course Jazz is the scariest style to start with, <em>also</em> when you play drums. But somehow we managed to stick together and play for another week, and another, and another, and after some months someone said &#8220;we should start looking for a gig, you know? So we have a goal to focus on and all that. Otherwise this will just be fooling around&#8221;. We were a bit scared of playing in front of people because we didn&#8217;t sound that great (not that we sound that great <em>now</em>, but it was definitely much worse back then). Somewhere in the middle of that we decided to choose &#8220;Not a Number&#8221; as a band name (the story is longer and more complicated&#8230; and boring, so I&#8217;ll skip it). I even made a <a href="http://hcoder.org/wp-content/uploads/2010/08/nan.png">funny logo</a> resembling <a href="http://en.wikipedia.org/wiki/Nine_Inch_Nails">another band</a>&#8216;s logo.</p>
<p>And it happened: we got this opportunity to play in Opera&#8217;s 15th anniversary Summer Party last Friday, August 27th, and we went for it. Unfortunately the only recordings we have are of dubious quality, but hey, it&#8217;s what we got. And after the next-to-disaster situation we experienced right before the gig, exemplified by the comic below, it&#8217;s not such a tragedy that we didn&#8217;t end up with a proper recording.<a href="http://hcoder.org/wp-content/uploads/2010/08/ewbte-concert.png"><img class="aligncenter size-medium wp-image-447" title="Everything went better than expected: concert edition" src="http://hcoder.org/wp-content/uploads/2010/08/ewbte-concert-263x300.png" alt="" width="263" height="300" /></a>The gig was quite short, only 5 songs, but we felt really good while playing and had a lot of fun. Apparently some people liked it even! And we were lucky enough to even have a &#8220;guest star&#8221; playing sax in the last two songs. The <a href="http://manooh.com/music/NAN/2010_08_27_summer_party/2010-08-27_summer_party.zip">set list</a> was:</p>
<ol>
<li><a href="http://manooh.com/music/NAN/2010_08_27_summer_party/01_NAN_Maiden_Voyage.ogg">Maiden Voyage</a></li>
<li><a href="http://manooh.com/music/NAN/2010_08_27_summer_party/02_NAN_Some_Day.ogg">Some Day My Prince Will Come</a></li>
<li><a href="http://manooh.com/music/NAN/2010_08_27_summer_party/03_NAN_High_And_Dry.ogg">High &amp; Dry</a></li>
<li><a href="http://manooh.com/music/NAN/2010_08_27_summer_party/04_NAN_Autumn_Leaves.ogg">Autumn Leaves</a></li>
<li><a href="http://manooh.com/music/NAN/2010_08_27_summer_party/05_NAN_Summertime.ogg">Summertime</a></li>
</ol>
<p>If someone had told me this &#8220;playing with Chris at my place so I don&#8217;t get bored of drums&#8221; was going to end up like this&#8230;</p>
<p><strong>UPDATE:</strong> It seems some people have trouble downloading or listening to Ogg files, so I&#8217;ve uploaded the recordings to <a href="http://soundcloud.com/">SoundCloud</a> and I&#8217;ve embedded the concert recordings down here:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="185" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowscriptaccess" value="always" /><param name="src" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fnot-a-number-band%2Fsets%2Fsummer-party-concert-aug-2010&amp;secret_url=false" /><embed type="application/x-shockwave-flash" width="100%" height="185" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fnot-a-number-band%2Fsets%2Fsummer-party-concert-aug-2010&amp;secret_url=false" allowscriptaccess="always"></embed></object> <span><a href="http://soundcloud.com/not-a-number-band/sets/summer-party-concert-aug-2010">Summer Party Concert &#8211; Aug 2010</a> by <a href="http://soundcloud.com/not-a-number-band">Not a Number</a></span></p>
<p><span><strong>UPDATE 2:</strong> And now also in HTML5 (you&#8217;ll only see it if you have a modern, decent browser):</span></p>
<p><span>Maiden Voyage:</span></p>
<p><span><audio src="http://manooh.com/music/NAN/2010_08_27_summer_party/01_NAN_Maiden_Voyage.ogg" controls preload> </audio></span></p>
<p><span>Some Day My Prince Will Come:</span></p>
<p><span><audio src="http://manooh.com/music/NAN/2010_08_27_summer_party/02_NAN_Some_Day.ogg" controls preload> </audio></span></p>
<p><span>High &amp; Dry:</span></p>
<p><span><audio src="http://manooh.com/music/NAN/2010_08_27_summer_party/03_NAN_High_And_Dry.ogg" controls preload> </audio></span></p>
<p><span>Autumn Leaves:</span></p>
<p><span><audio src="http://manooh.com/music/NAN/2010_08_27_summer_party/04_NAN_Autumn_Leaves.ogg" controls preload> </audio></span></p>
<p><span>Summertime:</span></p>
<p><span><audio src="http://manooh.com/music/NAN/2010_08_27_summer_party/05_NAN_Summertime.ogg" controls preload> </audio></span></p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/08/30/not-a-number-our-first-concert/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://manooh.com/music/NAN/2010_08_27_summer_party/01_NAN_Maiden_Voyage.ogg" length="7120675" type="audio/ogg" />
<enclosure url="http://manooh.com/music/NAN/2010_08_27_summer_party/02_NAN_Some_Day.ogg" length="3200240" type="audio/ogg" />
<enclosure url="http://manooh.com/music/NAN/2010_08_27_summer_party/03_NAN_High_And_Dry.ogg" length="6016667" type="audio/ogg" />
<enclosure url="http://manooh.com/music/NAN/2010_08_27_summer_party/04_NAN_Autumn_Leaves.ogg" length="6042071" type="audio/ogg" />
<enclosure url="http://manooh.com/music/NAN/2010_08_27_summer_party/05_NAN_Summertime.ogg" length="5570701" type="audio/ogg" />
		</item>
		<item>
		<title>Review: iRiver Spinn</title>
		<link>http://hcoder.org/2010/08/16/review-iriver-spinn/</link>
		<comments>http://hcoder.org/2010/08/16/review-iriver-spinn/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 17:08:33 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[iriver]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[ogg]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[spinn]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=431</guid>
		<description><![CDATA[Last time I travelled by train I was dumb enough to leave my portable music player behind. I tried calling the Lost + Found office, where much more expensive and fancy items had been collected, to no avail. So the search for a new player began. My basic requirement was that it must play Ogg [...]]]></description>
			<content:encoded><![CDATA[<p>Last time I travelled by train I was dumb enough to leave my portable music player behind. I tried calling the Lost + Found office, where much more expensive and fancy items had been collected, to no avail. So the search for a new player began.</p>
<p>My basic requirement was that it must play <a href="http://en.wikipedia.org/wiki/Vorbis">Ogg Vorbis</a>, and ideally also <a href="http://en.wikipedia.org/wiki/Flac">Flac</a>, apart from MP3. I didn&#8217;t want to spend a lot of time comparing and looking for the ideal player, and of course I didn&#8217;t want it to be very expensive, but I didn&#8217;t really have more requirements that the music formats.</p>
<p>Long story short, I ended up buying an <a href="http://en.wikipedia.org/wiki/Iriver">iRiver</a> Spinn. One of the reasons was that it was relatively cheap, and another reason was that I thought it was nice supporting iRiver, to my knowledge the first company that really cared about Ogg Vorbis as a format for portable music players, many years ago.</p>
<p>I have to say I&#8217;m disappointed with it. While I don&#8217;t have such strong feelings about music players and it&#8217;s not like I&#8217;m not going to use it, there are a number of things that were (negatively) surprising or didn&#8217;t meet my expectations:</p>
<ul>
<li>It has trouble with UTF-8. I&#8217;m sorry, last time I checked it was 2010. iRiver guys, <strong>W T F</strong> ?</li>
<li>I have had a bunch of problems (many of them unresolved) with the song order. I <em>have</em> set the track order in the tags, but it still gets the order wrong. Typically it orders alphabetically by <em>title</em> in the tag (<em>not filename</em>). How the fuck is that useful?</li>
<li>It has a touchscreen, which most of the time you don&#8217;t really have to use&#8230; but it&#8217;s not exactly responsive, so <em>when</em> you have to use it it&#8217;s very annoying.</li>
<li>When I turned it on for the first time, it seemingly had a lot of songs already loaded. When you tried to play any of them, it would do nothing so it was quite confusing. Navigating through the menus (inside a menu called &#8220;SET&#8221; -&gt; &#8220;Advanced&#8221;) I found a &#8220;Rebuild library&#8221; option. Using that option &#8220;refreshes&#8221; the idea the player has of what your library looks like, and of course it turned out empty (ie. no sample tracks included by default). Also, every time you copy or delete new music you are apparently expected to use that option again. While I don&#8217;t mind having to do it as I don&#8217;t copy/remove music very often, it&#8217;s just dumb and bad design.</li>
<li>The USB cable you need to charge/load songs is not a standard mini-USB. From what I can see it&#8217;s a <em>proprietary</em> USB cable, which is an amazingly moronic design decision to make. If I lose that cable I&#8217;ll probably not buy another one from them, I&#8217;ll just buy a new player and never again buy from iRiver.</li>
</ul>
<p>In summary, I&#8217;m not going to throw it away or anything, but I&#8217;m disappointed with the iRiver Spinn. When I stop using it, I&#8217;m going to consider stop using those altogether and just start using my phone for listening to music. It might turn out to be cheaper, more practical and less disappointing.</p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/08/16/review-iriver-spinn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From pseudo-code to code</title>
		<link>http://hcoder.org/2010/08/10/from-pseudo-code-to-code/</link>
		<comments>http://hcoder.org/2010/08/10/from-pseudo-code-to-code/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 20:45:16 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[automated tests]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[testability]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=416</guid>
		<description><![CDATA[This post is probably not about what you&#8217;re thinking. It&#8217;s actually about automated testing. Different stuff I&#8217;ve been reading or otherwise been exposed to in the last weeks has made me reach a sort of funny comparison: code is (or can be) like science. You come up with some &#8220;theory&#8221; (your code) that explains something [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post is probably not about what you&#8217;re thinking. It&#8217;s actually about automated testing.</em></p>
<p>Different stuff I&#8217;ve been reading or otherwise been exposed to in the last weeks has made me reach a sort of funny comparison: code is (or can be) like science. You come up with some &#8220;theory&#8221; (your code) that explains something (solves a problem)&#8230; and you make sure you can <em>measure</em> it and <em>test</em> it for people to believe your theory and build on top of it.</p>
<p>I mean, something claiming to be science that can&#8217;t be easily measured, compared or peer-reviewed would be ridiculous. Scientists wouldn&#8217;t believe in it and would certainly not build anything on top of it because the foundation is not reliable.</p>
<p>I claim that software should be the same way, and thus it&#8217;s ridiculous to trust software that doesn&#8217;t have a good test suite, or even worse, that may not even be particularly testable. Trusting software without a test suite is not <em>that</em> different from taking the word of the developer that it &#8220;works on my machine&#8221;. Scientists would call untested science <em>pseudo-science</em>, so <em>I</em> am tempted to call code without tests <em>pseudo-code</em>.</p>
<p>Don&#8217;t get me wrong: sure you can test by hand, and hand-made tests are useful and necessary, but that only proves that the exact code you tested, without any changes, works as expected. But you know what? <em>Software changes all the time</em>, so that&#8217;s not a great help. If you don&#8217;t have a way to <strong>quickly</strong> and <strong>reliably</strong> measure how your code behaves, <em>every time you make a change</em> you are taking a leap of faith. And the more leaps of faith you take, the less credible your code is.</p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/08/10/from-pseudo-code-to-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Book review: The Black Swan</title>
		<link>http://hcoder.org/2010/07/17/book-review-the-black-swan/</link>
		<comments>http://hcoder.org/2010/07/17/book-review-the-black-swan/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 21:17:24 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[book depository]]></category>
		<category><![CDATA[books]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=403</guid>
		<description><![CDATA[I was recommended this book some time ago by a friend, and after checking the summary I added it to my list of book to read right away. This book is the first book I have tried to read using the &#8220;How to Read a Book&#8221; method, so take my opinion with an extra grain [...]]]></description>
			<content:encoded><![CDATA[<p>I was recommended this book some time ago by a friend, and after checking the summary I added it to my list of book to read right away. This book is the <em>first</em> book I have tried to read using the &#8220;<a href="http://pne.people.si.umich.edu/PDF/howtoread.pdf">How to Read a Book</a>&#8221; method, so take my opinion with an extra grain of salt: probably my experience reading it would have been very different if I had read it the usual way.</p>
<p>So, the executive summary would be that the ideas in the book are quite interesting, but it&#8217;s way too long and it&#8217;s often, in my opinion, annoying to read due to the author&#8217;s arrogance (you can probably imagine what I mean by looking at his website &#8220;<a href="http://fooledbyrandomness.com/">Fooled By Randomness</a>&#8220;).</p>
<p>The rest of this post is my random notes that <em>sort of</em> serve as a summary. They&#8217;re meant mostly <em>for myself</em> (or at least someone who has actually read the book) and probably fairly bad, but hey, it&#8217;s the first book I read like this, so bear with me. If you haven&#8217;t read the book and want to read them anyway, at least you have to know what a &#8220;<a href="http://en.wikipedia.org/wiki/Black_Swan_Theory">Black Swan</a>&#8221; is: it&#8217;s an event that it&#8217;s basically unpredictable, and changes the world in a substantial way. Just go to Wikipedia and check it out.</p>
<ul>
<li> From page 8: History is opaque. Reasons:
<ul>
<li>Illusion of understanding: the world is more complex and random that everyone thinks.</li>
<li>Retrospective distortion: we assess matters after the fact and look for tidy, regular explanations.</li>
<li>Overvaluation of factual information and experts: we &#8220;Platonify&#8221; the world.</li>
</ul>
</li>
<li>Page 12 (about the second point above): history makes jumps, not small increments of change. Yet we believe in nice, tidy, incremental changes.</li>
<li>Page 30: About scalable vs. non-scalable jobs (writer vs. nurse; getting paid for your time or not), &#8220;talent&#8221; comes from success, not the other way around.</li>
<li>Page 49: the book is not about avoiding risks, but about knowing which ones to take and know what we don&#8217;t know.</li>
<li>Page 50: Black Swan blindness, related themes:
<ul>
<li>We focus on preselected segments and generalise from them: confirmation error.</li>
<li>We believe in tidy explanations: the narrative fallacy.</li>
<li>We behave as if Black Swans don&#8217;t exist.</li>
<li>We don&#8217;t see all it&#8217;s there: we hide Black Swans under other explanations.</li>
<li>We &#8220;tunnel&#8221;: we focus on well-defined sources of information.</li>
</ul>
</li>
<li>Page 58, about the &#8220;confirmation error&#8221; above. Experiment: given 2, 4 and 6, people are asked to guess the rule they follow. Each person can give any number of three-number series and the experimenters will say if the series follows the rule. In that experiment, people tend to first build a theory and then try to confirm it. So, most people never guess that it&#8217;s simply &#8220;ascending numbers&#8221;.</li>
<li>Page 71, about people behaving as if Black Swans didn&#8217;t exist: When you remember something, you change the story at each remembrance. We renarrate the past to make it &#8220;more logical&#8221;.</li>
<li>Page 114, about hiding Black Swans under other explanations: We don&#8217;t hear the stories of the non-successful, so the information we have comes mostly from the lucky ones.</li>
<li>Page 120, still about the same topic: When survival is in play, we look for cause and effect. We believe in the &#8220;because&#8221; and not in randomness. It may have been just luck, but we always try to find a cause.</li>
<li>Page 138 has a summary about chapter 10 (all notes up to and including page 158 belong to this chapter). There are two main topics in this chapter: (a) we are arrogant about what we think we know, and (b) that has implications when predicting. Why do we predict so much, even if we know we make so many mistakes?</li>
<li>Page 144. Ideas are sticky: once we have a theory, it&#8217;s hard to change our minds. We have trouble interpreting information that contradicts our opinions. Experiment with horse race prediction: knowing the 10 most useful variables, people predicted.  Then, when given <em>extra</em> variables, the <em>accuracy</em> of predictions <em>didn&#8217;t increase</em>, but the <em>confidence</em> in the predictions <em>did</em>.</li>
<li>Page 151: When you predict wrong, you tend to think you couldn&#8217;t know because it was an aspect you don&#8217;t know that well (e.g. about predicting the fall of the Soviet Union when having an excellent knowledge of the political workings, one would think that it turned out to be economic reasons, so you couldn&#8217;t predict it).</li>
<li>Page 158: We anchor: when we see a number before a prediction, even if it&#8217;s random and we know it, we make predictions &#8220;close&#8221; to that number. This, by the way, I had read before, I think in &#8220;<a href="http://danariely.com/the-books/">Predictably irrational</a>&#8220;.</li>
<li>Page 203: Advice: be human, admit your arrogance and ignorance. Avoid large scale, harmful predictions.</li>
<li>Page 205: Advice: put 85-90% of your resources in something very low risk, and 10-15% in something very high risk. Avoid &#8220;medium risks&#8221;.</li>
<li>Page 207: Closing tricks:
<ul>
<li>Make a difference between positive and negative contingencies. When you have a limited loss, you have to be as aggressive, speculative and &#8220;unreasonable&#8221; as you can.</li>
<li>Don&#8217;t look for the precise and local. Don&#8217;t be narrow-minded. Do not try to predict precise Black Swans. Invest in preparedness, not prediction. Infinite vigilance is not possible.</li>
<li>Seize any opportunity, or anything that looks like one. They&#8217;re much rarer than people think.</li>
<li>Beware of precise plans by governments.</li>
<li>Do not waste time trying to fight forecasters.</li>
</ul>
</li>
</ul>
<p>In summary, I liked the ideas in the book, even if sometimes I wasn&#8217;t very convinced by the arguments or the evidence provided&#8230; and it was sort of boring to read at times.</p>
<ul>
<li>
<ul></ul>
</li>
<li></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/07/17/book-review-the-black-swan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Faster than the fastest</title>
		<link>http://hcoder.org/2010/07/05/faster-than-the-fastest/</link>
		<comments>http://hcoder.org/2010/07/05/faster-than-the-fastest/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 21:08:48 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[hitler]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[meme]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[opera link]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=395</guid>
		<description><![CDATA[These are interesting times in the browser world: not only there are more browsers than ever, but now even Internet Explorer is starting to become competitive again, so in a year or two it might not even be safe to assume that every other browser is better. Go figure. So anyway, recently Opera released 10.60, [...]]]></description>
			<content:encoded><![CDATA[<p>These are interesting times in the browser world: not only there are more browsers than ever, but now even Internet Explorer is starting to become competitive again, so in a year or two it might not even be safe to assume that every other browser is better. Go figure.</p>
<p>So anyway, recently Opera released 10.60, which is awesome news because finally Linux has a modern stable release, because of the amount of new eye candy in the UI, the new supported web standards (like Geolocation or WebM video, yay!) and&#8230; because of the amazing speed (&#8220;<a href="http://www.youtube.com/watch?v=zaT7thTxyq8">much faster than a potato</a>&#8220;).</p>
<p>On Saturday, DailyTech published an <a href="http://www.dailytech.com/Opera+106+The+Worlds+Fastest+Stable+Browser+Tested+vs+IE+9/article18909.htm">article comparing the speed of several browsers</a>, Opera 10.60 included. Obviously the conclusion was that Opera is the fastest (I wouldn&#8217;t link to <em>that</em> article from <em>this</em> post if it wasn&#8217;t the case, would I? :-P), and shortly after reading that, I came across this hilarious video that sort of follows up on that:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/hUiq__WrO6w&amp;hl=es_ES&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/hUiq__WrO6w&amp;hl=es_ES&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I mean, the video even mentions <a href="http://www.opera.com/link/">Opera Link</a>, I <em>have</em> to like it :-P (although yeah, the claim is not correct, Chrome does have something similar). My favourite quotes are:</p>
<ul>
<li>&#8220;You promised innovation, but look at Opera!&#8221;</li>
<li>&#8220;Maybe Opera is hiring&#8221;</li>
</ul>
<p>And the second reminded me that yes, <a href="http://www.opera.com/company/jobs/opening/184/">we are hiring</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/07/05/faster-than-the-fastest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Book review: &#8220;97 Things Every Project Manager Should Know&#8221;</title>
		<link>http://hcoder.org/2010/06/27/book-review-97-things-every-project-manager-should-know/</link>
		<comments>http://hcoder.org/2010/06/27/book-review-97-things-every-project-manager-should-know/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 16:26:06 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[book depository]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=382</guid>
		<description><![CDATA[In the last batch of books I ordered from The Book Depository I had &#8220;97 Things Every Project Manager Should Know&#8220;. It was a thin book and one of the first to arrive, so I figured it was a good one to start. The book is a collection of 2-page articles about project management. It [...]]]></description>
			<content:encoded><![CDATA[<p>In the last batch of books I ordered from <a href="http://www.bookdepository.co.uk/">The Book Depository</a> I had &#8220;<a href="http://oreilly.com/catalog/9780596804152">97 Things Every Project Manager Should Know</a>&#8220;. It was a thin book and one of the first to arrive, so I figured it was a good one to start. The book is a collection of 2-page articles about project management. It has 198 pages, but I just read until around page 70, then &#8220;speed-read&#8221; the rest because I was so disappointed that I just wanted to get it over with. This has been the most disappointing book I&#8217;ve read in many years, and I rarely stop reading books even if I don&#8217;t like them that much (especially if they are as short as this one).</p>
<p>But I hate not trying to be constructive, and just saying that it was disappointing for <em>me</em> won&#8217;t tell you much about the possibility of it being disappointing for <em>you</em>, so here we go:</p>
<ul>
<li>The choice of articles seemed &#8220;random&#8221;: clearly some of the authors had very good things to share, but many others didn&#8217;t sound that experienced or having so much interesting to say. I could imagine <em>myself</em> writing some of those articles.</li>
<li>Many articles read like they want to give &#8220;general&#8221; advice, but extrapolating from circumstances that I may never have (like making a rule out of a &#8220;this happened to me once&#8221; kind of experience).</li>
<li>I didn&#8217;t find it &#8220;inspiring&#8221; at all, if I wasn&#8217;t a project manager already I would <em>not want</em> to become one. The idea of working as a project manager felt dry, boring, and too focused on processes.</li>
<li>Many articles feel written for someone that doesn&#8217;t have any project management experience whatsoever. That&#8217;s cool, but it&#8217;s useless for me and should have been clearer in the book I think.</li>
<li>Many other articles seem written for project managers from other industries (or even simply &#8220;managers&#8221;) that are going to start managing a software project. That is not only <em>plain useless</em> to me, it also bores me to death. Seriously, WTF is with the definitions of super basic concepts? If you don&#8217;t know what an &#8220;iteration&#8221; or a &#8220;hack&#8221; is and you won&#8217;t check yourself out of curiosity <strong>you shouldn&#8217;t be allowed to manage a software project</strong><strong>. Period.</strong></li>
<li>Many articles felt too &#8220;corporate&#8221; to me, there was too much jargon and too many references to job titles, methodologies and contractors instead of really essential stuff based on experience.</li>
<li>Reading some of the more or less interesting stuff, I couldn&#8217;t help thinking that those things would be obvious for someone who has been working as a software developer for years and wants to become a project manager because she finds it interesting.</li>
<li>Other articles were interesting, but lacked depth to make them really useful.</li>
</ul>
<p>Don&#8217;t get me wrong, there <em>are</em> useful articles, but the book as a whole doesn&#8217;t feel that useful. Certainly not worth the time reading the whole thing.</p>
<p>And finally, something that kept popping in my head, even if the comparison is unfair (it&#8217;s a different kind of book), is that this book is in many respects the opposite of the things I loved about <a href="http://oreilly.com/catalog/9780596517717">Making Things Happen</a> (an <strong>excellent</strong> book that you should read if you have any interest in project management). Oh well.</p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/06/27/book-review-97-things-every-project-manager-should-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video editing woes</title>
		<link>http://hcoder.org/2010/06/19/video-editing-woes/</link>
		<comments>http://hcoder.org/2010/06/19/video-editing-woes/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 21:07:33 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=374</guid>
		<description><![CDATA[Google Test Automation Conference. In India. Sounds great, doesn&#8217;t it? That&#8217;s what I thought too, so I applied. For that, though, I had to shoot not only one, but two videos: one explaining the full-length talk I wanted to present, and a video of a lightning talk. As both of them were related to talks, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gtac.biz/">Google Test Automation Conference</a>. In India. Sounds great, doesn&#8217;t it? That&#8217;s what I thought too, so I applied. For that, though, I had to shoot not only one, but two videos: one explaining the full-length talk I wanted to present, and a video of a lightning talk. As both of them were related to talks, I figured they&#8217;d be much better off having the slides on the video when they were referenced. That way the videos would be easier to follow and wouldn&#8217;t be just a boring static shot.</p>
<p>But that meant I had to edit video. Which I had never done before. And I figured it wouldn&#8217;t be trivial if I only wanted to use Free Software tools under Linux. I was partly wrong, because after looking around a bit I found <a href="http://www.openshotvideo.com/">OpenShot</a>, which I found pleasant enough to use (at least for my very basic, very limited needs). <em>However</em>, the final footage I used made OpenShot export <em>corrupted</em> videos. I know it was something specific to that source video (a MOV format, H.264 codec, EPICly HD resolution (1920&#215;1080) video) because I had tried to do exactly the same things with earlier, lower-resolution, MPEG-format takes, and it had worked like a charm.</p>
<p>In any case, I was sort of fucked because I couldn&#8217;t get the final edited video out, so I had to resize it and change the format somehow. I won&#8217;t list here everything I tried (that includes trying to download and use <em>several</em> programs on Windows, as well as using mencoder on Linux), but after a very long and frustrating process, only ffmpeg did the trick for me. My first attempt with ffmpeg did export the video, but with <em>awful</em> quality. After looking around a bit, I found what worked for me:</p>
<blockquote><p>ffmpeg -i original.mov -s hd720 -b 3200k resized.mpeg</p></blockquote>
<p>The trick to get a decent result was forcing the bitrate (&#8220;-b&#8221; option), which will hopefully help someone in need. Meanwhile, I&#8217;m going to stop typing so I can go back to crossing my fingers to get picked for GTAC ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/06/19/video-editing-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Midsummer Night&#8217;s Dream</title>
		<link>http://hcoder.org/2010/05/29/a-midsummer-nights-dream/</link>
		<comments>http://hcoder.org/2010/05/29/a-midsummer-nights-dream/#comments</comments>
		<pubDate>Sat, 29 May 2010 21:04:29 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=367</guid>
		<description><![CDATA[This is a quick post to say that I just came from watching &#8220;A Midsummer Night&#8217;s Dream&#8221;, played by students of the TITAN theatre school in Vigeland Sculpture Park. It was amazing, probably the most engaging and fun play I&#8217;ve seen. Admittedly, I haven&#8217;t been that many times to the theatre, but still. The actors [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick post to say that I just came from watching &#8220;A Midsummer Night&#8217;s Dream&#8221;, played by students of the <a href="http://www.titanteaterskole.no/index_eng.php">TITAN theatre school</a> in Vigeland Sculpture Park. It was <em>amazing</em>, probably the most engaging and fun play I&#8217;ve seen. Admittedly, I haven&#8217;t been that many times to the theatre, but still. The actors were really good, the play was super fun to watch and having it in the Vigeland Park, <em>moving around</em> for different scenes, made it extra enjoyable.</p>
<p>They are going to play it again <strong>tomorrow</strong> (Sunday, 30th May) so don&#8217;t miss this opportunity if you are in Oslo! One word of warning though: the actors speak pretty fast and for me it was fairly hard to follow the story by the dialogue. Luckily I knew the story so it wasn&#8217;t a problem. Thus, by all means go see them tomorrow if you can, but read a summary of the story if you don&#8217;t know it already, it will make sure you can follow everything ;-)</p>
<p><strong>Edit:</strong> forgot the time, it&#8217;s at 19:30.</p>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/05/29/a-midsummer-nights-dream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first smartphone</title>
		<link>http://hcoder.org/2010/05/23/my-first-smartphone/</link>
		<comments>http://hcoder.org/2010/05/23/my-first-smartphone/#comments</comments>
		<pubDate>Sun, 23 May 2010 15:01:51 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Freedom]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[mini]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[phones]]></category>
		<category><![CDATA[smartphone]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=361</guid>
		<description><![CDATA[I&#8217;m not really a &#8220;fancy phone&#8221; guy. Actually, some years ago I used to hate mobile phones. Luckily, things have changed, and to make a long story short, I bought a (second hand) HTC Hero after thinking of buying an Android phone for months. My first impression is fairly good: even though it&#8217;s the first [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not really a &#8220;fancy phone&#8221; guy. Actually, some years ago <a href="http://hcoder.org/2008/01/23/mobile-phones/">I used to hate mobile phones</a>. Luckily, things have changed, and to make a long story short, I bought a (second hand) HTC Hero after <a href="http://hcoder.org/2009/09/13/proprietary-vs-open-a-new-hope/">thinking of buying an Android phone</a> for months.</p>
<p>My first impression is fairly good: even though it&#8217;s the first decent Android phone and quite old now, I find it very nice to use and quite customisable (which is great, considering all the applications and widgets available for the platform). And even when using an old version of Android (1.5) I don&#8217;t find it slow. At least not enough to be irritating.</p>
<p>However, there are several annoyances and things I found out that I figured I&#8217;d share:</p>
<ul>
<li>It doesn&#8217;t automatically import SMS from the SIM card, let alone use the SIM card as the SMS storage. I find that really silly, but to be honest it doesn&#8217;t bother me <em>that</em> much. You can of course import your backed-up SMS using some utilities (I haven&#8217;t bothered).</li>
<li>It took me a good deal of effort to import my contacts from the old phone. I tried some app called vCardIO, which sounded awesome but it didn&#8217;t work for me. The final solution was using a utility called &#8220;<a href="http://www.dusystems.com/importContacts.html">Import Contacts</a>&#8221; that doesn&#8217;t seem to be in the Android Market (?). I had exported my contacts using <a href="http://wammu.eu/">gammu/wammu</a>, but I had just in case removed the X-GAMMU-* lines from it. I don&#8217;t know if it had anything to do.</li>
<li>I found the default mail application to be kind of sucky, so I looked around and found <a href="http://code.google.com/p/k9mail/">K-9 Mail</a>. I&#8217;m quite happy with it.</li>
<li>The default browser is some sort of bad joke, but luckily there&#8217;s <a href="http://www.opera.com/mobile/">Opera Mini</a>. Opera Mini 5 totally rocks, especially with <a href="http://www.opera.com/link/">Opera Link</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2010/05/23/my-first-smartphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
