{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/3160","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/3160/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/3160/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/3160/events","html_url":"https://github.com/supercollider/supercollider/pull/3160","id":254917529,"number":3160,"title":"Added a new 'snap' function to SimpleNumber that quantizes values","user":{"login":"cianoc","id":355604,"avatar_url":"https://avatars1.githubusercontent.com/u/355604?v=4","gravatar_id":"","url":"https://api.github.com/users/cianoc","html_url":"https://github.com/cianoc","followers_url":"https://api.github.com/users/cianoc/followers","following_url":"https://api.github.com/users/cianoc/following{/other_user}","gists_url":"https://api.github.com/users/cianoc/gists{/gist_id}","starred_url":"https://api.github.com/users/cianoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cianoc/subscriptions","organizations_url":"https://api.github.com/users/cianoc/orgs","repos_url":"https://api.github.com/users/cianoc/repos","events_url":"https://api.github.com/users/cianoc/events{/privacy}","received_events_url":"https://api.github.com/users/cianoc/received_events","type":"User","site_admin":false},"labels":[{"id":11946377,"url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20class%20library","name":"comp: class library","color":"CFFF7D","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":28,"created_at":"2017-09-04T01:54:51Z","updated_at":"2017-09-09T08:33:58Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/supercollider/supercollider/pulls/3160","html_url":"https://github.com/supercollider/supercollider/pull/3160","diff_url":"https://github.com/supercollider/supercollider/pull/3160.diff","patch_url":"https://github.com/supercollider/supercollider/pull/3160.patch"},"body":"See:\r\nhttps://github.com/supercollider/supercollider/pull/2826\r\n\r\nAdded a new snap function which 'quantizes' values. It's really just the existing quantize function, but which does the expected thing.\r\n\r\nAs part of this PR I added help for snap, added some clarification to quantize and also added a unit test for this new function.\r\n\r\nI welcome discussion on the best name for this function, as well as what to do about the old 'quantize' function."},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/328263398","html_url":"https://github.com/supercollider/supercollider/pull/3160#issuecomment-328263398","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/3160","id":328263398,"user":{"login":"jamshark70","id":318301,"avatar_url":"https://avatars3.githubusercontent.com/u/318301?v=4","gravatar_id":"","url":"https://api.github.com/users/jamshark70","html_url":"https://github.com/jamshark70","followers_url":"https://api.github.com/users/jamshark70/followers","following_url":"https://api.github.com/users/jamshark70/following{/other_user}","gists_url":"https://api.github.com/users/jamshark70/gists{/gist_id}","starred_url":"https://api.github.com/users/jamshark70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamshark70/subscriptions","organizations_url":"https://api.github.com/users/jamshark70/orgs","repos_url":"https://api.github.com/users/jamshark70/repos","events_url":"https://api.github.com/users/jamshark70/events{/privacy}","received_events_url":"https://api.github.com/users/jamshark70/received_events","type":"User","site_admin":false},"created_at":"2017-09-09T08:33:58Z","updated_at":"2017-09-09T08:33:58Z","author_association":"CONTRIBUTOR","body":"@cianoc Ah, OK, thanks. Then, I'm OK with it.\r\n\r\nIndeed, documentation is hard to write. Professional software companies have a separate documentation team, specifically because coders often don't think of what makes good documentation.  One side effect of not having a dedicated documentation team is that, for a lot of method documentation, you have to run the code example to understand what the help text is trying to say.\r\n\r\nAnyway, it is clearer now by example."}}
{"actor":{"display_login":"jamshark70"}}