{"action":"created","issue":{"url":"https://api.github.com/repos/willyd/caffe/issues/5","labels_url":"https://api.github.com/repos/willyd/caffe/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/willyd/caffe/issues/5/comments","events_url":"https://api.github.com/repos/willyd/caffe/issues/5/events","html_url":"https://github.com/willyd/caffe/issues/5","id":101671239,"number":5,"title":"Cross platform bit count","user":{"login":"willyd","id":628693,"avatar_url":"https://avatars.githubusercontent.com/u/628693?v=3","gravatar_id":"","url":"https://api.github.com/users/willyd","html_url":"https://github.com/willyd","followers_url":"https://api.github.com/users/willyd/followers","following_url":"https://api.github.com/users/willyd/following{/other_user}","gists_url":"https://api.github.com/users/willyd/gists{/gist_id}","starred_url":"https://api.github.com/users/willyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willyd/subscriptions","organizations_url":"https://api.github.com/users/willyd/orgs","repos_url":"https://api.github.com/users/willyd/repos","events_url":"https://api.github.com/users/willyd/events{/privacy}","received_events_url":"https://api.github.com/users/willyd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/willyd/caffe/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/willyd/caffe/labels/windows%20support","name":"windows support","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T14:34:34Z","updated_at":"2015-08-18T16:43:03Z","closed_at":null,"body":"Add a utility function to caffe:\r\n\r\nSomething like:\r\n\r\n```C++\r\nint bitcount(unsigned int v) {\r\n#ifndef _MSCVER\r\n  return __builtin_popcount(v);\r\n#else\r\n    return __pop_count(v)\r\n#endif\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/willyd/caffe/issues/comments/132271119","html_url":"https://github.com/willyd/caffe/issues/5#issuecomment-132271119","issue_url":"https://api.github.com/repos/willyd/caffe/issues/5","id":132271119,"user":{"login":"bhack","id":1710528,"avatar_url":"https://avatars.githubusercontent.com/u/1710528?v=3","gravatar_id":"","url":"https://api.github.com/users/bhack","html_url":"https://github.com/bhack","followers_url":"https://api.github.com/users/bhack/followers","following_url":"https://api.github.com/users/bhack/following{/other_user}","gists_url":"https://api.github.com/users/bhack/gists{/gist_id}","starred_url":"https://api.github.com/users/bhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhack/subscriptions","organizations_url":"https://api.github.com/users/bhack/orgs","repos_url":"https://api.github.com/users/bhack/repos","events_url":"https://api.github.com/users/bhack/events{/privacy}","received_events_url":"https://api.github.com/users/bhack/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T16:43:03Z","updated_at":"2015-08-18T16:43:03Z","body":"https://gist.github.com/lichray/5846992"}}