Aug
10

We have something called as Fun Friday’s in our office we normally celebrate that every alternate friday. What we do in that is play games and enjoy. All it does is it keeps you fresh and agile its one of the most happening thing in my office. And the games are based on the theme or some festival which is goin on or which is awaited. The winning team is presented with choclates.

This friday it was Friendship day which was comming up this sunday. So we decided so have something related to friendship some game related to friendship but our different ideas were all used in the previous fun friday’s so we had to think about some good idea for this Fun Friday to celebrate Friendship’s day.

So we came up with the idea of Face Painting. We had created 5-6 teams of 7-8 members each of these 7-8 members 2 members were to be face painted and other need to paint their face and the theme was Friendship. So my team thought of painting the Tom and Jerry as they are very good friends because they cant live together and best part of their friendship is they cant even live without each other how much ever they fight but they cant live with and without each other. Here are the pics from this time fun friday,

Tom n Jerry

Tom n Jerry

Aug
10

One day one of my friend asked me have you ever forgiven something bad someone did to you?

I thought for a moment and then answered I dont remember if I did. Then my friend replied that is the ideal answer which he expected. As he told me if you were able to answer this question or if your answer would have been yes then you had not forgiven.

If you had forgiven and you dont remember that is very good thing but when you remember that you have forgiven someone that does not mean you have forgiven you still remember that.

The base of any relationship in this world is Trust. You should be forgiving if you want a relationship to be long lasting any relationship. The moment you start remembering the number of you have forgived someone that will make the relationship more and more insecure. You will have revengefull attitude or rather you ll have a grudge for that person. And that hurts relationship.

So If you need to have good relationship you should be good at forgiving but not remembering what you have forgiven. So forget what you have forgiven for long lasting relationships.

Aug
10

Many a times people get stuck in solving the Javascript issues just because they are not able to debug the code. Debugging is one of the things which you should be very good at and it also checks your patience.

The latest version of Visual Studio i.e. VS 2008 has inbuilt feature that helps you to debug the javascript code just like any other code behind or server side code. All you need to do is set the breakpoint on the javascript code and the breakpoint will be hit when the code execution reaches that point.

But this is not possible in VS 2005 so the question arises how to debug Javascript in VS 2005?

The answer is simple all you need to do is write “debugger” above the line you want the breakpoint to hit. So that means write the word “debugger” without double quotes before the breakpoint line in javascript and when that code will be executed an window will popup asking you to choose which debugger you want to use to debug the javascript code and you can select the appropriate debugger to debug the javascript code. And if you have firebug in Firefox than you can debug your javascript in Firebug also it allows you to set the breakpoint in the code the same way as you do in the server side code in VS.net and you can step-in, step-out same way.

for e.g.

function validate()

{

var a=10;var b =20;

debugger

var c=a+b;

}

In this the breakpoint will hit at “var c=a+b”.

Aug
10

I just went through one of the video which showed how can you enhance intellisence feature in Visual Studio for the user-defined things. 

Let me explain this to you in detail, suppose you have a class containing few functions and properties, When you create an object for that class and access its function all you can see in the intellisence is the name of the function without the description, but when you look at the inbuilt function in any of the inbuilt class you can see the description of that function.

Have you ever thought why so?

This is just because they have commented their code. You can also have your function showing the description of what it does in the intellisence and even pass the description for the parameters. All you have to do is provide a proper comment for your code. That is what a good programmer does. Here is the sample of the comment you must provide,

 

Intellisence Help

Intellisence Help

Here you can see the summary which appears as the description and the parameter list which will show the description for the parameters too. So keep practicing this to be a good programmer although there are various things which you should practice but this is one of them.

Aug
10

Today I went through one of the video that showed how to work with LINQ and while going through I saw something which I had seen many a times before but everytime I forget about that, but this time I remembered.

What I saw was the person who showed a small demo on the LINQ started to write something, in the class he wrote some 2-3 words and the code for the class appeared automatically. I used to wonder on how they do that so I thought let me check on that, you just write couple of words and you have your class ready with you. After doing some research on that here is what I have.

This is a small Add-on for Visual Studio called as AutoCode which helps you to create a shortcut for a piece of code which you use regularly. What it does is helps you to create a template for the most used code and set a shortcut for that, the next time you want to use that piece of code you need not write that code again all you have to do is type the shortcut you have set for the code that that code will be there. Amazing!!!!!!

You can download the Add-on from here. Also check out the quickstart that will help you to learn how you can start using the AutoCode Add-on.

So start using the AutoCode and save your time by saving the repetative code to be used by just a shortcut.

Feb
24

Please find a place to read this where you can be alone and uninterrupted. Don’t worry about your schedule, your business, your family, or your friends. Just focus on this post and really open your mind.

In your mind’s eye see yourself going to the funeral of a loved one. Picture yourself driving to the funeral parlor or chapel, parking the car, and getting out. As you walk inside the building you notice the flowers, the soft organ music. You see the faces of friends and family you pass along the way. You feel the shared sorrow of losing, the joy of having known, that radiates from the hearts of the people there.

As you walk down to the front of the room and look inside the casket, you suddenly come face to face with yourself. This is your funeral. All these people have come to honor you, to express feelings of love and appreciation for your life.

As you take a seat and wait for the services to begin, you look at the program in your hand. There are to be four speakers. The first is from your family, immediate and also extended - children, brothers, sisters, nephews, nieces, aunts, uncles, cousins, and grandparents who have come from all over the country to attend. The second speaker is one of your friends, someone who can give a sense of what you were as a person. The third speaker is from your work or profession. And the fourth is from your church or some community organization where you’ve been involved in service.

Now think deeply. What would you like each of these speakers to say about you and your life? What kind of husband, wife, father, or mother would you like their words to reflect? What kind of son or daughter or cousin? What kind of friend? What kind of working associate?

What character would you like them to have seen in you? What contributions, what achievements would you want them to remember? Look carefully at the people around you. What difference would you like to have made in their lives?

Take a few minutes to jot down your impressions. It will greatly increase your personal understanding.

Feb
23

Do you find yourself forcing a brittle smile and staring awkwardly when someone tells you about their achievements? Does your heart do triple flips when  a friend is catapulted into the limelight? here is how you can handle those negative emotions:

  • Compare yourself only with your own achievements. Charter your growth by contrasting your present quality of living with your past, not someone else’s.
  • Psychologists feel that envious people often lose their own dynamism by conveting opportunities that fall into other people’s laps. Be focused in the pursuit of your goals. Go only after those dreams that are important to you and do not let someone else’s success sway you from your own path.
  • if your are feeling envious of a close friend or relative, list the qualities they possess that attracted your attention. Reflect on how you can acquire those characteristics as well. What steps would you take? Not only will this transform your own personality, but your jealousy too will disintegrate.
  • Build your self-confidence. Attend etiquette classes, make new friends and engage in a an exctiting hobby you love. If you embark on a continual process of self-discovery. you will neither have the time nor inclination to be envious of others.
  • Look at an isssue from all perspectives and understand what really triggers your enthusiasm. For instance, you might admire working women, but would you actually be happy stepping into their shoes? They sacrifice their leisure time with long hours at the office and are possibly dead tired and unable to spend enough time with their own children. Understand your own needs in depth. Look beyound the surface gloss of every issue and you will find that, sometimes, your envy may be unwarranted.
  • Interact with people less fortunate than yourself. You will learn to appreciate your own blessings. If there always seems to be someone better off than you, ,remember, there are plenty in worse situations too. As the saying goes, ‘I wept because I had no shoes, until i saw a man with no feet.’
Feb
23

This is one of the wonderful articles i have read, 

Before we were born, a whole society of storytellers was already here. The storytellers who were here before us taught us how to be human. First they told us what we are a boy or a girl, then they told us who we are, and who we should or shouldn’t be. They taught us how to be a woman or how to be a man, They told us to be a proper woman, a decent woman, a strong man, a brave man. They gave us a name, and they told us the role we would play in their story. They prepared us to live in the human jungle, to compete with one another; to impose our will, to fight against our own kind. They filled us with knowledge, and of course we believed them. From the storytellers around us, we learned how to create our own story.

By exploring the story that we create, I discovered that the story has a voice. You can call it “Thinking” if you want. I call it “the voice of knowledge” because it’s telling you everything you know. it’s always trying to make sense out of everything. That voice is always there. It  never stops. It’s not even real, but you here it. You can say, ‘well it’s me. I’m the one who is talking.’ but if you are the voice that is talking, then who is listening?

The voice of knowledge can also be called as liar who lives in your head. The liar speaks in your langauage, but your spirit, the truth, has no language. You just know truth; you feel it. The voice of your spirit tries to come out, but the voice of the liar is stronger and louder and it hooks your attention almost all of the time. You hear the voice, and what is it telling you? ‘Look at you. Who do you think you are? You will never make it. You aren’t smart enough. Why should i try? Nobody understands me. How can i be happy when millions of people are dying of starvation?”

That voice is usually lying because it’s the voice of what you have learned, and you have learned so many lies, mainly about yourself. The voice of knowledge can come from your own head, or it can come from people around you, but your emotional reaction to that voice is telling you, “I’m being abused.’ Every time we judge ourself, find ourselves guilty, and punish ourselves, It’s because the voice in our head is telling us lies. Every time we have a conflict with our parents, our children , or our beloved, it’s because we believe in lies, and they believe in them, too.

But it’s not just that. When we believe in lies, we cannot see the truth, so we make thousands of assumptions and we take them as truth. One of the biggest assumptions we make is that the lies we believe are the truth!

Two thousand years ago, one of the greatest masters said, ‘And you will know the truth, and the truth will set you free.’ Free from what? From the storeyteller who lives in your head and talks to you all the time. when you no longer have that voice in your head, i can assure you that it’s  wonderful when the voice in your head finally stops talking. You experience inner peace.

That voice has been in control of your head for so many years, and no, it won’t give up just because you want it to leave you alone. But at least you can challenge it by not believing what it tells you.

if you follow these two rules, all the lies that come from the voice of knowledge won’t survive your skepticism and will simply disappear.

Rule number one; Dont’t believe yourself. Listen to your story, but dont’t believe it because now you know that it’s mostly fiction. When you hear the voice in your head, don’t take it personally.

Rule number two: Don’t believe anybody else. You know that if you lie to yourslef, surely other people lie to themselves, And if they lie to themselves, they will lie to you also.

You can change your life by refusing to believe your own lies. Start with the main lies that limit the expression of your happiness and your love. If you take your faith away from the lies, they lose their power over you. Then you can recover your faith and invest it in different beliefs. If you stop believing in lies  your whole life changes just like magic, You will be free of fear, drama, and conflict. this is absolute truth.

Feb
19

 Now, for the first time, Microsoft is giving its valuable software developer and design tools directly to students worldwide at no charge! This site enables students like you to download professional-level Microsoft developer and design  tools to unlock your creative potential and set you on the path to academic and career success, by supporting and advancing your learning and skills through technical design, technology, math, science and engineering activities.

Microsoft will be making its developer and designer tools available at no charge to college students in 10 countries around the world – in the first phase of the new Microsoft DreamSpark™ program. DreamSpark will be live as of Feb 19 in United States, the United Kingdom, China, Germany, France, Finland, Spain, Sweden, Switzerland and Belgium. Additional country rollouts are planned throughout the year with full availability expected within 12 months.

In order to get this software from Microsoft at no charge, you will be asked to establish or verify your student status once every  12 months. This process is built into this DreamSpark site itself.  Verification of valid student status will enable students from  around the globe to download Microsoft developer and design tools at no charge.  Note: You must be at least 18 years old or have  otherwise reached the age of majority in the place (province, state or country) where you live, or if not, your parent or legal  guardian must accept the Microsoft DreamSpark software license terms on your behalf, in order for you to download and use the software.

DreamSpark has been launched today at Stanford Univ. with Bill Gates giving the keynote. If you’re a student you get

  • Windows Server 2003
  • Visual Studio 2008 Professional Edition
  • SQL Server 2005 Developer Edition
  • Microsoft Expression Studio including FrontPage Expression Web, Blend, Design and Media
  • A one year subscription to XNA Game Studio Creator’s club

Students will be able to download any of the following software products via Channel 8 (channel8.msdn.com) and will have to go through a quick online third party-driven authentication process to validate their student status. Once this is done, they will be able to download the software of their choice– one title or all.

For full information, check out https://downloads.channel8.msdn.com/

Feb
19

1) Firebug : Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page. It also shows the javascript errors if any.

2) Web Developer Toolbar : Adds a menu and a toolbar with various web developer tools. It has various options which the developers will love to use.

3) Colorzilla : With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can Zoom the page you are viewing and measure distances between any two points on the page. The built-in palette browser allows choosing colors from pre-defined color sets and saving the most used colors in custom palettes.

4) IE Tab : This is a great tool for web developers, since you can easily see how your web page displayed in IE with just one click and then switch back to Firefox.