Online Again!!

I am now back online with new Web Link of mine. Since the time [allenpais.org] down, I really did not think I would come back to having a site of my own, unlike peter, I am too lazy to maintain it.

But now I am on google pages. Things are much easier to maintain for me, I hope to keep updating it with something atleast once in a while. Not sure though.

Well there are couple of things I wanted to blog about,

one : As we know Christmas just past us, there is this usual routine of getting a Christmas tree decorated and [Crib] made at home. This Christmas my schedule at work did not allow me to spend much time at home to get any of this kind of things done. I managed to get the tree up with decorations and lights, on the [crib] front, I just could not put up a good show. The point is not that, as we know _Christ_ was born in a manger, like its said,

And she brought forth her firstborn son, and wrapped
him in swaddling clothes, and laid him in a manger;
because there was no room for them in the inn.
--Luke 2: 7

i
t always is funny, yet I appreciated the creativity and the efforts behind making a crib which had [buildings], [cars], [neat roads] etc... Well after all progress is important from year to year.

Two : this drove me crazy for a while. I stumbled on this in the process of searching for some _algorithm_. Lemme introduce to you, [MIT Hackman Count].

This is a code snippet to count the number of bits set in a unsigned integer

int bitcount(unsigned int n)                        
{
/* works for 32-bit numbers only */


register unsigned int tmp;

tmp = n - ((n >> 1) & 033333333333)
- ((n >> 2) & 011111111111);
return ((tmp + (tmp >> 3)) & 030707070707) % 63;
}


Back to working!!!


About this entry


1 comments:

  1. Pete 4:39 PM

    Domain (allenpais.org)laid to rest i see..
    Are you planning on any content on the new one? You have very little stuff as of now..
    you joining us for the eurotrip or not? arul said you were unsure.