M G Harish

Saturday, September 25, 2010

Solution for Orkut worm Bom Sabado!

Today orkut users were flooded with scraps telling Bom Sabado!. Unlike other malware, this doesn't need you to click a link. Just by opening Orkut profile of the affected user, you will be affected. So I suggest you not to use orkut till this problm is fixed. However, if you are already affected, you can get rid of this using the following steps. (This is applicable only for Firefox users. If you are using any other browser, see below):
  • Download AdBlock Plus add-on for Firefox and install it.
  • Restart the browser to enable AdBlock.
  • You will see a red icon with ABP on the right hand side of the search box in Firefox.
  • Click on that, and select Preferences.
  • Click Add Filter and enter *tptools.org/*.

Now you can safely open orkut.

You may have to remove yourself from the communities added by the worm, such as saadzin, meu miguxinho, O vírus que contagia, Eu tenho um grande AMOR, Juizo eu TENHO, só não USO!, Dino ♥ etc.

Note: The "Old Orkut" users are not affected by this worm, and are safe.

If you are not using Firefox, then you can follow the following steps:

Update: The website tptools.org is down now. Orkut is beautiful, again :-)


If you have a browser other than firefox, or to ensure that site won't get accessed by any other way, you can edit hosts file and adding the following lines:

127.0.0.1 tptools.org
127.0.0.1 www.tptools.org

hosts file is found in:
  • C:\Windows\ - Windows 95, 98, Me
  • C:\WinNT\system32\drivers\etc\ - Windows NT, 2000, XP Pro
  • C:\WINDOWS\System32\drivers\etc\ - Windows XP Home, Vista, 7
  • /etc/ - Linux

Sunday, March 07, 2010

Human Brain and the CPU

When I was going through some of my old mails, I came across a self-sent mail. I had written it one year back as a comment to an article written by my friend Suri about the multitasking ability of the human brain. But due to some reason, I had not posted it. Here is a modified version of that comment:

Brain in all essence, acts as the central processing unit (CPU) of the body. It can perform calculations, control various organs of the body, process the inputs from different organs. However, the question is, can it handle multiple tasks at the same time?

Monday, April 20, 2009

Devote to vote!

I had never been as busy in my life so far, as I am now. Work has occupied me so much that I can't even follow my favourite blogs regularly. Coming to the tidings,
  1. marriages are happening,
  2. recession is at its peek, and
  3. Karmayuddh has started.
This year has been a period of marriages. A few of my classmates had got married in 2007. Interestingly, 2008 didn't witness any of my classmates tying the knot. Now, 2009 has already seen many marriages, with more to come. I wish the very best to all of them in their married lives.

I need not tell anything about recession. We are hearing about cost cutting and firing all around. Many of my friends have lost jobs due to economic slowdown for none of their faults. But life isn't cool always. We've to learn lessons from every part of our lives and move on.

Karmayuddh that I mentioned refers to two events. One being the Indian Premier League Twenty-20 cricket series and the other, and more important, being the Lok-Sabha General Elections.

We shall not abstain and shall make sure that only elite candidates lead our constituencies. After all, it is not a bad idea to spend one day in five years to decide the future of the nation, and hence ourselves.

Happy Voting!

Sunday, February 01, 2009

People and their Priorities

I recently started another blog, exclusively dedicated to technology and computer related topics. It is TechnoTweak.com. If you have liked the technology related stuff I've written here in this blog, you are welcome to take a look onto my new blog and also subscribe to TechoTweak feeds.

I had no intention of writing this post till I received this comment from Shubha. When I contemplated on that sentence, I found it very true. She has nicely put all my thoughts in one simple sentence. People change when their priorities change.

A few days ago, I watched Dasvidaniya in which the protagonist changes drastically when he gets diagnosed with stomach cancer. He completely changes his attitude. He keeps a list of things to be done before he dies, and eventually achieves them. A fine example to show that the people change when their priorities change, and these priorities change when something in their life changes.

I have seen some of my friends staying invisible while chatting. When asked about it, a common reason I get is that they are busy and don't want to be disturbed by some people. Crap & cowardice! It defeats the very purpose of chatting. When work is of utmost priority, one can put the busy status. But putting busy status on and chatting freely is a no-no. If used unnecessarily, it becomes another instance of the Tola-bantale-tola (For non-Kannada readers: It's the same tale in which a shepherd shouts about the arrival of a tiger when there wasn't any, just to make fun of the villagers and eventually becomes prey to a tiger because no villager come to rescue him when there was a real tiger) and people keep pinging you even when you have put busy status because, by then, they would have known how busy you would be.

If a person is pinging you when you are busy, ask him to ping later. Even then, if that person is adament and stupid enough to bug you and you are so keen on avoiding that person permanently, there is an option for that: block. Block the person who bugs you and he will never see you online. Invisibility cloak is good for Harry Potter, not for we muggles.

Coming back to the main point about priorities, ask yourself a question: do priorities in life change abruptly? Generally, according to me, no. Even if they do, such priority works are of short duration, which don't have any long term effects. So, is it really worth and necessity to change ourselves for the sake of those small parts of life?

Share your thoughts on this and also your opinions about the new blog TechnoTweak.

Sunday, December 28, 2008

Random thoughts... about 2008

I have seen people who write in their Orkut profiles, "I'm cool" or "I'm hot". I've even seen some guy who has written both. I am neither hot guy, nor cool. My body temperature remains normal at 37°C, unless I'm sick. And I am still trying to understand the meaning of hot and cool. Guys (and girls, if there are any), help me out here!

When I stay alone, I think. Not that I don't when I'm with others, but I believe solitude is the time when I get time to introspect, think about myself. It's the time when I laugh at myself for my foolishness. It's the time when I realize my mistakes. It's the time I repent for my mischievous behaviours and misdeeds.

People change. Not because Barack Obama has asked for it, but they change for a reason. They change when they grow. They change when they get good marks in classes. They change when they get awards. They change when they get good jobs. People change when they get new friends. And they change, abruptly, when they get girlfriends. They change when they marry. Amidst all these changes, people remain friends.

About two and a half years back I, along with Suri, started blogging. Then, it was just like a collection of some interesting and funny mails which I was getting. After a couple of posts, I found it useless and I stopped blogging. But Suri was very serious about it. He was literally going through all sorts of websites, from Technorati to hit-counters, from problogger to pre-blogger. Every night (yes, not day. Courtesy: BSNL Sancharnet) we used to chat hours together. That's the time people started calling me Goobe (owl). I still wonder how Suri escaped from that title. He used to talk about blogging, blogging and blogging. Eventually he was able to pull me into it. So I restarted blogging in 2007, wishing everyone a happy new year. I started writing posts at the rate of one per day. Suri read it. After continuing it for two weeks, I started showing my laziness and procrastination. The frequency of my posts started decreasing.

In spite of all this, my blog has more than 75 feed readers and has recently crossed 50000 hits. Not an award-winning achievement, but I think it is quite decent for a blogger like me, who posts once in three months. I thank all my readers, friends and those who have supported and backed me during times, good and bad.

2008 to 2009
2008 has been a year when I started working as an engineer (well, although I joined in 2007, we just had training), something which I dreamt right from my childhood. Apart from that, this year has been a year of ups & downs, just like every other year. I'm sure 2009 will also be like that. But we have forget the bad, cherish the good, and move on.

I wish you a very happy new year.

Wednesday, December 03, 2008

Code for Factorial, without Recursion

After having been declared to be an impregnable procrastinator by all my close-circle friends, after being connoted to update it by those who I didn't even know were reading my blog and after being told "Enough is enough, now update it buddy" by a few friends, I am in the same situation as the Indian government after the Mumbai attacks. I have no other go than updating it, at least for the sake of hushing them up till the next terror attack near my house. So here I go...

As you might already be knowing, I prefer calling programming an art to calling it a process. That's the reason I enjoy it.

Coming to the point, my friend cum colleague was trying to write a program for generating Pascal Triangle. I decided to play along and wrote a code. In the process, I wrote a function to calculate factorial for a number in an unusual way, without recursion.

Generally an incremental loop is used from 2 to N. But I used decrementing loop and here is the outcome (Code written in C programming language):

unsigned int fact(unsigned int n)
{
unsigned int f=n;

while(n---2)
f*=n;
return f;
}

Main thing I wanted to convey in this code is the while loop, which uses the unusual "--" & "-" operator pair.

It works similar to this loop:

for(f=n;n>=2;n--)
f=f*n;

Not a great piece of code, but I found it to be a little interesting. Hence the post.

Sunday, September 21, 2008

Reviews - A Wednesday and Rock On!!

I never thought I would be writing a movie review in my blog. But after watching these two movies, Rock On!! and A Wednesday, (particularly the latter) I can't refrain myself from commenting on them. They are so good that you would regret if you don't watch them.

Rock On


Rock On!! is all about a music band called Magik. Four men with a common aim join their hands together to realize their dreams. But, being amiss on a small issue, they depart. How they reunite and how one can lose his felicity is the gist of the story. It reflects everyone's life because of its flash-backs which push everyone to his vernal days.

A wednesday


A wednesday, on the other side, is completely different. No hero, no heroine and no songs. Not a typical bollywood movie at all. However, it catches attention right from first scene to the last with its tight storyline and outstanding acting by every single artist. Naseeruddin Shah steals the show with his natural performance. This terrorism-based story revolves around Naseeruddin Shah, who calls Anupam Kher (police officer) with specific demands. It's a small movie (by bollywood standards, with only a runtime of around 95 minutes) but with a big impact. It reflects the minds of the Indians and despises the corrupted Indian administration system.

I don't want to spoil your interest by telling more about these movies. On a scale of 5, I would provide a rating of 3.5 to Rock On!! and 4.5 to A wednesday.