[Sugar-devel] [PATCH sugar] Limit the nick name to be only 8 characters maximum #10737
sascha-ml-reply-to-2011-2 at silbe.org
Tue Mar 22 14:00:49 EDT 2011
Excerpts from Simon Schampijer's message of Wed Mar 16 20:41:08 +0100 2011:
> > And what are the adverse consequences if there is a conflict between
> > JoseMariaSuarez and JoseMariaRamirez ?
> > I think you'd want to show that the potential bugginess is not so bad,
> > or else hash the names rather than truncate them.
Comment 6 says:
> I actually think it is better to use the nickname and limit it to 8
> characters. For example if you list the
> available services (avahi-browse) you can more easily recognize which
> machine it is offering.
> I think we do not have to worry clashes that way. The presence id is
> 'nick at avahi_client_host_name' and the
> service name would then be 'room_name:nick at avahi_client_host_name' which
> both would be quite unique, I think.
Like Scott  I'm worried that avahi_client_host_name might not
actually be unique. Does avahi guarantee this (on all systems, not just
XOs) and if so, how?
Does the other end always use an explicitly announced value or are there
cases where the name needs to be reconstructed?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 500 bytes
Desc: not available
More information about the Sugar-devel