something that is bittersweet
getting a good half and a bad half to something.
John: So Tom did u get that English class you wanted?
Tom: Yea man. I love it. However the teacher is a total bitch!
John: Yea, well you can't have your cake and eat it too.