machine learning notes, and a new js tutorial on how to add inline form for child relations