WebMaven | ccomb: that won't work. | 00:00 |
---|---|---|
WebMaven | But there is a DirectoryStorage thta more-or-less does what you would expect it to. | 00:01 |
ccomb | ok thanks | 00:02 |
ccomb | is there any benchmarks of zodb for different tasks ? | 00:02 |
*** jfroche has joined #zope3-dev | 00:02 | |
WebMaven | the only benchmarks that matter are the ones of your application. | 00:04 |
WebMaven | I can give you some rules of thumb. | 00:05 |
WebMaven | ZODB FileStorage is read-optimized. write-heavy applications have lower performance. | 00:05 |
ccomb | And I'm wondering what would be the results of putting the Data.fs on a SSD (flash drive) | 00:06 |
ccomb | it would be much better for seek time | 00:06 |
WebMaven | oTOH, a non-undoable storage like DirectoryStorage eliminates the write penalty. | 00:06 |
ccomb | ah interesting | 00:06 |
WebMaven | Well, flash wears out. | 00:06 |
WebMaven | the ZODB is undoable because it appends a new copy of an object to the end of the file. | 00:07 |
WebMaven | so you can get back to old revisions. | 00:07 |
WebMaven | but this means that the Data.fs grows with every edit. | 00:08 |
WebMaven | you 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 |
WebMaven | This would all be very hard on Flash, and wear it out. | 00:09 |
WebMaven | So, if you want to use Flash, use a non-undoable storage, like DirectoryStorage. | 00:10 |
ccomb | ok | 00:11 |
WebMaven | unless, of course, in your application you expect data to usually be write once anyway. | 00:12 |
WebMaven | Does that make sense? | 00:13 |
*** dobee has quit IRC | 00:15 | |
*** mgedmin has quit IRC | 00:22 | |
*** timte has quit IRC | 00:26 | |
zenwryly | does anyone know why Zope 2.10 seems to include zodbcode but not zope.app.module | 00:29 |
*** jodok has quit IRC | 00:38 | |
*** b_52Centos has quit IRC | 00:39 | |
*** b_52Centos has joined #zope3-dev | 00:39 | |
*** stub has quit IRC | 00:43 | |
ccomb | I have a recurring question about the ++apidoc++ | 00:44 |
ccomb | In Philipp's book, there is an example of Choice field in a schema | 00:44 |
ccomb | weekday = Choice(title=u'weekday', values=[u'monday', u'tuesday', ....] | 00:45 |
ccomb | How can I guess that the "values" parameter exist ? | 00:45 |
ccomb | Where is it documented ? | 00:46 |
ccomb | The apidoc does not document __init__ constructors ? | 00:46 |
*** philiKON has joined #zope3-dev | 00:47 | |
*** jodok has joined #zope3-dev | 00:50 | |
*** kobold has joined #zope3-dev | 00:56 | |
*** HakTom has joined #zope3-dev | 00:58 | |
*** marcin_ant has joined #zope3-dev | 01:02 | |
*** harobed has quit IRC | 01:16 | |
*** jodok has quit IRC | 01:18 | |
*** jodok has joined #zope3-dev | 01:20 | |
*** jodok has quit IRC | 01:23 | |
*** HakTom has quit IRC | 01:27 | |
*** jfroche has quit IRC | 01:28 | |
*** tomus has quit IRC | 01:29 | |
*** jodok has joined #zope3-dev | 01:32 | |
*** kobold has left #zope3-dev | 01:40 | |
*** yota has quit IRC | 01:41 | |
*** marcin_ant has quit IRC | 01:43 | |
*** BjornT has quit IRC | 02:21 | |
*** stub has joined #zope3-dev | 02:45 | |
*** xenru|clone has joined #zope3-dev | 02:46 | |
*** xenru has quit IRC | 02:46 | |
*** b_52Centos has quit IRC | 02:48 | |
*** b_52Centos has joined #zope3-dev | 02:50 | |
*** philiKON has quit IRC | 02:52 | |
*** xenru|clone has quit IRC | 03:04 | |
*** b_52Centos has quit IRC | 03:11 | |
*** b_52Centos has joined #zope3-dev | 03:12 | |
*** b_52Centos has quit IRC | 03:27 | |
*** reco has joined #zope3-dev | 03:40 | |
*** projekt01 has joined #zope3-dev | 03:47 | |
*** projekt01 has quit IRC | 03:53 | |
*** droogie has quit IRC | 04:49 | |
*** ccomb has left #zope3-dev | 05:11 | |
*** Bhaskar has joined #zope3-dev | 05:33 | |
*** stub has quit IRC | 05:48 | |
*** b_52Centos has joined #zope3-dev | 05:57 | |
*** baijum has joined #zope3-dev | 06:26 | |
*** b_52Centos has quit IRC | 06:54 | |
*** b_52Centos has joined #zope3-dev | 06:55 | |
*** Aiste has quit IRC | 06:59 | |
*** stub has joined #zope3-dev | 07:07 | |
*** b_52Centos has quit IRC | 07:19 | |
*** jkakar has quit IRC | 07:23 | |
*** b_52Centos has joined #zope3-dev | 07:36 | |
*** stub has quit IRC | 07:45 | |
*** b_52Centos has quit IRC | 07:58 | |
*** BjornT- has joined #zope3-dev | 07:58 | |
*** BjornT- is now known as BjornT | 07:59 | |
*** eins has joined #zope3-dev | 08:06 | |
*** BjornT has quit IRC | 08:07 | |
*** BjornT has joined #zope3-dev | 08:07 | |
*** droogie has joined #Zope3-dev | 08:28 | |
WebMaven | eins: I saw in the ML that you had some ZAlchemy demo code. Is that available somewhere? | 08:43 |
eins | WebMaven I don't think it is. I can put it once again somewhere;) | 08:45 |
WebMaven | it was this: http://users.esperonus.com/~baubasmail/zalchemy-demo.tar.gz | 08:46 |
WebMaven | if you have any other examples, they would be appreciated. | 08:47 |
*** zagy has joined #zope3-dev | 08:48 | |
eins | WebMaven try http://users.esperonus.com/~baubasmail/mcontainer.tar.gz | 08:50 |
eins | this is not a clean code though | 08:51 |
eins | and it does not work out of the box, modify it for yourself;) | 08:52 |
WebMaven | you mean, don't ask for your help? | 08:52 |
WebMaven | zagy: 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 |
WebMaven | eins: AYT? | 08:58 |
WebMaven | zagy: AYT? | 08:59 |
eins | WebMaven I was trying to set it up so that it would support the "autoload" feature of sqlalchemy and several connections for single object and | 08:59 |
eins | didn't succeed | 08:59 |
eins | so I haven't used it any more | 08:59 |
WebMaven | Do you use anything else? | 09:00 |
eins | it didn't seem to me very useful at that time | 09:00 |
eins | we have our own o-r mapper | 09:00 |
WebMaven | OK. | 09:01 |
WebMaven | is it released? | 09:01 |
eins | WebMaven try sqlos | 09:01 |
eins | no it is not released | 09:01 |
eins | and try zalchemy also:) maybe it fit you:) | 09:02 |
WebMaven | I tried SQLOS, but it got all pathological on my insisting on naming conventions even when I overrided them. | 09:02 |
WebMaven | ZAlchemy is looking like a good option. I am just looking for more ZAlchemy demo code. | 09:02 |
zagy | WebMaven: hi | 09:04 |
zagy | WebMaven: we used zalchemy for an internal project | 09:04 |
zagy | WebMaven: but have a look at the doctests, they helped me a bit | 09:04 |
WebMaven | they 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 IRC | 09:07 | |
WebMaven | zagy: or, if you know anyone else who has used ZAlchemy and might have similar examples. | 09:07 |
zagy | have you looked at the sqlalchemy tutorial? | 09:08 |
eins | WebMaven try looking at example I gave you, you can't think of anything more simple | 09:08 |
WebMaven | OK, thanks. | 09:08 |
*** jodok has quit IRC | 09:11 | |
WebMaven | eins: 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 |
WebMaven | OK, I need to take a break. Thanks folks! | 09:15 |
eins | np;) | 09:17 |
*** harobed has joined #zope3-dev | 09:18 | |
*** stub has joined #zope3-dev | 09:28 | |
*** yota has joined #zope3-dev | 09:28 | |
*** romanofski has joined #zope3-dev | 09:29 | |
*** kobold has joined #zope3-dev | 09:29 | |
*** wrobel has joined #zope3-dev | 09:29 | |
*** philiKON has joined #zope3-dev | 09:37 | |
*** Aiste has joined #zope3-dev | 09:39 | |
*** droogie has quit IRC | 09:41 | |
romanofski | moin | 09:43 |
*** alecm has quit IRC | 09:51 | |
*** d2m has joined #zope3-dev | 09:51 | |
*** dokai has joined #zope3-dev | 09:53 | |
*** harobed has quit IRC | 09:56 | |
*** jodok has joined #zope3-dev | 10:13 | |
*** jodok has quit IRC | 10:18 | |
*** harobed has joined #zope3-dev | 10:24 | |
*** b_52Free has joined #zope3-dev | 10:25 | |
*** schwendinger has joined #zope3-dev | 10:37 | |
*** jodok has joined #zope3-dev | 10:43 | |
*** dobee has joined #zope3-dev | 10:43 | |
*** stu1 has joined #zope3-dev | 10:48 | |
*** kobold has quit IRC | 10:50 | |
*** kobold has joined #zope3-dev | 10:50 | |
*** jfroche has joined #zope3-dev | 10:54 | |
*** dlk has joined #zope3-dev | 11:05 | |
*** stub has quit IRC | 11:06 | |
*** jinty has joined #zope3-dev | 11:10 | |
*** opetznick has joined #zope3-dev | 11:24 | |
*** opetznick has joined #zope3-dev | 11:25 | |
*** reco has quit IRC | 11:25 | |
*** reco has joined #zope3-dev | 11:25 | |
*** HakTom has joined #zope3-dev | 11:35 | |
*** b_52Free has quit IRC | 11:41 | |
*** philiKON has quit IRC | 11:49 | |
*** philiKON has joined #zope3-dev | 11:49 | |
*** dunny has quit IRC | 11:50 | |
*** mgedmin has joined #zope3-dev | 11:58 | |
*** b_52Free has joined #zope3-dev | 11:59 | |
*** jodok has quit IRC | 12:16 | |
*** jodok has joined #zope3-dev | 12:16 | |
*** __mac__2 has joined #zope3-dev | 12:51 | |
*** timte has joined #zope3-dev | 13:00 | |
*** grahal has joined #zope3-dev | 13:03 | |
*** opetznick has quit IRC | 13:03 | |
*** ktwilight_ has joined #zope3-dev | 13:05 | |
*** niemeyer has joined #zope3-dev | 13:08 | |
*** ktwilight has quit IRC | 13:09 | |
*** Bhaskar has quit IRC | 13:18 | |
*** timte has quit IRC | 13:20 | |
*** schwendinger has quit IRC | 13:24 | |
*** ignas has joined #zope3-dev | 13:25 | |
*** ignas has quit IRC | 13:25 | |
*** ignas has joined #zope3-dev | 13:28 | |
*** jinty has quit IRC | 13:32 | |
*** niemeyer has quit IRC | 13:33 | |
*** niemeyer has joined #zope3-dev | 13:34 | |
*** jinty has joined #zope3-dev | 13:37 | |
*** kobold has left #zope3-dev | 13:38 | |
*** __mac__2 has quit IRC | 13:43 | |
*** J1m has joined #zope3-dev | 13:45 | |
*** timte has joined #zope3-dev | 13:49 | |
*** nathany has joined #zope3-dev | 14:21 | |
*** reco has quit IRC | 14:24 | |
SteveA | Theuni: ping | 14:32 |
*** jamesh has joined #zope3-dev | 14:32 | |
*** matthewrevell has joined #zope3-dev | 14:32 | |
SteveA | J1m: ping | 14:32 |
J1m | hey | 14:32 |
SteveA | hi Jim | 14:32 |
SteveA | jim, meeting matthew revell and james henstridge | 14:33 |
SteveA | and vice versa | 14:33 |
jamesh | hi | 14:33 |
matthewrevell | J1m: hello :) | 14:33 |
SteveA | james is the launchpad developer who will be modifying the collector and doing the imports of bugs etc. | 14:33 |
J1m | Hi | 14:33 |
J1m | ah, cool | 14:33 |
SteveA | matthew is the launchpad community communications person | 14:34 |
SteveA | so, he leads documentation efforts and arrangements with the user community of launchpad | 14:34 |
SteveA | the three of us are currently in a skype conf call, talking about how to go about doing the bugs import for zope3 | 14:34 |
SteveA | I'd like james to get hold of the code that is used for the collector, and if possible, its Data.fs | 14:35 |
SteveA | if that's not possible, it's okay, and he can work from just the code | 14:35 |
SteveA | do you know what version of the collector + zope is used? | 14:35 |
J1m | hee hee | 14:35 |
J1m | I can get you the code. | 14:35 |
SteveA | ah, one of *those* questions ;-) | 14:36 |
SteveA | okay | 14:36 |
J1m | Better yet, I suspect, I can get you an xml export (and a binary export) of the collector. | 14:36 |
SteveA | ok | 14:36 |
J1m | There's a pretty good chance you can get what you want from the xml export. | 14:36 |
J1m | Without even thinking very hard. :) | 14:36 |
SteveA | oh... so it wouldn't be an xml pickle export? | 14:36 |
J1m | Yes, it would be. | 14:37 |
J1m | xml pickle exports can be quite usable. | 14:37 |
jamesh | J1m: that might work pretty well. Will that have user account data for people who've used the collector? | 14:37 |
J1m | In our experience. | 14:37 |
SteveA | sounds challenging but do-able | 14:37 |
J1m | It isn't as challenging as you might think. | 14:37 |
jamesh | for an import, I need an email address at a minimum, and preferably a display name | 14:37 |
J1m | since most Python data structures are dicts. | 14:37 |
SteveA | when we do exports/imports, we usually carefully link up the owners of comments and subscribers and all that kind of thing | 14:38 |
SteveA | to make for a good transition | 14:38 |
J1m | fair enough | 14:38 |
SteveA | it's possible to do it without that | 14:38 |
J1m | I expect that the export will have the z.o user name. | 14:38 |
SteveA | but it means more work getting started in launchpad afterwards, of course | 14:38 |
J1m | I could also generate some sort of file with user names and email addresses. | 14:38 |
jamesh | sure. I can do an import that loses comment attribution, but it'd be nice to avoid that | 14:39 |
J1m | I assume we have that as well. | 14:39 |
SteveA | sounds good, jim | 14:39 |
J1m | One of the first tasks will be to see what the xml export looks like. | 14:39 |
J1m | BTW, 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 |
J1m | If 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 |
J1m | I suspect though that looking at the xml dump will be easier. | 14:41 |
SteveA | ok | 14:41 |
SteveA | there's a standard xml format we use for important | 14:41 |
SteveA | um, for imports | 14:42 |
*** andrew_m2 has joined #zope3-dev | 14:42 | |
J1m | I gotta go to f12g. | 14:42 |
SteveA | J1m: part of my original offer to the zope3 community is writing such scripts, btw | 14:42 |
jamesh | J1m: we've got an XML format we've developed plus importer code for Launchpad | 14:43 |
J1m | Why dont' you start an email thread so I have everyone's addresses. | 14:43 |
SteveA | so, if there are privacy implications then sure, you do it | 14:43 |
*** andrew_m has quit IRC | 14:43 | |
SteveA | ok, will do | 14:43 |
SteveA | thanks for the chat | 14:43 |
jamesh | J1m: so the goal here is to munge the collector data into the format the importer expects | 14:43 |
J1m | Thanks for helping out with this! | 14:43 |
*** andrew_m2 is now known as andrew_m | 14:43 | |
J1m | and thankd for Launchpad! | 14:43 |
J1m | jamesh, right | 14:43 |
J1m | later | 14:43 |
*** J1m has quit IRC | 14:43 | |
jamesh | it'd be a bonus if the scripts for converting the collector data are usable by other zope collector users that want to migrate | 14:43 |
* SteveA sends email | 14:46 | |
*** schwendinger has joined #zope3-dev | 14:49 | |
*** srichter has joined #zope3-dev | 15:16 | |
*** kobold has joined #zope3-dev | 15:27 | |
*** grahal is now known as grahalAFK | 15:31 | |
*** matthewrevell has quit IRC | 15:39 | |
*** edgordon has joined #zope3-dev | 15:56 | |
*** alga has joined #zope3-dev | 16:03 | |
*** jinty has quit IRC | 16:07 | |
*** matthewrevell has joined #zope3-dev | 16:08 | |
Theuni | SteveA: pong | 16:09 |
*** gumpa has joined #zope3-dev | 16:10 | |
*** jinty has joined #zope3-dev | 16:10 | |
*** mgedmin has quit IRC | 16:11 | |
*** eins has quit IRC | 16:18 | |
*** baijum has quit IRC | 16:21 | |
*** grahalAFK is now known as grahal | 16:33 | |
*** schwendinger has quit IRC | 16:37 | |
*** J1m has joined #zope3-dev | 16:42 | |
*** schwendinger has joined #zope3-dev | 16:48 | |
*** dlk has quit IRC | 16:50 | |
*** mgedmin has joined #zope3-dev | 16:57 | |
*** natea has left #zope3-dev | 16:59 | |
*** natea has joined #zope3-dev | 16:59 | |
*** alecm has joined #zope3-dev | 17:00 | |
*** alecm has quit IRC | 17:01 | |
*** stu1 has quit IRC | 17:11 | |
*** dlk has joined #zope3-dev | 17:13 | |
ignas | how 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 IRC | 17:16 | |
*** dobee has joined #zope3-dev | 17:16 | |
*** jinty has quit IRC | 17:21 | |
*** Aiste has quit IRC | 17:21 | |
*** jinty_ has joined #zope3-dev | 17:21 | |
*** nathany_ has joined #zope3-dev | 17:21 | |
*** Aiste has joined #zope3-dev | 17:25 | |
*** kobold has left #zope3-dev | 17:30 | |
*** dlk has left #zope3-dev | 17:33 | |
*** opetznick has joined #zope3-dev | 17:39 | |
*** ignas has quit IRC | 17:41 | |
*** nathany has quit IRC | 17:47 | |
*** zagy has quit IRC | 17:51 | |
SteveA | Theuni: hi | 17:52 |
Theuni | :) | 17:52 |
matthewrevell | Theuni: Hi Christian, you emailed me in reply to my posting on the zope3-dev list | 17:55 |
SteveA | Theuni: I just pasted matthewrevell the chat we just had | 17:56 |
Theuni | alright. | 17:56 |
Theuni | matthewrevell: yup. | 17:56 |
matthewrevell | Theuni: I'm just about to write you an email, following the conversation I had with SteveA and James Henstridge earlier | 17:57 |
*** ChanServ sets mode: +o srichter | 17:57 | |
* Theuni sits around relaxed | 17:57 | |
*** jfroche has quit IRC | 18:01 | |
*** nathany_ has quit IRC | 18:04 | |
*** norro has joined #zope3-dev | 18:10 | |
*** opetznick has quit IRC | 18:22 | |
*** whit is now known as whit|collab | 18:22 | |
*** zagy has joined #zope3-dev | 18:23 | |
*** batlogg has joined #zope3-dev | 18:33 | |
*** jodok has quit IRC | 18:33 | |
*** jodok has joined #zope3-dev | 18:39 | |
*** batlogg has quit IRC | 18:39 | |
*** natea is now known as natea|phone | 18:41 | |
*** schwendinger has quit IRC | 18:51 | |
*** schwendinger has joined #zope3-dev | 18:51 | |
*** mkerrin has joined #zope3-dev | 18:58 | |
*** J1m has quit IRC | 19:01 | |
*** whit|collab is now known as whit | 19:02 | |
*** mkerrin has quit IRC | 19:06 | |
*** J1m has joined #zope3-dev | 19:06 | |
*** harobed has quit IRC | 19:17 | |
*** ksmith99 has joined #zope3-dev | 19:18 | |
*** jkakar has joined #zope3-dev | 19:19 | |
*** edgordon has quit IRC | 19:22 | |
*** jodok has quit IRC | 19:26 | |
*** jinty_ has quit IRC | 19:27 | |
*** J1m has quit IRC | 19:31 | |
*** matthewrevell has quit IRC | 19:41 | |
*** tonico has joined #zope3-dev | 19:44 | |
*** J1m has joined #zope3-dev | 19:49 | |
*** dobee has quit IRC | 19:49 | |
*** nathany has joined #zope3-dev | 19:51 | |
*** tonico is now known as tonico|away | 20:06 | |
*** RaFromBRC has joined #zope3-dev | 20:14 | |
*** dunny has joined #zope3-dev | 20:15 | |
*** alecm has joined #zope3-dev | 20:22 | |
*** srichter has quit IRC | 20:29 | |
*** oferw has joined #zope3-dev | 20:30 | |
*** edgordon has joined #zope3-dev | 20:33 | |
*** jodok has joined #zope3-dev | 20:36 | |
*** dunny has quit IRC | 20:42 | |
*** dunny has joined #zope3-dev | 20:43 | |
*** natea|phone is now known as natea | 20:44 | |
*** schwendinger has quit IRC | 20:47 | |
*** schwendinger has joined #zope3-dev | 20:59 | |
*** srichter has joined #zope3-dev | 21:01 | |
*** henri_ has joined #zope3-dev | 21:06 | |
*** schwendinger_ has joined #zope3-dev | 21:48 | |
*** jfroche has joined #zope3-dev | 21:51 | |
*** grahal has quit IRC | 21:53 | |
*** oferw_ has joined #zope3-dev | 21:55 | |
*** tarek has quit IRC | 21:55 | |
*** oferw has quit IRC | 21:57 | |
*** oferw_ is now known as oferw | 21:58 | |
*** oferw has quit IRC | 21:59 | |
*** BjornT_ has joined #zope3-dev | 22:03 | |
*** schwendinger has quit IRC | 22:05 | |
*** BjornT has quit IRC | 22:18 | |
*** schwendinger has joined #zope3-dev | 22:25 | |
*** BjornT_ has quit IRC | 22:42 | |
*** schwendinger_ has quit IRC | 22:42 | |
*** schwendinger has quit IRC | 22:54 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 22:57 | |
*** jkakar has quit IRC | 22:58 | |
*** mgedmin has quit IRC | 23:01 | |
*** edgordon has quit IRC | 23:08 | |
*** ofer has joined #zope3-dev | 23:10 | |
*** strichter has joined #zope3-dev | 23:12 | |
*** gumpa_ has joined #zope3-dev | 23:14 | |
*** srichter has quit IRC | 23:20 | |
*** edgordon has joined #zope3-dev | 23:25 | |
*** edgordon has quit IRC | 23:26 | |
*** jkakar has joined #zope3-dev | 23:28 | |
*** gumpa has quit IRC | 23:29 | |
*** henri_ has quit IRC | 23:32 | |
ofer | philiKON: here? | 23:33 |
*** strichter has quit IRC | 23:42 | |
ofer | https://translations.launchpad.net/zope/+translations | 23:42 |
ofer | is this the last updated file? | 23:43 |
*** harobed has joined #zope3-dev | 23:47 | |
*** ccomb has joined #zope3-dev | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!