Terry Pratchett said this quote

That's Third Thoughts for you. When a huge rock is going to land on your head, they're the thoughts that think: Is that an igneous rock, such as granite, or is it sandstone?