00:01.06 | *** join/#storm wallflower (n=wallflow@ip-205-246-113-216.pool.grokthis.net) |
00:55.00 | *** join/#storm radix (n=r@wordeology.com) |
01:35.49 | *** join/#storm jamesh (n=james@canonical/launchpad/jamesh) |
01:59.33 | *** join/#storm jdo (n=jdobrien@238.205.119.70.cfl.res.rr.com) |
03:56.23 | *** join/#storm jamesh (n=james@canonical/launchpad/jamesh) |
05:45.54 | *** join/#storm jukart (i=lovely@lsfw01.lovelysystems.com) |
06:31.48 | *** join/#storm dobee (i=lovely@lsfw01.lovelysystems.com) |
08:33.10 | *** join/#storm jukart (i=lovely@lsfw01.lovelysystems.com) |
10:41.33 | *** join/#storm rreis (n=rreis@c953f461.virtua.com.br) |
11:06.25 | *** join/#storm thekorn (n=mkorn@studserv.stud.uni-hannover.de) |
11:10.26 | *** join/#storm jukart (i=lovely@lsfw01.lovelysystems.com) |
11:18.43 | thekorn | hi, I'm wondering if I'm reading https://storm.canonical.com/Manual#Table%20of%20properties%20vs.%20python%20vs.%20database%20types correctly, |
11:19.11 | thekorn | is it possible to store data of type List() in a sqlite database? |
11:44.34 | *** join/#storm andrea-bs (n=andrea@ubuntu/member/beeseek.developer.andrea-bs) |
12:05.26 | *** join/#storm jdo (n=jdobrien@238.205.119.70.cfl.res.rr.com) |
12:40.20 | thekorn | hmm, maybe I'm wrong, but subclassing Unicode() and overwriting parse_get() parse_set() seems to be the only method to store lists to sqlite databases, |
12:40.48 | thekorn | please correct me if I'm wrong |
13:10.29 | *** join/#storm djfroofy (n=drew@157.166.167.129) |
13:13.16 | *** join/#storm kov (n=kov@debian/developer/kov) |
15:52.00 | *** join/#storm munga (n=abate@ununtrium.pps.jussieu.fr) |
15:53.38 | munga | I want to select the most recent record in a table. I write: s.db.find(tables.AptList,storm.expr.Max(tables.AptList.timestamp)) |
15:53.38 | munga | <PROTECTED> |
15:53.38 | munga | <PROTECTED> |
16:11.03 | djfroofy | munga: s.find(AptList).order_by(Desc(AptList.timestamp)).first() |
16:15.55 | munga | thanks :) |
17:25.58 | *** join/#storm niemeyer (n=niemeyer@200-181-177-142.ctame705.dsl.brasiltelecom.net.br) |
18:00.06 | *** join/#storm HazzaUK (n=HazzaUK@dsl-217-155-201-84.zen.co.uk) |
18:00.26 | *** join/#storm dobee (n=dobee@85-124-200-100.static.xdsl-line.inode.at) |
18:00.57 | HazzaUK | Are there any hooks specific to inserts and removals to a store? |
18:35.21 | *** join/#storm jukart (n=jukart@213162066132.public.t-mobile.at) |
18:55.25 | *** join/#storm kov (n=kov@debian/developer/kov) |
19:35.38 | *** join/#storm HazzaUK (n=HazzaUK@dsl-217-155-201-84.zen.co.uk) |
19:36.20 | HazzaUK | Hooks for insert or delete sql executions. Or is there anything to identify if an item as inserted on a __storm_flushed__ hook? |
19:45.10 | djfroofy | HazzaUK: so you just one to differentiate delete from insert in __storm_flushed__? |
19:57.07 | *** join/#storm jukart (n=jukart@213162066140.public.t-mobile.at) |
20:03.26 | *** join/#storm thumper (n=tim@125-236-193-95.adsl.xtra.co.nz) |
20:15.06 | HazzaUK | sorry, yes and update. |
20:17.30 | *** join/#storm dobee (n=dobee@85-124-200-100.static.xdsl-line.inode.at) |
20:28.05 | *** join/#storm dobee (n=dobee@85-124-200-100.static.xdsl-line.inode.at) |
20:59.41 | *** join/#storm oubiwann (n=oubiwann@97-119-4-38.omah.qwest.net) |
21:17.51 | djfroofy | HazzaUK: I don't think there's a clean api for this but there's also __storm_pre_flushed__ which is called before flushing |
21:18.12 | *** join/#storm kov (n=kov@debian/developer/kov) |
21:18.28 | djfroofy | so that coupled with Store.of(...) checks should provide you a means to know when an object is inserted/updated/deleted |
21:18.53 | HazzaUK | ok, thanks I'll see what I can do |
21:35.11 | *** join/#storm dobee (n=dobee@85-124-200-100.static.xdsl-line.inode.at) |
21:56.16 | djfroofy | HazzaUK: also, take what I say with a grain of salt. i haven't done this. |
21:56.31 | djfroofy | you might want to post your question to the mailing list. |
21:58.43 | HazzaUK | I've had quick glance through the code and couldn't find anything of use |
21:59.23 | HazzaUK | Sure, I'll give the mailing list a try, cheers |
22:29.36 | *** join/#storm munin (n=munin@209.9.227.50) |
22:30.31 | munin | is anyone active that can help me with a very simple problem? |
22:55.39 | HazzaUK | sure, as long as its very simple |
23:32.50 | HazzaUK | munin: did you want to ask a follow up question? |
23:51.32 | *** join/#storm jdo (n=jdobrien@238.205.119.70.cfl.res.rr.com) |