Books I read..

  • The Alchemist
  • Many Lives, Many Masters
  • The Monk Who Sold His Ferrari
  • 2 States
  • The 3 Mistakes of My Life

Saturday, August 30, 2008

Excerpts from Intuition is the best guide

We usually have a purpose for the life we have selected. Such purpose is general, such as teaching, healing, inspiring, creating, and so forth. Our life purpose attracts to us other spirits who want to share that purpose but do not necessarily desire to do so in a physical body. We then select a group of souls to help us along the way. Often we make our choices based on the fact that we know these spirits already from other physical lifetimes on earth (or elsewhere). We trust these beings and they trust us. Sometimes we include souls who have a particular expertise that we believe will be especially helpful to us or because we just want to try something new while on earth.
By C L Talmadge,TOI

Tuesday, August 5, 2008

Dont Quit

This is something I read whenever I feel the need to get motivated from my childhood days...
I vaguely remember getting this poem on a piece of paper as a compliment from a book store, then I stuck the same on one of the wardrobes , and would read it whenevr feeling the need for it....

Don't Quit

When things go wrong, as they sometimes will
When the road you're trudging seems all uphill
When the funds are low and the debts are high
And you want to smile, but you have to sigh
When care is pressing you down a bit
Rest if you must, but don't you quit.

Life is queer with its twists and turns
As every one of us sometimes learns
And many a fellow turns about
When he might have won, had he stuck it out.
Don't give up though the pace seems slow
You may succeed with another blow.

Often the goal is nearer than
It seems to a faint and faltering man;
Often the struggler has given up
When he might have captured the victor's cup;
And he learned too late when the night came down
How close he was to the golden crown.

Success is failure turned inside out
The silver tint of the clouds of doubt
And you never can tell how close you are
It may be near when it seems afar;
So stick to the fight when you're hardest hit
It's when things seem worst that you mustn't quit.

Friday, August 1, 2008

Understanding COM Interop

.NET is a great platform for developing applications and many pieces of code that took lots of effort to write, is now made much simpler. As much as all of us would like to adopt .NET immediately, many organizations cannot. Lots of investment has been made developing applications using technologies like COM and these code bases cannot be junked overnight. Also, .NET may not be suitable for all types of projects. There are still some applications that are best left to low-level languages.

Given this need for organizations to preserve existing code, one of the important goals of .NET during its development was to promote interoperability with existing technologies. .NET interoperability comes into three flavors:
Interoperability of .NET code with COM components (called as COM interop)
Interoperability of COM components with .NET (called .NET interop)
Interoperability of .NET code with Win32 DLLs (called P/Invoke)
Each of these models have different requirements and best practices and this article we will discuss about COM interop. More specifically, we will see how to write a COM component and then invoke it from .NET. We will also see some best practices for developing well behaved COM interop solutions.
One important thing to understand is that components written in .NET are managed whereas components written using COM are unmanaged. Therefore, the first challenge to overcome is, to bridge these two models. Each model has its own way of memory allocation, object lifetime management and parameter passing convention that to bridge these two models require the usage of an intermediary that handles all these differences. Having an intermediary is important because we do not want applications writing this code for each application that wants to interop with COM components. The .NET developers were aware of this and thus gave an intermediary called as the Runtime Callable Wrapper (RCW).....
http://www32.brinkster.com/srisamp/netArticles/article_16.htm

NewJersey and NewYork

Oh sun comes so early in New Jersey, its just 5:30am.....can anyone plz block the sun from peeping through my window is what I wish , and finally after the sun has tried long enough, I wake up at 7;make some tea(the red label tea I got from Indian store) with the milk in the can thats a week old, no boiling required for this one;thats the best part of some of these foods here, no human intervention is required except for eating.Then, I rush to get ready and reach the path station by 9, to see an approaching train to WTC.....though not very crowded but most of the times no vacant seat available, so stand in the train sometimes looking at people and their expression deprived faces and sometimes glancing out of the train for the approaching station, I wonder how these people manage to put such blank faces. Indians are known for their intelligence and adaptability, most of the Indians mock or rather adapt to the place by listening to music on their ipods or pretending to read some book... I noticed that they dont even turn a leaf of their book.oops thats my station, exchange place, rest continued.....