Writing the loss function: AI, feeds, and the engagement optimizer | Hacker News Reader