<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Simone 'Wiz' Tellini - IT &amp; Technology</title>
    <link>http://tellini.info/blog/</link>
    <description>To strive, to seek, to find, and not to yield.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3 - http://www.s9y.org/</generator>
    <pubDate>Tue, 05 Aug 2008 06:01:52 GMT</pubDate>

    <image>
        <url>http://tellini.info/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Simone 'Wiz' Tellini - IT &amp; Technology - To strive, to seek, to find, and not to yield.</title>
        <link>http://tellini.info/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Quote of the Day</title>
    <link>http://tellini.info/blog/archives/71-Quote-of-the-Day.html</link>
            <category>Quotes</category>
            <category>Software Development</category>
    
    <comments>http://tellini.info/blog/archives/71-Quote-of-the-Day.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=71</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=71</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    &lt;blockquote&gt;[...] a good programmer cultivates the virtue of laziness. (But not just any laziness: you must be aggressively, proactively lazy!)&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;-- Chris Pine&lt;/em&gt;, dealing with the &lt;a href=&quot;http://blogs.msdn.com/steverowe/archive/2008/05/15/design-principle-don-t-repeat-yourself.aspx&quot;&gt;DRY rule&lt;/a&gt; 
    </content:encoded>

    <pubDate>Mon, 04 Aug 2008 22:53:09 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/71-guid.html</guid>
    <category>laziness</category>
<category>quotes</category>
<category>software development</category>

</item>
<item>
    <title>Quote of the Day</title>
    <link>http://tellini.info/blog/archives/68-Quote-of-the-Day.html</link>
            <category>Quotes</category>
            <category>Software Development</category>
    
    <comments>http://tellini.info/blog/archives/68-Quote-of-the-Day.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=68</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=68</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    &lt;blockquote&gt;Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;-- Richard Cook, read on &lt;a href=&quot;http://www.freesoftwaremagazine.com/columns/dont_compare_gnu_linux_windows_or_macos_they_are_not_same_game&quot;&gt;FSM&lt;/a&gt;&lt;/em&gt; 
    </content:encoded>

    <pubDate>Sat, 12 Jul 2008 12:15:14 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/68-guid.html</guid>
    <category>idiots</category>
<category>quotes</category>
<category>software development</category>
<category>universe</category>

</item>
<item>
    <title>Quote of the Day</title>
    <link>http://tellini.info/blog/archives/67-Quote-of-the-Day.html</link>
            <category>Quotes</category>
            <category>Software Development</category>
    
    <comments>http://tellini.info/blog/archives/67-Quote-of-the-Day.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=67</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=67</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    &lt;blockquote&gt;[...] as we all know, premature optimization is the root of all evil.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;-- from a &lt;a href=&quot;http://lists.apple.com/mailman/listinfo/cocoa-dev/&quot;&gt;cocoa-dev&lt;/a&gt; email&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
amen! 
    </content:encoded>

    <pubDate>Sun, 06 Jul 2008 21:21:04 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/67-guid.html</guid>
    <category>optimization</category>
<category>quotes</category>
<category>software development</category>

</item>
<item>
    <title>Windows Vista Bonus</title>
    <link>http://tellini.info/blog/archives/66-Windows-Vista-Bonus.html</link>
            <category>IT &amp; Technology</category>
    
    <comments>http://tellini.info/blog/archives/66-Windows-Vista-Bonus.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=66</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=66</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Windows Vista demand is so strong that Dell is offering a &lt;a href=&quot;http://direct2dell.com/channel/archive/2008/06/26/xp-down-for-the-count.aspx&quot;&gt;Windows Vista Bonus&lt;/a&gt; to its customers.&lt;br /&gt;
&lt;br /&gt;
What is it?&lt;br /&gt;
&lt;br /&gt;
It&#039;s the option to have &lt;a href=&quot;http://direct2dell.com/smallbusiness/archive/2008/05/01/windows-vista-downgrade-service-amp-xp-end-of-life.aspx&quot;&gt;Windows XP pre-installed&lt;/a&gt;, of course! &lt;img src=&quot;http://tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 02 Jul 2008 17:25:40 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/66-guid.html</guid>
    <category>it &amp; technology</category>
<category>vista</category>
<category>windows</category>
<category>xp</category>

</item>
<item>
    <title>Who's linking to your site?</title>
    <link>http://tellini.info/blog/archives/64-Whos-linking-to-your-site.html</link>
            <category>SysAdmin</category>
    
    <comments>http://tellini.info/blog/archives/64-Whos-linking-to-your-site.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=64</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=64</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    If you&#039;re using &lt;a href=&quot;http://logminer.tellini.info/&quot;&gt;LogMiner&lt;/a&gt; to analyse your Apache/IIS logs, here&#039;s an easy recipe to be notified of sites that send visitors your way.&lt;br /&gt;
&lt;br /&gt;
First, let&#039;s define a Pg/PLSQL function to extract the new referrers:&lt;br /&gt;
&lt;div class=&quot;sql&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;CREATE&lt;/span&gt; TYPE new_referrer &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AS&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; site_id&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;int8,&lt;br /&gt;&amp;#160; &amp;#160; site_name&amp;#160; &amp;#160; &amp;#160; &amp;#160;text,&lt;br /&gt;&amp;#160; &amp;#160; referrer&amp;#160; &amp;#160; &amp;#160; &amp;#160; text,&lt;br /&gt;&amp;#160; &amp;#160; hits&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; int&lt;br /&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;OR&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;REPLACE&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FUNCTION&lt;/span&gt; get_new_referrers&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;RETURNS SETOF new_referrer &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AS&lt;/span&gt; $body$&lt;br /&gt;&amp;#160; &amp;#160; DECLARE&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; rec&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;new_referrer;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; lastRef&amp;#160; &amp;#160; &amp;#160;int8;&lt;br /&gt;&amp;#160; &amp;#160; BEGIN&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INTO&lt;/span&gt; lastRef CAST&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; value &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;AS&lt;/span&gt; int8 &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; catalog&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; name = &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;LastReferrer&#039;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IF&lt;/span&gt; lastRef &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IS&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;NULL&lt;/span&gt; THEN&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;INTO&lt;/span&gt; catalog &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; name, value &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;VALUES&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;LastReferrer&#039;&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; lastRef := &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; END &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IF&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FOR&lt;/span&gt; rec &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;IN&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; EXECUTE &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;SELECT s.id AS site_id, s.name AS site_name, r.referrer, tmp.hits &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;FROM ( &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;&amp;#160; &amp;#160;SELECT site, referrer, COUNT(*) AS hits &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;&amp;#160; &amp;#160;FROM accesses &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;&amp;#160; &amp;#160;WHERE referrer &amp;gt; &#039;&lt;/span&gt; || lastRef ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;&amp;#160; &amp;#160;GROUP BY site, referrer &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;) tmp &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;JOIN sites s ON s.id = tmp.site &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;JOIN referrers r ON tmp.referrer = r.id &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;WHERE r.extern = true &#039;&lt;/span&gt; ||&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;ORDER BY s.name, tmp.hits DESC, r.referrer&#039;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; LOOP&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;RETURN&lt;/span&gt; NEXT rec;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; END LOOP;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;UPDATE&lt;/span&gt; catalog&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SET&lt;/span&gt; value = &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; MAX&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; id &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; referrers &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; name = &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;LastReferrer&#039;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;RETURN&lt;/span&gt;;&lt;br /&gt;&amp;#160; &amp;#160; END;&lt;br /&gt;$body$ &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LANGUAGE&lt;/span&gt; plpgsql;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Then, a little PHP script to run the query and format the results:&lt;br /&gt;
&lt;div class=&quot;php&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#!/usr/local/bin/php&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0000ff;&quot;&gt;$lines&lt;/span&gt;&amp;#160; &amp;#160; = &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0000ff;&quot;&gt;$lastSite&lt;/span&gt; = &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;&#039;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// quickest and dirtiest way to execute a query in PHP ;-)&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/exec&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;exec&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;echo &#039;SELECT r.* &quot;&lt;/span&gt; .&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;FROM get_new_referrers() r &quot;&lt;/span&gt; .&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;LEFT JOIN search_engines se ON ( r.referrer ~* se.pattern AND r.referrer ~* se.query_pattern )&quot;&lt;/span&gt; .&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;WHERE se.id IS NULL&#039; | /usr/local/pgsql/bin/psql -U logminer -At logminer&quot;&lt;/span&gt;,&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0000ff;&quot;&gt;$lines&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #b1b100;&quot;&gt;foreach&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$lines&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;as&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$line&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0000ff;&quot;&gt;$parts&lt;/span&gt; = &lt;a href=&quot;http://www.php.net/explode&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;explode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;|&#039;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$line&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;4&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$lastSite&lt;/span&gt; != &lt;span style=&quot;color: #0000ff;&quot;&gt;$parts&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/printf&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;printf&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&quot;&lt;/span&gt; .&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;-------------------------------------------------------&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&quot;&lt;/span&gt; .&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;Referrers for %s&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&quot;&lt;/span&gt; .&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;-------------------------------------------------------&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&quot;&lt;/span&gt;,&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0000ff;&quot;&gt;$parts&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0000ff;&quot;&gt;$lastSite&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$parts&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/printf&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;printf&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;[%d] %s&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&quot;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$parts&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$parts&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The query above grabs the referrers for every site available in the DB, filtering requests coming from known search engines to reduce the level of &quot;noise&quot;.&lt;br /&gt;
&lt;br /&gt;
This script is finally invoked by the cron job that processes the logs:&lt;br /&gt;
&lt;div class=&quot;bash&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;referrers_report.php | mail -s &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;New referrers report&#039;&lt;/span&gt; email@example.com&lt;br /&gt;&amp;#160;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Fri, 20 Jun 2008 14:57:28 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/64-guid.html</guid>
    <category>apache</category>
<category>iis</category>
<category>logminer</category>
<category>logs</category>
<category>referrers</category>
<category>sysadmin</category>

</item>
<item>
    <title>Single instance per session application with argument passing</title>
    <link>http://tellini.info/blog/archives/61-Single-instance-per-session-application-with-argument-passing.html</link>
            <category>Software Development</category>
    
    <comments>http://tellini.info/blog/archives/61-Single-instance-per-session-application-with-argument-passing.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=61</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Suppose you want to create an application which you want to limit to a single running instance, like some image viewers do for example. Also, you need different users on a Terminal Server not to conflict with each other. Oh, and you&#039;re coding in C#.&lt;br /&gt;
&lt;br /&gt;
A possible solution to the problem is the one described in &lt;a href=&quot;http://www.flawlesscode.com/post/2008/02/Enforcing-single-instance-with-argument-passing.aspx&quot;&gt;this Flawless Code post&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
What I didn&#039;t like is, it requires the 3.5 version of the framework, while I preferred to be able to run on machines with only 2.0 installed. So I&#039;ve replaced the NamedPipeClientStream/NamedPipeServerStream with a P/Invoke-based implementation based on &lt;a href=&quot;http://blog.paranoidferret.com/index.php/2007/07/25/interprocess-communication-using-named-pipes-in-csharp/&quot;&gt;this example&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Also, I create a different pipe per user session, since I haven&#039;t found a way to create a &quot;local&quot; pipe. An article at &lt;a href=&quot;http://www.drdobbs.com/windows/184416711&quot;&gt;Dr Dobb&#039;s&lt;/a&gt; suggests that  it&#039;s possible, while &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa365150(VS.85).aspx&quot;&gt;MSDN&lt;/a&gt; doesn&#039;t mention this possibility...&lt;br /&gt;
&lt;br /&gt;
I&#039;ve zipped up my &lt;a href=&quot;http://files.tellini.info/SingleInstanceApp.zip&quot;&gt;test solution&lt;/a&gt; in case someone else has the same needs. 
    </content:encoded>

    <pubDate>Wed, 04 Jun 2008 12:44:00 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/61-guid.html</guid>
    <category>.net</category>
<category>c#</category>
<category>ipc</category>
<category>software development</category>

</item>
<item>
    <title>How much would it cost to rewrite it?</title>
    <link>http://tellini.info/blog/archives/60-How-much-would-it-cost-to-rewrite-it.html</link>
            <category>Software</category>
            <category>Software Development</category>
    
    <comments>http://tellini.info/blog/archives/60-How-much-would-it-cost-to-rewrite-it.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=60</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    I&#039;ve just added &lt;a href=&quot;http://logminer.tellini.info/&quot;&gt;LogMiner&lt;/a&gt; to &lt;a href=&quot;http://www.ohloh.net/projects/logminer&quot;&gt;Ohloh&lt;/a&gt;, a site that offers an interesting feature: it can analyse a project source code and estimate how much it would cost to hire a development team to recreate the project from scratch.&lt;br /&gt;
&lt;br /&gt;
I think that it&#039;s a simple way to estimate the effort you put over the time in open source projects.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the resulting figure for LogMiner:&lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;border-style: none&quot;&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.ohloh.net/projects/14626/widgets/project_partner_badge&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;/div&gt; 
    </content:encoded>

    <pubDate>Mon, 02 Jun 2008 17:13:44 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/60-guid.html</guid>
    <category>logminer</category>
<category>software</category>
<category>software development</category>

</item>
<item>
    <title>A new way to collect email addresses to spam?</title>
    <link>http://tellini.info/blog/archives/59-A-new-way-to-collect-email-addresses-to-spam.html</link>
            <category>IT &amp; Technology</category>
    
    <comments>http://tellini.info/blog/archives/59-A-new-way-to-collect-email-addresses-to-spam.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=59</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    I&#039;m starting to suspect that spammers try to collect and verify email addresses from &lt;a href=&quot;http://www.asp-shareware.org/pad/&quot;&gt;PAD&lt;/a&gt; files using bogus sites as honeypots.&lt;br /&gt;
&lt;br /&gt;
In fact, lately I&#039;ve received several mails which are all based on the same template:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
Hello, my name is  John, and I am an associate of&lt;br /&gt;
&lt;em&gt;SITEURL&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
	Briefly, here is what we do. We specialize in&lt;br /&gt;
software reviews and downloads. While browsing the&lt;br /&gt;
web we came across your software and I must say&lt;br /&gt;
that we were stunned. We were so amazed by its&lt;br /&gt;
outstanding features that we decided to give you&lt;br /&gt;
our prestigious 5 stars award and put your&lt;br /&gt;
software on our editors choice list. We would be&lt;br /&gt;
delighted if you would consider posting it in your&lt;br /&gt;
awards section. To find the award please go to&lt;br /&gt;
http://&lt;em&gt;SITEURL&lt;/em&gt;/adownload&lt;em&gt;IDOFSOMEKIND&lt;/em&gt;.html  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you have time please leave a comment, so that&lt;br /&gt;
others can view your remarks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	I would like to take a moment to thank you for&lt;br /&gt;
all your devoted work in the software field and&lt;br /&gt;
wish you success in your business.&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The suspicious points are:&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
 &lt;li&gt;all the sites have the same structure&lt;/li&gt;&lt;br /&gt;
 &lt;li&gt;they don&#039;t even pretend not to be fake: the search function never works, the content appears only in some pages and never point to valid files, etc...&lt;/li&gt;&lt;br /&gt;
 &lt;li&gt;&lt;em&gt;IDOFSOMEKIND&lt;/em&gt; could be used just to verify that the mail reached an user that actually reads the mail and clicks on URL&#039;s&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
Am I paranoid? 
    </content:encoded>

    <pubDate>Thu, 29 May 2008 19:36:30 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/59-guid.html</guid>
    <category>download sites</category>
<category>it &amp; technology</category>
<category>pad</category>
<category>spam</category>

</item>
<item>
    <title>If at first you don't succeed... try, try again...</title>
    <link>http://tellini.info/blog/archives/58-If-at-first-you-dont-succeed...-try,-try-again....html</link>
            <category>Coding fun</category>
    
    <comments>http://tellini.info/blog/archives/58-If-at-first-you-dont-succeed...-try,-try-again....html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=58</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=58</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Here&#039;s another &lt;em&gt;interesting&lt;/em&gt; piece of code I&#039;ve just digged up in a C# application I&#039;m reviewing.&lt;br /&gt;
&lt;br /&gt;
If you can come up with a bright idea about what those try/catch blocks are supposed to do, you&#039;ve got more imagination than me... &lt;img src=&quot;http://tellini.info/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;csharp&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;class&lt;/span&gt; Foo&lt;br /&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #FF0000;&quot;&gt;int&lt;/span&gt; bar;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #008080; font-style: italic;&quot;&gt;// ...snip...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #FF0000;&quot;&gt;int&lt;/span&gt; GetNewBar&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #FF0000;&quot;&gt;int&lt;/span&gt; ret = &lt;span style=&quot;color: #FF0000;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;lock&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0600FF;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; bar++;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; ret = bar;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;catch&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; bar++;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; ret = bar;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;catch&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;return&lt;/span&gt; ret;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #008080; font-style: italic;&quot;&gt;// ...snip...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt; 
    </content:encoded>

    <pubDate>Mon, 19 May 2008 16:57:02 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/58-guid.html</guid>
    <category>coding fun</category>
<category>fun</category>
<category>software development</category>

</item>
<item>
    <title>Don't code like this at home, kids</title>
    <link>http://tellini.info/blog/archives/57-Dont-code-like-this-at-home,-kids.html</link>
            <category>Coding fun</category>
    
    <comments>http://tellini.info/blog/archives/57-Dont-code-like-this-at-home,-kids.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=57</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Sometimes when you&#039;re reviewing someone else&#039;s code, you find interesting pieces of &quot;&lt;em&gt;art&lt;/em&gt;&quot;. Like the following loop construct in a C# application:&lt;br /&gt;
&lt;div class=&quot;csharp&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #FF0000;&quot;&gt;int&lt;/span&gt; i = anArray.&lt;span style=&quot;color: #0000FF;&quot;&gt;Length&lt;/span&gt; - &lt;span style=&quot;color: #FF0000;&quot;&gt;1&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;while&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0600FF;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;i &amp;lt; &lt;span style=&quot;color: #FF0000;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;break&lt;/span&gt;;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;...&amp;#160; &amp;#160; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0000FF;&quot;&gt;i&lt;/span&gt;--;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Doh.&lt;br /&gt;
&lt;br /&gt;
You might be tempted to rewrite it as:&lt;br /&gt;
&lt;div class=&quot;csharp&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #FF0000;&quot;&gt;int&lt;/span&gt; i = anArray.&lt;span style=&quot;color: #0000FF;&quot;&gt;Length&lt;/span&gt; - &lt;span style=&quot;color: #FF0000;&quot;&gt;1&lt;/span&gt;; i &amp;gt;= &lt;span style=&quot;color: #FF0000;&quot;&gt;0&lt;/span&gt;; i-- &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;...&amp;#160; &amp;#160; &lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
but it would be too simple, too boring, wouldn&#039;t it? 
    </content:encoded>

    <pubDate>Wed, 14 May 2008 10:25:13 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/57-guid.html</guid>
    <category>coding fun</category>
<category>fun</category>
<category>software development</category>

</item>
<item>
    <title>Quote of the Day</title>
    <link>http://tellini.info/blog/archives/54-Quote-of-the-Day.html</link>
            <category>Fun</category>
            <category>Quotes</category>
            <category>Software Development</category>
    
    <comments>http://tellini.info/blog/archives/54-Quote-of-the-Day.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=54</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    &lt;blockquote&gt;I always assumed the designers of the Objective-C language and Cocoa frameworks trust me to know what I&#039;m doing while I find very elegant ways to shoot myself in the foot.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;-- from a mail sent to &lt;a href=&quot;http://lists.apple.com/mailman/listinfo/cocoa-dev/&quot;&gt;Cocoa-dev&lt;/a&gt;&lt;/em&gt; 
    </content:encoded>

    <pubDate>Fri, 18 Apr 2008 12:07:59 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/54-guid.html</guid>
    <category>cocoa</category>
<category>fun</category>
<category>objective-c</category>
<category>quotes</category>
<category>software development</category>

</item>
<item>
    <title>Captcha breakers? No, thanks!</title>
    <link>http://tellini.info/blog/archives/53-Captcha-breakers-No,-thanks!.html</link>
            <category>IT &amp; Technology</category>
            <category>Site</category>
    
    <comments>http://tellini.info/blog/archives/53-Captcha-breakers-No,-thanks!.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=53</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Several months ago, I&#039;ve added a &lt;a href=&quot;http://tellini.info/blog/archives/26-Captcha.html&quot;&gt;captcha check&lt;/a&gt; to the contact page to stop spammers from flooding my mailbox.&lt;br /&gt;
&lt;br /&gt;
Today, with much surprise, I&#039;ve received a comment to that post from a guy trying to sell his services:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
We the leading Data processing company in Bangladesh. Presently we are processing 300000+ captcha per day by our 55 operators. We have a well set up and We can give the law rate for the captcha solving.&lt;br /&gt;
&lt;br /&gt;
Our rate $2 per 1000 captcha.&lt;br /&gt;
&lt;br /&gt;
We just wanna make the relationship for long terms. can we go forward?&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
What?! No, we can &lt;strong&gt;NOT&lt;/strong&gt; go forward.&lt;br /&gt;
&lt;br /&gt;
Unbelievable.&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t even imagine that someone would employ &lt;em&gt;people&lt;/em&gt; just to break captcha barriers and push spam through. 
    </content:encoded>

    <pubDate>Tue, 25 Mar 2008 12:37:24 -0700</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/53-guid.html</guid>
    <category>captcha</category>
<category>it &amp; technology</category>
<category>site</category>
<category>spam</category>

</item>
<item>
    <title>lm_sensors config for Asus T3-P5945GCX (P5L13L motherboard)</title>
    <link>http://tellini.info/blog/archives/52-lm_sensors-config-for-Asus-T3-P5945GCX-P5L13L-motherboard.html</link>
            <category>SysAdmin</category>
    
    <comments>http://tellini.info/blog/archives/52-lm_sensors-config-for-Asus-T3-P5945GCX-P5L13L-motherboard.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=52</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=52</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    I&#039;ve just installed the latest Mandriva 2008.1 RC on this fine Asus barebone.&lt;br /&gt;
&lt;br /&gt;
Everything went fine, except that the output of sensors showed too many ALARM messages for my taste... so, here&#039;s how I&#039;ve modified the pre-installed &lt;strong&gt;sensors.conf&lt;/strong&gt; to set some min/max values closer to reality and to hide useless lines:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bash&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Winbond W83627EHF configuration originally contributed by Leon Moonen&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# This is for an Asus P5P800, voltages for A8V-E SE.&lt;/span&gt;&lt;br /&gt;chip &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;w83627ehf-*&quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;w83627dhg-*&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; label in0 &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;VCore&quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; label in2 &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;AVCC&quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; label in3 &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;3VCC&quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; label in7 &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;VSB&quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; label in8 &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;VBAT&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# +12V is in1 and +5V is in6 as recommended by datasheet&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; compute in1 @*&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;+&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;56&lt;/span&gt;/&lt;span style=&quot;color: #cc66cc;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;,&amp;#160; @/&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;+&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;56&lt;/span&gt;/&lt;span style=&quot;color: #cc66cc;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; compute in6 @*&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;+&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;22&lt;/span&gt;/&lt;span style=&quot;color: #cc66cc;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;,&amp;#160; @/&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;+&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;22&lt;/span&gt;/&lt;span style=&quot;color: #cc66cc;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in1_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;12&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;9&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in1_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;12&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in6_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;95&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in6_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;05&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in4_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;6&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;9&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in4_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;6&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;05&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in9_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;6&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;9&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in9_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;6&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;05&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Set the 3.3V&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in2_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;95&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in2_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;05&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in3_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;95&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in3_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;05&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in7_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;95&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in7_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;05&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in8_min&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;95&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; in8_max&amp;#160; &amp;#160;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;*&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;.&lt;span style=&quot;color: #cc66cc;&quot;&gt;05&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Fans&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160;label fan2&amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;CPU Fan&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; ignore fan1&lt;br /&gt;&amp;#160; ignore fan3&lt;br /&gt;&amp;#160; ignore fan4&lt;br /&gt;&amp;#160; ignore fan5&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Temperatures&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160;label temp1&amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;Sys Temp&quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160;label temp2&amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;CPU Temp&quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160;label temp3&amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;AUX Temp&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; temp1_over&amp;#160; &lt;span style=&quot;color: #cc66cc;&quot;&gt;45&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #000066;&quot;&gt;set&lt;/span&gt; temp1_hyst&amp;#160; &lt;span style=&quot;color: #cc66cc;&quot;&gt;40&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Corrections are welcome. 
    </content:encoded>

    <pubDate>Sat, 08 Mar 2008 11:24:00 -0800</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/52-guid.html</guid>
    <category>asus</category>
<category>linux</category>
<category>lm_sensors</category>
<category>mandriva</category>
<category>sysadmin</category>

</item>
<item>
    <title>Is your data secure?</title>
    <link>http://tellini.info/blog/archives/51-Is-your-data-secure.html</link>
            <category>IT &amp; Technology</category>
    
    <comments>http://tellini.info/blog/archives/51-Is-your-data-secure.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=51</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=51</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Users with sensitive data might find it comforting to use disk encryption in order to prevent it to fall in the wrong hands, especially when this data is stored on a laptop.&lt;br /&gt;
&lt;br /&gt;
Hovewer, &lt;a href=&quot;http://citp.princeton.edu/memory/&quot;&gt;a new research&lt;/a&gt; shows that it might be relatively simple to recover the encryption keys for at least three popular products (BitLocker, from Windows Vista; FileVault, from Mac OS X; dm-crypt for Linux), thus defeating this kind of protection.&lt;br /&gt;
&lt;br /&gt;
&lt;object width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/JDaicPIgn9U&amp;rel=1&amp;border=0&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/JDaicPIgn9U&amp;rel=1&amp;border=0&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
Be warned. 
    </content:encoded>

    <pubDate>Fri, 22 Feb 2008 17:39:27 -0800</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/51-guid.html</guid>
    <category>bitlocker</category>
<category>encryption</category>
<category>filevault</category>
<category>it &amp; technology</category>
<category>mac os x</category>
<category>research</category>
<category>security</category>
<category>vista</category>

</item>
<item>
    <title>Another step towards an IPv6 Internet</title>
    <link>http://tellini.info/blog/archives/49-Another-step-towards-an-IPv6-Internet.html</link>
            <category>IT &amp; Technology</category>
    
    <comments>http://tellini.info/blog/archives/49-Another-step-towards-an-IPv6-Internet.html#comments</comments>
    <wfw:comment>http://tellini.info/blog/wfwcomment.php?cid=49</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Today &lt;a href=&quot;http://www.iana.org/reports/root-aaaa-announcement.html&quot;&gt;IANA&lt;/a&gt; added the first AAAA records for six of the thirtheen authoritative DNS servers that carry the root zone.&lt;br /&gt;
&lt;br /&gt;
In short, this means that as of today one &lt;em&gt;would&lt;/em&gt; be able to wander across the Internet without having anything to do with IPv4.&lt;br /&gt;
&lt;br /&gt;
Too bad that virtually no ISP is ready to provide IPv6 connectivity yet &lt;img src=&quot;http://tellini.info/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Completing the migration from IPv4 to IPv6 will still take a long time, and it&#039;s quite understandable given that we&#039;re &lt;em&gt;just&lt;/em&gt; talking about changing the base infrastructure of the &#039;Net &lt;img src=&quot;http://tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Eventually, IPv4 must die. Hopefully before the remaining &lt;a href=&quot;http://en.wikipedia.org/wiki/IPv4_address_exhaustion&quot;&gt;unassigned IP addresses are over&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Mon, 04 Feb 2008 21:04:13 -0800</pubDate>
    <guid isPermaLink="false">http://tellini.info/blog/archives/49-guid.html</guid>
    <category>dns</category>
<category>internet</category>
<category>ipv4</category>
<category>ipv6</category>
<category>it &amp; technology</category>
<category>networking</category>

</item>

</channel>
</rss>