<?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"
	>

<channel>
	<title>Thomas Capricelli</title>
	<atom:link href="http://www.freehackers.org/thomas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freehackers.org/thomas</link>
	<description>Hacking in a Free world</description>
	<pubDate>Fri, 14 Nov 2008 13:35:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
			<item>
		<title>Mercurial bulk update</title>
		<link>http://www.freehackers.org/thomas/2008/11/14/mercurial-bulk-update/</link>
		<comments>http://www.freehackers.org/thomas/2008/11/14/mercurial-bulk-update/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 02:00:37 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Admin]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[KDE]]></category>

		<category><![CDATA[mercurial]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=143</guid>
		<description><![CDATA[I don&#8217;t know about you, but I have on a lot of different places a directory called &#8216;hg&#8217; with lot of different mercurial clones inside. Whether on the home of my several computers for my own projects, or inside other directories for external projects, and so on.
Now, remember one important aspect of distributed source control [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know about you, but I have on a lot of different places a directory called &#8216;hg&#8217; with lot of different <em>mercurial</em> clones inside. Whether on the home of my several computers for my own projects, or inside other directories for external projects, and so on.</p>
<p>Now, remember one important aspect of distributed source control : your clone is actually both a repository and a <em>working directory</em>. This is why you usually (git and others do the same) have two different commands : one to synchronize the  repository (pull) and one to update the <em>working directory</em> (update).</p>
<p>Updating comes with a risk : you can have conflicts. This is why I never update a <em>svn</em> repository without thinking first (do I have local modifications ?). But pulling is a lot less problematic. And, especially on my laptop, I often want to &#8217;sync them all&#8217; as soon as I have some internet connection. Until now i had a script <em>syncall</em> with the path of all (svn,unison and) mercurial repositories hardcoded. This does not scale, and I now need that in at least 5 different places. I dont feel like maintaining such scripts.</p>
<p>And now comes the magic alias that made my day. I&#8217;m usually lame at shell scripting, so I&#8217;m sure there are better ways. But it works, now, on my computer. And this is so useful.</p>
<pre>alias hgbulk '\ls */.hg -d | cut -d\/ -f1 | xargs -i bash -c  "(cd {}; hg pull )"'</pre>
<p>(yes, I use tcsh, but i&#8217;ve tested that in bash too. Don&#8217;t ask why I use tcsh.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/11/14/mercurial-bulk-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yet another activity graph : how often do you emerge ?</title>
		<link>http://www.freehackers.org/thomas/2008/11/13/yet-another-activity-graph-how-often-do-you-emerge/</link>
		<comments>http://www.freehackers.org/thomas/2008/11/13/yet-another-activity-graph-how-often-do-you-emerge/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 02:24:03 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Admin]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[activity]]></category>

		<category><![CDATA[portage]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=130</guid>
		<description><![CDATA[
Really, I seem to be fond of activity graphs those days. I have reused part of this previous code, but this time I parse the emerge log file to display the activity of your successful emerges. Think of it as a graphical view of &#8216;genlop -l&#8217;.
Those examples are the emerge activity of my two main [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/activity_berlioz.png"><img class="aligncenter size-medium wp-image-131" title="activity_berlioz" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/activity_berlioz-300x225.png" alt="" width="300" height="225" /></a></p>
<p>Really, I seem to <a href="http://www.freehackers.org/thomas/tag/activity/" target="_blank">be fond of activity graphs</a> those days. I have reused part of<a href="http://www.freehackers.org/thomas/2008/10/31/activity-extension-for-mercurial/" target="_blank"> this previous code</a>, but this time I parse the emerge log file to display the activity of your successful emerges. Think of it as a graphical view of &#8216;genlop -l&#8217;.</p>
<p>Those examples are the emerge activity of my two main computers.</p>
<p>The current code does the bare minimum, and  I need to add at least command line options for</p>
<ul>
<li>logfile to use (currently/default : /var/log/emerge.log)</li>
<li>filename to create (currently/default : activity.png)</li>
<li>width/height of the image (currently/default : 800&#215;600)</li>
</ul>
<p>The usage is straightforward:</p>
<pre>orzel@berlioz EmergeActivity% ./EmergeActivity.py</pre>
<pre>There are 9896 emerge completed successfully</pre>
<pre>Created the file 'activity.png'</pre>
<pre>orzel@berlioz EmergeActivity% xv activity.png &amp;</pre>
<p>You can grab the source (browse, tarballs, mercurial clone, even RSS) from :</p>
<p><a href="http://sources.freehackers.org/hg.cgi/EmergeActivity/" target="_blank">http://sources.freehackers.org/hg.cgi/EmergeActivity/</a></p>
<p style="text-align: center;"><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/activity_verdi.png"><img class="size-medium wp-image-132 aligncenter" title="activity_verdi" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/activity_verdi-300x225.png" alt="" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/11/13/yet-another-activity-graph-how-often-do-you-emerge/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Full blown kde-aware opale version</title>
		<link>http://www.freehackers.org/thomas/2008/11/12/full-blown-kde-aware-opale-version/</link>
		<comments>http://www.freehackers.org/thomas/2008/11/12/full-blown-kde-aware-opale-version/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 03:55:43 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[KDE]]></category>

		<category><![CDATA[MacOS]]></category>

		<category><![CDATA[opale]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=120</guid>
		<description><![CDATA[
Since the release of opale-0.9, I have mostly worked on improving the (optional) KDE integration. And now if KDE is available, opale will use things like : KMainWindow, KApplication (session management..), XML GUI, KFileDialog and specific menu entries (Switch application language, configure shortcuts/toolbars, KDE-aware recent files submenu,&#8230;).
While I was there, the Qt-only version now also [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_121" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/opale-010pre-kde.png"><img class="size-medium wp-image-121" title="opale-010pre-kde" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/opale-010pre-kde-300x203.png" alt="KDE version of opale" width="300" height="203" /></a><p class="wp-caption-text">KDE version of opale</p></div>
<p>Since the <a href="http://www.freehackers.org/thomas/2008/11/11/opale-ported-to-qt4-and-kde4/" target="_blank">release of opale-0.9</a>, I have mostly worked on improving the (optional) KDE integration. And now if KDE is available, opale will use things like : KMainWindow, KApplication (session management..), XML GUI, KFileDialog and specific menu entries (Switch application language, configure shortcuts/toolbars, KDE-aware recent files submenu,&#8230;).</p>
<p>While I was there, the Qt-only version now also has a &#8216;recent files&#8217; dialog popping-up at the start if no file is given on the command line (my personal top-missing feature).</p>
<p>Now, <a href="http://illogic-al.org/blog/add-much" target="_blank">some people noticed</a> that I want to port Opale to the Mac. I have an old ibook lying here, but MacOS has died and I need to re-install it before trying qt/Mac (that I have never tested yet).</p>
<p>As an answer to your blog entry, Orville (I guess that&#8217;s your first name, right?):</p>
<ul>
<li>The kde version is now really finished, please try if you want.</li>
<li>I guess there&#8217;s no menu on the screenshot because Mac still has those on the top of the screen, right ?</li>
<li>I would be delighted if you could provide testing on the mac. You can find me on freenode as <em>orzel</em>.</li>
<li>I&#8217;m also interested with hints about the interface, I&#8217;m not afraid of you being <em>mean</em>.</li>
<li>What&#8217;s the problem with my help menu ? Everything&#8217;s fine here. Use the &#8216;report a bug&#8217; entry in the very same menu!</li>
<li>Don&#8217;t be scared by a photo <img src='http://www.freehackers.org/thomas/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p><a href="http://www.freehackers.org/Opale" target="_blank">Opale homepage</a></p>
<p><a href="http://labs.freehackers.org/projects/show/opale" target="_blank">Project page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/11/12/full-blown-kde-aware-opale-version/feed/</wfw:commentRss>
		</item>
		<item>
		<title>KDE standard aboutbox is kind of close-minded</title>
		<link>http://www.freehackers.org/thomas/2008/11/12/kde-standard-aboutbox-is-kind-of-close-minded/</link>
		<comments>http://www.freehackers.org/thomas/2008/11/12/kde-standard-aboutbox-is-kind-of-close-minded/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 02:07:15 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=107</guid>
		<description><![CDATA[Back in the days of kde3, while writing a KDE application, I encountered quite a big problem while trying to use the aboutbox stuff from KDE (that means kaboutdata and the now called kaboutapplicationdialog). I talked to some guys on #kde-devel, and I have been told that, yes, this will be changed for KDE4.
Now that [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the days of kde3, while writing a KDE application, I encountered quite a big problem while trying to use the aboutbox stuff from KDE (that means <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKAboutData.html" target="_blank">kaboutdata</a> and the now called <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKAboutApplicationDialog.html" target="_blank">kaboutapplicationdialog</a>). I talked to some guys on #kde-devel, and I have been told that, yes, this will be changed for KDE4.</p>
<p>Now that I (mostly) use and (rarely) develop for KDE4, I have been hit again by the same problem. Before reporting to the bugtracking system of KDE, I would like to know what people think. Most importantly, do people outside of KDE proper do actually use this ?</p>
<h3>Description of the problem</h3>
<p>There is a field called  <em>bugsEmailAddress</em> in the constructor of <em>KAboutData</em>, which is used by <em>KAboutApplicationDialog</em> to decide what to display. Using this field, something like</p>
<pre>"Please report bugs to &lt;a href=\"mailto:%1\"&gt;%2&lt;/a&gt;.\n"</pre>
<p>will be used to display the link in the about box. What does it mean ? First, it means that it is not possible to have a link to a web bug tracker. You need to provide a mail, and nothing else. Seeing how common are web bugtrackers, this is rather strange.</p>
<p>Though&#8230; what about KDE&#8217;s own applications ? The default value for <em>bugsEmailAddress</em> is &#8220;submit@bugs.kde.org&#8221;. So far, it makes perfectly sense. But if you open any KDE application, you&#8217;ll see a link to the web page. Why is it so ? look in <em>kdelibs/kdeui/dialogs/kaboutapplicationdialog.cpp</em> :</p>
<pre>if ( .. || aboutData-&gt;bugAddress() == "submit@bugs.kde.org")</pre>
<pre>     text = "Please use http://bugs.kde.org..."</pre>
<p>I can only guess why this was done this way : probably for some historical reason and then nobody bothered about fixing it. I&#8217;m sure they have not done something as ugly on purpose.</p>
<p>So as a conclusion</p>
<ul>
<li><strong>KDE uses a link to their web tracker</strong>.</li>
<li>You are not allowed to such a luxury and <strong>you need to provide an email address</strong>.</li>
</ul>
<h3>Toward a fix ?</h3>
<p>The obvious fix is to store an URL or linkAddress in KAboutData and use that in the About dialog. Adding a clear sentence to the documentation : &#8220;if you want to use an email address, just add <em>mailto:</em> in front of the argument&#8221;.</p>
<p>Now, instead of ranting, my first reaction was to go and fix that (I swear, trust me). Even few years ago. But.. then I&#8217;m confronted to a problem : probably some people use this, and I would break quite a lot of about boxes, and everybody will hate me. Not something I want of course.. I tried to talk about this on IRC, but nobody is really interested in this. And finally, i did not dare changing this, and wend the old way : I wrote my own about box.</p>
<h3>Turn around</h3>
<p>Today, I have found a way to turn around the problem : You can use the method <em>setCustomAuthorText()</em> and then, KDE will not do anything and let you decide about what to display in this tab. Hourray <img src='http://www.freehackers.org/thomas/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/11/12/kde-standard-aboutbox-is-kind-of-close-minded/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Opale ported to qt4 and kde4</title>
		<link>http://www.freehackers.org/thomas/2008/11/11/opale-ported-to-qt4-and-kde4/</link>
		<comments>http://www.freehackers.org/thomas/2008/11/11/opale-ported-to-qt4-and-kde4/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 03:11:00 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[KDE]]></category>

		<category><![CDATA[kde4]]></category>

		<category><![CDATA[opale]]></category>

		<category><![CDATA[qt4]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=98</guid>
		<description><![CDATA[
Opale was an application written using koffice that I use to handle my personal accounts. Long ago I have dropped support for koffice (mainly because of the crappy/undocumented/buggy chart API) and since then opale was a kde-based application.
One year ago, i have started porting it to kde4, and, meanwhile, made it a Qt4 application. Using [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/opale-09.png"><img class="aligncenter size-medium wp-image-99" title="opale-09" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/opale-09-300x192.png" alt="" width="300" height="192" /></a></p>
<p>Opale was an application written using koffice that I use to handle my personal accounts. Long ago I have dropped support for koffice (mainly because of the crappy/undocumented/buggy chart API) and since then opale was a kde-based application.</p>
<p>One year ago, i have started porting it to kde4, and, meanwhile, made it a Qt4 application. Using configuration, you can now have either a qt4 or a kde4 application. Actually, I have to say the kde4 stuff is not thoroughly tested. Anyway, the qt4 port is done and I now have Opale working under windows. Not that I really care, but that can be useful for others.</p>
<p><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/opale-09-windows.png"><img class="aligncenter size-medium wp-image-105" title="opale-09-windows" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/11/opale-09-windows-300x210.png" alt="" width="300" height="210" /></a></p>
<p>It was not until few weeks ago that kde4 was <em>good enough for me</em> (copyright me) so I can actually use this version of opale (yes, I know about running kde4 application under kde3, but no, thanks). Now that this version is tested enough, i release it as 0.9.</p>
<p>The roadmap for 0.10 is</p>
<ul>
<li>macintosh version</li>
<li>well-tested kde4 application</li>
<li>template editing/removing</li>
</ul>
<p><a href="http://www.freehackers.org/Opale" target="_blank">Opale homepage</a></p>
<p><a href="http://labs.freehackers.org/projects/show/opale" target="_blank">Opale project</a> on <a href="http://labs.freehackers.org" target="_blank">freehackers&#8217;laboratories</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/11/11/opale-ported-to-qt4-and-kde4/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Activities gallery</title>
		<link>http://www.freehackers.org/thomas/2008/11/02/activities-gallery/</link>
		<comments>http://www.freehackers.org/thomas/2008/11/02/activities-gallery/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 00:46:06 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Admin]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[KDE]]></category>

		<category><![CDATA[Linux kernel]]></category>

		<category><![CDATA[activity]]></category>

		<category><![CDATA[gcc]]></category>

		<category><![CDATA[mercurial]]></category>

		<category><![CDATA[octave]]></category>

		<category><![CDATA[portage]]></category>

		<category><![CDATA[sage]]></category>

		<category><![CDATA[xemacs]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=91</guid>
		<description><![CDATA[While developing my recently released activity mercurial extension (and here too), I did a lot of tests on some quite famous/big projects. I&#8217;ve found the results to be quite interesting and decided to put up this gallery. Are you interested in the history of commits for kde, linux, django, portage(software), and others?
warning : this is [...]]]></description>
			<content:encoded><![CDATA[<p>While developing my recently released <a href="http://www.freehackers.org/thomas/2008/10/31/activity-extension-for-mercurial/" target="_blank">activity mercurial extension</a> (and <a href="http://www.freehackers.org/thomas/2008/10/31/splitted-activity-for-mercurial/" target="_blank">here too</a>), I did a lot of tests on some quite famous/big projects. I&#8217;ve found the results to be quite interesting and decided to put up this gallery. Are you interested in the history of commits for kde, linux, django, portage(software), and others?</p>
<p><strong>warning</strong> : this is <em>just for fun</em> (copyright Linus Torvalds), I&#8217;m perfectly aware that the number of commits is a very bad indicator for development.</p>
<p>The gallery : <a href="http://labs.freehackers.org/wiki/hgactivity/Gallery" target="_blank">http://labs.freehackers.org/wiki/hgactivity/Gallery</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/11/02/activities-gallery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Splitted activity for mercurial</title>
		<link>http://www.freehackers.org/thomas/2008/10/31/splitted-activity-for-mercurial/</link>
		<comments>http://www.freehackers.org/thomas/2008/10/31/splitted-activity-for-mercurial/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 20:22:58 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Admin]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[activity]]></category>

		<category><![CDATA[mercurial]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=87</guid>
		<description><![CDATA[Today I have added options to the mercurial activity extension and it is now possible the activity displayed for every author. It looks like this :

]]></description>
			<content:encoded><![CDATA[<p>Today I have added options to the <a href="http://labs.freehackers.org/wiki/hgactivity" target="_blank">mercurial activity extension</a> and it is now possible the activity displayed for every author. It looks like this :</p>
<p style="text-align: center;"><a href="http://labs.freehackers.org/attachments/70/activity_splitted.png"><img class="aligncenter" title="Splitted activity : example" src="http://labs.freehackers.org/attachments/70/activity_splitted.png" alt="" width="480" height="360" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/10/31/splitted-activity-for-mercurial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Activity extension for mercurial</title>
		<link>http://www.freehackers.org/thomas/2008/10/31/activity-extension-for-mercurial/</link>
		<comments>http://www.freehackers.org/thomas/2008/10/31/activity-extension-for-mercurial/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 03:04:50 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Admin]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[KDE]]></category>

		<category><![CDATA[activity]]></category>

		<category><![CDATA[matplotlib]]></category>

		<category><![CDATA[mercurial]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/thomas/?p=66</guid>
		<description><![CDATA[
This is something i&#8217;ve really been missing for long in mercurial : a way to display the activity of a repository. No, &#8216;hg churn&#8217; is not the right answer, I want an idea of when the peaks of development happened. So I have written this small extension. It is based on matplotlib, so you&#8217;ll need [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_67" class="wp-caption aligncenter" style="width: 310px">
<p style="text-align: center;"><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/10/activity.png"><img class="size-medium wp-image-67" title="activity of mercurial crew" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/10/activity-300x225.png" alt="example : activity of the mercurial &quot;crew&quot; repository" width="300" height="225" /></a></p>
<p><p class="wp-caption-text">example : activity of the mercurial crew repository</p></div></p>
<p>This is something i&#8217;ve really been missing for long in mercurial : a way to display the activity of a repository. No, &#8216;hg churn&#8217; is not the right answer, I want an idea of when the peaks of development happened. So I have written this small extension. It is based on <a href="http://matplotlib.sourceforge.net/" target="_blank">matplotlib</a>, so you&#8217;ll need that to be installed. It is tested with mercurial 1.0.2 and the current development version of mercurial (so-called mercurial &#8216;crew&#8217; repository). I&#8217;m a big fan of this kind of information, and I&#8217;m sure to use this extension regularly, so you can count on it being maintained.</p>
<p>To use is, grab a copy :</p>
<pre>hg clone http://sources.freehackers.org/hg.cgi/hgactivity/</pre>
<p>and add a line in your ~/.hgrc under [extensions] with the full path to the activity.py (example on my computer, please adapt to your actual path:)</p>
<pre>activity=/home/orzel/hg/hgactivity/activity.py</pre>
<p>To use it, just do from inside a repository:</p>
<pre>hg activity</pre>
<p>The first example shows the activity for the mercurial.crew repository, and here&#8217;s another one representing the activity of the the &#8216;kdebase&#8217; module from <a href="http://www.kde.org" target="_blank">kde</a> (I have a local mercurial mirror):</p>
<div id="attachment_71" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/10/activity2.png"><img class="size-medium wp-image-71" title="kdebase activity" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/10/activity2-300x225.png" alt="Activity of kdebase in the last month" width="300" height="225" /></a><p class="wp-caption-text">Activity of kdebase during the last month</p></div>
<p>Homepage of the project: <a href="http://labs.freehackers.org/wiki/hgactivity" target="_blank">http://labs.freehackers.org/wiki/hgactivity</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/10/31/activity-extension-for-mercurial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Django browser for Redmine database</title>
		<link>http://www.freehackers.org/thomas/2008/09/27/django-browser-for-redmine-database/</link>
		<comments>http://www.freehackers.org/thomas/2008/09/27/django-browser-for-redmine-database/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 18:49:38 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Admin]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[redmine]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/blogs/orzel/?p=18</guid>
		<description><![CDATA[Do you know redmine ? This is, to my knowledge, the best project manager you could ever find out there. I like to describe it as &#8216;trac done well&#8216;. It has only one, big, ugly, fat inconvenient for me : it is written on top of ruby on rails. I could tell you how slow [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know <a href="http://www.redmine.org" target="_blank">redmine</a> ? This is, to my knowledge, the best project manager you could ever find out there. I like to describe it as &#8216;<em>trac done well</em>&#8216;. It has only one, big, ugly, fat inconvenient for me : it is written on top of <a href="http://www.rubyonrails.org/" target="_blank">ruby on rails</a>. I could tell you how slow it is (true), or how many security flaws are found everyday in the ruby/rails world. But the real reason I&#8217;m actually really concerned about ruby/rails is that I don&#8217;t know ruby. When I look at the code I don&#8217;t understand anything, and I can&#8217;t change something to &#8217;suit my needs&#8217;, as is so common in Free Software.</p>
<p>I wish it was written in <a href="http://www.djangoproject.org" target="_blank">Django</a>.</p>
<p>Well, anyway, I spent some times today to create a small Django application in order to display stuff from the redmine database. For this, I&#8217;ve used the <a href="http://docs.djangoproject.com/en/dev/ref/django-admin/#inspectdb" target="_blank">wonderful &#8220;inspectdb&#8221; feature</a> of Django, which access a database and creates the (Django) models required to access it.</p>
<p>Then, I had to &#8216;adapt&#8217; those models and to create an admin.py file so that I could browse (and even modify) the database from django.</p>
<p>Adapting meant:</p>
<ul>
<li>removing all the &#8220;id&#8221; field, they are automatically created by Django and it seems rails use the very same name (&#8221;id&#8221;) so this is compatible.</li>
<li>Change the &#8220;obvious&#8221; references to other model from IntegerField to ForeignKey</li>
<li>Some models reference themselves, you need to use a ForeignKey to &#8217;self&#8217; (including quotes) to do that.</li>
<li>add some __unicode__(self) for the most important/obvious models</li>
</ul>
<p>The admin works was basically about:</p>
<ul>
<li>Creates Admin objects for all models (thanks vim&#8217;s macro!)</li>
<li>add list_display / list_filter args for the most important ones</li>
</ul>
<p>And the remaining problem is :</p>
<ul>
<li><span style="text-decoration: line-through;">It seems Boolean from ruby/rails have the values &#8216;t&#8217;/'f&#8217; while those from django have 1/0</span> (fixed since then)</li>
</ul>
<p>Mandatory screenshot (corresponding to the public stuff from http://labs.freehackers.org):</p>
<p><a href="http://www.freehackers.org/thomas/wp-content/uploads/2008/09/djangoredmineadmin1.png"><img class="aligncenter size-medium wp-image-19" title="djangoredmineadmin1" src="http://www.freehackers.org/thomas/wp-content/uploads/2008/09/djangoredmineadmin1-300x116.png" alt="Example of djangoredmineadmin in use" width="300" height="116" /></a></p>
<p><a href="http://labs.freehackers.org/wiki/djangoredmineadmin" target="_blank">Link to the project homepage</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/09/27/django-browser-for-redmine-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>KDE 4.1.2 tagged, gentoo land frozen</title>
		<link>http://www.freehackers.org/thomas/2008/09/26/kde-412-tagged-gentoo-land-frozen/</link>
		<comments>http://www.freehackers.org/thomas/2008/09/26/kde-412-tagged-gentoo-land-frozen/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 23:44:41 +0000</pubDate>
		<dc:creator>Thomas Capricelli</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://www.freehackers.org/blogs/orzel/?p=17</guid>
		<description><![CDATA[I&#8217;m not a gentoo fan. Mainly because I don&#8217;t like the idea of being a &#8216;fan&#8217;. Being a fan in the Free Software world usually means being an extremist and i hate extremism.
I nonetheless use almost exclusively Gentoo on all computers, laptops, servers and other divx boxes I have or maintain. That means a lot [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not a gentoo fan. Mainly because I don&#8217;t like the idea of being a &#8216;fan&#8217;. Being a fan in the Free Software world usually means being an extremist and i hate extremism.</p>
<p>I nonetheless use almost exclusively Gentoo on all computers, laptops, servers and other divx boxes I have or maintain. That means a lot of them and it makes my Debian friends laugh. Who cares ? I use Gentoo and Free Software because I find this convenient, and I like the ideas behind them.</p>
<p>Yet I don&#8217;t share the optimism of people who think that <a href="http://wonkabar.org/archives/465" target="_blank">gentoo is growing</a>. On July 29th, KDE 4.1, the first almost-usable KDE version since the 3.5 branch, has been released, and since then, guess what have happened in the gentoo-KDE land ? <strong>Nothing</strong>. By nothing I mean first that not a single ebuild, even masked, even hard masked, has reached the official portage tree, and secondly, that despite the huge KDE user base in Gentoo, not a single official statement has been done concerning this issue. Because, believe me or not, there is an actual issue. Nothing was said on the main Gentoo page, almost nothing on gentoo planet (<a href="http://blog.cryos.net/archives/189-KDE-4.1-Gentoo-Ebuilds.html" target="_blank">only one post</a> focused on whether KDE should install in a different place or not). In the gentoo land, everybody speaks about everything <em>but</em> KDE in gentoo. Has the meaning of &#8216;g&#8217; in gentoo recently changed ?</p>
<p>When you try to know a little bit more about this, it&#8217;s getting worse. Rumors are that developers have fought each others and the KDE team is just no more. It&#8217;s a new KDE team that is here for whatever reason (to which, by the way, I send my very best support, for the development of new ebuilds, for being put under such light/pressure, and for being sent in this lion&#8217;s cage that seems to be gentoo devs). I don&#8217;t know anything about this, but it&#8217;s not the first time I hear about huge tensions between gentoo developers, and this worries me a lot.</p>
<p>I don&#8217;t want politics, I want developers, I want Free Software developers. If I wanted politics, I would have gone for Debian, which, by the way, have had packages for KDE 4.1 and 4.1.1 for long.</p>
<p>Growing is not something easy to handle. It seems to me that KDE has managed to do this very well : a lot of work has been done in the few last years to &#8217;scale up&#8217; and I think they managed to do this hugely needed step. Gentoo still has to improve a lot in this area. As a user, my expectations are the same as what you can read everywhere : transparency, transparency and transparency.</p>
<p>I love gentoo, i can understand a lot of things, I can wait, I can deal with human resource shortage, I could even help. I&#8217;m used with all of that because that is so common in Free Software and that is part of the deal. But I can&#8217;t bear darkness and closeness.</p>
<p>I will not conclude by threatening to leave for another distribution. I&#8217;m most than happy with gentoo as a distribution and I will keep on using it as long as it is possible. I have a KDE checkout anyway on my main computer. If things are going worse though, I&#8217;m not sure I will dare trying to work on the ebuilds.</p>
<p>I&#8217;m ready to ignore the &#8220;<em>If you&#8217;re not happy with gentoo leave it</em>&#8221; type of comments.</p>
<ul>
<li><a href="http://websvn.kde.org/tags/KDE/4.1.2/" target="_blank">KDE 4.1.2 tagged</a></li>
<li><a href="http://pkg-kde.alioth.debian.org/" target="_blank">Debian is following KDE releases closely</a></li>
<li><a href="http://www.gentoo-portage.com/kde-base/kdebase-startkde" target="_blank">nothing</a> (as of today, keep an eye on this link to check about KDE 4.1 or 4.2  inclusion)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.freehackers.org/thomas/2008/09/26/kde-412-tagged-gentoo-land-frozen/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
