{"action":"created","issue":{"url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools/issues/623","repository_url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools","labels_url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools/issues/623/comments","events_url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools/issues/623/events","html_url":"https://github.com/apprenticeharper/DeDRM_tools/pull/623","id":358316663,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTA3NzI4","number":623,"title":"Drastically simplified and corrected primes() in src/kindlekey.py","user":{"login":"shhivam","id":31827690,"node_id":"MDQ6VXNlcjMxODI3Njkw","avatar_url":"https://avatars1.githubusercontent.com/u/31827690?v=4","gravatar_id":"","url":"https://api.github.com/users/shhivam","html_url":"https://github.com/shhivam","followers_url":"https://api.github.com/users/shhivam/followers","following_url":"https://api.github.com/users/shhivam/following{/other_user}","gists_url":"https://api.github.com/users/shhivam/gists{/gist_id}","starred_url":"https://api.github.com/users/shhivam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shhivam/subscriptions","organizations_url":"https://api.github.com/users/shhivam/orgs","repos_url":"https://api.github.com/users/shhivam/repos","events_url":"https://api.github.com/users/shhivam/events{/privacy}","received_events_url":"https://api.github.com/users/shhivam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-08T18:11:35Z","updated_at":"2018-10-13T17:48:30Z","closed_at":"2018-10-13T17:44:24Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools/pulls/623","html_url":"https://github.com/apprenticeharper/DeDRM_tools/pull/623","diff_url":"https://github.com/apprenticeharper/DeDRM_tools/pull/623.diff","patch_url":"https://github.com/apprenticeharper/DeDRM_tools/pull/623.patch"},"body":"I tested the previous code with the input 10000 and it gave me error:\r\n```python\r\nTraceback (most recent call last):\r\n  File \"F:/py4e/EXTRA/prac3.py\", line 43, in <module>\r\n    primes(10000)\r\n  File \"F:/py4e/EXTRA/prac3.py\", line 16, in primes\r\n    s[j] = 0\r\nIndexError: list assignment index out of range\r\n```\r\n_Note: File directory is different in the above error message because I copied the func to test it individually._\r\nPrevious func was, I definitely think, very complex and had no format as well.\r\nI refactored it and changed the algo to be much more efficient."},"comment":{"url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools/issues/comments/429561507","html_url":"https://github.com/apprenticeharper/DeDRM_tools/pull/623#issuecomment-429561507","issue_url":"https://api.github.com/repos/apprenticeharper/DeDRM_tools/issues/623","id":429561507,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTU2MTUwNw==","user":{"login":"shhivam","id":31827690,"node_id":"MDQ6VXNlcjMxODI3Njkw","avatar_url":"https://avatars1.githubusercontent.com/u/31827690?v=4","gravatar_id":"","url":"https://api.github.com/users/shhivam","html_url":"https://github.com/shhivam","followers_url":"https://api.github.com/users/shhivam/followers","following_url":"https://api.github.com/users/shhivam/following{/other_user}","gists_url":"https://api.github.com/users/shhivam/gists{/gist_id}","starred_url":"https://api.github.com/users/shhivam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shhivam/subscriptions","organizations_url":"https://api.github.com/users/shhivam/orgs","repos_url":"https://api.github.com/users/shhivam/repos","events_url":"https://api.github.com/users/shhivam/events{/privacy}","received_events_url":"https://api.github.com/users/shhivam/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T17:48:30Z","updated_at":"2018-10-13T17:48:30Z","author_association":"CONTRIBUTOR","body":"Thank you!\r\nYour project is my first open source contribution. I am happy!"}}
{"actor":{"display_login":"shhivam"}}