{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/506","labels_url":"https://api.github.com/repos/nengo/nengo_gui/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo_gui/issues/506/comments","events_url":"https://api.github.com/repos/nengo/nengo_gui/issues/506/events","html_url":"https://github.com/nengo/nengo_gui/issues/506","id":97178011,"number":506,"title":"Should SP data be sent as binary?","user":{"login":"Seanny123","id":1918825,"avatar_url":"https://avatars.githubusercontent.com/u/1918825?v=3","gravatar_id":"","url":"https://api.github.com/users/Seanny123","html_url":"https://github.com/Seanny123","followers_url":"https://api.github.com/users/Seanny123/followers","following_url":"https://api.github.com/users/Seanny123/following{/other_user}","gists_url":"https://api.github.com/users/Seanny123/gists{/gist_id}","starred_url":"https://api.github.com/users/Seanny123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seanny123/subscriptions","organizations_url":"https://api.github.com/users/Seanny123/orgs","repos_url":"https://api.github.com/users/Seanny123/repos","events_url":"https://api.github.com/users/Seanny123/events{/privacy}","received_events_url":"https://api.github.com/users/Seanny123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-25T01:14:41Z","updated_at":"2015-07-25T01:20:06Z","closed_at":null,"body":"In `value.py` the data for the lines is sent as binary. In contrast, `pointer.py` sends the lines as Python string. Is there a reason for this discrepancy or should one of them be adapted?"},"comment":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/comments/124782119","html_url":"https://github.com/nengo/nengo_gui/issues/506#issuecomment-124782119","issue_url":"https://api.github.com/repos/nengo/nengo_gui/issues/506","id":124782119,"user":{"login":"tcstewar","id":2380772,"avatar_url":"https://avatars.githubusercontent.com/u/2380772?v=3","gravatar_id":"","url":"https://api.github.com/users/tcstewar","html_url":"https://github.com/tcstewar","followers_url":"https://api.github.com/users/tcstewar/followers","following_url":"https://api.github.com/users/tcstewar/following{/other_user}","gists_url":"https://api.github.com/users/tcstewar/gists{/gist_id}","starred_url":"https://api.github.com/users/tcstewar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcstewar/subscriptions","organizations_url":"https://api.github.com/users/tcstewar/orgs","repos_url":"https://api.github.com/users/tcstewar/repos","events_url":"https://api.github.com/users/tcstewar/events{/privacy}","received_events_url":"https://api.github.com/users/tcstewar/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T01:20:06Z","updated_at":"2015-07-25T01:20:06Z","body":"> In value.py the data for the lines is sent as binary. In contrast, pointer.py sends the lines as Python string. Is there a reason for this discrepancy or should one of them be adapted?\r\n\r\nIt's much simpler to send as a string, since that easily handles dealing with newly defined semantic pointer terms.  If you send it as binary data, you also need a separate way of sending information about what the text label is for each entry, and how many entries there are.  So I went with the string approach as it's nice and simple.  (Notice that ```value.py``` plots don't have to deal with suddenly changing the number of lines while the plot is running, so they can get away with the very simple binary approach)."}}