{"action":"created","issue":{"url":"https://api.github.com/repos/shiffman/The-Nature-of-Code-archive/issues/300","repository_url":"https://api.github.com/repos/shiffman/The-Nature-of-Code-archive","labels_url":"https://api.github.com/repos/shiffman/The-Nature-of-Code-archive/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/shiffman/The-Nature-of-Code-archive/issues/300/comments","events_url":"https://api.github.com/repos/shiffman/The-Nature-of-Code-archive/issues/300/events","html_url":"https://github.com/shiffman/The-Nature-of-Code-archive/issues/300","id":10259815,"number":300,"title":"picking random element from array not clear","user":{"login":"shiffman","id":191758,"avatar_url":"https://avatars.githubusercontent.com/u/191758?v=3","gravatar_id":"","url":"https://api.github.com/users/shiffman","html_url":"https://github.com/shiffman","followers_url":"https://api.github.com/users/shiffman/followers","following_url":"https://api.github.com/users/shiffman/following{/other_user}","gists_url":"https://api.github.com/users/shiffman/gists{/gist_id}","starred_url":"https://api.github.com/users/shiffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiffman/subscriptions","organizations_url":"https://api.github.com/users/shiffman/orgs","repos_url":"https://api.github.com/users/shiffman/repos","events_url":"https://api.github.com/users/shiffman/events{/privacy}","received_events_url":"https://api.github.com/users/shiffman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2013-01-24T02:40:40Z","updated_at":"2016-07-11T16:16:03Z","closed_at":"2016-07-11T16:16:03Z","body":"int[] stuff = new int[5];\r\n￼stuff[0] = 1; \r\n￼stuff[1] = 1; \r\n  stuff[2] = 2;\r\n  stuff[3] = 3;\r\n  stuff[4] = 3;\r\n\r\nint index = int(random(stuff.length));  // Picking a random element from an array\r\n\r\nneeds to have\r\n\r\nint val = stuff[index];\r\n\r\nor something"},"comment":{"url":"https://api.github.com/repos/shiffman/The-Nature-of-Code-archive/issues/comments/231784242","html_url":"https://github.com/shiffman/The-Nature-of-Code-archive/issues/300#issuecomment-231784242","issue_url":"https://api.github.com/repos/shiffman/The-Nature-of-Code-archive/issues/300","id":231784242,"user":{"login":"shiffman","id":191758,"avatar_url":"https://avatars.githubusercontent.com/u/191758?v=3","gravatar_id":"","url":"https://api.github.com/users/shiffman","html_url":"https://github.com/shiffman","followers_url":"https://api.github.com/users/shiffman/followers","following_url":"https://api.github.com/users/shiffman/following{/other_user}","gists_url":"https://api.github.com/users/shiffman/gists{/gist_id}","starred_url":"https://api.github.com/users/shiffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiffman/subscriptions","organizations_url":"https://api.github.com/users/shiffman/orgs","repos_url":"https://api.github.com/users/shiffman/repos","events_url":"https://api.github.com/users/shiffman/events{/privacy}","received_events_url":"https://api.github.com/users/shiffman/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T16:16:03Z","updated_at":"2016-07-11T16:16:03Z","body":"fixed"}}
{"actor":{"display_login":"shiffman"}}