PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 20th of August, 2012

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[20:17:22] <ribo> Do you guys have a timeline for 2.2?
[20:28:02] <wereHamster> yes. 2.0 -> 2.1 -> 2.2
[20:28:18] <wereHamster> time goes from left to right. Not to actual scale.
[20:29:22] <ribo> helpful
[20:29:52] <wereHamster> you're welcome :)
[20:37:44] <nooga> hi
[20:39:20] <nooga_> and i just wondered if i have to write db.collection('somethings', function(err, somethings) { somethings... }); when i need the somethings collection
[20:39:29] <nooga_> and i just wondered if i have to write db.collection('somethings', function(err, somethings) { somethings... }); when i need the somethings collection
[20:40:12] <nooga_> could I have something like in the mongo console, for example: db.somethings.find(); everywhere
[20:41:19] <nooga_> hello
[20:44:24] <fforbeck> Hi... how do you usually write integration test to your app that uses mongodb?
[20:45:37] <fforbeck> considering you're using java
[20:46:28] <fforbeck> is there any framework or you just use mocks?
[20:46:39] <skot2> just use mocks
[20:48:56] <fforbeck> do you think it would be easier if you could write tests with real data and using your db?
[20:49:44] <fforbeck> and the same data that you use to your integration tests could be used by QA team
[20:53:32] <plhw__> hi
[20:54:52] <plhw__> I have a quick question about using dex, Im using it fine on a local mongo server to scan the logs and recommend index suggestions but when I run it against my server logs I dont get any recommendations. I have profiling enabled and I see query info in my mongo logs, any ideas on other things to check or verify?
[20:59:46] <crudson1> plhw__: I suppose if you want to make sure you have indexes for all queries run with --notablescan
[21:00:32] <zykes-> Anyone here using Ming ?
[21:00:37] <zykes-> for Python
[21:03:32] <plhw__> crudson1: interesting idea, Ill give it a shot
[21:05:20] <crudson1> I just started using it to weed out missing/wrong order/etc indexes. Of course if you have very small tables for which an index wouldn't be beneficial it will complain.
[21:50:43] <erunion> having issues querying my a collection and i'm at my wits end. "{ category_id: 1, $and: [ { 'data.id': 71, 'data.value': { $in: [ "string1" ] } } ] }" is pulling back objects where data.value doesn't equal "string1". ideas?
[21:59:50] <erunion> any help is appreciated
[22:00:28] <jarrod> that is wrong
[22:00:56] <erunion> how so?
[22:01:09] <crudson1> 1) $and doesn't mean much with only one element 2) $in is redundant
[22:01:19] <jarrod> http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-%24and
[22:01:22] <jarrod> did you see that
[22:01:43] <erunion> well that's a bad example. this is part of a finder tool where you can specify multiple lookups.
[22:02:01] <erunion> yes i saw that
[22:02:34] <erunion> and iiregardless, it's pulling back bad data.
[22:17:24] <stabilo> so I try to query the gridfs from within a python script..
[22:17:52] <stabilo> the query should be { filename : /^8/ }
[22:18:39] <stabilo> actually I don't know which part of the query I should put in a string and whether it should be 'filename' or "filename"
[22:19:33] <stabilo> the raw query obviously doesn't work due to name errors (filename is not defined in my script)
[22:45:43] <ribo> /wc
[23:11:43] <stabilo> [pymongo] how do I get the DB entry where a cursor points to? I really don't get the clue from the pymongo docs
[23:12:53] <stabilo> erm. it's c[index]. but what I really want to know is how do I actually iterate?
[23:49:51] <dstorrs> silly question -- using the Perl driver, how do I save an ISODate? Will it convert from a DateTime, or is there a better way?
[23:54:29] <skiz> Has anyone looked in to the Thread.abort_on_exception notes on https://github.com/mongodb/mongo-ruby-driver/commit/1001e59e44a2c0f1d086deac8f1f8891bfbdd354 ?
[23:54:42] <skiz> This is terrible...