iPhone podcast gripes

I’ve been using my iPhone for two weeks now, and overall it’s great. Easily the best phone I’ve ever used. It really has changed the way I live my life because there is so much I can now do from anywhere that before I’d need to be at my computer for.

Despite this though, there are a few things that Apple should fix.

  1. There’s no character count when typing a text message. This might be a small issue and given I get 500 free texts a month (which is way more than I use) it doesn’t matter that I might sometimes send people two messages. However, it would be nice to be able tailor my messages to the limit of 160 characters.
  2. The new over-the-air download of podcasts is completely broken.

Rather than listen to my music on a loop while I travel I listen to a number of podcasts, and Steve Lamacq’s 6music show. MythTV on my PC records his show every afternoon. A script then converts the recording into a 300MB MP3 file and updates the xml document that describes it as a podcast. This is served by Apache on my local machine.

Read More...

Compiling CSS

A new compiler called HSS has been released. This tool makes it easier to write concise, maintainable and valid CSS. The two key features are the ability to define variables which are then replaced throughout the file, and to create nested blocks.

Typically you’ll need to write code like this:

.faq {
    color: red;
}
.faq h1 {
    background-color: black;
}
.faq a {
    text-decoration: none;
}

With HSS you can write…

.faq {
    color: red;
    h1 { background-color: black; }
    a { text-decoration: none; }
}

Since you’ll want to automatically run a code minimiser over your CSS code anyway, running HSS as well shouldn’t be a problem.

Unfortunately the tool is written in the little known language Neko (which is a language created by the author of HSS) and is not hosted on any of the of many open source project hosting sites which would help ensure the tool lives on even if the author moves on. Indeed, it’s not even clear from the website what license the tool is released on. These are problems that might need to be solved before it’s worth basing a project around HSS.

Read More...

New Flickr Home Page

Flickr are in the process of testing a new style home page for logged in users. The process of switching is pretty fancy, once you click ok the old page fades out and is replaced by the flickr throbber which floats down the screen like snow flakes.

The new page is not really that different to the old page, but it does have slightly more information on it. I’m not quite sure what the point of the redesign was - it was nowhere near as dramatic as Facebook or Last.fm’s recent revamps.

Flickr’s website has changed little over the past year so it’s nice to see that the website won’t stagnate, and that new features are being added.

Read More...

CouchDB Performance

I’ve been toying with CouchDB for a short while, and I’m definitely impressed by what I’ve seen. Once I’d upgraded to Erlang R12B and trunk CouchDB any bugs I was seeing disappearing and importing all 1 million documents was straightforward.

With 1 million documents the map/reduce takes a long time, as you would expect. What would be nice is if the maps could be spread across different nodes to speed things up dramatically. Once the map has been calculated and cached, retrieving it is relatively fast. Parsing it in Python does seem to be quite slow, taking a few seconds for a few tens of thousands of results. This is far too slow for a webpage response.

Is there any way to speed up CouchDB? Well aggressive use of memcache will probably help, but too me it seems that CouchDB is not suited to large datasets. I do hope I’m wrong though, and I’m going to investigate further because I really want to find a use for CouchDB in my work.

Read More...