Things I learned from reading and writing the PouchDB source | Hacker News Reader