IRC log for #storm on 20100715

02:20.22*** join/#storm m4v (~znc@unaffiliated/m4v)
02:35.31*** join/#storm jdobrien (~john@24.18.88.184.cfl.res.rr.com)
02:42.14*** join/#storm jdobrien_ (~john@184.88.18.24)
05:39.35*** join/#storm Job4ACoWboY (~OuterSpac@c-67-174-145-16.hsd1.ca.comcast.net)
07:05.48*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
07:08.10*** join/#storm jkakar (~jkakar@190.Red-79-154-166.dynamicIP.rima-tde.net)
07:12.29*** join/#storm stub (~stub@193.85.232.179)
07:16.24*** join/#storm ozy (~ozy@c951c039.virtua.com.br)
07:17.14ozyguys is there a way to do a join with the same table, like one would do in TSQL using AS
07:17.59ozylike FROM table AS some_name
07:19.28therveozy, yes, using ClassAlias
07:21.03ozytherve, yep, tnx man, i had used it in the past... dont know why i did not think of it sooner
07:25.42*** join/#storm MartinJanda (~chatzilla@martinjanda.selfnet.cz)
07:55.05*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
07:57.47*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
08:12.46*** join/#storm cnf (~cnf@unaffiliated/cnf)
08:14.20cnfmorning
08:14.33cnfhow do i set up a persistent connection with storm?
08:18.17jkakarcnf: Connections are already persistent, in the sense that once connected they stay connected unless you call store.close() or a DisconnectionError is raised.
08:18.56cnfyeah, but how do i get the connection, without passing the object around everywhere?
08:19.00jkakarcnf: If you haven't found it yet, there's a tutorial that describes how to use create_database to create a Store that you can use to run queries: https://storm.canonical.com/Tutorial
08:19.11jkakarcnf: Passing the Store object, you mean?
08:19.35jkakarcnf: You need to pass the Store object around if you want to use it.
08:20.02cnfcrap
08:20.05jkakarOr, you can use the Django or ZStorm integration bits, which provide a way to set/get global stores by name.
08:20.40jkakarcnf: Another way to do it is, if you have an object that already in a particular store you can do: store = Store.of(my_object)
08:21.06cnfbut then i still need to pass around my_object
08:23.10cnfi want to avoid passing that stuff around everywhere
08:24.48therveuse a global
08:26.47cnfhmz
08:27.48cnfi do something like http://paste.pocoo.org/show/237814/ now
08:28.00cnfso i can do a get_connection anywhere i want
08:28.07cnfwithout passing stuff around etc
08:41.41*** join/#storm zmijunkie (~chatzilla@i59F5D75F.versanet.de)
09:18.39*** join/#storm thumper (~quassel@canonical/launchpad/thumper)
10:23.39*** join/#storm jdobrien (~john@24.18.88.184.cfl.res.rr.com)
10:25.13*** part/#storm MartinJanda (~chatzilla@martinjanda.selfnet.cz)
12:12.44*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
12:34.38*** join/#storm niemeyer (~niemeyer@201-11-213-235.pltce701.dsl.brasiltelecom.net.br)
14:42.32*** join/#storm elmom_ (~elmom@a88-114-234-149.elisa-laajakaista.fi)
14:52.07*** join/#storm m4v (~znc@unaffiliated/m4v)
15:40.44*** join/#storm shaunm (~shaunm@74.83.18.167)
15:48.28*** join/#storm stub (~stub@193.85.232.179)
18:14.29*** join/#storm infobot (~infobot@rikers.org)
18:14.29*** topic/#storm is The Storm Python ORM - http://storm.canonical.com/ - 0.16 released! || Review branches: https://code.launchpad.net/storm/+activereviews || IRC logs: http://ibot.rikers.org/#storm/ || API documentation: http://people.canonical.com/~jkakar/storm/
18:52.22*** join/#storm jkakar (~jkakar@190.Red-79-154-166.dynamicIP.rima-tde.net)
19:29.17*** join/#storm cnf (~cnf@unaffiliated/cnf)
19:31.00*** part/#storm cnf (~cnf@unaffiliated/cnf)
19:32.58*** join/#storm shaunm (~shaunm@74.83.18.167)
21:30.35*** join/#storm jdobrien (~john@184.88.18.24)

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