Proposal for Intro to CouchDB Coding class

2011-11-22 Thread Joan Touzet
Hello CouchDB Developers, Based on an informal survey of CouchDB users who are interested in contributing to the project, two key items tend to hold people back: 1. Knowing Erlang (and the CouchDB coding style) 2. Knowing the CouchDB code base So I decided to further my own grad research in

[jira] [Commented] (COUCHDB-326) Occasional {"error":"error","reason":"eacces"} errors deleting a database on Windows

2011-11-22 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155606#comment-13155606 ] Paul Joseph Davis commented on COUCHDB-326: --- @Dave Why would an audio/visual p

Re: Conflict resolution protocol

2011-11-22 Thread Paul Davis
On Tue, Nov 22, 2011 at 5:37 PM, Alex Besogonov wrote: > I'm trying to understand the conflict resolution protocol of CouchDB > (the selection of the winning revision). So far I understand that > CouchDB does essentially this: > > 1) Finds the revision with the highest number and if there are no >

Re: Conflict resolution protocol

2011-11-22 Thread Mikeal Rogers
There is an API to write the resolution which is not documented. The workflow is also undocumented. Randall promised he would write it up after he finishes the rewrites on PouchDB. On Nov 22, 2011, at November 22, 20114:34 PM, Robert Newson wrote: > There isn't one. There's only an algorithm to

Re: Conflict resolution protocol

2011-11-22 Thread Robert Newson
There isn't one. There's only an algorithm to choose which conflict is shown if you are ignoring conflicts. Resolution must be done by client actions (deleting the revisions you don't want). The heuristic algorithm used attempts to shown the most reasonable available option (the one with the longes

Conflict resolution protocol

2011-11-22 Thread Alex Besogonov
I'm trying to understand the conflict resolution protocol of CouchDB (the selection of the winning revision). So far I understand that CouchDB does essentially this: 1) Finds the revision with the highest number and if there are no other revisions with the same number then it is declared the winne

[jira] [Commented] (COUCHDB-326) Occasional {"error":"error","reason":"eacces"} errors deleting a database on Windows

2011-11-22 Thread Dave Cottlehuber (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155567#comment-13155567 ] Dave Cottlehuber commented on COUCHDB-326: -- Resolved since quite a while I belie

Re: Canonical's decision to move away from CouchDB

2011-11-22 Thread Alex Besogonov
I had the problems with Erlang runtime on mobile devices. Specifically, on iOs devices. So I started my SofaDB project to replicate the CouchDB replication protocol in a simple C++ library. Consequently, I found that the protocol for conflict resolution is not documented anywhere, including the so

Re: [jira] [Resolved] (COUCHDB-1334) Indexer speedup (for non-native view servers)

2011-11-22 Thread Dave Cottlehuber
ging or a test case -- it would be great to have a fix for this go into OTP/R15. If you have time, or some advice to share, the binary build is at https://www.dropbox.com/s/jeifcxpbtpo78ak/Snapshots/2022 Thanks Dave

[jira] [Commented] (COUCHDB-1289) heartbeats skipped when continuous changes feed filter function produces no results

2011-11-22 Thread Bob Dionne (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155469#comment-13155469 ] Bob Dionne commented on COUCHDB-1289: - Filipe, Sorry to be dense about this, but w

[jira] [Commented] (COUCHDB-577) couchdb @ winxp: Simple RegExp's can not be executed

2011-11-22 Thread Dave Cottlehuber (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155448#comment-13155448 ] Dave Cottlehuber commented on COUCHDB-577: -- I think this can be closed now; usin

[jira] [Commented] (COUCHDB-1289) heartbeats skipped when continuous changes feed filter function produces no results

2011-11-22 Thread Bob Dionne (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155370#comment-13155370 ] Bob Dionne commented on COUCHDB-1289: - cool, I'll fix it. > heartbe

Re: Fast JSON Parsing: UltraJSON / RapidJSON

2011-11-22 Thread Paul Davis
Wow. I could get behind the libjson implementation if it weren't GPL. On Tue, Nov 22, 2011 at 10:08 AM, Riyad Kalla wrote: > Paul, you might be interested in this benchmark as well of 3 C++ JSON > parsers (summary: libjson dominated the test by orders of magnitude) > > http://lijoblogs.blogspot.c

[jira] [Commented] (COUCHDB-1289) heartbeats skipped when continuous changes feed filter function produces no results

2011-11-22 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155293#comment-13155293 ] Filipe Manana commented on COUCHDB-1289: Bob, the thing about the "if" is that t

[jira] [Commented] (COUCHDB-1289) heartbeats skipped when continuous changes feed filter function produces no results

2011-11-22 Thread Bob Dionne (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155283#comment-13155283 ] Bob Dionne commented on COUCHDB-1289: - Filipe, I've seen these guidelines. I thin

[jira] [Commented] (COUCHDB-1289) heartbeats skipped when continuous changes feed filter function produces no results

2011-11-22 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155273#comment-13155273 ] Filipe Manana commented on COUCHDB-1289: Bob, for the indentation we have those

[jira] [Commented] (COUCHDB-1289) heartbeats skipped when continuous changes feed filter function produces no results

2011-11-22 Thread Bob Dionne (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155261#comment-13155261 ] Bob Dionne commented on COUCHDB-1289: - Filipe, thanks for the comments: 3. It took

[jira] [Commented] (COUCHDB-1289) heartbeats skipped when continuous changes feed filter function produces no results

2011-11-22 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155246#comment-13155246 ] Filipe Manana commented on COUCHDB-1289: Bob looks good. Just have a few commen

Canonical's decision to move away from CouchDB

2011-11-22 Thread Riyad Kalla
REF: http://www.h-online.com/open/news/item/Canonical-dropping-CouchDB-from-Ubuntu-One-1382809.html > Lenton says Canonical has worked with "the company behind CouchDB" to make the database scale > in a particular way. "Our situation is rather unique and we were unable to resolve some of the issue

Re: Fast JSON Parsing: UltraJSON / RapidJSON

2011-11-22 Thread Riyad Kalla
Paul, you might be interested in this benchmark as well of 3 C++ JSON parsers (summary: libjson dominated the test by orders of magnitude) http://lijoblogs.blogspot.com/2011/11/comparison-and-benchmark-of-c-json.html On Mon, Nov 21, 2011 at 10:23 AM, Paul Davis wrote: > On Mon, Nov 21, 2011 at 1

[VOTE] Apache CouchDB new docs proposal

2011-11-22 Thread Dave Cottlehuber
Hi devs, Over the last two years we've discussed improving our documentation, website, and wiki. We have discussed several designs ad mortem[1]…[5], and while the wiki has evolved substantially, not much else has changed. This proposal summarises a consensus direction, and puts forward an approac

[jira] [Commented] (COUCHDB-1287) Inbox Database ("write-only" mode)

2011-11-22 Thread Jason Smith (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154994#comment-13154994 ] Jason Smith commented on COUCHDB-1287: -- I see. You return 200 OK for a non-member q

[jira] [Commented] (COUCHDB-1287) Inbox Database ("write-only" mode)

2011-11-22 Thread Benoit Chesneau (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154969#comment-13154969 ] Benoit Chesneau commented on COUCHDB-1287: -- no? if user is not a member and db

[jira] [Commented] (COUCHDB-1287) Inbox Database ("write-only" mode)

2011-11-22 Thread Jason Smith (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154961#comment-13154961 ] Jason Smith commented on COUCHDB-1287: -- * If user is not a member, normally: GET /d

[jira] [Updated] (COUCHDB-1287) Inbox Database ("write-only" mode)

2011-11-22 Thread Benoit Chesneau (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-1287: - Attachment: 0001-fake-db-infos-when-dropbox-true-and-the-user-isn-t-a.patch fake db inf