Subscribe to RSS Subscribe to Comments

commafruit.co.uk. welcome.

Margaret Atwood - Oryx and Crake

Oryx and Crake hardback coverAtwood again demonstrates her aptitude for what she calls “speculative fiction”, taking existing technology and societal observations and imagining her own (near future) worlds based on what’s already happening.

The story revolves around Snowman, for all it’s worth the last man on Earth, and how he observed the events which led to a biotechnology programme gone wrong. The Crake of the title refers to Snowman’s old friend, a genius who creates the biotech which will eventually lead to the world’s demise; Oryx is a mysterious woman who Jimmy (as Snowman was previously known) and Crake saw in their adolescence as a girl in a child pornography film.

The world described is a caution about the future of new technologies and where they might lead us, but it’s also a wry observation on the world as it stands from the view of ordinary people: Jimmy and Crake are, as children, able to access anything they chose over the Internet, no matter how sordid or illicit, in spite of the restrictions placed on them. Inevitably, this numbs them psychologically to the world they interact with.

4 ouf of 5 rating Tags: , , ,
AddThis Social Bookmark Button

Simple questions get simple answers: Is it Christmas? I love the way they’ve got an RSS feed for it.

[...]
Tags: , , ,
AddThis Social Bookmark Button

Iain Banks - The Steep Approach to Garbadale

The Steep Approach to Garbadale softback coverIt may be that I’m just a good fit for it, or maybe it just came at the right time, because despite a somewhat lukewarm critical reception1, I loved Iain Banks’ latest effort.

The Steep Approach to Garbadale tells the story of Alban, a renegade member of the successful Wopuld family, who is asked to return to his family in order to persuade them not to sell out the business to a huge American firm. But it’s not the only thing Alban has to think about: returning to his family means he must confront his feelings for his cousin Sophie, a lust he’s harboured for years, and one which has impaired more obvious relationship opportunities. There is also the looming issue of his mother’s suicide, little discussed since his childhood.

All this is nicely interspersed with contributions from Alban’s new friends (who are far more vulgar than him, and even more so than his family), flashbacks from the gap year he spent travelling, and other international trips he’s been on. Laugh-out-loud funny in places and touching in others, the novel is certainly a page-turner, even if the “twist” at the end is a long way from a revelation.

My only complaint is that Banks can’t help throw in his own2 attacks against Bush, the Iraq war and feeding them through his characters like they were marionettes. Even though I agree with his politics, I’d prefer that he kept such sensitive subjects out of a book that really, doesn’t need them. The fact that having an American firm try to take over a smaller, British concern is a major plot point does not mean it needs to be politicised, even if it looks like it’s begging to be.

1 I mean proper critics. ;) See the Guardian review for reference.
2 highly unsubtle, especially noticeable when coming from one with such a powerful command of the language

5 ouf of 5 rating Tags: ,
AddThis Social Bookmark Button

When I was working in an office last year, one of the ‘net memes that stuck around was Lolcats. These are odd pictures of cats (usually highly saccharine), with bizarre captions added, and I found that although they can be quite funny, once you’ve seen a couple (of dozen) you’ve seen ‘em all. This one came to my attention recently though, reminded me of laughing at them last year.
BTW, look at the comments on that page - all written in the same style as the captions.

[...]
Tags: , ,
AddThis Social Bookmark Button

Site upgrade, Wordpress 2.3.1, Tags

So, I’ve finally upgraded this site to use a version 2.x series Wordpress. This version (2.3.1) includes tagging support built in, which was a big plus for me as I’d be looking at installing something like UTW, but putting it off because I knew I planned to upgrade. Installation/upgrade of Wordpress is impressively straightforward by the way.

Anyway, after going through and tagging most of my entries, it was clear that I had a small number of tags with like 20 posts, and then lots of others with 1-5, which meant I had a list of words with a couple of them highlighted, but unable to see the difference between a tag with 1 post and one with 4. Luckily, I know PHP. :)

The code below replaces the wp_generate_tag_cloud function in the wp-includes/category-template.php file. Essentially, rather than taking the default distribution of number of posts for a tag then calculating the size, it takes the natural log (aka ln or loge), which results in a more even distribution, and so more similarly sized tags!

This code was marked up using the wonderful GeSHi.

  1. function wp_generate_tag_cloud( $tags, $args = ) {
  2.         global $wp_rewrite;
  3.         $defaults = array(
  4.                 ’smallest’ => 8, ‘largest’ => 22, ‘unit’ => ‘pt’, ‘number’ => 45,
  5.                 ‘format’ => ‘flat’, ‘orderby’ => ‘name’, ‘order’ => ‘ASC’
  6.         );
  7.         $args = wp_parse_args( $args, $defaults );
  8.         extract($args);
  9.         if ( !$tags )
  10.                 return;
  11.         $counts = $tag_links = $counts_display = array();
  12.         foreach ( (array) $tags as $tag ) {
  13.                 $counts[$tag->name] = log($tag->count) + 1;
  14.                 $counts_display[$tag->name] = $tag->count;
  15.                 $tag_links[$tag->name] = get_tag_link( $tag->term_id );
  16.                 if ( is_wp_error( $tag_links[$tag->name] ) )
  17.                         return $tag_links[$tag->name];
  18.                 $tag_ids[$tag->name] = $tag->term_id;
  19.         }
  20.         $min_count = min($counts);
  21.         $spread = max($counts) - $min_count;
  22.         if ( $spread <= 0 )
  23.                 $spread = 1;
  24.         $font_spread = $largest - $smallest;
  25.         if ( $font_spread <= 0 )
  26.                 $font_spread = 1;
  27.         $font_step = $font_spread / $spread;
  28.         // SQL cannot save you; this is a second (potentially different) sort on a subset of data.
  29.         if ( ‘name’ == $orderby )
  30.                 uksort($counts, ’strnatcasecmp’);
  31.         else
  32.                 asort($counts);
  33.         if ( ‘DESC’ == $order )
  34.                 $counts = array_reverse( $counts, true );
  35.         $a = array();
  36.         $rel = ( is_object($wp_rewrite) && $wp_rewrite->using_permalinks() ) ? ‘ rel="tag"’ : ;
  37.         foreach ( $counts as $tag => $count ) {
  38.                 $tag_id = $tag_ids[$tag];
  39.                 $tag_link = clean_url($tag_links[$tag]);
  40.                 $tag = str_replace(‘ ‘, ‘&nbsp;’, wp_specialchars( $tag ));
  41.                 $a[] = "<a href=’$tag_link’ class=’tag-link-$tag_id’ title=’" . attribute_escape( sprintf( __(‘%d topics’), $counts_display[str_replace(‘&nbsp;’,‘ ‘,$tag)] ) ) . "’$rel style=’font-size: " .
  42.                         ( $smallest + ( ( $count - $min_count ) * $font_step ) )
  43.                         . "$unit;’>$tag</a>";
  44.         }
  45.         switch ( $format ) :
  46.         case ‘array’ :
  47.                 $return =& $a;
  48.                 break;
  49.         case ‘list’ :
  50.                 $return = "<ul class=’wp-tag-cloud’>\n\t<li>";
  51.                 $return .= join("</li>\n\t<li>", $a);
  52.                 $return .= "</li>\n</ul>\n";
  53.                 break;
  54.         default :
  55.                 $return = join("\n", $a);
  56.                 break;
  57.         endswitch;
  58.         return apply_filters( ‘wp_generate_tag_cloud’, $return, $tags, $args );
  59. }
Tags: , , , ,
AddThis Social Bookmark Button

One day, when I’m super-rich, I’m going to have my house set up with Kaleidescape gear.

[...]
Tags: , ,
AddThis Social Bookmark Button

Jumpcut

Yahoo! acquired Jumpcut over a year ago, but it can hardly be said to be making waves on the web. It’s a video sharing site (a la YouTube), but with emphasis on mash-ups, sharing editing etc.
Since I don’t actually have any use for this all I’ve done is sign up and post a video I took in Croatia.

The site (app?) seems to be attracting mostly adult material, possibly to Yahoo!’s disappointment. They’ve come under fire over this recently.

Edit: Actually, this post reminds me of 10 Seconds by Heather Champ.

Tags: , , ,
AddThis Social Bookmark Button

Jonathan Coe - What a Carve Up!

Not sure why, but this book has been on my pile of books to read for a long time. Possibly this was a mistake, because this is a truly superb novel.

Michael Owen is tasked with researching and documenting the influential Winshaw family, who have, for the last half-century or so, been furthering themselves at the expense of all others in the most unethical and selfish of ways. The work Owen is charged with researching is interwoven with events from his own more mundane life, and we begin to realise just how wide reaching the Winshaw’s influence is.

Unflinchingly socialist and politically charged on one page, flippant and funny the next, Coe relies somewhat on the reader being on his side before they begin. A people-centric view of the problems Thatcher caused us.

5 ouf of 5 rating Tags: , ,
AddThis Social Bookmark Button

Only just realised that Vitamin, the great web magazine, is created by Carsonified, who also create great conferences.

[...]
Tags:
AddThis Social Bookmark Button

Boomshine, a cute little flash game. Found it quite difficult toward the end.

[...]
Tags:
AddThis Social Bookmark Button

The Gospel According to Chris Moyles

Lightweight, too heavy on name-dropping and almost unreadable in places due to the words being obscured by the man’s ego, this is remains an extremely entertaining auto-biography. Enough amusing anecdotes are included to keep the reader from becoming bored, and the bits of inside info about the radio industry (largely included under the pretext that they’re required for clarity) are genuinely interesting.

3 ouf of 5 rating Tags: ,
AddThis Social Bookmark Button

The Return

So I’ve been back in Manchester about a month, it feels great to be back in a proper city. While Peterborough had it’s charms, I find I prefer to be in a city with a larger feel to it - just walking through Manchester there is a buzz which I knew I’d been missing, but without quite knowing what it was.

Studying rather than “working” is a larger change though. Even though I have a fraction of the hours allocated for study/classes as I was working last year, it feels like I’m now working with greater intensity. I sense I’m also likely to miss the satisfaction of working for a client and having a product to produce - even if I did no work this year, few would even notice, let alone worry. It’s not that I need constant reassurance, but there is something to be said for a client who is vocal about their opinion on the results they’re seeing for a project.

Tags: , ,
AddThis Social Bookmark Button

Based on FluidityTheme Redesigned by Kaushal Sheth | All content by Ben Parsons unless otherwise stated | Askimet has filtered: 137 spam messages.