{"action":"created","issue":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2898","repository_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map","labels_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2898/labels{/name}","comments_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2898/comments","events_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2898/events","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/issues/2898","id":168540067,"number":2898,"title":"No need to scan a whole area,we know exactly where to scan.","user":{"login":"nikos90","id":5305637,"avatar_url":"https://avatars.githubusercontent.com/u/5305637?v=3","gravatar_id":"","url":"https://api.github.com/users/nikos90","html_url":"https://github.com/nikos90","followers_url":"https://api.github.com/users/nikos90/followers","following_url":"https://api.github.com/users/nikos90/following{/other_user}","gists_url":"https://api.github.com/users/nikos90/gists{/gist_id}","starred_url":"https://api.github.com/users/nikos90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikos90/subscriptions","organizations_url":"https://api.github.com/users/nikos90/orgs","repos_url":"https://api.github.com/users/nikos90/repos","events_url":"https://api.github.com/users/nikos90/events{/privacy}","received_events_url":"https://api.github.com/users/nikos90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-31T21:47:05Z","updated_at":"2016-08-01T13:46:51Z","closed_at":null,"body":"We have all the spawn points from scans when the script was working,\r\nwhy we don't point the scan to each point in a loop? Wouldn't that be more accurate?"},"comment":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/comments/236584806","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/issues/2898#issuecomment-236584806","issue_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2898","id":236584806,"user":{"login":"shiona","id":1516312,"avatar_url":"https://avatars.githubusercontent.com/u/1516312?v=3","gravatar_id":"","url":"https://api.github.com/users/shiona","html_url":"https://github.com/shiona","followers_url":"https://api.github.com/users/shiona/followers","following_url":"https://api.github.com/users/shiona/following{/other_user}","gists_url":"https://api.github.com/users/shiona/gists{/gist_id}","starred_url":"https://api.github.com/users/shiona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiona/subscriptions","organizations_url":"https://api.github.com/users/shiona/orgs","repos_url":"https://api.github.com/users/shiona/repos","events_url":"https://api.github.com/users/shiona/events{/privacy}","received_events_url":"https://api.github.com/users/shiona/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T13:46:51Z","updated_at":"2016-08-01T13:46:51Z","body":"It seems that in my area this works rather well. I actually had a little more spawn points than I remembered, 566 (found by scanning the 397 points in hexagonal spiral). I got them covered in 189 scan locations. This number is not minimal, but I believe it is good enough and finding the minimal solution would be a lot harder.\r\n\r\nNow the question is how should this be integrated.\r\n\r\nComputing the scan points for just 566 spawn points takes close to 10 seconds, and currently the part that takes the most time is computing distances between all two points. This of course being O(n²) will make it rather inconvinient very quickly. Some extra work with datastructures should be able to solve this one though.\r\n\r\nAnother thing is how/where to store the points that should be scanned and if the scan point computing should be a part of runserver or an external tool (like beehive builder). If it's an external tool how to pass the spawn point locations?"}}
{"actor":{"display_login":"shiona"}}