Re: Installing CouchDB 0.11 on Mac OS

2010-03-23 Thread Jan Lehnardt
Hi Aexandru, check out the nightly builds link on http://janl.github.com/couchdbx/ for a pre-bult binary CouchDB. Cheers Jan -- On 23 Mar 2010, at 02:32, Alexandru Popescu ☀ wrote: Hi all, I've been trying yesterday to install the latest build of CouchDB [1] on both Mac OS 10.6.2 and

Re: Attachment serving, directories

2010-03-21 Thread Jan Lehnardt
On 20 Mar 2010, at 23:01, 7zark7 wrote: Let me rephrase the question: Are there any CouchDB 0.10 mechanisms (views, show function, etc) which allows me to serve a binary attachment that has one or more '/' characters in the requested file id? Yes :) echo $COUCH http://127.0.0.1:5984

Re: get document = unknown_error undef

2010-03-19 Thread Jan Lehnardt
Can you set the log level to debug and show the trace for the config page again? Cheers Jan -- On 18 Mar 2010, at 21:21, John Merrells wrote: On Mar 18, 2010, at 5:48 PM, J Chris Anderson wrote: I got the file, and

Re: uuids as xml?

2010-03-18 Thread Jan Lehnardt
On 18 Mar 2010, at 08:24, wolfgang haefelinger wrote: However, CouchDB should probably respond with a 406 Not Acceptable if it can't provide what was asked for in the various accept headers to make it clear to the client why it failed. Would be some nice and decent behaviour .. ;-)

Re: How to install 0.11 on Snow Leopard

2010-03-16 Thread Jan Lehnardt
On 15 Mar 2010, at 02:34, Sebastian Cohnen wrote: there are nightly builds available too, but I don't remember the url... They are linked to from the CouchDBX page: http://janl.github.com/couchdbx/ http://couch.lstoll.net/nightly/ Please don't use the downloads listing on GitHub, and only

Re: Performance when sending array of keys to a view

2010-03-16 Thread Jan Lehnardt
Can you point out the error so we can get it fixed in the library? Cheers Jan -- On 15 Mar 2010, at 12:50, Nick Poulden wrote: After further investigation the problem was with the CouchDB node plugin. Using pure node.js it's nice and fast. Thanks for the help :-) Nick On Mon, Mar 15,

Re: invalid UTF-8 JSON 400 error accessing view with 'key' parameter

2010-03-16 Thread Jan Lehnardt
Hi Erich, On 16 Mar 2010, at 19:33, erich oliphant wrote: I am a new CouchDB user. Welcome :) I've populated my db with some documents and I've begun delving into views. I have a simple view that seems to work fine with no params, like so: curl -X GET

Re: get item by longitude and latitude inside a square

2010-03-15 Thread Jan Lehnardt
For a simple solution, you could compute the geo-hash from the lat/lon values and put that into the key of the view. Cheers Jan -- On 15 Mar 2010, at 11:50, Christopher O'Connell wrote: You cannot do true bounding box queries with couch. You'll need to use one of teh geo-indexing solutions

Re: test suites failing on 0.11.0b921503

2010-03-12 Thread Jan Lehnardt
On 11 Mar 2010, at 15:50, j d wrote: Also, a lot of test suite databases where not removed. The non-removing is intentional. It makes it easier to find issue when we can inspect the state of a database in a failed test case. Cheers Jan -- test_suite_db/with_slashes4.1 KB 2 2

Re: test suites failing on 0.11.0b921503

2010-03-12 Thread Jan Lehnardt
On 11 Mar 2010, at 16:20, j d wrote: Completely removing all couchdb install files and database files, then doing a clean re-build and re-running the tests leaves just one error left: stats: 1. # Assertion 'triggered, We managed to force a all_dbs_active error.' failed: We managed to

Re: View output slow

2010-03-12 Thread Jan Lehnardt
On 12 Mar 2010, at 11:56, Julian Stahnke wrote: Am 12.03.2010 um 17:24 schrieb J Chris Anderson: On Mar 12, 2010, at 7:10 AM, Julian Stahnke wrote: Hello! I have a problem with a view being slow, even though it’s indexed and cached and so on. I have database of books (–120,000

Re: Couch data hosting for government data?

2010-03-10 Thread Jan Lehnardt
Hi Gilbert, awesomecake project :) You can write an validate_doc_update function to deny any writes to a database, or restrict access only to admin users. Read all about it here: http://books.couchdb.org/relax/design-documents/validation-functions

Re: Problems with large inline attachments with 0.11

2010-03-10 Thread Jan Lehnardt
On 9 Mar 2010, at 04:28, Bob Clary wrote: Hey all! I've been using 0.10.1 to successfully post large inline plain text attachments to couchdb. Now that 0.11 supports automatic compression of attachments, I thought I would give it a whirl. I have two issues that I can't find in jira.

Re: couchdb 0.11 roles

2010-03-10 Thread Jan Lehnardt
Hi Krishna, On 8 Mar 2010, at 08:09, km wrote: Hi all, where can i find information on the user roles, proxy setup and virtual host configurations in 0.11 ? We're still in the process of compiling this information. The best source is always the JavaScript test suite, but I understand that

Re: user...@couchdb.apache.org

2010-03-01 Thread Jan Lehnardt
On 1 Mar 2010, at 02:21, Daniel Truemper wrote: Hi, A clean, searchable Web frontend ( perhaps forums) would be nice, too. I think this is what Markmail is for [1]. And you could easily provide a Google translate link for the messages!? But language specific documentation is the very

user...@couchdb.apache.org

2010-02-26 Thread Jan Lehnardt
Hey all, I'm getting more and more inquiries about place to discuss CouchDB in German. I know there are quite a bit of German-speaking folks here: Do you think setting up user...@couchdb.apache.org would get any traction? Would *you* subscribe? :) Also: Are there other languages/countries where

Re: Roadmap 0.11?

2010-02-08 Thread Jan Lehnardt
Hi Per, thanks for nudging again. This thread needs to happen on dev@ though :) Cheers Jan -- On 4 Feb 2010, at 01:04, Per Ejeklint wrote: Fellow couchers, the official roadmap page (http://couchdb.apache.org/roadmap.html) is a tiiiny little outdated. As I'm trying to convince my new

Re: M/R/M, again

2010-01-28 Thread Jan Lehnardt
On 28 Jan 2010, at 03:44, Markus Jelsma wrote: Hi Chris, Thanks for your reply. I see that this might work indeed, after giving it some more thought, but i think i have a few issues with such an approach. It would fill the database with data i don't want/need and replication would

Re: design document replication

2010-01-28 Thread Jan Lehnardt
On 28 Jan 2010, at 16:13, Chris Petersen wrote: Hi All, I'm currently replicating 3 databases between 4 different CouchDB servers. Replication works great, however each server is performing a slightly different task and has slightly different views and specifically different

Re: Time machine backup while CouchDB running?

2010-01-28 Thread Jan Lehnardt
We should add that this is true for 0.10 or later. :) 0.9 and earlier still support copy-while-couch-is-running. Cheers Jan -- On 28 Jan 2010, at 18:26, Paul Davis wrote: I've never been emailed by Gmail before... Its true because CouchDB is an append only file format. If you have a

Re: Do document versions ever expire?

2010-01-27 Thread Jan Lehnardt
On 26 Jan 2010, at 15:15, Markus Jelsma wrote: Hello Paul and others, Now we're on the subject of compaction, let me ask an question. I have some importer somewhere that fills a clean db with about 3500 records, futon now tells me its size is 4.2 MB. However, if i compact a fresh and

Re: Filtering view results in couchdb

2010-01-27 Thread Jan Lehnardt
On 12 Jan 2010, at 11:09, Suresh Lakshmanan wrote: Hi, Is there a way to filter the results of a view? I found a filter mechanism that can be added to design doc and added as a query parameter for the _change API. Is there a similar mechanism for a normal view? Hi Suresh, why not use the

Mini CouchDB Meetup in Munich Tonight

2010-01-15 Thread Jan Lehnardt
Hey there, I'm visiting Munich and I thought we could do a small, spontaneous CouchDB meetup tonight. We're meeting at http://niederlassung.org/ at 19:00. If you are in town, come by and say hi :) Cheers Jan --

Re: CouchDB speakers

2010-01-06 Thread Jan Lehnardt
On 30 Dec 2009, at 18:25, Chris Anderson wrote: CouchDB devs and users, It's almost conference season again, and there will be unprecedented demand for CouchDB speakers. I think it'd really help the project to have people talking about CouchDB at all the local conferences and user group

Re: scaling dimensions in reduce

2009-12-13 Thread Jan Lehnardt
Hi Matteo, On 10 Dec 2009, at 11:53, Matteo Caprari wrote: Interesting. Let's say I'd like to implement that feature. Where would you start? Is there a document like start hacking couchdb? That's awesome! There are some docs on the wiki: http://wiki.apache.org/couchdb/Development They

Re: Difference between system_limit and max_dbs_open

2009-12-13 Thread Jan Lehnardt
Hi Rayudu, this was discussed recently. Find the first post of the thread here: http://mail-archives.apache.org/mod_mbox/couchdb-user/200911.mbox/%3c45ae90370911231435p64486788v6248a03c0d3aa...@mail.gmail.com%3e Cheers Jan -- On 11 Dec 2009, at 02:03, venkata subbarayudu wrote: Hello

Re: CouchDB Lounge mailing list?

2009-12-13 Thread Jan Lehnardt
Hi Lucas, On 11 Dec 2009, at 09:03, Lucas Di Pentima wrote: I'm new to CouchDB and CouchDB-Lounge, and I'm having some questions about the couchdb-lounge project, does anyone knows if there's some specific mailing list? I couldn't find any on the project's website. I hear the lounge team

Re: How to make equivalent of WHERE on JOINed table in CouchDB?

2009-12-13 Thread Jan Lehnardt
Great feedback. Moving to dev@ Thanks Roger. Cheers Jan -- On 13 Dec 2009, at 13:57, Roger Binns wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Lehnardt wrote: The worst that could happen is that people stop asking questions and I certainly don't want that. That is likely

Re: _show without docid returns 500 instead of 404

2009-12-12 Thread Jan Lehnardt
Hi, great thread. Can you open a JIRA ticket so we don't lose track of this? https://issues.apache.org/jira/browse/COUCHDB Cheers Jan -- On 1 Dec 2009, at 09:04, Markus Jelsma - Buyways B.V. wrote: Hello Chris, I'm glad you agree on my assumption that either the book or code is wrong

Re: representing many-to-many relations with concurrent inserts

2009-12-12 Thread Jan Lehnardt
Hi, I don't think this has been documented yet. It'd be great if you could update the wiki :) Cheers Jan -- On 1 Dec 2009, at 11:51, christian schilling wrote: thats sounds like a feature i have been waiting for. sadly i can't find any documentation about this, am i looking in the wrong

Re: Should I use CouchDb?

2009-12-12 Thread Jan Lehnardt
Hi Markus, that's good advice, thanks. And thanks for the plug :) Cheers Jan -- On 10 Dec 2009, at 14:11, Markus Jelsma wrote: You should read throug the entire book but your questions are mostly answered in these chapters: - http://books.couchdb.org/relax/intro/eventual-consistency -

Re: Comment tree design in CouchDB?

2009-11-18 Thread Jan Lehnardt
On 18 Nov 2009, at 11:46, 7zark7 wrote: Bit of a design question, hope you can provide some guidance: I'm writing an internal wiki-like web application, and one of the use-cases is to comment on a document. Domain model is simple: a Comment class with text, date, and a collection of

Re: HTTP session

2009-11-17 Thread Jan Lehnardt
On 17 Nov 2009, at 14:37, Vlad GURDIGA wrote: Hello, Do we have the notion of HTTP session for CouchDB? HTTP is stateless. Cheers Jan --

Re: Storing Hierarchical Data

2009-11-16 Thread Jan Lehnardt
On 16 Nov 2009, at 05:28, Adam Wolff wrote: There isn't a great way to store hierarchical data in couch. If you want to actually move stuff around, the full pathname is a no-go, since there are no bulk updates. The only other trick here, if you have meaningful roots or branch points, is to

Re: Ensuring unique attributes across documents?

2009-11-12 Thread Jan Lehnardt
Hi Cory, On 12 Nov 2009, at 04:59, Cory Nelson wrote: Indeed, that would be great if there were only one piece of data to keep unique. In fact, I'm already doing that for the user name. But what about the email? I guess this could really be made into a more generic question: how do you

Re: Ensuring unique attributes across documents?

2009-11-12 Thread Jan Lehnardt
On 12 Nov 2009, at 23:43, Zachary Zolton wrote: Sure, you could even maintain a database just for uniqueness, with strings like attr_name-attr_value as the doc IDs. BUT, you still have problems: * Writing multiple docs leaves an open window for race conditions (not so bad really) * Any

Re: how to clean up old versions of views

2009-11-10 Thread Jan Lehnardt
On 9 Nov 2009, at 21:21, James Marca wrote: On Mon, Nov 09, 2009 at 02:18:08PM -0500, Adam Kocoloski wrote: On Nov 9, 2009, at 2:14 PM, James Marca wrote: Hi again, I thought I remembered seeing on the wiki how to clean up old views in a database, but I can't seem to find it. I have

Re: How do you handle multiple document groups?

2009-11-06 Thread Jan Lehnardt
, it might lead to wrong design choices. Cheers Jan -- A On Thu, Nov 5, 2009 at 3:03 AM, Jan Lehnardt j...@apache.org wrote: On 5 Nov 2009, at 11:47, Robert Campbell wrote: Okay, I _do_ like that CouchDB lets me use / in a database name, so I can hopefully do http://xxx/myapp_com/users

Re: How do you handle multiple document groups?

2009-11-06 Thread Jan Lehnardt
On 6 Nov 2009, at 09:49, Brian Candler wrote: On Thu, Nov 05, 2009 at 11:12:08AM -0800, Adam Wolff wrote: Can I ask what the advantage of this is? Is this for replication? I like having typed databases; it seems like that will be an easy way to solve scaling problems. A database per

Re: Performance issue

2009-11-03 Thread Jan Lehnardt
On 3 Nov 2009, at 23:06, Brian Candler wrote: On Tue, Nov 03, 2009 at 11:07:53PM +0200, Sebastian Negomireanu wrote: Here is the pcap. Thanks, nicely readable by $ tcpdump -r couchdb.pcap -n -s0 -X tcp port 5984 | less From this, it is very clear that the delays are at the client side. I

Re: roadmap 0.11/1.0

2009-11-01 Thread Jan Lehnardt
On 1 Nov 2009, at 15:44, Benoit Chesneau wrote: Hi all, http://couchdb.apache.org/roadmap.html hasn't been updated. And in fact i'm really curious. What is the next things on the roadmap ? Also damien spoke in june to have a fixed release schedule (one every 6 months ?) is it still something

Re: Query across databases

2009-10-31 Thread Jan Lehnardt
On 31 Oct 2009, at 02:45, Devin Guedo wrote: hi all, I was wondering what would be the optimal way to query across databases? Quick example; you have a SAS blog platform. Each blog has its own database, storing the individual posts and comments as separate documents. You write a view

Re: Proposal regarding reserved names

2009-10-30 Thread Jan Lehnardt
On 29 Oct 2009, at 23:47, Julian Goacher wrote: Hello, With respect to http://wiki.apache.org/couchdb/Reserved_words: I'm a developer currently writing an application framework layered over couchdb. The framework needs to annotate user documents with additional state information. Prior to

Re: Couch in the wild: request for feedback

2009-10-29 Thread Jan Lehnardt
On 28 Oct 2009, at 16:22, Vijay Raghunathan wrote: - what are your top feature requests for future development? Speed, stability. Rolling the features of the lounge into couch (especially the smartproxy). Filtered changes (I think this is scheduled for .11 right?) They are in 0.10.

Re: Where do deleceted docs go

2009-10-28 Thread Jan Lehnardt
Hi Mandel, On 28 Oct 2009, at 08:20, man...@themacaque.com wrote: My main question was actually related with that fact. I was wondering if I could either relay on couchdb to keep track of deleted documents until compacted or on the other hand use a flag in my documents to decide what if

Re: Writing about the Couch in the china shop.

2009-10-28 Thread Jan Lehnardt
Hi Shail, Good luck, thanks for taking the time! Cheers Jan -- On 28 Oct 2009, at 00:29, Suhail Ahmed wrote: Hi, I must say I really enjoy working with couch, though its bit of a culture shock. Having spend a few weeks using Curl to understand the API, I have decided to move my CMS over

Re: Where do deleceted docs go

2009-10-28 Thread Jan Lehnardt
On 28 Oct 2009, at 13:29, Thomas Delaet wrote: If I understand this correctly, the fact that you can not rely on deleted documents being available cripples the synchronization mechanism. Situation: Node A = Document X (rev 1) Node B = Document X (rev 1) Events: 1. Node A deletes Document

Re: COUCHDB-161 Range Request support for attachments

2009-10-27 Thread Jan Lehnardt
this on. The patch shouldn't be too hard and would be perfect for a newcomer who is eager to dive into the CouchDB codebase. I'd be happy to do some guiding. Cheers Jan -- Thanks, Jens Jan Lehnardt j...@apache.org 27.10.2009 14:52 Please respond to user@couchdb.apache.org To user@couchdb.apache.org cc

Re: COUCHDB-161 Range Request support for attachments

2009-10-27 Thread Jan Lehnardt
to the right entry point in the code, I would definitely have a look. Thanks, Jens Jan Lehnardt j...@apache.org 27.10.2009 15:22 Please respond to user@couchdb.apache.org To user@couchdb.apache.org cc Subject Re: COUCHDB-161 Range Request support for attachments On 27 Oct 2009, at 15:10

Re: COPY bug

2009-10-26 Thread Jan Lehnardt
On 25 Oct 2009, at 23:58, Chris Anderson wrote: On Sun, Oct 25, 2009 at 12:54 PM, Paul Davis paul.joseph.da...@gmail.com wrote: Hmmm. Now all we have to do is decide if we want ok:true or not. Anyone have an opinion? It would remain more consistent with the other CRUD style operations

Re: COPY bug

2009-10-26 Thread Jan Lehnardt
On 26 Oct 2009, at 09:06, Nils Breunese wrote: Doesn't the HTTP status code already tell you whether the request was successful or not? What does sending a bit of JSON add to that? Browsers don't show response headers neither does curl (unless you specifically ask them / tell them to).

Re: Replication hangs

2009-10-21 Thread Jan Lehnardt
On 21 Oct 2009, at 15:08, Adam Kocoloski wrote: On Oct 21, 2009, at 4:23 AM, Simon Eisenmann wrote: Hi, Am Montag, den 19.10.2009, 10:04 -0400 schrieb Paul Davis: Also, you might try setting up the continuous replication instead of the update notifications as that might be a bit more

Re: Bulk insert on 0.11.0b825472

2009-10-20 Thread Jan Lehnardt
On 20 Oct 2009, at 12:11, Vlad GURDIGA wrote: Hi! I'm trying to bulk insert a bunch of documents using the method described in the wiki page* but I get a single document with a docs key having as value the list of documents I'm trying to upload. *

Re: Enable Erlang for views?

2009-10-19 Thread Jan Lehnardt
On 19 Oct 2009, at 22:12, Zachary Zolton wrote: Hm... Not so fast, I put the following in my local.ini: [native_query_servers] erlang = {couch_native_process, start_link, []} Do you have a newline after this last line? Cheers Jan -- But now when I try it, I'm still getting the error: $

Re: Sofa vs Couchdb(X) 0.10

2009-10-15 Thread Jan Lehnardt
Thanks a lot Nicolas, that's a lot of data to work with! :) Cheers Jan -- On 15 Oct 2009, at 11:04, Nicolas Steinmetz wrote: 2009/10/15 Jan Lehnardt j...@apache.org Can you first try to run the test suite in Firefox(!). The built-in web view won't work. (sorry about that :). Tests

Re: libjpeg dependency?

2009-10-15 Thread Jan Lehnardt
Hi Bryan, On 15 Oct 2009, at 17:36, Bryan Fink wrote: Trace/BPT trap The same error occurs with both couchdb-0.9.1 and -0.10, each compiled from source tarball. So, I have two questions: 1. Why does couchdb depend on libjpeg? It doesn't. This is an artificial dependency that MacPorts

Re: Sofa vs Couchdb(X) 0.10

2009-10-14 Thread Jan Lehnardt
Hi Nicolas, the error looks familiar. By the time of the release I heard it once and put it off as setup weirdness. But I've gotten at least one other report (hey Nils :) that looks similar. Can you first try to run the test suite in Firefox(!). The built-in web view won't work. (sorry

CouchDB CouchUp in San Francisco

2009-10-05 Thread Jan Lehnardt
Hi Couchers, sorry for the short notice. We're having a CouchDB CouchUp tonight: http://www.mobaganda.com/couchdbcouchup Cheers Jan --

Re: External process for httpd_global_handlers

2009-09-29 Thread Jan Lehnardt
On 29 Sep 2009, at 11:10, Marcin Lepicki wrote: Hi, I am developing Flex application with CouchDB backend (only GET requests, for images). Flash/flex apps must pass security rules for flash player (more info on http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html ), but

Re: CouchDB _show and 404?

2009-09-25 Thread Jan Lehnardt
On 25 Sep 2009, at 00:51, Chris Anderson wrote: heh I guess it's already done :) /me *pats back* :) On Thu, Sep 24, 2009 at 3:38 PM, Zachary Zolton zachary.zol...@gmail.com wrote: My apologies! I just re-read the wiki and saw my answer: function(doc, req) { if(doc) { // regular doc

Re: Redirect from _list function?

2009-09-25 Thread Jan Lehnardt
Hi Zach, On 25 Sep 2009, at 05:50, Zachary Zolton wrote: So, can anyone give a reason why this _list function shouldn't work? (you wrote the initial message not even five hours earlier, be patient ;) -- The chunky-parser error message occurs when curl expects a chunked HTTP response

Re: ruby script to auto update your views

2009-09-25 Thread Jan Lehnardt
On 25 Sep 2009, at 08:27, Per Ejeklint wrote: Nice one, thanks! Comes in very handy for me. /Per 24 sep 2009 kl. 01.29 skrev Francisco Viramontes: http://gist.github.com/192378 Modified version of the script in

Re: is there a way to pass a request parameter to a view ?

2009-09-25 Thread Jan Lehnardt
: 3, string: 3} ] } So for doc _id 1, I only change 'integer'; will the rest be kept intact, or CouchDB will actually create a new doc with 'integer' only ? rgds, canal From: Jan Lehnardt j...@apache.org To: user@couchdb.apache.org Sent: Thursday, September

Re: is there a way to pass a request parameter to a view ?

2009-09-24 Thread Jan Lehnardt
On 24 Sep 2009, at 02:31, go canal wrote: no problem. the link is still very useful. I found 'HTTP_Bulk_Document_API' but empty page now http://wiki.apache.org/couchdb/%5BHTTP_Bulk_Document_API Where di you find this (broken) link? The correct link is

Re: is there a way to pass a request parameter to a view ?

2009-09-24 Thread Jan Lehnardt
On 24 Sep 2009, at 12:40, Matt Goodall wrote: 2009/9/24 Jan Lehnardt j...@apache.org: On 24 Sep 2009, at 02:31, go canal wrote: no problem. the link is still very useful. I found 'HTTP_Bulk_Document_API' but empty page now http://wiki.apache.org/couchdb/%5BHTTP_Bulk_Document_API Where

Re: sort by key

2009-09-22 Thread Jan Lehnardt
On 22 Sep 2009, at 18:39, Elf wrote: 2009/9/22 Ning Tan ning...@gmail.com: On Tue, Sep 22, 2009 at 11:43 AM, Elf elf2...@gmail.com wrote: Do not use emit(something, doc), prefer to use include_docs=true (so, emit(something, something_less_than_large_document) when requesting a view.

Re: Varnish and Multi-doc Fetch?

2009-09-11 Thread Jan Lehnardt
On 11 Sep 2009, at 19:58, Paul Davis wrote: On Fri, Sep 11, 2009 at 1:28 PM, Zachary Zolton zachary.zol...@gmail.com wrote: Hi, I'm testing out using Varnish for my application, and so far most everything just works with CouchDB. The only real problem I have is that I'm using (probably

Re: Varnish and Multi-doc Fetch?

2009-09-11 Thread Jan Lehnardt
On 11.09.2009, at 21:54, Jesse Hallett halle...@gmail.com wrote: On Fri, Sep 11, 2009 at 11:12 AM, Jan Lehnardt j...@apache.org wrote: On 11 Sep 2009, at 19:58, Paul Davis wrote: On Fri, Sep 11, 2009 at 1:28 PM, Zachary Zolton zachary.zol...@gmail.com wrote: Hi, I'm testing out using

jQuery dependency (Re: Futon Improvements)

2009-09-10 Thread Jan Lehnardt
Hi :) On 10 Sep 2009, at 03:33, cinnebar wrote: I am working with a group on a full featured ERP that proposes to index/store data AND scripts in one or multiple json db files, perhaps outputting function sets from json document/s to .js (for example) file/s serverside maybe in a cache

Re: Crash dump

2009-09-10 Thread Jan Lehnardt
Hi Oliver, On 10 Sep 2009, at 10:30, Oliver Oli wrote: I freshly compiled and installed couchdb 0.9.1 on Ubuntu 9.04 64bit. couchdb immediately crashes after startup. Any idea how to fix it or how to figure out what's wrong. There is no log file, only the erl_crash.dump. /opt/couchdb#

Re: Futon Improvements

2009-09-10 Thread Jan Lehnardt
On 10 Sep 2009, at 17:03, Elton Okada wrote: jQuery and CouchApp are much easier to write, but what about security issues ? i mean, in this way our aplication logic get exposed, this is my great doubt in using it what do you think ? Open Source FTW :) Cheers Jan -- On Thu, Sep

Re: Futon Improvements

2009-09-10 Thread Jan Lehnardt
Hi cinnebar, On 10 Sep 2009, at 18:04, cinnebar wrote: I don't believe CouchDB depends on jQuery. In any case CouchDB by itself does not depend on jQuery. Perhaps I didnt explain my point well. I mentioned jquery dependency in the context of 'Futon improvements'. Futon is the 'in box'

forking threads (Was: Re: Futon Improvements, Should be: jQuery dependency)

2009-09-10 Thread Jan Lehnardt
On 10 Sep 2009, at 18:17, Noah Slater wrote: On Thu, Sep 10, 2009 at 11:15:18AM -0500, Zachary Zolton wrote: Please move discussion of the appropriateness of using jQuery to another thread. Here we should be discussing features and improvements to Futon. Excuse me? Forking threads is a

Re: forking threads (Was: Re: Futon Improvements, Should be: jQuery dependency)

2009-09-10 Thread Jan Lehnardt
On 10 Sep 2009, at 18:42, cinnebar wrote: If you read the Futon improvements thread carefully from the top you my understand that your reply to my comment appeared rude in the context of the discussion. You and Jan seem to have missed the points I was making almost entirely. I sure

Re: Futon Improvements

2009-09-10 Thread Jan Lehnardt
On 10 Sep 2009, at 20:12, cinnebar wrote: My motivation for making the comment about non jquery dependency stems primarily from our commitment to adopting CouchDb in out own systems and a desire to increase user base and therefore support and active development of CouchDB Thats a great

NoSQL Meetup Germany @ Berlin

2009-09-09 Thread Jan Lehnardt
, Thomas Nicolai and Jan Lehnardt. Schedule and further updates on the event will be published on http://nosqlberlin.de Feel free to re-distribute this CfP. A very big Thank You goes to newthinking store for providing the venue for this event.

Re: rename document attachment

2009-09-08 Thread Jan Lehnardt
On 8 Sep 2009, at 18:51, Chris Anderson wrote: On Tue, Sep 8, 2009 at 4:58 AM, Shawn McDermottsgt...@gmail.com wrote: On Thu, Sep 3, 2009 at 5:26 PM, Oliver Boermans boerm...@gmail.com wrote: 2009/9/3 Shawn McDermott sgt...@gmail.com: I have a simple html/javascript app that uploads an

Re: comfy couch?

2009-09-05 Thread Jan Lehnardt
On 5 Sep 2009, at 19:34, Chris Anderson wrote: Would a full mesh of continuous replication between many nodes pose a problem? So far I've only tested replication between two nodes. I'll add more nodes to the testbed as I get my hands on more machines. Is there any difference between push

Re: CouchDB build with Snow Leopard fails to start up - no suitable image found

2009-09-03 Thread Jan Lehnardt
forgot to ask for file /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ couch_erl_driver.so as well, sorry :) Feel free to hop on #couchdb on irc.freenode.net for some more immediate help Cheers Jan -- -Justin On Thu, Sep 3, 2009 at 3:05 AM, Jan Lehnardt j...@apache.org wrote: can

Re: Tree structure: how to calculate branch node sum, using results from a view that calculates leaf node sums.

2009-09-03 Thread Jan Lehnardt
On 3 Sep 2009, at 14:35, Metin Akat wrote: I am writing an accounting application. Generally, so far my design is as follows: 1. Account document. 2. Transaction document. It has kind of the usual structure... debit, credit, qty, value etc. Here debit and credit are two account UUIDs I have

Re: Snow Leopard and Spidermonkey not working

2009-09-02 Thread Jan Lehnardt
On 2 Sep 2009, at 17:50, Trevor Turk wrote: The Spidermonkey part of these installation instructions don't work for me: http://wiki.apache.org/couchdb/Installing_on_OSX $ sudo ranlib /usr/local/spidermonkey/lib/libjs.a ranlib: file: /usr/local/spidermonkey/lib/libjs.a(jslock.o) has no

Re: View to find someone in a list in a document

2009-09-02 Thread Jan Lehnardt
Style police! On 2 Sep 2009, at 19:00, Simon Metson wrote: Hi, Do you mean you want to emit each user as a key? Something like: function(doc) { for (v in doc.users) { emit(doc.users[v], doc); } is better written as function(doc) { for (var v in doc.users) { emit(doc.users[v], doc);

Re: CouchDB presentation in Portland tonight

2009-09-01 Thread Jan Lehnardt
Cool, good luck! :) If you need some fuel on the number thing: http://jan.prima.de/~jan/plok/archives/175-Benchmarks-You-are-Doing-it-Wrong.html http://jan.prima.de/~jan/plok/archives/176-Caveats-of-Evaluating-Databases.html Cheers Jan -- On 1 Sep 2009, at 17:50, Jesse Hallett wrote: I will

Re: I can’t relax. I broke my couch upgrading dependencies. What might this error mean?

2009-08-30 Thread Jan Lehnardt
On 30 Aug 2009, at 09:56, Oliver Boermans wrote: I’m finally back on the Couch. 2009/8/2 Oliver Boermans boerm...@gmail.com: I have tried uninstalling and reinstalling erlang with macports without any change. I’m open to the idea of cleaning out couchdb’s dependencies to reinstall them from

Re: validation and filtered replication

2009-08-27 Thread Jan Lehnardt
On 27 Aug 2009, at 22:52, Chris Anderson wrote: On Tue, Aug 25, 2009 at 3:08 PM, Matt Aimonettimattaimone...@gmail.com wrote: Hi guys, I'm on CouchDB 0.9.1 and here is what I am trying to do: - node A, database A (docs have a node flag) - node B, database B (docs have a node flag) - node

Re: multiple reduces on same index

2009-08-27 Thread Jan Lehnardt
Hi Adam, On 27 Aug 2009, at 23:14, Adam Wolff wrote: Hi list,One of our indices (map functions) is particularly data intensive. We're generating roughly n^2/2 map entries for each document, so it's impractical to generate this index twice. It would be nice to be able to write multiple

Re: Replication and new user questions

2009-08-25 Thread Jan Lehnardt
On 25 Aug 2009, at 22:59, Miles Fidelman wrote: Adam Kocoloski wrote: On Aug 25, 2009, at 5:17 PM, Miles Fidelman wrote: I keep looking at CouchDB and thinking this should be perfect for what we're doing, but the details of replication are really sketchy. Ouch :) I'll try to get around

Re: proper way to uninstall/reinstall CouchDB

2009-08-23 Thread Jan Lehnardt
On 23 Aug 2009, at 16:24, Delta 2038 wrote: Hello everybody, I'm wondering what's the proper way to uninstall/reinstall CouchDB? I had 0.9.x checked out of SVN and followed the README file to build/install CouchDB. Later, checked out trunk and built/installed again, hoping the new

Re: proper way to uninstall/reinstall CouchDB

2009-08-23 Thread Jan Lehnardt
On 23 Aug 2009, at 18:02, Delta 2038 wrote: So is it safe to assume that a proper 'make install' is always sufficient to upgrade, of course in the absence of explicit compatibility-breaking announcements? No: http://wiki.apache.org/couchdb/Breaking_changes Cheers Jan --

Re: How do I get started with CouchDB under Windows 7 (or Vista)

2009-08-21 Thread Jan Lehnardt
On 21 Aug 2009, at 09:32, ulf.landg...@knowit.se wrote: Hi, CouchDB looks very promising. I like to try it. Any hints on the easiest way to get it to run under Windows 7? ( I could install Linux, but for now I like to run it under Windows 7.) CouchDB doesn't officially support Windows

[SPAM] CouchDB Training in Boston, MA Sept. 10th/11th

2009-08-18 Thread Jan Lehnardt
Hi Couchers, sorry for the spam :) — We, couch.io, are running a CouchDB training course* in Boston, MA on September 10th 11th right before jQuery Conference** and The Ajax Experience***. * CouchDB Training: http://couchio.com/courses ** http://events.jquery.com/jquery-conference-2009/ ***

Re: Erlang Views?

2009-08-18 Thread Jan Lehnardt
Hi Zach, until we get around documenting things, the test suite is always a great place to look for how new features work: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/erlang_views.js?revision=804727content-type=text%2Fplain Cheers Jan -- On 18 Aug 2009, at 17:52, Zachary

Re: CouchDB for production

2009-08-18 Thread Jan Lehnardt
On 18 Aug 2009, at 09:52, [mRg] wrote: Hi all, After showing how great a fit CouchDB is in the proof of concept stage, I have now been tasked with specing a production machine. Does anyone have recommendations/gotchas for CouchDB production environments ? As an idea of scale the site is

Re: Where are the view indices stored?

2009-08-18 Thread Jan Lehnardt
On 18 Aug 2009, at 05:23, Hadley Wickham wrote: Hi all, When running couchdbx, where are the view indices stored? The config screen shows couchdb/var/lib/couchdb, but what is that relative too? I ask because I seem to have created an enormous index that is sucking up all my disk space :(

Re: Where are the view indices stored?

2009-08-18 Thread Jan Lehnardt
the road, I hope to make a version of CouchDBX that is more aligned with Mac OS X standards. Cheers Jan -- -Jeff On Tue, Aug 18, 2009 at 11:16 AM, Jan Lehnardt j...@apache.org wrote: On 18 Aug 2009, at 05:23, Hadley Wickham wrote: Hi all, When running couchdbx, where are the view indices stored

Re: spidermonkey load function

2009-08-12 Thread Jan Lehnardt
On 12 Aug 2009, at 21:08, Norman Barker wrote: Hi, I have been looking at the SpiderMonkey shell and the custom couchdb javascript driver and see that the couchdb driver does not allow the load(filename) function which is allowed in the shell, is this intentional? We don't want users to

Re: spidermonkey load function

2009-08-12 Thread Jan Lehnardt
On 12 Aug 2009, at 22:50, Norman Barker wrote: ok, (sorry should have been clearer) I am just looking to add generic functions to main.js - and the methods will be added to the sandbox to be available in a view, I also do not wish to load arbitrary functions in a view. I am not looking to

Re: reduce fn for grouping items with same key

2009-08-10 Thread Jan Lehnardt
Hi Nitin, On 10 Aug 2009, at 08:48, Nitin Borwankar wrote: Hello all, I am trying to write a reduce function which takes the map fn output (k1, v11), (k1, v12), (k1, v13), (k2, v21), (k2, v22), (k3,v31) and produces as a result of the reduce { k1: [v11,v12,v13], k2: [v21,v22], k3:

Re: New site powered by CouchDB - magnifeast.com

2009-08-09 Thread Jan Lehnardt
Hi Scott, thanks for sharing your experiences :) We might want to borrow some money quotes here for the website (CouchDB was a good fit for us because restaurant and menu data can be very complicated…). It's great to hear that you are as enthusiastic about CouchDB as we are :) Cheers Jan

Re: couchdb on 8 core redhat/fedora

2009-08-09 Thread Jan Lehnardt
On 9 Aug 2009, at 07:57, Nitin Borwankar wrote: Paul Davis wrote: Hey Paul, Thanks much for that. I was hoping it was something simple like that. Spidermonkey doesn't use any SMP features - does that mean it will only run on one core and essentially become the bottleneck ? We don't

<    1   2   3   4   5   6   7   8   >