IRC log for #storm on 20071116

00:00.15*** join/#storm wallflower (n=wallflow@ip-205-246-113-216.pool.grokthis.net)
00:04.36weatherman_storm/database-trace-hook r183 committed by radix@twistedmatrix.com
00:04.37weatherman_Merge trunk into database-trace-hook
04:26.42*** join/#storm Key_Gena (i=lok@gateway/tor/x-2d8a9aa7ef4fe1ec)
06:38.43*** join/#storm dobee (n=dobeee@194.183.146.186)
06:44.30*** join/#storm jukart (n=jukart@194.183.146.181)
07:39.19*** join/#storm bozzo (n=bozzo@BSN-210-221-23.dial-up.dsl.siol.net)
08:22.56*** join/#storm Fujitsu (n=fujitsu@ubuntu/member/fujitsu)
09:23.23*** join/#storm mcella (n=michele@ip-171-30.sn3.eutelia.it)
11:21.58*** join/#storm bozzo (n=bozzo@BSN-77-199-65.dial-up.dsl.siol.net)
11:23.15*** join/#storm bozzo (n=bozzo@BSN-77-199-65.dial-up.dsl.siol.net)
12:11.48*** join/#storm niemeyer (n=niemeyer@200-138-134-89.ctame705.dsl.brasiltelecom.net.br)
13:03.47weatherman_storm/trunk r192 committed by gustavo@niemeyer.net
13:03.47weatherman_Added TimeDelta to locals.
13:08.33weatherman_storm/trunk r192 committed by gustavo@niemeyer.net
13:08.33weatherman_Added TimeDelta to locals. [trivial]
13:10.30*** join/#storm mcella_ (n=michele@ip-171-30.sn3.eutelia.it)
13:59.31*** join/#storm Zenom (n=Zenom@unaffiliated/aj1973)
15:06.00jkakarniemeyer: Given the awesomeness that insert-returning brought in yesterday, do you think we should prepare a release?
15:07.08niemeyerjkakar: I think we should do one shortly
15:07.20niemeyerjkakar: There are a few things I'd like to integrate before the release
15:07.49niemeyerjkakar: Like support for timedelta in sqlite and reconnection for mysql
15:08.22jkakarniemeyer: Ah, okay, cool.
15:11.19*** join/#storm dobee (n=dobeee@81-223-53-162.dornbirn.xdsl-line.inode.at)
16:13.51*** join/#storm EnTeQuAk (n=EnTeQuAk@dslb-088-074-037-063.pools.arcor-ip.net)
17:13.26*** join/#storm [algo] (n=ilia@algo.dialup.corbina.ru)
17:13.29[algo]hello
17:13.38[algo]I'm new to Storm
17:14.21[algo]why should I take it instead of django/SQL Alchemy ?
17:14.43radixHi.
17:15.15[algo]hi
17:16.11radixbecause Storm is nice and simple.
17:24.12niemeyerBecause it performs better, because it's cool, because it's awesome while the others are not, or like my friend Jeff Johnson would say, just because. ;-)
17:25.02[algo]eeck
17:26.41niemeyer[algo]: More seriously, there's a list of features in the web site, and the tutorial should give you an idea about how it works
17:26.59niemeyer[algo]: You then have to decide if that's what you're looking for or not
17:27.07niemeyer[algo]: We can help you with specific questions if you have any
17:27.12[algo]fine thanks
17:59.23*** join/#storm jml_ (n=jml@70.91.133.153)
18:16.39Zenomdebating on switching to hg or bzr for vcs instead of svn
18:16.58jkakar++bzr!
18:17.22jkakarSeriously, I haven't actually used hg, so I can't comment on it.  I use bzr for all my projects and love it.
18:17.37Zenomour thing is we get tired of going "are you in such and such file?"
18:17.47Zenomi am just curious about how merges actually happen
18:17.56Zenomand how we can manage it with a group of only 3 people
18:18.04jkakarZenom: One of the things that changes is that you end up doing things in branches.
18:18.19jkakarZenom: So, in our case for example, we have a trunk/ branch that we all merge into when branches are ready.
18:18.42Zenomyeah we typically work on the same stuff
18:18.42jkakarZenom: As an aside, we have a requirement that all branches get 2 reviews before being merged to trunk.  But that has nothing to do with the VCS.
18:18.48Zenomie., like in the db module or whatever
18:19.18jkakarZenom: On the same feature, or just on the same components?
18:19.19Zenomsometimes on the same  feature
18:19.21Zenomfor instance right now we are writing a blogging app
18:19.31Zenomand we kinda go back and forth based on tickets that are open for bugs
18:19.39jkakarSo, in that case you're closely collaborating on whether programmer A has committed a file programmer B needs?
18:19.46Zenomsometimes yeah
18:20.32jkakarIn that case, bzr supports the svn centralized model ('bzr checkout' instead of 'bzr branch').  It would be interesting to hop into #bzr and discuss your use cases with the guys there.  It's a very flexible tool.
18:21.14Zenomthanks might do that
18:22.22Zenomso from my reading it looks like you have a local branch
18:22.28Zenomthen you just push to a central repo
18:23.06jkakarYou can do that, yes.
18:23.39jkakarYou can also have a central branch that you have a "checkout" of.  Commits to your local copy have to succeed on the remote branch before they go through.  Similar to the svn model.
18:24.47jkakarZenom: John Arbash Meinl, on of the Bazaar developer's recently wrote a comparison of svn and bzr that might be insightful: http://jam-bazaar.blogspot.com/2007/10/bazaar-vs-subversion.html
18:25.25jkakarZenom: There are also tools like bzr-svn that might be useful during the transition/checking it out phase.
18:30.05Zenomi think part of the things I am scared about
18:30.16Zenomis all of us edit a single file and me not being bzr, hg friendly enough
18:30.22Zenomthat the whole thing gets borked lol
19:16.06niemeyerIt's *UNBELIEVABLE* how people have no idea about the meaning of a transaction
19:16.15niemeyerMySQLdb is totally screwed up
19:16.40niemeyerIt does automatic reconnection by defaut
19:16.41niemeyerdefault
19:16.47niemeyerSo far so good..
19:17.29niemeyerBut the "detail" is that once it reconnects, it doesn't tell you that your on going transaction was actually rolled back
19:17.36niemeyerNot only that, but it will put you in *AUTOCOMMIT* mode
19:17.42niemeyerMan..
19:18.07niemeyerAll of that without a single notice to the application
19:39.58niemeyerTo be fair, it's not a fault of MySQLdb.. MySQL itself implemented the reconnect behavior by default during 5.0 and 5.0.3.
19:40.09niemeyerThey disabled it after 5.0.3 (probably understood how bad it was)
19:40.30niemeyerand Debian (and Ubuntu by consequence) have a patch reenabling it by default..
19:40.37niemeyerEven in 5.0.3+
19:40.50niemeyerSo it's not a problem of MySQLdb per-se
19:46.40radix:|
19:48.24niemeyerAha, found a workaround
20:30.12weatherman_storm/trunk r193 committed by gustavo@niemeyer.net
20:30.12weatherman_Updating NEWS file.
20:42.07niemeyermichelp: I'm getting this error when running the schema upgrades of client_uptime_sux:
20:42.09niemeyer<PROTECTED>
20:42.10niemeyerpsycopg2.ProgrammingError: relation "client_uptime_component" does not exist
20:42.35niemeyermichelp: Actually
20:42.47niemeyermichelp: I think it's not in the patch
20:42.52radixmischan :)
20:43.02niemeyerDUH
20:46.40pyCubei dunno.. not a db expert here, but mysql alays put me off for some reason
20:52.00weatherman_storm/mysql-reconnection r194 committed by gustavo@niemeyer.net
20:52.00weatherman_Implemented reconnection support in MySQL backend.
20:57.03niemeyerradix, jkakar: ^^^ That's up for review on #94986
20:57.11radixcool!
20:57.13niemeyerIt's a very small change
20:58.12jkakarYay
21:04.25pyCubeniemeyer: thanks again for tackling the postgrsql schema thing.. very useful here :-)
21:52.41niemeyerpyCube: You're welcome!
21:52.50niemeyerpyCube: My I ask where you're using Storm?
21:53.18pyCubewhere?
21:56.13niemeyerpyCube: Which project
21:56.43niemeyerpyCube: Sorry, bad english "where are you"
22:22.10pyCubeheh.. well, i am in arizona atm.. moving to northern california in a couple weeks
22:22.20pyCubeoh
22:22.22pyCubesheesh
22:24.56pyCubeusing storm on some projects that piggy back off of the school/curriculum app i built using twisted/nevow and twisteds adbapi
22:25.49pyCubereally pretty much reimplementing the thing, but first as an xmlrpc api
22:26.57pyCubeso with storm i am partly mapping to existing tables and such, but also building new apps and tables
22:29.37pyCubebut, all that will change in a couple weeks
22:29.39pyCubehehe
22:29.54pyCubeand hopefully i'll be using storm a lot in my new job
22:38.01pyCubei really like how much db design/usage opens up when I approach it all object oriented like..
22:38.26pyCubewriting sql is a bitch... period
22:38.28pyCubehehe
22:38.31jkakarHeh
22:39.24pyCubei just feel like the db structure is much more sound and useful when i attack it from the get go as class, instance, property, etc
22:39.33pyCubethe ones i make anyway.. hehe
22:40.27pyCubehelps me exploit the power of a relational db
22:42.23pyCubei have been wearing a lot of hats at work for the past 4 years or so.. having time to sit and become mr sql guru just never happened.. hehe
22:44.02pyCubethe nice thing about storm is that it just lays right over whatever db design you have, rather than imposing all sorts of crap on you design wise
22:44.36pyCube..and, unlike some other similar things, it doesnt end up being more of a bitch than just dealing with sql
22:44.38pyCube:-p
22:45.52pyCubesql + getting you results in some dumb list or slightly less dumb dict
22:46.46pyCubeanyway...
22:49.36pyCubei dunno.. sql is kinda like css, inherently trial and errory.. for me that is
22:50.34pyCubelead to a lot of "ok, WTF!? this *should* be working..."
22:50.46pyCubehehe
22:51.00aa_css is a bit more forgiving when you get things wrong
22:51.08pyCubehehe
22:51.09pyCubeyeah
22:51.38pyCubea misplaced div is less painful than a couple million extra rows from a query
23:21.30*** join/#storm pyCube (n=jmayfiel@ip72-208-138-205.ph.ph.cox.net)

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