<?xml version="1.0" encoding="utf-8"?>
    <?xml-stylesheet href="http://www.w3.org/2000/08/w3c-synd/style.css" 
        type="text/css"?>
    <rss version="2.0">
    <!--  RSS generated at Tue, 03 Feb 2004 14:16:30 GMT --> 
        <channel>
            <title>bluebones.net - Adventures in Computer Programming</title> 
            <link>http://bluebones.net/</link> 
            <description>My place on the web for discussion of my attempts to become a better computer programmer, filesharing, music and anything else that comes along.</description>
            <language>en-gb</language> 
            <managingEditor>tempus_rook@hotmail.com (Thomas Baker)</managingEditor>
            <webMaster>tempus_rook@hotmail.com (Thomas Baker)</webMaster>
            <lastBuildDate>Sat, 20 Dec 2003 12:10:35 GMT</lastBuildDate>
            <docs>http://blogs.law.harvard.edu/tech/rss</docs>
            <image>
                <url>http://bluebones.net/images/rss.gif</url>
                <title>bluebones.net - Adventures in Computer Programming</title>
                <link>http://bluebones.net/</link>
                <width>144</width>
                <height>32</height>
            </image>
            
                <item>
                    <title>The Mobile Web</title>
                    <link>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=74</link>
                    <description>&lt;p&gt;As detailed &lt;a href=&quot;http://bluebones.net/news/default.asp?action=view_story&amp;amp;story_id=71&quot; title=&quot;Post about first java servlet for shrinking streetmap.co.uk&quot;&gt;elsewhere&lt;/a&gt; I have found my Nokia 7250i's XHTML browser to be &lt;strong&gt;singularly crap because of memory limitations&lt;/strong&gt;.  As part of my attempts to make this phone more useful I have written a &lt;a href=&quot;http://bluebones.net/miniweb/?cmd=url&quot;&gt;web page shrinker&lt;/a&gt; that allows you to &lt;strong&gt;enter a URL and get a stripped-down version of that page's contents&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;As the dominate web use mode is to search first on google the program also has the ability to &lt;a href=&quot;http://bluebones.net/miniweb/&quot; title=&quot;Google shrinker&quot;&gt;shrink google searches&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Both entry points support link rewriting so &lt;strong&gt;any link in the pages is rewritten to point back at a shrunken version&lt;/strong&gt; of the page being linked to (basically you never visit anything apart from my servlet - it goes and grabs pages and shrinks them as required).&lt;/p&gt;

&lt;p&gt;The shrinking and rewriting are fairly brittle.  There is a lot of nonconformant and just plain weird HTML out there and I have not done much work on coping with boundary cases but enough pages should shrink to make the app useful.  If you find a page that doesn't work or have any other kind of bug report/feature request put in in the &lt;a href=&quot;http://bluebones.net/news/default.asp?action=view_story&amp;amp;story_id=74#comments&quot;&gt;comments&lt;/a&gt; or feel free to mail me at &lt;a href=&quot;mailto:tempus_rook@hotmail.com&quot;&gt;tempus_rook@hotmail.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The URLs for your phone are (stick them in bookmarks):&lt;/p&gt;

&lt;p&gt;URL entry: &lt;a href=&quot;http://bluebones.net/miniweb/?cmd=url&quot;&gt;http://bluebones.net/miniweb/?cmd=url&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Google search: &lt;a href=&quot;http://bluebones.net/miniweb/&quot;&gt;http://bluebones.net/miniweb/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Google search uses the brilliant &lt;a href=&quot;http://www.google.com/apis/&quot;&gt;Google Search API&lt;/a&gt;.&lt;/p&gt;
</description>
                    <author>tempus_rook@hotmail.com</author>
                    <category>Programming</category>
                    <comments>http://bluebones.net/comment/default.asp?action=comment&amp;story_id=74</comments>
                    <guid>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=74</guid>
                    <pubDate>Sat, 20 Dec 2003 12:10:35 GMT</pubDate>
                </item>
                
            
                <item>
                    <title>CSS, Content-Type For RSS</title>
                    <link>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=73</link>
                    <description>&lt;p&gt;I have updated &lt;a href=&quot;http://bluebones.net/rss.asp&quot; title=&quot;Browser-readable RSS 2.0 feed for this site&quot;&gt;my RSS feed&lt;/a&gt; to use the &lt;a href=&quot;http://www.w3.org/2000/08/w3c-synd/style.css&quot; title=&quot;Direct link to W3C's CSS file for RSS&quot;&gt;W3C's CSS file for RSS&lt;/a&gt; (which you can see in action at &lt;a href=&quot;http://www.w3.org/2000/08/w3c-synd/home.rss&quot;&gt;W3C News Syndication&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;I have also fixed a minor problem I was having. Internet Explorer would not display my RSS feed. It was because I had not set a MIME type. A quick bit of &lt;code&gt;Response.ContentType = &quot;text/xml&quot;&lt;/code&gt; later an voila a browser-readable RSS feed.  I wanted to use &lt;code&gt;application/rss+xml&lt;/code&gt; as previously recommended at &lt;a href=&quot;http://www.diveintomark.org/&quot; title=&quot;diveintomark.org&quot;&gt;Dive Into Mark&lt;/a&gt; (now using &lt;a href=&quot;http://www.intertwingly.net/wiki/pie/FrontPage&quot; title=&quot;Atom Project, replacement for RSS?  Blog API?  Waste of time?&quot;&gt;Atom&lt;/a&gt;) and seen until recently in my &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; tag but this causes browsers to pop up a download box rather than render the XML.  Because of this I have also updated my link tag that refers to my RSS feed to &lt;code&gt;&amp;lt;link rel=&quot;alternate&quot; type=&quot;text/xml&quot; title=&quot;RSS&quot; href=&quot;http://bluebones.net/rss.asp&quot; /&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You can view the &lt;a href=&quot;http://bluebones.net/viewrsssource.asp&quot; title=&quot;View ASP source code of RSS feed&quot;&gt;ASP source&lt;/a&gt; to my feed.&lt;/p&gt;
</description>
                    <author>tempus_rook@hotmail.com</author>
                    <category>Programming</category>
                    <comments>http://bluebones.net/comment/default.asp?action=comment&amp;story_id=73</comments>
                    <guid>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=73</guid>
                    <pubDate>Sun, 14 Dec 2003 22:58:37 GMT</pubDate>
                </item>
                
            
                <item>
                    <title>Network Client Assigned 169.154 Address</title>
                    <link>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=72</link>
                    <description>&lt;p&gt;Just spent half an hour fixing this one.  My laptop was &lt;strong&gt;assigned a 169.154.*.* address&lt;/strong&gt; and I could not ping even my gateway server via IP.  I checked the network cable and lights on the hub and the docking station, changed the cable and used the built-in network card on the laptop itself.  I tried a &lt;span class=&quot;help&quot; title=&quot;whois is a Unix command line utility for looking up who owns a domain/set of IP addresses.  You can get it on Windows via Cygwin or use the whois.net website.&quot;&gt;whois&lt;/span&gt; on the strange IP I was getting assigned:&lt;/p&gt;

&lt;pre&gt;
NetRange:   169.254.0.0 - 169.254.255.255 
CIDR:       169.254.0.0/16 
NetName:    LINKLOCAL
NetHandle:  NET-169-254-0-0-1
Parent:     NET-169-0-0-0-0
NetType:    IANA Special Use
NameServer: BLACKHOLE-1.IANA.ORG
NameServer: BLACKHOLE-2.IANA.ORG
Comment:    Please see RFC 3330 for additional information.
RegDate:    1998-01-27
Updated:    2002-10-14
&lt;/pre&gt;

&lt;p&gt;RFC 3330 has the following to say:&lt;/p&gt;

&lt;pre&gt;
169.254.0.0/16 - This is the &quot;link local&quot; block.  It is allocated for
   communication between hosts on a single link.  Hosts obtain these
   addresses by auto-configuration, such as when a DHCP server may not
   be found.
&lt;/pre&gt;

&lt;p&gt;After trying various &lt;a href=&quot;http://www.artyjains.com/tips/BadAddresses.html&quot;&gt;registry fixes&lt;/a&gt; I realised the awful truth: &lt;strong&gt;my DHCP server's network cabled was unplugged!&lt;/strong&gt;&lt;/p&gt;
</description>
                    <author>tempus_rook@hotmail.com</author>
                    <category>Other</category>
                    <comments>http://bluebones.net/comment/default.asp?action=comment&amp;story_id=72</comments>
                    <guid>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=72</guid>
                    <pubDate>Sat, 13 Dec 2003 00:00:00 GMT</pubDate>
                </item>
                
            
                <item>
                    <title>Streetmap for Mobiles</title>
                    <link>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=71</link>
                    <description>&lt;p&gt;I have been disappointed with the capabilities of my Nokia 7250i's XHTML browser.  Although it can theoretically load almost any web page in practice &lt;strong&gt;virtually all web pages are too big for its miniscule memory&lt;/strong&gt; and result in an error.&lt;/p&gt;

&lt;p&gt;One site that I wish I had remote access to is &lt;a href=&quot;http://www.streetmap.co.uk/&quot; title=&quot;Great Britain Street and Road Map&quot;&gt;streetmap&lt;/a&gt; (specifically the London street search).  But even trying to load one GIF (no HTML) from the resultant map gives the error, &quot;Not enough memory&quot;.&lt;/p&gt;

&lt;p&gt;Rather than be defeated, however, I have written a &lt;strong&gt;Java servlet that does searches on streetmap&lt;/strong&gt;, screen scrapes the central GIF (the one with the road you searched for on), resizes it (actually I make it slightly bigger) and reencodes it as a JPEG.  For some reason the phone seems better able to cope with JPEGs than GIFs at the size we are talking about (15-20KB).  You can access the service via a browser (phone or computer based but not WAP) at &lt;a href=&quot;http://bluebones.net:8080/map/&quot;&gt;http://bluebones.net:8080/map/&lt;/a&gt;.  (Sadly I am having to run Tomcat on port 8080 at the moment so this won't work behind some firewalls - if anyone knows how I can run IIS and Tomcat on port 80 simultaneously please drop me a line (address below).)  You need to Zoom the image once you receive for street names to be legible.&lt;/p&gt;

&lt;p&gt;I really need to drop the colour depth on the image when resizing to reduce its weight (streetmap images come at 256 colours but look fine at 16) and thus the cost of using this (plus increase the loading speed).  I also need to add in links for North, South, East and West because the map is much less useful if your road happens to be near the edge (with the streetmap website you get the eight surrounding squares as well as the one with your road in it).  Of course by the time you read this I might have made these changes.&lt;/p&gt;

&lt;p&gt;If you use this service and have any comments/requests please send them to &lt;a href=&quot;mailto:tempus_rook@hotmail.com&quot; title=&quot;mailto link&quot;&gt;tempus_rook@hotmail.com&lt;/a&gt;.&lt;/p&gt;
</description>
                    <author>tempus_rook@hotmail.com</author>
                    <category>Programming</category>
                    <comments>http://bluebones.net/comment/default.asp?action=comment&amp;story_id=71</comments>
                    <guid>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=71</guid>
                    <pubDate>Mon, 01 Dec 2003 08:45:14 GMT</pubDate>
                </item>
                
            
                <item>
                    <title>The Mercy Seat</title>
                    <link>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=70</link>
                    <description>&lt;p&gt;The Mercy Seat with John Hannah and Sinead Cusack is playing at the &lt;a href=&quot;http://www.almeida.co.uk&quot; title=&quot;Almeida Theatre&quot;&gt;Almeida Theatre&lt;/a&gt; until December 6 2003.  Tickets are almost entirely sold out but due to popular demand a new matinee show (3:30pm) Wed 3 December 2003 has been added for which tickets are available at the time of writing (29 November 2003).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This review contains mild spoilers.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Set on the 12th September 2001 in New York, the Mercy Seat is about a couple having an affair.  Ben (Hannah) &lt;strong&gt;was supposed to be in the World Trade Center on the morning of the 11th&lt;/strong&gt; but instead visited Abby (Cusack), his mistress (and also his boss).  Ben decides this is the ideal opportunity to leave his wife and kids - by pretending he has died along with the others - and run off with Abby.  The play then centres around his plan and the fact that Abby wants him instead to ring his wife and tell her he is alive and then leave her.&lt;/p&gt;

&lt;p&gt;It is impossible to believe that Ben really would rather his two daughters thought him dead and he was never able to see them again as well as have to construct an illegal false identity.  The play goes some way towards making us believe he really thinks this (at least for today) but the premise is sadly slightly absurd.  More believable is Abby's wish that Ben would leave his wife in more conventional fashion.  Plausability aside this tension in desires gives the play most of its interesting moments.  Something is being said about &lt;strong&gt;female desire for honesty whatever the consequences and the male desire to avoid those same consequences&lt;/strong&gt; even if that means being duplicitous.&lt;/p&gt;

&lt;p&gt;The Mercy Seat is not a brilliant play nor a brilliant production.  Hannah feels slightly miscast (perhaps someone whose casting is a bit younger, more misanthropic?)  Cusack's performance is strong though.  Real truths emerge from the play in bursts.  The writer Neil LaBute is right when he says the play is about, &quot;why [we are] willing to run a hundred miles around simply saying to someone, 'I don't love you anymore'?  Why?  Becasue Nikes are cheap, running is easy, and &lt;strong&gt;honesty is the hardest, coldest currency on the planet&lt;/strong&gt;.&quot;  But bursts is all there is.  The twist at the end is strong but not enough to elevate the play to the level of a must-see.&lt;/p&gt;
</description>
                    <author>tempus_rook@hotmail.com</author>
                    <category>Other</category>
                    <comments>http://bluebones.net/comment/default.asp?action=comment&amp;story_id=70</comments>
                    <guid>http://bluebones.net/news/default.asp?action=view_story&amp;story_id=70</guid>
                    <pubDate>Sat, 29 Nov 2003 11:41:29 GMT</pubDate>
                </item>
                
            
        </channel>
    </rss>

    