<?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>Mike's sudden inspirations - WEB</title>
    <link>http://blog.iworks.at/</link>
    <description>Geek; Keep Away</description>
    <dc:language>en</dc:language>
    
    <generator>Serendipity 0.9 - http://www.s9y.org/</generator>
    <pubDate>Tue, 11 May 2010 10:58:08 GMT</pubDate>

    <image>
        <url>http://blog.iworks.at/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Mike's sudden inspirations - WEB - Geek; Keep Away</title>
        <link>http://blog.iworks.at/</link>
        <width>100</width>
        <height>21</height>
    </image>
<item>
    <title>WebSockets Handshake non HTTP conforming?</title>
    <link>http://blog.iworks.at/?/archives/69-WebSockets-Handshake-non-HTTP-conforming.html</link>
<category>WTF</category><category>PHP</category><category>WEB</category>    <comments>http://blog.iworks.at/?/archives/69-WebSockets-Handshake-non-HTTP-conforming.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=69</wfw:comment>
    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=69</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Just found a &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL3dlYi5hcmNoaXZlb3JhbmdlLmNvbS9hcmNoaXZlL3YvYzJKYXFIWGNqTXlkSGZxajhqamk=&amp;amp;entry_id=69&quot; title=&quot;http://web.archiveorange.com/archive/v/c2JaqHXcjMydHfqj8jji&quot;  onmouseover=&quot;window.status='http://web.archiveorange.com/archive/v/c2JaqHXcjMydHfqj8jji';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;revelatory discussion&lt;/a&gt;. The &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL3dlYi5hcmNoaXZlb3JhbmdlLmNvbS9hcmNoaXZlL3YvYzJKYXFIWGNqTXlkSGZxajhqamkjRjQ3V3p4ZDdKdVJjMEZF&amp;amp;entry_id=69&quot; title=&quot;http://web.archiveorange.com/archive/v/c2JaqHXcjMydHfqj8jji#F47Wzxd7JuRc0FE&quot;  onmouseover=&quot;window.status='http://web.archiveorange.com/archive/v/c2JaqHXcjMydHfqj8jji#F47Wzxd7JuRc0FE';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;summary of Bjoern Hoehrmann&lt;/a&gt; is especially interesting with regards to that topic.&lt;/p&gt;

&lt;hr /&gt;
&lt;p&gt;While skimming through the new &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2Rldi53My5vcmcvaHRtbDUvd2Vic29ja2V0cy8=&amp;amp;entry_id=69&quot; title=&quot;http://dev.w3.org/html5/websockets/&quot;  onmouseover=&quot;window.status='http://dev.w3.org/html5/websockets/';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;HTML5 WebSocket draft&lt;/a&gt;, I noticed the following exemplar HTTP message demonstrating the client message of a WebSocket handshake:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
        GET /demo HTTP/1.1
        Host: example.com
        Connection: Upgrade
        Sec-WebSocket-Key2: 12998 5 Y3 1  .P00
        Sec-WebSocket-Protocol: sample
        Upgrade: WebSocket
        Sec-WebSocket-Key1: 4 @1  46546xW%0l 1 5
        Origin: http://example.com

        ^n:ds[4U&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;To me this looks non conforming to the &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL3d3dy53My5vcmcvUHJvdG9jb2xzL3JmYzI2MTYvcmZjMjYxNi5odG1s&amp;amp;entry_id=69&quot; title=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616.html&quot;  onmouseover=&quot;window.status='http://www.w3.org/Protocols/rfc2616/rfc2616.html';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;HTTP spec&lt;/a&gt; due to the lack of an indicator that the request contains a message body.&lt;/p&gt;

&lt;p&gt;Quoting &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL3d3dy53My5vcmcvUHJvdG9jb2xzL3JmYzI2MTYvcmZjMjYxNi1zZWM0Lmh0bWwjc2VjNC4z&amp;amp;entry_id=69&quot; title=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3&quot;  onmouseover=&quot;window.status='http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;the 4th paragraph of section 4.3 of RFC2616&lt;/a&gt;:&lt;/p&gt;

    &lt;blockquote&gt;The &lt;strong&gt;presence of a message-body&lt;/strong&gt; in a request &lt;strong&gt;is signaled&lt;/strong&gt; by the inclusion of a &lt;strong&gt;Content-Length or Transfer-Encoding header&lt;/strong&gt; field in the request's message-headers. A message-body MUST NOT be included in a request if the specification of the request method (section 5.1.1) does not allow sending an entity-body in requests. A server SHOULD read and forward a message-body on any request; if the request method does not include defined semantics for an entity-body, then the message-body SHOULD be ignored when handling the request.    &lt;/blockquote&gt;
&lt;p&gt;Huh?&lt;/p&gt;

    </content:encoded>
                
    <pubDate>Mon, 10 May 2010 10:16:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/69-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
<item>
    <title>New development page</title>
    <link>http://blog.iworks.at/?/archives/58-New-development-page.html</link>
<category>WTF</category><category>PHP</category><category>WEB</category>    <comments>http://blog.iworks.at/?/archives/58-New-development-page.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=58</wfw:comment>
    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=58</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;I've finally created the basement for a &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2Rldi5pd29ya3MuYXQ=&amp;amp;entry_id=58&quot; title=&quot;http://dev.iworks.at&quot;  onmouseover=&quot;window.status='http://dev.iworks.at';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;development homepage&lt;/a&gt;, where I'll be hosting all my &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2Rldi5pd29ya3MuYXQvcHJvamVjdA==&amp;amp;entry_id=58&quot; title=&quot;http://dev.iworks.at/project&quot;  onmouseover=&quot;window.status='http://dev.iworks.at/project';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;projects&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2RydXBhbC5vcmc=&amp;amp;entry_id=58&quot; title=&quot;http://drupal.org&quot;  onmouseover=&quot;window.status='http://drupal.org';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;Drupal&lt;/a&gt; serves as the CMS, and I'm pondering moving my &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL3M5eS5vcmc=&amp;amp;entry_id=58&quot; title=&quot;http://s9y.org&quot;  onmouseover=&quot;window.status='http://s9y.org';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;s9y&lt;/a&gt;--which &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2Jsb2cuaXdvcmtzLmF0Lz8vYXJjaGl2ZXMvNTItSkZDLmh0bWw=&amp;amp;entry_id=58&quot; title=&quot;http://blog.iworks.at/?/archives/52-JFC.html&quot;  onmouseover=&quot;window.status='http://blog.iworks.at/?/archives/52-JFC.html';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;sucks&lt;/a&gt;--blog over &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2Rldi5pd29ya3MuYXQvYmxvZy9taWtl&amp;amp;entry_id=58&quot; title=&quot;http://dev.iworks.at/blog/mike&quot;  onmouseover=&quot;window.status='http://dev.iworks.at/blog/mike';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;to this site&lt;/a&gt;. It seems that there'd be everything I needed.&lt;/p&gt;

&lt;p&gt;Let's see if I get the menu for the blog right... &lt;img src=&quot;http://blog.iworks.at/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;

    </content:encoded>
                
    <pubDate>Sat, 19 May 2007 19:45:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/58-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
<item>
    <title>Wishlist</title>
    <link>http://blog.iworks.at/?/archives/57-Wishlist.html</link>
<category>WEB</category>    <comments>http://blog.iworks.at/?/archives/57-Wishlist.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=57</wfw:comment>
    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;Yes, this gonna be my wishlist placeholder.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

    </content:encoded>
                
    <pubDate>Wed, 09 May 2007 19:25:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/57-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
<item>
    <title>Two pitfalls in one afternoon</title>
    <link>http://blog.iworks.at/?/archives/55-Two-pitfalls-in-one-afternoon.html</link>
<category>WTF</category><category>WEB</category>    <comments>http://blog.iworks.at/?/archives/55-Two-pitfalls-in-one-afternoon.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=55</wfw:comment>
    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;This is not my day.&lt;/p&gt;

&lt;p&gt;&amp;lt;quote url=&amp;quot;&lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2Rldi5teXNxbC5jb20vZG9jL3JlZm1hbi81LjAvZW4vZnVsbHRleHQtc2VhcmNoLmh0bWw=&amp;amp;entry_id=55&quot; title=&quot;http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html&quot;  onmouseover=&quot;window.status='http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html&lt;/a&gt;&amp;quot;&amp;gt;&lt;br /&gt;
words that are present in more than 50% of the rows are considered common and do not match&lt;br /&gt;
&amp;lt;/quote&amp;gt;&lt;/p&gt;

&lt;p&gt;RTFM! &lt;img src=&quot;http://blog.iworks.at/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;

    </content:encoded>
                
    <pubDate>Thu, 03 May 2007 17:03:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/55-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
<item>
    <title>Apache MultiViews are evil</title>
    <link>http://blog.iworks.at/?/archives/54-Apache-MultiViews-are-evil.html</link>
<category>WTF</category><category>WEB</category>    <comments>http://blog.iworks.at/?/archives/54-Apache-MultiViews-are-evil.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=54</wfw:comment>
    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;Suppose you've got a similar setup to:&lt;br /&gt;

&lt;pre&gt;&lt;code&gt;
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .* - [QSA,L]

RewriteRule ^network/?(\w+)?$ network.php?path=$1&lt;/code&gt;&lt;/pre&gt;

&lt;/p&gt;

&lt;p&gt;Apache will expand e.g. &amp;quot;network/foo/bar&amp;quot; to &amp;quot;network.php/foo/bar&amp;quot; which won't be expanded to &amp;quot;network.php?f=&amp;quot; because it --of course-- exists (RewriteCond -f).&lt;/p&gt;

&lt;p&gt;Evil! &lt;img src=&quot;http://blog.iworks.at/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;

    </content:encoded>
                
    <pubDate>Thu, 03 May 2007 15:49:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/54-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
<item>
    <title>Apache2 mod_domaintree version 1.3</title>
    <link>http://blog.iworks.at/?/archives/36-Apache2-mod_domaintree-version-1.3.html</link>
<category>PHP</category><category>WEB</category>    <comments>http://blog.iworks.at/?/archives/36-Apache2-mod_domaintree-version-1.3.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=36</wfw:comment>
    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;I just released &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2ZyZXNobWVhdC5uZXQvcHJvamVjdHMvbW9kX2RvbWFpbnRyZWUv&amp;amp;entry_id=36&quot; title=&quot;http://freshmeat.net/projects/mod_domaintree/&quot;  onmouseover=&quot;window.status='http://freshmeat.net/projects/mod_domaintree/';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;mod_domaintree&lt;/a&gt;-1.3 on &lt;a href=&quot;http://blog.iworks.at/exit.php?url=aHR0cDovL2ZyZWFobWVhdC5uZXQ=&amp;amp;entry_id=36&quot; title=&quot;http://freahmeat.net&quot;  onmouseover=&quot;window.status='http://freahmeat.net';return true;&quot; onmouseout=&quot;window.status='';return true;&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;freshmeat&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It'll take some time to appear, though.&lt;/p&gt;

&lt;p&gt;The code has been cleaned up a lot and a host name to directory cache (per server/process) has been added.&lt;/p&gt;

&lt;p&gt;Enable the cache by setting DomainTreeCache to a reasonable high number, like the amount of different domains being hosted.&lt;/p&gt;

&lt;p&gt;Drop me a &lt;a href=&quot;mailto:mike@iworks.at&quot;&gt;mail&lt;/a&gt; if you like it! &lt;img src=&quot;http://blog.iworks.at/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;

    </content:encoded>
                
    <pubDate>Fri, 27 Jan 2006 22:16:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/36-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
<item>
    <title>Update: overflow:auto in Mozilla</title>
    <link>http://blog.iworks.at/?/archives/5-Update-overflowauto-in-Mozilla.html</link>
<category>WEB</category>    <comments>http://blog.iworks.at/?/archives/5-Update-overflowauto-in-Mozilla.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=5</wfw:comment>
    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;If you want the page to scroll when the scrolling-enabled DIV has nothing to scroll you'll have to wrap the contents of the &lt;em&gt;scrollMe&lt;/em&gt; function into the following &lt;strong&gt;if&lt;/strong&gt; statement:&lt;br /&gt;

&lt;pre&gt;&lt;code&gt;
function scrollMe(event)
{
    if (event.currentTarget.scrollHeight &amp;gt; 
        event.currentTarget.offsetHeight) {
        // ...
    }
}&lt;/code&gt;&lt;/pre&gt;

&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;

    </content:encoded>
                
    <pubDate>Thu, 05 Aug 2004 14:28:58 +0200</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/5-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
<item>
    <title>Scrollable overflow:auto Elements in Mozilla</title>
    <link>http://blog.iworks.at/?/archives/1-Scrollable-overflowauto-Elements-in-Mozilla.html</link>
<category>WEB</category>    <comments>http://blog.iworks.at/?/archives/1-Scrollable-overflowauto-Elements-in-Mozilla.html#comments</comments>
    <wfw:comment>http://blog.iworks.at/wfwcomment.php?cid=1</wfw:comment>
    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.iworks.at/rss.php?version=2.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    <author>nospam@example.com (Mike)</author>
    <content:encoded>
&lt;p&gt;Doing some extensive Javascript work lately, I managed to make HTML elements styled with //overflow:auto// scrollable in Mozilla.&lt;/p&gt;

&lt;br /&gt;&lt;a href=&quot;http://blog.iworks.at/?/archives/1-guid.html#extended&quot;&gt;Continue reading &quot;Scrollable overflow:auto Elements in Mozilla&quot;&lt;/a&gt;    </content:encoded>
                
    <pubDate>Mon, 02 Aug 2004 12:23:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.iworks.at/?/archives/1-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nd/2.5/</creativeCommons:license></item>
</channel>
</rss>
