{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/danluu/debugging-stories/pulls/36","id":58137796,"html_url":"https://github.com/danluu/debugging-stories/pull/36","diff_url":"https://github.com/danluu/debugging-stories/pull/36.diff","patch_url":"https://github.com/danluu/debugging-stories/pull/36.patch","issue_url":"https://api.github.com/repos/danluu/debugging-stories/issues/36","number":36,"state":"open","locked":false,"title":"Add a story about random number collision","user":{"login":"jyrkive","id":1665617,"avatar_url":"https://avatars.githubusercontent.com/u/1665617?v=3","gravatar_id":"","url":"https://api.github.com/users/jyrkive","html_url":"https://github.com/jyrkive","followers_url":"https://api.github.com/users/jyrkive/followers","following_url":"https://api.github.com/users/jyrkive/following{/other_user}","gists_url":"https://api.github.com/users/jyrkive/gists{/gist_id}","starred_url":"https://api.github.com/users/jyrkive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyrkive/subscriptions","organizations_url":"https://api.github.com/users/jyrkive/orgs","repos_url":"https://api.github.com/users/jyrkive/repos","events_url":"https://api.github.com/users/jyrkive/events{/privacy}","received_events_url":"https://api.github.com/users/jyrkive/received_events","type":"User","site_admin":false},"body":"An interesting story from Betable developers. They assign a random identifier to each API request, each identifier being a randomly generated 22-character string. The probability for duplicate identifiers should have been almost zero, but they eventually discovered that duplicate identifiers had indeed been generated. They had to look into the RNG implementation in the V8 JavaScript engine to find the cause.","created_at":"2016-02-03T13:38:17Z","updated_at":"2016-02-03T13:38:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/danluu/debugging-stories/pulls/36/commits","review_comments_url":"https://api.github.com/repos/danluu/debugging-stories/pulls/36/comments","review_comment_url":"https://api.github.com/repos/danluu/debugging-stories/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danluu/debugging-stories/issues/36/comments","statuses_url":"https://api.github.com/repos/danluu/debugging-stories/statuses/18500c0c369c14ea8b204c8afb867685b2dd81f3","head":{"label":"jyrkive:random-number-collision","ref":"random-number-collision","sha":"18500c0c369c14ea8b204c8afb867685b2dd81f3","user":{"login":"jyrkive","id":1665617,"avatar_url":"https://avatars.githubusercontent.com/u/1665617?v=3","gravatar_id":"","url":"https://api.github.com/users/jyrkive","html_url":"https://github.com/jyrkive","followers_url":"https://api.github.com/users/jyrkive/followers","following_url":"https://api.github.com/users/jyrkive/following{/other_user}","gists_url":"https://api.github.com/users/jyrkive/gists{/gist_id}","starred_url":"https://api.github.com/users/jyrkive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyrkive/subscriptions","organizations_url":"https://api.github.com/users/jyrkive/orgs","repos_url":"https://api.github.com/users/jyrkive/repos","events_url":"https://api.github.com/users/jyrkive/events{/privacy}","received_events_url":"https://api.github.com/users/jyrkive/received_events","type":"User","site_admin":false},"repo":{"id":40080300,"name":"debugging-stories","full_name":"jyrkive/debugging-stories","owner":{"login":"jyrkive","id":1665617,"avatar_url":"https://avatars.githubusercontent.com/u/1665617?v=3","gravatar_id":"","url":"https://api.github.com/users/jyrkive","html_url":"https://github.com/jyrkive","followers_url":"https://api.github.com/users/jyrkive/followers","following_url":"https://api.github.com/users/jyrkive/following{/other_user}","gists_url":"https://api.github.com/users/jyrkive/gists{/gist_id}","starred_url":"https://api.github.com/users/jyrkive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyrkive/subscriptions","organizations_url":"https://api.github.com/users/jyrkive/orgs","repos_url":"https://api.github.com/users/jyrkive/repos","events_url":"https://api.github.com/users/jyrkive/events{/privacy}","received_events_url":"https://api.github.com/users/jyrkive/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jyrkive/debugging-stories","description":"\"Like this old house, for programmers\" -- droob","fork":true,"url":"https://api.github.com/repos/jyrkive/debugging-stories","forks_url":"https://api.github.com/repos/jyrkive/debugging-stories/forks","keys_url":"https://api.github.com/repos/jyrkive/debugging-stories/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jyrkive/debugging-stories/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jyrkive/debugging-stories/teams","hooks_url":"https://api.github.com/repos/jyrkive/debugging-stories/hooks","issue_events_url":"https://api.github.com/repos/jyrkive/debugging-stories/issues/events{/number}","events_url":"https://api.github.com/repos/jyrkive/debugging-stories/events","assignees_url":"https://api.github.com/repos/jyrkive/debugging-stories/assignees{/user}","branches_url":"https://api.github.com/repos/jyrkive/debugging-stories/branches{/branch}","tags_url":"https://api.github.com/repos/jyrkive/debugging-stories/tags","blobs_url":"https://api.github.com/repos/jyrkive/debugging-stories/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jyrkive/debugging-stories/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jyrkive/debugging-stories/git/refs{/sha}","trees_url":"https://api.github.com/repos/jyrkive/debugging-stories/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jyrkive/debugging-stories/statuses/{sha}","languages_url":"https://api.github.com/repos/jyrkive/debugging-stories/languages","stargazers_url":"https://api.github.com/repos/jyrkive/debugging-stories/stargazers","contributors_url":"https://api.github.com/repos/jyrkive/debugging-stories/contributors","subscribers_url":"https://api.github.com/repos/jyrkive/debugging-stories/subscribers","subscription_url":"https://api.github.com/repos/jyrkive/debugging-stories/subscription","commits_url":"https://api.github.com/repos/jyrkive/debugging-stories/commits{/sha}","git_commits_url":"https://api.github.com/repos/jyrkive/debugging-stories/git/commits{/sha}","comments_url":"https://api.github.com/repos/jyrkive/debugging-stories/comments{/number}","issue_comment_url":"https://api.github.com/repos/jyrkive/debugging-stories/issues/comments{/number}","contents_url":"https://api.github.com/repos/jyrkive/debugging-stories/contents/{+path}","compare_url":"https://api.github.com/repos/jyrkive/debugging-stories/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jyrkive/debugging-stories/merges","archive_url":"https://api.github.com/repos/jyrkive/debugging-stories/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jyrkive/debugging-stories/downloads","issues_url":"https://api.github.com/repos/jyrkive/debugging-stories/issues{/number}","pulls_url":"https://api.github.com/repos/jyrkive/debugging-stories/pulls{/number}","milestones_url":"https://api.github.com/repos/jyrkive/debugging-stories/milestones{/number}","notifications_url":"https://api.github.com/repos/jyrkive/debugging-stories/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jyrkive/debugging-stories/labels{/name}","releases_url":"https://api.github.com/repos/jyrkive/debugging-stories/releases{/id}","deployments_url":"https://api.github.com/repos/jyrkive/debugging-stories/deployments","created_at":"2015-08-02T13:33:32Z","updated_at":"2016-02-03T13:20:59Z","pushed_at":"2016-02-03T13:31:45Z","git_url":"git://github.com/jyrkive/debugging-stories.git","ssh_url":"git@github.com:jyrkive/debugging-stories.git","clone_url":"https://github.com/jyrkive/debugging-stories.git","svn_url":"https://github.com/jyrkive/debugging-stories","homepage":"","size":36,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"danluu:master","ref":"master","sha":"7dd76767ab17106b0a7914cb3a67e95f2669a74a","user":{"login":"danluu","id":157136,"avatar_url":"https://avatars.githubusercontent.com/u/157136?v=3","gravatar_id":"","url":"https://api.github.com/users/danluu","html_url":"https://github.com/danluu","followers_url":"https://api.github.com/users/danluu/followers","following_url":"https://api.github.com/users/danluu/following{/other_user}","gists_url":"https://api.github.com/users/danluu/gists{/gist_id}","starred_url":"https://api.github.com/users/danluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danluu/subscriptions","organizations_url":"https://api.github.com/users/danluu/orgs","repos_url":"https://api.github.com/users/danluu/repos","events_url":"https://api.github.com/users/danluu/events{/privacy}","received_events_url":"https://api.github.com/users/danluu/received_events","type":"User","site_admin":false},"repo":{"id":19165364,"name":"debugging-stories","full_name":"danluu/debugging-stories","owner":{"login":"danluu","id":157136,"avatar_url":"https://avatars.githubusercontent.com/u/157136?v=3","gravatar_id":"","url":"https://api.github.com/users/danluu","html_url":"https://github.com/danluu","followers_url":"https://api.github.com/users/danluu/followers","following_url":"https://api.github.com/users/danluu/following{/other_user}","gists_url":"https://api.github.com/users/danluu/gists{/gist_id}","starred_url":"https://api.github.com/users/danluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danluu/subscriptions","organizations_url":"https://api.github.com/users/danluu/orgs","repos_url":"https://api.github.com/users/danluu/repos","events_url":"https://api.github.com/users/danluu/events{/privacy}","received_events_url":"https://api.github.com/users/danluu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danluu/debugging-stories","description":"A collection of debugging stories. PRs welcome!","fork":false,"url":"https://api.github.com/repos/danluu/debugging-stories","forks_url":"https://api.github.com/repos/danluu/debugging-stories/forks","keys_url":"https://api.github.com/repos/danluu/debugging-stories/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danluu/debugging-stories/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danluu/debugging-stories/teams","hooks_url":"https://api.github.com/repos/danluu/debugging-stories/hooks","issue_events_url":"https://api.github.com/repos/danluu/debugging-stories/issues/events{/number}","events_url":"https://api.github.com/repos/danluu/debugging-stories/events","assignees_url":"https://api.github.com/repos/danluu/debugging-stories/assignees{/user}","branches_url":"https://api.github.com/repos/danluu/debugging-stories/branches{/branch}","tags_url":"https://api.github.com/repos/danluu/debugging-stories/tags","blobs_url":"https://api.github.com/repos/danluu/debugging-stories/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danluu/debugging-stories/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danluu/debugging-stories/git/refs{/sha}","trees_url":"https://api.github.com/repos/danluu/debugging-stories/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danluu/debugging-stories/statuses/{sha}","languages_url":"https://api.github.com/repos/danluu/debugging-stories/languages","stargazers_url":"https://api.github.com/repos/danluu/debugging-stories/stargazers","contributors_url":"https://api.github.com/repos/danluu/debugging-stories/contributors","subscribers_url":"https://api.github.com/repos/danluu/debugging-stories/subscribers","subscription_url":"https://api.github.com/repos/danluu/debugging-stories/subscription","commits_url":"https://api.github.com/repos/danluu/debugging-stories/commits{/sha}","git_commits_url":"https://api.github.com/repos/danluu/debugging-stories/git/commits{/sha}","comments_url":"https://api.github.com/repos/danluu/debugging-stories/comments{/number}","issue_comment_url":"https://api.github.com/repos/danluu/debugging-stories/issues/comments{/number}","contents_url":"https://api.github.com/repos/danluu/debugging-stories/contents/{+path}","compare_url":"https://api.github.com/repos/danluu/debugging-stories/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danluu/debugging-stories/merges","archive_url":"https://api.github.com/repos/danluu/debugging-stories/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danluu/debugging-stories/downloads","issues_url":"https://api.github.com/repos/danluu/debugging-stories/issues{/number}","pulls_url":"https://api.github.com/repos/danluu/debugging-stories/pulls{/number}","milestones_url":"https://api.github.com/repos/danluu/debugging-stories/milestones{/number}","notifications_url":"https://api.github.com/repos/danluu/debugging-stories/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danluu/debugging-stories/labels{/name}","releases_url":"https://api.github.com/repos/danluu/debugging-stories/releases{/id}","deployments_url":"https://api.github.com/repos/danluu/debugging-stories/deployments","created_at":"2014-04-26T01:04:01Z","updated_at":"2016-02-01T09:36:16Z","pushed_at":"2015-10-05T04:55:06Z","git_url":"git://github.com/danluu/debugging-stories.git","ssh_url":"git@github.com:danluu/debugging-stories.git","clone_url":"https://github.com/danluu/debugging-stories.git","svn_url":"https://github.com/danluu/debugging-stories","homepage":"http://danluu.com/teach-debugging/","size":290,"stargazers_count":1506,"watchers_count":1506,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":7,"forks":66,"open_issues":7,"watchers":1506,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danluu/debugging-stories/pulls/36"},"html":{"href":"https://github.com/danluu/debugging-stories/pull/36"},"issue":{"href":"https://api.github.com/repos/danluu/debugging-stories/issues/36"},"comments":{"href":"https://api.github.com/repos/danluu/debugging-stories/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/danluu/debugging-stories/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/danluu/debugging-stories/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danluu/debugging-stories/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/danluu/debugging-stories/statuses/18500c0c369c14ea8b204c8afb867685b2dd81f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}