New top story on Hacker News: A tutorial on the free-energy framework for modelling perception and learning