News for hackers. Stuff that matters.
Re:Ask HN: What's your speciality, and what's your "FizzBuzz... by jules on Thursday January 02, 2014 @12:16PM (#7000691)
The probability of heads is

    0.999*0.5 + 0.001*1 = 0.5005
The important thing is that as you observe heads from the coin, you learn something about the coin. As you observe more heads it is less likely to be a fair coin and more likely to be the coin with double heads. This doesn't change anything about the coin, but it changes something about what you know about the coin. See here for the correct answer: https://news.ycombinator.com/item?id=7000523
Re:Ask HN: What's your speciality, and what's your "FizzBuzz... by joezydeco on Thursday January 02, 2014 @12:52PM (#7000915)
Since the question simply asked what p(heads) was on the next flip, it seems our answers match. Thanks!
Re:Ask HN: What's your speciality, and what's your "FizzBuzz... by jules on Thursday January 02, 2014 @01:41PM (#7001275)
Our answers to your question may match, but I very much doubt that our answers on the original question match. The crux is that your question is not equivalent to the original question. If you are interested in learning why that is I can explain it further, but it doesn't look like you are?
Re:Ask HN: What's your speciality, and what's your "FizzBuzz... by joezydeco on Thursday January 02, 2014 @02:01PM (#7001416)
Okay yeah, I'm stupid for pressing on while crntaylor already gave his answer. I'll shut up now.
Re:Ask HN: What's your speciality, and what's your "FizzBuzz... by baddox on Thursday January 02, 2014 @01:51PM (#7001345)
Not at all. The answer is about 0.75, and stated in the answer jules linked to.