We as human beings judge people a lot by looks, what we wear etc...In animals, cats are not like humans they won’t judge by looks, like what color the other cat is like Grey, black, has strips etc. They sense it. The only animal in the world who will go and do massacre is human beings. Lions will not go and say let’s kill all the deers u know. They will kill one eat one. So we are different in the way we think.

People tell us what to do early in our life and we will do what they say, forget about what we really want or what we really are. We follow their template.Most of the people in the world follow a template for life. Like study well, go to good college, marry a guy, have a kid, raise them etc. There are people who are not like that too, they are just different.

We have to be happy with what we have. It is hard for human beings because we always want a better job, more money etc. we forget to live in the present and always looks for either the past or the future. We will always be more happier when we don't try to change the way people think and try to change the way we think. It helps us.

The girl I am dating/Married to can do what she wants, but my thoughts are going to be in my control. I need to change the way I think. whatever she does. I don't care. I will try to control the way I think and I will be fine. Even if I lose the job or loose the house or anything. My thoughts have to be in my control.

I cannot break down. I am going to work on it. Whoever "stays still without breaking" are those who are stable, no matter what happens to them.


Marriage:

Now I do whatever I want, when I want. I am like the guy who don't care, I join a new  gym when I want, as soon as I don't like the old gym.  That is good for some time, when we really grow in life is learn to accept that it is a stage in life and enjoy it. There is a point in life when we will be bored of it. I am not there yet but for sure I will be one day. Then I am and I will be, willing to share a life with someone. That is a stage when you grow more, when we are pushed to a corner and accept it. We don't respond because we learn to deal with it and be stronger. That is the point when we make changes in our life to accept other person, we don't change other person. we make changes in our life because it is easier and that is all we have to do.

Always don't forget Light always wins over darkness.

This is something which I was thinking of writing for a long time.

·         Did we go to gym and see guys who train only their arm and chest?

·         Do we see guys who have tiny legs and big upper body?

·         Why do this happen?

·         Did we ever train our lower back?

 

There are couple of reason why guys work out. They need big arms. They need big chest.

If that is only the goal then, fine you guys are good but you know what if there is no symmetry. You are like the kid who went to community college. It does the job. Is that what we are looking for or do we need to be like an Ivy League.

1) Health is wealth.

2) The muscles we develop need to be in proportion. The symmetry is everything.

How do we do that?

1) This is not something you can achieve in a day. No matter what. This needs to be a lifelong habit and gradually over the years you will become healthy and build.

2) I know guys who cannot walk 10 stories but they have huge arms. Is that any good?

There comes cross fit.

1) If you need the stamina of a runner and if you need the power of a power lifter. You are in good hands “cross fit” will do the job. Then some guys will say I want to be a bit built also then work out on your normal body building stuff 1-2 days a week. Rest should be cross fit or basically what I am saying is it should be a full body work out. You need to work you whole body. Pump your heart to the max and then so some strength exercise.

Eating health is another thing. None of this is possible without that. Do all the outdoor stuff? Stay active. If you can do some running or swimming etc. it is great.

Trust me guys there are guys who are so healthy like I know a person who is 57 but if I see him for the first time I will surely ask him whether he is 35. Working-out plays a big role in your life.

 

 

This is something which all the clients ask you when you are working for a small firm or when you work as an Independent freelancer. Do we have an answer for this ? Really ya... Any way from 100$ to ~(Infinity). In my experiences I have been in all the places. Working for a forture 500 where they spend millions of $ developing site to the best way possible. I also worked for small clients where I could complete developing a site in a day or 2. So it is kind of tricky to answer this Question. when I was hit with this Question I used to ask "what kind of budget are you looking at ?" This was giving a wrong impression to the clients who has no Idea how to develop a website because they thought i was trying to get as much money as I can but really I was not. Then I started answering the question a bit differently. I was amazed to see the responce. I will tell I can get something up and running for 100$ then some of the clients are a bit relectent to appeciate my skills. To be Frank there is no real answer to this Question. You can develop a site in any amount of $. I created my site up and running in 2 days then it was all about writing the content periodically. How much google spend to keep their site up and running.. ? Most of the people dont know what they need so we have to give some idea to educate them with what they need based on their busineess needs. This is too broad an area. you can go with 10$ hosting from godaddy or have a dedicated load balenced server farm. Who needs what is so important.

 

I used to talk to a lot of people in this area to get an idea of what we should be looking for.?

Factors

1) Are we making any profit from the site which is the key. If we are making a 1000$ a day trust me 10$ hosting with godaddy is not enough. some will argue yes we can then it comes to what is right and what is not right.

2) No of users is another key factor. 

3) what kind of data are we showing also matters. Privacy , Size of data etc, I can go on like this for another 2-3 hours.

Best thing I will say is talk to as many people as you can and gather as much details as you can and think a bit about the future plans before you decide on something.

 

 

 

Mvc overview.

December 9, 2011

It is pretty cool. I got my hands dirty developing sites in Mvc. So I thought I will write my initial feel of it. Everyone will say it is pretty cool. Is it like buying a new Ipad, Could be.. The best part of it is the ajax and the javascript libraries that make it pretty nice. Going forward I feel we don’t need much c# or vb.net, I feel if we can connect to db from javascript. I never tried that area though. The reason I was telling this is we can create a grid in javascript and likewise pretty much anything so that is cool right if you know javascript or some of it libraries.

Let me get to mvc now. The different types of view engines, granular control over the html we are creating. Friendly Url’s and now we don’t need the pageload getting called again and again for all postback and we don’t need to check Ispostback == true etc..  The get and post request are going to call different methods so that overload of interpreting the same code again and again will not be there.

Is it  like vb or asp now ? Where we write the code in-line with the html yes it is and it makes me feel that are we going to a better version of vb or asp. If you ask someone who has seen the technology coming and evolving you will know. It is like a vicious circle. We involve improve and start doing things which we did 10 years back and think it is pretty new.. is it ..ya..na..yaa could be… separation of concern is something which was pretty cool. Like a company where there are process and procedure and teams and tasks and each one is supposed to do certain things. I mean controller is person who calls the model and get data but don’t ask him how the data is going to be presented to the user. It is pretty nice for large scale development where I can create a model and controller which out even creating the view and some other team can work on the views. (UI guys) who are extremely good at user interface and the guys who are extremely good at building frameworks or writing business rules can concentrate on that.

Come on people no more pageload() and ispostback()..

Then I asked myself what are the disadvantages of using MVC over webforms. Umm..You know what now you cannot drag and drop a grid view control and assume everything is done for you. You need to write your own code. That suckes..but you can build more controlling and custom UI but you need to be good at UI because you have to do everything.

See some of the site I worked on

http://www.ryanhomes.com/

http://www.nvhomes.com/

We always come into situatuons where like ooo.. we want to use java or perl to develop this.. umm.. ok.. I am into .net if you want me to write this in .net I can do it in half the time. No.. We need to use a third party language.

 If it is .net  then it is a piece of cake.We create proxy using svcutil.exe and call the service using the proxy.


How do we create a proxy for Java or coldfusion Implementation ?

I was stuck with the same question and I need to provide a solution. um.. google..as always so I thought I share something which I found.
Whether the wsdl generated by WCF works with these applcations. Ummm.. Let me tell you we can modify the WSDL a lot using configuration and creating extension methods.so basicaly what we need to do is to modify the schema so that the clients can consume it. so basicaly we need to know what kind of WSDL will be supported by the clients and we need to customize the WCF to generate a wsdl in those lines. so sometimes it is timeconsuming and one more thing u can do is to expose another endpoint with the updated wsdl so the existing service will run with out any issue and the other third parties can consume the new endpoint with the updated wsdl.


I came accross an article which i used and was really benificial in changing the wsdl.
http://weblogs.thinktecture.com/cweyer/2007/05/improving-wcf-interoperability-flattening-your-wsdl.html

How do we create proxy in Java ? What we can do.
The below url explains a step by step way to consume a WCF service in Java platform using a tool  called Metro which basically handles the creation of proxy.  
http://www.kevingao.net/wcf-java-interop/java-client-and-wcf-server.html


This is something which I learned from my mom. Thanks to mom for sharing the knowledge.

There are three things which guide a human being in making decisions in life.

1) Knowledge of the idea.
2) Emotional Quotient for the idea.
3) Finaly making the decision.

It is always recomended to have a balance among all these components to make a right decisions. If one ways more than another we always end up making a wrong decision.


E.g Imaging the case of buying a car.

Every one wants to get the most beautifull and the best. How much value are we putting into our knowledge ? whether it is worth buying, spending that amount of money ? Is it really usefull ?
I feel someone who can balance all these will be making a good decision. It applies to all walks of life.

Dreams or achivements and reality.

These are three things which plays an important role in our life.Every one wants to be a millionare, but how many are ?
These are the three questions which ever one should know the answer for ?

1) What I am capable of ?
2) Am I doing anything to get there ?
3) Is it realistic ?

These questions are something which we need to ask ourself. If there is a real difference between these then we will have a lot of issues , like depression, suicide and a lot more. The basic point drills down to understanding who I am ? What I am capable of ? and what I need to look for ? If we know the answers to all these question I feel we solve a lot of issues in our life.

If we want a big mansion and if we are not doing anything about it , then there will be very rare chance of we buying a mansion.If we dream about it and if we cannot get it, then we will end up in depression and negative thoughts in mind. so it is always best to know the answer to the above questions.

radbox.me.
chart.io
Dinevore
SocialWorkout
Ohours.org

I happened to go to one of the tech meetup in NYC.
So i happened to see some cool products, so i thought I will share some of them with you.

After going to meetup's I feel i need a separate brain so that i can process everything what I heard. There is a huge explosion of new trends and products lines so it feels like someone said “60% of the existing companies will perish in next 10 years.” I kind of started thinking whether it is true.

radbox.me

This is the one i really liked. I always watch a lot of videos in different sites and it is hard for me find it after some time. mostly technology videos. I always thought about having a common place for all my favorite videos. here comes radbox.me As I am in office before heading home I browse a no of videos which i want to see on my way home, so that I can use that time properly. To your knowledge i am talking about presentation from technology gurus.. Of course I can watch movie too.. It is our choice whether to use it for good or bad....This comes handy. I can add all my videos into my profile and i can watch one after another on my phone.

chart.io

This is basically a google analytics for DB. You can monitor the data in the db like how many rows got inserted today. Whether the row count is crossing a limit. What tables are used most often? This is pretty easy to develop too. The only thing is for ui actions we need to run scripts in the db. At present this does not support sql but i am sure this will in future. This is definitely a nice one.

Dinevore.

I happened to see the presentation of this product from the ceo and founder. To be honest i didn’t like the presentation but the product and concept i liked. There is a lot to be done in this product. I work in downtown and try to use this to find a nice restaurant but i couldn’t find any nearby. That is sad but the product is promising if we have all the restaurant and menus available and in future if we can order from it this can make a difference in our life. Waiting for long queues to get our lunch is frustrating.

SocialWorkout

I am not sure whether this will come out as promising as we look at it but I feel this definitely will be a platform which can be used for events like nyc marathon etc. or I need to be a work out freak who does it regularly and have enough time for it . I am kind of a person who has no time to work out in my busy schedule and use an application for monitoring the work out will be too much for me. No time sorry..But can be good for people who take work out seriously.

Ohours.org

I am not sure about this too. This is basically like meeting people online. A common platform for meeting people online and schedule meetings.I feel if i can schedule all my meetings in a common place it would be nice but to tell others I am meeting this persons will be a privacy issue.

Basics of encryption

December 28, 2010

Why do we need encryption ? There will be lot of reasons.

I just want to specifically talk about encrypting Database values. We don't want the administrators to figure out the content in the database by doing a simple select query. What values do we encrypt ? Mostly password , credit card info etc.

How do we encrypt ? I am using c# and .net framework to explain this process.

This is all we need to do. we need to convert the specified string into bytes. we need to use some kind of hashing algorithm to do the encryption. The easily available one are "Rijndael","TripleDES","RC2","SHA512". Then it is a couple of lines of code.

HashAlgorithm h = HashAlgorithm.Create("SHA512");

ret = Convert.ToBase64String(h.ComputeHash(bytes));

Best way to check for user authentication when the password is encrypted.

Read the existing encrypted password in the database and then check it with the user entered password but please encrypt the user entered password before you do a compare so that the values can be equated if both of them are equal. you know what to do..

Social media in business..

December 23, 2010

Couple of things which I have seen relevant.

The pure capitalistic way will not work in social media. I feel the rules are changing for doing business. If companies are not changing it is hard to stay float.

  • Social media is not free and it is not about you…
  • Social media will not take you to next level. It will help.
  • Social media cannot make up for a bad product or service.
  • Listen first and always listen
  • Try to get a picture of who your customers are, and who you want them to be.
  • convert your current customers.
  • Respond to all of the bad comments.
  • Respond to the good comments too.
  • Determine formal or informal ways you can reward your most loyal and influential customers.
  • Be authentic.
  • Be honest & transparent.
  • Ask a lot of questions?
  • Provide value for free.
  • Share stories.
  • Inspire your customers to share stories
  • Use social network ads carefully & efficiently
  • Admit when you f—k up - & then use it for your advantage.
  • Consistently deliver excitement, surprise, & delight
  • Don’t sell! Just make it hard for customers to say no.

Did any one thought how important the hair cut is ?

If not believe me, if you live and work in NYC or in any big cities. How we look is more important than how useful we are.

Just some basics, every one has a different face shape. so it is important how we choose our hair cut. You can cut it from a barber shop for 8$. Great..then if you need to tell the person how to cut and if he has enough patience to hear what you are saying and more than that, you should know what is best for you. otherwise take my advice go to a nice place talk to a hair professional and discuss what you want ? based on your interest, your profession etc.... You cannot cut your hair like an artist and go to work in a fortune 500. As everything come with a cost you need to at least spend some 80$ with tip to get it right. This is for men ok. I don't have any clue about woman's hair cut. It a field I will learn after getting married. Hope fully I will learn something from my wife.

If you live in midtown NYC.I can give you some suggestions. ericafleischman.com This is a nice place, Please don't repeat the mistake I did. please visit them on a weekend or when you have enough time. Don't do it after work. Everyone want to go home so you wont get what you are really looking for.

This is a nice small place.I got an appointment with Sara Kay. she is one of the stylist. She is nice and I am happy she knows what she is doing. The best part here is, if you are some one who drinks occasionally. you can get a 12 year old Scotch whisky free. This is included in the cost. Be decent atleast. Since I stopped this habit I fealt bad. You can drink while you are getting a hair cut and don't worry about scissors scratching your head. You will never feel that some one is cutting your hair. They are so professional and decent. Most of then time you will get it done in 45 minutes.

Please check it out if you are ready for a hair cut.

Since I am from the software field. This reminds me of offshoring. There are shops here in NYC who will cut you hair at 8$ or at 800$. End of the day what are they doing... cutting your hair... Do both of them have customers ? yes. It doesn't matter how much offshore companies reduce the rate, people are going to go with who are good. Price is only a matter to someone who don't know what they want ?