<?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/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>chtekk b10g</title>
    <link>http://chtekk.longitekk.com/</link>
    <description>We're not in Kansas anymore!</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <pubDate>Fri, 27 Aug 2010 03:27:54 GMT</pubDate>

    <image>
        <url>http://chtekk.longitekk.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: chtekk b10g - We're not in Kansas anymore!</title>
        <link>http://chtekk.longitekk.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Beware of quotes passed to init-scripts!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/44-Beware-of-quotes-passed-to-init-scripts!.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/44-Beware-of-quotes-passed-to-init-scripts!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=44</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Just a quick note in case I or others run into this again...&lt;br /&gt;
I use &lt;a href=&quot;http://trac.edgewall.org/&quot; title=&quot;Trac&quot;&gt;Trac&lt;/a&gt; to manage a few projects, more specifically Gentoo&#039;s www-apps/trac package to ease its deployment. One feature of the package I take advantage of is the init-script to manage the tracd standalone server.&lt;br /&gt;
I now wanted to enable authentication for my Trac installs, and all guides out there tell you to add &lt;blockquote&gt;--auth=&quot;*,/path/to/digest/auth/file,domain&quot;&lt;/blockquote&gt; to your commandline when starting Trac (&lt;strong&gt;notice the quotes!&lt;/strong&gt;), I tried this on the shell, and it worked as expected.&lt;br /&gt;
I thus changed the TRACD_OPTS variable in /etc/conf.d/tracd to the following:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
TRACD_OPTS=&quot;--auth=\&quot;*,/path/to/digest/auth/file,domain\&quot; --env-parent-dir /var/lib/trac/&quot;&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
It started fine but authentication didn&#039;t work at all... Somewhat baffling, but after some investigation, I noticed that the quotes around the --auth argument were passed as-is to tracd, which then failed to find the environment *, since when splitting the --auth argument apart, &quot;* would be used as environment name. The solution is simply to not set any type of quotes when starting tracd through the provided init-script, so that TRACD_OPTS looks as follows:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
TRACD_OPTS=&quot;--auth=*,/path/to/digest/auth/file,domain --env-parent-dir /var/lib/trac/&quot;&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
In hindsight logical, as the TRACD_OPTS variable gets evaluated only once and then passed to start-stop-daemon, which passes the arguments verbatim to tracd. &lt;img src=&quot;http://chtekk.longitekk.com/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>Fri, 27 Aug 2010 04:55:05 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/44-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>GCC's __attribute__ ((nonnull (...))) not helpful at all</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/43-GCCs-__attribute__-nonnull-...-not-helpful-at-all.html</link>
            <category>C99</category>
            <category>Rig</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/43-GCCs-__attribute__-nonnull-...-not-helpful-at-all.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=43</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Today I encountered some really interesting and disconcerting GCC behaviour...&lt;br /&gt;
I&#039;m currently writing a library with some data structures in it, and basically have functions such as the following:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
bool queue_get(QUEUE q, void *item);&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
where item is an address to allocated space on which to operate, this basically is the way you do generics in pure C, using void pointers to memory locations you copy from/store to, based on some size you know depending on your usage pattern.&lt;br /&gt;
Now, the first thing any security conscious (and sane) programmer would do is to check that both queue and item are not NULL and act accordingly, either returning false to the user, or in my case aborting completely as I&#039;m of the opinion this is a serious error on the programmers part that he must fix, still I digress, the fact is: there should be some form of NULL check there, for example:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
bool queue_get(QUEUE q, void *item) {&lt;br /&gt;
    if (q == NULL || item == NULL) {&lt;br /&gt;
        exit(EXIT_FAILURE);&lt;br /&gt;
    }&lt;br /&gt;
    ...&lt;br /&gt;
}&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
This has always worked beautifully. Now the other day I was reading the &lt;a href=&quot;http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html&quot;&gt;GCC manual on function attributes&lt;/a&gt; and stumbled upon attribute &quot;nonnull&quot;, documented as such:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
&quot;nonnull (arg-index, ...)&lt;br /&gt;
    The nonnull attribute specifies that some function parameters should be non-null pointers. For instance, the declaration:&lt;br /&gt;
&lt;br /&gt;
              extern void *&lt;br /&gt;
              my_memcpy (void *dest, const void *src, size_t len)&lt;br /&gt;
                      &lt;u&gt;_attribute_&lt;/u&gt;((nonnull (1, 2)));&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
    causes the compiler to check that, in calls to my_memcpy, arguments dest and src are non-null. If the compiler determines that a null pointer is passed in an argument slot marked as non-null, and the -Wnonnull option is enabled, a warning is issued. &lt;strong&gt;The compiler may also choose to make optimizations based on the knowledge that certain function arguments will not be null.&lt;/strong&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Note the bold sentence, we&#039;ll come back to it later on.&lt;br /&gt;
Now, I thought this looked quite useful and changed the prototypes of my functions to accordingly hint to the compiler when I expected a parameter to be nonnull, so for example I changed my queue_get prototype to look like this:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
bool queue_get(QUEUE q, void *item) &lt;u&gt;_attribute_&lt;/u&gt; ((nonnull (1, 2)));&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
And I then started testing this throughly, and was surprised by what I found:&lt;br /&gt;
GCC&#039;s enforcing of this is more or less useless, it only emits a warning if you pass NULL &lt;strong&gt;directly&lt;/strong&gt; as a parameter to the annotated function, meaning only an erroneous call of the form &quot;queue_get(q, NULL);&quot; would for example be detected, anything else, like &quot;void *p = NULL; queue_get(q, p);&quot; or &quot;queue_get(q, myfunc());&quot; where myfunc() may return NULL, are not detected. There is an enhancement bug open at GCC (&lt;a href=&quot;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17308&quot;&gt;bug #17308&lt;/a&gt;) to improve it to handle more cases, but it hasn&#039;t seen much activity.&lt;br /&gt;
Still, I thought even if it was only that one warning, annotating the function this way would surely help and also work as a form of documentation for clients later reading the libraries header file, so no harm in leaving it there, because the explicit NULL checks inside the library&#039;s functions would anyway correctly catch any passed NULL pointer and abort, right? WRONG! COMPLETELY WRONG!&lt;br /&gt;
Let&#039;s return to that quote from the GCC docs and the last, seemingly innocent line there: &quot;The compiler may also choose to make optimizations based on the knowledge that certain function arguments will not be null.&quot;, what this actually means is that at any meaningful optimization level, such as -O2, any NULL-pointer-checks against parameters of a function declared with the nonnull attribute will be simply optimized away silently, so suddenly calling the function while passing NULL during testing always led to a segmentation fault. Whoa, that&#039;s somewhat unexpected! And passing &quot;-fno-delete-null-pointer-checks&quot; didn&#039;t change anything.&lt;br /&gt;
Searching GCC&#039;s bugzilla I found &lt;a href=&quot;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36166&quot;&gt;bug #36166&lt;/a&gt;, which discussed the exact same thing I was observing, marked as RESO INVALID... Basically it boils down to the fact GCC does the detection for warnings and the optimization of code in separate parts, and they don&#039;t quite seem to agree, meaning that you only get a warning in one particular case of passing NULL, and even then only if the appropriate warning level and options are set, while it ALWAYS optimizes out NULL checks from the code, resulting in quite broken code. The GCC developers seem to regard this as correct, the reporter disagrees (and I agree with him!), &lt;a href=&quot;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36166#c7&quot;&gt;comment #7&lt;/a&gt; summarizes the core of the problem quite well, as well as both positions. RESO INVALID makes it quite clear who won the dispute, and in the end we get a mostly useless function attribute that silently completely breaks code, based on a somewhat unclear line of documentation, that was never updated to be clearer (and at least that would have been easy and helpful to do!).&lt;br /&gt;
Conclusion: all the &lt;u&gt;_attribute_&lt;/u&gt; nonnull&#039;s have been removed from my code again, and what looked like a great idea, completely failed in practice in my opinion. 
    </content:encoded>

    <pubDate>Mon, 19 Apr 2010 21:22:44 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/43-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Retiring from Gentoo</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/42-Retiring-from-Gentoo.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/42-Retiring-from-Gentoo.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=42</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    I&#039;m officially retiring as a Gentoo developer, simply because I&#039;ve not really done anything in the last year and will not be getting back into the swing of things anytime in the future, so I feel it&#039;s time to retire.&lt;br /&gt;
It&#039;s been a fun 4.5 years, even if I wasn&#039;t present much as developer in the last 1.5 years, and I will definitely continue using Gentoo as my distribution of choice, nothing will change that. &lt;img src=&quot;http://chtekk.longitekk.com/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;
I&#039;ve had the honor of getting to know some amazing people during those years, and improve a lot of my skills and competences, and for that I&#039;m grateful.&lt;br /&gt;
See you all around, Luca Longinotti. 
    </content:encoded>

    <pubDate>Fri, 02 Apr 2010 18:23:25 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/42-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Happy New Year people!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/40-Happy-New-Year-people!.html</link>
            <category>Longi's life</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/40-Happy-New-Year-people!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=40</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=40</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Happy New Year people!!!&lt;br /&gt;
Let&#039;s hope for a great 2010. 
    </content:encoded>

    <pubDate>Thu, 31 Dec 2009 23:00:00 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/40-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Merry Christmas everyone!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/39-Merry-Christmas-everyone!.html</link>
            <category>Longi's life</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/39-Merry-Christmas-everyone!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=39</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=39</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Merry Christmas everyone, have a happy time! 
    </content:encoded>

    <pubDate>Fri, 25 Dec 2009 00:10:00 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/39-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>ExpoVina &amp; Sushi</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/38-ExpoVina-Sushi.html</link>
            <category>Longi's life</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/38-ExpoVina-Sushi.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=38</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=38</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    I&#039;ll try to blog again more often, so that at least I&#039;ll have a log of my life, more or less. &lt;img src=&quot;http://chtekk.longitekk.com/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;
Yesterday (Tuesday) evening I and a couple of friends (Flavio, Andrea and Dersim) went to &lt;a href=&quot;http://www.expovina.ch/&quot; title=&quot;ExpoVina&quot;&gt;ExpoVina 2009&lt;/a&gt; in Zürich, a big wine exposition held on 12 boats anchored at the Bürkliplatz port.&lt;br /&gt;
We arrived at around 1700 and stayed till about 1920, sampling wines from different countries, regions and producers. I particularly appreciated the selection of sweet wines from &lt;a href=&quot;http://www.bindellaweine.ch/&quot; title=&quot;Bindella&quot;&gt;Bindella&lt;/a&gt;, as I love sweet and dessert wines, and ordered a few right away, their VinSanto &quot;Dolce Sinfonia&quot; and the &quot;Brachetto d&#039;Aqui&quot; were incredibly good. We also sampled a few wines from Valais, Switzerland, (&lt;a href=&quot;http://www.favre-vins.ch/&quot; title=&quot;Favre&quot;&gt;Favre&lt;/a&gt;, &lt;a href=&quot;http://www.dubois.ch/&quot; title=&quot;Dubois&quot;&gt;Dubois&lt;/a&gt;), which were quite good, but I didn&#039;t order any of those, as they are relatively easy to find here, and I actually know the Favre Caves in Sion personally, as I was there with the military during my Fourier advancement course, and later with my father. They make quite good white wine, such as the Petite Arvine. Being a fan of sweet wines, I also couldn&#039;t resist ordering a few bottles of Samos, a very sweet Greek wine, by &lt;a href=&quot;http://www.keel-weinhandel.ch/&quot; title=&quot;Keel&quot;&gt;Keel&lt;/a&gt;. We also had our first taste of Spanish wine, from &lt;a href=&quot;http://www.casadelvino.ch/&quot; title=&quot;Casa del Vino&quot;&gt;Casa del Vino&lt;/a&gt;, they were quite different from the usual Italian wines we were accustomed to, but quite good nonetheless. The people manning the stand were also very polite and helpful, telling us the differences and histories of the various wines as we sampled them, and offering us samples from all regions and types of wines they had. One of the friends with me then told us another guy we know (Simone) already was here a few days ago, and recommended to try the Port wines from &lt;a href=&quot;http://www.amarela.ch/&quot; title=&quot;Amarela&quot;&gt;Amarela&lt;/a&gt;, which we did. Most of us had no particular experience with Port wines at all, so the guy there helped us choose, and we all were pleasantly surprised, ordering a few bottles of Ruby Reserva and Finest Reserve. To conclude the wine-tasting evening, we enjoyed a few Italian red wines at &lt;a href=&quot;http://www.weibelweine.ch/&quot; title=&quot;Weibel&quot;&gt;Weibel&lt;/a&gt;, and had a nice discussion with the Italian guy there. All in all a very nice event, which I&#039;ll be sure to go again next year.&lt;br /&gt;
After that we hooked up with a few other friends (albeit we were ~20 minutes late, sorry guys! &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ) and went to eat Sushi at &lt;a href=&quot;http://www.nooch.ch/content/view/12/29/&quot; title=&quot;Nooch&quot;&gt;Nooch&lt;/a&gt;. I quite enjoy Asian food, and this was my first time eating sushi, and I must say it was very good, but I still prefer all the fried Chinese food and stuff. &lt;img src=&quot;http://chtekk.longitekk.com/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;
After that we all went home, and me and Flavio watched another episode of &quot;My name is Earl&quot;, it&#039;s a really hilarious show that I recommend to anyone. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/laugh.png&quot; alt=&quot;:-D&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Yo, have a good day! 
    </content:encoded>

    <pubDate>Fri, 13 Nov 2009 10:54:31 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/38-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>tmux</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/37-tmux.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/37-tmux.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=37</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    I&#039;m finally back on the net, after not having any internet access at my new apartment in Zürich after I moved there.&lt;br /&gt;
I now started my bachelor studies at the ETH Zürich, of course in Computer Science, though there&#039;s a little bit too much maths right now for me to be really excited about it, future semesters will be better I hope.&lt;br /&gt;
So I&#039;ll try to get back to a few Gentoo things in the near future, now that I also finally fixed up my main dev system (which had its disk die just before I moved)...&lt;br /&gt;
Still this blog entry&#039;s main focus is to tell you the name of a package I discovered today:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;app-misc/tmux&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
After reinstalling this system I, as always before, emerged screen to take care of my detached terminal needs, I always had the problem with backspace not working correctly from the desktop, which I was never able to fix correctly, but it was bearable. This time it seems something else went wrong too, and inside my screen sessions it didn&#039;t source .bashrc or .bash_profile (which sources .bashrc), even if the shell was correctly set to a bash login shell...&lt;br /&gt;
So, while perusing Gentoo Wiki&#039;s Screen TIPs to see if anyone had seen something like this, at the end of that page I came across the mention of tmux, a &quot;simple, modern, BSD-licensed alternative to GNU Screen&quot;.&lt;br /&gt;
Seeing that it only depended on ncurses (which is usually installed everywhere), and was only like 100kb of source, I installed it and tried it out. I have to say I&#039;m impressed, this little tool does everything I did with screen too (mainly just having multiple, detached terminals and resuming them, which is probably no &quot;advanced screen usage&quot;, but what most people will likely need), backspace works without any fiddling, the Bash stuff is correctly sourced, and the few commands are easy to adapt to, here a little overview:&lt;br /&gt;
&lt;blockquote&gt;tmux&lt;/blockquote&gt;&lt;br /&gt;
Starts a new tmux session&lt;br /&gt;
&lt;blockquote&gt;CTRL-b d&lt;/blockquote&gt;&lt;br /&gt;
Press CTRL-b, then d, to detach the terminal&lt;br /&gt;
&lt;blockquote&gt;tmux a&lt;/blockquote&gt;&lt;br /&gt;
Reattach to the detached terminal&lt;br /&gt;
&lt;br /&gt;
Still, read &lt;strong&gt;man tmux&lt;/strong&gt; to get the full overview, and then happily do &lt;strong&gt;emerge -C screen&lt;/strong&gt;, as I did.&lt;br /&gt;
&lt;br /&gt;
Best regards, chtekk. 
    </content:encoded>

    <pubDate>Sun, 05 Oct 2008 14:48:40 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/37-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>net-www/apache-1* masked.</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/36-net-wwwapache-1-masked..html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/36-net-wwwapache-1-masked..html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    This I just wrote to gentoo-dev and gentoo-server, finally ending Apache-1* support in Gentoo.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
Hi all!&lt;br /&gt;
As announced in the 30 April 2007 edition of GWN [1], net-www/apache-1* as well as all packages depending/using it were masked, pending removal on 12 June 2007.&lt;br /&gt;
I fixed all packages, dependencies, etc. I could find to work correctly after the masking (generally removing Apache 1.X support from them).&lt;br /&gt;
If you find any issue still, please open a bug about it, assign it to apache-bugs@gentoo.org and make it block bug #178189 [2].&lt;br /&gt;
If you use or plan on using the apache-module or depend.apache eclasses, be aware that the need_apache function doesn&#039;t anymore export the apache2 USE flag to IUSE, since now it directly depends on Apache 2.X, so be sure to declare it in your ebuilds IUSE (I fixed the few cases&lt;br /&gt;
where this wasn&#039;t already done).&lt;br /&gt;
Thanks and happy upgrading to Apache 2.X!&lt;br /&gt;
&lt;br /&gt;
[1] &lt;a href=&quot;http://www.gentoo.org/news/en/gwn/20070430-newsletter.xml&quot;  title=&quot;20070430 GWN&quot;&gt;http://www.gentoo.org/news/en/gwn/20070430-newsletter.xml&lt;/a&gt;&lt;br /&gt;
[2] &lt;a href=&quot;https://bugs.gentoo.org/show_bug.cgi?id=178189&quot;  title=&quot;Bug #178189&quot;&gt;https://bugs.gentoo.org/show_bug.cgi?id=178189&lt;/a&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Sat, 12 May 2007 15:44:29 +0200</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/36-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>FOSDEM 07, here we come!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/35-FOSDEM-07,-here-we-come!.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/35-FOSDEM-07,-here-we-come!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=35</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=35</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Yo all!&lt;br /&gt;
Tomorrow to FOSDEM 07 /me goes, along with hansmi, KillerFox and blubb from the swiss crowd!&lt;br /&gt;
Later on both flo and EleRas will join us too, so for me not only will it be &quot;the great Gentoo dev gathering&quot;, but also &quot;the great SysCP dev gathering&quot;, will all three of us present. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; &lt;a href=&quot;http://blog.syscp.org/archives/47-See-you-on-FOSDEM-2007.html&quot;  title=&quot;SysCP blog&quot; target=&quot;_blank&quot;&gt;As flo correctly guessed&lt;/a&gt;, I&#039;ll be sporting the black Gentoo t-shirt, which is amazingly comfortable, but flo&#039;s SysCP t-shirt intrigued me... Is it possible to have more of those @ flo? In black? /me loves black! We&#039;ll be able to discuss that at FOSDEM I think...&lt;br /&gt;
Now off to bed, as I have to get up early (~4AM) to catch the first train to get to Basel, where the others await, and from there off to Bruxelles.&lt;br /&gt;
Lugano-Basel-Frankfurt Am Main-Köln-Bruxelles is the exact route, almost 1000 Km, for a total en-route time of about 11 hours, yay!&lt;br /&gt;
On the PHP front, I&#039;ve finally put PHP 5.2.1 and PHP 4.4.5, with all the needed patches and, of course, Suhosin support, into the &lt;a href=&quot;https://overlays.gentoo.org/proj/php/timeline&quot;  title=&quot;PHP Overlay&quot; target=&quot;_blank&quot;&gt;PHP Overlay&lt;/a&gt;. I&#039;ll test it all during the next days and hopefully commit to the tree on Monday at the latest. Many bugs are fixed with the latest releases, concurrentmodphp support was greatly improved and fixed (especially wrt 64bit archs), and the new MySQL extension patches are included to have the connection charset settable per-SAPI, for each PHP version, using php.ini, instead of my.cnf.&lt;br /&gt;
Work on &lt;a href=&quot;http://svn.linux-vserver.org/projects/vcd/timeline&quot;  title=&quot;VCD&quot; target=&quot;_blank&quot;&gt;VCD&lt;/a&gt; is also going steady, we should be near feature-completion soon, so expect some form of pre-release in the next two weeks... Poke Hollow on #gentoo-vserver for more info. &lt;img src=&quot;http://chtekk.longitekk.com/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;
Best regards, cya all, CHTEKK. 
    </content:encoded>

    <pubDate>Thu, 22 Feb 2007 22:12:25 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/35-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Happy 2007!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/34-Happy-2007!.html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/34-Happy-2007!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    &lt;strong&gt;Happy new year people!!! &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I wish you all a great 2007 full of fun and happiness and all the other good stuff (new hardware comes to mind &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ).&lt;br /&gt;
23C3 finished two days ago, it was really great fun with great talks and great people (yeah, Polish guy living in the USA, from the university near Atlanta, you know who you are &lt;img src=&quot;http://chtekk.longitekk.com/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;
Now we&#039;ve passed yesterday by visiting Berlin and at the moment we&#039;re connected through the Hostels connection... It depresses me to know it&#039;s at least twice as fast as my home DSL. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
By the way, all this convinced me to come to FOSDEM 07, so be prepared to know the CHTEKK (or be scared, that all depends). &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Cya, and happy new year, CHTEKK. 
    </content:encoded>

    <pubDate>Mon, 01 Jan 2007 01:16:35 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/34-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Greetings from 23C3.</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/33-Greetings-from-23C3..html</link>
            <category>Gentoo</category>
            <category>Longi's life</category>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/33-Greetings-from-23C3..html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Yo! Greetings from the 23C3, the Chaos Computer Congress in Berlin.&lt;br /&gt;
Great talks and great people here, at the moment I&#039;m attending a talk about JSON RPC (who knows, maybe that can/will be used someday to improve SysCP &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ), and before that I attended a really great talk about backbone hacking.&lt;br /&gt;
As you can see from this blog post, the wireless network works well (as does the wired one). &lt;img src=&quot;http://chtekk.longitekk.com/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;
With regards to Gentoo devs, I&#039;ve already seen and got to know hansmi, KillerFox and Pylon. I&#039;ve also been told that mabi is around and hanno should be too (at least based on the fact he gave a Lightning Talk about XGL yesterday, which I sadly missed), we should really define a place to meet and get to know eachother... That goes for Gentoo and SysCP users too. &lt;img src=&quot;http://chtekk.longitekk.com/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;
I myself can usually be found attending some talk or down in the Hackcenter (central position, at a round table). &lt;img src=&quot;http://chtekk.longitekk.com/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;
Have fun!&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Thu, 28 Dec 2006 12:42:23 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/33-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Work continues ...</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/32-Work-continues-....html</link>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/32-Work-continues-....html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=32</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=32</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Work on SysCP 1.3 continues, even with Christmas approaching! &lt;img src=&quot;http://chtekk.longitekk.com/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;
General cleanup in various parts was done, me and EleRas reviewed all the regular expressions of the RegExp validator now used to validate data coming from the user, now they&#039;re much better and precise, and I&#039;ve also added a Type validator to check that the type of the passed data is what we expect. Paging was also removed from the 1.3 codebase, as it was incomplete, outdated and completely broken there... It will be reimplemented once we&#039;ve completed other parts of SysCP 1.3 which have priority.&lt;br /&gt;
And the biggest change probably, is that the whole login/logout system was updated and rewritten to conform to the new structure, the &quot;new way of doing thins&quot;. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; It&#039;s still not 100% complete, but you can login and logout, so the main functionality is there. &lt;img src=&quot;http://chtekk.longitekk.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; We&#039;ve also switched to using Whirlpool as hashing algorithm for the SysCP account passwords, but we&#039;ve already decided to later make this configurable by the admin; thanks to the hash extension present in PHP &gt;=5.1.2 it&#039;s really easy to do that, and that extension is really great, thanks PHP devs for that!&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Mon, 18 Dec 2006 02:34:22 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/32-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>New Propel db structure on its way!</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/31-New-Propel-db-structure-on-its-way!.html</link>
            <category>SysCP</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/31-New-Propel-db-structure-on-its-way!.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=31</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=31</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    The new database structure for SysCP 1.4 is taking form, I&#039;d say it&#039;s almost complete, only the foreign-key definitions are still missing, something I intend to rectify in a day or two. &lt;img src=&quot;http://chtekk.longitekk.com/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;
While changing towards this new structure, we&#039;ve also changed to use Propel to connect and work with the database, it will thus replace the old DatabaseHandler.&lt;br /&gt;
Starting with SysCP 1.4, thanks to all this, we&#039;ll also support using SysCP on a PostgreSQL database, and there will also be a module to let your customers create and administrate PostgreSQL databases, just like you can now with MySQL.&lt;br /&gt;
Only thing that deluded me a little is that the Propel generated classes change when built with MySQL or PgSQL, which is kinda &quot;WTF?&quot;, as we&#039;re speaking about a database abstraction layer to an extent... Oh well, the changes are tiny and we&#039;ll then decide how to approach this... Either distributing two SysCP tarballs, one with PgSQL classes and one with the MySQL ones, or just supplying a diff against the MySQL ones to support PgSQL... Once we&#039;re more into the whole thing we&#039;ll be able to decide! &lt;img src=&quot;http://chtekk.longitekk.com/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;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Sun, 19 Nov 2006 21:56:41 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/31-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>New PostgreSQL and PHP (late)</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/30-New-PostgreSQL-and-PHP-late.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/30-New-PostgreSQL-and-PHP-late.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=30</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=30</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    As the title says, I&#039;m late with this blog post, but better late than never... &lt;img src=&quot;http://chtekk.longitekk.com/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;
The new dev-db/libpq and dev-db/postgresql ebuilds reached Portage on Thursday, they seem to work well (we&#039;ve received positive feedback until now) and already solved a number of bugs! Thanks to dev-zero too for all the work spent on them, we make a good team!&lt;br /&gt;
Btw, it seems dbs are made to be maintained by two people... Me and dev-zero for PgSQL, me and vivo for MySQL, and it works very well! WEEEE TEAMWORK RULEZ! Thansk guys, it&#039;s great to work with you all!&lt;br /&gt;
On the PHP front, 5.2.0 reached the overlay, I still have to update the eclasses a little and fix some stuff, as well as update the 4.4.X and 5.1.X releases with some patches, which will probably happen tomorrow, and they&#039;ll probably be put into Portage on Sunday or Monday, sorry for the little delay, but at least the stuff&#039;s well tested and working then. &lt;img src=&quot;http://chtekk.longitekk.com/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;
Best regards and a great weekend to all, CHTEKK. 
    </content:encoded>

    <pubDate>Fri, 10 Nov 2006 22:45:59 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/30-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>News, news, ... ;)</title>
    <link>http://chtekk.longitekk.com/index.php?/archives/29-News,-news,-...-;.html</link>
            <category>Gentoo</category>
    
    <comments>http://chtekk.longitekk.com/index.php?/archives/29-News,-news,-...-;.html#comments</comments>
    <wfw:comment>http://chtekk.longitekk.com/wfwcomment.php?cid=29</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://chtekk.longitekk.com/rss.php?version=2.0&amp;type=comments&amp;cid=29</wfw:commentRss>
    

    <author>nospam@example.com (Luca Longinotti)</author>
    <content:encoded>
    Hi all, /me is back, since a few days now, and I&#039;ve been working on updating stuff...&lt;br /&gt;
Today, together with vivo, MySQL 5.0.X stabilization was agreed on, and https://bugs.gentoo.org/144999 updated accordingly. x86 already responded and stabled dev-db/mysql-5.0.26-r1, the other arches will soon follow. The upgrade from 4.1.X should be painless, just remember to read &lt;a href=&quot;http://www.gentoo.org/doc/en/mysql-upgrading.xml&quot;  title=&quot;The MySQL upgrading guide&quot;&gt;the MySQL upgrading guide&lt;/a&gt; for instructions on how to backup your data before the upgrade, and be sure to run revdep-rebuild from gentoolkit after the upgrade, as all things linking to MySQL will need to be recompiled.&lt;br /&gt;
New PostgreSQL ebuilds are also coming up, those are the first of the new generation of PostgreSQL ebuilds, done together with dev-zero, that will fix up a lot of issues and ease maintainance of PostgreSQL a lot, as well as permitting some exciting new things in the future. ETA for those new ebuilds to enter Portage is this evening (UTC timezone).&lt;br /&gt;
PHP 5.2.0 is also finally out, congrats to the PHP Team, expect an ebuild for the final version in the PHP Overlay by Wednesday and in Portage by Saturday at most.&lt;br /&gt;
Samhain will also be updated soon to the newest versions, so if you use that, stay tuned. &lt;img src=&quot;http://chtekk.longitekk.com/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;
Work on SysCP 1.3 is going on strong, more about that in another blog entry in the next days.&lt;br /&gt;
Best regards, CHTEKK. 
    </content:encoded>

    <pubDate>Mon, 06 Nov 2006 01:00:30 +0100</pubDate>
    <guid isPermaLink="false">http://chtekk.longitekk.com/index.php?/archives/29-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>

</channel>
</rss>