Slim

August 18, 2007 by thomas · Comment
Filed under: DIY, en 

In our kitchen here in the flat, we’ve got a slim Indesit dishwasher.

Slim in this context means that it’s 45cm wide rather than 60cm.

I bought it because my kitchen wasn’t big enough for a normal one, and at the time I was living alone here.

However, even though there’s now five of us, it still keeps up surprisingly well. Sure, we have to turn it on almost every night, but that’s it.

Given that most households consist of less than five people, I don’t understand why so many people buy full-sized dishwashers. I know they’re not any more expensive, but they do consume more energy and water, apart from taking up space.

XSLT syntax

August 18, 2007 by thomas · Comment
Filed under: computing, en 

XSLT, Sexy?
Originally uploaded by mollyeh11

I taught myself XSLT last Thursday, and I must admit I’m in two minds about it.

On the one hand, it’s a really nice way to deal with many common transformations, but on the other hand, I’m getting sick and tired of typing <xsl: all the time.

It’d be really nice to have a preprocessor to transform a somewhat saner syntax to real XSLT. What I imagine is something that would allow me to write something like this:

      exec entity-ref (name="nbsp");
      print "<b>\n";
      if xsl:* {
          print "x"
      }
      print "</b>\n";
      print $name(.);

instead of this:

      <xsl:call-template name="entity-ref">
         <xsl:with-param name="name">nbsp</xsl:with-param>
      </xsl:call-template>
      <b>
      <xsl:if test="xsl:*">
          <xsl:text>x</xsl:text>
      </xsl:if>
      </b>
      <xsl:value-of select="name(.)"/>

Has anybody done that yet? Or will I have to do that myself if I want it badly enough? Is there any good reason for not doing it (apart from not getting begin and end tags matched for free in cases such as <b>...</b> above)?

Statistics

August 18, 2007 by thomas · 1 Comment
Filed under: blogging, en 

I’ve been analysing my blog, using the labels I use to categorise posts. I thought I would share the results with you all.

The first graph (click on it for a larger version) shows which languages I’ve been using. (Each tick on the X axis is a fortnight.) English has always been the dominant languages here, but I seem to be using it more and more, and Danish less and less. The wee spike in the middle is of course the challenge Phyllis set me.

The second graph shows what topics I’ve been blogging about. I’m not sure what to conclude here. I seem to be blogging more about politics these days, and less about photography, but it’s definitely not a case of one topic dominating. Can anybody here spot any interesting trends?