Wednesday, December 25, 2013

Review: Palace of Illusions

I have always been a big fan of reading novels, mostly fictions, though these days I am more into the science non fictions like the code book, the man who knew infinity, outliers, innumeracy etc. However, I have always had a fascination with the fiction novels as they paint a world with around me with words which makes me forget the real world for a while. So, after I heard so much about the book "The palace of illusions" which was also recommended to me by many people including my sister and friends, I thought of giving that book a chance afterall.

The main reason of picking up this book was that people highly recommended it as a must-read. I had expected this book to be the narration of the story of Mahabharata, the one that most of us have read or seen on TV, but from the perspective of Draupadi, one of the main characters of this epic without whom there would have been no war. I expected this book to paint me a picture of what her heart felt, I wanted to feel the anger, the agony, the shame, the betrayal and all that she felt when going through different phases of her life. However, in my opinion, this book fell short of it.

The book starts with the story of unexpected birth of princess Draupadi from the fires of the prayer along with her brother Dhrishtadhumna for whom actually the prayers were offered. She was the one who would "change the course of history". The book started with Draupadi as a princess growing in the confinements of her father's palace waiting to make a change. The book then shapes Draupadi as a girl who against everyone's wishes gets education same as her brother for quiet some time. She wants to b a hero - she wants a different heroic name, a big palace, great jewels and exquisite sarees. She then talks to Vyasa who gives her three warnings about her future, which if she remembered, she could have avoided all the troubles in future. However she didn't take them seriously. She rebels when unnecessary but conforms when she needs to rebel. 

In the chapter called cosmology, she says that she would teach her sons to be survivors and that battles were unnecessary and there were other ways for glory which implies that she too doesn't believe in battles to resolve issues or as a way to take revenge. However, when she is humiliated in Duryodhana's court, she too declares a war to avenge from all who did wrong to her. So in my opinion, opposite to my expectations, Draupadi has been portrayed as an ordinary woman. There is that one guy in her life whom she wants but could not marry, Karna. Then there is her obsession with her palace "The palace of illusions", its gardens, what saree and jewellery to wear on what occasion, her bickering with Kunti (mother-in-law), her attempts to have more control over her husbands than Kunti, her jealousy from her husband's other wives, throwing tantrums daily etc. 

A large chunk of the book is only describing her obsession with her palace, its gardens and flowers, water and mirrors etc and what she is thinking of each time she looks at them. Then there is description of her attire for each occasion and reasons of choosing that saree/jewellery and what other thinks when they see her on each occasion, which in my opinion, seems kind of unnecessary. 

Then there are a few major parts of the book where Draupadi, who calls herself a rebel, is shown as a helpless woman and at mercy of men in her life. First, she gets married to Arjun after the swayamvar and Kunti asks the five brothers to divide equally among themselves, she doesn't speak up but expects Arjun to stand up for her against his mother saying this is unacceptable. Then in Duryodhana's court when she was humiliated, she first expects Karna, then grandfather Bheeshma and then the other men in the court to stand up for her. She even thinks that falling at Karna's feet might have helped her in this situation but she was too proud to do that. Here my point is that she doesn't even attempt to speak up or fight for herself and yet, at the end of the book, she calls herself a rebel.

However, there have been a few portions of the book which I really liked. When Shikhandi says to Draupadi when they meet for the first time "Remember that, little sister: wait for a man to avenge your honor, and you'll wait forever", when Krishna says to Draupadi "A problem becomes a problem only if you believe it to be so. And often others see as you see yourself". When she is asked to stay with each husband for one year, she doesn't argue but detests the fact that she is being passed among the five brothers one by one like a communal drink without as much having a choice. When she is given a boon of restored virginity each year, she says that the boon is for the benefit of her husbands and not hers. She would rather have a boon of forgetting so that when she went to each brother, she would be free of the memories of the previous one. Another impressive part of the book was when she was being humiliated in Duryodhan's court, she is not affected by the 'shame' when she was being disrobed. she thinks "Let them stare at my nakedness. Why should I care. They and not I should be ashamed of shattering the bounds of decency"

So the number of the impressive portions in book where she is portrayed as a strong woman are few. Most of the book shows her to be petty, materialistic, jealous, selfish, proud, self centered, dependent, obsessive and nagging, in other words, very ordinary. So the portrayal of her character which started as a strong independent woman went down to a submissive victim by end of the book which was much below what I expected from this book.

Thursday, December 19, 2013

Being a girl


Sometimes I wonder about how r girls being brought up or treated among family and friends. I, being the elder kid of my family have done almost everything one can expect a male child to do starting from going to market, banks, post office, depositing school fees and what not but its not the same with everyone. 


I should say I have been lucky that I was never treated as the 'weaker sex' in my family but was taught not to be dependent on anyone. But I have friends who rarely went out alone. I have friends whose parents won't trust them enough to send them in a school bus b'coz there are boys. Hence they would drop them to school everyday in a car. I have friends who never really enjoyed street food b'coz they were not allowed to step out of the car on the streets. I know people who wouldn't let their wife out of house very often coz she is 'too pretty'.

I have stayed out of house for more than 7 years and have seen enough around me to write it today that there is something majorly wrong with the way we think. If a guy cries, we say "Y r u crying? R u a girl?" Since when did crying or being a girl become an insult or a bad thing. A girl turns 23 and her parents will start looking for a match b'coz she is their "responsibility". Most of the times we let go of thing when a guy teases, stares or comments at us b'coz after all "Boys will be boys". A girl is being raped or punished to "teach her a lesson". I don't feel safe on the streets even during the daytime. I know that a guy is intentionally falling on me in a non-crowded bus and I am being advised to ignore it b'coz "Yahaan ye sab chalta rehta hai" ...

Its just not about me but many similar incidents that I have heard from many of my friends. Some oppose, others don't. But not opposing doesnot justify the wrong that happened. Its time to teach guys from their childhood that girls are not to be objectified but respected and to teach a girl that she doesn't need a guy to protect her or complete her.

Saturday, November 16, 2013

Simulation of nodes on TOSSIM


I have already written a post on how to simulate a TOSSIM program on MSPSim silulator. However, the issue is that when I tried simulating MicaZ platform on it, it won't work so I thought of going back to the simulator already present in TOSSIM which I could not get to work. It kept throwing error saying "Python.h not found" and a few other python related errors. Few sites suggested to install python but I already had python on my system and yet could not get things to work.

So I began searching for a way to make it work and following are the steps which removed my error:

I am assuming that TOSSIM is already installed on your system. If not, please install it first by following the steps available on many sites. 

Open the .bashrc file by typing the following on terminal 
$ sudo gedit ~/.bashrc

Add the following line at the end of .bashrc file:
export PYTHONPATH=$TOSROOT/support/sdk/python


Close the current terminal and Open a new one and you should be able to see message like setting up TinyOS from tinyos-2.x.sh file.

Few sites said once this is done we are ready to install example application on Sensor mote. However I had to the following extra step as I still kept getting error saying 

fatal error: Python.h: No such file or directory

Python.h is nothing but a header file. It is used by gcc to build applications. You need to install a package called python-dev. This package includes header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python in applications. To install this package, enter:

$ sudo apt-get install python-dev
OR

$ apt-get install python-dev
Now we can simulate our program/application on TOSSIM.

1. Change directory to application directory and make for micaz (for TinyOS2.x, TOSSIM provide simulation of MICAz motes only).

$ cd /opt/tinyos-2.x/apps/RadioCountToLeds
$ make micaz sim


2. On successful completion it will create TOSSIM library and you will get message on console something like.

*** Successfully built micaz TOSSIM library.

3. Now open python interpreter and type following code to create a mote (node) and boot it up.

$ python
>>> from TOSSIM import *
// Imports the TOSSIM library.
>>> t = Tossim([])
// Creates a TOSSIM object.
>>> m = t.getNode(32)
// getNode will return the object represented by specific mote (ID as 32).
>>> m.bootAtTime(45654)
// node will boot at time 45654.
>>> t.runNextEvent()
// After the statement for booting. We have an event to run so this command will run that event and boot up the mote.



Hope this helps!


Picture courtesy: Google

Friday, November 8, 2013

Simulating telosb on TOSSIM

Today when I started to simulate the blink program on tossim 2.x after following a tutorial which gives description on how to write programs for tossim on Eclipse, I was stuck on the part where instructions were given to install the program on actual hardware to see the output. As I had just started with TOSSIM and didn't have a mote hardware, my hunt for a simulator for telosb started.

I have already installed Eclipse Juno and then installed Yeti2 sdk for TinyOs platform. Following are the steps on how to simulate the program on telosb using MSPSim Simulator:

MSPSim is a Java-based simulator of the MSP430 microcontroller. After dowloading the last version of MSPSIM from here, unzip it and place the folder in any location. I placed it in /opt. You can rename the folder to MSPSim for convenience. Now go to the folder /opt/MSPSim. Now mspsim can be installed by entering the command:
make
in the MSPSim folder. Now create the jar package of MSPSim with the command:
make jar
Then a mspsim.jar is created in the directory. For simplicity, you may want to create an alias to MSPSim:
alias mspsim="java -jar PATH_TO_MSPSIM/mspsim.jar"
After that, MSPSim can be lauched with the command mspsim

Simulating the Blink application:

We show in this section how to use MSPSIm on the Blink application. First we need to compile the application for the TelosB mote which uses the MSP430microcontroller with the command:
make telosb
Since MSPSim can open ELF file we have to rename the program file:
mv build/telosb/main.exe build/telosb/main.elf
Then we can run MSPSim:
java -jar /opt/MSPSim/mspsim.jar build/telosb/main.elf
Five windows of MSPSim should open, in one of then you should see a picture of the mote with the LED blinking at different frequency. In the terminal you should obtain a MSPSim prompt:
Flash got reset!
MSPSim>Autoloading script: PATH_TO_MSPSIM/scripts/autorun.sc
-----------------------------------------------
MSPSim 0.97 starting firmware: main.elf
-----------------------------------------------
MSPSim>

This is how simulation of a program on telosb can be done when you don't have the mote hardware.

Thursday, October 3, 2013

Change delay of link NS2


Let us say, we have two nodes called $node3 and $node4. To get your link, use
set myLink [[$ns link $n(0) $n(1)] link]
Note that this is not just the link, it is the link_ within the Link (manual page 68 http://www.isi.edu/nsnam/ns/doc/ns_doc.pdf or html version http://www.isi.edu/nsnam/ns/doc/node63.html). This is the part that manages the link delay. In order to change the link delay, use
$myLink set delay_ 1ms
This part can be found in ns-2.35/tcl/lib/ns-link.tcl


Wednesday, October 2, 2013

How I prepared for GATE

Though it has been more than 2 years for me since I appeared for GATE(2011), I still get many questions from my friends or acquaintances about how I prepared for the exam.  I am probably not the best person to talk about my "success story" because I prepared while working. Hence I could not dedicate much time for thorough preparation.

Due to these reasons, I could not score much and ended up with AIR 1196 in GATE 2011 in CSE branch. However I got interview call from IISc and got admission there. The interview experience is a different story which I discussed in a previous entry. (Link to it is provided at the end of this entry).

My preparation for GATE started with buying second hand Gate Forum study material and enrolling for TarGATE, a test series again by GateForum. However, due to work pressure and deadlines, I could hardly study for GATE on weekdays. Thus, for me, enrolling for test series was one of the best decision that I took for GATE preparation as these weekly/bi-weekly tests gave me a reason to atleast open some books on Saturday (3 hrs test on Sunday morning).

Also, we used to get the answer keys immediately after the test so we could calculate our scores and detailed solution was uploaded online on the day the test results were out. The analysis of results used to be on many parameters including overall performance, subject-wise performance etc. This allowed me to better understand my weak and strong points/subjects.

Also, after the detailed solution was out, I would go through them in detail and would attempt the paper again after a few days to see if my understanding of the topic/subject improved. Hence I would suggest everyone to join some test series, not necessarily TarGate.

Also as I already said, I did not have enough time to go through all the subjects in details so I took a chance by doing selective studying by concentrating more on the subjects which generally have more weightage. The other thing that I realized was accuracy was more important than the number of questions being attempted. Even in the main exam, I attempted only around 46 or 47 questions out of 65 but got 44 of them correct thus securing 99.12 %ile.

So to sum up, I would make the following suggestions:
        1) Enroll for some test series
        2) Distribute your time/effort for each subject as per their weightage
        3) Concentrate on accuracy rather than the no. of attempts.

Link to my POST GATE Experience: http://words-of-the-fallen-angel.blogspot.in/2013/03/my-2011-gatepost-gate-experience.html

Image courtesy: Google

Thursday, September 5, 2013

Plotting graphs in NS2


For graph designing their are many tools in NS2 like xgraph, trace graph, gnuplot etc and in windows environment there is a good graph plotter called sigmaplot. They can be easily downloaded from internet. 
 
For NS2 on Linux, Gnu plot is good and easy. I would recommend you to use gnuplotif using Linux as it is more flexible than tracegraph and xgraph.
 
Fig: Sample Xgraph plot
STEPS for use and design for gnuplot:
 
1. If you are using NS2 on Linux system then GNUPLOT will be there by default. If not available, you can directly install it from ubuntu software center. Alternatively you can download it from
http://sourceforge.net/project/showfiles.php?group_id=2055 
you will need .tar.gz for linux and .zip for windows. 
 
2. Refer to the following links for installation steps:
         http://homepage.mac.com/marco_coisson/gnuplotGUI/getting_gnuplot.html

         http://www.sarcheck.com/gnuplot/billh.htm
 
         http://www.duke.edu/~hpgavin/gnuplot.html   (GNUPLOT TUTORIAL)
 
 
3. After confirming installation, update the environment variable in bash file.
 
4.Following files will be related with your work
    a. Graph.p       (code file for gnuplot)
    b. Graph.tr      (trace file from which gnuplot will take readings for plotting a graph-- you have to take your readings from your code. First column is always X-axis and second column is Y-axis and son on )
    c. Graph.eps     (actual graph image file --can be generated after running the graph.p file --. It is eps file extension. You can only open in linux . If windows you can open it through IRFAN VIEW software  otherwise ADOBE ILLUSTRATOR can also open this file on windows)
 
5. Now put the graph.p file in the folder where your graph.tr file (yours) is available and from terminal window go to that destination and just write GNUPLOT on terminal window you will get GNUPLOT> .
 
6. Please also check the trace file path in Graph.p file. It is necessary to provide file path there in code file.
 
7. Just write GNUPLOT> load "graph.p"
 
8. and you will have a graph. 
 
" Congratulations on your having a graph successfully"
 
9. you can exit from gnuplot through EXIT command.
 
10.For remaining commands for Graph plottiong, you have to explore its tutorial, mailing list for ns2 (I recommend you to join the mailing list of linux.
   Following links can give you much information you need. 
 
     http://t16web.lanl.gov/Kawano/gnuplot/index-e.html
 
     http://www.gnuplot.info/
 
============== SAMPLE FILE FOR GRAPH.P ==============
 
set title "XYZ"
set xlabel "SEC(Seconds) "
set ylabel "BW"
set xrange [0:1300]
set yrange [0:110]
#set multiplot
#set size 0.5, 0.5
#set origin 0.0, 0.5
 

set grid
set boxwidth 20
#plot "/home/XYZ/ns-allinone-2.33/ns-2.33/mygrid/graph/abc.tr"  using 1:2 with lines lt 1 lw 2 title 'My Work'
plot "/home/XYZ/ns-allinone-2.33/ns-2.33/mygrid/graph/abc.tr" using 1:2 title 'Previous Work' with linespoints , \
   "/home/XYZ/ns-allinone-2.33/ns-2.33/mygrid/graph/abc.tr" using 3:4 title 'My Work' with linespoints

   
#set tmargin 0
#set bmargin 0
   
set term post eps enhan "Helvetica" 60   
set out "combine-curve-time.eps"
#set nomultiplot
First row represents X axis and second row represents Y axis ====================================== TRACE FILE format ===================== 10 9 30 12 50 27 70 28 90 33 110 39 130 43 150 44 170 48 190 52 210 57 320 58 330 60 370 65 450 66 470 68 490 75 530 79 550 81 1280 100 ================================= Hope this helps.

Monday, August 5, 2013

NS2 energy analysis awk script

Hi All,

Awk programming is very easy to learn and simple to apply. Awk in NS2 takes the trace file for analysis. $1, $2, $3 etc are used to access column values from the trace file.

Generally an awk program will have a structure as shown below:

BEGIN {<initialization>}
<pattern 1> {<actions>}
<pattern 2> {<actions>}
.
.
.
<pattern N> {<actions>}
END {<final actions>}

Execution of AWK script:
        awk -f filename.awk tracefile.tr

Given below is the code for energy analysis using awk script.


BEGIN {
        seqno = -1;
        start_time = 0;

      }

{
action = $1;
time = $2;
node_id = $3;
layer = $4;
flags = $5;
seqno = $6;
type = $7;
size = $8;
a = $9;
b = $10;
c = $11;
d = $12;
energy = $14;

if(seqno < $6 && node_id == "_4_" && (action == "r" || action == "s")) {
        seqno = $6;
        remaining_energy = energy;
        start_time = time;
        printf("%f\t%f\n",start_time,remaining_energy);
      }
}

END {
}

Thursday, August 1, 2013

Set different initial energy for nodes in ns2

The following script can be used to initialize different nodes with different energy levels. You can also create an array of nodes and initialize different nodes at different energy levels inside a loop if you want.

# set initial energy for first node
$ns node-config -initialEnergy 50
set node_(0) [$ns node]

# set initial energy for second node
$ns node-config -initialEnergy 100

set node_(1) [$ns node]



# set initial energy for third node

$ns node-config -initialEnergy 70
set node_(2) [$ns node]


and so on for the other nodes.

Wednesday, May 8, 2013

NS2 simulator : common fixes Part 1

As I am trying to learn NS2 using the online tutorials, most examples given online are using older versions of NS. I am using NS 2.35 in which many syntax and/or file locations have changed. So I am finding my way out to figure how to fix those common errors popping up when trying those demos.

Will keep updating the page as I keep learning ... :)


Prob 1On running the multicasting example ex-mcast.tcl on nile.wpi.edu/NS/ it first gave a warning saying:


" Warning dst_ is no longer being supported in NS. dst_ 0xffffffff 
Use dst_addr_ and dst_port_ instead "

Fix: 

step 1: Replace "set mrthandle [$ns mrtproto DM {}] #DM = dense mode" with
             set mproto DM
             set mrthandle [$ns mrtproto $mproto {}]

step 2: Create groups for multicasting by adding the following after the above 2 lines:
            set group1 [Node allocaddr]
            set group2 [Node allocaddr]

step 3: Replace dest_ with dest_addr_ and replace the hexadecimal addresses with the group names you want the node to belong to. eg.
            $udp0 set dst_addr_ $group1
            $udp2 set dst_addr_ $group2

Prob 2: invalid command name "Mac/Csma/Cd" or "Mac/Csma/Ca"

Fix: Replace Mac/Csma/Cd or Mac/Csma/Ca with Mac/802_3

Prob 3: Segmentation fault when trying to use "namtrace-all-wireless"

Fix: In your script you have to change ifq value Queue/DropTail/PriQueue by CMUPriQueue

Sunday, April 21, 2013

The "Ravanayana" ... What if Ravan won???

What if Ravan had won instead of Ram?
What do you people think of it? I think it would have been altogether a different story ...

" Once upon a time, long long ago .. in the Treta yuha lived the noble, just and benevolent king Ravana of Lanka. A devout follower of Lord Shiva, he possessed immense knowledge of vedas and upanishads and was the author of Ravana Samhita - an astrological scripture narrated by Lord Shiva. Ravanayana is the story about his war with bad people and his ultimate victory.




Ram and Lakshman, the princes of Ayodhya were admonished and sent to exile in forest for their misdeeds by their father King Dasaratha. Ram's wife Sita ,a pretty,coy lady feared the repercurssions of living alone in Ayodhya and decided to be with her husband during the exile,she believed the wild forest to be safer than living as a single woman in a repressive society with three royal mother-in-laws.

One day during their exile in forest,Minakshi,the beautiful and much adored sister of King Ravana saw Ram. She was bewitched by his handsome looks and fell for him. Minakshi went upto Ram and expressed her feelings of desire for him. Ram and Laskhaman were shocked at the courage of this woman,back home in Ayodhya no woman would have had the guts to propose a man.They would remain in their ghoongats and would have had only fleeting glances at their bridegrooms before wedding. Without hiding his disgust Lakshman retorted to Minakshi "O you filthy woman,how dare you speak like this.Women should not behave so.See our Sita here,she is a role model of how a woman should be.You are a demon".






Minakshi replied back "O you misogynist,which law of your land forbids women to express their feelings.If a man had done this you would have termed him as a courageous romantic and if a woman does it, she is a demon?.Being a Sita,who does not speak against the men in her household however unjust they are is not how a woman should be". For the first time in their lives the princes of Ayodhya heard a woman speak up against a man. An aghast Lakshman drew his sword and sliced the nose of the unarmed Minakshi.

The news of this demeaning act of attacking an unarmed person,that too a woman, travelled far and wide. The learned sages and the wise rishis wondered how a warrior prince right under the nose of a future king could do this. They were stunned by the ruthlessness and irrational behavior. When the mighty Ravana came to know what had befallen his loving sister,he was enraged and vengeance filled his heart. He rushed in his pushpaka vimana to the place where these two chauvinistic princes were living. To his utter dismay he could not find them in their hut,but he found sita. Though hesitant Ravana knew that to know the value of a woman,the princes of Ayodhya should lose a woman they loved and respected. Ravana imprisoned Sita and took her with him to Lanka.


Ram and Lakshman found that Sita had been abducted.How will they face the world now? How can they ever go back to Ayodhya without her?

The world will chastise their ability and manhood for not being able to safeguard a woman. Their masculine egos would be thrashed and their legacy relegated to oblivion. The princes decided to find out Sita,they started their travel towards south.

Meanwhile in Lanka, Sita was put in a ladies community center  There she was mocked and ridiculed by the lankan women. They could not imagine someone so coy and so dependent,and without any ability to rebel or speakup against men. Her misery was compounded when she came to know about the beautiful and intellectual Mandodari, Ravana's wife. People compared Sita's beauty to Mandodari but when they stuck a conversation with her,they scorned her intelligence or rather the lack of it.


On the other side luck favored Ram and Lakshman,they befriended Sugriva,the leader of a dark,strong and muscular race of beings from the south. Sugriva's story,of being exiled for betraying his brother,stuck a chord with Ram and Lakshman. Ram decides to help Sugriva defeat his brother and in return use Sugriva's army to find Sita. As decided Ram killed from hiding Sugriva's brother Vali during their duel. This heinous act of killing another warrior from hiding sent shockwaves across the divine world.There were arguments and debates to discuss which one of the brothers' act was more vile,whether it was Lakshman's act of hurting an unarmed woman or Ram's.




With the help of Sugriva's army and his commander-in-chief Hanuman, Ram was able to find that Sita was imprisoned in the island of Lanka. He decided to build a bridge to cross over to Lanka. Ignoring the pleas of the sea god about the effect of a man made bridge on the ecology of the ocean and detrimental effects to sea life, Ram decided to go ahead. Sugriva's strong and powerful army worked day in and day out and built the bridge to Lanka.

As soon as Ram and Sugriva's army landed in Lanka,the mighty war started.The valor of Sugriva's army was showcased by brave warriors like Hanuman, Jambavan and Angadh,they gave a run to the Ravana's organized army with their guerilla attacks. With the defection of Vibishana, Ravana's brother, during a crucial time of the war,Ram looked like having the upper hand. But the might of Ravana was not easy to overcome,his relentless attacks coordinated by his son,the invincible Indrajit and his brother the mighty Kumbakarna was too much to handle for Sugriva's army.




With sugriva's army wiped out,Ravana entered the battle,he captured both Ram and Lakshman as prisoners of war and admonished them to a life in lanka's prison. As they were being taken to the prison Ram was amazed to see the beauty of Lanka. The well laid streets,the content citizens,the wealth and economic strength of the kingdom left Ram awestruck. From Vibishana, Ram learnt more about the laws of the land and how prosperous a kingdom Lanka is.

Bharata, Ayodhya's king-in-charge,came to know about the fate of his brothers. He sent a special peace mission to Lanka and negotiated for the release of his loved family.He was ready to offer his life as a barter for his brothers'. Touched by this gesture,the noble Ravana ordered for the release of Ram,Lakshman and Sita.


As they were about to abode the vimana to Ayodhya,Ram spoke to Sita, "Dear Sita,my beloved.I love you and trust you more than myself.But with you living in Ravana's abode for so long I as well as our society has every reason to suspect your piety and faithfulness. So I would prefer you to walk through fire to prove that you are the purest". By now, a visibly changed Sita contested this,"Dear Ram, my lord, my ruler.I see your request to be rightful and just. At the same time,during my absence I do know you have lived in the forests and also enjoyed the luxuries of Sugriva's kingdom for a few days.Hence I request you to join with me for walking thru the fire. Let the world know we are the purest".




Taken aback by this Ram decided not to keep the test of fire for Sita, they flew back to Ayodhya and Ram's rule started. Every input he had obtained from Vibishana on Lankan goverance was used efficiently and till today Ram's rule is considered as the golden rule of india....better known as Ram Rajya.

All was well... ;) 



Image source : google

Thursday, March 21, 2013

My 2011 GATE/Post-GATE experience

After getting a lots of requests to share my experience post GATE-2011, I thought I should rather pen down all that I remember about the same. The queries have been mostly from the ones interested to know about MS program in IISc Bangalore or about the written/interview experience here.

So to start with, following is my GATE result:

AIR: 1196
Marks: (will update after checking)
Score : 664
Branch: CSE
Category: General

After GATE, when I checked my score with the answer key published by gate forum, I was standing somewhere around 53-54 but I actually got between 51-52. As per the stats of gate'10 I was expecting my rank to be between 500-600 but when I actually got a rank of 1196, I lost all my hope of getting through that year.

Still, encouraged by a few friends and college seniors, I applied to a few colleges including IITs and IISc. The following are the calls that I got along with the date on which I received the interview call letter:

1) M.Tech from SERC, IISc Bangalore(07/04/11)
2) M.S. from SERC, IISc Bangalore(17/05/11)
3) M.S. from IIT Madras(04/04/11)
4) M.Tech from IIT Madras in second list. (25/06/11)

However as I had already converted my seat in M.S. degree in IISc Bangalore, I didn't go for M.Tech written/interviews in IIT Madras.

My Experience With IISc

M.Tech: My first experience with IISc was for M.Tech in April'2011. Here we had to clear the written test on clearing which we could appear for the interviews on the same or next day. However, the written test was more of mathematical with lots of formula based questions and some basic maths questions from class 11/12. However as I had lost touch with books after GATE results and also due to my job, I could  not fare well in the written and could not clear it.

Hence a piece of advice from my end.. don't lose touch with your books after the results are out. If not this year, it will help you prepare for your next year.

M.S. : It was June and this time I was all determined that I would study properly and prepare for atleast 3-4 subjects but that finally didn't work out as planned due to work on weekdays and me getting a bit lazy on weekends. I finally ended up brushing the concepts of DBMS and computer networks.

On reaching the venue, we were asked to appear for a 30 min written test which comprised of 5 questions, each with part (a) and (b). It covered topics like data structures, algorithms, networks & matrix theory. The best part here was that the questions were more on analytic side rather than formula based questions.

Luckily this time I had cleared the written and was the first one to go for interview in that day's slot. I was asked what subjects I had prepared for. I told them DBMS & comp networks. However I was told that there was no intakes in DBMS lab so had to change my second subject to Data Structures & I had not touched that subject after GATE exam. The interview went on for around 45-50 minutes in which except 2 questions which were from CN, rest everything was asked from DS mainly concentrating on trees and graph theory. The whole interview went on with questions being fired by professors sitting in a panel of 5 and I had to continuously do board work and keep on explaining the stuffs.

The best part about the MS interview was that the questions being asked was more conceptual rather than direct formula based stuffs so if you are familiar with the basics of the subject, it would be easier for you to crack the interview. Also I was not able to question 1-2 questions properly but don't worry much about that. They are more concerned here with the approach you use when analyzing something new rather than at the accuracy of each question.

The next thing is that I was somehow mentally prepared that I have to appear for gate'12 so I was very relaxed during the written and interviews which helped me recall the known stuffs. So would advice you all to keep your calm when appearing for written/interviews for any college.

Hope this helps!!
Feel free to ask further in case u need more help!!

ALL THE BEST!!! :)

Link to my entry "How I prepared for GATE": http://words-of-the-fallen-angel.blogspot.com/2013/10/how-i-prepared-for-gate.html

Note: Please keep in mind that with rank around 500 or more, the chances of getting into core branch is less but chances of getting written/interview call from interdisciplinary branches are there.

Monday, March 11, 2013

My First Experience With Shooting


I have never been much of a shooter and have always been very bad with games that need to aim at stuffs. Shooting with a rifle at a bunch of multicolored balloons, pinned to a dirty white cloth three feet away at crowded Durga Puja fairs in home town has been the extent of my exposure to the trigger and the target (and I was bad even at that).

A few days back when I saw a deal for Nishaan Sports Shooting Academy, Bangalore offering 30 Rounds of Starter Air Rifle Shooting worth Rs 200 @ Rs 90 instead, it caught my interest and attention. After seeing that the online reviews for the place was good, I, along with a friend bought the deal from timesdeal and headed towards our destination on a sunny Sunday afternoon. Through out the 1.5 hrs that we had to spend in the bus to reach BTM Layout, 2nd stage, I kept on cursing the sun, the pollution and the traffic.

 I find myself in a narrow corridor painted a fluorescent green, shocking enough to do serious damage to your existence, even before you think of guns and ammo. One of the corridor walls displays framed posters with motivational text – “Perfection is Our Goal” and “Knock the ‘T’ off the Can’t”. I can see the corridor end a few feet away and possibly leading into some sort of a lobby or a hall, but I hear no voices. I wait for a few seconds to see if I would hear gun shots, but the only sound that reaches my ears is that of the ever-angry Bangalore traffic bustling on the road below.

On reaching inside, I see a girl shooting at her target with an imported rifle and an instructor standing aside. Just nearby is the counter where we showed him the coupons we bought online and pay him Rs 180(for the two of us). Knowing my history with aims and targets, I am yet not sure if this is really good idea for me but finally I also decide to take a chance just for fun.

After I complete some formalities of entering my name in a register and pay attention to the instructor as he explains what I was getting myself into. He tells me that the range is designed for 10 meters Air Rifles and Air Pistol and as a first-timer I would be shooting with the Rifle. The Pistol is harder to master and it will be some time before I will be comfortable with it. He then appears from the booth carrying a small box and sheets of paper with targets printed on them. He explains that I have thirty shots and opens the box to reveal thirty tiny pellets stored inside.

The targets are square in shape, made of thick paper around six inches each side with concentric circles neatly printed on them. Hitting the outermost circle gets you a single point which increases as you go towards the center with the two innermost circles fetching you ten points. Circles 7-10 are painted black and the instructor indicates that is where I will end up shooting all the time, if I practice regularly for a couple of weeks. 

The instructor illustrates the rather simple procedure of loading the pellet into the rifle and taking aim and I proceed to replicate it. I can see that I will not be wearing those cool headphone looking things or the transparent glasses which I have noticed shooters wearing, but there isn't time to fret over that as I am handed the rifle and asked to take my first shot. He then explains that to take aim I must first align the tiny marker at the head of the rifle to the target, then align that marker to a D shaped viewing panel right above the trigger. After the target is locked in view, he tells me to forget about it and focus only on the trigger and the press it in one smooth motion without any jerk or change in pressure.


We take position, the rifle butt pushing against the top right corner of my chest, my feet parallel to the target. I follow instructions and take aim and a deep breath, then hold it for a while trying to make the rifle stable and fix my eyes at the target. And then I let my finger go. It would have been a beautiful moment had everything gone as per plan. Instead, by the time I press the trigger, I can feel my hands and the rifle shaking like Shakira bringing on the World Cup and instead of a neat swoosh, the imaginary sound triggered by my moving finger is more like ‘thuk thataak’.

My first pellet lands somewhere outside the largest circle instead the center of the paper which I am actually targeting. Then the second pellet lands somewhere in circle 7 and the 3rd one hits the wall. The same thing keeps repeating for some 2-3 more shots. The instructor can see I am getting nowhere and so once in a while takes the rifle from my hands, again gives me instructions to properly stand and aim, tells me to correct my line of sight and keeps offering words of encouragement.

Then around the 8th or 9th time, I finally get a hit i.e. in the black circle so I get somewhat happy and encouraged to continue. By that time, my friend who came along somehow got the physics of the stuff wrong so hardly 2-3 of his pellets hit the paper n rest went to the wall. Somehow seeing myself better than him at making my shots on the paper atleast also was a source of encouragement for me(Sorry dude!).

After wasting around 9-10 of his shots, he finally figured out the right way to aim and shoot and ended up hitting the paper some 15 times out of which around 4 times he breached the black circles. However I have never been good at these stuffs but somehow I end up with around 20 out of 30 pellets piercing through the page out of which 4 times I breached the black circle and one was at the border separating the black circles from the white ones.


Finally after shooting for around 30-40 minutes, we were sweaty and tired. So we thank the instructor for the nice experience and walk out with our target sheets. Thought I would love to try it again but knowing my history with these stuffs, I have to think about it again!! ;)