You may find this library useful if you want to go with solution 2:
https://github.com/maxogden/ezcrypto-js
On Fri, Mar 25, 2011 at 8:07 PM, Nebu Pookins wrote:
>
> Thanks Patrick,
>
> my follow-up question is: What if Sever 2 can't "trust" Server 1? For
> example, Server 1 is actually an "offli
On 03/25/11 13:25, Randall Leeds wrote:
> When compacting, Couch traverses a snapshot of the database and copies
> the current revisions out to a new, compacted database file.
> When it reaches the end, it needs to incorporate any new revisions
> that happened during the first pass.
> Each success
On Fri, Mar 25, 2011 at 13:20, Wayne Conrad wrote:
> I've got a largish database that is being both compacted and synchronized
> concurrently.
>
> $ curl --silent topaz:5984/_active_tasks | prettify_json.rb
> [
> {
> "pid": "<0.313.0>",
> "type": "Replication",
> "task": "`874dbdaf264540
I've got a largish database that is being both compacted and
synchronized concurrently.
$ curl --silent topaz:5984/_active_tasks | prettify_json.rb
[
{
"pid": "<0.313.0>",
"type": "Replication",
"task": "`874dbdaf26454065f33007eb42c8320a+create_target`:
`http://sodium:5984/incomin
Am 25.03.2011 16:37, schrieb Nebu Pookins:
The two partial solutions that immediately come to mind are:
1) When a user downloads their own instance of the CouchApp, it's
"tied" to that user. Bob cannot use Alice's copy of the CouchApp to
blog; but if Alice had the foresight to download a copy bo
On Fri, Mar 25, 2011 at 9:25 AM, bryan rasmussen
wrote:
>
> I assumed every bookmark would be a little document consisting of
> mandatory name, mandatory uri(s) [can be either a string or array],
> mandatory user id, description, tags
>
[...]
>
> Also I need to be able to write queries that return
Thanks Patrick,
my follow-up question is: What if Sever 2 can't "trust" Server 1? For
example, Server 1 is actually an "offline" version of the blogging
platform downloaded onto Alice's laptop so that she may continue
blogging while offline, and then, when she comes online, her work is
synced back
There's clearly a happy medium between
"thisIsMyLoopControlVariableForTheOutermostOfThreeLoops" and "i". :)
The important thing is to be consistent. It may make sense to ask
about a standard for JSON style, but remember that while JSON syntax
is based on JavaScript, its purpose is to be a lang
oK
butIAlsoDontLikeExtrimllyLongFieldLikeThisOne
:-)
On 25.03.2011, at 14:44, Peter Nolan wrote:
> glad to help :D
>
> just wanted to add one last thing. When developing your code, please use
> long variable names - as in use
>
> quantumEfficiency
>
> or
>
> quantEff
>
> please don't do
>
glad to help :D
just wanted to add one last thing. When developing your code, please use
long variable names - as in use
quantumEfficiency
or
quantEff
please don't do
qE
it makes reading your code much more difficult and seeing as you're probably
going to minify your code at the end, you're
Hi,
I am making sort of a delicious clone (not exactly but the nearest
approximation to understand the problem field)
I assumed every bookmark would be a little document consisting of
mandatory name, mandatory uri(s) [can be either a string or array],
mandatory user id, description, tags
The ques
Ah, I guess it only allows me to clone an app.
best regards,
bryan Rasmusssen
On Fri, Mar 25, 2011 at 1:53 PM, bryan rasmussen
wrote:
> I am trying to run clone on the following url:
> http://127.0.0.1:5984/uris/_design/viewalluri
> which when ran in the browser returns the following:
>
> {"_id"
I am trying to run clone on the following url:
http://127.0.0.1:5984/uris/_design/viewalluri
which when ran in the browser returns the following:
{"_id":"_design/viewalluri","_rev":"4-48ac43d9020113f482ed43fe81d2970f","language":"javascript","views":{"viewalluri":{"map":"function(doc)
{\n emit(do
Peter,
This is what exactly a was about to use camelcase but was not sure. Now I am
sure!
thankYou!
On 25.03.2011, at 13:40, Peter Nolan wrote:
> it comes down to personal preference mostly, but for most javascript
> variables people tend to use camelcase as in first letter of first word is
:0) Thanks Benoit, for a great tool. CouchDBkit is great too.
On Fri, Mar 25, 2011 at 6:39 PM, Benoit Chesneau wrote:
> On Fri, Mar 25, 2011 at 1:32 PM, Kinley Dorji wrote:
>> It's not intuitively named - I missed it too for a while. Should be
>> "pull" instead of "clone", to match the "push" co
it comes down to personal preference mostly, but for most javascript
variables people tend to use camelcase as in first letter of first word is
lower case while the first letter of all other words are capitalized.
so it'd be
quantumEfficiency
Though i believe Benoit doesn't camelcase
do what y
On Fri, Mar 25, 2011 at 1:32 PM, Kinley Dorji wrote:
> It's not intuitively named - I missed it too for a while. Should be
> "pull" instead of "clone", to match the "push" command. IMHO :)
>
Well it's really just a clone. A pull would imply that content would
be merged or updated. clone fetch full
It's not intuitively named - I missed it too for a while. Should be
"pull" instead of "clone", to match the "push" command. IMHO :)
On Fri, Mar 25, 2011 at 6:26 PM, bryan rasmussen
wrote:
> ah sorry didn't see the clone argument in the help section
>
> thanks,
> Bryan Rasmussen
> On Fri, Mar 25,
This is only example field name in a JSON structure with two words. I wanted to
know if there is a kind of common style for such long fields in a document?
On 25.03.2011, at 13:09, Benoit Chesneau wrote:
> On Fri, Mar 25, 2011 at 12:15 PM, Nikolai Teofilov
> wrote:
>> What is the best or com
ah sorry didn't see the clone argument in the help section
thanks,
Bryan Rasmussen
On Fri, Mar 25, 2011 at 1:22 PM, Benoit Chesneau wrote:
> On Fri, Mar 25, 2011 at 1:18 PM, bryan rasmussen
> wrote:
>> Ok, well is there a way I can clone what I already have in Couchdb to
>> a couchapp directory?
On Fri, Mar 25, 2011 at 1:18 PM, bryan rasmussen
wrote:
> Ok, well is there a way I can clone what I already have in Couchdb to
> a couchapp directory?
>
> Best Regards,
> Bryan Rasmussen
sure,
$ couchapp clone http://db/_design/app
- benoît
Ok, well is there a way I can clone what I already have in Couchdb to
a couchapp directory?
Best Regards,
Bryan Rasmussen
On Thu, Mar 24, 2011 at 5:32 PM, Aurélien Bénel wrote:
> Hi Bryan,
>
>> How does one generally add a show function? Surely
>> not always by posting from Curl.
>
>
> You shoul
On Fri, Mar 25, 2011 at 12:15 PM, Nikolai Teofilov wrote:
> What is the best or common style for field names in the JSON documents?
>
> For example Quantum Efficiency:
>
> 1. QuantumEfficiency
> 2. quantumEfficiency
> 3. quantum_efficiency
> 4. quantumefficiency
>
>
>
>
quantum/efficiency ?
What is the best or common style for field names in the JSON documents?
For example Quantum Efficiency:
1. QuantumEfficiency
2. quantumEfficiency
3. quantum_efficiency
4. quantumefficiency
On Thu, Mar 24, 2011 at 5:40 PM, Martin Hewitt wrote:
> Hi all,
>
> I'm setting up a failover server for an app that runs CouchDB and was
> wondering if there was a special endpoint for simply replicating all
> databases to another server?
>
> Thanks,
>
> Martin
Deckard may answer to your needs
On Fri, Mar 25, 2011 at 11:56 AM, Mark J. Reed wrote:
> In addition to not having a "replicate all databases" option, there's
> no provision to start up replication automatically. We got around
> both problems by having a cron job that runs periodically, looping
> through the databases and sendin
I decided to solve this by encoding what needed to be done in a
database, with a separate document for each couch server. Each couch
server has a cron script run every minute which gets it's config from
the database and acts upon it. The config can specify which databases
needs replicating to where
In addition to not having a "replicate all databases" option, there's
no provision to start up replication automatically. We got around
both problems by having a cron job that runs periodically, looping
through the databases and sending replication requests for each of
them. Kludgy but effective.
I was hoping to be able to just configure continual replication of all
databases, but it looks like it'll need some sort of application layer
intervention.
Martin
Sent from my iPhone
On 24 Mar 2011, at 20:18, Nils Breunese wrote:
> I don't believe there is, but you can check /_all_dbs and l
I've finally managed to reproduce this problem in a test environment, and
filed a bug report:
https://issues.apache.org/jira/browse/COUCHDB-1100
Best regards,
Pasi
On Sat, Feb 26, 2011 at 11:19, Pasi Eronen wrote:
> BTW, it seems just changing "ulimit -n" did not work. At some point,
> the ser
30 matches
Mail list logo