stateline
                                
                                
                                
                                    stateline copied to clipboard
                            
                            
                            
                        Distributed Markov Chain Monte Carlo
This was a major refactor to make the comms system faster :rocket: Major Changes: - Renamed worker to agent and minion to worker. - We now use a binary protocol...
- Malloc - [ ] mcmc::ChainArray::lastState (unnecessary copy on return) [ez fix] - [ ] mcmc::bouncyBounds (allocates a lot of matrices and vectors) - [ ] mcmc::ChainArray::append (copies the sample...
Spdlog is probably the fastest logging library out there. It's also single header file. I played around with it and it is easy to use so far. EDIT: ezlog has...
Use run length encoding to reduce space. Maybe switch to binary format, or even use something compression library such as snappy (https://github.com/google/snappy).
Logging is currently very ad-hoc. We need some standard for what to log. https://geekdetected.files.wordpress.com/2013/12/effective-logging-practices-ease-enterprise-development.pdf http://stackify.com/smarter-errors-logs-putting-data-work-2/ http://stackoverflow.com/questions/12479394/best-practices-for-logging-server-applications-what-content-should-be-logged
Benefits: - `uint` is not a standard type. No more special handling for OS X. - Backwards `uint` loops are weird. - We don't actually need the range of uint....
For real-time statistics, we should send that stuff to Graphite instead of rolling our own REST API and frontend.
This is solely a cosmetic issue: In the console output for stateline server, it would be great to find a better way to display large energies. This is what happens...