PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 3rd of September, 2012

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[01:04:32] <diegoviola> how do you remove elements from an array in mongodb?
[01:06:29] <Dr{Wh0}> diegoviola: afaik no direct way. What language u using?
[01:06:46] <diegoviola> ruby
[01:06:48] <diegoviola> mongomapper
[01:07:48] <diegoviola> how do you do that in the mongo shell?
[01:07:59] <fitzagard> diegoviola: use delete
[01:08:24] <fitzagard> specifically delete(variable.array[num])
[01:08:36] <diegoviola> ty
[01:08:56] <fitzagard> its actually object.array[number]
[01:09:25] <diegoviola> thanks
[01:09:33] <fitzagard> diegoviola: you have to save the object after you make the delete
[01:09:51] <diegoviola> ok, thanks
[01:10:04] <Dr{Wh0}> so as i was about to say... Any language modify your var to remove the element and then save again.
[01:10:22] <diegoviola> ok
[01:10:55] <diegoviola> i'll give it a try, thanks
[02:26:25] <Loplin> Hi. I was going through this article http://highlyscalable.wordpress.com/2012/03/01/nosql-data-modeling-techniques/ and the section labeled "(2) Aggregrates" uses an example of exactly the kind of data that I want to model. However, it says it is applicable to Key-value stores, document databases, and BigTable-style databases.
[02:26:33] <Loplin> Could someone tell me why would I choose one of these types over another, for this use case?
[02:28:54] <Loplin> Also, if applicable, in my usecase, some entity might be composed of other entities, for example: A country might be composed of cities
[02:44:24] <phira> Loplin: without having an actual outline of your data model, nobody is gonna be able to recommend an option
[02:44:54] <phira> that said, bigtable is rarely a suggestion unless you have a really big dataset, in which case it's usually one of the only options, and a KV store has limited queries
[02:45:06] <phira> so unless you've got specific size or performance concerns, you're going to select a document db
[02:48:01] <Loplin> I see, thank you. I imagine I'll go with a document db then.
[02:48:34] <Loplin> Do you happen to know of any recommended reading that could have helped me figure that out myself?
[03:15:49] <phira> Loplin: not really, sorry, I just kind of pick that stuff up
[05:54:41] <gigo1980> hi is there an command where i can set up that an new created databases should created on shard 3?
[07:09:59] <federated_life> I think I had one of the three config servers fail in 1.8 , whats the propery recovery procedure ?
[07:34:43] <[AD]Turbo> hola
[07:57:59] <Lujeni> Hello - Could you confirm that it's impossible to launch "mongorestore" from bson (2.0.7) to mongodb platform (2.2) ? Thx
[08:01:13] <wereHamster> Lujeni: try it and see.
[08:09:45] <Lujeni> wereHamster, y. occured an error.
[08:11:28] <cmex> some can show me example of agregation in c# driver plase?
[08:11:32] <cmex> *please
[08:12:20] <cmex> how can i replace map reduce by it
[08:23:01] <TrahDivad> Hi. I'm trying to connect to a remote database with the mongo shell, but I keep getting a "Assertion failure _setName.size()" error. Here's what I've been trying: "mongo mongodb://name:pass@host:port/dbname"
[08:49:16] <TrahDivad> Someobdy else nearly two years ago had the same problem: https://jira.mongodb.org/browse/SERVER-3300
[08:49:32] <TrahDivad> But I'm not sure if this is a bug or if I'm not feeding the URI correctly.
[08:52:39] <Gargoyle> Monring all
[08:53:13] <scruz> hello.
[08:54:48] <TrahDivad> hello
[08:55:28] <TrahDivad> I'm sorry to spam the channel, but has anybody got any idea why I'm getting this exception from the shell?
[08:56:14] <Derick> not sure if the shell takes that connection string format to be honest
[08:58:01] <ppetermann> it doesnt
[08:59:21] <ppetermann> mongo -u test -p test 127.0.0.1:27017/test
[08:59:23] <ppetermann> should work
[09:00:58] <TrahDivad> ppetermann: thanks, I'll give that a try.
[09:03:19] <jpee88> Just out of curiosity - when you want to perform a "transaction" ie atomic operation with two documents that are neither embedded or linked to one another how is this possible?
[09:03:46] <TrahDivad> ppetermann: I had indeed missed these options in -h. Thanks for pointing them out!
[09:05:04] <jpee88> Also sharding in and of itself isn't replication - must one configure replication for each shard to have a master copy with all shards recollected? Or can the mongos direct everything to syncronously replicate?
[09:14:56] <NodeX> jpee88 : you will never achieve true transactions with mongo
[09:15:25] <NodeX> jpee88 : look up replica sets in the docs - they explain about replicatio
[09:15:27] <NodeX> n
[09:28:22] <stevie-bash> Hello
[09:28:52] <stevie-bash> can we use the old php driver with slaveOK and mongodb version 2.2.0 ?
[09:29:00] <Derick> yes
[09:29:18] <Derick> but, you probably want to start using 1.3 as soon as it comes out
[09:29:46] <stevie-bash> yes, I'm looking forward to the new connection mangement
[09:30:02] <Derick> you can try it out already
[09:30:12] <Derick> I'm releaseing btea2 this afternoon
[09:30:14] <stevie-bash> but the alpha version creates to much deprecated warnings
[09:30:40] <Derick> hmm, such as?
[09:33:58] <Derick> stevie-bash: ?
[09:43:34] <stevie-bash> I guess its a problem on the developer machines
[09:43:43] <stevie-bash> which stop on any warning
[09:43:52] <sawidis> hey everyone. suppose I have a list of tuples [(a, b), (c, d)]. is it possible to find records having (key_a, key_b) matching one of those tuples\/
[09:44:14] <sawidis> i'm looking at advanced queries in the mongodb website but can't find anything relevant
[09:44:17] <stevie-bash> but will try the beta version
[09:45:33] <Derick> ?
[09:45:44] <Gargoyle> to tag/release beta2 :P
[09:46:08] <Derick> ah
[09:53:27] <jpee88> sawidis: Are the tuple elements keys or values?
[09:54:38] <jpee88> (or both?)
[09:55:07] <sawidis> jpee88: the list of tuples contains values e.g. [(1, 2), (3, 4)] and each record in my collection has two keys: key_a, key_b. I'm wondering if it's possible to find all records matching their (key_a, key_b) to one of the tuples in my list
[10:02:34] <stry3> Hi for all.
[10:02:34] <stry3> I have collection with lines like: name (string), date (ISODate). Also I have list of timedeltas (e.g. [0, 10, 30, 60], integer seconds). I need to aggregate data to return it like this:
[10:02:34] <stry3> - index of timedelta in list;
[10:02:34] <stry3> - min timestamp (now - 10s for first iteration);
[10:02:34] <stry3> - max timestamp (now - 0s for first iteration);
[10:02:34] <stry3> - list:
[10:02:34] <stry3> - name of the string (that we have in collection);
[10:02:35] <stry3> - count (sum)
[10:02:35] <stry3> How can I create iterator on list of timedeltas? $each doesn't helps
[10:06:22] <NodeX> pastebin
[10:09:01] <jpee88> sawidis: It's just a basic document search. You can use $where if it's more complicated
[10:09:06] <jpee88> But for example: db.users.find({"username" : "joe", "age" : 27})
[10:09:32] <stry3> NodeX: what do you want on pastebin?
[10:09:33] <jpee88> joe and 27 could be replaced with your_tupe[0][0] and [0][1]
[10:10:37] <jpee88> Infact it could be done in a simple list comprehension
[10:11:48] <jpee88> stry3: The timedeltas are in your application not in mongodb right?
[10:14:33] <NodeX> if pasting large lines to the channel use a PASTEBIN
[10:14:48] <stry3> jpee88: No. There must be list of integer timedeltas and smthing as $lt / $gt with new ISODate(ISODate()-timedelta). I want to create a plot and hope to make only 1 query to mongo.
[10:15:21] <stry3> NodeX: Okay, I'll try to remember it next time.
[10:33:59] <stry3> jpee88: All in all it can be list of ISODates instead "timedelta" integers. But even now I don't know, how to create such iterator with 1 mongo query.
[10:41:27] <NodeX> use $in
[10:41:49] <NodeX> your_field: { $in: ["Date1", "Date2".....]
[10:45:33] <nekto0n> hi there! can someone consult me on pymongo and greenlets?
[11:04:14] <stry3> NodeX: $in is just like equals by every item in list, no?
[11:10:40] <NodeX> yes and no
[11:10:48] <NodeX> it's similar to SQL IN
[11:12:13] <NodeX> but if you want to select documents in incrementing time ranges and in one query then you'll have to work out the ranges appside
[11:20:13] <cmex> som1 has working example of aggregate in c#?
[11:21:26] <Gargoyle> cmex: Please dont type like you're txtn ur m8s!
[11:21:42] <cmex> ok
[11:21:56] <NodeX> haha
[11:22:03] <cmex> :))
[11:22:12] <cmex> NodeX i missed you
[11:22:23] <NodeX> that's great
[11:22:25] <NodeX> ;)
[11:22:50] <cmex> still looking for a single developer using c#
[11:23:38] <NodeX> not many of those around tbh
[11:24:24] <cmex> i see
[11:24:36] <Gargoyle> Used to, many moons ago.
[11:24:54] <cmex> its looks like commercial and free things are not going together
[11:24:54] <Gargoyle> C# is a nice language, .Net is a POS!
[11:25:11] <NodeX> cmex : what are you trying to do
[11:25:21] <NodeX> perhaps we can tell you how to do it in the shell and you can convert it
[11:25:25] <NodeX> (that's how i learn)
[11:25:29] <cmex> Gargoyle: what are you using right now
[11:25:29] <cmex> ?
[11:25:37] <Gargoyle> PHP
[11:26:03] <cmex> NodeX: looking for a working example of aggregation framework in c # linq preffered
[11:26:24] <NodeX> aggregation is a rather large subject
[11:26:26] <cmex> Gargoyle: really?
[11:26:41] <cmex> db.aggregate()
[11:27:01] <Gargoyle> cmex: Yes, really! Why are you so suprised?
[11:27:14] <NodeX> http://www.theukjobsite.co.uk/ <--- powered by MongoDB + php
[11:27:15] <cmex> Gargoyle: omg is it not 80's?
[11:27:17] <cmex> :))
[11:27:18] <NodeX> nothing wrong with that
[11:27:23] <NodeX> go build that in c# ;)
[11:27:30] <NodeX> and have it perform like that ;)
[11:28:04] <Gargoyle> cmex: I'm not using PHP 3 !
[11:29:11] <Gargoyle> cmex: And at least I know I can find fellow developers! ;)
[11:29:18] <cmex> Nodex nice performance .. without caching?
[11:29:47] <NodeX> I can turn on caching and get 10,000 req/s
[11:29:51] <NodeX> or greater
[11:30:02] <cmex> Gargoyle: ok now i know i preffer to pay for things
[11:30:10] <cmex> and not beg for help
[11:30:40] <cmex> its faster and you got help from developers that build that things
[11:30:52] <cmex> realy
[11:31:01] <kali> mouhhahhahaahaaaa
[11:31:05] <kali> (sorry)
[11:31:12] <cmex> hi kali
[11:31:16] <Gargoyle> cmex: There's a big difference between begging for help and getting involved in a community spirit!
[11:31:22] <cmex> what so funny?
[11:31:49] <kali> what you say when 'you see how microsoft or oracle or apple treat their developpers
[11:32:11] <cmex> Gargoyle: theres no community spirit in 90 % of cases advanced dev laughting on noobs
[11:32:14] <cmex> :)
[11:32:25] <cmex> okokokok enought :))
[11:32:36] <cmex> i stop !!
[11:32:41] <NodeX> #MongoDB is one of the friendliest help chans I have ever been in
[11:32:54] <NodeX> as soon as people "laugh at noobs" they get banned
[11:33:55] <cmex> node look at this
[11:34:00] <cmex> wait
[11:34:23] <cmex> http://www.alljobs.co.il/ .net with mssql
[11:34:33] <cmex> here in israel it rusn good
[11:34:54] <cmex> NodeX
[11:34:59] <cmex> *runs
[11:35:07] <NodeX> great
[11:35:09] <algernon> fwiw, you can build good stuff on pretty much any stack, if you know what you're doing. similarly, you can build crap on the best stack ever, if you have no idea.
[11:35:20] <NodeX> +1 algernon
[11:35:39] <cmex> algernon: thats right im just talking about support
[11:36:13] <cmex> ok guys im going to dig the internet :)))
[11:36:48] <Derick> cmex: you can call the aggregation framework like any other mongo command
[11:37:38] <kali> cmex: you're in new territory, here. aggregation is brand new, and c# is not used as much as ruby, have or php in the mongodb community
[11:37:56] <kali> cmex: it's very likely there is NO example of aggregation in c# yet
[11:38:00] <NodeX> cmex: I personaly have no idea about paid support, but just about every question I have ever needed answering has been done on Google, IRC or by reading docs
[11:39:08] <kali> ... or by reading the source. when it is available to you
[11:41:51] <Rhaven> Hi all, i'm complaining with "stale config detected for ns" log message. How i should handle it ?
[11:44:15] <cmex> Gargoyle: im just kidding about PHP i have a friend here a php ptogrammer each time wo going to cigarete we starting those holywar jokes
[11:45:11] <cmex> kali: i understand that ... but u know we has deadlines here :((
[11:45:40] <Derick> Rhaven: Could I suggest you write to the google groups ML about that one? I don't know (but I think it's not a serious thing)
[11:46:20] <cmex> kali:so iwant to jump from 5th floor already :)))
[11:51:15] <Rhaven> Derick: Thank you anyway, I will do that and try to find out.
[11:56:15] <kali> :w
[11:56:39] <kali> oups :)
[11:57:06] <Gargoyle> kali: IRC session saved! ;)
[12:28:27] <NodeX> when one drops a collectiopn or an index does Mongo give back the memory it used automagically or do I have to run a command ?
[13:04:34] <Mousse_> Hi. can anyone help me inserting a mongodb collection into an instance of solr for testing?
[13:04:49] <Mousse_> I can't seem to find anything relevant in searches
[13:07:19] <skot> NodeX: the os will reuse the memory based on an LRU scheme so it is always effectively available as it is just cache not resident memory.
[13:08:19] <skot> Mousse_: here is a project which does this for you: https://github.com/renctan/mongo-solr
[13:14:55] <Mousse_> skot: Thanks
[13:16:24] <Derick> Gargoyle: there :P
[13:21:09] <NodeX> Derick : is there plans to add helpers into the PHP drivers for the aggregation framework?
[13:21:18] <NodeX> or am I better off building it into my wrapper
[13:21:36] <NodeX> and thanks skot ;)
[13:22:19] <stry3> Today I've asked help with mongo aggregation framework. Here is work code - http://pastebin.com/Xk4ZZCRy .
[13:30:43] <Gargoyle> ooohh!!
[13:32:22] <stry3> ^__^
[13:35:39] <IAD> looks rock
[13:46:12] <NodeX> anyone know how many parts there are to a pipeline in the aggregation framework?
[13:46:22] <NodeX> i/e $project, $sort, $group etc etc
[13:47:54] <stry3> Nodex: http://docs.mongodb.org/manual/applications/aggregation/
[13:49:13] <NodeX> thanks, I didn't see that list there - I must be blind!
[13:50:24] <stry3> Nodex: I've spend the whole day there…
[13:51:19] <Gargoyle> Derick: I get a setSlaveOkay() is deprecated warning, but in the background the setSlaveOkay completely failed.
[13:51:29] <stry3> Nodex: I've created pastebin with my test code, link is above. May be it will help you :)
[13:52:02] <Derick> Gargoyle: failed, how?
[13:52:16] <Gargoyle> Not master and slaveOk=false
[13:52:39] <cmex> ooooooooooooooook
[13:52:55] <cmex> if somone is looking for a c# example for agregation talk to me
[13:52:56] <cmex> :))
[13:53:09] <Derick> Gargoyle: can you pastebin me a small test script?
[13:53:18] <stry3> cmex: python ;)
[13:53:30] <cmex> :)
[13:53:35] <NodeX> stry3 : I was building a wrapper around a driver for the aggregate to make it easy so your code wont help but thanks anyway
[13:53:58] <stry3> any python coders here? I wanna ask about pymongo aggregation…
[13:54:00] <Gargoyle> Yeah. I'll try and isolate it. We have two completely separate connections 1 for the app and 1 for session data. Not sure which one it is yet. What's the alternate syntax?
[13:54:06] <stry3> Nodex: sorry than :)
[13:55:37] <Derick> Gargoyle: are you doing silly things with connections? No need to have two separate ones...
[13:56:27] <Gargoyle> Derick: One is from an old legacy bit of code that will eventually get updated. (What's the replacement to setSlaveOkay() ? )
[13:58:08] <skot> Gargoyle: the read preferences stuff
[13:58:58] <skot> Derick, where are the docs for that for php?
[14:00:05] <skot> these seem to be missing it: http://us.php.net/manual/en/class.mongodb.php
[14:04:52] <Gargoyle> Whoa! If you change the value of error_reporting, should that change the actual execution of a script?
[14:06:22] <Derick> skot: still being written :-)
[14:06:28] <Derick> Gargoyle: no
[14:06:41] <Gargoyle> http://pastie.org/private/t99libzya3prtoosehbega
[14:07:17] <Gargoyle> If you uncomment the error_reporting() line, I get a PHP Depricated warning, but the code works.
[14:07:36] <Gargoyle> No… My bad
[14:07:50] <Gargoyle> Just hitting the master at random… as told to!
[14:07:55] <Zelest> Derick, o/
[14:07:55] <Gargoyle> D'oh!
[14:08:14] <Derick> Gargoyle: :-)
[14:08:29] <Gargoyle> But anyway Derick: When it hits a slave, it throws the exception.
[14:09:52] <Derick> Gargoyle: ok, can you try to replace setSlaveOkay() with setReadPreference( Mongo::RP_SECONDARY_PREFERRED) ?
[14:11:34] <Derick> I'll see if I can reproduce it
[14:11:38] <Gargoyle> Derick: Still the same.
[14:11:44] <Derick> hmm, odd
[14:12:15] <Derick> Gargoyle: is any of those hosts an arbiter?
[14:12:27] <Gargoyle> Derick: Nope. 3 full servers.
[14:13:44] <Derick> I can reproduce it
[14:14:19] <Gargoyle> Derick: You could just throw a full error. After all it's been depricated for aaaages! ;)
[14:14:31] <Derick> not really...
[14:15:28] <skot> Derick, I just meant the api docs with method names
[14:15:45] <Derick> skot: yes, they are still being written - jmikola is on that
[14:16:08] <skot> oh, so they don't get auto-generated from the code?
[14:16:13] <Derick> no
[14:16:22] <NodeX> {"aggregate":"history","pipeline":[{"$group":{"_id":"$comment","total":{"$sum":1}},"$sort":{"total":-1}}]} <---- anyone know why that would throw an error regarding max doc size of 16mb but the identical query without using "runCommand" is fine?
[14:17:05] <skot> NodeX, can you post the whole thing (shell session + error) to gist/pastie/etc?
[14:18:01] <NodeX> yeh, 1 sec
[14:18:56] <Gargoyle> Not quite getting the docs for this! Sorry to be a pain - where do I tell it slaves are OK ?
[14:19:04] <Zelest> Derick, any idea who maintains the FreeBSD port of pecl-mongo ?
[14:19:30] <NodeX> http://pastie.org/4656492
[14:19:33] <Zelest> it's insanely outdated (1.2.7) .. :-/
[14:19:41] <NodeX> evidently I have the query built wrong but I can't see where
[14:21:12] <algernon> Zelest: http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/pecl-mongo/Makefile?rev=1.17 says miwi@freebsd.o
[14:21:13] <NodeX> I see it, nvm
[14:21:40] <Derick> Gargoyle: embarassing mistake :-/
[14:22:00] <Gargoyle> Derick: Ahh.
[14:22:02] <skot> NodeX, k
[14:22:05] <Zelest> algernon, Oh, silly me.. of course it's mentioned in the Makefile.. cheers!
[14:22:26] <Derick> - cursor->opts = cursor->connection->connection_type == MONGO_NODE_PRIMARY ? (1 << 2) : 0;
[14:22:29] <Derick> + cursor->opts = cursor->connection->connection_type == MONGO_NODE_SECONDARY ? (1 << 2) : 0;
[14:22:34] <kali> NodeX: i'm curious... what was it ? something not visible in the paste ?
[14:22:52] <Derick> Gargoyle: expect a fix very soon :-)
[14:22:54] <algernon> Zelest: there's already a PR open for updating to 1.2.12 (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170994)
[14:23:20] <NodeX> kali : total":{"$sum":1}},"$sort":{"total":-1}}]} a missing "{" before $sort
[14:23:36] <kali> NodeX: ok.
[14:23:47] <NodeX> ( i am dynamically creating the runCommand options and I've not cast an array somewhere
[14:24:24] <Zelest> algernon, Ah.. yeah, it's not harder than simply modifying the Makefile and edit the distfile.. but you have to do it each time you sync the tree, which is fairly annoying.
[14:24:55] <Zelest> algernon, Not to mention the fact that you have to check for updates manually, whicih sort of defeat the whole point of using ports or a package management system :P
[14:45:16] <ddod> Hey guys, I'm a MongoDB noob, and I was wondering how to grab the generated _id upon insertion. I'm using Node.js
[14:45:36] <stry3> Node.js? Holywaaaaar :-D
[14:45:51] <algernon> ddod: generate it yourself is the easiest.
[14:46:29] <algernon> other than that, if your driver generates it for you, it may have a function that also returns it. If it's left up to the server, you're most likely out of luck.
[14:46:36] <ddod> all right, I figured as much, but I wasn't sure if that's the best way to do it
[15:02:38] <Vile> Hi guys!
[15:04:42] <Derick> Gargoyle: fixed in master on github
[15:04:45] <Vile> When I'm processing timestamped data and aggregating (m/r) it by hour, i need to know one value that is outside of that hour. What would be the best approach to get it?
[15:04:45] <Derick> (it's the only change)
[15:05:15] <Gargoyle> Derick: Got it in and running. :)
[15:05:21] <Vile> Currently running sub-query from map() function
[15:05:42] <Vile> but this is damn slow %(
[15:06:05] <Vile> Is it possible to run sub-query from finalize?
[15:07:10] <Gargoyle> Derick: And One of the nodes is under siege trying to see if it segfaults, but it's been a bit so very hard to test what actually was causing it. Fingers crossed.
[15:32:10] <Derick> Gargoyle: still working? :-)
[15:34:08] <Gargoyle> Derick: So far so good. I think I was a little bit ahead of githubs cache. After I got the email saying it had been merged, a fresh clone didn't give me the new one. I had to "git pull" in the change manually
[15:38:49] <Gargoyle> Derick: Now finding that the other dev has been using code igniters mongo stuff and is completely skipping the applications connection options! :S
[15:41:50] <Gargoyle> Noooooooo!
[15:41:53] <Gargoyle> [Mon Sep 03 16:40:42 2012] [notice] child pid 15188 exit signal Segmentation fault (11)
[15:42:00] <Derick> hm
[15:42:25] <Gargoyle> Going to have to clone this machine and get gdb installed!
[15:42:37] <Derick> :S
[15:43:38] <Gargoyle> I increased apache's prefork settings, maybe I'll have to put them back to narrow it down.
[16:47:33] <z3a> hi, I'm have one server running on a local network with intermitent connection to internet, and I need to synchronize it with another server on Internet, but I'm not shure what is the best aproach to do that, anyone can drop me a line?
[17:09:29] <garrettwilkin> Any one know how to authenticate via the mongojs module?
[17:09:33] <garrettwilkin> i can't find docs on it
[17:14:21] <Rhaven> Is there a way to restart a forked mongos instance ? service mongos restart return : "restart: Unknow instance:"
[17:20:55] <oreiator> hi, how can I check high queries in mongo?
[17:34:00] <NodeX> oreiator : high queries ?
[17:34:07] <NodeX> do you mean slow queries?
[17:36:56] <joshua> Can you set up a replica set and make that into a shard server? I don't know the difference between a shard server and a regular one other than passing the flag that it says just changes the port
[17:39:48] <oreiator> NodeX: yeah .. slow queries
[17:39:53] <oreiator> sorry
[17:47:27] <vsmatck> joshua: Relevant docs here. http://www.mongodb.org/display/DOCS/Sharding+Limits
[17:48:24] <vsmatck> Sharding imposes limitations, but it allows you to spread data across multiple servers.
[17:48:33] <joshua> I guess I can't really test it till I have a config server layout set up
[17:49:44] <joshua> right now we have a single mongod instance, so I guess I convert that to replicated and then add config servers, then ad mongos
[17:50:04] <reikalusikka> hello, I'm following the "Write a Tumblelog Application with Flask and MongoEngine" tutorial which can be found here http://docs.mongodb.org/manual/tutorial/write-a-tumblelog-application-with-flask-mongoengine/ and when I try to run the application (python manage.py runserver), I get the error "from tumblelog import app" "ImportError: no module named tumblelog"
[17:54:17] <reikalusikka> I have followed the tutorial step by step and my folder structure is as follows "/myproject/tumblelog/" and I created all the files in the tumblelog folder
[17:59:18] <reikalusikka> anyone?
[19:24:03] <LuckySMack> would i be able to package mongodb with a proprietary/binary application/installer for windows? so my application has a local instance of mongo without having the user have to install it manually?
[19:24:43] <LuckySMack> or would i have to have them install it separately? or coulc i have my app installer download and set it up for them?
[20:45:22] <gigo1980> hi, i have an sharded collection… what can i do, to remove sharing on this collection ?
[21:07:02] <munro> hey, how do change a key in a nested set, $set: {my: {nested: {set: 5}} clobbers everything in {my}
[21:10:27] <munro> ah, I got it, I use the $set: {'my.nested.set': 5}, I tried that, but I must of had something else broken when I did
[22:41:21] <bikcmp> hi. i'm trying to figure out how to set up gridfs.
[22:41:37] <bikcmp> i've been trying to figure it out with google for a few minutes now and can't really find anything that good.
[22:48:50] <rpaddock-home> Using the PHP mongo extension. I'm having a hard time figuring out why a $gt query isn't working. In the shell, {'request.time':{$gt: 123}} works, but in PHP find(array('request.time' => array('$gt' => 123))) doesn't.
[22:51:00] <rpaddock-home> ah, solved it. Had to cast the number to a float
[22:51:07] <rpaddock-home> random guess ftw
[23:35:29] <SpanishMagician> hi