> On Mar 23, 2016, at 2:31 PM, Michael Fair <mich...@daclubhouse.net> wrote: > > On Mar 23, 2016 9:41 AM, "Jan Lehnardt" <j...@apache.org> wrote: >> >> Great sleuthing Michael! >> >> In addition to the recommendation to upgrade to {minor_version: 1}, which > could >> be a good first step, > > So should I just go ahead and make a pull request for the change then? > > It seems like generally agreed it's an issue, it ought to be fixed, and > this doesn't seriously change anything about the way its done; simply > clarifying it and making it more consistent for more platforms. > > I can confirm (using the erl command line) that with the change the md5 > sums would match between an OTP 15 series, 17 series, and the java library > I have for the piDoc I posted (3.14159) where they didn't before. > > I also suspect every language in question will have a way to create IEEE > 64-bit floats (some obviously more easily than others, but the point is > they can).
Go for it. > >> how about going the extra mile to make _rev generation >> easier across platforms? > > I'm all for it! And I'm up for it but at least with this step we have a > solid base to work from. I’m all for it as well, and I distinctly remember PouchDB wanting this back in the day. Let’s get the minor_version piece in place and then figure out a portable revision generation algorithm afterwards. Adam