Pages

Disable unused windows services

There are lot of windows services that unnecessarily load on start-up and consume resources. You can find more info about such services here. Disabling these or turning them to manual mode instead of automatic may greatly improve performance and boot speed. I am doing it right now. Thought of sharing with all.

Go Green

Maybe you and I can afford to waste, but our country and planet cannot afford to do so. Please Don't waste Food and Energy.

Here is the getting started guide:
  • Please turn off the computer monitor whenever not in use
  • Switch Off work PC when leaving for the day
  • Opt out of paper statement options for banking and other billing statements
  • Take prints only when absolutely necessary
  • Check the emission of your vehicle
  • Control the temptation to use the plastic bags, try to reuse the same ones
None of these points are very difficult to implement. It just needs to get into your habits.

PS: I know there's nothing new in this post. Just consider it as a reminder and tally yourself how many points you actually follow.

New hotmail on chrome

All new hotmail is even more annoying on chrome. Earlier (Sep/2008) I blogged about hotmail having some trouble when opened on chrome. Then about some issues with new hotmail in general (Oct/2008).  Hotmail has been improving (or simply changing) since then. But looks like these improvements (???) have made it complete disaster on chrome. Links are not working. I can't even reply or delete. And I guess it's not only me.

Closing cmd window after executing bat file

Just a small post you may find useful if you are as annoyed as I was of a command window left open after execution of a bat file.

I had to call an exe with some options. So I wrote a bat for it. But after executing the bat file, it always kept a command window open until I explicitly close it or the executed program finishes. Actually the command window remains open till the control is returned from the exe to bat again. Point to be noted is EXIT doesn't help in this case as it's call is also deferred until control is returned back.

eg.

start-netbeans.bat
netbeans --jdkhome d:\dev\jdk

putty-to-server.bat
d:\programs\putty -pw password username@ip-addrs

Use start before the command so your bat calls the exe and continues its execution i.e. doesn't wait for the exe to complete the execution

start netbeans --jdkhome d:\dev\jdk

start d:\programs\putty -pw password username@ip-addrs

You can use pause command for "Press any key to continue . . ."

The Pen

My friend calls me on my cell and wants me to note down a number. Du-uh I manage to get a piece of paper but where the hell is the pen. I search here and there and finally I end up saving that number on my cell while I put my friend on speaker. To hit the last nail, I press the end button when call is over, and Whoa.. the number is erased from the screen. The point here is not how I lost that number, the point is where do all the pens go? This phenomenon of losing pen when its required most is not limited to my home but happens every now and then at my workplace too.

No matter how safely i keep it (the pen) at some place, it is either lost or stolen. There is a big black-hole that swallows every pen that comes it's way. Strangely this AI-enabled black-hole leaves those pen that can no longer work, largely because of exhausted refill ink. In fact, sometimes the same stolen pen is also found after some days. I think the black-hole spits it out when my need is over.

At my desk, sometimes I find a pen that I neither bought nor borrowed from some one. Anyways, I use it and then one fine day that is also gone. If my black-hole theory is not correct then there is certainly a mafia involvement behind the lost and found of pens.

Recently I bought a pen and could hardly use it before it was gone (from home) and atleast 3 pens were missing from my desk when i came back from vaccation (at my workplace). So thought of sharing my grief with you guys

Installed ubuntu

Finally I am up with the Ubuntu on my vaio notebook. I was totally fed up of vista, which was sucking up the memory with its beast like processes. It was so sluggish that it was getting harder and harder to bear with. I am still keeping the copy of vista on my notebook as its the licensed version and Sony didn't ship any CD for it, just the recovery partition. Although i have made the recovery DVDs, but these DVDs will just copy the OS to machine (something different than installing) and will wipe off any partitions (and hence the data) that is written on other partitions. OEM sucks!!!

Anyways, the installation has not been particularly smooth. I had to install linux twice because once the system was booted from the recovery partition. damn, it removed the linux partition. Then i went on to modify the GRUB's menu.lst to hide the vista's recovery partition from the boot menu. WARNING: if you are installing linux and have vista's recovery partition, the boot loader may show two Vista/Longhorn OS under 'Other Operating Systems'. In such case, first boot in linux, edit the /boot/grub/menu.lst and comment out entry for the OS thats is poiting to recovery partition. (You will probably have to google a bit about GRUB)

Thank God, I had already copied all my data to another laptop (through network). Will have to copy that back. Well that was expected, and windows had warned me about it. But my point is they should keep a provision for keeping other drives intact. Now its all done, and am bit relaxed.

I am a complete linux newbie, and i hardly know anything about this OS. Am gearing up myself to use it now on for my development works. Ubuntu looks very user-friendly and is quick. But there are many things for which i may have to turn back to vista for a while.

I am happy :) as am posting this blog using ubuntu. Will post more about the same very soon.