<?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>J.H. Chabran</title>
	<atom:link href="http://jh.chabran.fr/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://jh.chabran.fr</link>
	<description></description>
	<lastBuildDate>Thu, 18 Mar 2010 13:52:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tip #1 : Sprockets &amp; Jspec</title>
		<link>http://jh.chabran.fr/?p=36</link>
		<comments>http://jh.chabran.fr/?p=36#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:38:40 +0000</pubDate>
		<dc:creator>J.H.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://jh.chabran.fr/?p=36</guid>
		<description><![CDATA[As I am writing an application that heavily relies on javascript, I decided to use JSpec. I always use Sprockets to manage all my files, which is by the way, really well written.
Then I asked myself &#8220;How am I going to my js files in JSpec while shrinking them through sprockets&#8221; ?
The answer is pretty [...]]]></description>
			<content:encoded><![CDATA[<p>As I am writing an application that heavily relies on javascript, I decided to use <a href="http://visionmedia.github.com/jspec/">JSpec</a>. I always use <a href="http://getsprockets.org/">Sprockets</a> to manage all my files, which is by the way, really well written.</p>
<p>Then I asked myself &#8220;How am I going to my js files in JSpec while shrinking them through sprockets&#8221; ?</p>
<p>The answer is pretty simple :</p>
<p><code>&lt;script src="http://localhost:3000/sprockets.js"&gt;&lt;/script&gt;</code></p>
<p><code> </code></p>
<p><code> </code></p>
<p><code></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;script src="http://localhost:3000/sprockets.js"&gt;&lt;/script&gt;</div>
<p></code></p>
<p>Just replace your lines that load your js files in <em>dom.html</em> by this one. Obviously, you need to fire up your rails server to run it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jh.chabran.fr/?feed=rss2&amp;p=36</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Editors or how to lock yourself</title>
		<link>http://jh.chabran.fr/?p=28</link>
		<comments>http://jh.chabran.fr/?p=28#comments</comments>
		<pubDate>Thu, 11 Mar 2010 10:05:49 +0000</pubDate>
		<dc:creator>J.H.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Opinions]]></category>

		<guid isPermaLink="false">http://jh.chabran.fr/?p=28</guid>
		<description><![CDATA[I tried every code editor out there, every IDE I could find. Six or seven years ago. I came to the conclusion that I do prefere simple editors to them, mostly because I prefer a sharp tool than a clumsy thing that tries to solve every problem. Oh sure, stuff like NetBeans or Eclipse perform [...]]]></description>
			<content:encoded><![CDATA[<p>I tried every code editor out there, every IDE I could find. Six or seven years ago. I came to the conclusion that I do prefere simple editors to them, mostly because I prefer a sharp tool than a clumsy thing that tries to solve every problem. Oh sure, stuff like NetBeans or Eclipse perform really well on Java, but I don&#8217;t code with this language, so let&#8217;s skip directly to code editors.</p>
<p>I spent something like two years with Emacs, it was great since I really enjoy Lisp but I never really liked the way the you input the shortcuts, making you holding Ctrl every couple of seconds to do something. Moreover, the way you have to setup it, installing loads of libraries, byte-compiling everything to have something still going fast was fun, but those shitloads of stuff to install can drive you crazy when something goes wrong with your install.</p>
<p>Vim had been my favorite code-editor for most of the time, maybe like five years. It&#8217;s clearly an awesome piece of software and was convinced it would be my daily companion until something better come-out. Great plugins, blazing fast editing, tons of colorschemes (yeah I like changing those  two or three times per week, mostly to visually break routine).</p>
<p>And two years ago I got a MacBook, switched from daily C++ development to Rails. Textmate always tickled me, and I finally gave it a try. I loved it. The feeling of having something modern, clean and simple, focusing on just what you need, providing new features like snippets, that cmd -T shortcut to jump to any file, it was just so cool.</p>
<p>But recently, things felt wrong. I&#8217;m using it daily for two years now and some details made me realize it&#8217;s going nowhere, which is the point in this blog post.</p>
<ul>
<li><strong>No window splitting at all</strong></li>
<li>Scripting it with your favorite language basically means writing a script which will be called by your TM script</li>
<li>You can crash it just by opening any log file</li>
<li>Colorschemes are so damn cool nobody tries to create new ones !</li>
</ul>
<p>But those are minor problems, except for the splitting issue which I really miss. The main problem is :</p>
<ul>
<li>Textmate 1 is <strong>abandoned</strong>.</li>
</ul>
<p>We&#8217;re all waiting for Textmate 2 to came out. But it&#8217;s taking ages, and sincerely like its author said, it just another Duke Nukem Forever incarnation. I even doubt it will be released, maybe because if it&#8217;s not perfect, its author will be flamed to oblivion by everyone, encouraging him to continue until its perfect. Well, it may not be the case, but currently we have no clue of a potential release date.</p>
<p>To me, Textmate is like a modern vim (ok, it&#8217;s not open-source, it sucks, but I can accept that if the tool is really awesome, which is <em>almost</em> the case). No need to look at your keyboard and asking yourself why the fuck it&#8217;s ctrl-] to jump on a help subject, it&#8217;s just simple. Another cool one : moving around in Vim with jk keys is really nice, but as I still have to use arrows to browse in my cmd history, I can&#8217;t get my fingers escaping from those arrows. For sure another shortcut must exist to do that, there are many reasons to excuse this behavior, but it&#8217;s still not &#8220;great&#8221;, it&#8217;s just cool.</p>
<p>You&#8217;ll probably think by reading this that I&#8217;m an unsatisfied programmer who can&#8217;t find its editor (which is true) but the point isn&#8217;t exactly that. I found my editor of choice. I&#8217;m raging against it because :</p>
<ul>
<li>Even if they won tons of money while selling Textmate, there&#8217;s only one developer. Come on, it&#8217;s a code editor, it&#8217;s serious business.</li>
<li>Communication around Textmate 2 is a nice example of worst practices.</li>
<li>Its author is trapped in that Babylon tower thingy, if he don&#8217;t release it, he&#8217;ll be smashed by everyone (which is already the case)</li>
<li>Its author <strong>have to release something great </strong>or everyone will flame him, write awful frustrated blog posts, Scotty will beam him up to pluto, &#8230;</li>
<li>Learning an editor is an investment, we all know that, and feeling stuck because you can&#8217;t help its author to make it great, you can&#8217;t do anything at all &#8217;cause its closed-source.</li>
<li>It feels like I bet and lost.</li>
</ul>
<p>I&#8217;m not blaming its author for its license choices, I&#8217;m okay with that, people have to eat, but that implies Macromates have duties too. A big one, update our fucking editor for god&#8217;s sake. Writing good stuff then disappearing is the best fucking way to frustrate everyone. Moreover, I&#8217;m stucked. Emacs or Vim don&#8217;t satisfy me anymore, 20 years old software rocks for stability, but there&#8217;s some evolutions we had since I&#8217;d like to have in my editor.</p>
<p>Conclusion, there must be a law against selling closed-source editors, I killed thousands of kittens with the troll potential of this blog post.</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-30" title="yeah, yet another crappy motivator." src="http://jh.chabran.fr/wp-content/uploads/2010/03/business-300x217.jpg" alt="yeah, yet another crappy motivator." width="300" height="217" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jh.chabran.fr/?feed=rss2&amp;p=28</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Stuff on my Github account</title>
		<link>http://jh.chabran.fr/?p=24</link>
		<comments>http://jh.chabran.fr/?p=24#comments</comments>
		<pubDate>Sun, 17 Jan 2010 19:38:17 +0000</pubDate>
		<dc:creator>J.H.</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://jh.chabran.fr/?p=24</guid>
		<description><![CDATA[I do own a github account and I never communicated about what is stored there, so here is a little overview of my past work and some interesting project I&#8217;m currently working on.
AddressBook is a library to fetch real addresses from Google Map around a location. I wrote it to craft fake data for a [...]]]></description>
			<content:encoded><![CDATA[<p>I do own a github account and I never communicated about what is stored there, so here is a little overview of my past work and some interesting project I&#8217;m currently working on.</p>
<p><strong><a href="http://github.com/jhchabran/address_book">AddressBook</a> </strong>is a library to fetch real addresses from Google Map around a location. I wrote it to craft fake data for a Rails application that used maps to display various models.</p>
<p><strong><a href="http://github.com/jhchabran/mailtois">Mailtois</a> </strong>is my last piece of work I had to do for school before I get graduated. It&#8217;s basically something that you plug in your Postfix on incoming messages to parse them. Your mails can now bring code and it can be executed. The main idea was to consume web services from body, like to create automagically tasks on a Redmine instance while assigning work to a co-worker. It&#8217;s just a proof-of-concept but it&#8217;s still usable.</p>
<p><strong><a href="http://github.com/jhchabran/acts_as_follower">Acts as a follower</a></strong> is Rails plugin to allow models to follow other models exactly like you would with Twitter. It basically works and provide tests.</p>
<p><strong><a href="http://github.com/jhchabran/Ruba">Ruba</a> </strong>stands for Ruby Backup. My goal here is to create a library that provides an easy way to drive your backups, maybe a DSL, instead of an already written script that is too messy to bend to your own needs. I focus on having minimal prerequisites and to maximize its predictability ( hey it&#8217;s gonna toy with your partitions ! ). It&#8217;s finally more a script generator than really library, it outputs shell commands than you can execute wherever you want with bundled classes : Local, SSH or whatever you want, meaning you don&#8217;t necessarily need to have the Ruby interpeter where you want to backup. `</p>
<p>I also have some forks, where the most interesting is <strong><a href="http://github.com/jhchabran/spree-s3-download">Spree-S3-download</a></strong><strong>.</strong> I upgraded it to the last Spree release and corrected some issues.</p>
<div class="wp-caption aligncenter" style="width: 510px"><img src="http://icanhascheezburger.files.wordpress.com/2010/01/funny-pictures-cat-will-do-science.jpg" alt="LOLCAT" width="500" height="674" /><p class="wp-caption-text">LOLCAT</p></div>
]]></content:encoded>
			<wfw:commentRss>http://jh.chabran.fr/?feed=rss2&amp;p=24</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colors, I miss them ! From GMail to Mail.app two weeks later</title>
		<link>http://jh.chabran.fr/?p=17</link>
		<comments>http://jh.chabran.fr/?p=17#comments</comments>
		<pubDate>Sun, 20 Dec 2009 11:17:25 +0000</pubDate>
		<dc:creator>J.H.</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Opinions]]></category>

		<guid isPermaLink="false">http://jh.chabran.fr/?p=17</guid>
		<description><![CDATA[I went back to GMail. Colored labels, they are clearly the killer feature. What&#8217;s funny is I didn&#8217;t know that I would miss them so hard. It&#8217;s basically something that screw up the whole color coherence in your page, but so useful.
These colors allow me to visualize and memorize with ease what I received today, [...]]]></description>
			<content:encoded><![CDATA[<p>I went back to GMail. Colored labels, they are clearly the killer feature. What&#8217;s funny is I didn&#8217;t know that I would miss them so hard. It&#8217;s basically something that screw up the whole color coherence in your page, but so useful.</p>
<p>These colors allow me to visualize and memorize with ease what I received today, and keep it in mind during the whole day.<br />
I got a pretty good visual memory, providing it colors to glue ideas to is just the best way to fix them in my mind. When my associates and I discuss about a subject, I immediately remember the concerned mail thread, because we&#8217;re talking about a &#8220;blue&#8221; or &#8220;green&#8221; subject and I can filter in my mind according to it.</p>
<p>Sure there are mailboxes too in Mail.app, but it&#8217;s not enough, it&#8217;s still different mailboxes and remembering a set of numbers is clearly not efficient as remembering a succession of colors.</p>
<p>Here, at my own little <a href="http://www.kareea.com">company</a>, we use emails for everything, tasks, notes and even reports. All of these can be solved by using different software but it feels way too much when you&#8217;re only three people working. Moreover, the killer feature is simply the search function, which let us search in &#8220;everything&#8221; we&#8217;ve done to hunt down informations, people to talk to, clients, technology. Labels on the results list are like sugar, permitting to visually understand in fraction of second to what this thread belongs to.</p>
<p>The bad part is .. Mail.app felt perfect. Hotkeys are all already in your mind because they are shared by all OSX applications, it&#8217;s fast, it&#8217;s clean and well integrated &#8230; but it lack the killer feature : colored label.</p>
<p>The good part is I finally know what really glue me to GMail so hard. I may have already known this one, but after using it daily during three years, it tends to blur itself.</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-22" title="Rawr I got mah labels" src="http://jh.chabran.fr/wp-content/uploads/2009/12/loltone-300x277.jpg" alt="Rawr I got mah labels" width="300" height="277" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jh.chabran.fr/?feed=rss2&amp;p=17</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From GMail to Mail.app, day one.</title>
		<link>http://jh.chabran.fr/?p=14</link>
		<comments>http://jh.chabran.fr/?p=14#comments</comments>
		<pubDate>Wed, 09 Dec 2009 00:16:45 +0000</pubDate>
		<dc:creator>J.H.</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Opinions]]></category>

		<guid isPermaLink="false">http://jh.chabran.fr/?p=14</guid>
		<description><![CDATA[There are mutt guys, there are Outlook guys and finally Gmail guys. That&#8217;s all the major mails clients I can think as cult subject. But today I discovered something else, not really new : Mail.app, at least to you. I was so glued to GMail that I never thought of firing it up, even just [...]]]></description>
			<content:encoded><![CDATA[<p>There are <a href="http://www.mutt.org/">mutt</a> guys, there are Outlook guys and finally Gmail guys. That&#8217;s all the major mails clients I can think as cult subject. But today I discovered something <strong>else</strong>, not really new : Mail.app, at least to you. I was so glued to GMail that I never thought of firing it up, even just to take a look at its features, to feel how Apple applied it&#8217;s designs principles to email workflow. </p>
<p>This all came up while loosing my time with all those GMail captchas which are everywhere in the password recovery process. I thought about using something else instead of raging about GMail cumbersomeness. I fired up Mail.app, configured my account with IMAP and started using it. </p>
<p>First action : activate threads to tame all those emails correctly !<br />
Then, I created some Smart Mailboxes, took a look to hotkeys and started to answer to those shiny emails. </p>
<p>It pretty looks like GMail, except it lacks a way to distinguish visually in which mailboxes threads are, like labels color used to. But it&#8217;s blazing fast, less clunky  and look nicer. Mutt is clearly the fastest, but out of my needs. Spending months configuring it is something I gave up with years ago, mostly when I decided to spend my time <em>using</em> software, not just studying it in every angle possible. </p>
<p>But it&#8217;s still day one, let&#8217;s see if it&#8217;s just a &#8220;I&#8217;m hunger of new stuff&#8221; or if I&#8217;m leaving Google&#8217;s church for real.  </p>
]]></content:encoded>
			<wfw:commentRss>http://jh.chabran.fr/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
