The power of Globally Recognized Avatar (aka Gravatar)

Gravatar has a very sleak concept but not many people know and understand it. It is one place for your display pictures and you can use the same at any Gravatar enabled website / application. Gravatar is currently used in WordPress, Movable Type, Drupal, Joomla and Mac OS X Addressbook.

Advantages are mainly on the user end where he/she can change one photo and reflect it in multiple places. It includes support for content-rating etc.

Here, I will show how it is implemented in PHP

$email = "my-email@hotmail.com";
$default = "http://www.somewhere.com/homestar.jpg";
$size = 100;

$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=".md5(strtolower($email)).
			"&default=".urlencode($default).
			"&size=".$size;

Now use it in your HTML as

<img src="<?php echo $grav_url; ?/>" width="< ?php echo $size; ?>" alt="Gravatar" />

Simple!!

More info at the URLs below

Microsoft Vista – Resource Hog

Most of you already know that Microsoft Vista is a resource hog in terms of disk-space-consuption and memory (RAM) but this is ridiculous.

Today I got an alert in Microsoft Vista that my 20G partition is running out of space and has nearly 300MB left in it. I have all my programs installed in a seperate partition AND all my documents / desktop is also in another partition. It was really surprizing for me. I ran Disk Cleanup and it revealed there 2GB can be freed from primary partition where Vista is installed. Here are the screen-shots.

Microsoft Vista resource hog - disk cleanup

Microsoft Vista resource hog - disk cleanup 2

It really is a resource hog, but even then I love working in Vista :)