NCAA seedings ... WTF?

How the hell did Texas get a #8 seed? They cratered through the last half of the season, and whimpered their way out of the conference tournament. Should have been lower.
And can someone explain this to me? Duke got the #3 overall seed (another gift to a marquee program, in my opinion, but that's another conversation). Why does Duke — and not Kansas, the #1 overall seed — get the winner of the play-in game?
And can someone explain this to me? Duke got the #3 overall seed (another gift to a marquee program, in my opinion, but that's another conversation). Why does Duke — and not Kansas, the #1 overall seed — get the winner of the play-in game?