Certain people go to others looking for advice. With negative people, however, that's rarely the case. Rather, negative people usually just want to let off steam; hearing advice or rational things in heated moments of frustration rarely help. If you want to be able to maintain your positive attitude while engaging with someone negative, listen to and understand his or her frustration--but don't get more involved than that.