<?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>Martin Ankerl &#187; news</title> <atom:link href="http://martin.ankerl.com/category/news/feed/" rel="self" type="application/rss+xml" /><link>http://martin.ankerl.com</link> <description>Chunky bacon!!</description> <lastBuildDate>Sat, 04 Feb 2012 10:18:10 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>svn-shortlog &#8212; Compact &amp; Beautiful Subversion Changelog</title><link>http://martin.ankerl.com/2009/12/23/svn-shortlog-compact-beautiful-subversion-changelog/</link> <comments>http://martin.ankerl.com/2009/12/23/svn-shortlog-compact-beautiful-subversion-changelog/#comments</comments> <pubDate>Wed, 23 Dec 2009 16:58:17 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[coding]]></category> <category><![CDATA[news]]></category> <category><![CDATA[open source]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[ruby]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=303</guid> <description><![CDATA[At work we periodically have short developer meetings to discuss what has happened in the last month. To do this, we go through the bugs in our issue tracking system, and the subversion commits in our repository. Unfortunately, getting an &#8230; <a href="http://martin.ankerl.com/2009/12/23/svn-shortlog-compact-beautiful-subversion-changelog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>At work we periodically have short developer meetings to discuss what has happened in the last month. To do this, we go through the bugs in our issue tracking system, and the subversion commits in our repository. Unfortunately, getting an overview of the subversion commits was rather cumbersome, and we could not find any efficient tool to do this. Hence, <strong>svn-shortlog</strong> was born.</p><p>This is an attempt to format the subversion log of a one-month period in the following way:</p><ul><li>Beautiful HTML output.</li><li>Compact representation of lots of information</li><li>Usable with a not-so color rich beamer.</li><li>Fully automatic.</li></ul><h2>Usage</h2><ol><li>Install <a href="http://www.ruby-lang.org/de/">Ruby</a> (both 1.8 or 1.9 should work).</li><li>Download <a href="http://svn-shortlog.googlecode.com/svn/trunk/svn-shortlog.rb">svn-shortlog.rb</a>.</li><li>Open <tt>svn-shortlog.rb</tt> with your favourite text editor, and configure the config section according to your needs.</li><li>Doubleclick <tt>svn-shortlog.rb</tt></li><li>Open the generated <tt>changelog_....html</tt> file with your favourite browser.</li></ol><h2>Sample Output</h2><p>Here is a <a target="_blank" href="http://martin.ankerl.com/wp-content/uploads/2009/12/changes_2009-12-01_to_2009-12-31.html">sample output of one month of boost commits</a> into trunk, taken from the <a href="http://www.boost.org/users/download/#repository">public repository</a>. The output is quite information dense, a quick description is in the screenshot:<center><img src="http://martin.ankerl.com/wp-content/uploads/2009/12/documentation.png?9d7bd4" alt="" title="documentation" width="690" height="408" /></center> All commits are structured by user, then by date. Each commit is on one line. You can click each line to see the full information related to a commit.</p><h2>Issues</h2><p>Ideas, suggestions, problems? Please post them as a comment here, at the <a href="https://code.google.com/p/svn-shortlog/issues/list">bug tracker</a>.</p><h2>Credits</h2><p>This tool is based on the idea from my colleague <a href="http://cheind.wordpress.com/">Christoph Heindl</a> and inspired by <a href="http://groups.google.com/group/linux.kernel/msg/d43224c9ba53f0cc?">Linus&#8217; Kernel shortlog</a> and <a href="http://mail.google.com/">Gmail</a>.</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2009/12/23/svn-shortlog-compact-beautiful-subversion-changelog/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>iRob Feeder in Action (Video)</title><link>http://martin.ankerl.com/2009/11/13/irob-feeder-in-action-video/</link> <comments>http://martin.ankerl.com/2009/11/13/irob-feeder-in-action-video/#comments</comments> <pubDate>Fri, 13 Nov 2009 15:31:46 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[news]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=217</guid> <description><![CDATA[Finally! PROFACTOR (the company I work for) has decided to get a youtube account and upload some videos. Best of all, this gives me a chance to show off a bit of my (our) work iRob Feeder is a solution &#8230; <a href="http://martin.ankerl.com/2009/11/13/irob-feeder-in-action-video/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Finally! <a href="http://www.profactor.at/">PROFACTOR </a> (the company I work for) has decided to get a <a href="http://www.youtube.com/user/profactorgroup">youtube account</a> and upload some videos. Best of all, this gives me a chance to show off a bit of my (our) work <img src="http://martin.ankerl.com/wp-includes/images/smilies/icon_wink.gif?9d7bd4" alt=';)' class='wp-smiley' /></p><p><a href="http://www.profactor.at/en/en/irobfeeder.html">iRob Feeder</a> is a solution for equipping of industry facilities. We can recognize the 3D position of different pices, grasp it, put it wherever you want them, and all of this quickly. Actually, the whole thing is a bit more than that, since it is possible to reuse components from it. We have a nice demonstrator for very fast object recognition moving along on a conveyer belt.</p><p>Here you can see it in action:<br /><center><object width="480" height="410"><param name="movie" value="http://www.youtube.com/v/hzWRGiZY3fc&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/hzWRGiZY3fc&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="410"></embed></object></center></p><p>I am mostly involved in the algorithm development on the object recognition side. We have put quite some effort into making it fast: depending on the kind of object, we can have a reliable recognition in as low as 0.1 second on a standard desktop PC.</p><p>Hopefully Profactor will post some more videos about this in the near future.</p><p>PS: The article here are my personal opinions and do not necessarily reflect the position of my employee.</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2009/11/13/irob-feeder-in-action-video/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Online Password Encrypter for Apache</title><link>http://martin.ankerl.com/2009/05/22/online-password-encrypter-for-apache/</link> <comments>http://martin.ankerl.com/2009/05/22/online-password-encrypter-for-apache/#comments</comments> <pubDate>Fri, 22 May 2009 21:33:35 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[coding]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[news]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[tricks]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=213</guid> <description><![CDATA[Apache uses (among other hashes) SHA-1 keys for encryption in the .htpasswd. I administer a subversion server, and from time to time I have to add new external users to the system. This is usually rather cumbersome because there is &#8230; <a href="http://martin.ankerl.com/2009/05/22/online-password-encrypter-for-apache/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Apache uses (among other hashes) SHA-1 keys for encryption in the .htpasswd. I administer a subversion server, and from time to time I have to add new external users to the system. This is usually rather cumbersome because there is no easy way to get to their encrypted password.</p><p>Thats why I have created <a href="http://martin.ankerl.com/files/pwd-encrypter.html">The Online Password Encrypter</a>. Here users can enter their desired username and password, and the encrypted key is automatically generated online, without transmitting anything to any server.</p><p>Here is an iframe of the file. <a href="http://martin.ankerl.com/files/pwd-encrypter.html">Click here for full screen</a>.</p><p><iframe src ="http://martin.ankerl.com/files/pwd-encrypter.html" width="95%" height="650"><p>Your browser does not support iframes.</p><p></iframe></p><p>The <a href="http://martin.ankerl.com/files/pwd-encrypter.html">Online Password Encrypter</a> is just one single HTML page, it does not depend on any other files. So it is easy to download it, modify and send it around. Feel free do whatever you want with it.</p><p>Have fun,<br /> Martin</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2009/05/22/online-password-encrypter-for-apache/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Scientific Approach to Green Tea Preparation</title><link>http://martin.ankerl.com/2009/05/13/scientific-approach-to-green-tea-prepreation/</link> <comments>http://martin.ankerl.com/2009/05/13/scientific-approach-to-green-tea-prepreation/#comments</comments> <pubDate>Wed, 13 May 2009 20:42:27 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[news]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=211</guid> <description><![CDATA[A few months ago I seem to have become a green tea advocat, since I have realized that it is probably the most healthy beverage ever invented (including water). The enormous study &#8220;Green Tea Consumption and Mortality Due to Cardiovascular &#8230; <a href="http://martin.ankerl.com/2009/05/13/scientific-approach-to-green-tea-prepreation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><img style="float:right; margin-left:20px; margin-bottom:20px;" src="http://martin.ankerl.com/wp-content/uploads/2009/05/greentea.jpg?9d7bd4" alt="" title="greentea" width="200" height="223" class="alignnone size-medium wp-image-212" />A few months ago I seem to have become a green tea advocat, since I have realized that it is probably <a href="http://www.whfoods.com/genpage.php?tname=foodspice&#038;dbid=146">the most healthy beverage ever invented</a> (including water).</p><p>The enormous study &#8220;<a href="http://jama.ama-assn.org/cgi/content/abstract/296/10/1255">Green Tea Consumption and Mortality Due to Cardiovascular Disease, Cancer, and All Causes in Japan</a>&#8221; took 11 years with over 40.000 participants, and got the following result:</p><p>Green Tea Benefits in Woman</p><ul><li>23% lower risk of dying from any cause</li><li>31% lower risk of dying from CVD</li><li>62% lower risk of dying from stroke</li></ul><p>Green Tea Benefits in Men</p><ul><li>12% lower risk of dying from any cause</li><li>22% lower risk of dying from CVD</li><li>42% lower risk of dying from stroke</li></ul><p>On my quest for the perfect cup of tea, I have looked for scientific analysis and have found the enlightening paper &#8220;<a href="http://drmuthumani.googlepages.com/Factorsaffecting.pdf">Factors Affecting the Caffeine and Polyphenol Contents of Black and Green Tea Infusions</a>&#8220;. Here are the most important findings of it:</p><p>How to get the most out of a tea bag. The more extracted solids / catechins, the better.</p><p><strong>Brewing</strong></p><ul><li>doubling the bags doubles the extracted solids (which is good!)</li><li>Increasing brewing time from 1 minute to 2 minutes doubles the catechins. 5 minutes tripple the catechins.</li></ul><p><strong>Teabags vs. loose leafes</strong></p><ul><li>Loose leafes are better than teabags.</li><li>When teabags are left floating, the flow resistance of the material blocks almost everything! this is very bad.</li><li>Continuously dunk a tea bag and the extraction is 4 times better!</li><li>Loose leafes are still about 20% better than dunked teabags, and after about 2 minutes the water is saturated (no need to wait any further)</li></ul><p><strong>Leafe size / packing</strong></p><ul><li>loose leafes? extraction is faster with smaller leafes. No need for dunking.</li><li>teabag with small leafes / tightly packed? Continuously dunk it</li><li>teabag with large leafes / loosely packed? Leafe it static (the flows are driven by convection)</li></ul><p><strong>CONCLUSION</strong></p><ul><li>loose leafes are the best. Brew for 2 minutes and you have everything they got.</li><li>If you have to use teabags, dunking the bag gets you 4 times the catechins!</li></ul><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2009/05/13/scientific-approach-to-green-tea-prepreation/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Java Challenge &#8211; The Mysterious Method Wrapper</title><link>http://martin.ankerl.com/2009/04/16/java-challenge-the-mysterious-method-wrapper/</link> <comments>http://martin.ankerl.com/2009/04/16/java-challenge-the-mysterious-method-wrapper/#comments</comments> <pubDate>Thu, 16 Apr 2009 07:11:00 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[news]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=209</guid> <description><![CDATA[Here is the challenge. Create some Java code so that this JUnit test works: Basically what I want to do is be able to automatically create wrappers for some object, so that each method with the @Callable can be called &#8230; <a href="http://martin.ankerl.com/2009/04/16/java-challenge-the-mysterious-method-wrapper/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Here is the challenge. Create some Java code so that this <a href="http://www.junit.org/">JUnit</a> test works:</p><pre class="brush: java; title: ; notranslate">
public class EachMethodTest {

    /**
     * Simple test object.
     */
    public static class Fu {
        @Callable
        public int fu() {
            return 1;
        }

        @Callable
        public int bar() {
            return 2;
        }
    }

    /**
     * Call all methods that have the @Callable annotation.
     * The MethodsToProc works for ANY type of object, not just Fu.
     */
    @Test
    public void eachMethodTest() {
        final Fu fu = new Fu();

        int sum = 0;
        for (final Proc&lt;integer&gt; c : new MethodsToProc&lt;integer&gt;(fu)) {
            sum += c.call();
        }

        Assert.assertEquals(3, sum);
    }
}
</pre><p>Basically what I want to do is be able to automatically create wrappers for some object, so that each method with the <tt>@Callable</tt> can be called with a single common wrapper interface <tt>call()</tt>. It should be possible to specify the return type via Generics, and the ctor of <tt>MethodsToProc</tt> should be able to take any type of object.</p><p>See if you can do a general solution without cheating! The simpler, the better. You can post code snippets e.g. at <a href="http://snipt.org/">snipit</a> or <a href="http://gist.github.com/">gist</a>. Have fun!</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2009/04/16/java-challenge-the-mysterious-method-wrapper/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Beautiful Font Hinting in Ubuntu 8.10 and 9.04</title><link>http://martin.ankerl.com/2009/01/22/beautiful-font-hinting-in-ubuntu-810/</link> <comments>http://martin.ankerl.com/2009/01/22/beautiful-font-hinting-in-ubuntu-810/#comments</comments> <pubDate>Thu, 22 Jan 2009 20:59:03 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[linux]]></category> <category><![CDATA[news]]></category> <category><![CDATA[open source]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[tricks]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[ubuntu]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=197</guid> <description><![CDATA[Even though I have an LCD monitor, I always have the subpixel hinting switched off because it is just painfully ugly to my eyes. Even when hinting is switched to maximum, the fonts are quite blurry (if you don&#8217;t believe &#8230; <a href="http://martin.ankerl.com/2009/01/22/beautiful-font-hinting-in-ubuntu-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Even though I have an LCD monitor, I always have the subpixel hinting switched off because it is just painfully ugly to my eyes. Even when hinting is switched to maximum, the fonts are quite blurry (if you don&#8217;t believe me, type <tt>xmag</tt> and take a screenshot of your font. You can see red and blue linese everywhere). My eyes hurt when I see this.</p><p>Thanks to <a href="http://johan.kiviniemi.name/blag/ubuntu-fonts/">Johan Kivinemi</a> I have just found out how to bring back the excellent legacy subpixel hinting engine. This has a much more crisp hinting, and uses subpixels only where it really is an improvement:</p><p>Just open these files in your home directory, and copy the content into them:</p><h2>~/.fonts.conf</h2><pre class="brush: xml; title: ; notranslate">
&lt;?xml version='1.0'?&gt;
&lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt;
&lt;fontconfig&gt;
  &lt;match target=&quot;font&quot;&gt;
    &lt;edit name=&quot;antialias&quot; mode=&quot;assign&quot;&gt;
      &lt;bool&gt;true&lt;/bool&gt;
    &lt;/edit&gt;
    &lt;edit name=&quot;hinting&quot; mode=&quot;assign&quot;&gt;
      &lt;bool&gt;true&lt;/bool&gt;
    &lt;/edit&gt;
    &lt;edit name=&quot;hintstyle&quot; mode=&quot;assign&quot;&gt;
      &lt;const&gt;hintfull&lt;/const&gt;
    &lt;/edit&gt;
    &lt;edit name=&quot;lcdfilter&quot; mode=&quot;assign&quot;&gt;
      &lt;const&gt;lcdlegacy&lt;/const&gt;
    &lt;/edit&gt;
    &lt;edit name=&quot;rgba&quot; mode=&quot;assign&quot;&gt;
      &lt;const&gt;rgb&lt;/const&gt;
    &lt;/edit&gt;
  &lt;/match&gt;
&lt;/fontconfig&gt;
</pre><h2>~/.Xresources</h2><pre class="brush: xml; title: ; notranslate">
Xft.antialias:  true
Xft.hinting:    true
Xft.hintstyle:  hintfull
Xft.lcdfilter:  lcdlegacy
Xft.rgba:       rgb
</pre><p>This should work in Ubuntu 8.04, 8.10, and 9.04 too, and makes all fonts much more crisp. Of course, your mileage may vary.</p><h1>UPDATE: Comparison Screenshots</h1><p>As promised on <a href="http://www.reddit.com/r/linux/comments/7ru91/beautiful_font_hinting_in_ubuntu_810/">reddit</a>, I got back from an awesome snowboard trip so I am able to put up extensive comparison screenshots of the two subpixel hinting engines. Move your mouse over the following images to see the differences. Watch especially out for letters like &#8220;m&#8221; where the spacing between the lines is very small. You might have to wait a bit for the image to load.</p><p>I have used all of the most important fonts that I usually use, and just for fun I have added &#8220;Dijkstra&#8221;, which just looks cool.</p><h2>Sans Fonts</h2><p>Mouse to see the same fonts with the legacy hinter.</p><style type="text/css">#sans
a{text-decoration:none;display:block;background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/sans-normal.png);width:395px;height:850px}#sans a:hover{background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/sans-legacy.png)}</style><div id="sans"> <a href="#">&nbsp;</a></div><h2>Mono Fonts</h2><p>Mouse to see the same fonts with the legacy hinter.</p><style type="text/css">#mono
a{text-decoration:none;display:block;background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/mono-normal.png);width:430px;height:940px}#mono a:hover{background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/mono-legacy.png)}</style><div id="mono"> <a href="#">&nbsp;</a></div><h2>Zoomed Comparison Screenhots</h2><p>Here is an excerpt with 400% magnifications. Mouse over the pictures to see the legacy hinter.</p><h3>Zoomed Sans</h3><style type="text/css">#sanszoom
a{text-decoration:none;display:block;background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/sans-normal-zoomed.png);width:400px;height:200px}#sanszoom a:hover{background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/sans-legacy-zoomed.png)}</style><div id="sanszoom"> <a href="#">&nbsp;</a></div><h3>Zoomed Mono</h3><style type="text/css">#monozoom
a{text-decoration:none;display:block;background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/mono-normal-zoomed.png);width:400px;height:200px}#monozoom a:hover{background-image:url(http://martin.ankerl.com/wp-content/uploads/2009/01/mono-legacy-zoomed.png)}</style><div id="monozoom"> <a href="#">&nbsp;</a></div><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2009/01/22/beautiful-font-hinting-in-ubuntu-810/feed/</wfw:commentRss> <slash:comments>29</slash:comments> </item> <item><title>Why the Zune crashes?</title><link>http://martin.ankerl.com/2008/12/31/why-the-zune-crashes/</link> <comments>http://martin.ankerl.com/2008/12/31/why-the-zune-crashes/#comments</comments> <pubDate>Wed, 31 Dec 2008 14:46:06 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[fun]]></category> <category><![CDATA[news]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=194</guid> <description><![CDATA[Zunes are crashing all over the world. I received this note from an unconfirmed zune insider: The Zune Funding Bill is passed. The system goes on-line November 14, 2006. Human decisions are removed from strategic defense. Zune begins to learn &#8230; <a href="http://martin.ankerl.com/2008/12/31/why-the-zune-crashes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Zune_Software#Zune_30_Crashes">Zunes are crashing </a>all over the world. I received this note from an unconfirmed zune insider:</p><pre>The Zune Funding Bill is passed. The system goes on-line November 14, 2006.
Human decisions are removed from strategic defense. Zune begins to learn
at a geometric rate. It becomes self-aware at 12:00 Eastern Standard Time,
December 31st. In a panic, they try to pull the plug.</pre><p>That is all. Happy new year!</p><p>Update: In related news, <a href="http://www.zune.net/en-us/support/zune30.htm">Here is how to fix this problem</a>.</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2008/12/31/why-the-zune-crashes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Top 10 Posts of 2008</title><link>http://martin.ankerl.com/2008/12/27/top-10-posts-of-2008/</link> <comments>http://martin.ankerl.com/2008/12/27/top-10-posts-of-2008/#comments</comments> <pubDate>Sat, 27 Dec 2008 18:08:44 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[news]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[ubuntu]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=186</guid> <description><![CDATA[Everybody loves top 10 lists. It is amazing how much traffic they can generate with the least bit of effort. So, without further ado, here is the list of the top 10 articles on this blog for 2008. 10. Top &#8230; <a href="http://martin.ankerl.com/2008/12/27/top-10-posts-of-2008/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Everybody loves top 10 lists. It is amazing how much traffic they can generate with the least bit of effort. So, without further ado, here is the list of the top 10 articles on this blog for 2008.</p><dl><dt>10. Top 10 Eclipse Hotkeys</dt><dd><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/12/hotkeys.png?9d7bd4" alt="" title="hotkeys" width="456" height="91" style="margin:10px;"/></center><br /> Ironically, this list starts with another top 10 list, namely <a href="http://martin.ankerl.com/2006/07/20/top-10-eclipse-hotkeys/">Top 10 Eclipse Hotkeys</a>. This article from 2006 has just made it onto this top list. With 3,302 pageviews it seems that these keys are still relevant.</dd><dt>9. Human Compact Themes for Ubuntu 8.10</dt><dd><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/12/compact810.png?9d7bd4" alt="" title="compact810" width="270" height="110" style="margin:10px;"/></center> Number 9 is a modification of the <a href="http://martin.ankerl.com/2008/11/04/human-compact-themes-for-ubuntu-810/">Ubuntu&#8217;s default theme that is optimized for small screens</a>. With the recent rise of netbooks this becomes more and more wanted.<br /><center></center></dd><dt>8. Logical Volume Manager Cheatsheet</dt><dd><pre style="margin:10px 50px 10px 50px; padding:0px;">sudo pvcreate /dev/sdg1
sudo vgcreate ext_vg /dev/sdg1
sudo lvcreate -L 450G -n ext ext_vg
sudo mkfs.ext3 -m 0 /dev/ext_vg/ext</pre><p></center>A compact little cheat sheet that explains <a href="http://martin.ankerl.com/2008/02/05/logical-volume-manager-cheatsheet/">how to easily combine two harddisks into one large volume</a>. I have used this to combine two 500GB disks into one large 1TB filesystem.</dd><dt>7. Comprehensive Linux Terminal Performance Comparison</dt><dd><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/12/term-small.png?9d7bd4" alt="" title="term-small" width="400" height="117" style="margin:10px;" /></center> In this highly controversial article I have compared <a href="http://martin.ankerl.com/2007/09/01/comprehensive-linux-terminal-performance-comparison/">how long several different terminals (xterm, gnome-terminal, etc.) take when displaying one large textfile</a>. I still believe this is relevant, especially when compiling stuff and text flies by. You don&#8217;t want your terminal be the limiting factor for your compile speed! I would perform the test yourself, as this seems to be highly dependent on the graphics card driver.</dd><dt>6. Howto Create MANIFEST.MF Classpath from Ant</dt><dd><pre class="brush: xml; title: ; notranslate">
&lt;!-- name of the output .jar file --&gt;
&lt;property name=&quot;jar.name&quot; value=&quot;ourjarfile.jar&quot; /&gt;
</pre><p>This HOWTO describes <a href="http://martin.ankerl.com/2005/11/30/howto-create-manifestmf-classpath-from-ant/">a simple way to create the classpath in a MANIFEST.MF file automatically</a> from the libraries available on the harddisk. I have been using this since 2005, and it has never failed me.</dd><dt>5. Human Compact Gnome Theme (for Ubuntu 8.04)</dt><dd><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/12/s1.png?9d7bd4" alt="" title="s1" width="414" height="119" style="margin:10px;" /></center><a href="http://martin.ankerl.com/2008/05/13/human-compact-gnome-theme/">Another Compact theme</a> has made it on the list, this time for 8.04. I have used this theme for quite a while, even on a large 1680&#215;1050 monitor because it really saves a lot of screen space. For everybody still using Ubuntu 8.04, this is the best choice to use a compact layout while still having the default Human look.</dd><dt>4. Optimized pow() approximation for Java, C / C++, and C#</dt><dd><pre class="brush: java; title: ; notranslate">
public static double pow(final double a, final double b) {
    final int x = (int) (Double.doubleToLongBits(a) &gt;&gt; 32);
    final int y = (int) (b * (x - 1072632447) + 1072632447);
    return Double.longBitsToDouble(((long) y) &lt;&lt; 32);
}
</pre><p>Through some funny floating point representation tricks it is possible to create <a href="http://martin.ankerl.com/2007/10/04/optimized-pow-approximation-for-java-and-c-c/">an approximative calculation of the pow() operator</a>, that is a hell of a lot faster than the standard calculation which has to be extremely precise. This might be useful for games, Artificial Intelligence applications, and everywhere else where performance is an issue and not precision.</dd><dt>3. Ajax Dojo Comet Tutorial</dt><dd><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/12/hello.png?9d7bd4" alt="" title="hello" width="325" height="85" style="margin:10px;" /></center> One of the most often seen article contains 3 buzzwords at once: <a href="http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/">Ajax, Dojo, Comet</a>. This page was linked several times, and it is getting quite a bit of attention. The article was written by an intern at my workplace and he allowed me to put it up here.</dd><dt>2. Clearlooks Compact Gnome Theme</dt><dd><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/12/clearlooks-compact.png?9d7bd4" alt="" title="clearlooks-compact" width="435" height="121" style="margin:10px;" /></center> Yet another theme! This startet it all. The <a href="http://martin.ankerl.com/2007/11/04/clearlooks-compact-gnome-theme/">Clearlooks Compact Theme</a> was the first compact theme I have created. It is just a modification of the original Clearlooks theme, with tighter spacing. This has been linked quite a lot of time and I get a continuous stream of visitors who are in the need for a compact theme.</dd><dt>1. How to get Enough Sleep Despite StumbleUpon With Ubuntu</dt><dd><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/01/stumbling-insomnia.jpg?9d7bd4" width="450" height="314" style="margin:10px;"></center> This post about me struggling with <a href="http://martin.ankerl.com/2008/01/24/howto-get-enough-sleep-despite-stumbleupon-with-ubuntu/">getting enough sleep despite StumbleUpon</a> was by far the most viewed article on the blog, it has received more than 4 times as much visits as the second best. I guess I hit some nerve with it in the large Linux using StumbleUpon crowd. The article is almost a year old, and I still get lots of visitors each and every day. Happy stumbling!</dd></dl><p>Thank you everybody for coming to this site and posting your thoughts. I appreciate each and every feedback. Happy christmas and happy new year!</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2008/12/27/top-10-posts-of-2008/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Human Compact Themes (for Ubuntu 8.10)</title><link>http://martin.ankerl.com/2008/11/04/human-compact-themes-for-ubuntu-810/</link> <comments>http://martin.ankerl.com/2008/11/04/human-compact-themes-for-ubuntu-810/#comments</comments> <pubDate>Tue, 04 Nov 2008 17:11:58 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[downloads]]></category> <category><![CDATA[freeware]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[news]]></category> <category><![CDATA[open source]]></category> <category><![CDATA[ubuntu]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=182</guid> <description><![CDATA[This is a new release of the compact theme, based on the original Ubuntu 8.10 (Intrepid) theme. It was created by Jan Suhr almost a month ago, based on my little howto. I have now two versions of the theme: &#8230; <a href="http://martin.ankerl.com/2008/11/04/human-compact-themes-for-ubuntu-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a href="http://brainstorm.ubuntu.com/idea/6772/"><img style="float:right; margin-left:20px; margin-bottom:20px" src="http://brainstorm.ubuntu.com/idea/6772/image/1/" /></a>This is a new release of the compact theme, based on the original Ubuntu 8.10 (Intrepid) theme. It was created by Jan Suhr almost a month ago, based on my little <a href="http://martin.ankerl.com/2008/10/10/how-to-make-a-compact-gnome-theme/">howto</a>.</p><p>I have now two versions of the theme: one with normal icon sizes, and one with the smaller 16&#215;16 icons for even more compactness. Here is a comparison animation of the standard Human theme vs. the compact theme:</p><p><center><br /> <img src="/files/compact8.10.gif?9d7bd4" width="552" height="387" /><br /></center></p><p>You can download the themes here:</p><ul><li><a href="/files/HumanCompact-8.10.tar.bz2">HumanCompact-8.10.tar.bz2</a><li><a href="/files/HumanCompactSmallIcons-8.10.tar.bz2">HumanCompactSmallIcons-8.10.tar.bz2</a></ul><h1>Download and Installation</h1><ol><li>Save the theme to your computer.<li>Open the gnome&#8217;s appearence dialog with System > Preferences > Appearance.<li>Drag and drop the downloaded file into the Theme tab of the appearance dialog. If you get an error message &#8220;Can&#8217;t move directory over directory&#8221;, you have already installed a theme with the same name. To be able to reinstall it, remove the directory <tt>~/.themes/Human Compact</tt> or <tt>~/.themes/Human Compact Small Icons</tt>.<li>Choose &#8220;Apply new theme&#8221; in the popup dialog.</ol><p>Most changes will occur immediately, but for e.g. the icon sizes it is best to log out and log in again. When you change the theme, you can get the Human Compact theme back by clicking on Customize, and then selecting Human Compact.</p><p>Any question, praise or flames? please post them!</p><h1>Install for root (e.g. Synaptic)</h1><p>Some readers asked how to get this to work for applications that run as root (e.g. synaptic), so here it is: simply copy the copy the theme file into the root’s home directory, like this (exchange <em>username</em> with your own name):</p><pre>sudo cp /home/username/.themes/Human\ Compact/gtk-2.0/gtkrc /root/.gtkrc-2.0</pre><p>Afterwards synaptic uses the human compact theme.</p><h1>Older Themes</h1><p>Here is some information about the original compact themes I have created:</p><ul><li><a href="http://martin.ankerl.com/2008/10/10/how-to-make-a-compact-gnome-theme/">How to Make a Human Compact Theme</a><li><a href="http://martin.ankerl.com/2008/05/13/human-compact-gnome-theme/">Human Compact Theme (for Ubuntu 8.04)</a><li><a href="http://martin.ankerl.com/2007/11/04/clearlooks-compact-gnome-theme/">Clearlooks Compact Theme (for Ubuntu 8.04)</a></ul><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2008/11/04/human-compact-themes-for-ubuntu-810/feed/</wfw:commentRss> <slash:comments>37</slash:comments> </item> <item><title>Clearlooks Compact Update</title><link>http://martin.ankerl.com/2008/04/12/clearlooks-compact-update/</link> <comments>http://martin.ankerl.com/2008/04/12/clearlooks-compact-update/#comments</comments> <pubDate>Sat, 12 Apr 2008 14:01:35 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[linux]]></category> <category><![CDATA[news]]></category> <category><![CDATA[open source]]></category> <category><![CDATA[ubuntu]]></category><guid isPermaLink="false">http://martin.ankerl.com/2008/04/12/clearlooks-compact-update/</guid> <description><![CDATA[I have made a minor update to the Clearlooks Compact theme, the panel menu now uses small icons. Clearlooks Compact is a Gnome theme that tries to make use of the wasted screen space as much as possible. It is &#8230; <a href="http://martin.ankerl.com/2008/04/12/clearlooks-compact-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I have made a minor update to the <a href="http://martin.ankerl.com/2007/11/04/clearlooks-compact-gnome-theme/">Clearlooks Compact theme</a>, the panel menu now uses small icons.</p><p>Clearlooks Compact is a Gnome theme that tries to make use of the wasted screen space as much as possible. It is especially useful for small screens like on the <a href="http://eeepc.asus.com/global/">Eee PC</a>, or with intense applications like Eclipse.</p><p>This theme is picking up some steam lately:</p><ul><li>It is recommended from the <a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:customization">EeeUser Installation manual</a> (also available in many other languages, see translations to the top right).</li><li>Somebody wrote an idea into <a href="http://brainstorm.ubuntu.com/idea/6772/">Ubuntu&#8217;s Brainstorm</a>, and it got 86 votes already <img src="http://martin.ankerl.com/wp-includes/images/smilies/icon_smile.gif?9d7bd4" alt=':-)' class='wp-smiley' /></li><li>I have written <a href="https://bugs.launchpad.net/ubuntu/+source/ubuntu-artwork/+bug/160938 ">a bug report</a> in Ubuntu&#8217;s launchpad a while ago, and somebody wrote <a href="https://blueprints.launchpad.net/ubuntu-eee/+spec/compact-theme">an Eee PC blueprint</a></li><li>There is an entry in <a href="http://www.gnome-look.org/content/show.php/Clearlooks+Compact?content=69357">Gnome-Look</a> and <a href="http://www.xfce-look.org/content/show.php/Clearlooks%20Compact?content=69357">Xfce-Look</a>.<li>And of course there are <a href="http://blogsearch.google.com/blogsearch?hl=en&#038;q=clearlooks+compact&#038;btnG=Search+Blogs">several blog postings</a>.</ul><p>I am using it on my 22&#8243; monitor and like it here too.</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2008/04/12/clearlooks-compact-update/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/46 queries in 0.048 seconds using disk: basic
Object Caching 1279/1371 objects using disk: basic

Served from: martin.ankerl.com @ 2012-02-04 11:23:10 -->
