IRC log for #storm on 20070816

00:29.46*** join/#storm jml (n=jml@ppp121-44-210-95.lns1.hba1.internode.on.net)
03:32.38*** join/#storm jamesh (n=james@canonical/launchpad/jamesh)
04:03.37radixStorm talk went well, guys. I'm going to sleep to go to montreal in the morning. night
04:07.39tjswhat storm talk?
04:58.33jkakartjs: radix gave a Storm talk in Cambridge (Boston).
05:08.07tjsahh
05:08.13tjsfor who?
05:20.07jkakartjs: The local Python users group, I believe.
05:20.15tjsah cool
06:09.43*** join/#storm jukart (n=jukart@lsfw01.lovelysystems.com)
12:10.13*** join/#storm tsmithe (n=toby@ubuntu/member/tsmithe)
12:10.58tsmitheok, i'm using storm, but i don't want to try and create the tables every time my program runs. i'm using postgres, and i was wondering how to check if the tables exist
12:38.28*** join/#storm nephish_ (n=piv@63.98.191.58)
13:01.56nephish_morning all
13:25.02*** join/#storm niemeyer (n=niemeyer@modemcable178.77-70-69.static.videotron.ca)
13:40.00*** join/#storm oubiwann (n=oubiwann@c-75-71-99-53.hsd1.co.comcast.net)
13:48.52tsmitheok, i'm using storm, but i don't want to try and create the tables every time my program runs. i'm using postgres, and i was wondering how to check if the tables exist
13:54.58niemeyertsmithe: The way we do it in Landscape is using patch versions
13:55.16niemeyertsmithe: We have a table where we store patch numbers to see which patches have been applied
13:55.44niemeyertsmithe: and we have a system that incrementally applies missing patches on the database
13:55.53tsmitheah that sounds interesting
13:56.12tsmithei'll give that kind of thing a shot, thanks
13:56.38tsmithe(allows me to do other things as well, which is nifty)
13:57.08niemeyertsmithe: Right!
13:57.17tsmithe:)
13:58.04niemeyertsmithe: I'd like to release that as open source as well at some point.. but it's not such a big deal
13:58.38tsmithethat would be quite cool, but you're right, and i'm sure it's not too hard to implement
14:27.40tarjeiniemeyer: is this a system to handle db schema changes? That would be interesting as a separate component.
14:42.47*** join/#storm xorAxAx (n=xorAxax@moinmoin/coreteam/alexander)
14:42.57*** part/#storm xorAxAx (n=xorAxax@moinmoin/coreteam/alexander)
14:46.24*** join/#storm brosner (n=brian@63.150.173.39)
14:50.32niemeyertarjei: Right, that's it
14:53.02tarjeiI'm looking forward to seeing it
15:17.10*** join/#storm bigkevmcd (n=kevin@87-194-116-135.bethere.co.uk)
16:49.09*** join/#storm ubot3 (n=ubot3@unaffiliated/nalioth/bot/ubot3)
17:54.17*** join/#storm btbytes (n=pradeep@59.92.173.152)
17:54.55btbytesHi all,
17:55.01btbytes<PROTECTED>
17:55.21btbytesis there a good example for that I can refer to ?
17:56.02btbytessomething on the lines of  tbl=('tblname', metadata=meta, autoload=True) ?
18:01.15jkakarbtbytes: This is a good place to start: https://storm.canonical.com/Tutorial
18:01.27jkakarbtbytes: So far Storm has support for SQLite, MySQL and PostgreSQL.
18:02.33btbytesjkakar: I've gone through the tutorial. what i want to know is how do I use an existing table without having to declare the class first?
18:03.02btbytessomething on the lines of what sqlalchemy does with the autoload parameter.
18:03.35jkakarbtbytes: Ah, I see.
18:03.58jkakarbtbytes: I think the best you can do is run queries manually: store.execute("SELECT foo, bar FROM quux")
18:04.24jkakarbtbytes: Storm doesn't do any kind of schema management, like SQLAlchemy and other ORMs do.
18:04.30btbytesI'm trying that right now
18:04.45btbytesi figured that somewhat, after looking at databases/mysql.py
18:04.57btbytesit does not have any code related to reflection, does it?
18:05.08jkakarbtbytes: That's why the tutorial runs manual CREATE TABLE statements.
18:05.41jkakarbtbytes: I'm not sure I understand the question.  How would storm be useful wrt reflection?
18:07.11btbytessqlalchemy uses reflection to find out the column names, their types from the existing tables in the database.
18:07.36niemeyerbtbytes: Indeed it doesn't do reflection yet..
18:08.28btbytesI'm trying to write a ORM wrapper for MonetDB and I was thrilled to see the very short driver files under databases/ ;)
18:09.16btbytesI hope reflection is on the roadmap >
18:09.17btbytes?
18:09.54niemeyerbtbytes: I can't say it's in the roadmap, but there's interest on it, even more considering that it should be a lot easier to do it in Smart since it doesn't try to have enough metainformation to be able to recreate the table.
18:10.01niemeyerErm
18:10.04niemeyers/Smart/Storm..
18:10.33jkakarHeh
18:11.01niemeyerNow I have to go back to Smart on Launchpad..
18:11.05niemeyerI mean, ;-)
18:11.25niemeyerWoah.. i got it wrong even trying to make a joke.. what a shame
18:11.29jkakarBwahaha
18:13.54btbytesoh... :)
18:16.24*** join/#storm bigkev (n=kevin@78.86.128.246)
18:35.34*** join/#storm niemeyer_ (n=niemeyer@modemcable178.77-70-69.static.videotron.ca)
19:23.24*** join/#storm niemeyer (n=niemeyer@modemcable178.77-70-69.static.videotron.ca)
19:49.43*** join/#storm niemeyer (n=niemeyer@modemcable178.77-70-69.static.videotron.ca)
21:57.26*** join/#storm niemeyer (n=niemeyer@modemcable178.77-70-69.static.videotron.ca)
22:45.59tjsmorning

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