{"action":"created","issue":{"url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence/issues/117","repository_url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence","labels_url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence/issues/117/comments","events_url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence/issues/117/events","html_url":"https://github.com/EntelectChallenge/2018-TowerDefence/pull/117","id":351066128,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NzUzMTEy","number":117,"title":"Add program arguments and wire them up for the Haskell runner","user":{"login":"Quiescent","id":1457336,"node_id":"MDQ6VXNlcjE0NTczMzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1457336?v=4","gravatar_id":"","url":"https://api.github.com/users/Quiescent","html_url":"https://github.com/Quiescent","followers_url":"https://api.github.com/users/Quiescent/followers","following_url":"https://api.github.com/users/Quiescent/following{/other_user}","gists_url":"https://api.github.com/users/Quiescent/gists{/gist_id}","starred_url":"https://api.github.com/users/Quiescent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quiescent/subscriptions","organizations_url":"https://api.github.com/users/Quiescent/orgs","repos_url":"https://api.github.com/users/Quiescent/repos","events_url":"https://api.github.com/users/Quiescent/events{/privacy}","received_events_url":"https://api.github.com/users/Quiescent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-16T06:01:32Z","updated_at":"2018-09-05T14:09:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence/pulls/117","html_url":"https://github.com/EntelectChallenge/2018-TowerDefence/pull/117","diff_url":"https://github.com/EntelectChallenge/2018-TowerDefence/pull/117.diff","patch_url":"https://github.com/EntelectChallenge/2018-TowerDefence/pull/117.patch"},"body":"This enables Haskell bots to use multiple cores when asked for in the bot.json.\r\n\r\nBackground:\r\nHaskell is a bit weird in the way that you specify how many cores a program should run with.  First the program must have been compiled with two special flags (threaded and rtsopts).  Next you must run the program with the '-N' runtime flag; e.g.\r\n\r\n`./MyBot +RTS -N4 -RTS`\r\n\r\nTo tell it to use 4 cores.\r\n\r\nIn this PR I've generalised this a bit and allowed the dev to specify any parameters to pass to the bot between the RTS's in the field 'arguments' in bot.json."},"comment":{"url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence/issues/comments/418744851","html_url":"https://github.com/EntelectChallenge/2018-TowerDefence/pull/117#issuecomment-418744851","issue_url":"https://api.github.com/repos/EntelectChallenge/2018-TowerDefence/issues/117","id":418744851,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODc0NDg1MQ==","user":{"login":"Quiescent","id":1457336,"node_id":"MDQ6VXNlcjE0NTczMzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1457336?v=4","gravatar_id":"","url":"https://api.github.com/users/Quiescent","html_url":"https://github.com/Quiescent","followers_url":"https://api.github.com/users/Quiescent/followers","following_url":"https://api.github.com/users/Quiescent/following{/other_user}","gists_url":"https://api.github.com/users/Quiescent/gists{/gist_id}","starred_url":"https://api.github.com/users/Quiescent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quiescent/subscriptions","organizations_url":"https://api.github.com/users/Quiescent/orgs","repos_url":"https://api.github.com/users/Quiescent/repos","events_url":"https://api.github.com/users/Quiescent/events{/privacy}","received_events_url":"https://api.github.com/users/Quiescent/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T14:09:31Z","updated_at":"2018-09-05T14:09:31Z","author_association":"CONTRIBUTOR","body":"@Blaarkies I just added documentation for modifying the \"package.yaml\" and \"bot.json\" to run it with multiple threads.  I don't want to provide multiple threads by default because it's slower to launch with multiple threads if you don't actually use them."}}
{"actor":{"display_login":"Quiescent"}}