Dave's page

Recent Articles:




A Raspberry Pi HTTP REST software stack

This post describes software that can be used to implement HTTP REST applications that can run on the Raspberry Pi under Raspbian Linux (and other Linux variants, too). We also discuss how to install and configure that software, and how to use flask and flask-restful to implement REST API and REST applications.


A gen_statem FSM server with state

This post discusses the implementation of and FSM (finite state machine) in Erlang with the gen_statem module. In this implementation we enable the server/FSM to carry some internal state whose value is different for each of multiple instances of the server process.