TwitterTweets, a PHP wrapper class for Twitter REST API

I have just finished hosting my first OpenSource project on Google Code. Its called TwitterTweets. Its a small wrapper API that consumes Twitter REST API.

It can be easily included in any PHP script / application to support manipulation of TwitterTweets from a single user. Currently it has the following features

  • Reading updates including or excluding replies.
  • Caching support to store xml/json response locally as a file with cache-timeout
  • Built-in custom Array

I will be writing and uploading modules and plugins for Joomla and WordPress in the coming days. Stay tuned.

Project Homepage:
Project Discussion Group:


Windows Live – More Ways to Connect? or annoy?

Windows Live now supports importing and sending alerts to your FaceBook and LinkedIn buddies and contacts

More Ways to Connect - Windows Live

I feel they have tried to get in the social networking business by creating this. It is not too attractive has BUGs, especially related to security because its for everyone (no opt-outs) and other contacts can see and connect to your contacts (if you dont have the proper privacy options enabled which are turned off by default). It sucks!!

Woman emailed party invites in her sleep

Woman emails while asleepAs featured on YAHOO.COM today, according to a case described in the medical journal Sleep Medicine, a 44-year-old sleepwalker logged onto her computer and emailed out party invitations to friends. Fortean Times magazine looks at this case and several other bizarre episodes of somnambulism.

The mails themselves were perhaps not up to the woman’s waking standard; each was in a random mix of upper and lower case characters, badly formatted and containing odd expressions. One read: “Come tomorrow and sort this hell hole out. Dinner and drinks, Bring wine and caviar only.” Another said simply: “What the…”

The writers of the report have dubbed this new variation of sleepwalking ‘zzz-mailing’. They say: “We believe writing an email after turning the computer on, connecting to the Internet and remembering the password displayed by our patient is novel. To our knowledge this type of complex behaviour requiring coordinated movements has not been reported before in sleepwalking. She was shocked when she saw these emails, as she did not recall writing them. She did not have any history of night terr­ors or sleepwalking as a child.”

Unlike simple sleepwalking, they argue, the activities the woman engaged in required complex behaviour and coordinated movement, as well being able to remember her login details. She had no memory of the events next day. It’s thought that the somnambulistic episode may have been triggered by prescript­ion medication.

Read more about this here

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 = "";
$default = "";
$size = 100;

$grav_url = "".md5(strtolower($email)).

Now use it in your HTML as

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


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 🙂

The Rachel Maddow Show – State Secrets

A worth-watching video from The Rachel Maddow Show on MSNBC