{"action":"created","comment":{"url":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments/157328486","pull_request_review_id":83959318,"id":157328486,"diff_hunk":"@@ -1,10 +1,65 @@\n-﻿namespace BoringVector\n+﻿using System;\n+\n+namespace BoringVector\n {\n     /*\n         Здесь тебе нужно написать класс с методами-расширениями структуры Vector:\n-            - IsZero: проверяет, является ли вектор нулевым, т.е. его координаты близки к нулю (в эпсилон окрестности). За эпсилон здесь и далее берем 1e-6.\n+            - IsZero: проверяет, является ли вектор нулевым, т.е. его координаты \n+            близки к нулю (в эпсилон окрестности). За эпсилон здесь и далее берем 1e-6.\n             - Normalize: нормализует вектор\n-            - GetAngleBetween: возвращает угол между двумя векторами в радианах. Примечание: нулевой вектор сонаправлен любому другому.\n-            - GetRelation: возвращает значение перечесления VectorRelation(General, Parallel, Orthogonal) - отношение между двумя векторами(\"общий случай\", параллельны, перпендикулярны). Перечисление задавать тоже тебе)\n+            - GetAngleBetween: возвращает угол между двумя векторами в радианах. \n+            Примечание: нулевой вектор сонаправлен любому другому.\n+            - GetRelation: возвращает значение перечесления VectorRelation(General, \n+            Parallel, Orthogonal) - отношение между двумя векторами(\"общий случай\", \n+            параллельны, перпендикулярны). Перечисление задавать тоже тебе)\n     */\n+\n+    public enum VectorRelation\n+    {\n+        General,\n+        Parallel,\n+        Orthogonal\n+    };\n+\n+    internal static class VectorPlus {\n+\n+        private static readonly double epsilon = 1e-6;\n+\n+        public static bool IsZero (this Vector v)\n+        {\n+            return v.Length() < epsilon;","path":"exercises/04-boring-vector/BoringVector/BoringVector/VectorExtensions.cs","position":34,"original_position":34,"commit_id":"a9e096bb57b7d7140864d9f02a7f1a95b3e7632d","original_commit_id":"a9e096bb57b7d7140864d9f02a7f1a95b3e7632d","user":{"login":"pkuderov","id":699035,"avatar_url":"https://avatars2.githubusercontent.com/u/699035?v=4","gravatar_id":"","url":"https://api.github.com/users/pkuderov","html_url":"https://github.com/pkuderov","followers_url":"https://api.github.com/users/pkuderov/followers","following_url":"https://api.github.com/users/pkuderov/following{/other_user}","gists_url":"https://api.github.com/users/pkuderov/gists{/gist_id}","starred_url":"https://api.github.com/users/pkuderov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkuderov/subscriptions","organizations_url":"https://api.github.com/users/pkuderov/orgs","repos_url":"https://api.github.com/users/pkuderov/repos","events_url":"https://api.github.com/users/pkuderov/events{/privacy}","received_events_url":"https://api.github.com/users/pkuderov/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2017-12-16T01:05:36Z","updated_at":"2017-12-16T01:25:09Z","html_url":"https://github.com/hisubbotin/net-study/pull/85#discussion_r157328486","pull_request_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/85","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments/157328486"},"html":{"href":"https://github.com/hisubbotin/net-study/pull/85#discussion_r157328486"},"pull_request":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/hisubbotin/net-study/pulls/85","id":150436868,"html_url":"https://github.com/hisubbotin/net-study/pull/85","diff_url":"https://github.com/hisubbotin/net-study/pull/85.diff","patch_url":"https://github.com/hisubbotin/net-study/pull/85.patch","issue_url":"https://api.github.com/repos/hisubbotin/net-study/issues/85","number":85,"state":"open","locked":false,"title":"[04-boring vector] Евгения Тверитинова","user":{"login":"tveritinova","id":12393509,"avatar_url":"https://avatars3.githubusercontent.com/u/12393509?v=4","gravatar_id":"","url":"https://api.github.com/users/tveritinova","html_url":"https://github.com/tveritinova","followers_url":"https://api.github.com/users/tveritinova/followers","following_url":"https://api.github.com/users/tveritinova/following{/other_user}","gists_url":"https://api.github.com/users/tveritinova/gists{/gist_id}","starred_url":"https://api.github.com/users/tveritinova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tveritinova/subscriptions","organizations_url":"https://api.github.com/users/tveritinova/orgs","repos_url":"https://api.github.com/users/tveritinova/repos","events_url":"https://api.github.com/users/tveritinova/events{/privacy}","received_events_url":"https://api.github.com/users/tveritinova/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-03T00:44:18Z","updated_at":"2017-12-16T01:25:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2934f711cc474e4024fbad2ef5746703ef9b211","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/85/commits","review_comments_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/85/comments","review_comment_url":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hisubbotin/net-study/issues/85/comments","statuses_url":"https://api.github.com/repos/hisubbotin/net-study/statuses/a9e096bb57b7d7140864d9f02a7f1a95b3e7632d","head":{"label":"tveritinova:ex4","ref":"ex4","sha":"a9e096bb57b7d7140864d9f02a7f1a95b3e7632d","user":{"login":"tveritinova","id":12393509,"avatar_url":"https://avatars3.githubusercontent.com/u/12393509?v=4","gravatar_id":"","url":"https://api.github.com/users/tveritinova","html_url":"https://github.com/tveritinova","followers_url":"https://api.github.com/users/tveritinova/followers","following_url":"https://api.github.com/users/tveritinova/following{/other_user}","gists_url":"https://api.github.com/users/tveritinova/gists{/gist_id}","starred_url":"https://api.github.com/users/tveritinova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tveritinova/subscriptions","organizations_url":"https://api.github.com/users/tveritinova/orgs","repos_url":"https://api.github.com/users/tveritinova/repos","events_url":"https://api.github.com/users/tveritinova/events{/privacy}","received_events_url":"https://api.github.com/users/tveritinova/received_events","type":"User","site_admin":false},"repo":{"id":106440799,"name":"net-study","full_name":"tveritinova/net-study","owner":{"login":"tveritinova","id":12393509,"avatar_url":"https://avatars3.githubusercontent.com/u/12393509?v=4","gravatar_id":"","url":"https://api.github.com/users/tveritinova","html_url":"https://github.com/tveritinova","followers_url":"https://api.github.com/users/tveritinova/followers","following_url":"https://api.github.com/users/tveritinova/following{/other_user}","gists_url":"https://api.github.com/users/tveritinova/gists{/gist_id}","starred_url":"https://api.github.com/users/tveritinova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tveritinova/subscriptions","organizations_url":"https://api.github.com/users/tveritinova/orgs","repos_url":"https://api.github.com/users/tveritinova/repos","events_url":"https://api.github.com/users/tveritinova/events{/privacy}","received_events_url":"https://api.github.com/users/tveritinova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tveritinova/net-study","description":null,"fork":true,"url":"https://api.github.com/repos/tveritinova/net-study","forks_url":"https://api.github.com/repos/tveritinova/net-study/forks","keys_url":"https://api.github.com/repos/tveritinova/net-study/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tveritinova/net-study/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tveritinova/net-study/teams","hooks_url":"https://api.github.com/repos/tveritinova/net-study/hooks","issue_events_url":"https://api.github.com/repos/tveritinova/net-study/issues/events{/number}","events_url":"https://api.github.com/repos/tveritinova/net-study/events","assignees_url":"https://api.github.com/repos/tveritinova/net-study/assignees{/user}","branches_url":"https://api.github.com/repos/tveritinova/net-study/branches{/branch}","tags_url":"https://api.github.com/repos/tveritinova/net-study/tags","blobs_url":"https://api.github.com/repos/tveritinova/net-study/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tveritinova/net-study/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tveritinova/net-study/git/refs{/sha}","trees_url":"https://api.github.com/repos/tveritinova/net-study/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tveritinova/net-study/statuses/{sha}","languages_url":"https://api.github.com/repos/tveritinova/net-study/languages","stargazers_url":"https://api.github.com/repos/tveritinova/net-study/stargazers","contributors_url":"https://api.github.com/repos/tveritinova/net-study/contributors","subscribers_url":"https://api.github.com/repos/tveritinova/net-study/subscribers","subscription_url":"https://api.github.com/repos/tveritinova/net-study/subscription","commits_url":"https://api.github.com/repos/tveritinova/net-study/commits{/sha}","git_commits_url":"https://api.github.com/repos/tveritinova/net-study/git/commits{/sha}","comments_url":"https://api.github.com/repos/tveritinova/net-study/comments{/number}","issue_comment_url":"https://api.github.com/repos/tveritinova/net-study/issues/comments{/number}","contents_url":"https://api.github.com/repos/tveritinova/net-study/contents/{+path}","compare_url":"https://api.github.com/repos/tveritinova/net-study/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tveritinova/net-study/merges","archive_url":"https://api.github.com/repos/tveritinova/net-study/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tveritinova/net-study/downloads","issues_url":"https://api.github.com/repos/tveritinova/net-study/issues{/number}","pulls_url":"https://api.github.com/repos/tveritinova/net-study/pulls{/number}","milestones_url":"https://api.github.com/repos/tveritinova/net-study/milestones{/number}","notifications_url":"https://api.github.com/repos/tveritinova/net-study/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tveritinova/net-study/labels{/name}","releases_url":"https://api.github.com/repos/tveritinova/net-study/releases{/id}","deployments_url":"https://api.github.com/repos/tveritinova/net-study/deployments","created_at":"2017-10-10T16:10:51Z","updated_at":"2017-10-10T16:10:53Z","pushed_at":"2017-12-09T23:04:47Z","git_url":"git://github.com/tveritinova/net-study.git","ssh_url":"git@github.com:tveritinova/net-study.git","clone_url":"https://github.com/tveritinova/net-study.git","svn_url":"https://github.com/tveritinova/net-study","homepage":null,"size":4007,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hisubbotin:master","ref":"master","sha":"98624da90d8e41a0674ae08f350d777492da2a1c","user":{"login":"hisubbotin","id":31537018,"avatar_url":"https://avatars0.githubusercontent.com/u/31537018?v=4","gravatar_id":"","url":"https://api.github.com/users/hisubbotin","html_url":"https://github.com/hisubbotin","followers_url":"https://api.github.com/users/hisubbotin/followers","following_url":"https://api.github.com/users/hisubbotin/following{/other_user}","gists_url":"https://api.github.com/users/hisubbotin/gists{/gist_id}","starred_url":"https://api.github.com/users/hisubbotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hisubbotin/subscriptions","organizations_url":"https://api.github.com/users/hisubbotin/orgs","repos_url":"https://api.github.com/users/hisubbotin/repos","events_url":"https://api.github.com/users/hisubbotin/events{/privacy}","received_events_url":"https://api.github.com/users/hisubbotin/received_events","type":"User","site_admin":false},"repo":{"id":102121525,"name":"net-study","full_name":"hisubbotin/net-study","owner":{"login":"hisubbotin","id":31537018,"avatar_url":"https://avatars0.githubusercontent.com/u/31537018?v=4","gravatar_id":"","url":"https://api.github.com/users/hisubbotin","html_url":"https://github.com/hisubbotin","followers_url":"https://api.github.com/users/hisubbotin/followers","following_url":"https://api.github.com/users/hisubbotin/following{/other_user}","gists_url":"https://api.github.com/users/hisubbotin/gists{/gist_id}","starred_url":"https://api.github.com/users/hisubbotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hisubbotin/subscriptions","organizations_url":"https://api.github.com/users/hisubbotin/orgs","repos_url":"https://api.github.com/users/hisubbotin/repos","events_url":"https://api.github.com/users/hisubbotin/events{/privacy}","received_events_url":"https://api.github.com/users/hisubbotin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hisubbotin/net-study","description":null,"fork":false,"url":"https://api.github.com/repos/hisubbotin/net-study","forks_url":"https://api.github.com/repos/hisubbotin/net-study/forks","keys_url":"https://api.github.com/repos/hisubbotin/net-study/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hisubbotin/net-study/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hisubbotin/net-study/teams","hooks_url":"https://api.github.com/repos/hisubbotin/net-study/hooks","issue_events_url":"https://api.github.com/repos/hisubbotin/net-study/issues/events{/number}","events_url":"https://api.github.com/repos/hisubbotin/net-study/events","assignees_url":"https://api.github.com/repos/hisubbotin/net-study/assignees{/user}","branches_url":"https://api.github.com/repos/hisubbotin/net-study/branches{/branch}","tags_url":"https://api.github.com/repos/hisubbotin/net-study/tags","blobs_url":"https://api.github.com/repos/hisubbotin/net-study/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hisubbotin/net-study/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hisubbotin/net-study/git/refs{/sha}","trees_url":"https://api.github.com/repos/hisubbotin/net-study/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hisubbotin/net-study/statuses/{sha}","languages_url":"https://api.github.com/repos/hisubbotin/net-study/languages","stargazers_url":"https://api.github.com/repos/hisubbotin/net-study/stargazers","contributors_url":"https://api.github.com/repos/hisubbotin/net-study/contributors","subscribers_url":"https://api.github.com/repos/hisubbotin/net-study/subscribers","subscription_url":"https://api.github.com/repos/hisubbotin/net-study/subscription","commits_url":"https://api.github.com/repos/hisubbotin/net-study/commits{/sha}","git_commits_url":"https://api.github.com/repos/hisubbotin/net-study/git/commits{/sha}","comments_url":"https://api.github.com/repos/hisubbotin/net-study/comments{/number}","issue_comment_url":"https://api.github.com/repos/hisubbotin/net-study/issues/comments{/number}","contents_url":"https://api.github.com/repos/hisubbotin/net-study/contents/{+path}","compare_url":"https://api.github.com/repos/hisubbotin/net-study/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hisubbotin/net-study/merges","archive_url":"https://api.github.com/repos/hisubbotin/net-study/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hisubbotin/net-study/downloads","issues_url":"https://api.github.com/repos/hisubbotin/net-study/issues{/number}","pulls_url":"https://api.github.com/repos/hisubbotin/net-study/pulls{/number}","milestones_url":"https://api.github.com/repos/hisubbotin/net-study/milestones{/number}","notifications_url":"https://api.github.com/repos/hisubbotin/net-study/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hisubbotin/net-study/labels{/name}","releases_url":"https://api.github.com/repos/hisubbotin/net-study/releases{/id}","deployments_url":"https://api.github.com/repos/hisubbotin/net-study/deployments","created_at":"2017-09-01T14:31:51Z","updated_at":"2017-12-13T20:09:43Z","pushed_at":"2017-12-15T23:52:18Z","git_url":"git://github.com/hisubbotin/net-study.git","ssh_url":"git@github.com:hisubbotin/net-study.git","clone_url":"https://github.com/hisubbotin/net-study.git","svn_url":"https://github.com/hisubbotin/net-study","homepage":null,"size":4130,"stargazers_count":6,"watchers_count":6,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":28,"open_issues":63,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/85"},"html":{"href":"https://github.com/hisubbotin/net-study/pull/85"},"issue":{"href":"https://api.github.com/repos/hisubbotin/net-study/issues/85"},"comments":{"href":"https://api.github.com/repos/hisubbotin/net-study/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hisubbotin/net-study/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/hisubbotin/net-study/statuses/a9e096bb57b7d7140864d9f02a7f1a95b3e7632d"}},"author_association":"NONE"}}
{"actor":{"display_login":"pkuderov"}}