Log-probabilities, semirings and floating point numbers | Hacker News Reader