[15:59:50] <metame> btw here's some (academic but short) reading on CAP: https://www.comp.nus.edu.sg/~gilbert/pubs/BrewersConjecture-SigAct.pdf
[16:01:43] <ThunderMuscle> Hi! Small question about c++ client library (legacy 1.1). I did a pretty small test with it and encounter a weird problem. I just insert a simple object with my program. It executes without any errors. when executing db.stats() in the db, it also tells me "objects": 1 (and consecutive execution of my program increments this) but doing db.test.test1.count() or db.test.test1.find() returns 0 resp. nothing. Do I have to set some
[16:01:43] <ThunderMuscle> specific options in my lib that it also can be seen by the 'normal' client?
[16:15:56] <ThunderMuscle> Well - think so :) So This is the code: http://pastebin.com/eRw30ykz and this is my querying on the 'mongo' command line tool http://pastebin.com/LaRT42mf
[16:16:23] <ThunderMuscle> the query in the code prints each time one more
[16:16:34] <ThunderMuscle> where each time means each execution of my program ^
[17:52:39] <dooderino> Sure, though there might not be an adequate solution, just take a look here http://stackoverflow.com/questions/34811299/mongo-find-limit-each-match
[18:03:15] <johnjohn101> is there a specific order for findOne()?
[18:05:19] <cheeser> johnjohn101: specific order of what?
[18:05:35] <cheeser> dooderino: aggregations are your only choice "bad" perf or not.
[18:05:50] <johnjohn101> well i have a collection. does it always return the 1st item that in inserted into the collection?
[18:05:59] <cheeser> you could always pre-aggregate and use $out to store the results in a collection then query that.
[18:20:36] <acedude> I have a pretty specific question: when this query "db.getCollection('checkins').find({"created_at": {"$gte": new ISODate("2013-10-01T00:00:00.000Z")}})" stopped being correct?
[18:21:03] <acedude> it works just fine on Mongo 2.4, but on 3.2 it returns nothing (until I add .toJSON() to the ISODate)
[18:21:29] <acedude> I don't know if I'm correct, but that might break PHP mongo library
[18:34:23] <acedude> looks like my issue might be driver-specific, but I'm not sure... I'm so desperate I'm downgrating to mongo 3.0, then 2.6
[18:49:46] <cheeser> what do your documents looks like?
[19:08:51] <acedude> @cheeser like that http://uploads.acedude.pl/2016-01/Robomongo_0.8.5_2016-01-15_20-02-50.png
[19:37:29] <metame> well *only is a bit strong but definitely different things
[19:38:20] <metame> query projection is pretty light in operators/syntax https://docs.mongodb.org/manual/reference/operator/query/#projection-operators
[19:38:29] <jbrhbr> metame: did you have any more thoughts on my slow count(_query_) issue yesterday? Boomtime said he was testing something but never got back to me
[19:40:24] <metame> don't have time to test it, but make sure to project out _id
[19:53:55] <jbrhbr> thanks, i'm obviously pretty new to mongo
[19:55:03] <jbrhbr> this is the 3rd way that i've seen to explain stuff
[19:56:15] <metame> explain used to have a different syntax/api pre 3.0
[19:56:53] <jbrhbr> yea, i see the changed note at the top. but in the older version, i don't think that syntax supported .count() so i was using .runCommand() :p
[19:56:56] <jbrhbr> anyway, this way is much nicer
[19:57:07] <jbrhbr> and my .count is still 600ms :p c.explain("executionStats").count({ state_enum: 1}, {state_enum: 1, _id: 0})
[19:57:31] <jbrhbr> and my state_enum index is being used according to the planner
[20:39:22] <saml> so it's not format issue. maybe the number is too big
[21:20:23] <ChALkeR> Anyone using mongoose here? You should update.
[21:25:39] <saml> The MongoDB JSON parser currently does not support loading ISO-8601 strings representing dates prior to the Unix epoch. When formatting pre-epoch dates and dates past what your system’s time_t type can hold, the following format is used
[21:25:58] <StephenLynx> ChALkeR you should stop using mongoose./
[21:26:10] <saml> {"date": {"$date": {"$numberLong": "68400000"}}} this works. {"date": {$date: 68400000}} this does not work cause number is pre-epoch
[22:27:31] <digitalvectorz> Ello all. Using mongodb c# 2.2.2 - has the MongoDB.Driver.Builders namespace been relocated or replaced with a more preferred practice?
[22:36:49] <ChALkeR> StephenLynx: Who told you that I'm using it?