<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" version="2.0">
  <channel>
    <title>Christophe Maximin Blog</title>
    <link>http://christophemaximin.com/articles.rss</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>European Web Entrepreneur in London</description>

    
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ChristopheMaximin" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
  <title>Rails, RSpec and Autotest hate your blog</title>
  <description>
    &lt;span style="float:right"&gt;&lt;img src="http://www.christophemaximin.com/files/ruby-logo.png" alt="ruby logo" /&gt;&lt;/span&gt;
&lt;p&gt;Something very &lt;a href="http://en.wikipedia.org/wiki/Irony"&gt;amusing&lt;/a&gt; happened to me, I'll try to sum it up:&lt;/p&gt;
&lt;p&gt;I'm working on a website for which I have to write a blog for it, so after I created the models for it, I create the controller for the posts with &lt;code&gt;script/generate rspec_controller admin/blog/posts&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Soon enough, I realize that (after reload of course) &lt;strong&gt;&lt;code&gt;script/autospec&lt;/code&gt; just doesn't "see" the file I just created&lt;/strong&gt;, and therefore doesn't run any test in it... The strangest thing is that &lt;strong&gt;&lt;code&gt;rake spec&lt;/code&gt; run all the tests perfectly&lt;/strong&gt;...&lt;/p&gt;

&lt;p&gt;I try many things, changing permissions, add and remove another controller to reload some "cache" that would be hidden somewhere, etc. without success&lt;/p&gt;

&lt;p&gt;So I rename the "blog" folder to "bar" ... it works; then &lt;strong&gt;I start renaming "bar" to "blog" progressively&lt;/strong&gt; to see where's the problem : 'barg' ok; 'barog' ok; 'barlog' &lt;strong&gt;no!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong style="font-size:1.5em"&gt;OF COURSE !!!&lt;/strong&gt; Obviously folders ending with log are ignored, rule made for the folder RAILS_ROOT+'/log' I guess ...&lt;/p&gt;

&lt;p&gt;I lost more than an hour on this problem, and while it's not really a problem anymore for the development of the website, since I just renamed the folder, I still don't know how to correct it... &lt;strong style="color:red"&gt;any ideas ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Gems used: rails (2.3.4), autotest-rails (4.1.0), rspec (1.2.8), rspec-rails (1.2.7.1), ZenTest (4.1.4) &lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; &lt;a href="http://twitter.com/oelmekki"&gt;Olivier&lt;/a&gt; found a quick hack before it gets fixed : remove "log/" from the exceptions list (line 29) in rspec-rails-1.2.7.1/lib/autotest/rails_rspec.rb and add "log/development.log log/production.log log/test.log log/server.log"
&lt;br /&gt;
The bug seems to be caused by the line 344 of ZenTest-4.1.4/lib/autotest.rb : &lt;code&gt;Find.prune if f =~ self.exceptions&lt;/code&gt;&lt;/p&gt;
  </description>
  <pubDate>Thu, 01 Oct 2009 15:43:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2009/10/01/rails-rspec-and-autotest-hate-your-blog#comments</comments>
  
    <category>hahaha</category>
  
    <category>wtf</category>
  
    <category>rails</category>
  
    <category>rspec</category>
  
    <category>zentest</category>
  
    <category>autotest</category>
  
    <category>rake</category>
  
  <link>http://christophemaximin.com/2009/10/01/rails-rspec-and-autotest-hate-your-blog</link>
</item>

<item>
  <title>So, next time you're going there ...</title>
  <description>
    &lt;p&gt;... please take me with you !&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Moon_landing"&gt;&lt;img src="/files/apollo-11_560x448.jpg" alt="apollo 11" /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;ul&gt;
  &lt;li&gt;40 years ago, the &lt;a href="http://en.wikipedia.org/wiki/Apollo_program"&gt;Apollo program&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Next, the &lt;a href="http://www.nasa.gov/mission_pages/constellation/main/index.html"&gt;Constellation program&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
  </description>
  <pubDate>Mon, 20 Jul 2009 19:13:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2009/07/20/next-time-you-re-going-there#comments</comments>
  
    <category>moon</category>
  
    <category>space</category>
  
    <category>ISS</category>
  
    <category>science</category>
  
    <category>really-cool</category>
  
    <category>40-years</category>
  
  <link>http://christophemaximin.com/2009/07/20/next-time-you-re-going-there</link>
</item>

<item>
  <title>Stewart / Cramer and the role the Financial News Networks</title>
  <description>
    &lt;p&gt;This is &lt;a href="http://www.huffingtonpost.com/2009/03/12/jim-cramer-on-daily-show-_n_174503.html" title="More details on the Huffington Post"&gt;the&lt;/a&gt; &lt;a href="http://www.washingtonpost.com/wp-dyn/content/linkset/2005/04/11/LI2005041100587.html"&gt;last&lt;/a&gt; &lt;a href="http://www.nytimes.com/2009/03/14/arts/television/14watc.html"&gt;episode&lt;/a&gt; of a very funny and &lt;a href="http://www.thedailyshow.com/video/index.jhtml?videoId=220252&amp;amp;title=CNBC-Gives-Financial-Advice"&gt;informative&lt;/a&gt; &lt;a href="http://www.thedailyshow.com/video/index.jhtml?videoId=220288&amp;amp;title=In-Cramer-We-Trust"&gt;saga&lt;/a&gt; a lot of people have been waiting for, enjoy (3 parts):&lt;/p&gt;

&lt;div style="text-align:center"&gt;

&lt;embed  style='float:left; clear:left;' src='http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:221516' width='360' height='301' type='application/x-shockwave-flash' wmode='window' allowFullscreen='true' allowscriptaccess='always' allownetworking='all' flashvars='autoPlay=false' bgcolor='#000000'&gt;
&lt;/embed&gt;

&lt;br style="clear:both" /&gt;&lt;br style="clear:both" /&gt;

&lt;embed style='float:left; clear:left;' src='http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:221517' width='360' height='301' type='application/x-shockwave-flash' wmode='window' allowFullscreen='true' allowscriptaccess='always' allownetworking='all' flashvars='autoPlay=false' bgcolor='#000000'&gt;
&lt;/embed&gt;

&lt;br style="clear:both" /&gt;&lt;br style="clear:both" /&gt;

&lt;embed style='float:left; clear:left;' src='http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:221518' width='360' height='301' type='application/x-shockwave-flash' wmode='window' allowFullscreen='true' allowscriptaccess='always' allownetworking='all' flashvars='autoPlay=false' bgcolor='#000000'&gt;
&lt;/embed&gt;

&lt;/div&gt;

&lt;br style="clear:both" /&gt;

&lt;p&gt;While I almost agree with Stewart on everything he said here, there was something that struck me; something that was missing, something that I think Cramer wanted to say; something that almost nobody with a career can say on American television:&lt;br /&gt;
Even if 90% of financial advisors told to NOT invest in this "fast money making scheme", a big chunk of the public would rush to the advices of the 10% who are saying how to make that quick buck. American, and for that matter, almost everyone on this planet, is somewhat interested into "how to make money quickly".&lt;br /&gt;
So what the CNBC can do ? Put itself in a corner where nobody will look at, and say boring stuff like &lt;em&gt;"well, real money is created by work; so you should probably invest into companies which do real work. It is slow, and doesn't make the 30% of the &lt;a href="http://topics.nytimes.com/top/reference/timestopics/people/m/bernard_l_madoff/index.html"&gt;other guy&lt;/a&gt;, but in 10 years, you will be happy"&lt;/em&gt;.&lt;br /&gt;
Like Cramer almost said, how can you ask somebody to ask reasonably for years and years when they see people making 5 times what they are making with the same amount invested ?&lt;/p&gt;

  </description>
  <pubDate>Fri, 13 Mar 2009 11:35:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2009/03/13/stewart-cramer-and-the-role-of-the-financial-markets-news-networks#comments</comments>
  
    <category>john-stewart</category>
  
    <category>jim-cramer</category>
  
    <category>cnbc</category>
  
    <category>financial-crisis</category>
  
    <category>blame</category>
  
  <link>http://christophemaximin.com/2009/03/13/stewart-cramer-and-the-role-of-the-financial-markets-news-networks</link>
</item>

<item>
  <title>Michael J. Nelson is now Bacon Man</title>
  <description>
    &lt;p&gt;Are you ready to eat bacon, only bacon, nothing but bacon, for a month ?&lt;br /&gt;
No condiments allowed. No syrups, or hot sauces, or pureed vegetables in the form of ketchup. No sauces at all.&lt;br /&gt;
Beverages: No juices, no V8, nothing that could be construed as “healthy”. Only water, wine and beer.&lt;/p&gt;

&lt;p&gt;Well, this guy is ready. Actually he almost did it, for the month of February:&lt;/p&gt;

&lt;object height="394" width="448"&gt;&lt;param name="movie" value="http://www.nbcchicago.com/syndication?id=39753962&amp;path=%2Fhealth%2Fdiet_fitness"/&gt;&lt;embed src="http://www.nbcchicago.com/syndication?id=39753962&amp;path=%2Fhealth%2Fdiet_fitness"  type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent" allowfullscreen="true" height="394" width="448"&gt;&lt;/embed&gt;&lt;/object&gt;

&lt;p&gt;My hero. &lt;a href="http://blog.rifftrax.com/category/month-o-bacon/"&gt;More info here&lt;/a&gt;.&lt;/p&gt;
  </description>
  <pubDate>Sun, 22 Feb 2009 06:17:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2009/02/22/michael-j-nelson-is-now-bacon-man#comments</comments>
  
    <category>bacon</category>
  
    <category>strength</category>
  
    <category>vision</category>
  
    <category>genius</category>
  
  <link>http://christophemaximin.com/2009/02/22/michael-j-nelson-is-now-bacon-man</link>
</item>

<item>
  <title>The crisis will end on November 8th at 3:30 pm</title>
  <description>
    &lt;div class="alignright"&gt;&lt;a href="http://abcnews.go.com/GMA/President44/story?id=6916695&amp;amp;page=1"&gt;&lt;img src="http://www.christophemaximin.com/files/bill-clinton-cropped.jpg" alt="bill clinton" /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p&gt;President Clinton &lt;a href="http://abcnews.go.com/GMA/President44/story?id=6916695&amp;amp;page=1"&gt;just said it&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Okay, it was meant as a joke, but his ABC news interview is worth listening to. Actually, it's &lt;strong&gt;always&lt;/strong&gt; worth listening to him.&lt;/p&gt;

&lt;p&gt;Another quote from the interview: &lt;br /&gt;
"&lt;strong&gt;It's worth reminding the American people, that for more than 230 years, everyone who bet against America lost money. It's a mistake to bet against this country over the long run.&lt;/strong&gt;"&lt;/p&gt;
&lt;hr style="clear:both;visibility:hidden" /&gt;
  </description>
  <pubDate>Fri, 20 Feb 2009 15:04:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2009/02/20/the-crisis-will-end-on-november-8th-at-3-30-pm#comments</comments>
  
    <category>bill-clinton</category>
  
    <category>clinton</category>
  
    <category>president</category>
  
    <category>obama</category>
  
    <category>economic-crisis</category>
  
  <link>http://christophemaximin.com/2009/02/20/the-crisis-will-end-on-november-8th-at-3-30-pm</link>
</item>

<item>
  <title>"It is becoming increasingly difficult to distinguish W3C specs from Onion articles"</title>
  <description>
    &lt;blockquote&gt;
&lt;p&gt;&lt;cite&gt;&lt;a href="http://diveintomark.org/archives/2009/01/07/give-part-4-captioning" title="A gentle introduction to video encoding, part 4: captioning"&gt;Mark Pilgrim&lt;/a&gt;&lt;/cite&gt;:&lt;/p&gt;
    &lt;blockquote cite="http://diveintomark.org/archives/2009/01/07/give-part-4-captioning"&gt;&lt;p&gt;&lt;abbr title="Synchronized Multimedia Integration Language"&gt;SMIL&lt;/abbr&gt; is &lt;a href="http://www.w3.org/AudioVideo/"&gt;a W3C standard&lt;/a&gt;; the most recent revision, &lt;a href="http://www.w3.org/TR/SMIL3/"&gt;&lt;abbr title="Synchronized Multimedia Integration Language"&gt;SMIL&lt;/abbr&gt; 3.0&lt;/a&gt;, was just published in December 2008.  If you printed out the &lt;abbr title="Synchronized Multimedia Integration Language"&gt;SMIL&lt;/abbr&gt; 3.0 specification on &lt;abbr title="United States"&gt;US&lt;/abbr&gt;-Letter-sized paper, it would weigh in at 395 pages.  So don’t do that.&lt;/p&gt;&lt;/blockquote&gt;

    &lt;p&gt;&lt;a href="http://delicious.com/url/d01372fa73da4044019a8ce733974a5e?show=notes_only"&gt;Also&lt;/a&gt;:&lt;/p&gt;
    &lt;blockquote cite="http://delicious.com/url/d01372fa73da4044019a8ce733974a5e?show=notes_only"&gt;&lt;p&gt;apparently, a group of interested parties has converted smilies to &lt;abbr title="Extensible Markup Language"&gt;XML&lt;/abbr&gt;. it is becoming increasingly difficult to distinguish &lt;abbr title="World Wide Web Consortium"&gt;W3C&lt;/abbr&gt; specs from Onion articles. &lt;code&gt;&amp;lt;emotionml xmlns="http://www.w3.org/2008/11/emotionml"&amp;gt;&amp;lt;emotion&amp;gt;&amp;lt;category set="humaneDatabaseLabels" name="Amusement"/&amp;gt;&amp;lt;intensity value="0.7"/&amp;gt;&amp;lt;/emotion&amp;gt;&amp;lt;/emotionml&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;

&lt;p&gt;ARE YOU FUCKING KIDDING ME ?&lt;/p&gt;

&lt;p&gt;[Via &lt;a href="http://plasmasturm.org/"&gt;Aristotle Pagaltzis&lt;/a&gt; : &lt;a href="http://plasmasturm.org/log/527/"&gt;He's not making this up&lt;/a&gt;]&lt;/p&gt;

  </description>
  <pubDate>Wed, 28 Jan 2009 20:22:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2009/01/28/it-is-becoming-increasingly-difficult-to-distinguish-w3c-specs-from-onion-articles#comments</comments>
  
    <category>w3c</category>
  
    <category>the-onion</category>
  
    <category>madness</category>
  
    <category>sparta</category>
  
  <link>http://christophemaximin.com/2009/01/28/it-is-becoming-increasingly-difficult-to-distinguish-w3c-specs-from-onion-articles</link>
</item>

<item>
  <title>The atheist bus journey</title>
  <description>
    &lt;div&gt;&lt;object type="application/x-shockwave-flash"
    	codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    	width="460"
    	height="370"
    	id="brightcovewrapper"
    	align="middle" data="http://static.guim.co.uk/static/67940/original/common/flash/brightcovewrapper.swf"&gt;
		
        &lt;param name="allowScriptAccess" value="always" /&gt;
        &lt;param name="movie" value='http://static.guim.co.uk/static/67940/original/common/flash/brightcovewrapper.swf' /&gt;
        &lt;param name="FlashVars" value="configSuffix=6526064001&amp;videoId=6526064001&amp;playerId=979376896&amp;vHeight=370&amp;vWidth=460&amp;showOverlay=true&amp;adServerURL=http%3A%2F%2Fads.guardian.co.uk%2Fhtml.ng%2Fspacedesc%3Dvideo%26system%3Dvideo%26title%3D6526064001%26site%3DNews%26url%3D%25252Fworld%25252Fvideo%25252F2009%25252Fjan%25252F06%25252Fatheist-bus%26comfolder%3DEnvironmentConservation%26keywords%3D%252CAtheism%252B%2528News%2529%252CRichard%252BDawkins%252B%2528science%2529%252CReligion%252B%2528News%2529%252CEvolution%252B%2528Science%2529%252CUK%252Bnews%252C%26series%3D%26country%3Dgbr%26region%3Deng%26city%3Dcroydon%26bandwidth%3Dcable%26tile%3D1121007" /&gt;
        &lt;param name="quality" value="high" /&gt;
        &lt;param name="bgcolor" value="#ffffff" /&gt;
		&lt;param name="wmode" value="transparent" /&gt;
	    &lt;/object&gt;


&lt;/div&gt;
&lt;p&gt;&lt;a href="http://www.guardian.co.uk/commentisfree/2009/jan/06/religion-atheism"&gt;They did it!&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congratulations to all the donors of course, to &lt;a href="http://arianesherine.blogspot.com/"&gt;Ariane&lt;/a&gt; for being so cute and effective (she's not taken yet!), and to &lt;a href="http://richarddawkins.net/"&gt;Richard&lt;/a&gt; for his support.&lt;/p&gt;

&lt;p&gt;Oh, and Happy new year and stuff.&lt;/p&gt;
  </description>
  <pubDate>Wed, 07 Jan 2009 05:10:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2009/01/07/the-atheist-bus-journey#comments</comments>
  
    <category>religion</category>
  
    <category>atheism</category>
  
    <category>ariane-sherine</category>
  
  <link>http://christophemaximin.com/2009/01/07/the-atheist-bus-journey</link>
</item>

<item>
  <title>Happy Birthday Geoffrey !</title>
  <description>
    &lt;p&gt;And thanks again for everything... see &lt;a href="http://mirmodynamics.com/"&gt;you&lt;/a&gt; (and everyone else) next time !&lt;/p&gt;

&lt;div style="text-align:center"&gt;&lt;img src="http://www.christophemaximin.com/files/mirmo_me_birthday.jpg" alt="" /&gt;&lt;/div&gt;


  </description>
  <pubDate>Sun, 14 Dec 2008 23:22:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2008/12/14/happy-birthday-mirmo#comments</comments>
  
    <category>geoffrey</category>
  
    <category>mirmo</category>
  
    <category>birthday</category>
  
    <category>paris</category>
  
    <category>friends</category>
  
  <link>http://christophemaximin.com/2008/12/14/happy-birthday-mirmo</link>
</item>

<item>
  <title>Youtube LIVE's best performance </title>
  <description>
    &lt;p&gt;I guess it was &lt;a href="http://www.youtube.com/watch?v=ZOmU_2hYVM0"&gt;Esmee Denters, performing Follow My Lead&lt;/a&gt;... That was easy, she's so lovely.&lt;/p&gt;
&lt;div style="text-align:center"&gt;&lt;a href="http://www.youtube.com/watch?v=ZOmU_2hYVM0"&gt;&lt;img src="http://www.christophemaximin.com/files/esmee-denters_youtube-live.png" alt="esmee denters on stage" /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p&gt;I liked &lt;a href="http://www.youtube.com/watch?v=0jhu1f0xrDc"&gt;DJ Mike Relm&lt;/a&gt; and &lt;a href="http://www.youtube.com/watch?v=gw2JAsaCso0"&gt;The League of Extraordinary Dancers&lt;/a&gt; too.&lt;/p&gt;
&lt;p&gt;That was very good for a premiere, I hope the Youtube LIVE 2009 will be interesting too :)&lt;/p&gt;
  </description>
  <pubDate>Sun, 23 Nov 2008 07:23:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2008/11/23/youtube-live-best-performance#comments</comments>
  
    <category>youtube</category>
  
    <category>live</category>
  
    <category>esmee-denters</category>
  
    <category>sexy</category>
  
  <link>http://christophemaximin.com/2008/11/23/youtube-live-best-performance</link>
</item>

<item>
  <title>Ruby: sprintf surprise</title>
  <description>
    &lt;p&gt;Who said &lt;em&gt;weird&lt;/em&gt; ?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;
irb(main):010:0&amp;gt; '%.2f' % (270*1.175)*0.3&lt;br /&gt;
=&amp;gt; ""&lt;br /&gt;
irb(main):011:0&amp;gt; '%.2f' % ((270*1.175)*0.3)&lt;br /&gt;
=&amp;gt; "95.17"
&lt;/p&gt;
&lt;/blockquote&gt;

  </description>
  <pubDate>Thu, 13 Nov 2008 00:24:00 +0000</pubDate>
  <author>christophe@kolibria.com (Christophe Maximin)</author>
  <comments>http://christophemaximin.com/2008/11/13/ruby-sprintf-surprise#comments</comments>
  
    <category>ruby</category>
  
    <category>sprintf</category>
  
    <category>wat</category>
  
  <link>http://christophemaximin.com/2008/11/13/ruby-sprintf-surprise</link>
</item>


  </channel>
</rss>
