Yeah...it generally sounds stupid coming from anyone's mouth. But I've heard it used in situations where the speaker has just watched someone, oh say, take a nose dive into the concrete while attempting a stunt on a bike or skateboard. Or the speaker has just beaten someone in a game of cards or something. I think it's generally used after you have 'dissed' somebody.
no subject
As to where it comes from, I haven't a clue.