[Sugar-devel] [PATCH sugar] Limit the nick name to be only 8 characters maximum #10737

Sascha Silbe sascha-ml-reply-to-2011-2 at silbe.org
Fri Mar 25 16:45:22 EDT 2011


Excerpts from Simon Schampijer's message of Tue Mar 22 22:49:53 +0100 2011:

> Avahi uses "GetHostName" (on the XO this is something like 'xo-a7-2e-70' 
> based on the HW address).

If GetHostName is based on gethostname(), then it is far from unique.
Most distributions default to a constant name like "debian". The user
can override it during installation, but many users are lazy / don't
care.

> In the PS we did use the first 8 characters of the ssh key of the user 
> and pushed that into 'published-name'. My first patch was based on that [1].
> 
> As I understood Tomeu he wanted to use the nick name instead now to 
> enhance the information we give out.

I can understand the goal of human readable names, but I'm worried about
what happens if the new assumptions (unique host name) are not met.

What exactly does this value get used for? How would a human use it?

Aren't the 'nickname' and 'jid' properties that are part of the same
dictionary more useful to a human in the first place?

> [1] http://dev.laptop.org/ticket/10737#comment:4

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 500 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110325/cf64db95/attachment-0001.pgp>


More information about the Sugar-devel mailing list