Side by side in the same lane while moving is a big no-no unless you're CHiPs.
When passing another rider in the same lane (like on a 2 lane road), I always make sure the other rider knows where I am and my intentions first. Usually a slower rider will wave you by.