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

2012-02-13 Thread Jason Smith
Hi, Paul. Thank you very much for this! IMHO, in future, Couch might use a BigDecimal type when working with documents' numbers. It never *computes* anything with those numbers, so performance should be okay; it's just to preserve the user's data through a decode/encode round-trip. For now, you

Feature Requests/Discussion

2012-02-13 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-13 Thread roger . moffatt
I've been following this thread with interest and concern. None of you will know me, so let me first say I'm a Couch end user and developer - and a huge fan of the technology who is worried about the future direction of Couch following the Couchbase debacle. Regardless of the subtleties, what

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

2012-02-13 Thread Jan Lehnardt
Hi Roger, On Feb 13, 2012, at 10:09 , roger.moff...@gmail.com wrote: I've been following this thread with interest and concern. None of you will know me, so let me first say I'm a Couch end user and developer - and a huge fan of the technology who is worried about the future direction of

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

2012-02-13 Thread Jan Lehnardt
Excellent analysis Paul. I'd say we go with the patch for 1.2.0 and beyond. Cheers Jan -- On Feb 13, 2012, at 07:55 , Paul Davis wrote: 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

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

2012-02-13 Thread Randall Leeds
On Feb 13, 2012 1:10 AM, roger.moffatt roger.moff...@gmail.com@roger.moff...@gmail.com gmail.com roger.moff...@gmail.com wrote: So rule 1 has to be, whatever I put in, I get back. What happens at a view level is different. If I've stored 1.0 or 1 as a numeric (ie non-string) value, then what

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

2012-02-13 Thread Filipe David Manana
On Mon, Feb 13, 2012 at 10:55 AM, Randall Leeds randall.le...@gmail.com wrote: A very rigorous approach might be to work with the tokenized, but not decoded, JSON so that numeric field values could be passed verbatim. For 1.2 I'd just like to see the integer regression patched. Catching up on

[jira] [Updated] (COUCHDB-1407) JSON encoding of number changes

2012-02-13 Thread Filipe Manana (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filipe Manana updated COUCHDB-1407: --- Attachment: 0001-Only-validate-numbers-on-JSON-decoding.patch This is the patch I just

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

2012-02-13 Thread Jeroen Janssen
Hi, Just a quick check (since I am not entirely familiar with this). Does this also imply that the couchdb 'on disk' format needs a version increase? (since the term representing numeric fields changes?) Best regards, Jeroen Janssen On Mon, Feb 13, 2012 at 4:46 PM, Filipe David Manana

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

2012-02-13 Thread Filipe David Manana
On Mon, Feb 13, 2012 at 4:04 PM, Jeroen Janssen jeroen.jans...@gmail.com wrote: Hi, Just a quick check (since I am not entirely familiar with this). Does this also imply that the couchdb 'on disk' format needs a version increase? (since the term representing numeric fields changes?) I

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

2012-02-13 Thread Paul Davis
On Mon, Feb 13, 2012 at 3:09 AM, roger.moff...@gmail.com wrote: I've been following this thread with interest and concern. None of you will know me, so let me first say I'm a Couch end user and developer - and a huge fan of the technology who is worried about the future direction of Couch

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

2012-02-13 Thread Paul Davis
I'm really not a fan of this. Rather than simplify the situation it's adding a whole big set of questions on what format we have in a large number of API end points. Seems like we should just worry about documenting how our JSON decoder/encoder works and leave it at that. Last night while

[jira] [Commented] (COUCHDB-1407) JSON encoding of number changes

2012-02-13 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13207022#comment-13207022 ] Paul Joseph Davis commented on COUCHDB-1407: As mentioned on the dev@

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

2012-02-13 Thread Benoit Chesneau
On Mon, Feb 13, 2012 at 6:26 PM, Paul Davis paul.joseph.da...@gmail.com wrote: On Mon, Feb 13, 2012 at 3:09 AM,  roger.moff...@gmail.com wrote: I've been following this thread with interest and concern. None of you will know me, so let me first say I'm a Couch end user and developer - and a

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

2012-02-13 Thread Paul Davis
On Mon, Feb 13, 2012 at 12:32 PM, Benoit Chesneau bchesn...@gmail.com wrote: On Mon, Feb 13, 2012 at 6:26 PM, Paul Davis paul.joseph.da...@gmail.com wrote: On Mon, Feb 13, 2012 at 3:09 AM,  roger.moff...@gmail.com wrote: I've been following this thread with interest and concern. None of you

Re: [jira] [Commented] (COUCHDB-1407) JSON encoding of number changes

2012-02-13 Thread Kevin R. Coombes
I've been staying out of the fray so far, but I want to (mostly) endorse Paul's summary and suggestion. The hear tof my arguemnt is two simple points: [1] JSON only defines Number. It does not define separate integer and floating point numbers. [2] CouchDB promises to respond to HTTP requests

[jira] [Commented] (COUCHDB-1407) JSON encoding of number changes

2012-02-13 Thread Kevin R. Coombes (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13207066#comment-13207066 ] Kevin R. Coombes commented on COUCHDB-1407: --- I've been staying out of the fray

Re: [jira] [Commented] (COUCHDB-1407) JSON encoding of number changes

2012-02-13 Thread Filipe David Manana
On Mon, Feb 13, 2012 at 6:52 PM, Kevin R. Coombes kevin.r.coom...@gmail.com  If an application depends on the distinction between integers and floating point values, then it is up to the person writing the application to make sure this distinction survives.  As has already been pointed out,

[jira] [Resolved] (COUCHDB-1332) Invalid JSON shows debug level info in response

2012-02-13 Thread Christopher Bonhage (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Bonhage resolved COUCHDB-1332. -- Resolution: Fixed Fix Version/s: 1.1.2 1.3

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

2012-02-13 Thread Jason Smith
On Mon, Feb 13, 2012 at 5:26 PM, Paul Davis paul.joseph.da...@gmail.com wrote: The issue here is how we define same. Given your examples you appear to be arguing for byte level equivalence between input and output. While this may seem quite logical and even perhaps a necessity for something

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

2012-02-13 Thread Paul Davis
On Mon, Feb 13, 2012 at 7:23 PM, Jason Smith j...@iriscouch.com wrote: On Mon, Feb 13, 2012 at 5:26 PM, Paul Davis paul.joseph.da...@gmail.com wrote: The issue here is how we define same. Given your examples you appear to be arguing for byte level equivalence between input and output. While