00:00.15 | *** join/#storm wallflower (n=wallflow@ip-205-246-113-216.pool.grokthis.net) |
00:12.57 | *** join/#storm bozzo (n=bozzo@BSN-77-50-216.dial-up.dsl.siol.net) |
00:41.50 | *** join/#storm Fujitsu (n=fujitsu@ubuntu/member/fujitsu) |
01:52.23 | *** join/#storm WebMaven (n=webmaven@nv-65-173-64-133.dhcp.embarqhsd.net) |
06:07.28 | *** join/#storm michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) |
06:51.07 | *** join/#storm jukart (n=jukart@194.183.146.181) |
07:10.11 | *** join/#storm jayesh_ (n=jayesh@203.123.188.10) |
07:17.38 | *** join/#storm weatherman (n=weatherm@204-174-36-245.unknown-dhcp802.dsl.ucc-net.ca) |
07:17.38 | weatherman | test |
07:47.46 | *** join/#storm dobee (n=dobeee@194.183.146.186) |
08:11.16 | *** join/#storm bozzo (n=bozzo@85.10.14.223) |
10:15.05 | *** join/#storm bigdog (n=scmikes@72-197-8-8-arpa.cust.cinci.current.net) |
10:52.41 | *** join/#storm benoitc (i=benoitc@enki.osbud.net) |
10:52.48 | benoitc | hi |
11:18.35 | *** join/#storm niemeyer (n=niemeyer@201-10-91-193.ctame705.dsl.brasiltelecom.net.br) |
13:06.01 | *** join/#storm jamesh (n=james@canonical/launchpad/jamesh) [NETSPLIT VICTIM] |
13:55.01 | *** join/#storm Fujitsu (n=fujitsu@ubuntu/member/fujitsu) |
14:08.28 | *** join/#storm jamesh (n=james@canonical/launchpad/jamesh) |
14:22.59 | *** join/#storm oubiwann (n=oubiwann@209-181-152-131.omah.qwest.net) |
14:32.44 | benoitc | how can i have multiple foreign key in one object ? |
14:35.12 | *** join/#storm statik (n=emurphy@189.66.188.72.cfl.res.rr.com) |
14:39.04 | radix | benoitc: do you need to know how to declare it in your schema or in your storm properties? |
14:39.52 | benoitc | in storm properties |
14:40.10 | benoitc | indeed :$ |
14:40.35 | radix | benoitc: I assume you're talking about Reference, then? |
14:40.59 | benoitc | hum maybe |
14:41.16 | benoitc | yes indeed |
14:41.27 | benoitc | but in tutorial i only see sublcassing sample |
14:41.34 | radix | subclassing? now I'm confused |
14:41.36 | benoitc | for fk |
14:41.49 | radix | oh |
14:41.53 | radix | the subclassing is just incidental |
14:42.07 | radix | the Reference is what's important. |
14:42.26 | benoitc | so how could I do ? Referebce(cls1.id, cls2.id) ? |
14:42.35 | benoitc | Reference |
14:43.07 | radix | benoitc: Reference(my_id_to_the_other_guy, OtherGuy.id) |
14:43.18 | benoitc | radix: thanks :) |
14:43.50 | benoitc | now i could find my way, storm seems very powerfull |
14:43.53 | *** join/#storm jayesh_ (n=jayesh@203.123.188.10) |
14:43.57 | benoitc | compared to some other orm I used |
14:47.08 | radix | cool :) |
14:50.30 | *** join/#storm lymxz (n=lymxz@123.116.115.69) |
14:51.39 | *** part/#storm lymxz (n=lymxz@123.116.115.69) |
15:27.02 | *** join/#storm Zenom (n=Zenom@unaffiliated/aj1973) |
15:28.14 | *** join/#storm Zenom (n=Zenom@unaffiliated/aj1973) |
16:04.28 | *** join/#storm oubiwann (n=oubiwann@209-181-152-131.omah.qwest.net) |
16:13.51 | *** join/#storm tarjei (n=tarjeih@mail2.bergfald.no) |
16:15.14 | tarjei | howdy, is it possible to have a referenceset with extra queryparamters? Something like set = ReferenceSet(Queue.id, Queue.status == 'done' ) ? |
16:27.32 | benoitc | mmm could we do self references ? eg, parent = Reference(Theclass.id, Theclass.id) |
16:27.36 | benoitc | ? |
16:27.55 | radix | benoitc: yes, except that's probably not what the Reference will end up looking like |
16:28.10 | radix | benoitc: more like parent = Reference(parent_id, id) |
16:28.26 | benoitc | ah yes indeed |
16:28.27 | benoitc | thanks |
16:28.33 | radix | tarjei: you can't encode that directly into the ReferenceSet, but ReferenceSet has a .find method which allows you to refine the set of items. |
16:32.19 | *** join/#storm lymxz (n=lymxz@123.116.115.69) |
16:33.55 | radix | niemeyer: I don't understand where the 1s are coming from in the example on the mailing list |
16:34.23 | radix | I mean, I understand that that guy didn't declare his schema properly, but that doesn't explain why storm is trying to insert 1 into those fields |
16:34.50 | radix | ohh whoops |
16:34.57 | radix | the Reference is declared on id, that's probably not right :) |
16:35.15 | radix | ok, yeah, duh. never mind |
16:35.34 | niemeyer | radix: Yeah.. I've answered in the ML |
16:35.51 | *** part/#storm lymxz (n=lymxz@123.116.115.69) |
16:36.47 | radix | oh. so did I :) |
16:37.27 | niemeyer | radix: That's effective support :-) |
16:38.05 | niemeyer | radix: Sorry.. I've missed your question here while I was answering his mail.. |
16:38.16 | radix | sure, no problem. I figured it out anyway :) |
16:47.25 | tarjei | radix: ok, so I can do obj.itsReferencset.find(OtherObj.something == 5) , ok, that works. Thanks |
16:47.37 | radix | tarjei: cool. |
17:32.45 | *** join/#storm dobee (n=dobeee@81-223-53-162.dornbirn.xdsl-line.inode.at) |
18:46.52 | *** join/#storm jukart (n=jukart@85-124-221-45.static.xdsl-line.inode.at) |
18:56.41 | *** join/#storm jukart_ (n=jukart@85-124-221-45.static.xdsl-line.inode.at) |
19:01.25 | benoitc | mmm how do you do to manage creation of tables ? do you have in code a code.execute ? or anything else ? |
19:05.14 | radix | benoitc: we just create our tables with store.execute, yes. |
19:14.24 | aa_ | radix: do you think storm will ever have table creation built-in? |
19:16.36 | radix | aa_: I'm still not working on it :) |
19:17.03 | aa_ | perhaps a separate lib might be better for it? |
19:17.16 | aa_ | that's the real question I am trying to ask I guess |
19:17.46 | radix | aa_: if you can manage to implement it, then I do recommend putting up for review for inclusion in storm |
19:18.12 | radix | where to put it is a simple problem, how to implement it is a harder one |
19:19.27 | aa_ | yeah, I guess |
19:20.34 | aa_ | I did do an example implementation just for sqlite, but I thought someone took it a bit further. I wish I could remmember who |
19:21.45 | radix | hmm. I don't think whoever it was is here right now |
19:22.54 | aa_ | ironically, I am now using my toy implementation |
19:23.16 | aa_ | and even worse I also added postgres support |
19:23.36 | aa_ | but I am really far too clueless about databases to do it right :( |
19:25.03 | radix | aa_: apparently the initial draft of AutomaticSchemaGeneration was written by someone named Rafael |
19:25.12 | aa_ | Rafael, that's it |
19:25.58 | aa_ | radix: sadly, this one feature is the only thing tempting me to go back to sqla |
19:26.19 | aa_ | that's not in itself a motivational factor, but I guess if that's how I feel, others might feel the same |
19:28.47 | *** join/#storm oubiwann (n=oubiwann@209-181-152-131.omah.qwest.net) |
19:28.51 | radix | aa_: I'm sorry for that, I guess |
19:29.14 | radix | aa_: I'm not very against including schema generation in storm, but it's not something I'm interested in doing myself unfortunately |
19:30.00 | aa_ | nah, I would probably attempt it properly myself before going back to sqla |
19:30.44 | aa_ | I'm a guest for dinner, so it will be a perfect opportunity to switch off and think about it :) |
19:35.18 | radix | :) |
20:28.13 | *** join/#storm michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) |
21:05.36 | *** join/#storm jml (n=jml@li2-200.members.linode.com) |
21:09.24 | *** join/#storm thumper (n=tim@125-236-193-95.adsl.xtra.co.nz) |
22:14.17 | *** join/#storm bozzo (n=bozzo@BSN-210-221-45.dial-up.dsl.siol.net) |
22:15.01 | *** join/#storm bozzo (n=bozzo@BSN-210-221-45.dial-up.dsl.siol.net) |
22:39.32 | aa_ | so can someone chat to me about the ideal way to aut create a table? I am looking through the expr stuff and it seems that perhaps CREATE TABLE should be a CreateTable Expr, with a compile_create_table. Is that an insane idea? |
22:40.17 | *** join/#storm bitsbam (n=nephish@69.55.24.17) |
22:40.29 | bitsbam | hey there all |
22:40.52 | bitsbam | how do i know how many rows are returned in a ResultSet ? |
22:40.54 | aa_ | hi bitsbam |
22:41.21 | aa_ | .count ? |
22:41.40 | jkakar | bitsbam: result.count() will do what you want. |
22:41.44 | bitsbam | as in ResultSet.count? or count() |
22:41.47 | bitsbam | ah, thanks |
22:41.50 | jkakar | np |
22:42.05 | bitsbam | great wrapper you guys have here |
22:42.22 | jkakar | Working with Storm is awesome, yes. :) |
23:18.01 | *** part/#storm bitsbam (n=nephish@69.55.24.17) |
23:18.52 | *** join/#storm tjs (n=tjs@203.206.162.25) |
23:19.00 | tjs | Morning :) |
23:20.20 | tjs | after a month and a half of 'lets migrate our app from zope 3.2 to 3.4 and buildout/zope project, I finally get to come back to our storm migration :) |
23:24.04 | jkakar | Heya tjs |
23:25.26 | tjs | hey |
23:34.28 | *** join/#storm dobee (n=dobeee@81-223-53-162.dornbirn.xdsl-line.inode.at) |