{"action":"created","issue":{"url":"https://api.github.com/repos/leonsim/simhash/issues/22","repository_url":"https://api.github.com/repos/leonsim/simhash","labels_url":"https://api.github.com/repos/leonsim/simhash/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/leonsim/simhash/issues/22/comments","events_url":"https://api.github.com/repos/leonsim/simhash/issues/22/events","html_url":"https://github.com/leonsim/simhash/pull/22","id":197907027,"number":22,"title":"Allow for incremental hashing.","user":{"login":"btimby","id":669270,"avatar_url":"https://avatars.githubusercontent.com/u/669270?v=3","gravatar_id":"","url":"https://api.github.com/users/btimby","html_url":"https://github.com/btimby","followers_url":"https://api.github.com/users/btimby/followers","following_url":"https://api.github.com/users/btimby/following{/other_user}","gists_url":"https://api.github.com/users/btimby/gists{/gist_id}","starred_url":"https://api.github.com/users/btimby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btimby/subscriptions","organizations_url":"https://api.github.com/users/btimby/orgs","repos_url":"https://api.github.com/users/btimby/repos","events_url":"https://api.github.com/users/btimby/events{/privacy}","received_events_url":"https://api.github.com/users/btimby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-28T19:51:40Z","updated_at":"2016-12-29T05:45:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/leonsim/simhash/pulls/22","html_url":"https://github.com/leonsim/simhash/pull/22","diff_url":"https://github.com/leonsim/simhash/pull/22.diff","patch_url":"https://github.com/leonsim/simhash/pull/22.patch"},"body":"Hi, this change leaves the interface intact, but allows for incremental hashing of files. Ala:\r\n\r\n```\r\nhash = Simhash()\r\nhash.update(block1)\r\nhash.update(block2)\r\n# Call to finalize() is optional\r\nhash.finalize()\r\nprint hash.value\r\n```"},"comment":{"url":"https://api.github.com/repos/leonsim/simhash/issues/comments/269584754","html_url":"https://github.com/leonsim/simhash/pull/22#issuecomment-269584754","issue_url":"https://api.github.com/repos/leonsim/simhash/issues/22","id":269584754,"user":{"login":"btimby","id":669270,"avatar_url":"https://avatars.githubusercontent.com/u/669270?v=3","gravatar_id":"","url":"https://api.github.com/users/btimby","html_url":"https://github.com/btimby","followers_url":"https://api.github.com/users/btimby/followers","following_url":"https://api.github.com/users/btimby/following{/other_user}","gists_url":"https://api.github.com/users/btimby/gists{/gist_id}","starred_url":"https://api.github.com/users/btimby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btimby/subscriptions","organizations_url":"https://api.github.com/users/btimby/orgs","repos_url":"https://api.github.com/users/btimby/repos","events_url":"https://api.github.com/users/btimby/events{/privacy}","received_events_url":"https://api.github.com/users/btimby/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T05:45:16Z","updated_at":"2016-12-29T05:45:16Z","body":"That is a concern, but it is handled by my code. The final token of each block is buffered and combined with the next block. I included unit tests that verify tokens are handled properly over block boundaries."}}
{"actor":{"display_login":"btimby"}}