Actually it's an euphemism for a word "блядь", which is an offensive form of 'bitch'. It was vulgar for the first five or six years, but now that a whole generation has grown up that doesn't immeadiately remember the Other word when people say "блин", it started meaning something like 'damn'.
no subject