<    April 2017    >
Su Mo Tu We Th Fr Sa  
 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  
00:01 evulish joined
00:31 re1_ joined
00:37 harry joined
00:46 gentunian joined
01:06 svm_invictvs joined
01:18 joshontheweb joined
01:52 steffes joined
01:59 Soopaman joined
02:26 joshontheweb joined
02:36 gentunian joined
02:48 edrocks joined
02:49 mdorenka joined
03:03 hays joined
03:03 hays joined
03:50 edrocks joined
04:30 evulish joined
04:36 senaps joined
04:38 <senaps> hi, i'm sending the result of a collection.find() data to an android app. how can i neglect data sent last time and send new data every time? i want to have a check so that the data is sent just one. and then later on, i could be able to find what data has been sent and show them on a website! :)
04:38 ayogi joined
04:39 <senaps> i think i should use a is_sent field in my document, but how can i add it after using find() method?
04:51 smokeysea joined
04:52 edrocks joined
04:55 svm_invictvs joined
05:03 smokeysea joined
05:06 preludedrew joined
05:10 lpin joined
05:18 kyuwonchoi joined
05:39 kyuwonchoi joined
05:54 edrocks joined
05:57 <jellycode> Is there a way to use a custom serializer that doesn't require using the registry?
05:57 <jellycode> This is in C# / .NET
06:00 evil_gordita joined
06:06 akagetsu01 joined
06:06 <jellycode> We're using Azure Functions and cannot use IOC containers or DI. I don't know of an elegant way to add things to the registry
06:12 kyuwonchoi joined
06:17 YoY joined
06:26 coudenysj joined
06:35 <jellycode> Ok, I've added this just before I do a FindOneAndReplaceAsync....
06:35 <jellycode> BsonSerializer.RegisterSerializer(typeof(Result), new BasicStructSerializer<Result>());
06:35 <jellycode> I'm using the BasicStructSerializer provided here (the adapted one)...
06:35 <jellycode> http://stackoverflow.com/questions/26788855/how-do-you-serialize-value-types-with-mongodb-c-sharp-serializer
06:36 <jellycode> The "Result" struct can be seen here...
06:36 <jellycode> https://github.com/vkhorikov/CSharpFunctionalExtensions/blob/master/CSharpFunctionalExtensions/Result.cs
06:40 coudenysj1 joined
06:43 Lujeni joined
06:49 kyuwonchoi joined
06:55 <jellycode> I did not have trouble serializing this struct to JSON using newtonsoft. Is there perhaps an indirect path where I can convert my documents to JObjects and then pass that to the FindOneAndReplaceAsync method?
06:56 edrocks joined
07:00 jri joined
07:10 jwd joined
07:18 greengreen joined
07:27 kyuwonchoi joined
07:28 kyuwonchoi joined
07:29 kyuwonchoi joined
07:39 klics joined
07:46 jaequery joined
07:54 Waheedi joined
07:58 edrocks joined
08:03 skot joined
08:30 kyuwonchoi joined
08:42 Sasazuka joined
08:45 joshontheweb joined
08:46 harry joined
08:52 yeitijem joined
08:53 synthmeat joined
08:57 rendar joined
09:49 harry joined
09:55 m1dnight_ joined
10:00 goldfish joined
10:02 edrocks joined
10:11 gfidente joined
10:11 gfidente joined
10:15 undertuga joined
10:22 hybridark joined
10:22 <hybridark> Hi guys
10:22 <hybridark> is there a way to unite aggregations from different collections, so I don't need to run one and then another?
10:23 compeman_ joined
10:57 Ratler joined
11:00 okapi joined
11:38 Sircle joined
11:38 <Sircle> Hi
11:39 Abranus joined
11:39 <Sircle> If I have 1 primary and 3 slave instances replicating data (slaves cannot write). If primary goes down, how will the backend servers (node/php) know the next Primary elected?
11:41 silenced joined
12:04 edrocks joined
12:05 alexi5 joined
12:05 <alexi5> hello ladies and gentlemen
12:14 <Derick> Sircle: the language drivers will figure it out
12:19 <alexi5> I am using freeradius for an access gateway and I am thinking of using mongodb as the backend database fro free radius to store login details and other device credentials. Would Mongodb be a good suit for such a use case ?
12:21 <Sircle> Derick: hm
12:22 <Sircle> Derick: what if the master goes down, new master is assigned and then the old master comes back but at this point the user is connected to new master (which is not a master anymore and will throw error)
12:24 re1 joined
12:25 jwd joined
12:27 mdorenka joined
12:31 <Derick> Sircle: it will find out when you do one operation
12:31 edrocks joined
12:37 hillct joined
12:58 <Sircle> Derick: is it automatic and seamless? I am using node and mongose
12:58 <Sircle> Derick: lastly, surprisingly it seems that mongo does not have master-master replication facility. It only can have one master
12:58 <Sircle> ?
13:00 <Derick> it's automatic and seamless, although it is possible that a write operation may fail if mongodb is switching over primary at that moment, so you need to handle the exceptions (on the PHP side, not sure how node does that)
13:00 <Derick> and indeed, MongoDB is single-master only
13:03 ramortegui joined
13:12 aps joined
13:13 RickDeckard joined
13:16 gentunian joined
13:17 <Number6> RickDeckard: It’s your birthday. Someone gives you a calfskin wallet. How do you react?
13:17 <Sircle> Derick: handly exception on EVERY query?
13:17 <Sircle> handle*
13:17 <Sircle> every query code/function?
13:20 kyuwonchoi joined
13:21 kyuwonchoi joined
13:25 pxed joined
13:37 alexi5_ joined
14:00 geoffb joined
14:13 mmoreno80 joined
14:22 <mmoreno80> Need some help with mongodb. I have built a shard cluster (1 config, 2 shards, and 1 arbiter) and I am trying to enable authorization for security reasons. I was able to do it on config (added the user admin, stopped the daemon, edited mongod.conf to enable authorization, and finally restarted the daemon) and it worked properly.
14:22 <mmoreno80> The same procedure worked on the primary shard server. But when I did the same on the third server, the other shard server, I got the following errors: https://pastebin.ca/3800572 Any idea?
14:22 kyuwonchoi joined
14:24 evulish joined
14:26 jwd joined
14:28 <mmoreno80> mmm ... looks like it didn't work on the first shard ... I am getting the same errors ...
14:44 AvianFlu joined
14:45 <RickDeckard> Number6, report them of course
14:45 <RickDeckard> :)
14:47 <Number6> :-)
14:48 <Derick> Sircle: yes
14:53 <edrocks> Is there a list of the big features for 3.6?
14:56 <mmoreno80> got the answer: http://stackoverflow.com/questions/37078771/sharded-cluster-authentication-in-mongodb-3-2-4
15:00 ssarah joined
15:03 smokeysea joined
15:06 xcesariox joined
15:12 silenced joined
15:13 xcesariox joined
15:13 hillct joined
15:14 Cesario__ joined
15:14 goldfish_ joined
15:15 jellycode joined
15:19 re1_ joined
15:21 ruairi_ joined
15:24 DyanneNova joined
15:29 smokeysea joined
15:36 jellycode joined
15:39 itaipu joined
15:41 jwd joined
15:42 silenced joined
15:47 yeitijem joined
15:49 re1 joined
16:02 joshua joined
16:04 joshua joined
16:05 joshua joined
16:09 svm_invictvs joined
16:09 dexteruk joined
16:25 blizzow joined
16:31 svm_invictvs joined
16:35 jaequery joined
16:50 steffes joined
16:52 edrocks joined
17:08 coudenysj joined
17:12 blizzow joined
17:23 druonysus_ joined
17:31 steffes joined
17:36 coudenysj joined
17:36 smokeysea joined
17:36 coudenysj joined
17:47 okapi joined
17:54 steffes joined
17:55 SkyRocknRoll joined
18:02 Sasazuka joined
18:03 silenced joined
18:10 okapi joined
18:14 jellycode joined
18:37 jellycode joined
18:38 jellycode_ joined
18:43 jwd joined
18:43 <jellycode_> Am I correct in my understanding that I cannot store an object to MongoDB unless it can be successfully serialized to BSON? The fact that I can serialize it to JSON is not sufficient?
18:54 geoffb joined
18:58 jwd joined
19:01 edrocks joined
19:31 pxed joined
19:36 jellycode joined
19:43 rendar joined
19:58 itaipu joined
20:21 jwd joined
20:28 <jellycode> I've posted something in the mongo user group but do not see it. Is that because it's awaiting approval / moderation?
20:39 Mia joined
20:50 <jellycode> LOL, I can't get anyone to touch this MongoDB serialization issue to save my life. I've asked in a dozen places, nobody even responds.
21:22 StephenLynx joined
21:23 itaipu joined
21:58 silenced joined
22:06 edrocks joined
22:07 Soopaman joined
22:18 svm_invictvs joined
22:34 SpeakerToMeat joined
22:48 elijah joined
22:55 felixjet joined
23:01 Sasazuka joined
23:03 felixjet joined
23:10 kyuwonchoi joined
23:24 jellycode joined
23:25 AvianFlu joined
23:40 druonysus_ joined
23:51 techwave61 joined