IRC log of #zope3-dev for Monday, 2007-01-08

WebMavenccomb: that won't work.00:00
WebMavenBut there is a DirectoryStorage thta more-or-less does what you would expect it to.00:01
ccombok thanks00:02
ccombis there any benchmarks of zodb for different tasks ?00:02
*** jfroche has joined #zope3-dev00:02
WebMaventhe only benchmarks that matter are the ones of your application.00:04
WebMavenI can give you some rules of thumb.00:05
WebMavenZODB FileStorage is read-optimized. write-heavy applications have lower performance.00:05
ccombAnd I'm wondering what would be the results of putting the Data.fs on a SSD (flash drive)00:06
ccombit would be much better for seek time00:06
WebMavenoTOH, a non-undoable storage like DirectoryStorage eliminates the write penalty.00:06
ccombah interesting00:06
WebMavenWell, flash wears out.00:06
WebMaventhe ZODB is undoable because it appends a new copy of an object to the end of the file.00:07
WebMavenso you can get back to old revisions.00:07
WebMavenbut this means that the Data.fs grows with every edit.00:08
WebMavenyou can purge the Data.fs of older copies, which shrinks it again, but this happens by writing out a new Data.fs and throwing away the old ones.00:09
WebMavenThis would all be very hard on Flash, and wear it out.00:09
WebMavenSo, if you want to use Flash, use a non-undoable storage, like DirectoryStorage.00:10
ccombok00:11
WebMavenunless, of course, in your application you expect data to usually be write once anyway.00:12
WebMavenDoes that make sense?00:13
*** dobee has quit IRC00:15
*** mgedmin has quit IRC00:22
*** timte has quit IRC00:26
zenwrylydoes anyone know why Zope 2.10 seems to include zodbcode but not zope.app.module00:29
*** jodok has quit IRC00:38
*** b_52Centos has quit IRC00:39
*** b_52Centos has joined #zope3-dev00:39
*** stub has quit IRC00:43
ccombI have a recurring question about the ++apidoc++00:44
ccombIn Philipp's book, there is an example of Choice field in a schema00:44
ccombweekday = Choice(title=u'weekday',  values=[u'monday', u'tuesday', ....]00:45
ccombHow can I guess that the "values" parameter exist ?00:45
ccombWhere is it documented ?00:46
ccombThe apidoc does not document __init__ constructors ?00:46
*** philiKON has joined #zope3-dev00:47
*** jodok has joined #zope3-dev00:50
*** kobold has joined #zope3-dev00:56
*** HakTom has joined #zope3-dev00:58
*** marcin_ant has joined #zope3-dev01:02
*** harobed has quit IRC01:16
*** jodok has quit IRC01:18
*** jodok has joined #zope3-dev01:20
*** jodok has quit IRC01:23
*** HakTom has quit IRC01:27
*** jfroche has quit IRC01:28
*** tomus has quit IRC01:29
*** jodok has joined #zope3-dev01:32
*** kobold has left #zope3-dev01:40
*** yota has quit IRC01:41
*** marcin_ant has quit IRC01:43
*** BjornT has quit IRC02:21
*** stub has joined #zope3-dev02:45
*** xenru|clone has joined #zope3-dev02:46
*** xenru has quit IRC02:46
*** b_52Centos has quit IRC02:48
*** b_52Centos has joined #zope3-dev02:50
*** philiKON has quit IRC02:52
*** xenru|clone has quit IRC03:04
*** b_52Centos has quit IRC03:11
*** b_52Centos has joined #zope3-dev03:12
*** b_52Centos has quit IRC03:27
*** reco has joined #zope3-dev03:40
*** projekt01 has joined #zope3-dev03:47
*** projekt01 has quit IRC03:53
*** droogie has quit IRC04:49
*** ccomb has left #zope3-dev05:11
*** Bhaskar has joined #zope3-dev05:33
*** stub has quit IRC05:48
*** b_52Centos has joined #zope3-dev05:57
*** baijum has joined #zope3-dev06:26
*** b_52Centos has quit IRC06:54
*** b_52Centos has joined #zope3-dev06:55
*** Aiste has quit IRC06:59
*** stub has joined #zope3-dev07:07
*** b_52Centos has quit IRC07:19
*** jkakar has quit IRC07:23
*** b_52Centos has joined #zope3-dev07:36
*** stub has quit IRC07:45
*** b_52Centos has quit IRC07:58
*** BjornT- has joined #zope3-dev07:58
*** BjornT- is now known as BjornT07:59
*** eins has joined #zope3-dev08:06
*** BjornT has quit IRC08:07
*** BjornT has joined #zope3-dev08:07
*** droogie has joined #Zope3-dev08:28
WebMaveneins: I saw in the ML that you had some ZAlchemy demo code. Is that available somewhere?08:43
einsWebMaven I don't think it is. I can put it once again somewhere;)08:45
WebMavenit was this: http://users.esperonus.com/~baubasmail/zalchemy-demo.tar.gz08:46
WebMavenif you have any other examples, they would be appreciated.08:47
*** zagy has joined #zope3-dev08:48
einsWebMaven try http://users.esperonus.com/~baubasmail/mcontainer.tar.gz08:50
einsthis is  not a clean code though08:51
einsand it does not work out of the box, modify it for yourself;)08:52
WebMavenyou mean, don't ask for your help?08:52
WebMavenzagy: I see you checked in at least one ZAlchemy fix. Do you have any demo or example code lying around I can look at?08:54
WebMaveneins: AYT?08:58
WebMavenzagy: AYT?08:59
einsWebMaven I was trying to set it up so that it would support the "autoload" feature of sqlalchemy and several connections for single object and08:59
eins          didn't succeed08:59
einsso I haven't used it any more08:59
WebMavenDo you use anything else?09:00
einsit didn't seem to me very useful at that time09:00
einswe have our own o-r mapper09:00
WebMavenOK.09:01
WebMavenis it released?09:01
einsWebMaven try sqlos09:01
einsno it is not released09:01
einsand try zalchemy also:) maybe it fit you:)09:02
WebMavenI tried SQLOS, but it got all pathological on my insisting on naming conventions even when I overrided them.09:02
WebMavenZAlchemy is looking like a good option. I am just looking for more ZAlchemy demo code.09:02
zagyWebMaven: hi09:04
zagyWebMaven: we used zalchemy for an internal project09:04
zagyWebMaven: but have a look at the doctests, they helped me a bit09:04
WebMaventhey were *some* help, but if you have any simple demo code you can share (even if not perfect) I would appreciate it.09:06
*** d2m has quit IRC09:07
WebMavenzagy: or, if you know anyone else who has used ZAlchemy and might have similar examples.09:07
zagyhave you looked at the sqlalchemy tutorial?09:08
einsWebMaven try looking at example I gave you, you can't think of anything more simple09:08
WebMavenOK, thanks.09:08
*** jodok has quit IRC09:11
WebMaveneins: yes, this looks good. Along with some other examples I found, I think I'll be able to make a good working demo package for people to learn from.09:13
WebMavenOK, I need to take a break. Thanks folks!09:15
einsnp;)09:17
*** harobed has joined #zope3-dev09:18
*** stub has joined #zope3-dev09:28
*** yota has joined #zope3-dev09:28
*** romanofski has joined #zope3-dev09:29
*** kobold has joined #zope3-dev09:29
*** wrobel has joined #zope3-dev09:29
*** philiKON has joined #zope3-dev09:37
*** Aiste has joined #zope3-dev09:39
*** droogie has quit IRC09:41
romanofskimoin09:43
*** alecm has quit IRC09:51
*** d2m has joined #zope3-dev09:51
*** dokai has joined #zope3-dev09:53
*** harobed has quit IRC09:56
*** jodok has joined #zope3-dev10:13
*** jodok has quit IRC10:18
*** harobed has joined #zope3-dev10:24
*** b_52Free has joined #zope3-dev10:25
*** schwendinger has joined #zope3-dev10:37
*** jodok has joined #zope3-dev10:43
*** dobee has joined #zope3-dev10:43
*** stu1 has joined #zope3-dev10:48
*** kobold has quit IRC10:50
*** kobold has joined #zope3-dev10:50
*** jfroche has joined #zope3-dev10:54
*** dlk has joined #zope3-dev11:05
*** stub has quit IRC11:06
*** jinty has joined #zope3-dev11:10
*** opetznick has joined #zope3-dev11:24
*** opetznick has joined #zope3-dev11:25
*** reco has quit IRC11:25
*** reco has joined #zope3-dev11:25
*** HakTom has joined #zope3-dev11:35
*** b_52Free has quit IRC11:41
*** philiKON has quit IRC11:49
*** philiKON has joined #zope3-dev11:49
*** dunny has quit IRC11:50
*** mgedmin has joined #zope3-dev11:58
*** b_52Free has joined #zope3-dev11:59
*** jodok has quit IRC12:16
*** jodok has joined #zope3-dev12:16
*** __mac__2 has joined #zope3-dev12:51
*** timte has joined #zope3-dev13:00
*** grahal has joined #zope3-dev13:03
*** opetznick has quit IRC13:03
*** ktwilight_ has joined #zope3-dev13:05
*** niemeyer has joined #zope3-dev13:08
*** ktwilight has quit IRC13:09
*** Bhaskar has quit IRC13:18
*** timte has quit IRC13:20
*** schwendinger has quit IRC13:24
*** ignas has joined #zope3-dev13:25
*** ignas has quit IRC13:25
*** ignas has joined #zope3-dev13:28
*** jinty has quit IRC13:32
*** niemeyer has quit IRC13:33
*** niemeyer has joined #zope3-dev13:34
*** jinty has joined #zope3-dev13:37
*** kobold has left #zope3-dev13:38
*** __mac__2 has quit IRC13:43
*** J1m has joined #zope3-dev13:45
*** timte has joined #zope3-dev13:49
*** nathany has joined #zope3-dev14:21
*** reco has quit IRC14:24
SteveATheuni: ping14:32
*** jamesh has joined #zope3-dev14:32
*** matthewrevell has joined #zope3-dev14:32
SteveAJ1m: ping14:32
J1mhey14:32
SteveAhi Jim14:32
SteveAjim, meeting matthew revell and james henstridge14:33
SteveAand vice versa14:33
jameshhi14:33
matthewrevellJ1m: hello :)14:33
SteveAjames is the launchpad developer who will be modifying the collector and doing the imports of bugs etc.14:33
J1mHi14:33
J1mah, cool14:33
SteveAmatthew is the launchpad community communications person14:34
SteveAso, he leads documentation efforts and arrangements with the user community of launchpad14:34
SteveAthe three of us are currently in a skype conf call, talking about how to go about doing the bugs import for zope314:34
SteveAI'd like james to get hold of the code that is used for the collector, and if possible, its Data.fs14:35
SteveAif that's not possible, it's okay, and he can work from just the code14:35
SteveAdo you know what version of the collector + zope is used?14:35
J1mhee hee14:35
J1mI can get you the code.14:35
SteveAah, one of *those* questions ;-)14:36
SteveAokay14:36
J1mBetter yet, I suspect, I can get you an xml export (and a binary export) of the collector.14:36
SteveAok14:36
J1mThere's a pretty good chance you can get what you want from the xml export.14:36
J1mWithout even thinking very hard. :)14:36
SteveAoh... so it wouldn't be an xml pickle export?14:36
J1mYes, it would be.14:37
J1mxml pickle exports can be quite usable.14:37
jameshJ1m: that might work pretty well.  Will that have user account data for people who've used the collector?14:37
J1mIn our experience.14:37
SteveAsounds challenging but do-able14:37
J1mIt isn't as challenging as you might think.14:37
jameshfor an import, I need an email address at a minimum, and preferably a display name14:37
J1msince most Python data structures are dicts.14:37
SteveAwhen we do exports/imports, we usually carefully link up the owners of comments and subscribers and all that kind of thing14:38
SteveAto make for a good transition14:38
J1mfair enough14:38
SteveAit's possible to do it without that14:38
J1mI expect that the export will have the z.o user name.14:38
SteveAbut it means more work getting started in launchpad afterwards, of course14:38
J1mI could also generate some sort of file with user names and email addresses.14:38
jameshsure.  I can do an import that loses comment attribution, but it'd be nice to avoid that14:39
J1mI assume we have that as well.14:39
SteveAsounds good, jim14:39
J1mOne of the first tasks will be to see what the xml export looks like.14:39
J1mBTW, as far as data manipulation, a common second task is to write a little bit of xslt to get the pickle dump into a more convenient form, extracting the interesting bits, etc.14:40
J1mIf that doesn't work (easily) than the backup plan is for someone like me to write a script that reads the collector data and dumps it.14:41
J1mI suspect though that looking at the xml dump will be easier.14:41
SteveAok14:41
SteveAthere's a standard xml format we use for important14:41
SteveAum, for imports14:42
*** andrew_m2 has joined #zope3-dev14:42
J1mI gotta go to f12g.14:42
SteveAJ1m: part of my original offer to the zope3 community is writing such scripts, btw14:42
jameshJ1m: we've got an XML format we've developed plus importer code for Launchpad14:43
J1mWhy dont' you start an email thread so I have everyone's addresses.14:43
SteveAso, if there are privacy implications then sure, you do it14:43
*** andrew_m has quit IRC14:43
SteveAok, will do14:43
SteveAthanks for the chat14:43
jameshJ1m: so the goal here is to munge the collector data into the format the importer expects14:43
J1mThanks for helping out with this!14:43
*** andrew_m2 is now known as andrew_m14:43
J1mand thankd for Launchpad!14:43
J1mjamesh, right14:43
J1mlater14:43
*** J1m has quit IRC14:43
jameshit'd be a bonus if the scripts for converting the collector data are usable by other zope collector users that want to migrate14:43
* SteveA sends email14:46
*** schwendinger has joined #zope3-dev14:49
*** srichter has joined #zope3-dev15:16
*** kobold has joined #zope3-dev15:27
*** grahal is now known as grahalAFK15:31
*** matthewrevell has quit IRC15:39
*** edgordon has joined #zope3-dev15:56
*** alga has joined #zope3-dev16:03
*** jinty has quit IRC16:07
*** matthewrevell has joined #zope3-dev16:08
TheuniSteveA: pong16:09
*** gumpa has joined #zope3-dev16:10
*** jinty has joined #zope3-dev16:10
*** mgedmin has quit IRC16:11
*** eins has quit IRC16:18
*** baijum has quit IRC16:21
*** grahalAFK is now known as grahal16:33
*** schwendinger has quit IRC16:37
*** J1m has joined #zope3-dev16:42
*** schwendinger has joined #zope3-dev16:48
*** dlk has quit IRC16:50
*** mgedmin has joined #zope3-dev16:57
*** natea has left #zope3-dev16:59
*** natea has joined #zope3-dev16:59
*** alecm has joined #zope3-dev17:00
*** alecm has quit IRC17:01
*** stu1 has quit IRC17:11
*** dlk has joined #zope3-dev17:13
ignashow does one make strings in zcml translatable ? I have viewlet declarations with a title attribute in them, and i want i18n extraction code to spot them ...17:16
*** dobee has quit IRC17:16
*** dobee has joined #zope3-dev17:16
*** jinty has quit IRC17:21
*** Aiste has quit IRC17:21
*** jinty_ has joined #zope3-dev17:21
*** nathany_ has joined #zope3-dev17:21
*** Aiste has joined #zope3-dev17:25
*** kobold has left #zope3-dev17:30
*** dlk has left #zope3-dev17:33
*** opetznick has joined #zope3-dev17:39
*** ignas has quit IRC17:41
*** nathany has quit IRC17:47
*** zagy has quit IRC17:51
SteveATheuni: hi17:52
Theuni:)17:52
matthewrevellTheuni: Hi Christian, you emailed me in reply to my posting on the zope3-dev list17:55
SteveATheuni: I just pasted matthewrevell the chat we just had17:56
Theunialright.17:56
Theunimatthewrevell: yup.17:56
matthewrevellTheuni: I'm just about to write you an email, following the conversation I had with SteveA and James Henstridge earlier17:57
*** ChanServ sets mode: +o srichter17:57
* Theuni sits around relaxed17:57
*** jfroche has quit IRC18:01
*** nathany_ has quit IRC18:04
*** norro has joined #zope3-dev18:10
*** opetznick has quit IRC18:22
*** whit is now known as whit|collab18:22
*** zagy has joined #zope3-dev18:23
*** batlogg has joined #zope3-dev18:33
*** jodok has quit IRC18:33
*** jodok has joined #zope3-dev18:39
*** batlogg has quit IRC18:39
*** natea is now known as natea|phone18:41
*** schwendinger has quit IRC18:51
*** schwendinger has joined #zope3-dev18:51
*** mkerrin has joined #zope3-dev18:58
*** J1m has quit IRC19:01
*** whit|collab is now known as whit19:02
*** mkerrin has quit IRC19:06
*** J1m has joined #zope3-dev19:06
*** harobed has quit IRC19:17
*** ksmith99 has joined #zope3-dev19:18
*** jkakar has joined #zope3-dev19:19
*** edgordon has quit IRC19:22
*** jodok has quit IRC19:26
*** jinty_ has quit IRC19:27
*** J1m has quit IRC19:31
*** matthewrevell has quit IRC19:41
*** tonico has joined #zope3-dev19:44
*** J1m has joined #zope3-dev19:49
*** dobee has quit IRC19:49
*** nathany has joined #zope3-dev19:51
*** tonico is now known as tonico|away20:06
*** RaFromBRC has joined #zope3-dev20:14
*** dunny has joined #zope3-dev20:15
*** alecm has joined #zope3-dev20:22
*** srichter has quit IRC20:29
*** oferw has joined #zope3-dev20:30
*** edgordon has joined #zope3-dev20:33
*** jodok has joined #zope3-dev20:36
*** dunny has quit IRC20:42
*** dunny has joined #zope3-dev20:43
*** natea|phone is now known as natea20:44
*** schwendinger has quit IRC20:47
*** schwendinger has joined #zope3-dev20:59
*** srichter has joined #zope3-dev21:01
*** henri_ has joined #zope3-dev21:06
*** schwendinger_ has joined #zope3-dev21:48
*** jfroche has joined #zope3-dev21:51
*** grahal has quit IRC21:53
*** oferw_ has joined #zope3-dev21:55
*** tarek has quit IRC21:55
*** oferw has quit IRC21:57
*** oferw_ is now known as oferw21:58
*** oferw has quit IRC21:59
*** BjornT_ has joined #zope3-dev22:03
*** schwendinger has quit IRC22:05
*** BjornT has quit IRC22:18
*** schwendinger has joined #zope3-dev22:25
*** BjornT_ has quit IRC22:42
*** schwendinger_ has quit IRC22:42
*** schwendinger has quit IRC22:54
*** RaFromBRC is now known as RaFromBRC|lunch22:57
*** jkakar has quit IRC22:58
*** mgedmin has quit IRC23:01
*** edgordon has quit IRC23:08
*** ofer has joined #zope3-dev23:10
*** strichter has joined #zope3-dev23:12
*** gumpa_ has joined #zope3-dev23:14
*** srichter has quit IRC23:20
*** edgordon has joined #zope3-dev23:25
*** edgordon has quit IRC23:26
*** jkakar has joined #zope3-dev23:28
*** gumpa has quit IRC23:29
*** henri_ has quit IRC23:32
oferphiliKON: here?23:33
*** strichter has quit IRC23:42
oferhttps://translations.launchpad.net/zope/+translations23:42
oferis this the last updated file?23:43
*** harobed has joined #zope3-dev23:47
*** ccomb has joined #zope3-dev23:50

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!