Saturday, February 3, 2018

Beginning of new adventure

With the start of the New Year (2018) , I am looking at complete new beginning of my career as well as my life.  I am moving to Sydney, Australia from India.  Wow!! This looks exciting. Yes it is, but some of my friends look at it as a brave decision, at this point of life.  If there is any thing uniform in this universe is change,  and this has hit me big on September of 2017.
Looking at it, gives me opportunity to find change or rewrite myself which one could not do while living in a setup for long. Culturally diverse and starting from scratch gives you motivation to work towards filling in your short comings and makes you push hard to achieve the desired results.
It is still early days but looking forward to the challenge life has thrown at me.
I will keep posting my new adventure from time to time.
Looking for best wishes from you all

Monday, August 17, 2015

Memoir of Amsterdam













 






Sunday, May 10, 2015

Missing my silent, devoted companion.. Tipsy

Tipsy, my 10 year old german shepherd left us on 3rd April, 2015. I never realized when he became part of my life.   A german shepherd with rare white and black color, was a very handsome and beautiful dog. He was healthy and we raised him on vegetarian diet.  When we brought him to our life, he was of 20 days and was not even able to walk steadily. He used to wobble dabble here and there while he walked like a tipsy. So we named him Tipsy.
He filled a huge gap in my life, of being a companion. I used to take him out for a walk twice a day – morning and evening. He always used to wait for me when I was away and waited for me for dinner till I was back home. 
The nature and persona of Tipsy was such that whoever met him even for a while had instantly became fan of him. There are many family’s who opted for pet after seeing or meeting Tipsy. 
For us he was like another family member. My mother never leashed him. We always kept him free in our house. He always lived with us. The bonding of Tipsy with me was very close. He never left me even for a second when I was home. He slept with me in my room and we were together on weekends and played together. He used to be a happy guy whenever we played together.
He was very intelligent and humble German shepherd.  I remember how he befriend with my wife when I got married. She was very scared of dogs. She came from family who didn’t had any pet ever.  After few days after I got married, my wife was watching TV and was sitting on bed. Tipsy suddenly jumped on bed and sat on lap of hers. This made her shed her fear. Tipsy took initiative to befriend our new family member – my wife.  Years gone by, my family grew, I have two children’s both have grown up with tipsy as part of our family and I didn’t found any issues with having a dog with infants or toddlers. In fact sometimes we noticed that he used to tell us if baby is awake or is crying. Such was his devotion.
German shepherds by nature are easy to train and are one of the top intelligent breeds of the world. So we don’t have to work hard to make him learn few commands. He used to sit when we told him to sit and used to hand shake us with his right hand and on change command used to give his left hand. My mom as head of  our family  was supreme commander for him as well. He used to listen and obey to her. She had experience of handling the dogs and is fond of this animal.
In March 2015, I came back to home from a business trip after three weeks. Everything seemed normal. After two weeks of my coming back, he fell sick. We thought that it was normal. As he used to stop eating for few days  (1 or 2) when ever he felt that his stomach is upset or when season changed. This was the time when summer was setting in from winter. But after 2 days he still didn’t ate and my mom noticed that he is having fever. We called up the vet, who gave some treatment and next day he looked better but ate very less.  We noticed he was not able to walk with conviction as he used to be and his right hind leg was scratching the road and was not able to control his body.
This ringed the alarm bell and we consulted another vet, who advised us to get his blood test. The reports showed very high percentage of urea content in blood due to kidney dysfunction.  
We could not see this coming, we lost the track of his age. He completed 10 years to life with us. After trying everything we could. He left us after two weeks of fight with life.
More over he left us on my birth day to make sure we remember him, whole of my life.  When he was fighting for his life he was still looking at me with same devotion. I felt that he is fighting his death and not willing to give up my companion ship.
After his death, We buried him with his favorite toys.  My children are finding it hard to believe his demise. My daughter who is 3 and half wakes up every morning and asks if Tipsy has come back or not.
When I come back no one comes out of the door to greet me anymore, nor there is one to walk with every morning and evening.
Some way he was binding every family member with himself, which we never realized when he was alive. It’s a huge void in our life which will take time to fill.
I still feel he is with me. I regret I could not saw it coming. But dogs life span is very short.  I want to know about him after life. My son asked me to pray to god to make him man in his new life and give our address so that he can come back to us and live with us.

I pray to god for his soul may rest in peace. 









Wednesday, February 27, 2013

Using mustache templates in asp.net

For using mustache, you will need to add mime type first to allow .mustache templates to be used.
You can add mime type through web.config;



 
 

      

    






This will allow iis express to return the content of mustache template which can be parsed by handlebars.js



Tuesday, March 13, 2012

Forms in ASP.net MVC 3

The form representation is different in ASP.net MVC as compared to ASP.net.
there is no straight form tag that we were using in other version than MVC.
To create forms we need to user Html Helpers

HTML.Begin Form() method is used to define the form.

@using(HTML.BeginForm()){

// here you can define your form
// I am taking example of a product form



Product Name

     
@Html.TextBox("ProductName")

     
Product Description

     
@Html.TextArea("ProductDescription")

     



}


on the other hand to handle this form request on post.
you need to add the following code in your product controller :

   // I have created a product model in productsModel namespace where I have defined the
  // class for product..
        [HttpPost]
        public ActionResult Create(FormCollection collection)
        {
            try
            {
                // TODO: Add insert logic here
                MvcAppTutorial.Models.Product myProduct = new Models.Product();
                myProduct.ProductName = collection["ProductName"];
                myProduct.ProductDesc = collection["ProductDescription"];
                ViewBag.ErrorMessage = "Data Saved";
                return View();
            }
            catch
            {
                return View();
            }
        }

Next I will show you how to add validations to the form..

Tuesday, December 20, 2011

Sencha Touch Project Template in Visual Studio 2010

I am starting on web development for mobile devices. I am using Sencha Touch. As I have been working with Microsoft technologies from last 8+ years thus would prefer to use Visual Studio for development.

I found VS Project Template for Sencha Touch.
Here's an article that explains how to do it.
http://mahdi.mp/sencha-touch-html5-p...l-studio-2010/ 


I have got it Installed and it all looks good to me to get started.

Hopefully I will get time shortly to publish Sencha Touch Learning series shortly.


Wednesday, June 29, 2011

Staying Calm important for a Project Manager

We all face certain situations repeatedly in our lives which throw our life out of gear and for a IT Project Manager these kinds of things are routine, say reoccurring in every 3 months or so. The situation could be project running late, or client becomes insolvent or you are to busy or over loaded with other projects that you cannot oversee the things properly and now client is yelling and result of this management has also become indifferent. All the world around you seems to be against you. But this is where a project manager needs to be cautious.
The sudden setbacks can kick your brain out of sort. and could fill it with negative feelings. The first and foremost thing to get back on track is to seize control of your thoughts and feelings to ensure that your are back to your best.
The natural tendency is to react or overreact in a negative way when things go wrong. One will become angry, upset, disappointed, etc..,and all these things will certainly block or shut down major part of your brain especially thinking part of the brain which does analysis and help solve problems and make decisions.

How to Deal with this;
The question that now arises is - HOW TO DEAL WITH THIS?
The answer lies in staying calm in a crisis.
One should take a deep breath to calm your mind and then think carefully about next words and actions.
Imagine that this is a test to see what you are truly made of. Imagine everyone is watching you and observing how you respond. So be a role model and  show them the correct way to deal with the situation.
Think of the following quote by Samuel Johnson.
Things don't go wrong and break your heart so you can become bitter and give up. They happen to break you down and build you up so you can be all that you were intended to be.


Always tell yourself - You expected things differently then they have came out to be. This is normal things can go wrong but they can be rectified.


As a project manager- My obligation is not only to remain calm in these kind of situations but also to motivate the team to work effectively to resolve the problem
If a Project Manager shows the panic then to keep motivation alive in the team is impossible.
When I am in a situation then I sit back first and look at the things and analyze what went wrong.
I myself is not afraid of admitting if I am guilty and I am willing to do anything to resolve it.
Then I list out things that i need to take care on priority and sit with my team and start working on the priorities.
I sit back with my team and work with them even it takes hours by keeping my self in the things I lead them by example and also ensure that things are going as I wanted them
Instead of reacting I ask question to people and listen to their answers and accordingly make out solution.
The most Important thing is to look something postive in the problem- Like I could be in better position in future if I can challenge my self to resolve things from this point.
This way I ve always been able to motivate my self through out and hope this small article will hold something for others to be useful in tackling the day to day situations effectively.

The article is not about advocating what I am doing but of helping others if they are in same situation.