{"action":"created","issue":{"url":"https://api.github.com/repos/aisamanra/matterhorn/issues/32","repository_url":"https://api.github.com/repos/aisamanra/matterhorn","labels_url":"https://api.github.com/repos/aisamanra/matterhorn/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/aisamanra/matterhorn/issues/32/comments","events_url":"https://api.github.com/repos/aisamanra/matterhorn/issues/32/events","html_url":"https://github.com/aisamanra/matterhorn/issues/32","id":173871714,"number":32,"title":"better nick color choices","user":{"login":"dagit","id":384637,"avatar_url":"https://avatars.githubusercontent.com/u/384637?v=3","gravatar_id":"","url":"https://api.github.com/users/dagit","html_url":"https://github.com/dagit","followers_url":"https://api.github.com/users/dagit/followers","following_url":"https://api.github.com/users/dagit/following{/other_user}","gists_url":"https://api.github.com/users/dagit/gists{/gist_id}","starred_url":"https://api.github.com/users/dagit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagit/subscriptions","organizations_url":"https://api.github.com/users/dagit/orgs","repos_url":"https://api.github.com/users/dagit/repos","events_url":"https://api.github.com/users/dagit/events{/privacy}","received_events_url":"https://api.github.com/users/dagit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aisamanra/matterhorn/labels/nice%20to%20have","name":"nice to have","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T21:01:38Z","updated_at":"2016-08-29T21:15:01Z","closed_at":null,"body":"With only 16 colors we're going to have collisions. So this may not be fixable. This ticket is here to serve as a place to document ideas related to improving the coloring.\r\n\r\nI'll go first, here is a vague rule I think would help:\r\n\r\n  * Use different colors for different length nicks, especially when the nicks have similarity (eg., `batman` and `badman` should preferably be different colors). We might compute similarity using hamming distance or levenshtein distance.\r\n\r\nIf you can think of other heuristics then let's try to collect them here."},"comment":{"url":"https://api.github.com/repos/aisamanra/matterhorn/issues/comments/243258760","html_url":"https://github.com/aisamanra/matterhorn/issues/32#issuecomment-243258760","issue_url":"https://api.github.com/repos/aisamanra/matterhorn/issues/32","id":243258760,"user":{"login":"jtdaugherty","id":427221,"avatar_url":"https://avatars.githubusercontent.com/u/427221?v=3","gravatar_id":"","url":"https://api.github.com/users/jtdaugherty","html_url":"https://github.com/jtdaugherty","followers_url":"https://api.github.com/users/jtdaugherty/followers","following_url":"https://api.github.com/users/jtdaugherty/following{/other_user}","gists_url":"https://api.github.com/users/jtdaugherty/gists{/gist_id}","starred_url":"https://api.github.com/users/jtdaugherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtdaugherty/subscriptions","organizations_url":"https://api.github.com/users/jtdaugherty/orgs","repos_url":"https://api.github.com/users/jtdaugherty/repos","events_url":"https://api.github.com/users/jtdaugherty/events{/privacy}","received_events_url":"https://api.github.com/users/jtdaugherty/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T21:15:01Z","updated_at":"2016-08-29T21:15:01Z","body":"One idea I had that would basically just reduce the chances of collision would be to detect when the terminal supports 256 colors and use a larger palette."}}
{"actor":{"display_login":"jtdaugherty"}}