<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/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.drabasablog.net/feeds/atom.xml" rel="self" title="Drab as a fool, aloof as a bard" type="application/atom+xml" />
    <link href="http://drabasablog.net/"                        rel="alternate"    title="Drab as a fool, aloof as a bard" type="text/html" />
    <link href="http://drabasablog.net/rss.php?version=2.0"     rel="alternate"    title="Drab as a fool, aloof as a bard" type="application/rss+xml" />
    <title type="html">Drab as a fool, aloof as a bard</title>
    <subtitle type="html">My home on the web...</subtitle>
    <icon>http://drabasablog.net/templates/bulletproof/img/s9y_banner_small.png</icon>
    <id>http://drabasablog.net/</id>
    <updated>2010-10-31T22:57:40Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://drabasablog.net/archives/post-145.html" rel="alternate" title="Converting SOAP to RSS" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-10-31T22:57:40Z</published>
        <updated>2010-10-31T22:57:40Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=145</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=145</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
    
        <id>http://drabasablog.net/archives/post-145.html</id>
        <title type="html">Converting SOAP to RSS</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>It recently occurred to me that a certain website that I check regularly could be given an unofficial RSS feed by writing a script to pull in data from its SOAP interface and spit it out as a feed.  Not many websites have SOAP interfaces, but this one does, and while I&#8217;m not sure they created it to allow third-party RSS feeds in particular, I&#8217;m sure they don&#8217;t mind if I just use it for my own secret consumption.  That means I won&#8217;t be disclosing which site it is that my script is accessing, although the general principle about how to write a script like this should be more useful anyway.  Of course I used PHP for the script, because that&#8217;s what webhosts support, so if you want a version written in a nice language like Groovy I&#8217;m afraid you&#8217;ll have to port this script to that language.</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-144.html" rel="alternate" title="All the other problems that can be encountered when watching DVDs in Linux" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-10-31T22:50:09Z</published>
        <updated>2010-10-31T22:50:09Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=144</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=144</wfw:commentRss>
    
    
        <id>http://drabasablog.net/archives/post-144.html</id>
        <title type="html">All the other problems that can be encountered when watching DVDs in Linux</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Watching DVDs in Linux has traditionally been thought of as a difficult task, for various reasons, but none of those reasons were a problem for me when I tried watching a (legally bought, commercial) video DVD recently.  I, apparently, bumped into all the possible <em>other</em> problems that can make it difficult, although admittedly they weren&#8217;t all exactly Linux problems, as hardware faults and user error are cross-platform.</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-143.html" rel="alternate" title="Generating a CSV file from a filtered hash" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-09-30T21:29:39Z</published>
        <updated>2010-09-30T21:29:39Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=143</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=143</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
    
        <id>http://drabasablog.net/archives/post-143.html</id>
        <title type="html">Generating a CSV file from a filtered hash</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Like the mythical Cassandra, I occasionally find myself aware of an impending disaster but unable to prevent it.  The particular disaster I am talking about is writing verbose, ugly, unclear code in PHP that can be written succinctly, beautifully, and readably in Groovy (or at least one out of those three).  This would not feel so ironic, were it not for the fact that I never have quite the fluency with Groovy to actually be able to write the alternative code, and thus I am forced to go with the PHP solution that I know to be suboptimal.  A recent case, in particular, has highlighted this fact to me, as I had the task of turning a hash (actually a list of hashes) into a CSV file (actually a string in CSV format), while filtering the hash based on a whitelist of keys.  Although this turned out to be implementable in 7 lines of PHP, I was sure it must be a one-liner in Groovy.</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-142.html" rel="alternate" title="Jumping in PHP source code considered harmful" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-09-30T21:12:01Z</published>
        <updated>2010-09-30T21:12:01Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=142</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=142</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
    
        <id>http://drabasablog.net/archives/post-142.html</id>
        <title type="html">Jumping in PHP source code considered harmful</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>In a simple computer program, we like to imagine the flow of execution starting at the top and moving down line by line until it reaches the bottom.  Sure, it might skip some lines if a condition for executing them is not met, or it might run some lines several times if there is an instruction to loop, but there shouldn&#8217;t be any reason for, say, a four line script to execute lines in an unexpected way.  Indeed, PHP does execute code in the expected way, but as long as you have spent a bit of time thinking about what the &#8220;expected&#8221; way should be.  To save you the trouble of having to think about this <em>after</em> writing some code which doesn&#8217;t work, and wondering why it doesn&#8217;t work, I will present an example of how PHP treats &#8220;jumping&#8221; in a four line script, and what that I mean by that term.  Hopefully anyone who reads this will then want to avoid jumps in their code, as they will consider the practice harmful to the goal of writing maintainable software.</p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-141.html" rel="alternate" title="Implementing Genesis in Java" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-08-30T20:59:00Z</published>
        <updated>2010-09-30T19:39:17Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=141</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=141</wfw:commentRss>
    
    
        <id>http://drabasablog.net/archives/post-141.html</id>
        <title type="html">Implementing Genesis in Java</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>I got talking to a colleague from work about the philosophical issues of morality and surveillance (does being surveilled make people more moral?) and we ended up discussing the moral and societal framework of the Garden of Eden, as described in the book of Genesis, in the Old Testament of the Bible.  He made an interesting point that, being unaware of the existence or nature of evil, Adam and Eve may not have been best equipped to determine whether a statement was a lie, or even know to ask themselves the question of whether something was a lie or not, being unfamiliar with such things.  As programmers, one natural way to express ourselves clearly on such important theological questions was to write some software, and sure enough my colleague wrote a PHP implementation of the Human class, and pointed out the inherent flaw in the design, which was, he claimed, an imperfection in the system that Genesis describes.  I was not so convinced that he had implemented the Genesis specification correctly, however, which perhaps shows that Intelligent Design should be left up to God (and even God might want to implement it via an evolutionary algorithm instead), but I decided to give it a go myself, confident that, whatever language God used, I would stand a better chance using Java than I would PHP.</p>
 <br /><a href="http://drabasablog.net/archives/post-141.html#extended">Continue reading "Implementing Genesis in Java"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-140.html" rel="alternate" title="Using the DIV tag to replace tables" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-08-30T19:49:00Z</published>
        <updated>2010-11-01T22:25:18Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=140</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=140</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
            <category scheme="http://drabasablog.net/categories/2" label="Standards" term="Standards" />
    
        <id>http://drabasablog.net/archives/post-140.html</id>
        <title type="html">Using the DIV tag to replace tables</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>This month I attended an enjoyable party which happened to have some A-list celebrities (of the Free Software world) present.  I did feel slightly out of my depth when the topic of conversation turned to compiler optimisation bugs, but as luck would have it, I found myself listening to a conversation about web design.  &#8220;<a href="http://everything2.com/title/This+is+UNIX%2521+I+know+this%2521">I know this!</a>&#8221; I thought, as the conversation developed into a good-humoured flame war about the semantic validity and practicality of using the <code>table</code> tag for presentation.  Fortunately I was not the only one to believe that using the <code>table</code> tag like this should be avoided at all costs, and that meant I didn&#8217;t have to argue the point.  I did end up, however, talking to someone who was in favour of presentational tables and I tried to understand the precise use case they had in mind that encouraged them to use tables in a non-semantic way.  It turns out they weren&#8217;t happy with the result even when they used tables, but I couldn&#8217;t quite articulate or convince them of the alternate page structure which came to my mind.  I knew then that it was my duty to actually write the code and prove to myself and others that a <code>div</code>-based design was the answer.</p>
 <br /><a href="http://drabasablog.net/archives/post-140.html#extended">Continue reading "Using the DIV tag to replace tables"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-139.html" rel="alternate" title="Checking PHP security with PHP" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-07-31T18:20:00Z</published>
        <updated>2010-09-28T23:31:08Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=139</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=139</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
    
        <id>http://drabasablog.net/archives/post-139.html</id>
        <title type="html">Checking PHP security with PHP</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>One interesting thing about software is that because it is written in a language that a computer can understand, it is also possible, in theory, to get the computer to tell you things about that software.  There are various classes of utilities from <a href="http://en.wikipedia.org/wiki/Static_code_analysis">static analysers</a> to code <a href="http://eclipse-cs.sourceforge.net/">style checkers</a>, but I have recently been considering how possible it is to check for uses of specific deprecated functions and classes in a PHP project.  The actual checker I was thinking of creating would use regular expressions and be written in PHP itself, but because the process would be a static analysis one, which I hoped didn&#8217;t have to resort to tokenising the PHP source code it was examining, this checker could in fact be written in any language just as (if not more) easily.  As is often the case in my blog posts about PHP recently, it turns out that various &#8220;features&#8221; of PHP make things more difficult (regardless of the language that the checker is written in), although trying to solve a problem the wrong way doesn&#8217;t help either.</p>
 <br /><a href="http://drabasablog.net/archives/post-139.html#extended">Continue reading "Checking PHP security with PHP"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-138.html" rel="alternate" title="The problems with banks" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-07-31T18:04:00Z</published>
        <updated>2010-09-28T16:14:55Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=138</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=138</wfw:commentRss>
    
    
        <id>http://drabasablog.net/archives/post-138.html</id>
        <title type="html">The problems with banks</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>I recently had trouble buying something online and this resulted in me having to go into a local branch of the bank with which I had the account I was trying to use.  There had actually been several issues which had been accumulating with this account, and so I thought that attending in person might be the quickest way to get things sorted out, but the process ended up taking a lot longer than I thought.  Fortunately along the way I had an enlightening and somewhat amusing conversation with the cashier who was trying to help me, and I thought that I should share some of the things I have learnt.  For privacy reasons I will not go into details about the current state of my account, nor will I disclose which bank it is I have this account with, but I hope it will give people a benchmark to compare their banks against, and I would be interested to know which banks don&#8217;t have the same problems as the ones I describe (or have other problems).</p>
 <br /><a href="http://drabasablog.net/archives/post-138.html#extended">Continue reading "The problems with banks"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-137.html" rel="alternate" title="Hacking the dependencies of a downloaded Debian package" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-06-29T21:36:00Z</published>
        <updated>2010-09-27T20:23:08Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=137</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=137</wfw:commentRss>
    
    
        <id>http://drabasablog.net/archives/post-137.html</id>
        <title type="html">Hacking the dependencies of a downloaded Debian package</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Yet again I have found myself on the wrong side of Debian&#8217;s strict packaging <a href="http://www.debian.org/doc/debian-policy/">policy</a>.  There is a piece of software that I want to install which isn&#8217;t packaged for Debian, but which fortunately is packaged for the <a href="http://ostan-collections.net/wiki/Debian">sister</a> distro, Ubuntu.  This alternative source of packages is only useful, though, if Ubuntu uses sufficiently similar package names and version numbers, otherwise the Debian <a href="http://wiki.debian.org/Apt">package management</a> tools will treat the package as invalid due to dependency problems.  The <a href="http://drabasablog.net/archives/post-119.html">last time</a> I had to deal with this sort of problem was with an earlier version of the same package, <tt>plasma-widget-adjustableclock</tt>, but this time the dependency problem is slightly different and I&#8217;ve tried fixing the problem in a different way too.  Below I detail what the problem is, and my not-entirely-successful efforts at solving it.</p>
 <br /><a href="http://drabasablog.net/archives/post-137.html#extended">Continue reading "Hacking the dependencies of a downloaded Debian package"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-136.html" rel="alternate" title="EU state flowers" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-06-28T23:13:22Z</published>
        <updated>2010-07-31T17:51:04Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=136</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=136</wfw:commentRss>
    
    
        <id>http://drabasablog.net/archives/post-136.html</id>
        <title type="html">EU state flowers</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>The opportunity to speak with Americans about their federal system is one I rarely turn down, as it helps me understand <a href="http://en.wikipedia.org/wiki/Federal_Europe#Present_situation">Europe&#8217;s federal system</a>.  While talking to a particular American, I found that, <a href="http://www.youtube.com/watch?v=ftg1EtdgbHI">despite</a> the <a href="http://www.youtube.com/watch?v=ANTDkfkoBaI">stereotypes</a>, they did not believe that the EU was a federal country, and although this meant they agreed with the vast majority of Europeans on the matter, I decided to dismiss their view as uninformed and presented them with a <a href="http://www.ep-president.eu/president/ressource/static/videos/en/ref70060W.mp4">video</a> of the <a href="http://en.wikipedia.org/wiki/President_of_the_European_Parliament">EU <span title="President of the European Parliament">president</span></a> celebrating the <a href="http://en.wikipedia.org/wiki/Europe_Day">EU national day</a> by reading a speech and watching the <a href="http://en.wikipedia.org/wiki/Flag_of_Europe">EU flag</a> being lifted by members of the <a href="http://en.wikipedia.org/wiki/Eurocorps">EU army</a>, followed by a military band performance of the <a href="http://en.wikipedia.org/wiki/Anthem_of_Europe">EU national anthem</a>.  I feel, though, that to really convince an American (and possibly a European too) that the EU is a country, I must provide a list of the <a href="http://en.wikipedia.org/wiki/List_of_U.S._state_flowers">state flowers</a> of each of the EU states, which was, as I explained in an earlier <a href="http://drabasablog.net/archives/post-90.html">blog post</a>, one of the only things the EU was missing.</p>
 <br /><a href="http://drabasablog.net/archives/post-136.html#extended">Continue reading "EU state flowers"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-135.html" rel="alternate" title="Getting a domain name" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-05-31T20:58:37Z</published>
        <updated>2010-07-17T17:40:27Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=135</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=135</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/4" label="Blogging" term="Blogging" />
    
        <id>http://drabasablog.net/archives/post-135.html</id>
        <title type="html">Getting a domain name</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>I&#8217;ve recently made a few changes to my blog and thought that, in the <a href="http://technorati.com/blogging/">self-referential</a> tradition of bloggers, I should mention some of the decisions I made and how they affect my blog.  The most external change, and the one mentioned in the title of this post, is that I do now have a domain to host this blog on.  By &#8220;external&#8221; I don&#8217;t just mean it is potentially visible in your address bar when you visit any page of the blog, I also mean that it involved interaction with various third parties.  It is a change I had been meaning to make for a while now, and one I should have made long ago, but hopefully it should last a long time.</p>
 <br /><a href="http://drabasablog.net/archives/post-135.html#extended">Continue reading "Getting a domain name"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-134.html" rel="alternate" title="The only other problem with PHP" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-05-31T20:10:57Z</published>
        <updated>2010-06-28T23:10:50Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=134</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=134</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
    
        <id>http://drabasablog.net/archives/post-134.html</id>
        <title type="html">The only other problem with PHP</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>By a strange coincidence, I&#8217;ve recently bumped into another PHP <a href="http://catb.org/jargon/html/G/gotcha.html">gotcha</a>, well, actually three of them depending on how you&#8217;re counting, but I&#8217;m sure that these must be the last three unexpected things about PHP and I won&#8217;t soon have to write another blog post detailing something else unintuitive that PHP does.  The reason these could be seen as one gotcha is that they all involve PHP&#8217;s support for <a href="http://en.wikipedia.org/wiki/Floating_point">floating point numbers</a>, so one workaround would just be to not use that datatype at all in your programs.  As I will show though, it is harder than you might think to avoid them, so perhaps the best advice is to avoid using numbers at all.  To be on the safe side though, maybe you should just use a different programming language.</p>
 <br /><a href="http://drabasablog.net/archives/post-134.html#extended">Continue reading "The only other problem with PHP"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-133.html" rel="alternate" title="Spelling conventions for software projects" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-04-30T19:53:22Z</published>
        <updated>2010-05-05T00:32:28Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=133</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=133</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
            <category scheme="http://drabasablog.net/categories/2" label="Standards" term="Standards" />
    
        <id>http://drabasablog.net/archives/post-133.html</id>
        <title type="html">Spelling conventions for software projects</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>A project at work recently reached an interesting crossroads where it had to be decided what the spelling convention should be for some code which the company&#8217;s partners would have to interact with.  The use of English as a common language had been uncontroversial up to that point, but there had crept into the software words which had different spellings between American English (en_US) and British English (en_GB).  As a passionate European, it <a href="http://en.wikipedia.org/wiki/Anglo-Frisian_languages">made sense</a> to me to choose the version of English spoken by the English, but the more I researched it, the more I realised that the correct international standard really was en_US.  Perhaps the deciding factor for me was that the coding standard for the European Space Agency requires the use of en_US spelling, which I will mention below in my depressingly convincing argument for that same linguistic standard.</p>
 <br /><a href="http://drabasablog.net/archives/post-133.html#extended">Continue reading "Spelling conventions for software projects"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-132.html" rel="alternate" title="Is that all that's wrong with PHP?" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-04-30T19:40:22Z</published>
        <updated>2010-05-05T00:08:28Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=132</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=132</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
    
        <id>http://drabasablog.net/archives/post-132.html</id>
        <title type="html">Is that all that's wrong with PHP?</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>While my <a href="http://uranus.mtveurope.org/~hagfish/blog/archives/post-131.html">previous</a> blog post covered what may be an actual bug in PHP, there are still a couple of <a href="http://en.wikipedia.org/wiki/Gotcha_%28programming%29">gotchas</a> which might be worth mentioning.  Firstly there is the inconsistent way it deals with single and double quotes around strings, and then there are the undesirable consequences of how it juggles variable types, for which I have an example.  Of course, all languages have their problems, with the obvious exception of <a href="http://groovy.codehaus.org/">Groovy</a>, the superiority of which I will demonstrate with a one-liner, possibly accompanied by an excuse to explain why that simple one-liner was so hard to write.</p>
 <br /><a href="http://drabasablog.net/archives/post-132.html#extended">Continue reading "Is that all that's wrong with PHP?"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://drabasablog.net/archives/post-131.html" rel="alternate" title="Hate PHP" />
        <author>
            <name>Hagfish</name>
                    </author>
    
        <published>2010-03-31T18:53:16Z</published>
        <updated>2010-05-09T22:56:31Z</updated>
        <wfw:comment>http://drabasablog.net/wfwcomment.php?cid=131</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://drabasablog.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=131</wfw:commentRss>
    
            <category scheme="http://drabasablog.net/categories/3" label="Programming" term="Programming" />
    
        <id>http://drabasablog.net/archives/post-131.html</id>
        <title type="html">Hate PHP</title>
        <content type="xhtml" xml:base="http://drabasablog.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>The title of this post is even less helpful (and less fair) than the title of the blog post which <a href="http://uranus.mtveurope.org/~hagfish/blog/archives/post-98.html">inspired</a> it, so it should probably be viewed as parody.  However, I do sadly have a file on my computer called <tt>hate.php</tt> containing a series of lines of valid PHP source code which produce unexpected and even perplexing results.  Admittedly there are only 6 lines, and the behaviour of half of them is as documented, but I hold PHP to a higher standard than I would a &#8220;messy&#8221; language like Perl, so I thought this deserved a blog post.</p>
 <br /><a href="http://drabasablog.net/archives/post-131.html#extended">Continue reading "Hate PHP"</a>
            </div>
        </content>
        
    </entry>

</feed>
