{"action":"created","issue":{"url":"https://api.github.com/repos/irungentoo/toxcore/issues/1222","labels_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1222/labels{/name}","comments_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1222/comments","events_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1222/events","html_url":"https://github.com/irungentoo/toxcore/issues/1222","id":54395868,"number":1222,"title":"Discovery of Users","user":{"login":"srkunze","id":1389648,"avatar_url":"https://avatars.githubusercontent.com/u/1389648?v=3","gravatar_id":"","url":"https://api.github.com/users/srkunze","html_url":"https://github.com/srkunze","followers_url":"https://api.github.com/users/srkunze/followers","following_url":"https://api.github.com/users/srkunze/following{/other_user}","gists_url":"https://api.github.com/users/srkunze/gists{/gist_id}","starred_url":"https://api.github.com/users/srkunze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srkunze/subscriptions","organizations_url":"https://api.github.com/users/srkunze/orgs","repos_url":"https://api.github.com/users/srkunze/repos","events_url":"https://api.github.com/users/srkunze/events{/privacy}","received_events_url":"https://api.github.com/users/srkunze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-01-15T00:09:43Z","updated_at":"2015-01-16T18:26:04Z","closed_at":null,"body":"I could not find anything useful on this topic, thus this thread.\r\n\r\nRecently, I introduced Tox to my girlfriend and sent her my ToxID. She try it out on her tablet. She was even more surprised regarding the long identifier as she discovered that she even need to scroll to the right to see it fully.\r\n\r\nLong story short, she liked the encryption, group, voice and video features, but those IDs... she compared them to \"useless ICQ numbers\". I know technically that is not quite the same, but from what I know Tox aims to be as user-friendly as it can be.\r\n\r\nUser discovery is an important part here as well. Is there a way to query after user names? I know they are not unique but it would be a start and if there are two users with the same username, e.g. the last two digits of the ToxID can be used (and interchanged manually) in order to distinguish the buddy from other guys."},"comment":{"url":"https://api.github.com/repos/irungentoo/toxcore/issues/comments/70298198","html_url":"https://github.com/irungentoo/toxcore/issues/1222#issuecomment-70298198","issue_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1222","id":70298198,"user":{"login":"srkunze","id":1389648,"avatar_url":"https://avatars.githubusercontent.com/u/1389648?v=3","gravatar_id":"","url":"https://api.github.com/users/srkunze","html_url":"https://github.com/srkunze","followers_url":"https://api.github.com/users/srkunze/followers","following_url":"https://api.github.com/users/srkunze/following{/other_user}","gists_url":"https://api.github.com/users/srkunze/gists{/gist_id}","starred_url":"https://api.github.com/users/srkunze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srkunze/subscriptions","organizations_url":"https://api.github.com/users/srkunze/orgs","repos_url":"https://api.github.com/users/srkunze/repos","events_url":"https://api.github.com/users/srkunze/events{/privacy}","received_events_url":"https://api.github.com/users/srkunze/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T18:26:04Z","updated_at":"2015-01-16T18:26:04Z","body":"> Where would this database be kept in a distributed network?\r\n\r\nSomewhere in the DHT. I share search data like {'username': 'me'} signed with my key. If you want to store too much data, nodes will refuse to it. \r\n\r\nIt is okay if the data is not always available. Currently, I am out of luck anyway; no need for a 100% reliable system. It will be when Tox gains adoption (by adding features like this ;-)), since some of my friends will be online and share my publicly available search data.\r\n\r\n> And how would you avoid network poisoning?\r\n\r\nCould you be more specific here?\r\n\r\n> And if you're only going for partial matches, how many would handle 10s of 1,000s of matches?\r\n\r\nJust return the first 10 in whatever order they be served. If you call yourself \"miller\" and 100,000 other guys had the same great idea, the feature will be useless to you. So, you either don't use it or you will change your username.\r\n\r\n\r\nI might tighten the scope of this issue: of course it would be nice to have a fully fledged social network discovery mechanism to find former colleagues, friends and so on. However, the issue at hand is not supposed to solve that; at least not 100%; maybe only to 10% if at all.\r\n\r\nThis issue is about solving the problem of a human-readable and human-transferable (e.g. via voice over plain air). I might know the last two digits of my ToxID but not more. Using my username, I am able to help my girlfriend (sitting next to me) getting the Tox app installed, and adding me to her friend list. If there are more than one \"me\"s, I can use the two digits of my ToxID to tell her: \"tap on the second one there\" and point my finger on it as well.\r\n\r\n\r\n> This is already what toxdns does; username@somewhere.blerg, That's more user friendly than username-###\r\n\r\nUnfortunately, it is not. It requires an additional step for my girlfriend to sign up at somewhere.blerg.\r\n\r\nWhy? Because adoption stops when I only can persuade my friends to use Tox for chatting with me EXCLUSIVELY. They need to be added by their friends easily as well to create a network effect.\r\n\r\ntoxdns for user discovery basically defeats the key selling points of Tox (at least to me): easy of use (easy setup, no configuration, no registration) + spy-free (no third-party involvement).\r\n\r\n> How would this work?\r\n\r\nWhen you try to add a friend, the user can request from his friends a confirmation whether or not the found friend is the same (ToxID) they have in their list. If so, they send \"yes\". If not, if not in their list or if the do not want to share that piece of data, they send \"no\".\r\nYou can take that as a guesstimate whether this \"miller\" is the one you are looking for or not as you might share some common friends. That is basically part of the more fully fledged social network discovery. Thus, not necessary in the first step."}}