this is a small daemon I rigged up to collect data from reddit's /r/thebutton social experiment. to run it, you will need:
- redis running on localhost
- to
npm install needle redis moment ws
it should collect data like this:
- it will make a redis hash called
clickswith participant number (with comma) as key and seconds left as value - it will make a redis key called
recordwith the lowest recorded amount of seconds left as value - it will publish every click on
thebutton.clicksand every tick onthebutton.ticks