News for hackers. Stuff that matters.
Re:Ask HN: We just had an actual UUID v4 collision... by susam on Saturday May 09, 2026 @09:14PM (#48079988)
Independence tells us how to compute the probability of a sequence like HT or TH:

  P(HT) = P(H)P(T) = p(1 - p)
But the question I am addressing is not just "what is the probability of HT?" It is "given that the two flips are different, what is the probability that the order was HT rather than TH?"

That is a conditional probability:

  P(HT | HT or TH)

There are no comments on this comment yet.