Two small things...
Sam Ruby
rubys at intertwingly.net
Wed Oct 5 17:26:07 PDT 2005
I'm starting to experiment with implementing OpenID using Ruby on Rails.
Two small things I've noticed that probably should be noted in the
documentation.
1) btwoc(128) => [0,128], not [128] which otherwise would seem to be the
"shortest big-endian two's complement notation", lest the high order bit
be interpreted as a sign bit. This may be obvious to some, but it
initially wasn't obvious to me.
2) some base64 libraries add some "courtesy" newlines. These need to be
removed. This *was* obvious to me, but wasn't something I was initially
looking out for.
- Sam Ruby
More information about the yadis
mailing list