implementation of Twitter's snowflake algorithm as a standalone daemon