{"action":"created","comment":{"url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/comments/66724060","id":66724060,"diff_hunk":"@@ -48,14 +48,15 @@ function h$initGHCJSi() {\n     h$startHTTPServer();\n     process.stdin.on('readable', function() {\n       while(true) {\n-\tvar str = process.stdin.read();\n-\tif(str) {\n-        var buf = new Buffer(str, 'hex');\n+        var str = process.stdin.read();\n+        if(str) {\n+          console.log('str: ', str);","path":"lib/etc/irunner.js","position":9,"original_position":9,"commit_id":"f4d044c72cf2786f01c79cbd9ecd64d185ba997c","original_commit_id":"f4d044c72cf2786f01c79cbd9ecd64d185ba997c","user":{"login":"sumitsahrawat","id":5645741,"avatar_url":"https://avatars.githubusercontent.com/u/5645741?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitsahrawat","html_url":"https://github.com/sumitsahrawat","followers_url":"https://api.github.com/users/sumitsahrawat/followers","following_url":"https://api.github.com/users/sumitsahrawat/following{/other_user}","gists_url":"https://api.github.com/users/sumitsahrawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitsahrawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitsahrawat/subscriptions","organizations_url":"https://api.github.com/users/sumitsahrawat/orgs","repos_url":"https://api.github.com/users/sumitsahrawat/repos","events_url":"https://api.github.com/users/sumitsahrawat/events{/privacy}","received_events_url":"https://api.github.com/users/sumitsahrawat/received_events","type":"User","site_admin":false},"body":"@gibiansky After inputting just `1` into the console, this line executes many times, and displays very large numbers.","created_at":"2016-06-12T17:02:37Z","updated_at":"2016-06-12T17:02:37Z","html_url":"https://github.com/sumitsahrawat/ghcjs/pull/1#discussion_r66724060","pull_request_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/comments/66724060"},"html":{"href":"https://github.com/sumitsahrawat/ghcjs/pull/1#discussion_r66724060"},"pull_request":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1","id":73501236,"html_url":"https://github.com/sumitsahrawat/ghcjs/pull/1","diff_url":"https://github.com/sumitsahrawat/ghcjs/pull/1.diff","patch_url":"https://github.com/sumitsahrawat/ghcjs/pull/1.patch","issue_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/1","number":1,"state":"open","locked":false,"title":"Implement a web-frontend","user":{"login":"sumitsahrawat","id":5645741,"avatar_url":"https://avatars.githubusercontent.com/u/5645741?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitsahrawat","html_url":"https://github.com/sumitsahrawat","followers_url":"https://api.github.com/users/sumitsahrawat/followers","following_url":"https://api.github.com/users/sumitsahrawat/following{/other_user}","gists_url":"https://api.github.com/users/sumitsahrawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitsahrawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitsahrawat/subscriptions","organizations_url":"https://api.github.com/users/sumitsahrawat/orgs","repos_url":"https://api.github.com/users/sumitsahrawat/repos","events_url":"https://api.github.com/users/sumitsahrawat/events{/privacy}","received_events_url":"https://api.github.com/users/sumitsahrawat/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-12T17:00:44Z","updated_at":"2016-06-12T17:02:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eda2185d534f0e5cb662cdfd7457b8c58eda842b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/1/comments","statuses_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/statuses/f4d044c72cf2786f01c79cbd9ecd64d185ba997c","head":{"label":"sumitsahrawat:soh","ref":"soh","sha":"f4d044c72cf2786f01c79cbd9ecd64d185ba997c","user":{"login":"sumitsahrawat","id":5645741,"avatar_url":"https://avatars.githubusercontent.com/u/5645741?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitsahrawat","html_url":"https://github.com/sumitsahrawat","followers_url":"https://api.github.com/users/sumitsahrawat/followers","following_url":"https://api.github.com/users/sumitsahrawat/following{/other_user}","gists_url":"https://api.github.com/users/sumitsahrawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitsahrawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitsahrawat/subscriptions","organizations_url":"https://api.github.com/users/sumitsahrawat/orgs","repos_url":"https://api.github.com/users/sumitsahrawat/repos","events_url":"https://api.github.com/users/sumitsahrawat/events{/privacy}","received_events_url":"https://api.github.com/users/sumitsahrawat/received_events","type":"User","site_admin":false},"repo":{"id":60257382,"name":"ghcjs","full_name":"sumitsahrawat/ghcjs","owner":{"login":"sumitsahrawat","id":5645741,"avatar_url":"https://avatars.githubusercontent.com/u/5645741?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitsahrawat","html_url":"https://github.com/sumitsahrawat","followers_url":"https://api.github.com/users/sumitsahrawat/followers","following_url":"https://api.github.com/users/sumitsahrawat/following{/other_user}","gists_url":"https://api.github.com/users/sumitsahrawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitsahrawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitsahrawat/subscriptions","organizations_url":"https://api.github.com/users/sumitsahrawat/orgs","repos_url":"https://api.github.com/users/sumitsahrawat/repos","events_url":"https://api.github.com/users/sumitsahrawat/events{/privacy}","received_events_url":"https://api.github.com/users/sumitsahrawat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sumitsahrawat/ghcjs","description":"Haskell to JavaScript compiler, based on GHC","fork":true,"url":"https://api.github.com/repos/sumitsahrawat/ghcjs","forks_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/forks","keys_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/teams","hooks_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/hooks","issue_events_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/events{/number}","events_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/events","assignees_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/assignees{/user}","branches_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/branches{/branch}","tags_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/tags","blobs_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/statuses/{sha}","languages_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/languages","stargazers_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/stargazers","contributors_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/contributors","subscribers_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/subscribers","subscription_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/subscription","commits_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/contents/{+path}","compare_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/merges","archive_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/downloads","issues_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues{/number}","pulls_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls{/number}","milestones_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/milestones{/number}","notifications_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/labels{/name}","releases_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/releases{/id}","deployments_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/deployments","created_at":"2016-06-02T11:06:59Z","updated_at":"2016-06-02T11:07:03Z","pushed_at":"2016-06-12T17:00:44Z","git_url":"git://github.com/sumitsahrawat/ghcjs.git","ssh_url":"git@github.com:sumitsahrawat/ghcjs.git","clone_url":"https://github.com/sumitsahrawat/ghcjs.git","svn_url":"https://github.com/sumitsahrawat/ghcjs","homepage":"","size":4699,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sumitsahrawat:master","ref":"master","sha":"689c7753f50353dd05606ed79c51cd5a94d3922a","user":{"login":"sumitsahrawat","id":5645741,"avatar_url":"https://avatars.githubusercontent.com/u/5645741?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitsahrawat","html_url":"https://github.com/sumitsahrawat","followers_url":"https://api.github.com/users/sumitsahrawat/followers","following_url":"https://api.github.com/users/sumitsahrawat/following{/other_user}","gists_url":"https://api.github.com/users/sumitsahrawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitsahrawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitsahrawat/subscriptions","organizations_url":"https://api.github.com/users/sumitsahrawat/orgs","repos_url":"https://api.github.com/users/sumitsahrawat/repos","events_url":"https://api.github.com/users/sumitsahrawat/events{/privacy}","received_events_url":"https://api.github.com/users/sumitsahrawat/received_events","type":"User","site_admin":false},"repo":{"id":60257382,"name":"ghcjs","full_name":"sumitsahrawat/ghcjs","owner":{"login":"sumitsahrawat","id":5645741,"avatar_url":"https://avatars.githubusercontent.com/u/5645741?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitsahrawat","html_url":"https://github.com/sumitsahrawat","followers_url":"https://api.github.com/users/sumitsahrawat/followers","following_url":"https://api.github.com/users/sumitsahrawat/following{/other_user}","gists_url":"https://api.github.com/users/sumitsahrawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitsahrawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitsahrawat/subscriptions","organizations_url":"https://api.github.com/users/sumitsahrawat/orgs","repos_url":"https://api.github.com/users/sumitsahrawat/repos","events_url":"https://api.github.com/users/sumitsahrawat/events{/privacy}","received_events_url":"https://api.github.com/users/sumitsahrawat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sumitsahrawat/ghcjs","description":"Haskell to JavaScript compiler, based on GHC","fork":true,"url":"https://api.github.com/repos/sumitsahrawat/ghcjs","forks_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/forks","keys_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/teams","hooks_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/hooks","issue_events_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/events{/number}","events_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/events","assignees_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/assignees{/user}","branches_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/branches{/branch}","tags_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/tags","blobs_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/statuses/{sha}","languages_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/languages","stargazers_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/stargazers","contributors_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/contributors","subscribers_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/subscribers","subscription_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/subscription","commits_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/contents/{+path}","compare_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/merges","archive_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/downloads","issues_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues{/number}","pulls_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls{/number}","milestones_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/milestones{/number}","notifications_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/labels{/name}","releases_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/releases{/id}","deployments_url":"https://api.github.com/repos/sumitsahrawat/ghcjs/deployments","created_at":"2016-06-02T11:06:59Z","updated_at":"2016-06-02T11:07:03Z","pushed_at":"2016-06-12T17:00:44Z","git_url":"git://github.com/sumitsahrawat/ghcjs.git","ssh_url":"git@github.com:sumitsahrawat/ghcjs.git","clone_url":"https://github.com/sumitsahrawat/ghcjs.git","svn_url":"https://github.com/sumitsahrawat/ghcjs","homepage":"","size":4699,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1"},"html":{"href":"https://github.com/sumitsahrawat/ghcjs/pull/1"},"issue":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/1"},"comments":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sumitsahrawat/ghcjs/statuses/f4d044c72cf2786f01c79cbd9ecd64d185ba997c"}}}}
{"actor":{"display_login":"sumitsahrawat"}}