Get off your phone, take your earbuds out, and stop being so damn rude! Also, don't give money to the panhandlers; they use it to smoke crack in the back alley.
You'll often encounter a homeless person who expects change in return for opening the door for you. Don't feel compelled you have to give money if this happens to you.