Skip to main content

Posts

Showing posts from April, 2012

Human Mind and Computers (An Uncanny Resemblance) - I

H uman Mind, the single organ in Human body which consumes as much as 20% of the total energy consumed by the whole body combined together. Now, that's a feat for a small organ which constitutes only 2% of the net body mass. Every thought one have in their brain, every neuron which fires in your nervous system consumes energy. Our Brain; the wonder machine Since ages philosophers have pondered upon the mysterious capabilities of human brain and its abilities. We all might have heard the rumor in our childhood days that a grown adult uses only 20% of the total human brain; which I can tell you is a total bullshit, since a neurosurgeon would tell you that people with a small injury in brain cripples the functioning of specific parts of body partly or completely. It we were using just 20%, then there wouldn't have been much functional difference in our behavior even if a small part of our brain was damaged. Human brain is unique from other animal brain in function...

Album Art from Google Image Search

I am sort of a perfectionist and when it comes to keeping things cleaned up, I can bet no one can beat me!! My Android phone, Motorola Quench XT3(never heard of it! Yeah, it's an Asia specific product from Motorola) has a nice feature of showing album art for songs, as is there in VLC , the epic product from VideoLAN , WMP , the shitty product from Microsoft Corp (which MS has made less shitty in Windows 7 and more) and the lesser known (among mainstream PC and MAC users Rhythmbox , the default music player featured in Ubuntu , the blue eyed kid of Canonical Inc .). But for me the turning point was when I can view album arts in my phone while listening to music and it became an absolute necessity that every song I play on my Android must have an apt album art, not the stupid, moronic default album art which Android features, The default album art of Android Anyways, I search on the internet for a suitable program which would do this thing for me on my computer that i...

Prevent auto screen locking - Java

My first job was at an IT company where they used to have a company policy wherein they lock your PC after every 3 minute. The usual excuse was Information Security. Just imagine, every-time you have to take a leak, the PC would just lock itself up. The situation was exasperated because of another thing, the password policy, which demanded every password to be  At least 8 character long. At least one number. At least one lower-case alphabet and one upper-case alphabet. and at least one special character. Now, all thing rules made the remembering of password a bit of a hell and on top of it was the 3 minute locking rule. That was the time when I decided to do a bit of mischief and code a software which will do the task of moving the mouse, which would effectively prevent the desktop from locking itself. I started to look for things which would enable me to do this. That's when I encountered Robot , a class Java provides since J2SE 1.3. This class acts like a simul...