-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Anderson wrote:
If your concern is this strong, then you should be encoding your
numbers as strings and writing your own number handling code.
The point is that they aren't my numbers :-) They are the numbers of the
users of my component.
On Tue, Nov 10, 2009 at 12:11 AM, Roger Binns rog...@rogerbinns.com wrote:
I understand that it is just the way JS works and it is impractical to fix.
I do think it would be valuable for there to be a test/compliance suite in
CouchDB that at least detects and documents the issue for any view
Hello,
On 7.Nov, 2009, at 22:58 , Brian Candler wrote:
* How do would you write/implement tests for your views?
I don't see in principle why it can't be any different to normal
tests. That
is, you ...
of course, it is not different *in principle* at all. I am
specifically curious about
Hi Zachary,
I've done it by building test scripts—just run 'em on the command line
with SpiderMonkey's js executable—and it feels pretty fast and easy.
how are you providing fixtures to the scripts?
Karel
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
Hello all,
Can some give me a view hints what the status is regarding url mapping? (
https://issues.apache.org/jira/browse/COUCHDB-230 )
I'm interested to built an app with clean / pretty urls, with categories,eg.
/ - _show
/news/{{ slug }}/ - _show
/about/{{ slug }}/ - _show
/browse/page1/
Hi Markus,
those simple steps you take are very interesting - i was also running into
those big reduce problems. Though i admit i am still far away from
understanding everything about reduce and rereduce.
In you example how would you give back only the top 50 tags out of all your
tags in your
hi:
I have some docs with N levels of hashes nesteds.. I wan't to get a
view that show the name of the fields and the fields that have into. I
mean something like this:
function(doc) {
for (var i in doc)
if (typeof doc[i] === object)
for (var j in doc[i])
emit(i, j);
}
but
On Tue, Nov 10, 2009 at 8:22 AM, Manolo Padron Martinez
manol...@gmail.com wrote:
hi:
I have some docs with N levels of hashes nesteds.. I wan't to get a
view that show the name of the fields and the fields that have into. I
mean something like this:
function(doc) {
for (var i in doc)
see how much smaller the database gets once you compact it. :)
On Tue, Nov 10, 2009 at 5:04 PM, Ben Cohen nco...@ucsd.edu wrote:
I've been lurking on the list for awhile -- I like the design of couchdb and
am taking a look to see if I can use it in any upcoming projects.
I made a little
@Karel
how are you providing fixtures to the scripts?
All in my scripts, right now. I've just been assigning a fixture
object to the variable being passed into my map function. Not great,
but I haven't yet been motivated to write anything more fancy...
As for my Ruby apps, I've created more
Ah, it went down to 100k. Still bigger than plaintext but not by an
order of magnitude. :)
Thanks,
Ben
On Nov 10, 2009, at 5:10 PM, Robert Newson wrote:
see how much smaller the database gets once you compact it. :)
On Tue, Nov 10, 2009 at 5:04 PM, Ben Cohen nco...@ucsd.edu wrote:
I've
On Nov 10, 2009, at 3:19 AM, Chris Anderson wrote:
On Tue, Nov 10, 2009 at 12:11 AM, Roger Binns
rog...@rogerbinns.com wrote:
I understand that it is just the way JS works and it is impractical
to fix.
I do think it would be valuable for there to be a test/compliance
suite in
CouchDB
On 10 Nov 2009, at 19:41, Robert Campbell wrote:
I've run 0.8.0 and now 0.10.0 on Ubuntu 9.04/9.10 server and in both
cases calling stop never actually stopped the DB. The only way I've
gotten around it in the past is manually killing the couchdb
processes. Why doesn't stop work for me?
I've
On Mon, Nov 09, 2009 at 12:20:11PM -0800, Roger Binns wrote:
I don't know what the right solution to this is.
One option: store the values as strings.
I meant the right solution for CouchDB. For example it could take a lowest
common denominator approach and reject all documents whose
r...@default:/etc/init.d# ./couchdb stop
+ SCRIPT_OK=0
+ SCRIPT_ERROR=1
+ DESCRIPTION=database server
+ NAME=couchdb
+ basename ./couchdb
+ SCRIPT_NAME=couchdb
+ COUCHDB=/usr/bin/couchdb
+ CONFIGURATION_FILE=/etc/default/couchdb
+ RUN_DIR=/var/run/couchdb
+ LSB_LIBRARY=/lib/lsb/init-functions
+
On Mon, Nov 09, 2009 at 04:01:18PM -0500, Paul Davis wrote:
Unfortunately, parallelizing the btree updates is rather non-trivial.
If a design doc has multiple views, I believe the docs are sent to the view
server concurrently. Presumably each view's own btree could be built in
parallel? (If it's
On Tue, Nov 10, 2009 at 11:44:27AM +0100, Karel Minařík wrote:
* How do would you write/implement tests for your views?
I don't see in principle why it can't be any different to normal
tests. That
is, you ...
of course, it is not different *in principle* at all. I am specifically
curious
I just looked through the error logs and the code a bit more. I think
this passage describes best what seems to happen (though I don't know
why)
So the stracktrace shows that the mochiweb passes the request to
couch_httpd:handle_request where it seems to try to call send_json
On Tue, Nov 10, 2009 at 5:22 PM, Lennart Melzer l.mel...@tu-bs.de wrote:
I just looked through the error logs and the code a bit more. I think this
passage describes best what seems to happen (though I don't know why)
So the stracktrace shows that the mochiweb passes the request to
Hi Paul,
I'm not trying to return arbitrary binary data,I really just try to
post an attached file to an external handler. Right now the handler
returns a static response which works when posting form data (without
binary data in it) and with get request. It doesn't work when posting
a
On Tue, Nov 10, 2009 at 5:56 PM, Lennart Melzer l.mel...@tu-bs.de wrote:
Hi Paul,
I'm not trying to return arbitrary binary data,I really just try to post an
attached file to an external handler. Right now the handler returns a static
response which works when posting form data (without
Hello,
We are deciding our convention for how we will emulate tables in couch
db. Our current idea is the user named tables will each have a design
document with punycode names. tableňame is a design doc stored as -
I.E. _design/tableame-uqb. Of course this brings up a collision
problem for our
On Nov 10, 2009, at 7:46 PM, Noah Slater wrote:
On 11 Nov 2009, at 00:23, Roger Binns wrote:
As a developer past practise has trained me that integers are exact
and
floating point is approximate (also fast and slow
respectively). Other
than some older BASICs, Javascript is the first time
I don't have an answer to your question; however, I have a question. Why
are you using couchdb to try to simulate tables? Why not just use a RDBMS?
On Tue, Nov 10, 2009 at 6:06 PM, Chris Stockton
chrisstockto...@gmail.comwrote:
Hello,
We are deciding our convention for how we will emulate
On 11 Nov 2009, at 00:52, Adam Kocoloski wrote:
Hi Noah, I think the part you're missing is that JavaScript does not
actually have integers. All numbers are internally represented
using double-precision floating point. So in fact a number that
looks like an integer can be corrupted.
On Nov 10, 2009, at 8:00 PM, Noah Slater wrote:
On 11 Nov 2009, at 00:52, Adam Kocoloski wrote:
Hi Noah, I think the part you're missing is that JavaScript does
not actually have integers. All numbers are internally represented
using double-precision floating point. So in fact a number
On Tue, Nov 10, 2009 at 4:23 PM, Roger Binns rog...@rogerbinns.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian Candler wrote:
But would you accept 12345678901234567890.0? (.0 indicating float)
As a developer past practise has trained me that integers are exact and
floating
Ok,
My mind is being blown by CouchDB :D
So I've realized that having a few databases per user is a really great idea
if you decide to scale by decentralizing your content (clients do the heavy
lifting by running queries on their local couchdb instances - since you're
replicating to the client
On Tue, Nov 10, 2009 at 11:42 PM, Christopher O'Connell
jwritec...@gmail.com wrote:
It might make more sense to store a field indicating whether a document is
public or private, and then use some software to only replicate public
docs.
?
Some software as in _not_ CouchDB?
Keeping
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
9223372036854775807
as the value for a field in Futon. You can't do it, Futon will
corrupt it and give you back
9223372036854776000
Isn't it just the case that there is a ceiling for representable
integers, then?
You really should read
On Tue, Nov 10, 2009 at 8:19 PM, David Nolen dnolen.li...@gmail.com wrote:
Ok,
My mind is being blown by CouchDB :D
So I've realized that having a few databases per user is a really great idea
if you decide to scale by decentralizing your content (clients do the heavy
lifting by running
On Wed, Nov 11, 2009 at 2:31 AM, Noah Slater nsla...@tumbolia.org wrote:
Great, what happens when you do:
couchdb -b
Is CouchDB running?
What happens when you do this next:
couchdb -d
Has CouchDB stopped?
Also it could be useful to add -p /path/to/pid_file in each case.
Hi Paul,
I double checked the response of my external ruby script.
I reduced the code to the bare minimum (nearly representing what the
python example from the wiki looks like)
#!/usr/bin/env ruby
require 'rubygems'
require 'json'
def request
begin
while line = STDIN.readline
34 matches
Mail list logo