IRC log for #storm on 20110414

00:22.07*** join/#storm sidnei_ (~sidnei@201-35-178-226.cslce701.dsl.brasiltelecom.net.br)
00:47.39*** join/#storm niemeyer (~niemeyer@189-10-155-52.pltce701.dsl.brasiltelecom.net.br)
01:52.54*** join/#storm wallyworld (~quassel@27-33-46-253.static.tpgi.com.au)
06:36.54*** join/#storm CrummyGummy (~meh@li185-28.members.linode.com)
07:38.26*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
07:45.33*** join/#storm esteve (~quassel@91.126.226.47)
08:08.52*** join/#storm bigjools (~quassel@82-71-93-254.dsl.in-addr.zen.co.uk)
08:08.52*** join/#storm bigjools (~quassel@canonical/launchpad/bigjools)
11:00.44*** join/#storm niemeyer (~niemeyer@189-10-155-52.pltce701.dsl.brasiltelecom.net.br)
11:20.01*** join/#storm wallyworld (~quassel@27-33-46-253.static.tpgi.com.au)
11:46.07*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
11:48.02*** join/#storm jkakar_ (~jkakar@131.Red-88-5-210.dynamicIP.rima-tde.net)
12:11.00*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
12:59.12*** join/#storm fcorrea (~fcorrea@201-74-64-215-so.cpe.vivax.com.br)
14:53.29*** join/#storm danilos (~danilo@cable-178-148-38-107.dynamic.sbb.rs)
14:53.29*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
14:55.01*** join/#storm magmatt (~Matt@74-92-245-181-Utah.hfc.comcastbusiness.net)
15:18.28*** part/#storm magmatt (~Matt@74-92-245-181-Utah.hfc.comcastbusiness.net)
16:01.54*** join/#storm danilos (~danilo@cable-178-148-38-107.dynamic.sbb.rs)
16:01.54*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
16:04.31*** join/#storm danilos (~danilo@cable-178-148-38-107.dynamic.sbb.rs)
16:04.31*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
16:13.14*** join/#storm magmatt (~Matt@74-92-245-181-Utah.hfc.comcastbusiness.net)
16:15.08magmattI'm running store.execute(Select(Sum(Foo.amount))) which returns a float instead of a Decimal
16:15.23magmattIs there a way to coerce it to decimal inside the execute?
16:16.55magmattFoo.amount is a Decimal
16:18.02jkakarmagmatt: Hmm, that sounds like a bug.
16:18.37jkakarmagmatt: Do you get the same behaviour with store.find(Foo.amount).sum(Foo.amount)?
16:18.46magmattlemme try
16:18.57jkakarmagmatt: It would be great if you could write a minimally reproducible example and file a bug about it.
16:19.03magmattk
16:19.32jkakarTa.
16:29.19magmattjkakar: both methods are buggy: http://paste.pocoo.org/show/371638/
16:35.31magmattfiled the bug
16:35.32magmattthanks
16:36.14jkakarmagmatt: Thank you! :)
16:36.34*** join/#storm danilos (~danilo@cable-178-148-38-107.dynamic.sbb.rs)
16:36.34*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
16:36.37magmattso as a workaround, I guess I'll just manually sum the retrieved objects?
16:37.31jkakarmagmatt: I guess so, yeah. :/
16:37.44jkakarmagmatt: You could fix the bug in Storm and push a branch. *wink*
16:38.40magmattjkakar: I might.. if I can build up the courage to try bazaar again :)
16:39.20jkakarmagmatt: Ah, what do you normally use?
16:39.24magmattgit
16:39.42jkakarAh, right, so you're dyametrically opposed to Bazaar then.
16:39.46jkakarAs I am to git. ;b
16:39.53magmatt:)
16:40.09jkakarmagmatt: Uhm, more seriously, all you should need to do is: bzr branch lp:storm my-branch
16:40.29jkakarmagmatt: Fix the issue, then bzr commit... finally bzr push lp:~magmatt/storm/my-branch.
16:40.58magmattjkakar: I'm going to print those out and tape them to my monitor
16:41.00jkakarmagmatt: If you want to see your changes compared to trunk you can do: bzr cdiff -r ancestor:${PATH_TO_STORM_TRUNK}
16:41.09jkakarmagmatt: Heh
16:41.22jkakarmagmatt: The README file has instructions for setting up your development environment so you can run the tests.
16:42.37magmattjkakar: I've set it up before; it's just that I don't do it often and forget everything between attempts — so your instructions are very helpful
16:42.58jkakarmagmatt: Yeah, know how it is.  Feel free to ping if you run into any issues, I'm happy to help.
16:43.06magmattk, thanks!
16:43.13jkakarmagmatt: I'm like that with git... when I use it, rarely, I want to punch someone in the face. :)
16:43.20magmatthehe, yeah
16:43.56magmattwe can both agree that they're better than svn, right?
16:48.09jkakarmagmatt: +1000
16:48.40jkakarmagmatt: My impression is that Hg, Git and Bazaar are all excellent... the feeling of using any of them mostly comes down to experience/practice.
16:49.03jkakarAlso, a lot of it seems to depend on the platform you prefer--BitBucket, Launchpad or GitHub.
16:49.11magmattright
16:49.14jkakarniemeyer: wb! :)
16:49.23niemeyerjkakar: Danke!
16:49.37niemeyerjkakar: Btw, apparently my change made txaws a bit unhappy in terms of signature.
16:49.50jkakarniemeyer: Oh, the change to _uri...?
16:49.56jkakarniemeyer: I wondered about that.
16:50.08niemeyerjkakar: I've tested it by hand before your review, but I didn't test it after I made the changes to fix the problems you raised
16:50.16jkakarniemeyer: Oooh, oops. :)
16:50.18niemeyerjkakar: Nah, the _uri was clearly wrong
16:50.29jkakarniemeyer: I ran the tests, but I didn't test it by hand.
16:50.32niemeyerjkakar: I will put some time on it today, and maybe push a fixing branch
16:50.37jkakarniemeyer: Thanks!
16:50.53niemeyerjkakar: Yeah, me too, on the second time.. before I figured the unittests even existed, I had tested it by hand :)
16:51.00jkakarniemeyer: Hehe
16:51.19jkakarniemeyer: I have the same kind of builtin assumption... "No 'make check'... WTF kind of project is this?!"
17:08.16*** join/#storm webmaven (~webmaven@97.65.119.2)
17:08.21*** join/#storm sidnei (~sidnei@201-35-178-226.cslce701.dsl.brasiltelecom.net.br)
17:37.35*** join/#storm keppla (~keppla@p4FD4579B.dip.t-dialin.net)
17:52.11*** join/#storm fcorrea (~fcorrea@201-74-64-215-so.cpe.vivax.com.br)
18:12.01niemeyerjkakar: Do you have any txaws tests around?
18:12.16niemeyerjkakar: I can actually still get stuff out of s3
18:12.48niemeyerAh, I think I found the bug
18:21.32jkakarniemeyer: Manual tests you mean?
18:23.01niemeyerjkakar: Yeah
18:23.04niemeyerjkakar: I've got it
18:23.06niemeyerjkakar: Pushing a branch
18:23.18jkakarniemeyer: Cool! :)
18:30.39*** join/#storm spido (~kvirc@2.176.113.174)
18:30.50spidohi
18:32.36jkakarspido: Hi!
18:32.54spidohow do u do
18:43.24jkakarspido: Doing well, thanks!  How about you?
18:43.50spidofine tnx
18:44.32spidowhats up?
18:48.08jkakarspido: I'm working.  Do you have specific questions about Storm?
18:48.44spidoyes
18:48.48spidowhat is it
18:49.49jkakarspido: It's an ORM (object relational mapper) for Python.  You can learn more about it here: https://storm.canonical.com/
18:49.53medberryspido, see /topic namely https://storm.canonical.com/
20:48.19*** join/#storm infobot (~infobot@rikers.org)
20:48.19*** topic/#storm is The Storm Python ORM - http://storm.canonical.com/ - 0.18 released! || Review branches: https://code.launchpad.net/storm/+activereviews || IRC logs: http://ibot.rikers.org/#storm/ || API documentation: http://people.canonical.com/~jkakar/storm/
21:33.07*** join/#storm wallyworld_ (~quassel@27-33-46-253.static.tpgi.com.au)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.