{"action":"created","issue":{"url":"https://api.github.com/repos/otalk/hark/issues/24","repository_url":"https://api.github.com/repos/otalk/hark","labels_url":"https://api.github.com/repos/otalk/hark/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/otalk/hark/issues/24/comments","events_url":"https://api.github.com/repos/otalk/hark/issues/24/events","html_url":"https://github.com/otalk/hark/pull/24","id":175777537,"number":24,"title":"Use requestAnimationFrame() instead of setTimeout/setInterval()","user":{"login":"ibc","id":16191,"avatar_url":"https://avatars.githubusercontent.com/u/16191?v=3","gravatar_id":"","url":"https://api.github.com/users/ibc","html_url":"https://github.com/ibc","followers_url":"https://api.github.com/users/ibc/followers","following_url":"https://api.github.com/users/ibc/following{/other_user}","gists_url":"https://api.github.com/users/ibc/gists{/gist_id}","starred_url":"https://api.github.com/users/ibc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibc/subscriptions","organizations_url":"https://api.github.com/users/ibc/orgs","repos_url":"https://api.github.com/users/ibc/repos","events_url":"https://api.github.com/users/ibc/events{/privacy}","received_events_url":"https://api.github.com/users/ibc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-08T15:00:47Z","updated_at":"2016-09-08T16:12:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/otalk/hark/pulls/24","html_url":"https://github.com/otalk/hark/pull/24","diff_url":"https://github.com/otalk/hark/pull/24.diff","patch_url":"https://github.com/otalk/hark/pull/24.patch"},"body":"[requestAnimationFrame()](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame) is much more efficient than `setTimeout()` or `setInterval()`, and the result is smoother and more accurate (just check the provided demo and the consumed CPU).\r\n"},"comment":{"url":"https://api.github.com/repos/otalk/hark/issues/comments/245650762","html_url":"https://github.com/otalk/hark/pull/24#issuecomment-245650762","issue_url":"https://api.github.com/repos/otalk/hark/issues/24","id":245650762,"user":{"login":"ibc","id":16191,"avatar_url":"https://avatars.githubusercontent.com/u/16191?v=3","gravatar_id":"","url":"https://api.github.com/users/ibc","html_url":"https://github.com/ibc","followers_url":"https://api.github.com/users/ibc/followers","following_url":"https://api.github.com/users/ibc/following{/other_user}","gists_url":"https://api.github.com/users/ibc/gists{/gist_id}","starred_url":"https://api.github.com/users/ibc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibc/subscriptions","organizations_url":"https://api.github.com/users/ibc/orgs","repos_url":"https://api.github.com/users/ibc/repos","events_url":"https://api.github.com/users/ibc/events{/privacy}","received_events_url":"https://api.github.com/users/ibc/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T16:12:23Z","updated_at":"2016-09-08T16:12:23Z","body":"> This library provides 2 things: audio levels and speaking / not speaking events. You don't need raf for the latter, AFAIS.\r\n\r\nRight. Now please show me how better is a 100ms interval than `requestAnimationFrame` for that second thing."}}
{"actor":{"display_login":"ibc"}}