Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

make device IDs more useful for human disambiguation #1111

Merged
merged 1 commit into from
Sep 14, 2016

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Sep 12, 2016

Currently synapse generates unique IDs for devices which are horrible for human disambiguation of devices as they are long and contain a variety of homoglyphs and generally look ugly to the eye - e.g. Hu3d_G:;jj3*D:rF.

This makes them simpler - 10 upper case characters. It does reduce the available device IDs from (26+26+10+15)^16 (1E30) to 26^10 (1E14), but I think the tradeoff is probably acceptable in terms of making the IDs more usable as a means of distinguishing one Vector running on Chrome from another Vector running on Chrome.

@erikjohnston
Copy link
Member

Given we check for collisions and retry, that sounds perfectly acceptable.

LGTM

@ara4n
Copy link
Member Author

ara4n commented Sep 14, 2016

thanks. i'm assuming the test failures are due to jenkins having a meltdown and going to merge.

@ara4n ara4n merged commit 1b01488 into develop Sep 14, 2016
@richvdh richvdh deleted the matthew/device-ids branch December 1, 2016 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants