[14:45:33] <kali> as to how to query... what queries do you have in mind ?
[14:50:44] <ramnes> your solution would be like this, am I right? http://pastebin.com/6BZ6AqNx
[14:53:46] <ramnes> if yes, how do you get every message of an author?
[15:06:47] <M-ou-se> kali: pretty much all queries will be for all messages between two time stamps of a specific user, and usually also for a specific channel
[15:07:17] <M-ou-se> kali: I probably also want to tag certain messages (such as highlights), which should be quick to query for
[15:37:51] <kali> ramnes: something like that, with a timestamp
[15:40:31] <kali> "all message between two time stamps of a specific user"... i would not have assumed that one to be really important. with my proposal, you need an index on messages.author + timespan of the main document, and process the docs with the aggregation framework
[17:35:05] <gaspaio> Is there a way to handle document level locks in mongodb+nodejs ?
[17:36:56] <gaspaio> i need to find a document and then update it with values resulting from some complicated computations (therefore i can't use findAndModify). how can I do this without risking a current update changing the doc in the meantime ?
[19:03:28] <sirious> trying to perform a removeShard, wondering why it would tell me that "localhost" is one of the dbs to move?
[19:45:51] <cbradley> Hey all... I have a quick question about comparing ObjectIDs using node
[19:46:55] <cbradley> From what I understand, I can compare gt/lt by using the first 4 bytes and the last 3 bytes, representing a timestamp in seconds since epoch and a counter, relatively speaking
[19:47:50] <cbradley> Just want to make sure that I'm doing this right in the javascript world...
[19:48:13] <cbradley> parseInt(oid.substr(0,8)) * 1000 // timestamp in ms
[19:49:02] <cbradley> whoops, both of those should have a radix of 16
[20:24:48] <sirious> is there any way to fix the issue where you try to remove a shard but it has a jumbochunk and it won't move?
[20:24:54] <sirious> i tried bumping the chunksize but that didn't help
[21:22:36] <sirious> got it. disabling the balancer on that collection, temporarily bumping the chunks size, manually moving the chunk, resetting the chunk size, and re-enabling the balancer did the trick
[22:33:44] <Fandekasp> What is the most simple way to join 2 cursors in mongo? I have 2 variables containing the results of a Collection.find(), and would like to join them and fetch the result
[23:43:17] <amitprakash> Hi, I am unable to start mognodb as a service http://pastebin.com/UGaghE6P , how do I resolve this?
[23:43:36] <amitprakash> I can run the same command as root w/o any issues?