Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Yes, Python is Slow, and I Don’t Care. Parent comment
case class Probability(value: Double) { require(value <= 0 && value >= 1, "probability must be between 0 and 1" }