Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Paul Davis
So yeah. Numbers are hard. Firstly, anyone that mentioned RFC 4627 or JavaScript behavior is walking down a path entirely orthogonal to the issue at hand. Jason almost had it when he talked about them being different but then he went off on some weird tangent and lost me. In a nutshell, the issue

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Jason Smith
On Mon, Feb 13, 2012 at 12:30 AM, Robert Newson wrote: > I'm in favor of adding it to breaking changes and keeping the new > behaviour. Both ejson and jiffy use %g to encode numbers. This favors > a shorter encoding. On reflection, this is more desirable than > pretending that json distinguishes b

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Jason Smith
On Sun, Feb 12, 2012 at 9:58 PM, Benoit Chesneau wrote: > On Sun, Feb 12, 2012 at 3:03 PM, Jason Smith wrote: >> tl;dr = Minor disagreement with Benoit but happy to go with his decision. >> >> On Sun, Feb 12, 2012 at 1:10 PM, Benoit Chesneau wrote: >>> On Sun, Feb 12, 2012 at 12:03 PM, Jason Smi

Feature Requests/Discussion

2012-02-12 Thread James Hayton
Hi Everyone- I have been using CouchDB for several years and I absolutely love working with it most of the time. Thanks to everyone who has made it such a joy to work with. There are however a few consistent situations where I run into trouble and that I would like to fix if possible. I have a

Feature Requests/Discussion

2012-02-12 Thread James Hayton
Hi Everyone- I have been using CouchDB for several years and I absolutely love working with it most of the time. Thanks to everyone who has made it such a joy to work with. There are however a few consistent situations where I run into trouble and that I would like to fix if possible. I have a

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Benoit Chesneau
On Sun, Feb 12, 2012 at 5:48 PM, Noah Slater wrote: > I've been over this before: > > http://code.google.com/p/simplejson/issues/detail?id=34 > > > From Bob Ippolito: > > Try alert(2.2002 == 2.2) in ANY browser. It will say true. >> JavaScript uses IEEE double for  Number, always has,

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Dirkjan Ochtman
On Sun, Feb 12, 2012 at 18:30, Robert Newson wrote: > I'm in favor of adding it to breaking changes and keeping the new > behaviour. Both ejson and jiffy use %g to encode numbers. This favors > a shorter encoding. On reflection, this is more desirable than > pretending that json distinguishes betw

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Dirkjan Ochtman
On Sun, Feb 12, 2012 at 17:48, Noah Slater wrote: > Try alert(2.2002 == 2.2) in ANY browser. It will say true. >> JavaScript uses IEEE double for  Number, always has, always will. > > The general consensus seems to be that if you don't want JSON messing > around with your numbers, then

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Benoit Chesneau
On Sun, Feb 12, 2012 at 6:30 PM, Robert Newson wrote: > [..] On reflection, this is more desirable than > pretending that json distinguishes between ints and floats. > Why? (or, can you share this reflection ? ;) - benoît

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Robert Newson
I'm in favor of adding it to breaking changes and keeping the new behaviour. Both ejson and jiffy use %g to encode numbers. This favors a shorter encoding. On reflection, this is more desirable than pretending that json distinguishes between ints and floats. Sent from my iPhone On 12 Feb 2012, at

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Noah Slater
I've been over this before: http://code.google.com/p/simplejson/issues/detail?id=34 >From Bob Ippolito: Try alert(2.2002 == 2.2) in ANY browser. It will say true. > JavaScript uses IEEE double for Number, always has, always will. The general consensus seems to be that if you don'

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Benoit Chesneau
On Sun, Feb 12, 2012 at 3:03 PM, Jason Smith wrote: > tl;dr = Minor disagreement with Benoit but happy to go with his decision. > > On Sun, Feb 12, 2012 at 1:10 PM, Benoit Chesneau wrote: >> On Sun, Feb 12, 2012 at 12:03 PM, Jason Smith wrote: >>> On Sun, Feb 12, 2012 at 10:15 AM, Benoit Chesnea

[jira] [Commented] (COUCHDB-1408) Could I request write access to the wiki please?

2012-02-12 Thread Roger Moffatt (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206419#comment-13206419 ] Roger Moffatt commented on COUCHDB-1408: Thanks guys. I've made the small change

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Jason Smith
tl;dr = Minor disagreement with Benoit but happy to go with his decision. On Sun, Feb 12, 2012 at 1:10 PM, Benoit Chesneau wrote: > On Sun, Feb 12, 2012 at 12:03 PM, Jason Smith wrote: >> On Sun, Feb 12, 2012 at 10:15 AM, Benoit Chesneau >> wrote: >>> well as a database, CouchDB shouldn't chan

[jira] [Commented] (COUCHDB-1408) Could I request write access to the wiki please?

2012-02-12 Thread Jan Lehnardt (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206411#comment-13206411 ] Jan Lehnardt commented on COUCHDB-1408: --- The wiki states "You need to be added to

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Benoit Chesneau
On Sun, Feb 12, 2012 at 12:03 PM, Jason Smith wrote: > On Sun, Feb 12, 2012 at 10:15 AM, Benoit Chesneau wrote: >> well as a database, CouchDB shouldn't change the way data are saved >> in. I expect that the number I saved under the json type Number [1] >> defined by the spec [2] is correctly sav

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Jason Smith
On Sun, Feb 12, 2012 at 10:15 AM, Benoit Chesneau wrote: > well as a database, CouchDB shouldn't change the way data are saved > in. I expect that the number I saved under the json type Number [1] > defined by the spec [2] is correctly saved and returned as is. No > roundtrip or precision lost sho

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Benoit Chesneau
On Sat, Feb 11, 2012 at 3:32 PM, Robert Newson wrote: > I'd like some opinions on whether COUCHDB-1407 constitutes a release > blocking issue. Yes, I understand that the JSON spec is very weak on > numbers, blah blah boo splat. Is this because of the switch to ejson? > Is jiffy more compatible on

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Benoit Chesneau
On Sun, Feb 12, 2012 at 10:46 AM, Dirkjan Ochtman wrote: > On Sun, Feb 12, 2012 at 02:15, Jason Smith wrote: >> Does CouchDB store my **JSON** (and mutate it minimally, for _rev)? >> >> Or does CouchDB store my **data**, where JSON is simply how we express >> the underlying "stuff" to be stored?

Re: [VOTE] Apache CouchDB 1.2.0 release, first round

2012-02-12 Thread Dirkjan Ochtman
On Sun, Feb 12, 2012 at 02:15, Jason Smith wrote: > Does CouchDB store my **JSON** (and mutate it minimally, for _rev)? > > Or does CouchDB store my **data**, where JSON is simply how we express > the underlying "stuff" to be stored? Yeah, I thought a little further about it during my night's sle