Many keep their salary a secret from their colleagues, but an article in The New York Times suggests that asking your friends how much they make can help you when asking for a raise.