{"action":"created","issue":{"url":"https://api.github.com/repos/nicksardo/GoTime/issues/1","repository_url":"https://api.github.com/repos/nicksardo/GoTime","labels_url":"https://api.github.com/repos/nicksardo/GoTime/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/nicksardo/GoTime/issues/1/comments","events_url":"https://api.github.com/repos/nicksardo/GoTime/issues/1/events","html_url":"https://github.com/nicksardo/GoTime/issues/1","id":182962894,"number":1,"title":"This really does not seem to work reliably.","user":{"login":"MagnumDopus","id":10997753,"avatar_url":"https://avatars.githubusercontent.com/u/10997753?v=3","gravatar_id":"","url":"https://api.github.com/users/MagnumDopus","html_url":"https://github.com/MagnumDopus","followers_url":"https://api.github.com/users/MagnumDopus/followers","following_url":"https://api.github.com/users/MagnumDopus/following{/other_user}","gists_url":"https://api.github.com/users/MagnumDopus/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnumDopus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnumDopus/subscriptions","organizations_url":"https://api.github.com/users/MagnumDopus/orgs","repos_url":"https://api.github.com/users/MagnumDopus/repos","events_url":"https://api.github.com/users/MagnumDopus/events{/privacy}","received_events_url":"https://api.github.com/users/MagnumDopus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-14T04:49:30Z","updated_at":"2016-10-14T05:22:23Z","closed_at":null,"body":"I have created a webapp that syncs a progressive minute count across browsers, that application can be found here:  https://timer-magnumdopus.c9users.io/\r\n\r\nI have posted my code in this jsfiddle for my client side javascript and my html: https://jsfiddle.net/r9q2a14n/\r\n\r\nIts a relatively simple app.  I am only using websockets,  using socket.io on my node server and on the client.  After GoTime syncs ten times I check to see if its precision is <40ms.  If it is I consider the app synchronized.  I then display the Achieved GoTime and allow users to set an alarm that syncs across all browsers using the websocket.  \r\n\r\nAssuming GoTime is operating correctly, with a precision of 40ms or less, the greatest discrepency between the alarms sounding should be 85 ms (Assuming a -40ms offset, a +40ms offset, and the setInterval duration being 5ms).  \r\n\r\nHowever that is not the case.  Despite the fact that the browser is considered snyced after a precision of <40 is achieved, the alarms will still sound almost 800ms apart.  This is really bizarre and makes the app completely worthless. \r\n\r\nTo reproduce just open a bunch of tabs of my app above, wait for them all to sync, then set a timer in one.  They will all alarm at different times.  \r\n\r\nI am scratching my head over this but it would appear this library is not reliable."},"comment":{"url":"https://api.github.com/repos/nicksardo/GoTime/issues/comments/253712077","html_url":"https://github.com/nicksardo/GoTime/issues/1#issuecomment-253712077","issue_url":"https://api.github.com/repos/nicksardo/GoTime/issues/1","id":253712077,"user":{"login":"nicksardo","id":184976,"avatar_url":"https://avatars.githubusercontent.com/u/184976?v=3","gravatar_id":"","url":"https://api.github.com/users/nicksardo","html_url":"https://github.com/nicksardo","followers_url":"https://api.github.com/users/nicksardo/followers","following_url":"https://api.github.com/users/nicksardo/following{/other_user}","gists_url":"https://api.github.com/users/nicksardo/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksardo/subscriptions","organizations_url":"https://api.github.com/users/nicksardo/orgs","repos_url":"https://api.github.com/users/nicksardo/repos","events_url":"https://api.github.com/users/nicksardo/events{/privacy}","received_events_url":"https://api.github.com/users/nicksardo/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T05:22:23Z","updated_at":"2016-10-14T05:22:23Z","body":"This library is 150 lines of code and doesn't have much room for error. I've never seen it stray other than due to network latency (low precision).  Otherwise, it syncs up fine for me on multiple tabs, browsers, devices, and even on mobile. \r\n\r\nIf you don't think the library is reliable, you're welcome to make your own. "}}
{"actor":{"display_login":"nicksardo"}}