{"action":"created","issue":{"url":"https://api.github.com/repos/o2gy84/TimeToRelax/issues/3","labels_url":"https://api.github.com/repos/o2gy84/TimeToRelax/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/o2gy84/TimeToRelax/issues/3/comments","events_url":"https://api.github.com/repos/o2gy84/TimeToRelax/issues/3/events","html_url":"https://github.com/o2gy84/TimeToRelax/issues/3","id":59404607,"number":3,"title":"Detect user inactivity","user":{"login":"o2gy84","id":4869896,"avatar_url":"https://avatars.githubusercontent.com/u/4869896?v=3","gravatar_id":"","url":"https://api.github.com/users/o2gy84","html_url":"https://github.com/o2gy84","followers_url":"https://api.github.com/users/o2gy84/followers","following_url":"https://api.github.com/users/o2gy84/following{/other_user}","gists_url":"https://api.github.com/users/o2gy84/gists{/gist_id}","starred_url":"https://api.github.com/users/o2gy84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o2gy84/subscriptions","organizations_url":"https://api.github.com/users/o2gy84/orgs","repos_url":"https://api.github.com/users/o2gy84/repos","events_url":"https://api.github.com/users/o2gy84/events{/privacy}","received_events_url":"https://api.github.com/users/o2gy84/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"o2gy84","id":4869896,"avatar_url":"https://avatars.githubusercontent.com/u/4869896?v=3","gravatar_id":"","url":"https://api.github.com/users/o2gy84","html_url":"https://github.com/o2gy84","followers_url":"https://api.github.com/users/o2gy84/followers","following_url":"https://api.github.com/users/o2gy84/following{/other_user}","gists_url":"https://api.github.com/users/o2gy84/gists{/gist_id}","starred_url":"https://api.github.com/users/o2gy84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o2gy84/subscriptions","organizations_url":"https://api.github.com/users/o2gy84/orgs","repos_url":"https://api.github.com/users/o2gy84/repos","events_url":"https://api.github.com/users/o2gy84/events{/privacy}","received_events_url":"https://api.github.com/users/o2gy84/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-01T16:43:02Z","updated_at":"2015-03-09T13:25:07Z","closed_at":"2015-03-09T13:25:07Z","body":"Можно понимать, что юзер отсутствует за компом или, например, смотрит кино.\r\n - анализировать движения мышкой (запоминать последнее положение курсора каждые 10 сек)\r\n - клавиатура (??? последняя нажатая клавиши каждые 10 сек?)\r\n\r\nкогда программа понимает, что юзера на месте нет, можно, например, периодический таймер \"останавливать\"."},"comment":{"url":"https://api.github.com/repos/o2gy84/TimeToRelax/issues/comments/77852008","html_url":"https://github.com/o2gy84/TimeToRelax/issues/3#issuecomment-77852008","issue_url":"https://api.github.com/repos/o2gy84/TimeToRelax/issues/3","id":77852008,"user":{"login":"o2gy84","id":4869896,"avatar_url":"https://avatars.githubusercontent.com/u/4869896?v=3","gravatar_id":"","url":"https://api.github.com/users/o2gy84","html_url":"https://github.com/o2gy84","followers_url":"https://api.github.com/users/o2gy84/followers","following_url":"https://api.github.com/users/o2gy84/following{/other_user}","gists_url":"https://api.github.com/users/o2gy84/gists{/gist_id}","starred_url":"https://api.github.com/users/o2gy84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o2gy84/subscriptions","organizations_url":"https://api.github.com/users/o2gy84/orgs","repos_url":"https://api.github.com/users/o2gy84/repos","events_url":"https://api.github.com/users/o2gy84/events{/privacy}","received_events_url":"https://api.github.com/users/o2gy84/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T13:25:07Z","updated_at":"2015-03-09T13:25:07Z","body":"Подумав, решил не делать.\r\nНепонятно, какой должна быть логика работы программы в этом случае.\r\n\r\nБолее менее ясно, что можно не считать таймеры, если комп ушел в sleep или hibernation. Да и то - не факт. И в любом случае определение, что комп заснул - надо писать свое для каждой платформы и т.п.\r\n\r\nВ общем пока забьем."}}