SSD’s are becoming very common. They’re not big as big as spindle drives yet (not cost effectively atleast). This makes watching the hard drive usage more important.

Back to the days of analyzing disk usage and removing the unwanted files.

There’s a few tools I use

  • ccleaner – very good tool, I run it pretty regularly
  • windirstat – tool to analyze disk usage

If you take a look, you’ll see that the c:\windows\installer folder is exceptionally large. A quick web search shows mixed results, with two contradicting results (both from Microsoft – one from MSDN, and the other from TechNet).

The TechNet article claims that you can not delete the files in that folder “flatly: No” with no convincing explanation. I didn’t buy it.

The MSDN article is a little better, it even has a script that you can use to determine which files can be deleted.

I wrote a small tool that moves the unwanted files over to a backup folder.

My suggestion would be to run the tool and keep the “backup_#” folder it creates around for a while (just in case you run into some problems later), or maybe move it off your SSD and onto a storage media.

You can download the tool here.

Usage: CleanUnusedInstallers.exe !
(running it without the ‘!’ will cause it to run in TraceOnly mode, and it will not make any changes to your files)


I heard this problem on a TV show, where Girl_A asks Girl_B this question. Girl_A was threatened by Girl_B and wanted to ask her a ‘tough’ question to make her look bad (it worked, Girl_B wasn’t able to answer it) I found this odd because while watching the show, I had the answer in my head almost instantly.

A few weeks back a friend was visiting me, and on a long (boring) road trip, just for the heck of it, I decided to ask my friend the same question. Here goes:

“I take a string, and wrap it around the earth at the equator. Then, once I’ve done that, I add one meter to the string. What will be the gap between the surface of the earth and the string?” I then promoted the assumption that for simplicity, assume the earth is a sphere.

You’re right! the answer is 0.15 meters. Unfortunately, my friend did not reach the same conclusion. I then tried to explain how to get to that answer, but was unable to do so. She was just not able to comprehend that this value (0.15) is independent of the radius of the sphere and we decided to ‘agree to disagree’.

The whole incident gave me deep insight into how some other people think and function. There’s a spatial way of thinking (something as big as the earth, how will 1 meter of anything affect it) and a factual way of thinking (what’s the formula for circumference, and how will it change if ‘r’ radius changes). I would imagine most people think about the formula, but it turns out, most people think spatially.

I knew this was the case when I wasn’t asked about the formula for circumference, but rather the radius of the earth!
 Anyway, here’s how to think about the problem and get the answer in a few seconds:

Start with understanding that wrapping a string around a sphere effectively makes it a circle (you can also get to this from the assumption/hint promoted at the end of the question). Then (if you don’t know it already –you should– the formula of circumference and transform the verbal problem and the two stages of it into mathematical equations.

c = 2πr -> (1)
c+1 = 2π(r+x) -> (2)

(1) represents the act of wrapping a string along the equator

(2) represents the the act of adding 1 (m) to the string

The hard part is done. All you need to do now is solve for x!
(1) ÷ (2)

c / (c+1) =  (2πr) / (2π(r+x))
c+1 / c = (r+x) / r
1 / c = x / r
c = r / x
2πr = r / x
x = 1 / 2π = 0.15

hence, x = 0.15 independent of radius.

Simple, right? You don’t need to know the radius of the earth (who remembers the exact value anyway?) because it doesn’t matter!

Cheers, and Happy New Year!

just got my surface rt, and touch cover. loving it so far 🙂 feels nice to have it be a tablet when I need to or a proper desktop with office other times. the touch keyboard definitely needs some getting used to though, getting better as I type this.


is this the ipad killer?

The windows command prompt – It’s a lot more powerful than you think it is. I always thought the Linux shell was awesome, but after having used the windows ‘cmd’ for a while now, I think it has pretty much everything the Linux BASH did and I don’t miss the Linux one. Oh, and there’s also powershell. Checkmate BASH.

Power shell is way too awesome to even begin talking about here. So, I won’t. I will however, talk about how I’ve customized my windows cmd prompt.

1. Get some basic tools.
Console2 and Sysinternals Suite. Console2 is a tabbed console window, and it’s pretty awesome. Open source too. Sysinternals Suite is a collection of invaluable tools. Must have.

2. Create a launcher that allows you to run a script.
This is easy, create a new shortcut with this target: cmd /K “c:\setenv.cmd”. This can be done by adding a tab to Console2, and setting that in the “Shell” textbox.

3. Define the “c:\setenv.cmd” file for you purposes.
Mine does the following:

    – Set the prompt format -> prompt $P$_$G$S (I like the entire path on one line, so it’s easy to copy and read – but you can do your own thing)
    – Load of my favorite macros -> doskey /macrofile=C:\macros
    – Set some path variables -> set PATH=%PATH% (I also included the folder where I unpacked the Sysinternals Suite)

4. Define the macrofile
This is a list of macros that you define in the file you point to above (c:\macros) and I believe this file keeps evolving over time, you add stuff as you see fit, or when you learn about something new. Very helpful.

5. Change the colors/font
I use one of these fonts, designed specifically for the console, and I honestly prefer a light text on a dark background, as it’s just so much easier on the eyes.




Hello world, from iPad!

Make M3U


This program allows you to drag and drop a folder onto it, and it will generate a playlist (m3U) file in that directory with all the .mp3, .aac, and .mp4 files in that directory. Adding more formats is really easy, so let me know what else you guys want…

Download Here (203 KB)

Wake On Lan


Wake On Lan v0.0.1

This program sends a WOL “magic packet” to the desired NIC. If everything is setup right on the target. It will boot up.

You will need the MAC address of the NIC you want to send the packet to.

Usage: wol.exe <MAC Address>

Download Here (2.4 KB)

I use fedora from time to time. Listen to music, watch some videos, try some new programs that I think are cool. My primary OS is windows though…

I just use linux when im bored with the usual windows 7 and want to try something different.

It’s refreshing, i like how clean it is and i often continue to use it for a few days before I go back to windows, and that really makes me appreciate it more 😉

anyway, so there are a few things that i find annoying about linux. i feel like its another vista. they ask for the root password for every small change. i find it annoying.

the two most common ones are:

1. changing the CPU scaling policy. when my laptop is plugged in, i’d rather it use all the CPU it can get. to change this i need the root password. annoying.

2. mounting a NTFS drive. i have all my music on the NTFS drive i keep for windows, to mount it, it needs the root password.

luckily its easy to fix it 🙂

Here’s how:

The directory contains the policy files for the above actions, you can edit it them to reflect the changes.


for 1, and 2 above you will need to edit the files ‘org.gnome.cpufreqselector.policy’ and ‘org.freedesktop.udisks.policy’

scroll down to find this part and change the <allow_active> tag from ‘auth_admin_keep’ to ‘yes’


HTC Tattoo


Posting this from the WordPress client for my phone.

Used this phone for about 2 weeks now and I love it! While buying it, I was on the fence between this and the HTC Touch2, but I’m glad I picked this over the window mobile.

HTC isn’t too popular yet, but I have no doubt that HTC is the next big thing. They are getting it right… let’s see if I’m right 😉 I should review this post in a year or two.

Apart from this, just a week left at home. Dreading the next few months. Oh well, here we go again 🙂



Songbird 1.2.0

Songbird 1.2.0

i downloaded and gave songbird a try today, i had done this earlier on my old computer, back the UI was slick. it was black, and looked like a really cool music player. that was actually why i tried it. back then, i had a pretty crappy computer and i thought the performance was bad. the player takes to long to load, switching songs is slow and it felt very sluggish. i attributed it to having an old computer, was sort of un happy because its just a music player, why does it need the latest hardware… anyway, gave up on it back then.

i just uninstalled it for the second time. from my new Thinkpad T400. for the very same reasons. Let me tell you what i like about the player. the interface and maybe the farting bird mascot… hehe..
but all that at the cost of waiting for my player to come up just isnt worth it. not on a pretty new computer. i will surely try songbird again. i just hope they make some real improvements in terms of performance. i guess, its one of those pitfalls of using java. the UI has changed a lot, but is still pretty awesome.

until next time.

i’ve gone 64bit


Extra 64bit

i have just completed a dual boot setup on my t400. fedora core 11 x64 and windows 7 pro rtm x64. I got my hands on windows 7 through msdn. i managed to install it today after i got home after the test i had been preparing for – the past few days. it went fine. thank you. 🙂

windows 7.

since i didnt have a blank dvd to write the iso on i decided to boot from my usb stick and install it off that. The install went smoothly. i had vista32 and fedora installed before i decided to switch to 7 – and the install was simple. it cleaned up my program files (obviously because i wasnt gonna need anything form there) and ditched the vista “windows” folder and renamed it to windows.old (you can delete this if you want to) i didnt have to format or anything, i just pointed the install to the vista drive it said its gonna clean it up, and thats exactly what it did. +1 microsoft. i like this. apart from that… to me.. the install is identical to windows vista (i think they changed the background image) hehe.. once installed, i obviously lost grub, so i had to pop in the fc 11 dvd and recover that. thats it. dualbot. win7 and FCXI 😀 both 64 bit. yay!

pretty much everything on my t400 worked right from the beginning, i like lenovo’s battery manager so i installed a beta version of that for 7, that’s it. i dont think i installed any other drivers. Everything is setup and running fine now. ill use windows 7 for a few days before i go and make some wild claims about it.


Thinkpad T400



Thinkpad T400

august 26 2009

i got my thinkpad t400 today!

2.2 ghz dual core

4gb mem

250gb hdd

14″ xga+ screen with a built in webcam


6 cell batt


i love this computer. yay!

just got it running FC XI x64

cant wait for win7 😀


food as a grad student is something you will not believe until you experience it. you’ll eat pretty much anything as long as it looks like its eatable and as long as it cooks fast. that’s if ur  home… if you’re out of the house and you remember that its lunch time and if u can manage to squeeze some time between classes.. yes you might have a decent (expensive) lunch.

i feel homesick already. and i miss indian food. chicken tikka to be precise.

hello from atlanta


so, im here at Georgia Institute of Tech!

go jackets!

I seem to have a lot of time on my hands off late (more on that some other day) 😉 So while I was browsing a random shop I came across the good ‘ol Academy Hobby Model Kits. I remember making a few of these models when I was younger. Feels great to be doing this again.

Tirpitz - Click to see Hi-Res Image

I really enjoyed making this one. It even has a motor in it, and moves in the water. Maybe ill post pics once I muster up the courage to put all that hard work into the water.

Awesome photo above taken by my brother!




Welcome to my Blog. I hope you have a good time reading it.

Here I’m just gonna talk about things that interest me. It could range from (including but not limited to) my life, my hobbies, my work, or anything else I feel like writing about 😀