Tom Hunger [Mon, 22 Dec 2014 18:05:05 +0000 (18:05 +0000)]
Initial protocol sketch for maintaining the bridge/device state.
This version is dealing just with state initiated by bridges and
devices. The only "user-initiated" state is a fake claims database.
The next step is specifying a database schema that allows modifying
the little printer world, e.g. claiming one, queuing messages etc.
The last step is making sure that these intentions are communicated
down-stream + dealing with any errors that can arise (timeout, printer
out of paper etc.).
Matt Webb [Sat, 27 Sep 2014 08:59:29 +0000 (09:59 +0100)]
milestone -- now printing arbitrary html loaded from a string. the image rendering isn't so great because it's the wrong width, and it's slow because it's sychronous, but it works
Matt Webb [Thu, 25 Sep 2014 21:11:28 +0000 (22:11 +0100)]
the most appalling shitshower of shoddy code that i'm only committing now because it barely works and i mean BARELY and i'd better commit it before it collapses under its own shitness. in other news, i have an async command sender - not quite redis but soon - and an event handler than works in the right app context. plus mostly things work through models. and i can print images. the core messaging system is functional, even if it is made out of tictacs and string