Thursday, November 11, 2010

The Power of Actions

One day, when I was a freshman in high school, I saw a kid from my class walking home from school. His name was Kyle. It looked like he was carrying all of his books. I thought to myself, "Why would anyone bring home all his books on a Friday? He must really be a nerd." I had quite a weekend planned (parties and a football game with my friend the following afternoon), so I shrugged my shoulders and went on.

As I was walking, I saw a bunch of kids running toward him. They ran at him, knocking all his books out of his arms and tripping him so he landed in the dirt. His glasses went flying, and I saw them land in the grass about ten feet from him. He looked up and I saw this terrible sadness in his eyes.

My heart went out to him. So, I jogged over to him, and as he crawled around looking for his glasses, I saw a tear in his eye.

I handed him his glasses and said, "Those guys are jerks. They really should get lives."

He looked at me and said, "Hey, thanks!" There was a big smile on his face. It was one of those smiles that showed real gratitude. I helped him pick up his books, and asked him where he lived. It turned out he lived near me, so I asked him why I had never seen him before. He said he had gone to private school before coming to this school.

I would have never hung out with a private school kid before. We talked all the way home, and I carried his books. He turned out to be a pretty cool kid. I asked him if he wanted to play football on Saturday with me and my friends. He said yes. We hung all weekend and the more I got to know Kyle, the more I liked him. And my friends thought the same of him. Monday morning came, and there was Kyle with the huge stack of books again. I stopped him and said, "Damn boy, you are gonna really build some serious muscles with this pile of books everyday!". He just laughed and handed me half the books. Over the next four years, Kyle and I became best friends.

When we were seniors, we began to think about college. Kyle decided on Georgetown, and I was going to Duke. I knew that we would always be friends, that the miles would never be a problem. He was going to be a doctor, and I was going for business on a football scholarship. Kyle was valedictorian of our class.

I teased him all the time about being a nerd. He had to prepare a speech for graduation. I was so glad it wasn't me having to get up there and speak.

Graduation day arrived - I saw Kyle and he looked great. He was one of those guys that really found himself during high school. He filled out and actually looked good in glasses. He had more dates than me and all the girls loved him!

Boy, sometimes I was jealous. Today was one of those days. I could see that he was nervous about his speech. So, I smacked him on the back and said, "Hey, big guy, you'll be great!"

He looked at me with one of those looks (the really grateful one) and smiled. "Thanks," he said. As he started his speech, he cleared his throat, and began. "Graduation is a time to thank those who helped you make it through those tough years. Your parents, your teachers, your siblings, maybe a coach... but mostly your friends. I am here to tell all of you that being a friend to someone is the best gift you can give them. I am going to tell you a story."

I stared at my friend in disbelief as he told the story of the first day we met. He had planned to kill himself over the weekend. He talked of how he had cleaned out his locker so his Mom wouldn't have to do it later and was carrying his stuff home. He looked hard at me and gave me a little smile. "Thankfully, I was saved. My friend saved me from doing the unspeakable."

I heard the gasp go through the crowd as this handsome, popular boy told us all about his weakest moment. I saw his Mom and dad looking at me and smiling that same grateful smile. Not until that moment did I realize its depth.

Never underestimate the power of your actions. With one small gesture you can change a person's life. For better or for worse. God puts us all in each other's lives to impact one another in some way. Look for God in others.

"Friends are angels who lift us to our feet when our wings have trouble remembering how to fly."

Thursday, April 22, 2010

http://www.nsnam.org/wiki/index.php/Ns-3.7 is the wiki page for ns3.7 version which I am using.
http://www.nsnam.org/docs/manual.html is the link for the manual which is different from tutorial.

I am not giving the link for the tutorial although make sure that you follow the correct tutorial that is the one which corresponds to the version you are having.

1)
  • Q. Is there a way to dereference a Ptr when in gdb?
  • A. yes: p *ptr->m_ptr
2)

The boxes in the documentation have the following meaning:

  • A filled gray box represents the struct or class for which the graph is generated.
  • A box with a black border denotes a documented struct or class.
  • A box with a grey border denotes an undocumented struct or class.
  • A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
The arrows have the following meaning:
  • A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • A dark green arrow is used for protected inheritance.
  • A dark red arrow is used for private inheritance.
  • A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.

Saturday, May 9, 2009

Ns2- for absolute beginners...(coz i m a beginner too..)

it is basically a network simulator,(ns) version 2... i am using right now 2.33.Ns-2 is written in C++ and an Object oriented version of Tcl called OTcl.
U can have it for both linux and windows platform.Although the software originally is suitable for linux platforms only.
Mainly the packages one has to install are or better just take the all in one package(assuming you are a beginner)
· Tcl |
· Tk |
· Otcl | support programs
· Tclcl |
· Ns2
· Nam--- visual views of the result
· Tracegraph (for Windows), or Xgraph (for Unix) --- obtain statistics.


Some useful sites you can use are--
[1] The Network Simulator - ns-2, http://www.isi.edu/nsnam/ns/
[2] The Network Simulator: Building Ns, http://www.isi.edu/nsnam/ns/ns-build.html
[3]Ns Manual, http://www.isi.edu/nsnam/ns/ns-documentation.html
[4]Tutorial for the Network Simulator “ns”(the one which I would suggest),
http://www.isi.edu/nsnam/ns/tutorial/index.html

first download the source from--

http://sourceforge.net/project/showfiles.php?group_id=149743&package_id=169689&release

decompress it . run ./install.. set appropriate paths as shown in the read-me...then ./validate.this usually completes the process.(validation can take quite a long time n may show warnings but its ok)
For trouble shooting, read ns problems page
http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive
for related posts.



Hope it works for you.. in case any problem feel free to ask....:)

Friday, May 8, 2009

3 more....

i dunno y i m writing today. its just that i have nothing else to do and being alone in the lab i have no one to talk too... so i guess the time should better be spent scribbling something here...
ok so lemme think.. o yah this word reminds me of one of my friends who suggested me one day when i was bored someday to give yourself some time to think..i strongly feel that he was very right. really when you have some spare time jsut THINK about something.. think something related to your life may be your friends live or your family members.. leave it thoughts dont need to be so specific...just think about anything.. just lie down stay calm and think about the first thing you can think [;)]...
coming back to the topic (i diverted a bit thanks to thinking...) ... majors over today and finally 2 years of college life over... had lots of good and bad times.. well i dont want to admit but most of the times bad times...but yeah some really good times too...[:)]...neways .... dunno y but i really feel that life is on a fast track now...no time to think basically... i donno how but days seem to pass faster now.. may be the standard of a second needs to changed..

today is one of the very few days when one would have really nothing to do..although this may seem contradictory viewing the 2.5 months long summer vacation ahead. but it really is true... even at home the time seems to pass so fast..2 years of life here over... (neglecting the summers of course).... but still have 3 more years....

kat jayenge wo b dekhte dekhte.!.!.!.!.!.!.

Wednesday, January 14, 2009

The First One..

finally i have created a blog for me.sorry i dont intend to write this blog for anyone.I suppose no one is reading this EXCEPT me..
and now after all those games movies surfing chatting i have now got one more interest. I shall now write just how much i want. No boundaries no one to bother.nothing
Only me n perhaps YOU-- the lousy reader...:)
Since this is my first post so it should not go waste writing nething.I should make this more fruitful.
How about sharing the experience of choosing my blog's name.!!!!
First of all my name is Abhishek Sagar.I knew this being a common name it would be impossible to register this name for me. I tried abhisheksagar though.and as I was hoping somebody else had registered it.And then I started searching for possible names. Whatever sensible name I could think of was already registered.Utterly frustrated by the numbers of bloggers persent I then started thinking of some heavy words from dictionary.I succeded in finding some of the unregistered sensible names but still I was not satisfied somewhere.Finding a blog of your name is better I thought.So I thought may be I should not be writing these blogs. Afterall who ever reads it except for the writer!!![;)]
But when this thought occured I actually thought of giving one last lousy attempt. As in the meantime thought for "abhishek-sagar" had occured to me.
I gave it a try n finally i got my registered name. the one i wanted. the one with no nonsense words.the one with no heavy words(at least for me).
And so i was here writing my blog.

Enough long to be the first one I suppose..;)

Hail O'Traveller Hail