{"action":"created","comment":{"url":"https://api.github.com/repos/calebmer/accelerate/pulls/comments/48103873","id":48103873,"diff_hunk":"@@ -0,0 +1,87 @@\n+use drivers::Driver;\n+use motions::Motion;\n+\n+fn clamp(n: isize, min: isize, max: isize) -> isize {\n+  if n < min {\n+    return min;\n+  }\n+  if n > max {\n+    return max;\n+  }\n+  n","path":"src/accelerator.rs","position":11,"original_position":11,"commit_id":"d2e3040cf2d89a88cc2cd166d6831b5201a48dbd","original_commit_id":"d2e3040cf2d89a88cc2cd166d6831b5201a48dbd","user":{"login":"svmnotn","id":12618337,"avatar_url":"https://avatars.githubusercontent.com/u/12618337?v=3","gravatar_id":"","url":"https://api.github.com/users/svmnotn","html_url":"https://github.com/svmnotn","followers_url":"https://api.github.com/users/svmnotn/followers","following_url":"https://api.github.com/users/svmnotn/following{/other_user}","gists_url":"https://api.github.com/users/svmnotn/gists{/gist_id}","starred_url":"https://api.github.com/users/svmnotn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svmnotn/subscriptions","organizations_url":"https://api.github.com/users/svmnotn/orgs","repos_url":"https://api.github.com/users/svmnotn/repos","events_url":"https://api.github.com/users/svmnotn/events{/privacy}","received_events_url":"https://api.github.com/users/svmnotn/received_events","type":"User","site_admin":false},"body":"clamp? it clamps....","created_at":"2015-12-20T14:25:16Z","updated_at":"2015-12-20T14:25:16Z","html_url":"https://github.com/calebmer/accelerate/pull/2#discussion_r48103873","pull_request_url":"https://api.github.com/repos/calebmer/accelerate/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/calebmer/accelerate/pulls/comments/48103873"},"html":{"href":"https://github.com/calebmer/accelerate/pull/2#discussion_r48103873"},"pull_request":{"href":"https://api.github.com/repos/calebmer/accelerate/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/calebmer/accelerate/pulls/2","id":48028817,"html_url":"https://github.com/calebmer/accelerate/pull/2","diff_url":"https://github.com/calebmer/accelerate/pull/2.diff","patch_url":"https://github.com/calebmer/accelerate/pull/2.patch","issue_url":"https://api.github.com/repos/calebmer/accelerate/issues/2","number":2,"state":"open","locked":false,"title":"Rust rewrite","user":{"login":"svmnotn","id":12618337,"avatar_url":"https://avatars.githubusercontent.com/u/12618337?v=3","gravatar_id":"","url":"https://api.github.com/users/svmnotn","html_url":"https://github.com/svmnotn","followers_url":"https://api.github.com/users/svmnotn/followers","following_url":"https://api.github.com/users/svmnotn/following{/other_user}","gists_url":"https://api.github.com/users/svmnotn/gists{/gist_id}","starred_url":"https://api.github.com/users/svmnotn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svmnotn/subscriptions","organizations_url":"https://api.github.com/users/svmnotn/orgs","repos_url":"https://api.github.com/users/svmnotn/repos","events_url":"https://api.github.com/users/svmnotn/events{/privacy}","received_events_url":"https://api.github.com/users/svmnotn/received_events","type":"User","site_admin":false},"body":"No more runtimes","created_at":"2015-10-19T03:43:30Z","updated_at":"2015-12-20T14:25:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c211e6eec7ad7a41de3348340ee211c0cde66998","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calebmer/accelerate/pulls/2/commits","review_comments_url":"https://api.github.com/repos/calebmer/accelerate/pulls/2/comments","review_comment_url":"https://api.github.com/repos/calebmer/accelerate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calebmer/accelerate/issues/2/comments","statuses_url":"https://api.github.com/repos/calebmer/accelerate/statuses/d2e3040cf2d89a88cc2cd166d6831b5201a48dbd","head":{"label":"svmnotn:develop","ref":"develop","sha":"d2e3040cf2d89a88cc2cd166d6831b5201a48dbd","user":{"login":"svmnotn","id":12618337,"avatar_url":"https://avatars.githubusercontent.com/u/12618337?v=3","gravatar_id":"","url":"https://api.github.com/users/svmnotn","html_url":"https://github.com/svmnotn","followers_url":"https://api.github.com/users/svmnotn/followers","following_url":"https://api.github.com/users/svmnotn/following{/other_user}","gists_url":"https://api.github.com/users/svmnotn/gists{/gist_id}","starred_url":"https://api.github.com/users/svmnotn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svmnotn/subscriptions","organizations_url":"https://api.github.com/users/svmnotn/orgs","repos_url":"https://api.github.com/users/svmnotn/repos","events_url":"https://api.github.com/users/svmnotn/events{/privacy}","received_events_url":"https://api.github.com/users/svmnotn/received_events","type":"User","site_admin":false},"repo":{"id":44507291,"name":"accelerate","full_name":"svmnotn/accelerate","owner":{"login":"svmnotn","id":12618337,"avatar_url":"https://avatars.githubusercontent.com/u/12618337?v=3","gravatar_id":"","url":"https://api.github.com/users/svmnotn","html_url":"https://github.com/svmnotn","followers_url":"https://api.github.com/users/svmnotn/followers","following_url":"https://api.github.com/users/svmnotn/following{/other_user}","gists_url":"https://api.github.com/users/svmnotn/gists{/gist_id}","starred_url":"https://api.github.com/users/svmnotn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svmnotn/subscriptions","organizations_url":"https://api.github.com/users/svmnotn/orgs","repos_url":"https://api.github.com/users/svmnotn/repos","events_url":"https://api.github.com/users/svmnotn/events{/privacy}","received_events_url":"https://api.github.com/users/svmnotn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svmnotn/accelerate","description":"Accelerate back and forth through time for your database or other in-place systems","fork":true,"url":"https://api.github.com/repos/svmnotn/accelerate","forks_url":"https://api.github.com/repos/svmnotn/accelerate/forks","keys_url":"https://api.github.com/repos/svmnotn/accelerate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svmnotn/accelerate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svmnotn/accelerate/teams","hooks_url":"https://api.github.com/repos/svmnotn/accelerate/hooks","issue_events_url":"https://api.github.com/repos/svmnotn/accelerate/issues/events{/number}","events_url":"https://api.github.com/repos/svmnotn/accelerate/events","assignees_url":"https://api.github.com/repos/svmnotn/accelerate/assignees{/user}","branches_url":"https://api.github.com/repos/svmnotn/accelerate/branches{/branch}","tags_url":"https://api.github.com/repos/svmnotn/accelerate/tags","blobs_url":"https://api.github.com/repos/svmnotn/accelerate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svmnotn/accelerate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svmnotn/accelerate/git/refs{/sha}","trees_url":"https://api.github.com/repos/svmnotn/accelerate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svmnotn/accelerate/statuses/{sha}","languages_url":"https://api.github.com/repos/svmnotn/accelerate/languages","stargazers_url":"https://api.github.com/repos/svmnotn/accelerate/stargazers","contributors_url":"https://api.github.com/repos/svmnotn/accelerate/contributors","subscribers_url":"https://api.github.com/repos/svmnotn/accelerate/subscribers","subscription_url":"https://api.github.com/repos/svmnotn/accelerate/subscription","commits_url":"https://api.github.com/repos/svmnotn/accelerate/commits{/sha}","git_commits_url":"https://api.github.com/repos/svmnotn/accelerate/git/commits{/sha}","comments_url":"https://api.github.com/repos/svmnotn/accelerate/comments{/number}","issue_comment_url":"https://api.github.com/repos/svmnotn/accelerate/issues/comments{/number}","contents_url":"https://api.github.com/repos/svmnotn/accelerate/contents/{+path}","compare_url":"https://api.github.com/repos/svmnotn/accelerate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svmnotn/accelerate/merges","archive_url":"https://api.github.com/repos/svmnotn/accelerate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svmnotn/accelerate/downloads","issues_url":"https://api.github.com/repos/svmnotn/accelerate/issues{/number}","pulls_url":"https://api.github.com/repos/svmnotn/accelerate/pulls{/number}","milestones_url":"https://api.github.com/repos/svmnotn/accelerate/milestones{/number}","notifications_url":"https://api.github.com/repos/svmnotn/accelerate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svmnotn/accelerate/labels{/name}","releases_url":"https://api.github.com/repos/svmnotn/accelerate/releases{/id}","created_at":"2015-10-19T02:44:50Z","updated_at":"2015-10-19T02:44:51Z","pushed_at":"2015-12-20T05:12:07Z","git_url":"git://github.com/svmnotn/accelerate.git","ssh_url":"git@github.com:svmnotn/accelerate.git","clone_url":"https://github.com/svmnotn/accelerate.git","svn_url":"https://github.com/svmnotn/accelerate","homepage":null,"size":60,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"calebmer:master","ref":"master","sha":"839e006a6effe275a421ef86a62507697d80ae55","user":{"login":"calebmer","id":8282507,"avatar_url":"https://avatars.githubusercontent.com/u/8282507?v=3","gravatar_id":"","url":"https://api.github.com/users/calebmer","html_url":"https://github.com/calebmer","followers_url":"https://api.github.com/users/calebmer/followers","following_url":"https://api.github.com/users/calebmer/following{/other_user}","gists_url":"https://api.github.com/users/calebmer/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmer/subscriptions","organizations_url":"https://api.github.com/users/calebmer/orgs","repos_url":"https://api.github.com/users/calebmer/repos","events_url":"https://api.github.com/users/calebmer/events{/privacy}","received_events_url":"https://api.github.com/users/calebmer/received_events","type":"User","site_admin":false},"repo":{"id":43915648,"name":"accelerate","full_name":"calebmer/accelerate","owner":{"login":"calebmer","id":8282507,"avatar_url":"https://avatars.githubusercontent.com/u/8282507?v=3","gravatar_id":"","url":"https://api.github.com/users/calebmer","html_url":"https://github.com/calebmer","followers_url":"https://api.github.com/users/calebmer/followers","following_url":"https://api.github.com/users/calebmer/following{/other_user}","gists_url":"https://api.github.com/users/calebmer/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmer/subscriptions","organizations_url":"https://api.github.com/users/calebmer/orgs","repos_url":"https://api.github.com/users/calebmer/repos","events_url":"https://api.github.com/users/calebmer/events{/privacy}","received_events_url":"https://api.github.com/users/calebmer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/calebmer/accelerate","description":"Accelerate back and forth through time for your database or other in-place systems","fork":false,"url":"https://api.github.com/repos/calebmer/accelerate","forks_url":"https://api.github.com/repos/calebmer/accelerate/forks","keys_url":"https://api.github.com/repos/calebmer/accelerate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calebmer/accelerate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calebmer/accelerate/teams","hooks_url":"https://api.github.com/repos/calebmer/accelerate/hooks","issue_events_url":"https://api.github.com/repos/calebmer/accelerate/issues/events{/number}","events_url":"https://api.github.com/repos/calebmer/accelerate/events","assignees_url":"https://api.github.com/repos/calebmer/accelerate/assignees{/user}","branches_url":"https://api.github.com/repos/calebmer/accelerate/branches{/branch}","tags_url":"https://api.github.com/repos/calebmer/accelerate/tags","blobs_url":"https://api.github.com/repos/calebmer/accelerate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calebmer/accelerate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calebmer/accelerate/git/refs{/sha}","trees_url":"https://api.github.com/repos/calebmer/accelerate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calebmer/accelerate/statuses/{sha}","languages_url":"https://api.github.com/repos/calebmer/accelerate/languages","stargazers_url":"https://api.github.com/repos/calebmer/accelerate/stargazers","contributors_url":"https://api.github.com/repos/calebmer/accelerate/contributors","subscribers_url":"https://api.github.com/repos/calebmer/accelerate/subscribers","subscription_url":"https://api.github.com/repos/calebmer/accelerate/subscription","commits_url":"https://api.github.com/repos/calebmer/accelerate/commits{/sha}","git_commits_url":"https://api.github.com/repos/calebmer/accelerate/git/commits{/sha}","comments_url":"https://api.github.com/repos/calebmer/accelerate/comments{/number}","issue_comment_url":"https://api.github.com/repos/calebmer/accelerate/issues/comments{/number}","contents_url":"https://api.github.com/repos/calebmer/accelerate/contents/{+path}","compare_url":"https://api.github.com/repos/calebmer/accelerate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calebmer/accelerate/merges","archive_url":"https://api.github.com/repos/calebmer/accelerate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calebmer/accelerate/downloads","issues_url":"https://api.github.com/repos/calebmer/accelerate/issues{/number}","pulls_url":"https://api.github.com/repos/calebmer/accelerate/pulls{/number}","milestones_url":"https://api.github.com/repos/calebmer/accelerate/milestones{/number}","notifications_url":"https://api.github.com/repos/calebmer/accelerate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calebmer/accelerate/labels{/name}","releases_url":"https://api.github.com/repos/calebmer/accelerate/releases{/id}","created_at":"2015-10-08T20:51:55Z","updated_at":"2015-10-10T19:44:17Z","pushed_at":"2015-12-20T05:12:07Z","git_url":"git://github.com/calebmer/accelerate.git","ssh_url":"git@github.com:calebmer/accelerate.git","clone_url":"https://github.com/calebmer/accelerate.git","svn_url":"https://github.com/calebmer/accelerate","homepage":null,"size":245,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calebmer/accelerate/pulls/2"},"html":{"href":"https://github.com/calebmer/accelerate/pull/2"},"issue":{"href":"https://api.github.com/repos/calebmer/accelerate/issues/2"},"comments":{"href":"https://api.github.com/repos/calebmer/accelerate/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/calebmer/accelerate/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/calebmer/accelerate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calebmer/accelerate/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/calebmer/accelerate/statuses/d2e3040cf2d89a88cc2cd166d6831b5201a48dbd"}}}}