Second Generation iPhone out soon

The iPhone was launched in the UK a few months ago, and whilst waiting for my current contract to expire, I began wondering whether it was the device for me. Much has been written about it, and despite Steve Jobs’ ‘class-leading’ tag, it has its detractors, such as this guy.

Since that post was written, O2 have increased the basic, £35 ($70) tariff to include 600 minutes and 500 texts, but most of the other points are well made. I had been spoilt with a very good camera on my Sony Ericsson K800i, and truth be told, the iPhone’s camera is vastly inferior, but in so many other areas, it trounces over it wholeheartedly.

For me, the relatively poor camera and lack of 3G were (and still are) issues, but everything else is so well-designed, feels so right, that you forgive it’s drawbacks. The iPhone is a fantastic device, and I’m very happy that I’ve purchased one.

I was thinking of waiting for an improved second-generation device. Perhaps it will feature an improved camera, with flash, with video recording, and 3G support.

Obviously, I couldn’t wait, and went straight ahead and bought one, but you know what? Now that I have, you can bet that a second-generation model is going to be released real soon.

Gravatar Control Update

Update – 12 June 2008

An updated version of this post, containing full source for the control and explanation is available here.

Original Post

The guys over at Gravatar.com have been hard at work updating their service, and I’ve updated the ASP.NET control I developed to reflect the changes.

The maximum size of Gravatars has now been increased from 80 to 512, so there’s a code change in the Render method:

// if the size property has been specified, and in the range
// 1..512:
try
{
    // if it's not in the allowed range, throw an exception:
    if (Size < 1 || Size > 512)
        throw new ArgumentOutOfRangeException();
}
catch
{
    Size = 80;
}

So, a default of 80 will still be used if the value specified is not within the 1 to 512 range, or it is not specified, but allows for a larger size.

The avatar.php URL serving the images now supports abbreviation, but the code in the control has not been changed.

Design time view of the control

The image shows the Design time view of the control, with the width set at the default value of 80. I’ve checked the control at 512 pixels, but my Gravatar doesn’t look too good expanded out to that size, so I’ve decided to stick at size 80 for the screenshot!