{"action":"created","comment":{"url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/comments/35398072","id":35398072,"diff_hunk":"@@ -1,15 +1,20 @@\n from sketchy import Sketchy\n from ball import Ball\n+from vector import Vector\n \n class MyDrawing(Sketchy):\n \n     def setup(self):\n-        return\n+        width, height = [600, 400]","path":"main.py","position":10,"original_position":9,"commit_id":"f0875ac1dfdb2f95b9f5860270e1dee706d48047","original_commit_id":"a776564f60ebd59f0340e66315220bba587c2d70","user":{"login":"rsandor","id":146592,"avatar_url":"https://avatars.githubusercontent.com/u/146592?v=3","gravatar_id":"","url":"https://api.github.com/users/rsandor","html_url":"https://github.com/rsandor","followers_url":"https://api.github.com/users/rsandor/followers","following_url":"https://api.github.com/users/rsandor/following{/other_user}","gists_url":"https://api.github.com/users/rsandor/gists{/gist_id}","starred_url":"https://api.github.com/users/rsandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsandor/subscriptions","organizations_url":"https://api.github.com/users/rsandor/orgs","repos_url":"https://api.github.com/users/rsandor/repos","events_url":"https://api.github.com/users/rsandor/events{/privacy}","received_events_url":"https://api.github.com/users/rsandor/received_events","type":"User","site_admin":false},"body":"Don't worry about this for now, I will show you how to setup unit tests for the class later.","created_at":"2015-07-24T06:18:37Z","updated_at":"2015-07-24T06:18:37Z","html_url":"https://github.com/sundoresu/the-nature-of-code-stuff/pull/1#discussion_r35398072","pull_request_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/comments/35398072"},"html":{"href":"https://github.com/sundoresu/the-nature-of-code-stuff/pull/1#discussion_r35398072"},"pull_request":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1","id":40737982,"html_url":"https://github.com/sundoresu/the-nature-of-code-stuff/pull/1","diff_url":"https://github.com/sundoresu/the-nature-of-code-stuff/pull/1.diff","patch_url":"https://github.com/sundoresu/the-nature-of-code-stuff/pull/1.patch","issue_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/1","number":1,"state":"open","locked":false,"title":"Implemented Vector Class","user":{"login":"sundoresu","id":8475188,"avatar_url":"https://avatars.githubusercontent.com/u/8475188?v=3","gravatar_id":"","url":"https://api.github.com/users/sundoresu","html_url":"https://github.com/sundoresu","followers_url":"https://api.github.com/users/sundoresu/followers","following_url":"https://api.github.com/users/sundoresu/following{/other_user}","gists_url":"https://api.github.com/users/sundoresu/gists{/gist_id}","starred_url":"https://api.github.com/users/sundoresu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundoresu/subscriptions","organizations_url":"https://api.github.com/users/sundoresu/orgs","repos_url":"https://api.github.com/users/sundoresu/repos","events_url":"https://api.github.com/users/sundoresu/events{/privacy}","received_events_url":"https://api.github.com/users/sundoresu/received_events","type":"User","site_admin":false},"body":"This is my first attempt at making a vector class that mimics the built-in vector class in processing. Please review.","created_at":"2015-07-24T02:36:42Z","updated_at":"2015-07-24T06:18:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a0e50a8f20deb3ebfc793e48fb9e46f6a351790","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/1/comments","statuses_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/statuses/f0875ac1dfdb2f95b9f5860270e1dee706d48047","head":{"label":"sundoresu:branchy","ref":"branchy","sha":"f0875ac1dfdb2f95b9f5860270e1dee706d48047","user":{"login":"sundoresu","id":8475188,"avatar_url":"https://avatars.githubusercontent.com/u/8475188?v=3","gravatar_id":"","url":"https://api.github.com/users/sundoresu","html_url":"https://github.com/sundoresu","followers_url":"https://api.github.com/users/sundoresu/followers","following_url":"https://api.github.com/users/sundoresu/following{/other_user}","gists_url":"https://api.github.com/users/sundoresu/gists{/gist_id}","starred_url":"https://api.github.com/users/sundoresu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundoresu/subscriptions","organizations_url":"https://api.github.com/users/sundoresu/orgs","repos_url":"https://api.github.com/users/sundoresu/repos","events_url":"https://api.github.com/users/sundoresu/events{/privacy}","received_events_url":"https://api.github.com/users/sundoresu/received_events","type":"User","site_admin":false},"repo":{"id":39606903,"name":"the-nature-of-code-stuff","full_name":"sundoresu/the-nature-of-code-stuff","owner":{"login":"sundoresu","id":8475188,"avatar_url":"https://avatars.githubusercontent.com/u/8475188?v=3","gravatar_id":"","url":"https://api.github.com/users/sundoresu","html_url":"https://github.com/sundoresu","followers_url":"https://api.github.com/users/sundoresu/followers","following_url":"https://api.github.com/users/sundoresu/following{/other_user}","gists_url":"https://api.github.com/users/sundoresu/gists{/gist_id}","starred_url":"https://api.github.com/users/sundoresu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundoresu/subscriptions","organizations_url":"https://api.github.com/users/sundoresu/orgs","repos_url":"https://api.github.com/users/sundoresu/repos","events_url":"https://api.github.com/users/sundoresu/events{/privacy}","received_events_url":"https://api.github.com/users/sundoresu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sundoresu/the-nature-of-code-stuff","description":"Making my own simulations, and models with stuff i learned in \"The Nature of Code\"","fork":false,"url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff","forks_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/forks","keys_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/teams","hooks_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/hooks","issue_events_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/events{/number}","events_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/events","assignees_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/assignees{/user}","branches_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/branches{/branch}","tags_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/tags","blobs_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/statuses/{sha}","languages_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/languages","stargazers_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/stargazers","contributors_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/contributors","subscribers_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/subscribers","subscription_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/subscription","commits_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/contents/{+path}","compare_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/merges","archive_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/downloads","issues_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues{/number}","pulls_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls{/number}","milestones_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/milestones{/number}","notifications_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/labels{/name}","releases_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/releases{/id}","created_at":"2015-07-24T02:25:22Z","updated_at":"2015-07-24T02:26:57Z","pushed_at":"2015-07-24T06:16:19Z","git_url":"git://github.com/sundoresu/the-nature-of-code-stuff.git","ssh_url":"git@github.com:sundoresu/the-nature-of-code-stuff.git","clone_url":"https://github.com/sundoresu/the-nature-of-code-stuff.git","svn_url":"https://github.com/sundoresu/the-nature-of-code-stuff","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sundoresu:master","ref":"master","sha":"ad7b1728264331d8a7e3d951454edd3a367c4d2b","user":{"login":"sundoresu","id":8475188,"avatar_url":"https://avatars.githubusercontent.com/u/8475188?v=3","gravatar_id":"","url":"https://api.github.com/users/sundoresu","html_url":"https://github.com/sundoresu","followers_url":"https://api.github.com/users/sundoresu/followers","following_url":"https://api.github.com/users/sundoresu/following{/other_user}","gists_url":"https://api.github.com/users/sundoresu/gists{/gist_id}","starred_url":"https://api.github.com/users/sundoresu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundoresu/subscriptions","organizations_url":"https://api.github.com/users/sundoresu/orgs","repos_url":"https://api.github.com/users/sundoresu/repos","events_url":"https://api.github.com/users/sundoresu/events{/privacy}","received_events_url":"https://api.github.com/users/sundoresu/received_events","type":"User","site_admin":false},"repo":{"id":39606903,"name":"the-nature-of-code-stuff","full_name":"sundoresu/the-nature-of-code-stuff","owner":{"login":"sundoresu","id":8475188,"avatar_url":"https://avatars.githubusercontent.com/u/8475188?v=3","gravatar_id":"","url":"https://api.github.com/users/sundoresu","html_url":"https://github.com/sundoresu","followers_url":"https://api.github.com/users/sundoresu/followers","following_url":"https://api.github.com/users/sundoresu/following{/other_user}","gists_url":"https://api.github.com/users/sundoresu/gists{/gist_id}","starred_url":"https://api.github.com/users/sundoresu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundoresu/subscriptions","organizations_url":"https://api.github.com/users/sundoresu/orgs","repos_url":"https://api.github.com/users/sundoresu/repos","events_url":"https://api.github.com/users/sundoresu/events{/privacy}","received_events_url":"https://api.github.com/users/sundoresu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sundoresu/the-nature-of-code-stuff","description":"Making my own simulations, and models with stuff i learned in \"The Nature of Code\"","fork":false,"url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff","forks_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/forks","keys_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/teams","hooks_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/hooks","issue_events_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/events{/number}","events_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/events","assignees_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/assignees{/user}","branches_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/branches{/branch}","tags_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/tags","blobs_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/statuses/{sha}","languages_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/languages","stargazers_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/stargazers","contributors_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/contributors","subscribers_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/subscribers","subscription_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/subscription","commits_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/contents/{+path}","compare_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/merges","archive_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/downloads","issues_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues{/number}","pulls_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls{/number}","milestones_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/milestones{/number}","notifications_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/labels{/name}","releases_url":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/releases{/id}","created_at":"2015-07-24T02:25:22Z","updated_at":"2015-07-24T02:26:57Z","pushed_at":"2015-07-24T06:16:19Z","git_url":"git://github.com/sundoresu/the-nature-of-code-stuff.git","ssh_url":"git@github.com:sundoresu/the-nature-of-code-stuff.git","clone_url":"https://github.com/sundoresu/the-nature-of-code-stuff.git","svn_url":"https://github.com/sundoresu/the-nature-of-code-stuff","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1"},"html":{"href":"https://github.com/sundoresu/the-nature-of-code-stuff/pull/1"},"issue":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/1"},"comments":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sundoresu/the-nature-of-code-stuff/statuses/f0875ac1dfdb2f95b9f5860270e1dee706d48047"}}}}