{"action":"opened","issue":{"url":"https://api.github.com/repos/gregsabo/tower/issues/2","repository_url":"https://api.github.com/repos/gregsabo/tower","labels_url":"https://api.github.com/repos/gregsabo/tower/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/gregsabo/tower/issues/2/comments","events_url":"https://api.github.com/repos/gregsabo/tower/issues/2/events","html_url":"https://github.com/gregsabo/tower/issues/2","id":388874822,"node_id":"MDU6SXNzdWUzODg4NzQ4MjI=","number":2,"title":"Freeze on test screen with slow functions; consider moving program evaluation to a web worker","user":{"login":"danabrams","id":6003813,"node_id":"MDQ6VXNlcjYwMDM4MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/6003813?v=4","gravatar_id":"","url":"https://api.github.com/users/danabrams","html_url":"https://github.com/danabrams","followers_url":"https://api.github.com/users/danabrams/followers","following_url":"https://api.github.com/users/danabrams/following{/other_user}","gists_url":"https://api.github.com/users/danabrams/gists{/gist_id}","starred_url":"https://api.github.com/users/danabrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danabrams/subscriptions","organizations_url":"https://api.github.com/users/danabrams/orgs","repos_url":"https://api.github.com/users/danabrams/repos","events_url":"https://api.github.com/users/danabrams/events{/privacy}","received_events_url":"https://api.github.com/users/danabrams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-08T02:20:15Z","updated_at":"2018-12-08T02:20:15Z","closed_at":null,"author_association":"NONE","body":"I composed a naive, recursive Fibonacci sequence. It worked great, except as I ran it with larger inputs, it slowed down (as expected). But the single threaded nature of javascript meant that the whole program slowed, often giving me a spinning beachball until I refeshed the page or even closed the browser.\r\n\r\nAfter inputing invalid data into the test ARG column, the program also behaved funny, locking up and refusing to properly change modes.\r\n\r\nMoving the evaluation of the program to a web worker would allow computation to happen concurrently, and the \"test mode\" results could be updated after results were returned. The interface would remain responsive, and slow computations and infinite loops could be easily aborted."}}
{"actor":{"display_login":"danabrams"}}