On May 10, 2010, at 12:19 PM, James Marca wrote:
> On Fri, May 07, 2010 at 11:03:34PM -0400, Jim R. Wilson wrote:
>> Quick question - what's the easiest (most relaxing) way to install
>> couchdb 0.11 on Ubuntu lucid lynx? Should I compile from source?
>> Should I add debian unstable to my source
On Tue, May 11, 2010 at 11:40 AM, J Chris Anderson wrote:
>
> On May 11, 2010, at 7:26 AM, Norman Barker wrote:
>
>> Sven,
>>
>> I have just gone through the same thing and am happy to document it,
>> how do you get wiki access to update the docs?
>>
>
> There is also a test spec here:
>
> http://
On 12/05/2010 1:43 AM, Norman Barker wrote:
Hi,
can the windows build of couchdb be done with the latest version of
erlang, I know that usually this wouldn't be a problem but in R13B03
R13B04 there are NIFs and this isn't available in R13B02 which is
currently shipped with the windows installer.
Hi Robert!
I changed the name of my date field from "mydate" to "date" - so far there
are no problems.
As concerincing the single quotes around the sort parameter - I followed the
example for type-specific sorting on
http://github.com/rnewson/couchdb-lucene where it says "Type-specific
sorting is
Also, you have single quotes around the sort parameter?
Try;
?sort=date&q=date:[2010-02-10 TO 2010-05-10]
not
?'sort=date'&q=date:[2010-02-10 TO 2010-05-10]
On Tue, May 11, 2010 at 11:41 PM, Robert Newson wrote:
> You called your date field 'mydate' not 'date'.
>
> B.
>
> On Tue, May 11, 2010 a
You called your date field 'mydate' not 'date'.
B.
On Tue, May 11, 2010 at 11:11 PM, Jochen Kempf wrote:
> I just realized that I cannot sort the query result by a date type field.
>
> I tried it using the following queries:
> ?'sort=\date'&q=date:[2010-02-10 TO 2010-05-10]
> ?'sort=date'&q=da
I just realized that I cannot sort the query result by a date type field.
I tried it using the following queries:
?'sort=\date'&q=date:[2010-02-10 TO 2010-05-10]
?'sort=date'&q=date:[2010-02-10 TO 2010-05-10]
and got always the same result:
{
"q": "date:[126577080 TO 127346400]",
"p
On Wed, May 12, 2010 at 12:57:56AM +0530, mario dcunha wrote:
> but we do have to validate forms, connect to databses... preserve cookie
> sessions, verify user data and store user data to the databse right... so i
> think we do require php
For what it's worth, you can do that all within Couch
Mario-
I don't know if anyone has mentioned it or not, but you could take a look at
using http://restfulx.github.com/ for your application. I don't know how
much activity the project has had lately, but I used it to develop a small
little application with flex and couchdb a ways back.
Good luck,
ok.. will try that later and check. also, we're using couch db on ubuntu... but
i also have it on windows 7. is it possible to test is here with flex, or is it
required to be used ONLY in ubuntu? and if i want it to be used in win7, i can
use the WAMPP server or XAMPP for windows rite?
_
On Tue, May 11, 2010 at 2:43 PM, Zachary Zolton wrote:
> The source of the bug is not JavaScript, if you read the ticket. It's
> mochijson2's arbitrary parsing of large numbers into floats, which
> emulates JavaScript's large number handling.
>
>
it is JavaScript spec "related" in that is behavin
Adam,
That's the problem. I feel a little stupid, but I appreciate the nudge in the
right direction!
Mike
On May 11, 2010, at 3:23 PM, Adam Kocoloski wrote:
> Hi Mike, are you sure this is what you want?
>
>> [Emit(proplists:get_value(<<"id">>, StrippedCampaign, null), Campaign)
>> || Ca
Cheers! I was just hacking around.
On May 11, 2010, at 3:29 PM, Adam Kocoloski wrote:
> Correct version:
>
> [Emit(proplists:get_value(<<"id">>, Campaign, null), {Campaign}) ||
> {Campaign} <- AdwordsCampaigns];
>
> But you get the idea.
>
> On May 11, 2010, at 3:23 PM, Adam Kocoloski wrote:
You don't need any of that for using couchdb with flex. You probably need
to setup blazeds so that you can make put/delete calls against couchdb.
BlazeDS will give you a lot of other functionality out of the box too.
On Tue, May 11, 2010 at 3:27 PM, mario dcunha wrote:
> but we do have to val
Correct version:
[Emit(proplists:get_value(<<"id">>, Campaign, null), {Campaign}) || {Campaign}
<- AdwordsCampaigns];
But you get the idea.
On May 11, 2010, at 3:23 PM, Adam Kocoloski wrote:
> Hi Mike, are you sure this is what you want?
>
>> [Emit(proplists:get_value(<<"id">>, StrippedCa
but we do have to validate forms, connect to databses... preserve cookie
sessions, verify user data and store user data to the databse right... so i
think we do require php
From: Mike Keen
To: "user@couchdb.apache.org"
Sent: Wed, 12 May, 2010 12:54:56 AM
Why even bother with PHP? Flex allows you to make HTTP requests right out of
the box. No need for the additional layer.
On May 11, 2010, at 3:15 PM, mario dcunha wrote:
> the thing is... flex has an option to connect an application to a databse.
> when it says databse it only means a 'my sql' d
Hi Mike, are you sure this is what you want?
> [Emit(proplists:get_value(<<"id">>, StrippedCampaign, null), Campaign)
> || Campaign <- AdwordsCampaigns, {StrippedCampaign} <- AdwordsCampaigns];
Try it in the emulator
1> Foo = [1,2,3].
[1,2,3]
2> [{X,Y} || Y <- Foo, X <- Foo].
[{1,1},{2,1},
the thing is... flex has an option to connect an application to a databse. when
it says databse it only means a 'my sql' databse... so i wanna know whether we
can use any pluggin sort of thing to connect flex to a couchdb databse... and
hence generate the php...
Hi,
Can you accept json encoded data in Flex? If so, putting a simple HTTP proxy
(such as Nginx or Apache's mod_proxy) in front will suffice. There is no need
for any additional server sided language.
Cheers,
-Original message-
From: mario dcunha
Sent: Tue 11-05-2010 21:0
Hi,
We are students of computer science engineering. currently we're working on a
project were we are aiming to create a web applicaition using adobe flex
builder 3.
this application is an automated department manager, which manages the students
and teacher details of our department in our col
You're right. In the value column, the id shows up as 50573744 which is the
correct value. In the key column, it shows up as 53518364.
On May 11, 2010, at 2:44 PM, Randall Leeds wrote:
> On Tue, May 11, 2010 at 11:40, Jarrod Roberson wrote:
>> On Tue, May 11, 2010 at 2:31 PM, Mike Keen wrote:
On Tue, May 11, 2010 at 11:40, Jarrod Roberson wrote:
> On Tue, May 11, 2010 at 2:31 PM, Mike Keen wrote:
>
>> I guess I'm confused as to why JavaScript is ever even involved when
>> writing views in Erlang. Excuse my ignorance, but does all JSON go through
>> it?
>>
>> Mike
>>
>> read all the co
The source of the bug is not JavaScript, if you read the ticket. It's
mochijson2's arbitrary parsing of large numbers into floats, which
emulates JavaScript's large number handling.
On Tuesday, May 11, 2010, Mike Keen wrote:
> I guess I'm confused as to why JavaScript is ever even involved when
On Tue, May 11, 2010 at 2:31 PM, Mike Keen wrote:
> I guess I'm confused as to why JavaScript is ever even involved when
> writing views in Erlang. Excuse my ignorance, but does all JSON go through
> it?
>
> Mike
>
> read all the comments to that bug report, it is the JSON parser that
conforms to
I guess I'm confused as to why JavaScript is ever even involved when writing
views in Erlang. Excuse my ignorance, but does all JSON go through it?
Mike
On May 11, 2010, at 12:37 PM, Jarrod Roberson wrote:
> On Tue, May 11, 2010 at 10:55 AM, Mike Keen wrote:
>
>> I'd say there's a good reason
I'd suggest having a database per user. That makes both access control
and size/usage easy.
I'd consider limiting the user access to the database via a middle
tier program that can just check the database size before allowing any
write operations.
And don't worry, CouchDB is known to support tens
On May 11, 2010, at 7:26 AM, Norman Barker wrote:
> Sven,
>
> I have just gone through the same thing and am happy to document it,
> how do you get wiki access to update the docs?
>
There is also a test spec here:
http://github.com/apache/couchdb/blob/trunk/test/view_server/query_server_spec.
Hello,
I am trying to perform view cleanup on our database. I am having
trouble diagnosing the problem due to the mystery of the error
message. Here is what the logs say:
[Tue, 11 May 2010 17:34:17 GMT] [info] [<0.19274.16>] - - 'POST'
/db_1/_view_cleanup 500
[Tue, 11 May 2010 17:34:17 GMT] [deb
On Tue, May 11, 2010 at 10:55 AM, Mike Keen wrote:
> I'd say there's a good reason to store it as a number, if I want to be able
> to sort on that field. But, even if you could make the case that this
> particular value should be stored as a string, shouldn't we be able to
> expect data stored as
Hi,
can the windows build of couchdb be done with the latest version of
erlang, I know that usually this wouldn't be a problem but in R13B03
R13B04 there are NIFs and this isn't available in R13B02 which is
currently shipped with the windows installer.
thanks,
Norman
hmm, you can simply sign up (
http://wiki.apache.org/couchdb/FrontPage?action=newaccount ) - but I get a
weird message "You are not allowed to do newaccount on this page. Login and try
again."... I think this was the way I signed up but I'm not 100% sure...
On 11.05.2010, at 16:26, Norman Bark
I'd say there's a good reason to store it as a number, if I want to be able to
sort on that field. But, even if you could make the case that this particular
value should be stored as a string, shouldn't we be able to expect data stored
as an integer to be able to be retrieved accurately?
Mike
On Tue, May 11, 2010 at 10:37 AM, Jarrod Roberson wrote:
> this is a know issue with I reported here
> https://issues.apache.org/jira/browse/COUCHDB-749
> it has something to do with JavaScript precision with Numbers.
>
> my solution was to just persist everything as strings and then convert back
this is a know issue with I reported here
https://issues.apache.org/jira/browse/COUCHDB-749
it has something to do with JavaScript precision with Numbers.
--
Jarrod Roberson
Hey All,
I've recently been toying around with writing some Erlang views and have found
the experience enjoyable so far, with one caveat. My map function is returning
bad integers. I'm not sure what the cause could be, but if you guys could point
me in the right direction, I'd greatly appreciat
Sven,
I have just gone through the same thing and am happy to document it,
how do you get wiki access to update the docs?
Norman
On Tue, May 11, 2010 at 8:18 AM, Sven Over wrote:
>
> Hi there...
>
> I'm wondering whether a complete description of the query server (view
> server) protocol. I hav
Hi there...
I'm wondering whether a complete description of the query server (view
server) protocol. I have found a page on the wiki
(http://wiki.apache.org/couchdb/View_server), but that lacks description of
the "ddoc" command. That command is mentioned in various mails on the
mailing list, but
Hi all,
I have some compilation problem with apache-couchdb-0.11.0 on Ubuntu 9.10 :
- With "aptitude install libcurl4-gnutls-dev" :
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O2 -lcurl
-L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include
-I/usr/lib/erlang/usr/
On 11.05.2010, at 11:37, Ronen Narkis wrote:
> Why aren't the faster function are always used? is there a reason to prefer
> the sum over _sum?
The only reason I can think of is, that you want more control over what to sum
up...
Great!
Currently there are only three built-in funs (which I documented here:
http://wiki.apache.org/couchdb/Built-In_Reduce_Functions ).
If raw performance is important for you, you could also consider using native
erlang views (instead of using javascript).
On 11.05.2010, at 11:16, Manokara
Why aren't the faster function are always used? is there a reason to prefer
the sum over _sum?
Ronen
On Tue, May 11, 2010 at 12:16 PM, Manokaran K wrote:
> On Tue, May 11, 2010 at 1:40 PM, Sebastian Cohnen <
> sebastiancoh...@googlemail.com> wrote:
>
> > _sum
> >
> > instead of
> >
> > > functi
On Tue, May 11, 2010 at 1:40 PM, Sebastian Cohnen <
sebastiancoh...@googlemail.com> wrote:
> _sum
>
> instead of
>
> > function(keys, values, rereduce){
> > return sum(values);
> > }
>
> I think the wiki is missing some information on build-in reduce functions.
> I'll add this today.
>
>
Than
_sum
instead of
> function(keys, values, rereduce){
> return sum(values);
> }
I think the wiki is missing some information on build-in reduce functions. I'll
add this today.
On 11.05.2010, at 10:04, Manokaran K wrote:
> Hi,
>
> Am testing an app where there are approx 400k docs (exam
Hi,
Am testing an app where there are approx 400k docs (exam results). There are
only two views in the design_doc:
map:
function(doc) {
if(doc.dtype === 'result'){
var subject_total, scr, scores = doc.scores;
var total = 0, len = scores.length; //scores.length is 6 t
45 matches
Mail list logo