[Standards] XEP-0392 angle generation

Jonas Wielicki jonas at wielicki.name
Tue Nov 21 12:28:29 UTC 2017


On Dienstag, 21. November 2017 11:11:15 CET Klaus Herberth wrote:
> Hi everyone,
> 
> I implemented XEP-0392 "Consistent Color Generation" [1] as a node
> module [2] and found a vagueness right in the first section of the
> algorithm. In 5.1 we use the "first 16 bits" of our hash value. But what
> are the first 16 bits? MSB, LSB? If I calculate the first example
> ('Romeo','526f6d656f',5.711769) backwards, I see that the MSB bits are
> used with little-endian, which is quite confusing. Can we change this to
> something like: "The 16 most significant bits"?

Yes, I plan to clarify this soon. Will take a few days though, for reasons 
beyond my control.

FTR: the test vectors for palette mapping are incorrect too. I’ll fix those 
soon, too.

> There is also a small typo: Blindess should be blindness.

Noted.

> Otherwise a nice XEP :+1:

Thank you :-)

kind regards,
Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.jabber.org/pipermail/standards/attachments/20171121/721166d3/attachment.sig>


More information about the Standards mailing list