PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Thursday the 20th of March, 2014

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[20:36:40] <kali> purple irc ? never heard of this.
[20:37:27] <ultra_blue> kail: pidgin. Purple is their underlying library.
[20:37:53] <ultra_blue> kali: libpurple.
[20:46:45] <unholycrab> can someone explain to me where this is wrong?
[20:46:45] <unholycrab> sh.addTagRange("test.live", { persisted_at: { new Date(1343507807250) } }, { persisted_at: { new Date(2026067807250) } }, "head")
[20:46:48] <unholycrab> Thu Mar 20 20:48:14.889 SyntaxError: Unexpected identifier
[20:57:30] <zippoxer> is it efficient to store analytics data for a web app in a different database so analytics writes won't lock the app database?
[21:11:00] <decompiled> zippoxer, yes
[21:14:52] <unholycrab> im having a heck of a time trying to use the ruby driver to insert a date field
[21:30:23] <unholycrab> cool not anymore
[21:30:29] <unholycrab> stupid ruby 1.8
[21:31:38] <rafaelhbarros> you can always move to python, you know..
[21:32:17] <unholycrab> blasphemy
[21:32:33] <unholycrab> write better ruby gems
[21:32:41] <rafaelhbarros> the batteries are included.
[21:32:52] <unholycrab> that does sound pretty sweet
[21:33:11] <rafaelhbarros> python also has more than one framework and/or use
[21:33:38] <Joeskyyy> "stupid ruby x.x" <- reasons why I hate ruby lol
[21:33:40] <rafaelhbarros> serious note, tho, not to say that ruby doesn't have more than rails, but it's certainly not as popular.
[21:33:41] <Joeskyyy> dat env
[21:33:53] <rafaelhbarros> Joeskyyy: +1 to that comment.
[21:34:02] <cheeser> you should all be using java anyway. ;)
[21:34:06] <Joeskyyy> -_-
[21:34:14] <rafaelhbarros> well, i do use java on my android app
[21:34:19] <Joeskyyy> first major language i learned to program in depth in.
[21:34:25] <rafaelhbarros> but lack of choice more than anything
[21:34:27] <Joeskyyy> Then i found scripting languages. never turned back. python <33
[21:34:53] <unholycrab> yes ill write all the ops code in the jvm
[21:35:14] <rafaelhbarros> but saying java is great is the samething as saying mysql is awesome. I will only choose mysql when I have absolutely no other choice.
[21:35:46] <Joeskyyy> rafaelhbarros speaks the troof
[21:36:10] <Joeskyyy> this is the least flamey flame-war I've ever seen.
[21:36:20] <unholycrab> hahaha
[21:37:15] <cheeser> i wouldn't expect much from script kiddies...
[21:37:22] <cheeser> (how was that?)
[21:37:27] <Joeskyyy> :|
[21:37:31] <Joeskyyy> it hurt, right in the feels
[21:37:32] <unholycrab> :c
[21:37:43] <Joeskyyy> too far cheeser, too far.
[21:37:56] <cheeser> mea culpa
[21:58:50] <rafaelhb_> unholycrab Joeskyyy so, within my close friends we have this joke
[21:58:55] <rafaelhb_> that python is mjolnir
[21:59:16] <rafaelhb_> the tendency is that whoever knows python wants to use it for everything
[21:59:27] <rafaelhb_> everything is a nail to be hammered with python
[22:00:25] <unholycrab> i am spoiled by high level languages
[22:01:06] <unholycrab> i hurts my brain to look at java or C
[22:03:58] <Joeskyyy> rafaelhb_: It's true. If i can accomplish it with python, i much prefer it lol
[22:04:13] <rafaelhb_> Joeskyyy: mjölnir...
[22:04:21] <rafaelhb_> unholycrab: seriously, give python a try.
[22:04:22] <Joeskyyy> unholycrab: My third language i was taught was C x_o first was java and C# concurrently
[22:04:38] <rafaelhb_> it will take some getting used to, but thats with everything
[22:07:21] <unholycrab> rafaelhb_: im seriously interested in python because im interested in NLP
[22:07:32] <unholycrab> python and java are next on in my sights
[22:07:45] <rafaelhb_> where are you located in this world?
[22:07:54] <unholycrab> oakland/san francisco
[22:08:03] <rafaelhb_> mkay
[22:08:19] <rafaelhb_> you can get by with either
[22:10:17] <unholycrab> rafaelhb_: have you used flask
[22:10:28] <rafaelhb_> unholycrab: yes
[22:10:40] <unholycrab> do you like it
[22:10:48] <rafaelhb_> yes
[22:12:18] <Sgoettschkes> HI guys
[22:12:27] <ismell> hi
[22:12:27] <Sgoettschkes> just back from the Mongodb Vienna meetup
[22:12:31] <Sgoettschkes> so many ideas :D
[22:12:48] <Joeskyyy> ohai
[22:12:54] <rafaelhb_> what's up Sgoettschkes
[22:12:55] <rafaelhb_> tell us
[22:13:00] <rafaelhb_> share them knowledges.
[22:13:28] <ismell> i'm using the aggregation framework with a $cond that contains `"$lte" => ["$days_completion_delta", 0]` if $days_completion_delta does not exist it is returning true, how can i check to see if the field is actually set?
[22:14:43] <rafaelhb_> ismell: wouldn't that be on the $match?
[22:15:18] <ismell> well i'm projecting some data
[22:15:29] <Sgoettschkes> rafaelhb_: Actually not much knowledge, at least not for me as Alain from MongoDB was talking about sharding which is not my main topic right now
[22:15:44] <Sgoettschkes> just got interested in playing with mongodb a bit more :)
[22:15:48] <rafaelhb_> oh
[22:15:54] <rafaelhb_> I have this issue on the back of my mind
[22:16:15] <rafaelhb_> I want to do some automatic sharding when I spawn new instances.
[22:16:21] <rafaelhb_> but I've only dealt with replicas so far
[22:17:03] <ismell> "$lte" => [{"$ifNull" => ["$days_completion_delta", 1]}, 0]
[22:17:05] <ismell> ha, got it!
[22:21:26] <ismell> thanks
[22:23:11] <ultra_blue> Thanks everybody!!!
[22:23:18] <ultra_blue> Have a good weekend!
[22:24:26] <rafaelhb_> its...thursday
[22:29:06] <joannac> Maybe for *you*. But it's too early on Friday even for NZ
[22:29:51] <Sgoettschkes> 4-day work week maybe
[22:43:33] <terriblesarcasm> I have a site using the meanstack and I am trying to link some social media accounts together, so I have a user account, with an accounts[] array that I plan to store the information in, so my question is how do i search within the array for an account, would it be User.findOne({accounts.uid}) ?
[23:08:08] <unholycrab> regarding tag aware sharding: do tag ranges need to have two values? can i use { $lte: ISODate([...]) } as a tag range instead?
[23:10:33] <NaN> is it safe to use --eval to run map/reduce functions?
[23:17:02] <joannac> unholycrab: no, all chunks / ranges have a minkey and a max key
[23:17:09] <joannac> use $minkey as your lower range
[23:26:29] <pawn> Why would mongod be running when I start up my Mac?
[23:26:41] <pawn> I noticed that it's running when I looked into activity monitor
[23:27:00] <yogurt_truck> launchd
[23:27:02] <pawn> But, I didn't explicitly run it, obviously, because I just started up my computer.
[23:36:36] <synth_> i have a test database "pipeline-test" however i'm having issues connecting it using a php driver... $this->_connection = new Mongo('localhost'); $this->_db = $this->_connection->pipeline-test;
[23:36:40] <synth_> doesnt seem to work
[23:50:54] <joannac> pawn: you have it starting as a service?
[23:51:09] <pawn> joannac: I don't remember doing tat
[23:51:14] <pawn> how do I stop it?
[23:56:14] <joannac> pawn: where is its dbpath?