cassie for cassiopeia , the constellation , the queen tied to her chair in the northern sky , who was beautiful but vain , placed in the heavens by the sea god poseidon as a punishment for her boasting .