Tuesday, December 15, 2009

Think of Your Problems as Potential Teachers


Most people would agree that one of the greatest sources of stress in our lives is our problems. To a certain degree this is true. A more accurate assessment, however, is that the amount of stress we feel has more to do with how we relate to our problems than it does with the problems themselves. In other words, how much of a problem do we make our problems?


Problems come in many shapes, sizes, and degrees of seriousness, but all have one thing in common: They present us with something that we wish were different. The more we struggle with our problems and the more we want them to go away, the worse they seem and the more stress they cause us.

Ironically, and luckily, the opposite is also true. When we accept our problems as an inevitable part of life, when we look at them as potential teachers, it's as if a weight has been lifted off our shoulders.

Think of a problem that you have struggled with for quite some time. How have you dealt with this problem up until now? If you're like most, you've probably struggled with it, mentally rehearsed it, analyzed it again and again, but have come up short. Where has this entire struggle led you? Probably it has led to even more confusion and stress.

Now think of the same problem in a new way. Rather than trying to push away the problem and resist it, try to embrace it. Ask yourself what valuable lesson(s) this problem might be able to teach you. Problems can teach us to depend on Krishna more & more!

Friday, December 11, 2009

Convert restlessness into intensity

Convert restlessness into intensity


WHETHER we lead or we follow, in order to be fulfilled in whatever we do, we need to be intense. Intensity is not an emotion. When you are intense, one part of it may be emotional. Intensity should become a quality in you. If you are talking let intensity be there. In your relationships, in your decisions, in your memory, in your thinking, in your desires, even in your fears, be intense without escaping from this moment.

Intensity does not depend on the nature of the work or action. It can be as complex as running a billion dollar company or as simple as cleaning the floor. It is not the ‘what’ but the ‘how’ that is important. Intensity means radiating the energy that does not create any conflict inside and outside. Intensity is intensely being inside you. Intensity flows smoothly and yet strongly. We always believe that if anything flows smoothly like a river, it will not have intensity, and if something is intense like a stone it will not be flowing freely. No. Intensity is like a flood, which is intense and flowing.

Some people intensely create conflict every moment! Anything you tell them to do, they will be ready to create a conflict. Real intensity does not create conflicts. It is flowing but intense.

Usually we feel a terrible restlessness towards the outer world. We do not know what is happening. We do not know what should be done, but there is a deep dissatisfaction about what is there in the inner space; this restlessness should become intensity.

The father of Yoga, Patanjali, says: ‘Success is nearest to those whose efforts are sincere and intense.’ A river does not need a navigator or signboards to reach the ocean. It reaches its destination without any help. When your whole energy moves in one direction as a whole you can move easily. When you are intense and ready to flow you will achieve your goal.

Usually intensity leads to a solid feeling. We may be intense but we may have lost the ability to flow, because we are driven by ego. We are determined to achieve what we want but we have our own rigid ideas about how to get there. We fail to understand that Existence can make events happen in a much more beautiful and effective way than we can plan.

Take up something and follow it with full intensity. Intensity does not mean acting rigidly without scope for updating or change. Only when you are open to change you can make your way like the river flowing intensely towards the ocean. Intensity is integration. Intensity is focus. Intensity is sincerity.

Hare Krishna :-)

Thursday, November 5, 2009

INFORMATION - India Government site detail...!!!

Hello All,

Kindly save it ......India Government site detail…
For all legal affairs…Why? How?

This section provides you with information and useful links to avail various Citizen Services being provided by the Central & State/UT Governments in India . The list, however, is not exhaustive, as we are committed to adding more and more information about other services for which citizens and other stakeholders need to interact with the Government. Keep visiting this section for new updates !!
Obtain:
Birth Certificate <http://www.india.gov.in/howdo/howdoi.php?service=1>
Caste Certificate <http://www.india.gov.in/howdo/howdoi.php?service=4>
Tribe Certificate <http://www.india.gov.in/howdo/otherservice_details.php?service=8>
Domicile Certificate <http://www.india.gov.in/howdo/howdoi.php?service=5>
Driving License <http://www.india.gov.in/howdo/howdoi.php?service=6>
Marriage Certificate <http://www.india.gov.in/howdo/howdoi.php?service=3>
Death Certificate <http://www.india.gov.in/howdo/howdoi.php?service=2>
Search More - How do I <http://www.india.gov.in/howdo/advancedsearch.php>
Apply for:
PAN Card <http://www.india.gov.in/howdo/otherservice_details.php?service=15>
TAN Card <http://www.india.gov.in/howdo/otherservice_details.php?service=3>
Ration Card <http://www.india.gov.in/howdo/howdoi.php?service=7>
Passport <http://www.india.gov.in/howdo/otherservice_details.php?service=2>
Inclusion of name in the Electoral Rolls <http://www.india.gov.in/howdo/howdoi.php?service=10>
Search More - How do I <http://www.india.gov.in/howdo/advancedsearch.php>
Register:
Land/Property <http://www.india.gov.in/howdo/howdoi.php?service=9>
Vehicle <http://www.india.gov.in/howdo/howdoi.php?service=13>
With State Employment Exchange <http://www.india.gov.in/howdo/howdoi.php?service=12>
As Employer <http://www.india.gov.in/howdo/otherservice_details.php?service=17>
Company <http://www.india.gov.in/howdo/otherservice_details.php?service=19>
.IN Domain <http://www.india.gov.in/howdo/otherservice_details.php?service=18>
GOV.IN Domain <http://www.india.gov.in/howdo/otherservice_details.php?service=25>
Search More - How do I <http://www.india.gov.in/howdo/advancedsearch.php>
Check/Track:
Waiting list status for Central Government Housing <http://www.india.gov.in/howdo/otherservice_details.php?service=9>
Status of Stolen Vehicles <http://www.india.gov.in/howdo/otherservice_details.php?service=1>
Land Records <http://www.india.gov.in/landrecords/index.php>
Causelist of Indian Courts <http://www.india.gov.in/howdo/otherservice_details.php?service=7>
Court Judgements (JUDIS ) <http://www.india.gov.in/howdo/otherservice_details.php?service=24>
Daily Court Orders/Case Status <http://www.india.gov.in/howdo/otherservice_details.php?service=21>
Acts of Indian Parliament <http://www.india.gov.in/howdo/otherservice_details.php?service=13>
Exam Results <http://www.india.gov.in/howdo/otherservice_details.php?service=16>
Speed Post Status <http://www.india.gov.in/howdo/otherservice_details.php?service=10>
Agricultural Market Prices Online <http://www.india.gov.in/howdo/otherservice_details.php?service=6>
Search More - How do I <http://www.india.gov.in/howdo/advancedsearch.php>
Book/File/Lodge:
Train Tickets Online <http://www.india.gov.in/howdo/otherservice_details.php?service=5>
Air Tickets Online <http://www.india.gov.in/howdo/otherservice_details.php?service=4>
Income Tax Returns <http://www.india.gov.in/howdo/otherservice_details.php?service=12>
Complaint with Central Vigilance Commission (CVC) <http://www.india.gov.in/howdo/otherservice_details.php?service=14>
Search More - How do I <http://www.india.gov.in/howdo/advancedsearch.php>
Contribute to:
Prime Minister's Relief Fund <http://www.india.gov.in/howdo/otherservice_details.php?service=11>
Search More - How do I <http://www.india.gov.in/howdo/advancedsearch.php>
Others:
Send Letters Electronically <http://www.india.gov.in/howdo/otherservice_details.php?service=20>
Search More - How do I <http://www.india.gov.in/howdo/advancedsearch.php>
Search for Available Services
Select from the menu to know the available Services contributed by Central Government Ministries/Departme nts, State Government, UT.
Central: [Select Central \/]
[RichText]
State: [ Select State \/]
[ Search State ]
dvance Search <http://www.india.gov.in/howdo/advancedsearch.php>
Recently Added Online Services
Tamil Nadu: Online application of marriage certificate for persons having registered their marriages <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2691>
Tamil Nadu: Online District wise soil Details of Tamil Nadu <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2693>
Tamil Nadu: View Water shed Atlas of Tamil Nadu <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2694>
Tamil Nadu: E-Pension District Treasury Tirunelveli <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2695>
Meghalaya: Search Electoral Roll Online by Name (2008) <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2697>
Meghalaya: Search Electoral Roll Online by EPIC number (2008) <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2698>
Meghalaya: Search Electoral Roll Online by House number (2008) <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2699>
Meghalaya: Search Electoral Roll Online by Part number (2008) <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2700>
Himachal Pradesh: Revised Pay and Arrears Calculator-Fifth Pay <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2702>
Andhra Pradesh: Online Motor Driving School Information <http://www.india.gov.in/howdo/onlineservice_detail.php?service=2705>
External website for A.P.Transport Online Services <http://210.212.213.83/cfstonline/MDS/OnlineMdsRegistrationForm.aspx>


Citizens <http://www.india.gov.in/citizen.php>
Business (External website that opens in a new window) <http://business.gov.in/>
Overseas <http://www.india.gov.in/overseas.php>
Government <http://www.india.gov.in/govt.php>
Know India <http://www.india.gov.in/knowindia.php>
Sectors <http://www.india.gov.in/sector.php>
Directories <http://www.india.gov.in/directories.php>
Documents <http://www.india.gov.in/documents.php>
Forms <http://www.india.gov.in/forms/forms.php>
Acts <http://www.india.gov.in/govt/acts.php>
Rules <http://www.india.gov.in/govt/rules.php>
Schemes <http://www.india.gov.in/govt/schemes.php>
Tenders <http://www.india.gov.in/tenders.php>
Accessibility Statement <http://www.india.gov.in/accessibilitystatement.php>
Now the TN State board books are online in PDF and downloadable.
From Std 1 to Std 12. All subjects...
http://www.textbooksonline.tn.nic.in/ <http://www.textbooksonline.tn.nic.in/>
YOU WILL ALSO GET THE FOLLOWING in MULTI LANGUAGES:
* Std. 12 <http://www.textbooksonline.tn.nic.in/Std12.htm>
* Std. 11 <http://www.textbooksonline.tn.nic.in/Std11.htm>
* Std. 10 <http://www.textbooksonline.tn.nic.in/Std10.htm>
* Std. 9 <http://www.textbooksonline.tn.nic.in/Std9.htm>
* Std. 8 <http://www.textbooksonline.tn.nic.in/Std8.htm>
* Std. 7 <http://www.textbooksonline.tn.nic.in/Std7.htm>
* Std. 6 <http://www.textbooksonline.tn.nic.in/Std6.htm>
* Std. 5 <http://www.textbooksonline.tn.nic.in/Std5.htm>
* Std. 4 <http://www.textbooksonline.tn.nic.in/Std4.htm>
* Std. 3 <http://www.textbooksonline.tn.nic.in/Std3.htm>
* Std. 2 <http://www.textbooksonline.tn.nic.in/Std2.htm>
* Std. 1 <http://www.textbooksonline.tn.nic.in/Std1.htm>
* Question Papers of Std. <http://www.tn.gov.in/dge/question_bank.htm> 10 &
Std. 12 <http://www.tn.gov.in/dge/question_bank.htm>



Tuesday, October 20, 2009

How to get the table name from one of it's column name?

If you know the column name, but not the table name in a particular data base, then how to get the column name?

select * from sys.all_columns where name like 'ColumnNam%' , can give U the list of matching columns, but how to map that to the corresponding table?

Thursday, October 8, 2009

Beauty beyond your mind !!!

A Sufi Master, Junnaid used to pay his gratitude to God five times a day.
At one time, he and his followers were wandering through some villages where Sufism was not accepted as a religion.
In the first village, people accused them of begging, and threw meager alms at them.
The next day, the people refused to give them any alms.
On the third day, the village they passed through was so hostile that the villagers drove them out with sticks and stones.
That night as usual, Junnaid knelt down and offered his gratitude to God.
His disciples were watching him. It was too much for them. They could not understand why Junnaid was thanking God. They were furious.
They cried out, “Master! For three days we have gone without food! Today we were even driven out of that village like dogs! Is this what you are offering your gratitude for?”
Junnaid looked at them and said, “You talk about three days of hunger! Have you thanked God for the food you have received for thirty years? And know one thing: My gratitude is not for receiving or not receiving anything. It is simply an expression of the deep joy and love in my Being; it is a choice-less and prayerful expression, that’s all.”


When you live with overwhelming gratitude in you, you have found a space wherein nothing else is needed. It means that you have fallen into meditation. Then, you will not worry about anything else. You are on the right track. Your mind is no longer a hindrance to your growth. Your mind has disappeared. The mind cannot step in because you are brimming from your heart. There is no space for your mind. When there is no space for your mind, where will discontentment come from? Discontentment cannot come from the heart. It is purely a product of the mind.

Your mind always stands between you and Existence. It prevents you from hearing, seeing, feeling and emoting with Existence. Once you go beyond your mind and see the beauty of Existence, gratitude will become your prayer and bliss your Being! You will then enjoy liberation and permanent joy!

Tuesday, October 6, 2009

When U r true to urself, God will help in any form

One day, a scientist came to his boss and told him - Sir, I have promised to my children that I will take them to the exhibition going on in our township. So I want to leave the office at 5:30 pm.

His boss replied - OK, you are permitted to leave the office early today.

The Scientist started working. He continued his work after lunch. As usual he got involved to such an extent that he looked at his watch when he felt he was close to completion. The time was 8.30 p.m.Suddenly he remembered of the promise he had given to his children. He looked for his boss...he was not there. Having told him in the morning itself, he closed everything and left for home.

Deep within himself, he was feeling guilty for having disappointed his children.

He reached home. Children were not there.His wife alone was sitting in the hall and reading magazines. The situation was explosive, any talk would boomerang on him.

His wife asked him - Would you like to have coffee or shall I straight away serve dinner if you are hungry?

The man replied - If you would like to have coffee, I too will have but what about Children???

Wife replied- You don't know?? Your manager came at 5:15 p.m and has taken the children to the exhibition.

What had really happened was this -

The boss who granted him permission observed him working seriously at 5:00 p.m. He thought to himself, this person will not leave the work, but if he has promised his children, then they should enjoy the visit to exhibition. So he took the lead in taking them to exhibition.

The boss does not have to do it every time. But once it is done, loyalty is established.

That is why all the scientists at Thumba continued to work under their boss even though the stress was tremendous.

By the way, can you hazard a guess as to who the boss was????????

.
He was A P J Abdul Kalam.













Friday, September 18, 2009

Convey it, before its too late...

This is actually a true story that happened to Sister Mrosola (the teacher) and Mark Eklund . Though some of the details are just to add flavor, most of it is true.
I carry this with me at all times
One day a teacher asked her students to list the names of the other students in the room on two sheets of paper, leaving a space between each name. Then she told them to think of the nicest thing they could say about each of their classmates and write it down. It took the remainder of the class period to finish their assignment, and as the students left the room, each one handed in the papers. that Saturday, the teacher wrote down the name of each student on a separate sheet of paper, and listed what everyone else had said about that individual. On Monday she gave each student his or her list. Before long, the entire class was smiling. 'Really?' she heard whispered. 'I never knew that I meant anything to anyone!' and, 'I didn't know others liked me so much,' were most of the comments.
No one ever mentioned those papers in class again. She never knew if they discussed them after class or with their parents, but it didn't matter. The exercise had accomplished its purpose. The students were happy with themselves and one another. That group of students moved on.
Several years later, one of the students was killed in Vietnam and his teacher attended the funeral of that special student. She had never seen a serviceman in a military coffin before. He looked so handsome, so mature.
The funeral auditorium was packed with his friends. One by one those who loved him took a last walk by the coffin. The teacher was the last one to bless the coffin. As she stood there, one of the soldiers who acted as pallbearer came up to her. 'Were you Mark's math teacher?' he asked. She nodded: 'yes.' Then he said: 'Mark talked about you a lot.'
After the funeral, most of Mark's former classmates went together to a luncheon. Mark's mother and father were there, obviously waiting to speak with his teacher. 'We want to show you something,' his father said, taking a wallet out of his pocket 'They found this on Mark when he was killed. We thought you might recognize it.' Opening the billfold, he carefully removed two worn pieces of notebook paper that had obviously been taped, folded and refolded many times. The teacher knew without looking that the papers were the ones on which she had listed all the good things each of Mark's classmates had said about him.
'Thank you so much for doing that,' Mark's mother said. 'As you can see, Mark treasured it.' All of Mark's former classmates started to gather around. Charlie smiled rather sheepishly and said, 'I still have my list. It's in the top drawer of my desk at home.' Chuck's wife said, 'Chuck asked me to put his in our wedding album.' 'I have mine too,' Marilyn said. 'It's in my diary' .Then Vicki, another classmate, reached into her pocketbook, took out her wallet and showed her worn and frazzled list to the group. 'I carry this with me at all times,' Vicki said and without batting an eyelash, she continued: 'I think we all saved our lists'
That's when the teacher finally sat down and cried. She cried for Mark and for all his friends who would never see him again. The density of people in society is so thick that we forget that life will end one day. And we don't know when that one day will be. So please, tell the people you love and care for, that they are special and important. Tell them, before it is too late.
Remember, you reap what you sow. What you put into the lives of others comes back into your own.

Friday, September 11, 2009

Benefits of Prayer

Jaya Jagannath, Our body is like a vehicle and the sole being the driver। As only an awakened and conscious driver can drive a vehicle safely to destination, A state of surrender to devotion with true spiritual rhythmic concentration or prayer is the only wonderful experience to awaken our sole drive us till Moksha। Prayer is a spiritual understanding of Wisdom। It is the thanksgiving for all the ways GOD blesses us. It is the most natural and brilliant meditative means of nourishing and refining our soul causing it to flourish and prosper. Prayer strengthens our body and heart by expelling harmful acidic chemicals from it. Prayer keeps evil souls away, cleanses curses, erases sins, opens all doors of goodness, quicker healing of people from depression, anxiety, and even terminal illnesses. Prayer strengthens our relationships too. When we pray for those we know and love, it helps us to understand that person bit better. It allows us to be more patient and understanding in frustrating situations, and knowing that He will answer our prayers in His time makes it easier. By keeping up an acquaintance with God and of growing in the knowledge of God, prayer purifies our attitude, perception, feelings, and thoughts. There are five types and styles of prayer. Prayer can be prayer of praise, prayer of thanksgiving, prayer of confession or prayer of supplication (asking for help ), the intercessory prayer, where we ask God to care for another person or part of his creation. Four styles of prayer are devotional (scripture-based prayer ), spontaneous prayer ( that naturally flows from our hearts almost without thinking anything ), conversational prayer, prayer of action( where some people hurt or give pain to themselves to express their devotion ).Prayer is the means of communication with the heavenly GOD Father. It can not only be song alone or in group, but also can also be experienced by silent meditation and thus time just spent between an individual and the supreme GOD. May he be in any form, but praying the almighty majestic GOD raises your life values. Please make prayer an uncompromised schedule of your daily routine.
हरे कृष्ण :-)

Friday, July 3, 2009

Believing Woman !!! :-)

A woman and a man are involved in a car accident. It's a bad one. Both of their cars are demolished but amazingly neither of them is hurt. After they crawl out of their cars, the woman says, 'So, you're a man... That's interesting. I'm a woman. Wow, just look at our cars!

There's nothing left, but fortunately we are unhurt. This must be a sign from God that we should meet and be friends and live together in peace for the rest of our days.'
The man replied,' I agree with you completely. This must be a sign from God!

The woman continued, 'And look at this, here's another miracle... My car is completely demolished, but this bottle of wine didn't break. Surely God wants us to drink this wine and celebrate our good fortune.'

Then she hands the bottle to the man. The man nods his head in agreement, opens it, drinks half the bottle and then hands it back to the woman. The woman takes the bottle, immediately puts the cap back on, and hands it back to the man. The man asks, 'Aren't you having any?'

She replies, 'Nah. I think I'll just wait for the police...'

मोराल : Think twice before Believing a Woman :-) :-) :-)

Thursday, June 25, 2009

10 steps to cultivate a habit of positive thinking

The power of positive thinking is immense, the value of a positive mental attitude is priceless. It is a value everyone must have. It is the prelude to success, within and without.

To cultivate a habit of positive thinking with chains of less than perfect habits and thinking that we have picked up in the course of our lives, is an art that has to be acquired. Here are 10 tips for positive thinking and practical steps that enable positive thinking to be indelibly part of your life, that will leave living richer fuller and happier.

1. Learn. Read. Listen. Daily. To inspiring thoughts, audios, movies, battles conquered, adventures encountered, obstacles overcome. There are people who have distilled blood, sweat and tears of wisdom into books, tapes and courses. It is said that you become what you think about all day. Learn from and model. Associate yourself with people who think positively.


2. Optimism. Psychologist Martin Seligman mentions that those who are optimistic do not think like pessimists who tend to see problems as permanent, pervasive and personal. Rather than saying " I'm doomed", "Everything's finished." "I'm no good" Optimists see a way out, they confine the problem and do not take it personally. They do not indulge in catastrophic thinking. The glass if half full. There will be better days. Belief and hope is half the battle won.

3. Gratitude – whatever happens, there are worse situations. if you are breathing, be glad to be alive. If you have lost all possessions, be glad you have something to wear. There is always something to be grateful for. Gratitude unlocks beauty, calms and expands the mind. Gratitude gives joy. And has benefits beyond what you can see- physiological, mental, psychological, spiritual, and even social. Be grateful. And blessed.

4. Taking responsibility instead of blame. You will be able to take locus and control of your life again. The storms may rage around you. but you are responsible for getting out of it. You will swim out no matter what . you don't wait for the rain to stop before you move. You don't wait for the other person to react before you make the first move.

5. Not allowing negative emotions to overwhelm you. You may have been beaten sore. But there is still breath in you enough to fight another day. The world may have been unfair, but you are only going to cry in your closet for only a little while. It may be a blessings in disguise. Every experience learnt will lead more wisdom in the next, Every adversity has the seed of a greater benefit. You will be surprised sometimes things that seem adversities turn out to be opportunities in disguise



6. Persistence. Push. Beyond The Dip. Seth Godin explains that most people do not achieve what they want is because they give up before they cross The Dip. What is The Dip? It is the 10th job interview where they never even fall you back. It is the 100th time you fall on your butt while learning to snowboard. It is any rough patch you have to get through before achieving your big goal. Success is only a step away. Or maybe a few more steps. Never give up. Don't quit. Ask. And you will receive.


7. Believe- even if everything tells you otherwise. In your gut feeling. That there can be miracles. That things can be changed. Expectancy. Belief in yourself. In better days. In hope. In goodness. Trust in God to take you through.


8. Seek divine guidance. When you are overwhelmed. When bad things happen to good people like yourself. When you are stuck and find no way out. Or even before the start of an ordinary day. Og Mandino, in his book The Greatest Salesman in the World mentions: " I will pray.. in this manner: Oh Creator of all things, help me….for this day I go out into the world naked and alone, and without your hand to guide me, I will wander far from the path that leads to success and happiness. .… teach me how to hunt with words and prosper with love… Discipline me in the habit of trying and trying again.. bathe me in good habits that the bad ones may drown; yet grant me compassion for weaknesses in other. Suffer me to know that all things shall pass; yet help me count my blessings of today. Let me become all you planned for me when my seed was planted and selected by you to sprout in the vineyard of the world…"



8. Keep the big picture in mind. Distractions, pettiness, they can irritate you for the moment. Never lose sight of what you are here for and keep your eyes on your vision and goal. You can revise them now and again if you find it is not really. And if you really When you steer a ship, you look at a far point, not the waves in front of you. Search within. Follow your compass and stick to it.

9.Accepting your lot when you have to, while sticking to your dreams of better things to come. Adapting while being content in the midst of situations. Remember the serenity prayer- teach me to accept things that cannot be changed and change what you can, and knowing how to distinguish the two. There is a time for everything, and perhaps it is the time to wait and be patient. A time to reflect, change. Humility. Emptiness. Mourning. There is a time and place for this. It is refreshing time, an important time. Treasure it.


10. Bringing joy and hope in the lives of others. Adding value. Touching lives. After all, dreams for yourself, and self glory end in hollow emptiness at the end. The most meaningful moments are those when lives are touched, legacy left, personal battles won. We exist for each other. Meaningful moments often involve people- touching people, touching lives.


In short, positive thinking is more than looking at the bright side.

It is an entire lifestyle of thinking rightly, which will leave you more fulfilled, happy and satisfied than ever before.

Go for it!

Tuesday, June 23, 2009

Jump Start SilverLight 2

Today I was trying to get started with SilverLight. The necessary Installable is

1. VS 2008 with SP1

2. Silverlight Tools for Visual Studio 2008 SP1 . This can be installed from http://www.microsoft.com/downloads/details.aspx?FamilyId=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&displaylang=en

3. SilverLight Toolkit . This can downloaded from http://silverlight.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=20430

Additionally you can install

Microsoft Expression Blend 2 . This can be downloaded from http://www.microsoft.com/downloads/details.aspx?FamilyId=5FF08106-B9F4-43CD-ABAD-4CC9D9C208D7&displaylang=en

Deep Zoom Composer. This can be downloaded from http://www.microsoft.com/downloads/details.aspx?FamilyID=457B17B7-52BF-4BDA-87A3-FA8A4673F8BF&displaylang=en

Cheers!!!

Wednesday, June 17, 2009

MSBuild Vs Nant - equivalent tasks List

equivalent tasks
List

Edit
MSBuild NAnt Description Notes
ALalWraps al.exe, the assembly linker for the .NET Framework.
AspNetCompiler


AssignCulture


CopycopyCopies a file or set of files to a new file or directory.
CreateItem
Populates item lists with the items passed in. This allows items to be copied from one list to another.
CreatePropertypropertySets a property in the current project.
CsccscCompiles C# programs.
Deletedelete Deletes a file, fileset or directory.
Error failExits the current build by throwing a BuildException, optionally printing additional information.
ExecexecExecutes a system command.
FindUnderPath


GenerateApplicationManifest
Generates an assembly manifest for a Win32 or ClickOnce application from project items and properties.
GenerateDeploymentManifest
Generates a ClickOnce deploy manifest from project items and properties.
GenerateBootstrapper


GetAssemblyIdentity


GetFrameworkPath


GetFrameworkSdkPath


GetLinkedFilesFromResX


LC


MakeDirmkdirCreates a directory and any non-existent parent directory if necessary.
Message echoWrites a message to the build log.
MSBuild
Build projects in an application using MSBuild. Note that this task can process not only project files but also Visual Studio solution files.
ReadLinesFromFile


RegisterAssembly
Reads the metadata within an assembly and add the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.
RemoveDir
Removes directories from disk and all the files and directories they contain.
RemoveDuplicates


ResGenresgen Converts files from one resource format to another.
ResolveAssemblyReference


ResolveComReferences


ResolveKeySource


ResolveNativeReference


SGen


SignFile delay-signSigns delay-signed .NET Assemblies, or re-signs existing assemblies.
TouchtouchTouches a file or set of files
UnregisterAssembly
Performs the reverse of the RegisterAssembly task.
VbcvbcCompiles Visual Basic.NET programs.
Vjc vjcCompiles Visual J# programs using vjc, Microsoft's J# compiler.You must install the J# redist before you get this task. It is contained inside Microsoft.Build.VisualJSharp.dll
VCBuild
Runs vcbuild.exe, which builds Visual Studio Visual C++ projects.
Warning


WriteLinesToFile



asminfoGenerates an AssemblyInfo file using the attributes given.

attribChanges the file attributes of a file or set of files.

available Checks if a resource is available at runtime.
MSBuild call Call a target in the current project.

cl Compiles C/C++ programs using cl.exe, Microsoft's C/C++ compiler.

cvs-checkout Checks out a CVS module to the required directory.

cvs-update Updates a CVS module in a local working directory.

description An empty task that allows a build file to contain a description.

foreach Loops over a set of items.

get Gets a particular file from a URL source.

if Checks the conditional attributes and executes the children if true.

ifnot The opposite of the if task.

include Includes an external build file. In MSBuild use Import

jsc Compiles JScript.NET programs.

lib Run lib.exe, Microsoft's Library Manager.

license Generates a .licence file from a .licx file.

link Links files using link.exe, Microsoft's Incremental Linker.

loadtasks Loads tasks form a given assembly or all assemblies in a given directory or fileset.In MSBuild use UsingTask

mail Sends an SMTP message.

mc Compiles messages using mc.exe, Microsoft's Win32 message compiler.

midl This tasks allows you to run MIDL.exe.

move ||Moves a file or set of files to a new file or directory.

nant Runs NAnt on a supplied build file. This can be used to build subprojects.

nantschema Creates an XSD File for all available tasks.

ndoc Runs NDoc to create documentation.

nunit Runs tests using the NUnit V1.0 framework.

nunit2 Runs tests using the NUnit V2.1 framework.

rc Compiles resources using rc.exe, Microsoft's Win32 resource compiler.

readregistry Reads a value or set of values from the Windows Registry into one or more NAnt properties.

regex Sets project properties based on the evaluatuion of a regular expression.

regsvcs Installs or removes .NET Services.

script Executes the code contained within the task.

servicecontrollerAllows a Windows service to be controlled.

sleep A task for sleeping a specified period of time

solution Compiles VS.NET solutions (or sets of projects) Use MSBuild to compile VS2005 solutions

style Processes a document via XSLT.

sysinfo Sets properties with system information. MSBuild exposes environment variables by default

tlbexp Exports a .NET assembly to a type library that can be used from unmanaged code

tlbimp Imports a type library to a .NET assembly (wraps Microsoft's tlbimp.exe)

tstamp Sets properties with the current date and time.

unzip Extracts files from a zip file.

xmlpeek Extracts text from an XML file at the location specified by an XPath expression.

xmlpoke Replaces text in an XML file at the location specified by an XPath expression.

zip Creates a zip file from a specified fileset.

Tuesday, June 9, 2009

Differences between NAnt एंड MSBuild Script

1. NAnt has functions. MSBuild really has no such thing. MSBuild is infinately extensible via Tasks, but there aren't that many tasks as compared with NAnt functions. I think this is a sign of maturity in NAnt. Since MSBuild's programmers had NAnt to look at, we do have to wonder why they excluded some things but we can guess that dev timelines ran out.

2. NAnt has a few fileset types with specialized attributes. All file references in MSBuild are contained in ItemGroup blocks. However, with ItemMetadata providing infinite extensibility to each Item in an ItemGroup, the specialized attributes are not required.

3. In the main, the NAnt schema tends to be attribute centric, while MSbuild favors elements with text content. The NAnt schema also favors lowercase names, while MSBuild favors an initial capital.

4. NAnt allows fileset groups to be included inside a target. MSBuild Targets may only reference ItemGroups specified as children of the Project element.

5. MSBuild seems to be missing the notion of a basedir. This basedir attribute is very helpful in NAnt. MSBuild only has the project root as basedir, and can use PATH variables. Again, I think the maturity of NAnt shows in this oversite. Obviously, you can define a Property with an appropriate base directory Uri and append it to every path in an ItemGroup. You could probably also make use of ItemMetaData if you were writing a custom Task.

6. Property references in NAnt are denoted by ${}, while MSBuild uses $(). What is this, C# versus VB? You also cannot use '.' characters in your property names in MSBuild, though it is legal in NAnt.

7. MSBuild references Items in an ItemGroup with the syntax @(ItemName). NAnt references filesets by id utilizing a refid attribute without decoration.

8. There are 72 built-in tasks in NAnt. There are 35 in MSBuild, however most of the common tasks related to .net use are in there. They both include an Exec(exec) task for calling out to the system. They both allow you to write your own to extend the functionality of the build. So, if it can be done in code, you can run it from either one.

9. Both allow conditions to be placed on nearly every element to determine if the build should include the enclosing item. However, NAnt uses both an 'if' and 'unless' approach, where MSBuild just simply has 'Condition' that supports '!' (not); 'And'; and 'Or'. Here the MSBuild approach seems more streamlined.

10. MSBuild Projects can have multiple default targets, and also has an InitialTarget which can be run before other targets for prepatory steps. Utilizing 'depends'/'DependsOnTargets' attributes you could craft your own workflow in either program. Similar to the Default, you can have multiple targets specified in the DependsOnTargets attribute which is an interesting enahancement over NAnt.

11. A subtle difference in the CSC Task is that in NAnt, the warnings to ignore are elements which each have a condition. In MSBuild, warnings are a single attribute which contains a semi-colon delimeted list. In NAnt, you could conditionally ignore some warnings on some builds based on criteria. No such thing would be possible in MSBuild.

Friday, May 29, 2009

Principles of an Eagle_learning for life


1. Eagles fly alone at high altitude and not with sparrows or with other small birds. No other bird can go to the height of the eagle.. Stay away from sparrows and ravens.

Eagles fly with eagles.
2. Eagles have strong vision. They have the ability to focus on
Something up to five kilometers away When an eagle sites his prey, he narrows his focus on it and sets out to get it. No matter the obstacle, the eagle will not move his focus from the prey until he grabs it.

Have a vision and remain focused no matter what the obstacle and you will succeed.
3. Eagles do not eat dead things. They feed only on fresh prey. Vultures eat dead animals, but eagles will not.
Be careful with what you feed your eyes and ears with, especially in movies and on TV. Steer clear of outdated and old information. Always do your research well.

4. Eagles love the storm. When clouds gather, the eagles get excited. The eagle uses the storm's winds to lift it higher. Once it finds the wing of the storm, the eagle uses the raging storm to lift him above the clouds. This gives the eagle an opportunity to glide and rest its wings. In the meantime all the other birds hide in the leaves and branches of the trees.

We can use the storms of life to rise to greater heights. Achievers relish challenges and use them profitably.
5. The Eagle tests before it trusts. When a female eagle meets a male and they want to mate, she flies down to earth with the male pursuing her and she picks a twig. She flies back into the air with the male pursuing her. Once she has reached a height high enough for her, she lets the twig fall to the ground and watches it as it falls. The male chases after the twig. The faster it falls, the faster he chases it. He has to catch it before it falls to the ground. He then brings it back to the female eagle.

The female eagle grabs the twig and flies to a higher altitude and then drops the twig for the male to chase. This goes on for hours, with the height increasing until the female eagle is assured that the male eagle has mastered the art of catching the twig which shows commitment. Then and only then, will she allow him to mate with her.

Whether in private life or in business, one should test commitment of people intended for partnership.
6. When ready to lay eggs, the female and male eagle identify a place very high on a cliff where no predators can reach. The male flies to earth and picks thorns and lays them on the crevice of the cliff, then flies to earth again to collect twigs which he lays in the intended nest. He flies back to earth and picks thorns laying them on top of the twigs. He flies back to earth and picks soft grass to cover the thorns. When this first layering is complete the male eagle runs back to earth and picks more thorns, lays them on the nest; runs back to get grass it on top of the thorns, then plucks his feathers to complete the nest. The thorns on the outside of the nest protect it from possible intruders. Both male and female eagles participate in raising the eagle family. She lays the eggs and protects them; he builds the nest and hunts. During the time of training the young ones to fly, the mother eagle throws the eaglets out of the nest. Because they are scared, they jump into the nest again. Next, she throws them out and then takes off the soft layers of the nest, leaving the thorns bare. When the scared eaglets again jump into the nest, they are pricked by thorns. Shrieking and bleeding they jump out again this time wondering why the mother and father who love them so much are torturing them. Next, mother eagle pushes them off the cliff into the air. As they shriek in fear, father eagle flies out and catches them up on his back before they fall and brings them back to the cliff. This goes on for sometime until they start flapping their wings. They get excited at this newfound knowledge that they can fly.

The preparation of the nest teaches us to prepare for changes; The preparation for the family teaches us that active participation of both partners leads to success; The being pricked by the thorns tells us that sometimes being too comfortable where we are may result into our not experiencing life, not progressing and not learning at all. The thorns of life come to teach us that we need to grow, get out of the nest and live on. We may not know it but the seemingly comfortable and safe haven may have thorns.

The people who love us do not let us languish in sloth but push us hard to grow and prosper. Even in their seemingly bad actions they have good intentions for us.

7. When an Eagle grows old, his feathers become weak and cannot take him as fast as he should. When he feels weak and about to die, he retires to a place far away in the rocks. While there, he plucks out every feather on his body until he is completely bare. He stays in this hiding place until he has grown new feathers, then he can come out.

We occasionally need to shed off old habits & items that burden us without adding to our lives..