<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.placenet.org/benoit/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Harvard Business School of Echec - system-monitor</title>
  <link>http://www.placenet.org/benoit/index.php/</link>
  <description></description>
  <language>fr</language>
  <pubDate>Sat, 09 Aug 2008 08:26:39 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>API superhero</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/08/08/API-superhero</link>
    <guid isPermaLink="false">urn:md5:df5e66c85900fdf739ec4d907aab6a99</guid>
    <pubDate>Fri, 08 Aug 2008 21:30:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>API</category><category>gksu</category><category>GNOME</category><category>system-monitor</category>    
    <description>    &lt;p&gt;There's a &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=491462&quot;&gt;one 1.4K patch&lt;/a&gt; for policykit (now an external depency) support for system-monitor (~7K SLOC) to basically replace 3 lines of gksu. Oh yes i know &amp;quot;it's so much powerfull&amp;quot; (that you have to rewrite kill, renice, etc). I'd rather depend on the new Linux file capabilities...
&lt;br /&gt;
&lt;a href=&quot;http://www.advogato.org/person/kov/&quot;&gt;Kov&lt;/a&gt; was already my hero because of the clean design of libgksu API...
&lt;br /&gt;
&lt;br /&gt;
He's now my &lt;a href=&quot;http://www.advogato.org/person/kov/diary.html?start=56&quot;&gt;superhero&lt;/a&gt; !&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>WTF</title>
    <link>http://www.placenet.org/benoit/index.php/post/2008/03/18/WTF</link>
    <guid isPermaLink="false">urn:md5:c83dad0b0e0be244fc81a7d9c5f286d9</guid>
    <pubDate>Tue, 18 Mar 2008 13:43:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>system-monitor</category><category>WTF</category>    
    <description>    &lt;p&gt;system-monitor is getting &lt;a href=&quot;http://thedailywtf.com/Articles/Software-Bloat.aspx&quot; hreflang=&quot;en&quot;&gt;famous&lt;/a&gt; !
&lt;br /&gt;
(This is &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=418652&quot;&gt;bug#418652&lt;/a&gt;.)&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>GNOME system monitor team</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/12/10/GNOME-system-monitor-team</link>
    <guid isPermaLink="false">urn:md5:d12c1e6a630a391e1ccb2d4d45e79d09</guid>
    <pubDate>Mon, 10 Dec 2007 19:20:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>gnome</category><category>system-monitor</category>    
    <description>    &lt;p&gt;Bienvenue &lt;a href=&quot;http://www.qdh.org.uk/wordpress/?p=187&quot;&gt;Karl&lt;/a&gt; !&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Indiana patches</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/06/13/Indiana-patches</link>
    <guid isPermaLink="false">urn:md5:84db67a6ce2fc2e01e885f7fdb6fc7a1</guid>
    <pubDate>Wed, 13 Jun 2007 14:55:00 +0200</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>libgtop</category><category>patch</category><category>SUN</category><category>system-monitor</category>    
    <description>    &lt;p&gt;Dear Sun Microsystems,
I think your &lt;a href=&quot;http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/&quot;&gt;patches&lt;/a&gt; are bullshit. Please drop them or &lt;a href=&quot;http://0pointer.de/blog/projects/project-indiana.html&quot;&gt;as already suggested, do fork&lt;/a&gt;.
&lt;br /&gt;
As the maintainer of system-monitor and libgtop, i have already rejected stupid patches from you. &lt;a href=&quot;http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/libgtop-01-solaris.diff&quot;&gt;They&lt;/a&gt; &lt;a href=&quot;http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/gnome-system-monitor-01-solaris.diff&quot;&gt;contain&lt;/a&gt; &lt;a href=&quot;http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/gnome-applets-03-make-multiload-network-available.diff&quot;&gt;unkown&lt;/a&gt; API changes and a lot of dead code. The &lt;a href=&quot;http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/libgtop-01-solaris.diff&quot;&gt;libgtop patch&lt;/a&gt; is the most scary. Here's a tip: libgtop code is OS specific (linux, bsd, solaris, etc have their own separate implementation) so copying linux code to solaris is obviously NOT going to work.
&lt;br /&gt;
I can see that some of your patches are actually OK, but your people don't seem to understand how we work.
&lt;br /&gt;
This reminds me of that private mail where you asked me to re-license libgtop to LGPL because you had some kind of packaging issues ... because you wanted to install libgtop in /foo/bar and instead of /foo/baz. Bad for you.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>libsexy bugs</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/03/02/libsexy-bugs</link>
    <guid isPermaLink="false">urn:md5:9bdffaa4c67cccef7a5228b198e4d20d</guid>
    <pubDate>Fri, 02 Mar 2007 11:15:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>system-monitor</category>    
    <description>    &lt;p&gt;Hey &lt;a href=&quot;http://www.chipx86.com/blog/?p=205&quot;&gt;chipx86&lt;/a&gt;, would you please have a look at &lt;a href=&quot;http://bugzilla.gnome.org/buglist.cgi?product=libsexy&quot;&gt;libsexy bugzilla&lt;/a&gt; ?
There are a couple of &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=355252&quot;&gt;annoying&lt;/a&gt; &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=354559&quot;&gt;bugs&lt;/a&gt; about &lt;code&gt;sexy_treeview&lt;/code&gt; so I had to disable libsexy in system-monitor 2.17.x.&lt;/p&gt;


&lt;p&gt;Thanks.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>gnome-system-monitor 2.17 has been compromised</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/02/28/gnome-system-monitor-217-has-been-compromised</link>
    <guid isPermaLink="false">urn:md5:6ad18d1263b4b83321c65b141af18989</guid>
    <pubDate>Wed, 28 Feb 2007 10:45:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>security</category><category>system-monitor</category>    
    <description>    &lt;p&gt;Last night, Matthias Clasen and Shaun McCance helped me fix a gnome-doc-utils bug in gnome-system-monitor tarball. I then released gnome-system-monitor-2.17.9&lt;strong&gt;3&lt;/strong&gt; because &lt;strong&gt;I&lt;/strong&gt; am the maintainer.&lt;/p&gt;


&lt;p&gt;Then, somebody, who owns a regular svn/ssh account, has commited without approval unreviewed content to gnome-system-monitor trunk. He also tagged the wrong way. And in the end, he released gnome-system-monitor-2.17.94. I don't know anything about this man. I've just got an email from him to tell what he has done. Update: he even created&amp;amp;closed a &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=412854&quot;&gt;bug&lt;/a&gt; against system-monitor.&lt;/p&gt;


&lt;p&gt;&lt;ins&gt;&lt;strong&gt;gnome-system-monitor 2.17.94 is not official and not trusted at all. DO NOT USE IT.&lt;/strong&gt;&lt;/ins&gt;&lt;/p&gt;


&lt;p&gt;The following are &lt;ins&gt;unreviewed&lt;/ins&gt;, &lt;ins&gt;not trusted&lt;/ins&gt; and have &lt;ins&gt;unknown content&lt;/ins&gt; :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SVN tag &lt;code&gt;GNOME_SYSTEM_MONITOR_2_17_94&lt;/code&gt; and revision 1935, 1936, 1937 and 1938&lt;/li&gt;
&lt;li&gt;gnome-system-monitor 2.17.94 tarballs on the GNOME ftp server.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today 28/02/2007,  only the following are &lt;ins&gt;trusted&lt;/ins&gt; and &lt;ins&gt;official&lt;/ins&gt; :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SVN tag &lt;code&gt;tags/GNOME_SYSTEM_MONITOR_2_17_93&lt;/code&gt; and revisions up to 1934&lt;/li&gt;
&lt;li&gt;gnome-system-monitor 2.17.93 tarballs on the GNOME ftp server.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Security infrastructure&lt;/h3&gt;

&lt;p&gt;It would be nice to be able to GPG-sign tarballs that are uploaded to the GNOME FTP server.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>signedness fun</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/02/12/signedness-fun</link>
    <guid isPermaLink="false">urn:md5:5a7547d9d8f0bad9520257b311c71cf8</guid>
    <pubDate>Mon, 12 Feb 2007 11:22:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>libgtop</category><category>system-monitor</category>    
    <description>    &lt;p&gt;3 years ago, i deleted code that i didn't understand in libgtop. It was a mess about bitwise shift and xor.
Then came &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=406280&quot;&gt;these&lt;/a&gt; &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=406265&quot;&gt;bugs&lt;/a&gt; about system-monitor displaying 17179869184.0 GiB. This is about available disk space (you know, the 10% reservation for root, etc). On *BSD, available disk space can be negative... so you can get &lt;code&gt;df&lt;/code&gt; to reports negative capacity :&lt;/p&gt;

&lt;pre&gt;
$ df -h /
Filesystem      Size    Used   Avail Capacity  Mounted on
/dev/ad10s1a    496M    457M   -514K   100%    /
&lt;/pre&gt;


&lt;p&gt;&lt;em&gt;(This reminds me of mfs fun with OpenBSD &lt;img src=&quot;/benoit/themes/default/smilies/wink.png&quot; alt=&quot;;)&quot; class=&quot;smiley&quot; /&gt;&lt;/em&gt;&lt;/p&gt;


&lt;p&gt;libgtop uses statvfs/statfs functions to get disk space usage : &lt;code&gt;struct statvfs&lt;/code&gt; members' type is &lt;code&gt;fsblkcnt_t&lt;/code&gt; which is an unsigned integer. This means that some kernels store signed values as unsigned integers. Hence the old fun code i deleted. &lt;code&gt;glibtop_fsusage&lt;/code&gt; members are &lt;code&gt;guint64&lt;/code&gt; so there is not signedness mismatch between libgtop and the system.&lt;/p&gt;


&lt;p&gt;As I was unable to get negative values with linux 2.6.20 and ext3, I dig into &lt;code&gt;GNU df&lt;/code&gt; code and found the very same code that was in libgtop, i guess someone copy&amp;amp;pasted it into libgtop a long time ago. This code does funny things to handle integers with the top bit set as negative integers.&lt;/p&gt;


&lt;p&gt;I ended to this madness by ensuring available disk space is &amp;lt;= to free disk space.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Bézier Curves</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/01/25/Bezier-Curves</link>
    <guid isPermaLink="false">urn:md5:d92827fa6104bb188332496753037dfb</guid>
    <pubDate>Thu, 25 Jan 2007 08:39:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>cairo</category><category>gnome</category><category>system-monitor</category>    
    <description>    &lt;p&gt;I have commited a great but simple &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=400406&quot;&gt;patch&lt;/a&gt; from Lucas Mazzardo Veloso . It uses Bezier Curves to draw the load graph instead of lines thanks to cairo. Sorry, dotclear 2.0-beta5.4 is buggy, i can't attach a screenshot.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Art</title>
    <link>http://www.placenet.org/benoit/index.php/post/2007/01/18/Art</link>
    <guid isPermaLink="false">urn:md5:36fd76db80220963067f30b6ec0c1598</guid>
    <pubDate>Thu, 18 Jan 2007 21:26:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>system-monitor</category>    
    <description>    &lt;p&gt;I've &lt;a href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=377144&quot;&gt;killed&lt;/a&gt; the GNOME logo in System-Monitor's System tab to please people. I'm weak. Now it looks so empty :/&lt;/p&gt;


&lt;p&gt;Anyway, thank you &lt;a href=&quot;http://live.gnome.org/BaptisteMilleMathias&quot;&gt;crevette&lt;/a&gt;, your &lt;a href=&quot;http://svn.gnome.org/viewcvs/*checkout*/gnome-system-monitor/trunk/pixmaps/side.png?rev=1808&quot;&gt;logo&lt;/a&gt; was cool.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Type safety</title>
    <link>http://www.placenet.org/benoit/index.php/post/2006/12/16/Type-safety</link>
    <guid isPermaLink="false">urn:md5:e8281184e271078e4fff655ea3e203bf</guid>
    <pubDate>Sat, 16 Dec 2006 20:35:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>cpp</category><category>gnome</category><category>system-monitor</category>    
    <description>    &lt;p&gt;Converting system-monitor to &lt;code&gt;C++&lt;/code&gt; helped me to spot a lot of small errors. The most common is about &lt;code&gt;enum&lt;/code&gt;. For example, &lt;code&gt;gtk_table_attach&lt;/code&gt; has arguments of type &lt;code&gt;GtkAttachOptions&lt;/code&gt;. Old code used 0 which is not a valid &lt;code&gt;GtkAttachOptions&lt;/code&gt; but doesn't yield any warning about this, not even at runtime. Thanks to &lt;code&gt;g++&lt;/code&gt;, i've been able to fix these errors.&lt;/p&gt;


&lt;p&gt;Moreover, &lt;code&gt;C++&lt;/code&gt; makes me able to write more readable code. I'm trying to convert some C code to &lt;code&gt;C++&lt;/code&gt;, and i just can't understand what i meant.&lt;/p&gt;


&lt;p&gt;&lt;code&gt;pretty_table-&amp;gt;app_hash = g_hash_table_new (NULL, NULL);&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;&lt;code&gt;pretty_table-&amp;gt;default_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref);&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;No type information. I had to read all the code to remember the purpose of these data. Ugly &lt;code&gt;GUINT_TO_POINTER&lt;/code&gt; inside &lt;img src=&quot;/benoit/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt; Using &lt;code&gt;C++&lt;/code&gt;, i simply use &lt;code&gt;map&amp;lt;string, int&amp;gt;&lt;/code&gt; which gives me type information and type safety &lt;img src=&quot;/benoit/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>I've lost 5 years of work</title>
    <link>http://www.placenet.org/benoit/index.php/post/2006/12/14/Ive-lost-5-years-of-work</link>
    <guid isPermaLink="false">urn:md5:7876c80262e9fc490404ebf02f5390fe</guid>
    <pubDate>Thu, 14 Dec 2006 23:15:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>cpp</category><category>gnome</category><category>system-monitor</category>    
    <description>    &lt;p&gt;In the process of converting system-monitor to C++, i had to rename most of the files. I've lost complete history of the whole project &lt;img src=&quot;/benoit/themes/default/smilies/sad.png&quot; alt=&quot;:(&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;


&lt;p&gt;We'll be soon in 2007 and we're still stuck with CVS mid-80 features. Yes, i'm only 3 years older than CVS. I'm ready to move to {git,monotone,mercurial} but now it's too late to avoid damage.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>regex</title>
    <link>http://www.placenet.org/benoit/index.php/post/2006/12/09/regex</link>
    <guid isPermaLink="false">urn:md5:94501009af96158cd88b53e1b97767a2</guid>
    <pubDate>Sat, 09 Dec 2006 18:49:00 +0100</pubDate>
    <dc:creator>Benoît Dejean</dc:creator>
        <category>GNOME</category>
        <category>bug</category><category>gnome</category><category>python</category><category>system-monitor</category>    
    <description>    &lt;p&gt;So system-monitor cannot have &lt;a href=&quot;http://bugzilla.gnome.org/attachment.cgi?bugid=367827&quot;&gt;regular expressions support&lt;/a&gt; in order to provide a decent GUI alternative to &amp;quot;lsof | grep&amp;quot;. &lt;a href=&quot;http://bugzilla.gnome.org/attachment.cgi?id=78038&amp;amp;action=view&quot;&gt;How fast is your python ?&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>