<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed version="0.3" 
   xmlns="http://purl.org/atom/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://blog.novell.stoldgods.nu/rss.php?version=atom0.3" rel="service.feed" title="Magnus Määttä" type="application/x.atom+xml" />
    <link href="http://blog.novell.stoldgods.nu/"                        rel="alternate"    title="Magnus Määttä" type="text/html" />
    <link href="http://blog.novell.stoldgods.nu/rss.php?version=2.0"     rel="alternate"    title="Magnus Määttä" type="application/rss+xml" />
    <title mode="escaped" type="text/html">Magnus Määttä</title>
    <tagline mode="escaped" type="text/html">Stoldgods = Stolen goods</tagline>
    <id>http://blog.novell.stoldgods.nu/</id>
    <modified>2010-06-20T14:33:19Z</modified>
    <generator url="http://www.s9y.org/" version="1.0.4">Serendipity 1.0.4 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>
    <info mode="xml" type="text/html">
        <div xmlns="http://www.w3.org/1999/xhtml">You are viewing an ATOM formatted XML site feed. Usually this file is inteded to be viewed in an aggregator or syndication software. If you want to know more about ATOM, please visist <a href="http://atomenabled.org/">Atomenabled.org</a></div>
    </info>

    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/66-Setting-Logitech-mouse-speed.html" rel="alternate" title="Setting Logitech mouse speed" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2010-06-20T14:33:19Z</issued>
        <created>2010-06-20T14:33:19Z</created>
        <modified>2010-06-20T14:33:19Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=66</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=66</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/66-guid.html</id>
        <title mode="escaped" type="text/html">Setting Logitech mouse speed</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I've a Logitech MX518 and the cursor was moving too fast..<br />
It took some googling before I found out (again) how to make the mouse move slower..<br />
<br />
The solution to the problem is called <strong>lomoco</strong>.<br />
<code><br />
$ apt-get install lomoco<br />
$ lomoco -8<br />
</code><br />
<br />
This will make the mouse have 800 DPI resolution and makes it a bit slower compared to<br />
the default 1200 DPI.<br />
<br />
I also set USB mouse polling a bit more frequent:<br />
<br />
<strong>/etc/modules</strong><br />
<code><br />
usbhid mousepoll=5<br />
</code> 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/65-Server-upgrade-again.html" rel="alternate" title="Server upgrade again" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2008-11-02T17:58:30Z</issued>
        <created>2008-11-02T17:58:30Z</created>
        <modified>2008-11-02T17:58:30Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=65</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=65</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/65-guid.html</id>
        <title mode="escaped" type="text/html">Server upgrade again</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Ok, so I haven't written anything here for a "few" months. But I'm currently upgrading my server again.<br />
But this time I'm doing a bigger physical upgrade too.<br />
<br />
New server:<br />
Opteron Dual-Core 2.2GHz<br />
4GB RAM<br />
160GB sys disk<br />
3TB RAID-5 data space<br />
<br />
It's running Debian Lenny and currently I've moved the webserver and database to the new server. 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/64-Server-upgrade.html" rel="alternate" title="Server upgrade" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2007-05-16T22:18:41Z</issued>
        <created>2007-05-16T22:18:41Z</created>
        <modified>2007-05-16T22:18:41Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=64</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=64</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/64-guid.html</id>
        <title mode="escaped" type="text/html">Server upgrade</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Server is now running Debian Etch (4.0).<br />
<br />
When upgrading I didn't do a regular upgrade for a few reasons.. <br /><a href="http://blog.novell.stoldgods.nu/archives/64-Server-upgrade.html#extended">Continue reading "Server upgrade"</a>
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/63-First-run-of-new-UTamarok!.html" rel="alternate" title="First run of new UTamarok!" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2006-09-02T04:53:38Z</issued>
        <created>2006-09-02T04:53:38Z</created>
        <modified>2006-09-02T04:53:38Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=63</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=63</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/63-guid.html</id>
        <title mode="escaped" type="text/html">First run of new UTamarok!</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I'm happy to report that my forked amarok now loads and runs.<br />
It have its own config files, save dirs and modules etc so you can still have amarok on the system and it <strong>should</strong> load up just fine.<br />
<br />
Patch didn't get that big:<br />
<code><br />
-rw-r--r-- 1 root root 209K Sep  2 06:52 ut3.patch<br />
</code><br />
It's based upon current SVN for now. I need to do some minor fixing, like making the damn icon work for it (the one that should show up in kicker!). I'll post updates soon <img src="http://blog.novell.stoldgods.nu/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/62-Really-pissed-off-now-at-amarok.html" rel="alternate" title="Really pissed off now at amarok" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2006-08-31T22:08:02Z</issued>
        <created>2006-08-31T22:08:02Z</created>
        <modified>2006-08-31T22:08:02Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=62</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=62</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/62-guid.html</id>
        <title mode="escaped" type="text/html">Really pissed off now at amarok</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                So I got really pissed off now at amarok, or rather, the devs.. I had to make a <a href="http://blog.novell.stoldgods.nu/exit.php?url=aHR0cHM6Ly9idWdzLmtkZS5vcmcvc2hvd19idWcuY2dpP2lkPTEzMzM1MA==&amp;entry_id=62"  onmouseover="window.status='https://bugs.kde.org/show_bug.cgi?id=133350';return true;" onmouseout="window.status='';return true;" title="KDE bug 133350">bug report</a> and it quickly got marked as WONTFIX. So I've decided that I will make a fork of it sometime in the future.<br />
<br />
 <br /><a href="http://blog.novell.stoldgods.nu/archives/62-Really-pissed-off-now-at-amarok.html#extended">Continue reading "Really pissed off now at amarok"</a>
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/61-Removing-daap-and-ruby-crap-from-amarok.html" rel="alternate" title="Removing daap and ruby crap from amarok" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2006-08-31T20:36:40Z</issued>
        <created>2006-08-31T20:36:40Z</created>
        <modified>2006-08-31T20:47:25Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=61</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=61</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/61-guid.html</id>
        <title mode="escaped" type="text/html">Removing daap and ruby crap from amarok</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                So the tards developing amarok want to stuff ruby and other crap down my throat. I went to the official channel on Freenode and told them the configure script is mising an option to turn off some "daap" crap I don't need or have any use for and that the configure script was broken, failing if ruby isn't available (as it's only really used during compile of "daap" anyway).<br />
 <br /><a href="http://blog.novell.stoldgods.nu/archives/61-Removing-daap-and-ruby-crap-from-amarok.html#extended">Continue reading "Removing daap and ruby crap from amarok"</a>
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/60-Updated-infoplug-0.3-hack-for-amarok-1.3.71.4.0-svn.html" rel="alternate" title="Updated infoplug 0.3 hack for amarok [1.3.7/1.4.0-svn]" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2006-01-07T04:54:29Z</issued>
        <created>2006-01-07T04:54:29Z</created>
        <modified>2006-01-07T05:01:07Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=60</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=60</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/60-guid.html</id>
        <title mode="escaped" type="text/html">Updated infoplug 0.3 hack for amarok [1.3.7/1.4.0-svn]</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I have updated the infoplug hack some and made patches for amarok 1.3.7 and 1.4.0-svn (current trunk).<br />
I fixed a bug which made it show current time in minutes:seconds instead of hours:minutes:seconds when the time was 60 minutes or more..<br />
Also, Last Played have now been added.<br />
<br />
<a href="http://blog.novell.stoldgods.nu/exit.php?url_id=116&amp;entry_id=60" title="http://novell.stoldgods.nu/~magnus/amarok/1.3.7/infoplug-0.3.patch"  onmouseover="window.status='http://novell.stoldgods.nu/~magnus/amarok/1.3.7/infoplug-0.3.patch';return true;" onmouseout="window.status='';return true;">1.3.7</a><br />
<a href="http://blog.novell.stoldgods.nu/exit.php?url_id=117&amp;entry_id=60" title="http://novell.stoldgods.nu/~magnus/amarok/1.4.0-svn/infoplug-0.3.patch"  onmouseover="window.status='http://novell.stoldgods.nu/~magnus/amarok/1.4.0-svn/infoplug-0.3.patch';return true;" onmouseout="window.status='';return true;">1.4.0-svn</a><br />
<br />
Only 1.4.0-svn version have been tested. Second chunk for app.h is different for 1.3.7 and it applies with some fuzz, hopefully it will compile too! =)<br />
 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/59-Isnt-unreadable-code-fun.html" rel="alternate" title="Isn't unreadable code fun ?" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-11-04T15:22:36Z</issued>
        <created>2005-11-04T15:22:36Z</created>
        <modified>2005-11-04T15:37:21Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=59</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=59</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/59-guid.html</id>
        <title mode="escaped" type="text/html">Isn't unreadable code fun ?</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                How much fun can you have with the tenary operator ?<br />
Well, since you can do stuff which wouldn't otherwise be possible for variable variables, it allows for much fun!<br />
Just have a look at this "beauty"!<br />
<br />
<code style="font-size: 8pt"><span style="color: #000000"><br />
<span style="color: #0000BB">&lt;?php<br /><br /></span><span style="color: #007700">class&#160;</span><span style="color: #0000BB">test<br /></span><span style="color: #007700">{<br />&#160;&#160;&#160;&#160;public&#160;function&#160;</span><span style="color: #0000BB">test1</span><span style="color: #007700">()<br />&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;echo&#160;</span><span style="color: #DD0000">"Inside&#160;test1()\n"</span><span style="color: #007700">;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;{((</span><span style="color: #0000BB">$c</span><span style="color: #007700">=(</span><span style="color: #0000BB">ob_start</span><span style="color: #007700">()?(</span><span style="color: #0000BB">debug_print_backtrace</span><span style="color: #007700">()?</span><span style="color: #0000BB">false</span><span style="color: #007700">:((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">ob_get_contents</span><span style="color: #007700">())?(<br /></span><span style="color: #0000BB">ob_end_clean</span><span style="color: #007700">()?((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'-&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'::'</span><span style="color: #007700">),</span><span style="color: #DD0000">'&#160;'</span><span style="color: #007700">,</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">"#0&#160;&#160;"</span><span style="color: #007700">))))?(<br />(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">'('</span><span style="color: #007700">)))?((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">sscanf</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">"#0&#160;&#160;%s&#160;%s"</span><span style="color: #007700">))?</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">[((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">]==</span><span style="color: #0000BB">NULL</span><span style="color: #007700">)?</span><span style="color: #0000BB">0</span><span style="color: #007700">:</span><span style="color: #0000BB">1</span><span style="color: #007700">)])<br />:</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">)):</span><span style="color: #0000BB">false</span><span style="color: #007700">))?</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,(</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">)).(</span><span style="color: #0000BB">$c</span><span style="color: #007700">{(</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">)}+</span><span style="color: #0000BB">1</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">)}();<br />&#160;&#160;&#160;&#160;}<br /><br />&#160;&#160;&#160;&#160;public&#160;function&#160;</span><span style="color: #0000BB">test2</span><span style="color: #007700">()<br />&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;echo&#160;</span><span style="color: #DD0000">"Inside&#160;test2()\n"</span><span style="color: #007700">;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;{((</span><span style="color: #0000BB">$c</span><span style="color: #007700">=(</span><span style="color: #0000BB">ob_start</span><span style="color: #007700">()?(</span><span style="color: #0000BB">debug_print_backtrace</span><span style="color: #007700">()?</span><span style="color: #0000BB">false</span><span style="color: #007700">:((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">ob_get_contents</span><span style="color: #007700">())?(<br /></span><span style="color: #0000BB">ob_end_clean</span><span style="color: #007700">()?((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'-&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'::'</span><span style="color: #007700">),</span><span style="color: #DD0000">'&#160;'</span><span style="color: #007700">,</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">"#1&#160;&#160;"</span><span style="color: #007700">))))?(<br />(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">'('</span><span style="color: #007700">)))?((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">sscanf</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">"#1&#160;&#160;%s&#160;%s"</span><span style="color: #007700">))?</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">[((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">]==</span><span style="color: #0000BB">NULL</span><span style="color: #007700">)?</span><span style="color: #0000BB">0</span><span style="color: #007700">:</span><span style="color: #0000BB">1</span><span style="color: #007700">)])<br />:</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">)):</span><span style="color: #0000BB">false</span><span style="color: #007700">))?</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,(</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">)).(</span><span style="color: #0000BB">$c</span><span style="color: #007700">{(</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">)}+</span><span style="color: #0000BB">2</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">)}();<br />&#160;&#160;&#160;&#160;}<br /><br />&#160;&#160;&#160;&#160;public&#160;function&#160;</span><span style="color: #0000BB">test3</span><span style="color: #007700">()<br />&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;echo&#160;</span><span style="color: #DD0000">"Inside&#160;test3()\n"</span><span style="color: #007700">;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;{((</span><span style="color: #0000BB">$c</span><span style="color: #007700">=(</span><span style="color: #0000BB">ob_start</span><span style="color: #007700">()?(</span><span style="color: #0000BB">debug_print_backtrace</span><span style="color: #007700">()?</span><span style="color: #0000BB">false</span><span style="color: #007700">:((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">ob_get_contents</span><span style="color: #007700">())?(<br /></span><span style="color: #0000BB">ob_end_clean</span><span style="color: #007700">()?((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'-&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'::'</span><span style="color: #007700">),</span><span style="color: #DD0000">'&#160;'</span><span style="color: #007700">,</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">"#1&#160;&#160;"</span><span style="color: #007700">))))?(<br />(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">'('</span><span style="color: #007700">)))?((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">=</span><span style="color: #0000BB">sscanf</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">,</span><span style="color: #DD0000">"#1&#160;&#160;%s&#160;%s"</span><span style="color: #007700">))?</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$bt</span><span style="color: #007700">[((</span><span style="color: #0000BB">$bt</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">]==</span><span style="color: #0000BB">NULL</span><span style="color: #007700">)?</span><span style="color: #0000BB">0</span><span style="color: #007700">:</span><span style="color: #0000BB">1</span><span style="color: #007700">)])<br />:</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">)):</span><span style="color: #0000BB">false</span><span style="color: #007700">))?</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,(</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">)).(</span><span style="color: #0000BB">$c</span><span style="color: #007700">{(</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">)}+</span><span style="color: #0000BB">2</span><span style="color: #007700">):</span><span style="color: #0000BB">false</span><span style="color: #007700">)}();<br />&#160;&#160;&#160;&#160;}<br /><br />&#160;&#160;&#160;&#160;public&#160;function&#160;</span><span style="color: #0000BB">test4</span><span style="color: #007700">()<br />&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;echo&#160;</span><span style="color: #DD0000">"Inside&#160;test4()\n"</span><span style="color: #007700">;<br />&#160;&#160;&#160;&#160;}<br />}<br /><br /><br /></span><span style="color: #0000BB">$test&#160;</span><span style="color: #007700">=&#160;new&#160;</span><span style="color: #0000BB">test</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">$test</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">test1</span><span style="color: #007700">();<br /><br /></span><br />
</span><br />
</code><br />
 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/58-PHP-scripting-for-Irssi.html" rel="alternate" title="PHP scripting for Irssi" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-10-29T15:36:29Z</issued>
        <created>2005-10-29T15:36:29Z</created>
        <modified>2005-10-29T15:55:12Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=58</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=58</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/58-guid.html</id>
        <title mode="escaped" type="text/html">PHP scripting for Irssi</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The other day, as the only user of php-irssi (if there's anyone else using it please make yourself known!), Wez asked me to check if it compiled against latest PHP cause someone had some problems with it. It compiled fine but most scripts didn't work, well, anything that actually did something didn't work. It turned out to be a signature change related to objects in the PHP_5_1 branch that caused some problems.<br />
<br />
It should be fixed now, so if you want to be cool like me and write your IRC scripts in PHP, get php-irssi now!<br />
<br />
<code><br />
$ cvs -d:pserver:cvsread@cvs.php.net:/repository login<br />
Enter phpfi as password<br />
$ cvs -z5 -d:pserver:cvsread@cvs.php.net:/repository co embed<br />
</code> 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/57-Updated-the-xmms-infopipe-like-hack-for-amarok-1.3.2.html" rel="alternate" title="Updated the xmms-infopipe like hack for amarok 1.3.2" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-10-09T20:21:43Z</issued>
        <created>2005-10-09T20:21:43Z</created>
        <modified>2005-10-09T20:26:29Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=57</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=57</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/57-guid.html</id>
        <title mode="escaped" type="text/html">Updated the xmms-infopipe like hack for amarok 1.3.2</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I have updated the patch again, fixed a bunch of bugs.. It should just work now!<br />
<br />
<code><br />
$ tar -xjvf amarok-1.3.2.tar.bz2<br />
$ cd amarok-1.3.2/amarok/src<br />
$ wget <a href="http://blog.novell.stoldgods.nu/exit.php?url_id=115&amp;entry_id=57" title="http://novell.stoldgods.nu/~magnus/amarok/1.3.2/infoplug.patch"  onmouseover="window.status='http://novell.stoldgods.nu/~magnus/amarok/1.3.2/infoplug.patch';return true;" onmouseout="window.status='';return true;">http://novell.stoldgods.nu/~magnus/amarok/1.3.2/infoplug.patch</a><br />
$ patch < infoplug.patch<br />
$ cd ../..<br />
$ ./configure ...<br />
</code><br />
 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/56-Funny-blog-post-by-Terry-Chay-about-PHP-and-security.html" rel="alternate" title="Funny blog post by Terry Chay about PHP and security" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-08-11T21:44:47Z</issued>
        <created>2005-08-11T21:44:47Z</created>
        <modified>2005-08-11T21:47:13Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=56</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=56</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/56-guid.html</id>
        <title mode="escaped" type="text/html">Funny blog post by Terry Chay about PHP and security</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Best part:<br />
"What sort of loser came up with the term enterprise anyway? No doubt it was some hapless biz-marketing closet trekkie geek."<br />
<br />
<br />
<a href="http://blog.novell.stoldgods.nu/exit.php?url_id=114&amp;entry_id=56" title="http://terrychay.com/blog/article/php-security-the-oxymoron.shtml"  onmouseover="window.status='http://terrychay.com/blog/article/php-security-the-oxymoron.shtml';return true;" onmouseout="window.status='';return true;">Here's the link.</a> 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/55-Updated-the-xmms-infopipe-like-hack-for-amarok.html" rel="alternate" title="Updated the xmms-infopipe like hack for amarok" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-08-11T15:20:21Z</issued>
        <created>2005-08-11T15:20:21Z</created>
        <modified>2005-08-11T15:27:48Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=55</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=55</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/55-guid.html</id>
        <title mode="escaped" type="text/html">Updated the xmms-infopipe like hack for amarok</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I have updated the hack and the new files can be found here:<br />
<a href="http://blog.novell.stoldgods.nu/exit.php?url_id=110&amp;entry_id=55" title="http://novell.stoldgods.nu/~magnus/amarok/1.2.4/infoplug.patch"  onmouseover="window.status='http://novell.stoldgods.nu/~magnus/amarok/1.2.4/infoplug.patch';return true;" onmouseout="window.status='';return true;">Patch</a><br />
<a href="http://blog.novell.stoldgods.nu/exit.php?url_id=111&amp;entry_id=55" title="http://novell.stoldgods.nu/~magnus/amarok/1.2.4/infoplug.cpp"  onmouseover="window.status='http://novell.stoldgods.nu/~magnus/amarok/1.2.4/infoplug.cpp';return true;" onmouseout="window.status='';return true;">infoplug.cpp</a><br />
<a href="http://blog.novell.stoldgods.nu/exit.php?url_id=112&amp;entry_id=55" title="http://novell.stoldgods.nu/~magnus/amarok/1.2.4/infoplug.h"  onmouseover="window.status='http://novell.stoldgods.nu/~magnus/amarok/1.2.4/infoplug.h';return true;" onmouseout="window.status='';return true;">infoplug.h</a><br />
<br />
Put the files in $source/amarok/src/<br />
and then run<br />
<code><br />
$ patch -p0 < infoplug.patch<br />
</code><br />
<br />
<a href="http://blog.novell.stoldgods.nu/archives/33-xmms-infopipe-like-plugin-for-amaroK.html">Original post</a>. 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/54-Had-to-reinstall-firewall-+-workstation.html" rel="alternate" title="Had to reinstall firewall + workstation" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-08-11T15:13:58Z</issued>
        <created>2005-08-11T15:13:58Z</created>
        <modified>2005-08-11T15:20:12Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=54</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=54</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/54-guid.html</id>
        <title mode="escaped" type="text/html">Had to reinstall firewall + workstation</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                After I upgraded to baselayout 1.12-pre-something on my firewall and workstation, I had to reinstall my machines (using Gentoo). I guess I could have chroot'ed and manually reinstalled a good version of baselayout, but I choose to reinstall my workstation.<br />
<br />
The plan was to fix my firewall right after that (I still hadn't rebooted it yet so it was running). Unfortunatley the firewall was rebooted and I had to reinstall that one too since I hadn't fixed so single user mode worked through serial.<br />
<br />
So Internet have been down here for a week (I was lazy =).<br />
 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/53-Happy-birtday-PHP!-And-goto-stuff...html" rel="alternate" title="Happy birtday PHP! And goto stuff.." type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-06-08T05:19:14Z</issued>
        <created>2005-06-08T05:19:14Z</created>
        <modified>2005-06-08T05:37:17Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=53</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=53</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/53-guid.html</id>
        <title mode="escaped" type="text/html">Happy birtday PHP! And goto stuff..</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Today PHP turned one tenth of a century old!<br />
<br />
Here is the <a href="http://blog.novell.stoldgods.nu/exit.php?url_id=107&amp;entry_id=53" title="http://groups-beta.google.com/group/comp.infosystems.www.authoring.cgi/browse_thread/thread/3f2276e6067acfb0/cc7d43454d64d133"  onmouseover="window.status='http://groups-beta.google.com/group/comp.infosystems.www.authoring.cgi/browse_thread/thread/3f2276e6067acfb0/cc7d43454d64d133';return true;" onmouseout="window.status='';return true;">announcement</a> for PHP 1.0.<br />
I still remember some of my first experience with PHP, 2.0-something. Just a few flashes mostly. Coded some stuff in ASP and JSP for a few years before I came back to PHP around version 3.0 or something like that, I'm not exactly sure. Used some more ASP, got burned by it and moved along to a more mature PHP 4.something.something.<br />
<br />
In unrelated news, I created a new goto thread - another monster. It's waaaay too long and it's mostly comments like "goto is baaaad!! Spaghetti code!! Me no like!" and responses to that. A very few replies which actually brings up technical problems or standpoints. I would say 80% of everything in the thread is just personal opinions.<br />
But what I don't understand is why we who want to use it and can use it wisely should be refused to have that option.<br />
<br />
Here's a patch by Sara: <a href="http://blog.novell.stoldgods.nu/exit.php?url_id=108&amp;entry_id=53" title="http://pecl.org/patches/goto_5.1.0.diff"  onmouseover="window.status='http://pecl.org/patches/goto_5.1.0.diff';return true;" onmouseout="window.status='';return true;">goto_5.1.0.diff</a><br />
And my rework of Sara's old patch: <a href="http://blog.novell.stoldgods.nu/exit.php?url_id=109&amp;entry_id=53" title="http://php.novell.stoldgods.nu/opcode_goto_5.1.0-3.diff"  onmouseover="window.status='http://php.novell.stoldgods.nu/opcode_goto_5.1.0-3.diff';return true;" onmouseout="window.status='';return true;">opcode_goto_5.1.0-3.diff</a><br />
I would recommend using Sara's new patch instead of my reworked patch of her old code.<br />
 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://blog.novell.stoldgods.nu/archives/52-I-bring-you-some-sad-news.html" rel="alternate" title="I bring you some sad news" type="text/html" />
        <author>
            <name>Magnus Määttä</name>
            <email>nospam@example.com</email>
        </author>
    
        <issued>2005-06-03T03:12:19Z</issued>
        <created>2005-06-03T03:12:19Z</created>
        <modified>2005-06-03T03:24:08Z</modified>
        <wfw:comment>http://blog.novell.stoldgods.nu/wfwcomment.php?cid=52</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.novell.stoldgods.nu/rss.php?version=atom0.3&amp;type=comments&amp;cid=52</wfw:commentRss>
    
        <id>http://blog.novell.stoldgods.nu/archives/52-guid.html</id>
        <title mode="escaped" type="text/html">I bring you some sad news</title>
        <content type="application/xhtml+xml" xml:base="http://blog.novell.stoldgods.nu/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Today I have some sad news.. In the fireworks comming out from one of the PSUs in my alpha I have now declared it dead. I tried my best, cleaning you, swapping PSU slots for the working one, but it was too late.. Three times is the number of times I have revived you from the dead, moving CPUs and memory around, cleaning you.. Why, ohh, why did you leave me now ?<br />
<br />
I want to thank you for the good times we had together, installing different version of Tru64 on you.. Reinstalling Tru64.. Learning Tru64, mounting your SCSI disks.. <br />
<br />
<br />
So you see, it's with great pain I had to declare you dead, 03:20 (24h clock).<br />
<br />
<br />
<br />
<b>My alpha</b><br />
<br />
1996 - 2005-06-03<br />
<br />
<br />
Rest in peace.. <strong>wiping tears</strong><br />
<br />
 
            </div>
        </content>

        
    </entry>
</feed>
