A tutorial on the free-energy framework for modelling perception and learning | Hacker News Reader