On 8 June 2012 06:26, Luca Matteis lmatt...@gmail.com wrote:
Ok, say I install a local Couch that I upload my 1gb of data to.
Whenever a change is made to a JSON document in my file, my routine
will still have to go through all the records and update my local
Couch, which would result in the
Hi,
You're better off emitting all the docs regardless of type and then using
start_key/end_key to get the docs you're interested in:
function(doc){
emit(doc._id, null);
}
then query the view with ?startkey=T1_endkey=T2_
If your also interested in the number of docs per T1, T2 etc… You
Well what I'm trying to say is crypt() won't work. You'll have to use the
APR-specific crypt() or a clone implementation. I remember seeing one in
Python on the nginx wiki.
On Jun 7, 2012 10:48 PM, Jim Klo jim@sri.com wrote:
As we're using whatever the default is on Ubuntu (which is crypt()
I'm having a strange intermittent problem where the result returned
from a POST to _bulk_docs is being truncated. I know it's being
truncated because the truncation makes the result invalid JSON and my
script throws an exception because it can't decode it. However, I
can't replicate it
I was going to suggest something like this too. However, if you have
access to the script, you could alter it to record in a separate file
which documents have been altered and then write another script to
only send those docs to the couchdb server. (This is essentially
duplicating what the
On 8 June 2012 15:47, Tim Tisdall tisd...@gmail.com wrote:
I'm having a strange intermittent problem where the result returned
from a POST to _bulk_docs is being truncated. I know it's being
truncated because the truncation makes the result invalid JSON and my
script throws an exception
On 8 June 2012 15:55, Dave Cottlehuber d...@muse.net.nz wrote:
On 8 June 2012 15:47, Tim Tisdall tisd...@gmail.com wrote:
I'm having a strange intermittent problem where the result returned
from a POST to _bulk_docs is being truncated. I know it's being
truncated because the truncation makes
Okay... For the moment I'm going to try the following change:
while(!feof($s)) {
//$response .= fgets($s);
$response .= fread($s, 8192);
}
fgets() is intended to fetch results up until the line ending, which
don't
Has the JSON structure for security object changed in version 1.2.0 to use
the members key instead of readers key?
I ask because the Futon pop-up for the setting the security of a database,
changed its terminology from readers to members and I find myself
wondering if its a cosmetic change or
Hello Folks,
What are some good node.js clients for communicating with CouchDB?
If you are having trouble understanding why I would even want one then just
imagine that the app will not sit as a design document inside CouchDB but
rather be elsewhere and simply talking to CouchDB via the node.js
I haven't messed with couchdb much lately, but when I was experimenting
with it and nodejs I was using the cradle library. However, on the nodeup
podcast everyone seems to recommend Nano as the preferred couchdb lib as of
now.
-m
On Fri, Jun 8, 2012 at 12:21 PM, Pulkit Singhal
+1 for cradle
On 12-06-08 09:25 AM, Morgan Craft wrote:
I haven't messed with couchdb much lately, but when I was experimenting
with it and nodejs I was using the cradle library. However, on the nodeup
podcast everyone seems to recommend Nano as the preferred couchdb lib as of
now.
-m
On
Nano is the most popular, cradle seems to be less popular, and
saggingcouch.com gives you JS in browser and node with a mirrored API in
PHP (I wrote sag so am biased).
Or just use a straight HTTP lib like Mikeal's request.
Cheers,
--
Sam Bisbee
Sent from my phone so please excuse brevity and
To my understanding Nano is just a light wrapper around Mikeal's request,
I've yet to use Nano, but I use Mikeal's request for various projects.
I had nothing against cradle and at the time it was the only lib.
On Fri, Jun 8, 2012 at 12:43 PM, Sam Bisbee s...@sbisbee.com wrote:
Nano is the
I find myself wondering why someone hasn't simply taken the javascript
code that
runs Futon and dropped it into a node.js module?
I did something like that. I wrote a module that was a clone of jQuery
that just implemented the ajax with http.requests. Then I made minor mods
to the jquery code
Any good Nano vs Cradle comparisons?
I'm using cradle right now... and if a lot of people is recommending Nano
over cradle, I wonder why...
Thanks.
On Fri, Jun 8, 2012 at 1:25 PM, Mark Hahn m...@hahnca.com wrote:
I find myself wondering why someone hasn't simply taken the javascript
code
I've adapted Tim Caswell's minimal CouchClient and use it on Substance.io.
Here's the lib and the documentation:
https://github.com/michael/couch-client
http://substance.io/michael/couch-client
Cheers,
Michael
Ahoy Mark! Thank you so much for validating that I'm not the 1st person
ever who thought of reusing futon.
Some follow-up Qs:
1) The code that you modularized, rewrote and purged sync from ...Is it
available on GitHub or somewhere else in the open source community by any
chance?
2) What do you
Thanks Michel! Adding one more that noone's mentioned yet but I'll be very
curious if anyone else +1s it:
https://github.com/rsms/node-couchdb-min
On Fri, Jun 8, 2012 at 1:26 PM, Michel Legnered
michel.legne...@gmail.comwrote:
https://github.com/felixge/node-couchdb
On 8 jun 2012, at 18:21,
Interesting comment about nodeup, so far I found one that has the nano
author:
http://nodeup.com/eleven
Any other podcasts that mention nano?
On Fri, Jun 8, 2012 at 11:25 AM, Morgan Craft mga...@gmail.com wrote:
I haven't messed with couchdb much lately, but when I was experimenting
with it
The code that you modularized, rewrote and purged sync from
It's the jquery.couchdb.js library that is included in the couchdb
distribution. It's not great code, but it is what futon uses.
What do you mean here? no benefit in my code
I discovered that because of security concerns I had to
21 matches
Mail list logo