{"action":"created","issue":{"url":"https://api.github.com/repos/probmods/webppl/issues/697","repository_url":"https://api.github.com/repos/probmods/webppl","labels_url":"https://api.github.com/repos/probmods/webppl/issues/697/labels{/name}","comments_url":"https://api.github.com/repos/probmods/webppl/issues/697/comments","events_url":"https://api.github.com/repos/probmods/webppl/issues/697/events","html_url":"https://github.com/probmods/webppl/pull/697","id":187488387,"number":697,"title":"Dream learning","user":{"login":"dorarad","id":22748780,"avatar_url":"https://avatars.githubusercontent.com/u/22748780?v=3","gravatar_id":"","url":"https://api.github.com/users/dorarad","html_url":"https://github.com/dorarad","followers_url":"https://api.github.com/users/dorarad/followers","following_url":"https://api.github.com/users/dorarad/following{/other_user}","gists_url":"https://api.github.com/users/dorarad/gists{/gist_id}","starred_url":"https://api.github.com/users/dorarad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorarad/subscriptions","organizations_url":"https://api.github.com/users/dorarad/orgs","repos_url":"https://api.github.com/users/dorarad/repos","events_url":"https://api.github.com/users/dorarad/events{/privacy}","received_events_url":"https://api.github.com/users/dorarad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-11-05T10:11:33Z","updated_at":"2016-11-24T00:11:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/probmods/webppl/pulls/697","html_url":"https://github.com/probmods/webppl/pull/697","diff_url":"https://github.com/probmods/webppl/pull/697.diff","patch_url":"https://github.com/probmods/webppl/pull/697.patch"},"body":"Try again after updating gitignore and gruntfile."},"comment":{"url":"https://api.github.com/repos/probmods/webppl/issues/comments/262660376","html_url":"https://github.com/probmods/webppl/pull/697#issuecomment-262660376","issue_url":"https://api.github.com/repos/probmods/webppl/issues/697","id":262660376,"user":{"login":"dorarad","id":22748780,"avatar_url":"https://avatars.githubusercontent.com/u/22748780?v=3","gravatar_id":"","url":"https://api.github.com/users/dorarad","html_url":"https://github.com/dorarad","followers_url":"https://api.github.com/users/dorarad/followers","following_url":"https://api.github.com/users/dorarad/following{/other_user}","gists_url":"https://api.github.com/users/dorarad/gists{/gist_id}","starred_url":"https://api.github.com/users/dorarad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorarad/subscriptions","organizations_url":"https://api.github.com/users/dorarad/orgs","repos_url":"https://api.github.com/users/dorarad/repos","events_url":"https://api.github.com/users/dorarad/events{/privacy}","received_events_url":"https://api.github.com/users/dorarad/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T00:11:25Z","updated_at":"2016-11-24T00:11:25Z","body":"@dritchie I added support of keeping history following our discussion above. The current implementation keeps only most recent params by default, and when keepParamsHistory is true, then it records previous updates in a JSON array, removing and re-appending the ']' every write, so that this is safe against crashes.\r\n\r\nExample of output with keepParamsHistory = false:\r\n{\"_156_$$0_155$mf$Bernoulli$p\":[{\"dims\":[1],\"length\":1,\"data\":[1.4708630715902236]}]}\r\n\r\nExample of output with keepParamsHistory = true:\r\n[{\"_156_$$0_155$mf$Bernoulli$p\":[{\"dims\":[1],\"length\":1,\"data\":[0]}]},\r\n{\"_156_$$0_155$mf$Bernoulli$p\":[{\"dims\":[1],\"length\":1,\"data\":[0.044778214342635486]}]},\r\n{\"_156_$$0_155$mf$Bernoulli$p\":[{\"dims\":[1],\"length\":1,\"data\":[0.09448171834945263]}]},\r\n{\"_156_$$0_155$mf$Bernoulli$p\":[{\"dims\":[1],\"length\":1,\"data\":[0.14197375650811456]}]}]\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"dorarad"}}