Sukhbir Singh

One Day, I Am Gonna Grow Wings, A Chemical Reaction. Hysterical And Useless . . .

Archive for January 2007

Republic Day

with 8 comments

Republic Day congratulations to all my fellow countrymen.

May the following things be banned in India – in the true spirit of being of an Indian.

1. Congress and BJP (Political Parties) – Congress for the anti – Sikh riots in 1984, in which innocents Sikhs were massacred in many parts of the country. People like Jagdish Tytler and Kamal Nath were responsible inspite of that, they were introduced in the Cabinet. The Nanavati Commission took 20 years almost to submit its reports. This happens only in India.

BJP for the 2002 Gujarat riots. Innocent Muslims were killed throughout Gujarat. And yet Narendra Modi escapes, fights the elections again and wins. Pathetic. Had it been some other country, such a person would have been brought to justice immediately, his role in the riots was clear cut. Yet he continues to be the Chief Minister. Rightly said, sometimes in a democracy all the fools are on the same side of the majority.

The surprising part? In both the cases, the police actually helped in propagating the riots. This speaks volumes about the police force in our country.

See the videos of either the anti – Sikh riots or the Gujarat riots. Then you will realize how insane some people can be. You won’t weep, you will cry out loud.

2. Television - Ekta Kapoor and her stupid shows in which according to her she shows the empowerment of women. Right. 6 to 7 marriages of the same lady and this is called empowerment. The only thing she is bringing out to the audiences is – that she is lousy. Her concepts are pathetic. The audience? I am really surprised how people see these shows. I even heard that some of my friends watch them. How sick can someone get I mean?

Big Boss. It sucks so much that I won’t even talk about it. Stupid show. Stupid people.

3. Religion Based Politics – Any party that uses religion as its base should be banned and the leaders be sent to a maximum security prison – they are like terrorists. Seriously.

4. Cellular Companies – Of course its not feasible to ban them but the way they loot customers its really pathetic. Misleading consumers by calling a 64 Kbps connection as BROADBAND.
Our country can do a lot better if people stop this caste crap and religion bullshit.  Jai Hind.

Written by Sukhbir

January 26, 2007 at 2:16 pm

Posted in India

Reducing Firefox Memory Usage

with 7 comments

Mozilla Firefox is slowly becoming the de facto web browser – making people finally realize that IE is pathetic. On a personal level, almost all of my sane friends use Firefox (thanks to me!) . This post deals with the memory leak problem in Firefox (what a memory leak is; explained further)

Programmers are familiar with the term memory leak. For others, memory leak is un-intentional memory consumption by the program wherein it fails to release memory no longer needed. Think of it like this – whenever you run a software, a specific amount of memory is allocated to it. Since we are dealing with Firefox, let us concentrate on that. When you open Firefox assuming an empty page, it takes up some amount of memory to load the interface. Next, supposing you open Gmail. The memory consumption increases (cause of Gmail). After that you sign out of Gmail and once again return to an empty page. If Firefox is still consuming the same amount of memory it was when Gmail was open – this is a memory leak. Gmail is no longer loaded but Firefox has failed to release the memory it allocated. This way the leaked-out memory keeps on increasing and hence slows down your computer if you have less RAM. (Programmers: memory leak does not mean that the memory is physically lost, it means that the program logic can’t access the memory due to faulty code)

“To check how much memory Firefox is using:”

Right click on the Taskbar and choose Task Manager. Now choose the Processes tab. Look for firefox.exe And note down the memory usage.

Typically, if you have no open windows or tabs (a blank page; which can also be brought about by typing about:blank in the address bar), Firefox should not consume more than 50 MB of memory. Anything more than this and means memory has already leaked out. (just a sentence!) Time for action.

1. The easiest solution is to restart Firefox. This will bring the memory back to a level it should actually consume.

2. Many a times, the themes and extensions cause a memory problems. The way to check this is to start Firefox in safe mode. To do this, go to Start > Run. Enter:

firefox -safe-mode

Press Enter. This starts Firefox in safe mode. Now check the memory usage after using it for sometime. If memory allocated decreases dramatically, means that the themes or the extensions are causing problems. Using the default theme or updating that extension might help.

3. Clearing the Firefox cache might help. To do this, press Ctrl + Shift + Del in succession.

4. Another method to cure the memory leak problem. Click here. (For advanced users only)

The ironical thing is that the Mozilla guys have done nothing to resolve this issue. For most people the easiest way out is method number one. Restarting Firefox.

Advanced people who know how to mess around with about:config, check the link in point 4.

Firefox rocks. Except the memory problem and loosing bookmarks! :D

Written by Sukhbir

January 25, 2007 at 6:07 pm