[04:23:27] <WarAndGeese> so I have a database on mongohq, now known as compose.io. The important thing is that it's being stored online somewhere. What's the easiest application I can set up that can take data from that database?
[04:48:38] <nomad111> hey all, how should i go about aggregating a set of documents based on numeric ranges of a field such that I get [{_id: ‘0-10’, count: 1}, {_id: ‘10-20’, count: 4}, etc…]
[04:52:55] <Boomtime> @WarAndGeese: hello again, same again, do you have a database (schema/query/update/configuration/requirements) question?
[04:53:55] <Boomtime> You may get some answers regarding people's favourite applications, but they will be entirely opinion
[05:01:33] <Boomtime> @nomad111: interesting problem.. you can construct a $project which modifies the incoming _id to strip off the $mod of 10, then feed that to a $group
[05:52:08] <Boomtime> so anyway, i don't think you have a problem, and any you do have is largely your own :-)
[05:52:58] <sputnik13> right, so while I appreciate your willingness to help, I also don't have much time to sit here and be criticized on my platform choice without any attempt to understand what I'm working on
[05:54:54] <ianblenke> sputnik13: Eventually Apple is going to merge iOS and OS/X and go entirely ARM for macs. We're all mostly running on borrowed intel time until then ;)
[05:58:13] <sputnik13> ianblenke: arm can't keep up with intel on single threaded performance, so I think it's questionable whether that day will really come, and good luck getting enterprises to switch... that's where a great majority of the money still is
[06:00:25] <sputnik13> besides, intel isn't exactly sitting still with low power atoms... I like arms for what they are right now, but my quad core cortex-a15 can't hold up to a nearly 7 year old core 2 duo just running linux + openbox
[06:00:55] <sputnik13> not even talking about compiz and all that, just openbox with conky
[06:02:06] <sputnik13> ianblenke: I'm with you there, I think it would be great if they pulled it off, but my latest experience trying to use a linux desktop environment has me doubting
[06:03:29] <ianblenke> It's unfortunate that Gnome4 and KDE5 are so horrible.
[06:04:07] <sputnik13> I rather like openbox, crunchbang has made me a convert
[06:04:44] <sputnik13> I still use osx for most of my work, but crunchbang would be hands down my first choice for a linux desktop env
[06:52:54] <fusillicode> quick question: does mongoid supports the overriding of a relation?
[06:53:43] <fusillicode> or better: can I alias a relation that I have defined in a parent in a subclass?
[06:55:32] <fusillicode> I mean, if I create a relation in a parent class and I want that this relation shouldn't be explicitly used in a subclass but can be used through an alias how can I do it?
[07:03:52] <Boomtime> @fusillicode: you will be lucky to get a response here, try #mongoid or #ruby since that is where your question is relevant
[07:04:49] <fusillicode> Boomtime: thanks for the hint, I'll try in those channels :)
[15:28:12] <cheeser> yes, i saw those. i'm not much of a debian guru so I don't know what else to tell you.
[15:32:35] <shingshang> ahem, gentlemen, how does one move from a mongodb to parse.com's or heroku?
[15:32:41] <shingshang> can someone point me to the right direction?
[15:34:51] <ayprograms> hi everyone this id my first time here. just started a project with mongodb on java
[15:36:11] <ayprograms> i have this problem of checking if a query returns no value with the java driver for mongodb, i keep having this null pointer exception
[15:40:41] <Sagar> How can i disable annonymouse login for users?
[15:44:33] <cheeser> ayprograms: pastebin your code.
[15:45:38] <ayprograms> cheeser: i am using this function
[16:53:25] <balfour> Anyone here use mgo? Having a hard time putting together a between query. since the bson.M is a map[string] I can't have both $gt and $lt for the field key
[17:39:52] <_trev> Hi all. Can someone tell me if 'covered queries' using find will remain covered if I used findOne instead? Additionally, is performance increased/decreased?
[17:45:17] <rmkbow> quick question, how do I find the currently set balancing window for a mongoshard setup? db.locks.find( { _id : "balancer" } ).pretty() gives me a "when" but I want to know the start and stop times?
[17:46:32] <_trev> scratch that looks like findOne works fine,,though I still wonder if it's more performant
[17:56:56] <diegoaguilar> Hello I really need urgent help to secure my mongodb server
[17:57:13] <diegoaguilar> I need to avoid remote connections except for two password secured databases
[18:02:05] <cheeser> firewall + auth should cover it.
[18:09:41] <tjbiddle> Morning all. I'm having some trouble with the Ruby 1.11.1 mongo driver. I only have one version of ruby installed, 1.8.7, and i'm calling the correct binary. I'm using irb and when I require 'mongo' it works fine, but when I `include Mongo` it says uninitialized constant Mongo
[18:40:18] <willkara> Hey guys and gals. I have a question about the usage of bulk operations. I am logging sessions for an app to the database as a logging application and I can easily create them (just a bunch of bulk inserts) but the problem I am having is updating them to set another field when the session is over. Each record in the sessions collection has a startTime and endTime field. When the sessions ends I need to update the endTime field.
[18:40:50] <willkara> Is there a way to have bulk updates like the inserts with "initializeUnorderedBulkOperation()"
[19:19:22] <EricL> If I have 3 replicas in a shard in AWS us-east1{a,b,e}, do I need to have an arbiter?
[19:19:43] <EricL> It would seem to me that if I lost 1 of the SECONDARY machines, I would end up with a leader election problem.
[20:07:08] <taxen> could you point me to a good tutorial for getting started with that and Express 4?
[21:16:12] <sailias> is there some magic setting to make mongo not slow down on inserts? 10 concurrent connections, each doing 100 inserts 10 times. So a total of 1000 inserts, the CPU goes to 100% on all cores, and they freeze and end up taking 70 seconds to complete each 100 inserts
[21:42:37] <BlakeRG> is it possible to run three instances of a config server on the same machine just on different ports?
[21:42:54] <crunch-choco> i would like to like table user to table company, i m used to do it with id and foreign key with SQL. what should it look like with mongo?
[21:45:46] <saml> hello, db.docs.find(...).count() is really slow on secondaries. but real fast on primary. indexes are same. waht's wrong?
[23:05:35] <MTaco> Hello, anyone have experience using NumberInt() or NumberLong() in MongoDB with Node.js? When I try to use these functions I'm getting a not defined error, any advice?
[23:06:27] <pomke> Hello! I have an object with dates { dates : [day1, day2, day3,...], ...} And I'd like to find all of these objects where ALL days in the dates Array are earlier than today
[23:06:55] <pomke> I'm not sure how best to structure a query like that
[23:09:34] <Boomtime> @MTaco: sorry, i am not very familar with Node.js, however, the Mongo shell is a javascript interpreter so you can use it to test your queries/code there first
[23:16:04] <Boomtime> @pomke: i can't think how to do that with a query, but you can do it with aggregation: http://docs.mongodb.org/manual/reference/operator/aggregation/allElementsTrue/#exp._S_allElementsTrue
[23:17:39] <Boomtime> you'd need to do some chicanery before and after to wind/unwind the array
[23:24:27] <MTaco> @Boomtime: I tried using MongoShell.. but it continues to say NumberInt() is not defined. I'm using require('mongodb'), anything else required to import that function?