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

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   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://www.ailis.de/~k/feeds/atom10.xml" rel="self" title="K's cluttered loft" type="application/atom+xml" />
    <link href="http://www.ailis.de/~k/"                        rel="alternate"    title="K's cluttered loft" type="text/html" />
    <link href="http://www.ailis.de/~k/rss.php?version=2.0"     rel="alternate"    title="K's cluttered loft" type="application/rss+xml" />
    <title type="html">K's cluttered loft</title>
    <subtitle type="html"></subtitle>
    <icon>http://www.ailis.de/~k/templates/loft/img/logos/favicon64.png</icon>
    <id>http://www.ailis.de/~k/</id>
    <updated>2010-08-24T14:46:29Z</updated>
    <generator uri="http://www.s9y.org/" version="1.5.3">Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.ailis.de/~k/archives/56-Generic-Jabber-XMPP-with-webOS.html" rel="alternate" title="Generic Jabber (XMPP) with webOS" />
        <author>
            <name>Klaus Reimer</name>
                    </author>
    
        <published>2010-08-24T10:52:29Z</published>
        <updated>2010-08-24T14:46:29Z</updated>
        <wfw:comment>http://www.ailis.de/~k/wfwcomment.php?cid=56</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ailis.de/~k/rss.php?version=atom1.0&amp;type=comments&amp;cid=56</wfw:commentRss>
    
            <category scheme="http://www.ailis.de/~k/categories/2-Howtos" label="Howtos" term="Howtos" />
    
        <id>http://www.ailis.de/~k/archives/56-guid.html</id>
        <title type="html">Generic Jabber (XMPP) with webOS</title>
        <content type="xhtml" xml:base="http://www.ailis.de/~k/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>
  WebOS (The operating system of the Palm Pre and Palm Pixi phones) has a built-in messaging application but unfortunately it only supports Google Talk and AIM out of the box. It's a shame that Palm has not enabled more protocols and especially generic XMPP support. The used library (libpurple) supports everything so it's only missing in the GUI.
</p>
<p>
  Google Talk uses XMPP so in theory it should work with any other XMPP server but unfortunately Palm has put this nasty code in the LibpurpleAdapter (which is used as a connector between the GUI and the low-level libpurple):
</p>
<pre>
if (strcmp(prplProtocolId, "prpl-jabber") == 0
    &amp;&amp; g_str_has_suffix(transportFriendlyUserName, "@gmail.com") == FALSE
    &amp;&amp; g_str_has_suffix(transportFriendlyUserName, "@googlemail.com") == FALSE)
{
    // Special case for gmail... don't try to connect to mydomain.com if the
    // username is me@mydomain.com. They might not have
    // setup the SRV record. Always connect to gmail. 
    purple_account_set_string(account, "connect_server", "talk.google.com");
}
</pre>
<p>
  This code means: If the protocol is Jabber (XMPP) and the entered username does NOT end with @gmail.com or @googlemail.com then the XMPP server is hardcoded to talk.google.com. So if you enter a username like <code>johndoe@jabber.org</code> then the Messaging app does not connect to <code>jabber.org</code> but instead it connects to <code>talk.google.com</code> because of the above code. So we must get rid of this code somehow.
</p>
<p>
  With some knowledge about assembler you might be able to toggle some logic in the binary so the above if statement always evaluates to false but there is a much easier solution. You just need to replace the string "connect_server" with some invalid string. I use "nonnect_server". The result is that the line simply sets some unused property and therefore simply does nothing. But let me describe step by step:
</p>
 <br /><a href="http://www.ailis.de/~k/archives/56-Generic-Jabber-XMPP-with-webOS.html#extended">Continue reading "Generic Jabber (XMPP) with webOS"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ailis.de/~k/archives/18-Softair-Pistole-HFC-HA-112-USPP8.html" rel="alternate" title="Softair Pistole HFC HA-112 (USP/P8)" />
        <author>
            <name>Klaus Reimer</name>
                    </author>
    
        <published>2004-05-07T18:21:00Z</published>
        <updated>2010-07-31T20:06:03Z</updated>
        <wfw:comment>http://www.ailis.de/~k/wfwcomment.php?cid=18</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://www.ailis.de/~k/rss.php?version=atom1.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    
            <category scheme="http://www.ailis.de/~k/categories/5-Softair" label="Softair" term="Softair" />
    
        <id>http://www.ailis.de/~k/archives/18-guid.html</id>
        <title type="html">Softair Pistole HFC HA-112 (USP/P8)</title>
        <content type="xhtml" xml:base="http://www.ailis.de/~k/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                      <p>
       <a href="http://www.ailis.de/~k/uploads/softair/usp/usp2.jpeg"><img src="http://www.ailis.de/~k/uploads/softair/usp/usp2.serendipityThumb.jpeg" alt="Bild" title="" width="110" height="83" class="right" /></a>
       <a href="http://www.ailis.de/~k/uploads/softair/usp/usp.jpeg"><img src="http://www.ailis.de/~k/uploads/softair/usp/usp.serendipityThumb.jpeg" alt="Bild" title="" width="110" height="83" class="right" /></a>
       Ich bin kein Mitglied der Softair-Szene, ich habe lediglich eine etwas
       professionellere <em>Erbsenpistole</em> gesucht und gefunden. Daher ist
       diese Seite nicht als Beurteilung der USP anzusehen, denn ich kann keinerlei
       Vergleiche zu anderen Softair-Waffen anstellen. Diese Seite dient lediglich
       als Informationsseite zur jugendfreien Version der USP, da ich meine, dass
       sowas im Netz fehlt. Denn ich habe bei meiner Suche nur recht wenig
       Informationen über diese Pistole finden können. Vielleicht ist diese Seite
       daher nützlich für so manch anderen, vielleicht aber auch nicht. Mir doch
       egal.
      </p>
 <br /><a href="http://www.ailis.de/~k/archives/18-Softair-Pistole-HFC-HA-112-USPP8.html#extended">Continue reading "Softair Pistole HFC HA-112 (USP/P8)"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ailis.de/~k/archives/55-Palm-Hot-Apps-Contest-is-over.html" rel="alternate" title="Palm Hot Apps Contest is over" />
        <author>
            <name>Klaus Reimer</name>
                    </author>
    
        <published>2010-07-29T17:29:34Z</published>
        <updated>2010-07-29T17:45:42Z</updated>
        <wfw:comment>http://www.ailis.de/~k/wfwcomment.php?cid=55</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.ailis.de/~k/rss.php?version=atom1.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    
            <category scheme="http://www.ailis.de/~k/categories/4-Games" label="Games" term="Games" />
    
        <id>http://www.ailis.de/~k/archives/55-guid.html</id>
        <title type="html">Palm Hot Apps Contest is over</title>
        <content type="xhtml" xml:base="http://www.ailis.de/~k/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>
The Palm Hot Apps Contest is <a href="http://developer.palm.com/blog/2010/07/hot-apps-winners-announced/">finally over</a>. According to the last available statistics <a href="http://www.precentral.net/homebrew-apps/presteroids">Destroids</a> reached rank #18 and won a $10000 reward in the Free Apps category. Thanks to all downloaders! 
</p>
<p>
Now it's time for the third <em>waiting phase</em>. The first phase was waiting for the end of the contest (Which was delayed by one month). The second phase was waiting for the official results (Took another month). The third phase is waiting for the money. I wonder how much money will be left after thugs like Paypal and tax collectors opened their hands...
</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ailis.de/~k/archives/49-Ubuntu-Karmic-workarounds.html" rel="alternate" title="Ubuntu Karmic workarounds" />
        <author>
            <name>Klaus Reimer</name>
                    </author>
    
        <published>2009-11-05T06:57:27Z</published>
        <updated>2010-07-29T17:45:30Z</updated>
        <wfw:comment>http://www.ailis.de/~k/wfwcomment.php?cid=49</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ailis.de/~k/rss.php?version=atom1.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    
            <category scheme="http://www.ailis.de/~k/categories/2-Howtos" label="Howtos" term="Howtos" />
    
        <id>http://www.ailis.de/~k/archives/49-guid.html</id>
        <title type="html">Ubuntu Karmic workarounds</title>
        <content type="xhtml" xml:base="http://www.ailis.de/~k/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>
  Ubuntu 9.10 Koala Karmic is released and I immediately installed it. May be this was too early because it has lots of issues. So I'm going to collect some workarounds here which were necessary on my notebook to get Karmic running smoothly.
</p> <br /><a href="http://www.ailis.de/~k/archives/49-Ubuntu-Karmic-workarounds.html#extended">Continue reading "Ubuntu Karmic workarounds"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ailis.de/~k/archives/54-Destroids-on-PC-Mag.html" rel="alternate" title="Destroids on PC Mag" />
        <author>
            <name>Klaus Reimer</name>
                    </author>
    
        <published>2010-07-17T17:32:29Z</published>
        <updated>2010-07-29T17:45:10Z</updated>
        <wfw:comment>http://www.ailis.de/~k/wfwcomment.php?cid=54</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ailis.de/~k/rss.php?version=atom1.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    
            <category scheme="http://www.ailis.de/~k/categories/4-Games" label="Games" term="Games" />
    
        <id>http://www.ailis.de/~k/archives/54-guid.html</id>
        <title type="html">Destroids on PC Mag</title>
        <content type="xhtml" xml:base="http://www.ailis.de/~k/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>
While I'm still waiting for the final results of the <a href="http://www.palmhotapps.com/">Palm Hot Apps Contest</a> I just heard that Destroids is listed as number 2 in the <a href="http://www.pcmag.com/article2/0,2817,2366234,00.asp">Top 10 of free Palm webOS Apps 2010</a> of <a href="http://www.pcmag.com/">PC Mag</a>. I'm not exactly sure what that means, probably nothing. Don't know how apps qualify for this Top 10...
</p>
<p>
Well, if you just came here because of this article then I guess you really want to go over <a href="http://www.precentral.net/homebrew-apps/presteroids/">here</a> to read more about Destroids. There is also a forum if you have something to say.
</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ailis.de/~k/archives/53-Destroids.html" rel="alternate" title="Destroids" />
        <author>
            <name>Klaus Reimer</name>
                    </author>
    
        <published>2010-04-25T16:04:18Z</published>
        <updated>2010-04-25T16:04:18Z</updated>
        <wfw:comment>http://www.ailis.de/~k/wfwcomment.php?cid=53</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://www.ailis.de/~k/rss.php?version=atom1.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    
            <category scheme="http://www.ailis.de/~k/categories/4-Games" label="Games" term="Games" />
    
        <id>http://www.ailis.de/~k/archives/53-guid.html</id>
        <title type="html">Destroids</title>
        <content type="xhtml" xml:base="http://www.ailis.de/~k/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>
Some months ago I published the first version of a little open source game called <a href="http://developer.palm.com/appredirect/?packageid=de.ailis.destroids">Destroids</a> for <a href="http://en.wikipedia.org/wiki/WebOS">webOS</a> (The OS of the <a href="http://en.wikipedia.org/wiki/Palm%20Pre">Palm Pre</a> and the <a href="http://en.wikipedia.org/wiki/Palm%20Pixi">Palm Pixi</a> smartphones) and I'm still improving it weekly. It's a simple Asteroid-like game where you fly a spaceship through an asteroid field and shoot asteroids and UFOs.
</p>
<p>
At the same time Palm started the <a href="http://www.palmhotapps.com/">Palm Hot Apps</a> contest where app developers can win $100,000 (For the first rank), $10,000 (for rank 2-21) or  $1,000 (for rank 22-221) in two categories (Free apps and paid apps). For the time the contest is running I placed a widget on the right side of my blog which shows the current position of Destroids. If you own a Palm Pre or Palm Pixi and you like the original Asteroids game then download Destroids now and make me rich.
</p>
<p>
More information about Destroids can be found on <a href="http://www.precentral.net/homebrew-apps/presteroids">pre|central.net</a>
</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ailis.de/~k/archives/52-Java-and-the-StartSSL-CA-certificates.html" rel="alternate" title="Java and the StartSSL CA certificates" />
        <author>
            <name>Klaus Reimer</name>
                    </author>
    
        <published>2010-04-11T13:20:52Z</published>
        <updated>2010-04-11T13:33:36Z</updated>
        <wfw:comment>http://www.ailis.de/~k/wfwcomment.php?cid=52</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ailis.de/~k/rss.php?version=atom1.0&amp;type=comments&amp;cid=52</wfw:commentRss>
    
            <category scheme="http://www.ailis.de/~k/categories/2-Howtos" label="Howtos" term="Howtos" />
    
        <id>http://www.ailis.de/~k/archives/52-guid.html</id>
        <title type="html">Java and the StartSSL CA certificates</title>
        <content type="xhtml" xml:base="http://www.ailis.de/~k/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>
Again and again I forget how to import the StartSSL CA certificates into Java. Everytime when I switch to a different workstation or install a new Linux distribution I can no longer access my StartSSL secured server with Maven. Then I have to search for a tutorial and for the download locations of the CA certs. Very time-consuming. This must stop once and for all. So I wrote a small script which imports the certs into the currently active Java installation.
</p>
<p>
Steps to install the certs:
</p>
<ul>
<li>Download <a href="http://www.ailis.de/~k/uploads/scripts/import-startssl">import-startssl</a> script.</li>
<li>Make sure <em>JAVA_HOME</em> environment variable is set correctly.</li>
<li>Run the <em>import-startssl</em> script.</li>
</ul>
<p>
The script runs the <em>keytool</em> program of Java with <em>sudo</em> so you have to enter your password to give it root access. If you have JSSE installed then the StartSSL CA certs are also added to the <em>jssecacerts</em> keystore. The script imports the root CA certificate and the four sub CA certs (Class 1-4).</p>
<p>
If the script does not work for you (Maybe because you are using Windows or Mac OS X instead of a <a href="http://www.debian.org/">real operating system</a>) then you can at least read it for instructions how to do it manually.
</p>
 
            </div>
        </content>
        
    </entry>

</feed>