<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31
00:06 xaep joined
00:07 StephenLynx joined
00:33 jeffreylevesque joined
00:48 Muchoz joined
01:10 kexmex joined
01:19 gentunian joined
01:40 rossdm joined
01:59 lessthan_jake joined
02:31 myu left
02:40 newcoder joined
02:54 confact joined
03:05 orbyt_ joined
03:13 lessthan_jake joined
04:50 castlelore joined
04:50 <Huck_Fumble> hey guys
04:51 <Huck_Fumble> how do i know if a mongodb instance is using JS or PHP
04:51 <Huck_Fumble> im accessing through a webserver that's passing stuff to it through pymongo
05:24 GitGud_ joined
05:50 jeffreylevesque joined
06:04 ayogi joined
06:10 Derperperd joined
06:27 jkhl joined
06:28 lpin joined
07:03 jkhl joined
07:08 nanohest joined
07:37 iamviknesh joined
07:55 <iamviknesh> hi just have a noob question how date works in mongo
07:55 <iamviknesh> so date is stored in mongo as UTC timezone
07:56 <iamviknesh> so when i query , and date is in IST format , would mongo automatically convert to UTC and query
07:56 <iamviknesh> or we should convert it to UTC and then query
07:59 evil_gordita joined
08:09 j0hnsm1th joined
08:12 nanohest joined
08:31 rendar joined
08:52 Muchoz joined
09:02 michaeldgagnon joined
09:16 artok joined
09:37 shackra joined
09:40 basiclaser joined
09:53 iamviknesh joined
10:28 iamviknesh1 joined
10:32 Necromantic joined
10:45 iamviknesh joined
11:22 ayogi joined
11:37 compeman_ joined
11:50 kexmex joined
11:58 lessthan_jake joined
12:39 lpin joined
12:40 kexmex joined
12:56 ayogi joined
13:00 geoffb joined
13:04 StephenLynx joined
13:06 yeitijem joined
13:39 tambu joined
14:25 Derperperd joined
14:41 freeport joined
14:43 Karbowiak joined
14:55 Derperperd joined
15:26 jimeno joined
15:30 JonathanMcClare joined
15:44 JonathanMcClare joined
15:45 metasansana joined
15:45 metasansana joined
16:20 <jimeno> Hey. Imagine that I've a mongodb query to get all items from a given type. If I would want to execute it via pymongo and get the cursor to use .next(), what'd be the best way? Execute an aggregate with the raw query and return the object?
16:41 orbyt_ joined
16:50 artok joined
16:59 boboc_ joined
17:03 boboc_ joined
17:05 boboc joined
17:10 boboc joined
17:12 coudenysj joined
17:40 Derperperd joined
17:41 Silenced joined
17:42 Silenced joined
17:46 gentunian joined
17:47 fierycod joined
17:48 <fierycod> Hello is it possible to mix a type in mongoose(nodejs driver) like so
17:49 <fierycod> var gallery = mongoose.Schema({ pictures: Array<Buffer>}};
17:49 <fierycod> ?
17:54 ayogi joined
18:00 jimeno joined
18:08 philipballew joined
18:09 siruf joined
18:24 <jimeno> If I've a list of cities, each city has a list of attributes called "foo", each "foo" has a "kind" attribute. I want to get a list of each city object with it's different values for the "kind" attribute
18:24 <jimeno> I'm trying with db.cities.aggregate([{ $group: {_id: null, uniqueValues: {$addToSet: "$foo.kind"}} }]) but I get the list of all cities different poi kinds instead of a list for each city
18:24 <jimeno> where am I wrong?
18:31 kexmex joined
18:38 okapi joined
18:48 StephenLynx joined
18:50 Derperperd joined
18:54 Ben_______ joined
19:00 Becalon joined
19:04 <Becalon> Hi. I have a question about the mongoDB install process on ubuntu.
19:05 <Becalon> What exactly is the difference between the mongodb package in the official ubuntu repositories vs. the mongodb-org packages?
19:06 <Derick> the ubuntu ones are old
19:06 <Derick> old versions of MongoDB that is
19:07 <Becalon> Ok. Thanks. So do you advise to install the mongodb-org packages?
19:07 <Becalon> Are the packages in the ubuntu repository not maintained/updated anymore?
19:12 Liara- joined
19:18 Derperperd joined
19:19 <felixjet> should i use auth?
19:20 <felixjet> i'm using docker to spawn mongodb and i don't know what problems can cause using mongodb as admin
19:20 <felixjet> mongodb port is not even exposed to the host
19:22 <felixjet> when i update the container i don't want to configure auth all the time :/
19:27 <Derick> felixjet: if it's not accessible by *anything* (ie, bind_ip is 127.0.0.1), then you should be fine without auth
19:27 <felixjet> bind_ip is 0.0.0.0
19:27 <felixjet> but i'm not exposing the port to the host
19:27 <felixjet> so, only the host can access the container
19:27 <Derick> I would still set bind_ip to 127.0.0.1
19:27 <felixjet> i'm using an overlay network
19:27 <Derick> it's a good habit to do...
19:28 <felixjet> i mean, my containers run on a custom subnet
19:28 <felixjet> i'll add that to the config then
19:29 <felixjet> but even if i don't, my mongo should be secure right?
19:29 <Derick> it should be OK
19:29 <felixjet> thanks!
19:30 <felixjet> mmm i think if i bind to 127.0.0.1 only that container can access to mongodb
19:30 <Derick> yes
19:30 <felixjet> not my app container
19:31 <felixjet> maybe i should bind_ip to the overlay network
19:31 <felixjet> but that ip is randomized when starting the container
19:31 <Derick> it needs to be a host IP though, not a network mask
19:31 <Derick> yeah
19:31 <Derick> you need to auto geonerate the value in the config then
19:35 jri joined
19:49 jamesaxl joined
19:50 <jamesaxl> how can delete the instance, mongocxx::instance instance{}
20:02 jamesaxl joined
20:04 Derperperd joined
20:37 castlelore joined
20:43 hfp_work joined
21:22 hfp_work joined
21:29 hfp_work joined
21:44 hfp_work joined
22:05 hfp_work joined
22:14 sz0 joined
22:44 Derperperd joined
22:48 kexmex joined
23:57 gentunian_ joined