Hacker News new | ask | show | jobs
by kisonecat 2847 days ago
The biggest trick here is that TeX source like $\answer{2} + 1 = 3$ provides "answer blank + 1 = 3" on the web, but you can do more complicated things like $\sqrt{\answer{4}} = 2$.

The website uses Fraser's differential synchronization algorithm, so a student's work is saved as they do it -- and that happens in real time, so an instructor can "look over their shoulder" and watch a student working in real time. The server is actually a git server, so an author publishes content by performing a git push, and because the server knows the history of the content, the server provides the version of the content on which the student last did work.