{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/681","repository_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/681/comments","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/681/events","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/681","id":171091417,"number":681,"title":"Added velocity limiter","user":{"login":"Xcelled","id":5599341,"avatar_url":"https://avatars.githubusercontent.com/u/5599341?v=3","gravatar_id":"","url":"https://api.github.com/users/Xcelled","html_url":"https://github.com/Xcelled","followers_url":"https://api.github.com/users/Xcelled/followers","following_url":"https://api.github.com/users/Xcelled/following{/other_user}","gists_url":"https://api.github.com/users/Xcelled/gists{/gist_id}","starred_url":"https://api.github.com/users/Xcelled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xcelled/subscriptions","organizations_url":"https://api.github.com/users/Xcelled/orgs","repos_url":"https://api.github.com/users/Xcelled/repos","events_url":"https://api.github.com/users/Xcelled/events{/privacy}","received_events_url":"https://api.github.com/users/Xcelled/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels/backend","name":"backend","color":"fbca04"},{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2016-08-15T00:50:20Z","updated_at":"2016-08-15T06:15:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/681","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/681","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/681.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/681.patch"},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\nAdds support for velocity limiting of worker movements. Eliminates teleporting while scanning, especially with the new spawnpoint-based beehive. When the worker moves to a new location, it will calculate the velocity it 'moved' at. If this is higher than some target velocity, it will delay sufficient time before scanning to 'fake' the target velocity. In effect, it's an adaptive scan delay.\r\n\r\nIt also prints a warning:\r\n\r\n```2016-08-14 20:18:27,793 [ search_worker_0][        search][ WARNING] Worker moving faster (94.37 m/s) than maximum allowed (24.00 m/s). Slowing things down. You need more accounts or a longer scan delay (hint: use -sd option)```\r\n\r\nThis warning might want to be refactored a bit or even changed to a debug line - I'm open to suggestions.\r\n\r\nThis WILL slow down scans, even multi-account scans, since every worker is essentially in a car. This could be reduced/alleviated by non-sequential scans like spawnpoints (so workers aren't 'driving' past each other constantly) or else a distance-based method of selecting the next scan area... or even assigning workers pie-slice shaped wedges of the scan area.\r\n\r\n## Motivation and Context\r\nTeleporting is an easy way to get banned\r\n\r\n## How Has This Been Tested?\r\nRan it on my system\r\n\r\n## Screenshots (if appropriate):\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [x] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments/239735940","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/681#issuecomment-239735940","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/681","id":239735940,"user":{"login":"DiscoTim","id":20764373,"avatar_url":"https://avatars.githubusercontent.com/u/20764373?v=3","gravatar_id":"","url":"https://api.github.com/users/DiscoTim","html_url":"https://github.com/DiscoTim","followers_url":"https://api.github.com/users/DiscoTim/followers","following_url":"https://api.github.com/users/DiscoTim/following{/other_user}","gists_url":"https://api.github.com/users/DiscoTim/gists{/gist_id}","starred_url":"https://api.github.com/users/DiscoTim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiscoTim/subscriptions","organizations_url":"https://api.github.com/users/DiscoTim/orgs","repos_url":"https://api.github.com/users/DiscoTim/repos","events_url":"https://api.github.com/users/DiscoTim/events{/privacy}","received_events_url":"https://api.github.com/users/DiscoTim/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T06:15:06Z","updated_at":"2016-08-15T06:15:06Z","body":"it seems to me it is more a bus scheduling type problem than a TSP, where workers are buses and spawn points are stops. are https://github.com/google/or-tools of any help? they have python libraries."}}
{"actor":{"display_login":"DiscoTim"}}