{"action":"created","comment":{"url":"https://api.github.com/repos/xichen2020/eventdb/pulls/comments/241250409","pull_request_review_id":184475626,"id":241250409,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTI1MDQwOQ==","diff_hunk":"@@ -13,7 +13,7 @@ func WriteInt(x uint64, n int, buf []byte) {\n // Precondition: n <= 8 && len(buf) >= n\n func ReadInt(n int, buf []byte) uint64 {\n \tvar x uint64\n-\tfor i := 0; i < n; i++ {\n+\tfor i := n - 1; i >= 0; i-- {","path":"x/io/int.go","position":5,"original_position":5,"commit_id":"f10d39bc51edba0ac42f3af5e362ebcbd24640d2","original_commit_id":"f10d39bc51edba0ac42f3af5e362ebcbd24640d2","user":{"login":"xichen2020","id":12239421,"node_id":"MDQ6VXNlcjEyMjM5NDIx","avatar_url":"https://avatars1.githubusercontent.com/u/12239421?v=4","gravatar_id":"","url":"https://api.github.com/users/xichen2020","html_url":"https://github.com/xichen2020","followers_url":"https://api.github.com/users/xichen2020/followers","following_url":"https://api.github.com/users/xichen2020/following{/other_user}","gists_url":"https://api.github.com/users/xichen2020/gists{/gist_id}","starred_url":"https://api.github.com/users/xichen2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xichen2020/subscriptions","organizations_url":"https://api.github.com/users/xichen2020/orgs","repos_url":"https://api.github.com/users/xichen2020/repos","events_url":"https://api.github.com/users/xichen2020/events{/privacy}","received_events_url":"https://api.github.com/users/xichen2020/received_events","type":"User","site_admin":false},"body":"Good catch, this is why we need unit tests lol.","created_at":"2018-12-13T02:00:26Z","updated_at":"2018-12-13T02:00:34Z","html_url":"https://github.com/xichen2020/eventdb/pull/40#discussion_r241250409","pull_request_url":"https://api.github.com/repos/xichen2020/eventdb/pulls/40","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/xichen2020/eventdb/pulls/comments/241250409"},"html":{"href":"https://github.com/xichen2020/eventdb/pull/40#discussion_r241250409"},"pull_request":{"href":"https://api.github.com/repos/xichen2020/eventdb/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/xichen2020/eventdb/pulls/40","id":237870767,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3ODcwNzY3","html_url":"https://github.com/xichen2020/eventdb/pull/40","diff_url":"https://github.com/xichen2020/eventdb/pull/40.diff","patch_url":"https://github.com/xichen2020/eventdb/pull/40.patch","issue_url":"https://api.github.com/repos/xichen2020/eventdb/issues/40","number":40,"state":"open","locked":false,"title":"Add impl for double encoder and decoder.","user":{"login":"notbdu","id":8580333,"node_id":"MDQ6VXNlcjg1ODAzMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8580333?v=4","gravatar_id":"","url":"https://api.github.com/users/notbdu","html_url":"https://github.com/notbdu","followers_url":"https://api.github.com/users/notbdu/followers","following_url":"https://api.github.com/users/notbdu/following{/other_user}","gists_url":"https://api.github.com/users/notbdu/gists{/gist_id}","starred_url":"https://api.github.com/users/notbdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notbdu/subscriptions","organizations_url":"https://api.github.com/users/notbdu/orgs","repos_url":"https://api.github.com/users/notbdu/repos","events_url":"https://api.github.com/users/notbdu/events{/privacy}","received_events_url":"https://api.github.com/users/notbdu/received_events","type":"User","site_admin":false},"body":"Adds an implementation for double encoding/decoding. We are encoding the values as is using the golang stdlib binary Read/Write impl. ","created_at":"2018-12-12T00:09:20Z","updated_at":"2018-12-13T02:00:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5152be081d1a7cf03058f032467f5dc111f23fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/xichen2020/eventdb/pulls/40/commits","review_comments_url":"https://api.github.com/repos/xichen2020/eventdb/pulls/40/comments","review_comment_url":"https://api.github.com/repos/xichen2020/eventdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xichen2020/eventdb/issues/40/comments","statuses_url":"https://api.github.com/repos/xichen2020/eventdb/statuses/f10d39bc51edba0ac42f3af5e362ebcbd24640d2","head":{"label":"xichen2020:bdu/doubleenc","ref":"bdu/doubleenc","sha":"f10d39bc51edba0ac42f3af5e362ebcbd24640d2","user":{"login":"xichen2020","id":12239421,"node_id":"MDQ6VXNlcjEyMjM5NDIx","avatar_url":"https://avatars1.githubusercontent.com/u/12239421?v=4","gravatar_id":"","url":"https://api.github.com/users/xichen2020","html_url":"https://github.com/xichen2020","followers_url":"https://api.github.com/users/xichen2020/followers","following_url":"https://api.github.com/users/xichen2020/following{/other_user}","gists_url":"https://api.github.com/users/xichen2020/gists{/gist_id}","starred_url":"https://api.github.com/users/xichen2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xichen2020/subscriptions","organizations_url":"https://api.github.com/users/xichen2020/orgs","repos_url":"https://api.github.com/users/xichen2020/repos","events_url":"https://api.github.com/users/xichen2020/events{/privacy}","received_events_url":"https://api.github.com/users/xichen2020/received_events","type":"User","site_admin":false},"repo":{"id":157281610,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyODE2MTA=","name":"eventdb","full_name":"xichen2020/eventdb","private":false,"owner":{"login":"xichen2020","id":12239421,"node_id":"MDQ6VXNlcjEyMjM5NDIx","avatar_url":"https://avatars1.githubusercontent.com/u/12239421?v=4","gravatar_id":"","url":"https://api.github.com/users/xichen2020","html_url":"https://github.com/xichen2020","followers_url":"https://api.github.com/users/xichen2020/followers","following_url":"https://api.github.com/users/xichen2020/following{/other_user}","gists_url":"https://api.github.com/users/xichen2020/gists{/gist_id}","starred_url":"https://api.github.com/users/xichen2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xichen2020/subscriptions","organizations_url":"https://api.github.com/users/xichen2020/orgs","repos_url":"https://api.github.com/users/xichen2020/repos","events_url":"https://api.github.com/users/xichen2020/events{/privacy}","received_events_url":"https://api.github.com/users/xichen2020/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xichen2020/eventdb","description":"Storage for discrete events such as log events or tracing events ","fork":false,"url":"https://api.github.com/repos/xichen2020/eventdb","forks_url":"https://api.github.com/repos/xichen2020/eventdb/forks","keys_url":"https://api.github.com/repos/xichen2020/eventdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xichen2020/eventdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xichen2020/eventdb/teams","hooks_url":"https://api.github.com/repos/xichen2020/eventdb/hooks","issue_events_url":"https://api.github.com/repos/xichen2020/eventdb/issues/events{/number}","events_url":"https://api.github.com/repos/xichen2020/eventdb/events","assignees_url":"https://api.github.com/repos/xichen2020/eventdb/assignees{/user}","branches_url":"https://api.github.com/repos/xichen2020/eventdb/branches{/branch}","tags_url":"https://api.github.com/repos/xichen2020/eventdb/tags","blobs_url":"https://api.github.com/repos/xichen2020/eventdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xichen2020/eventdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xichen2020/eventdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/xichen2020/eventdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xichen2020/eventdb/statuses/{sha}","languages_url":"https://api.github.com/repos/xichen2020/eventdb/languages","stargazers_url":"https://api.github.com/repos/xichen2020/eventdb/stargazers","contributors_url":"https://api.github.com/repos/xichen2020/eventdb/contributors","subscribers_url":"https://api.github.com/repos/xichen2020/eventdb/subscribers","subscription_url":"https://api.github.com/repos/xichen2020/eventdb/subscription","commits_url":"https://api.github.com/repos/xichen2020/eventdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/xichen2020/eventdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/xichen2020/eventdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/xichen2020/eventdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/xichen2020/eventdb/contents/{+path}","compare_url":"https://api.github.com/repos/xichen2020/eventdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xichen2020/eventdb/merges","archive_url":"https://api.github.com/repos/xichen2020/eventdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xichen2020/eventdb/downloads","issues_url":"https://api.github.com/repos/xichen2020/eventdb/issues{/number}","pulls_url":"https://api.github.com/repos/xichen2020/eventdb/pulls{/number}","milestones_url":"https://api.github.com/repos/xichen2020/eventdb/milestones{/number}","notifications_url":"https://api.github.com/repos/xichen2020/eventdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xichen2020/eventdb/labels{/name}","releases_url":"https://api.github.com/repos/xichen2020/eventdb/releases{/id}","deployments_url":"https://api.github.com/repos/xichen2020/eventdb/deployments","created_at":"2018-11-12T21:48:05Z","updated_at":"2018-12-11T21:36:42Z","pushed_at":"2018-12-12T18:23:57Z","git_url":"git://github.com/xichen2020/eventdb.git","ssh_url":"git@github.com:xichen2020/eventdb.git","clone_url":"https://github.com/xichen2020/eventdb.git","svn_url":"https://github.com/xichen2020/eventdb","homepage":null,"size":930,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"xichen2020:master","ref":"master","sha":"b6f9c8bca8e45e61449a66765cf14d40ec6cb5f1","user":{"login":"xichen2020","id":12239421,"node_id":"MDQ6VXNlcjEyMjM5NDIx","avatar_url":"https://avatars1.githubusercontent.com/u/12239421?v=4","gravatar_id":"","url":"https://api.github.com/users/xichen2020","html_url":"https://github.com/xichen2020","followers_url":"https://api.github.com/users/xichen2020/followers","following_url":"https://api.github.com/users/xichen2020/following{/other_user}","gists_url":"https://api.github.com/users/xichen2020/gists{/gist_id}","starred_url":"https://api.github.com/users/xichen2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xichen2020/subscriptions","organizations_url":"https://api.github.com/users/xichen2020/orgs","repos_url":"https://api.github.com/users/xichen2020/repos","events_url":"https://api.github.com/users/xichen2020/events{/privacy}","received_events_url":"https://api.github.com/users/xichen2020/received_events","type":"User","site_admin":false},"repo":{"id":157281610,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyODE2MTA=","name":"eventdb","full_name":"xichen2020/eventdb","private":false,"owner":{"login":"xichen2020","id":12239421,"node_id":"MDQ6VXNlcjEyMjM5NDIx","avatar_url":"https://avatars1.githubusercontent.com/u/12239421?v=4","gravatar_id":"","url":"https://api.github.com/users/xichen2020","html_url":"https://github.com/xichen2020","followers_url":"https://api.github.com/users/xichen2020/followers","following_url":"https://api.github.com/users/xichen2020/following{/other_user}","gists_url":"https://api.github.com/users/xichen2020/gists{/gist_id}","starred_url":"https://api.github.com/users/xichen2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xichen2020/subscriptions","organizations_url":"https://api.github.com/users/xichen2020/orgs","repos_url":"https://api.github.com/users/xichen2020/repos","events_url":"https://api.github.com/users/xichen2020/events{/privacy}","received_events_url":"https://api.github.com/users/xichen2020/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xichen2020/eventdb","description":"Storage for discrete events such as log events or tracing events ","fork":false,"url":"https://api.github.com/repos/xichen2020/eventdb","forks_url":"https://api.github.com/repos/xichen2020/eventdb/forks","keys_url":"https://api.github.com/repos/xichen2020/eventdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xichen2020/eventdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xichen2020/eventdb/teams","hooks_url":"https://api.github.com/repos/xichen2020/eventdb/hooks","issue_events_url":"https://api.github.com/repos/xichen2020/eventdb/issues/events{/number}","events_url":"https://api.github.com/repos/xichen2020/eventdb/events","assignees_url":"https://api.github.com/repos/xichen2020/eventdb/assignees{/user}","branches_url":"https://api.github.com/repos/xichen2020/eventdb/branches{/branch}","tags_url":"https://api.github.com/repos/xichen2020/eventdb/tags","blobs_url":"https://api.github.com/repos/xichen2020/eventdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xichen2020/eventdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xichen2020/eventdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/xichen2020/eventdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xichen2020/eventdb/statuses/{sha}","languages_url":"https://api.github.com/repos/xichen2020/eventdb/languages","stargazers_url":"https://api.github.com/repos/xichen2020/eventdb/stargazers","contributors_url":"https://api.github.com/repos/xichen2020/eventdb/contributors","subscribers_url":"https://api.github.com/repos/xichen2020/eventdb/subscribers","subscription_url":"https://api.github.com/repos/xichen2020/eventdb/subscription","commits_url":"https://api.github.com/repos/xichen2020/eventdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/xichen2020/eventdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/xichen2020/eventdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/xichen2020/eventdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/xichen2020/eventdb/contents/{+path}","compare_url":"https://api.github.com/repos/xichen2020/eventdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xichen2020/eventdb/merges","archive_url":"https://api.github.com/repos/xichen2020/eventdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xichen2020/eventdb/downloads","issues_url":"https://api.github.com/repos/xichen2020/eventdb/issues{/number}","pulls_url":"https://api.github.com/repos/xichen2020/eventdb/pulls{/number}","milestones_url":"https://api.github.com/repos/xichen2020/eventdb/milestones{/number}","notifications_url":"https://api.github.com/repos/xichen2020/eventdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xichen2020/eventdb/labels{/name}","releases_url":"https://api.github.com/repos/xichen2020/eventdb/releases{/id}","deployments_url":"https://api.github.com/repos/xichen2020/eventdb/deployments","created_at":"2018-11-12T21:48:05Z","updated_at":"2018-12-11T21:36:42Z","pushed_at":"2018-12-12T18:23:57Z","git_url":"git://github.com/xichen2020/eventdb.git","ssh_url":"git@github.com:xichen2020/eventdb.git","clone_url":"https://github.com/xichen2020/eventdb.git","svn_url":"https://github.com/xichen2020/eventdb","homepage":null,"size":930,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xichen2020/eventdb/pulls/40"},"html":{"href":"https://github.com/xichen2020/eventdb/pull/40"},"issue":{"href":"https://api.github.com/repos/xichen2020/eventdb/issues/40"},"comments":{"href":"https://api.github.com/repos/xichen2020/eventdb/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/xichen2020/eventdb/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/xichen2020/eventdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xichen2020/eventdb/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/xichen2020/eventdb/statuses/f10d39bc51edba0ac42f3af5e362ebcbd24640d2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"xichen2020"}}