{"action":"created","issue":{"url":"https://api.github.com/repos/laurentpetit/ccw/issues/36","labels_url":"https://api.github.com/repos/laurentpetit/ccw/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/laurentpetit/ccw/issues/36/comments","events_url":"https://api.github.com/repos/laurentpetit/ccw/issues/36/events","html_url":"https://github.com/laurentpetit/ccw/pull/36","id":54031589,"number":36,"title":"Embedded nRepl can be choosen through -Dccw.nrepl.port","user":{"login":"arichiardi","id":1724788,"avatar_url":"https://avatars.githubusercontent.com/u/1724788?v=3","gravatar_id":"","url":"https://api.github.com/users/arichiardi","html_url":"https://github.com/arichiardi","followers_url":"https://api.github.com/users/arichiardi/followers","following_url":"https://api.github.com/users/arichiardi/following{/other_user}","gists_url":"https://api.github.com/users/arichiardi/gists{/gist_id}","starred_url":"https://api.github.com/users/arichiardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arichiardi/subscriptions","organizations_url":"https://api.github.com/users/arichiardi/orgs","repos_url":"https://api.github.com/users/arichiardi/repos","events_url":"https://api.github.com/users/arichiardi/events{/privacy}","received_events_url":"https://api.github.com/users/arichiardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-01-12T09:00:04Z","updated_at":"2015-03-23T21:10:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laurentpetit/ccw/pulls/36","html_url":"https://github.com/laurentpetit/ccw/pull/36","diff_url":"https://github.com/laurentpetit/ccw/pull/36.diff","patch_url":"https://github.com/laurentpetit/ccw/pull/36.patch"},"body":"Here it is!\r\n\r\nNow ```ccw.nrepl.port=[1-65535]``` allows you to select the embedded nrepl port. I refactored out the code from CCWPlugin and renamed ```ccw.autostartrepl``` -> ```ccw.nrepl.autostart``` for coherence, see commit message as well.\r\n\r\nI also added some ```.gitignore``` entries to avoid (my own) mistakes in committing wrong files."},"comment":{"url":"https://api.github.com/repos/laurentpetit/ccw/issues/comments/85198963","html_url":"https://github.com/laurentpetit/ccw/pull/36#issuecomment-85198963","issue_url":"https://api.github.com/repos/laurentpetit/ccw/issues/36","id":85198963,"user":{"login":"laurentpetit","id":98286,"avatar_url":"https://avatars.githubusercontent.com/u/98286?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentpetit","html_url":"https://github.com/laurentpetit","followers_url":"https://api.github.com/users/laurentpetit/followers","following_url":"https://api.github.com/users/laurentpetit/following{/other_user}","gists_url":"https://api.github.com/users/laurentpetit/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentpetit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentpetit/subscriptions","organizations_url":"https://api.github.com/users/laurentpetit/orgs","repos_url":"https://api.github.com/users/laurentpetit/repos","events_url":"https://api.github.com/users/laurentpetit/events{/privacy}","received_events_url":"https://api.github.com/users/laurentpetit/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T21:10:32Z","updated_at":"2015-03-23T21:10:32Z","body":"Yes, the delay is introduced because its creation is pure. Because the\nswap! function itself cannot guarantee that it will succeed to store the\ncomputed value. Maybe another thread will be faster, update the value while\nwe are computing the new value, etc.\nswap! is implemented in terms of compare-and-set!\n\n2015-03-23 21:10 GMT+01:00 Andrea Richiardi <notifications@github.com>:\n\n> Basically I refactored\n> <https://github.com/arichiardi/ccw/commit/2aa0ac8947c3e9c1bbb908d30d83830ce19757c2#diff-7f7ee8a1ae9b956c9f1b4a4daf796cecR69>\n> out all the impureness and left there a simple swap! which by the way...yes\n> it is impure as well...this is why you wanted to introduce a delay as well\n> right?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/laurentpetit/ccw/pull/36#issuecomment-85172482>.\n>\n\n\n\n-- \nLaurent Petit\n"}}