IRC log of #zope3-dev for Friday, 2005-06-10

*** bradb is now known as bradb|away00:05
* dagnachew is back00:37
*** Aiste has quit IRC00:40
*** SureshZ has left #zope3-dev00:52
*** timte has quit IRC01:05
*** dagnachew has quit IRC01:19
*** J1m has quit IRC01:20
*** niemeyer has quit IRC02:04
*** jhauser has left #zope3-dev02:06
*** stub has joined #zope3-dev03:31
*** tvon has quit IRC03:44
*** SureshZ has joined #zope3-dev03:55
*** Army has joined #zope3-dev04:21
*** Army has quit IRC04:24
*** projekt01 has quit IRC04:52
*** yota has quit IRC05:14
*** MacYET has joined #zope3-dev05:24
*** bska|mobile has joined #zope3-dev05:40
*** bska|mobile has quit IRC06:14
*** MacYET has quit IRC06:28
*** whit537_ has joined #zope3-dev06:41
*** roym has quit IRC06:43
*** whit537 has quit IRC06:43
*** whit537_ is now known as whit53706:43
*** roym has joined #zope3-dev06:54
*** SureshZ has left #zope3-dev07:18
zagymoin08:06
*** __gotcha_ has joined #zope3-dev08:06
*** __gotcha has quit IRC08:14
*** elbixio has joined #zope3-dev09:11
*** elbixio has quit IRC09:11
*** hdima has joined #zope3-dev09:15
*** Theuni has quit IRC09:25
*** Theuni has joined #zope3-dev09:25
*** timte has joined #zope3-dev09:38
*** philiKON has quit IRC09:46
*** sashav has joined #zope3-dev09:51
*** guido_g has joined #zope3-dev10:03
*** yota has joined #zope3-dev10:12
*** tarek has joined #zope3-dev10:23
*** drzoltron has joined #zope3-dev11:01
drzoltronmorning11:01
*** __gotcha_ is now known as __gotcha11:02
drzoltrondid anyone here try to store references in a RDBMS via sqlos ?11:02
*** __gotcha has quit IRC11:06
*** __gotcha_ has joined #zope3-dev11:06
*** __gotcha_ is now known as __gotcha11:06
*** stub has quit IRC11:33
*** jhauser has joined #zope3-dev12:23
*** projekt01 has joined #zope3-dev12:24
*** roym has quit IRC12:45
*** guido_g has quit IRC12:45
*** guido_g has joined #zope3-dev12:45
*** roym has joined #zope3-dev12:45
*** J1m has joined #zope3-dev12:55
*** bska|mobile has joined #zope3-dev12:56
*** apoirier has joined #zope3-dev13:14
*** Aiste has joined #zope3-dev13:21
*** faassen has joined #zope3-dev13:25
*** philiKON has joined #zope3-dev13:26
*** drzoltron has quit IRC13:36
*** bska|mobile has quit IRC13:44
*** srichter has joined #zope3-dev14:08
*** ChanServ sets mode: +o srichter14:08
*** alga has joined #zope3-dev14:14
*** uwe has joined #zope3-dev14:14
*** bska|mobile has joined #zope3-dev14:16
*** uwe is now known as uweoe14:16
*** uweoe has left #zope3-dev14:19
*** regebro has joined #zope3-dev14:24
*** BjornT has quit IRC14:28
*** J1m has quit IRC14:53
*** Aiste has quit IRC14:55
*** alga has quit IRC15:00
*** SteveA has joined #zope3-dev15:03
*** SteveA_ has quit IRC15:11
*** Aiste has joined #zope3-dev15:22
*** bradb|away is now known as bradb15:59
*** jhauser has quit IRC16:02
*** J1m has joined #zope3-dev16:12
*** ignas_ has joined #zope3-dev16:19
*** jhauser has joined #zope3-dev16:26
*** SureshZ has joined #zope3-dev16:31
*** sashav has quit IRC16:36
*** ignas_ is now known as ignas16:38
*** Aiste has quit IRC16:49
*** hdima has quit IRC17:04
*** niemeyer has joined #zope3-dev17:04
*** guido_g has quit IRC17:24
philiKONsrichter, i just saw that ibm's icu locale data is now completely based on the official unicode common locale data repo (CLDR), http://www.cldr.info/. i wonder if we should update to the most recent version of the locale files. the XML format seems to be the same17:54
srichtermake sure it is17:54
philiKONmost recent version is at http://unicode.org/Public/cldr/1.3.0/17:54
srichterI think they changed the format after my recent refactoring17:55
philiKONrefactoring?17:55
srichterafter I updated the parser to the format we use now17:55
philiKONhow good are the tests for the parser etc.?17:57
srichteryou can activate the massive test that parses all locale files17:59
srichterthat is the ultimate test and should be run when we update the locale data18:00
srichterother than that the test coverage is okay18:00
philiKONsrichter, how do i run those_18:04
philiKONsrichter, how do i run those massive tests?18:05
srichtertest_xmlfactory.py18:08
srichterbut you have to run them on level 218:08
srichterwhatever this means18:08
srichterJim recently made this change18:08
philiKONok18:08
philiKONi'll try :)18:09
philiKONwhat is the procedure to get the new locale data in? J1m has to check'em in, right?18:09
srichterthis also makes sure that the datetime and number pattern parser works for all occuring patterns in the XML18:09
srichterphiliKON: no, you can do it; just be careful and check the license18:09
J1mIs this the ibm stuff?18:09
srichterif the license has changed, you need to update LICENSES.txt18:10
srichteryeah18:10
srichterbut it might not be IBM anymore18:10
philiKONJ1m, well, it's not ibm stuff anymore18:10
J1msrichter, I give you permission to check that in, if you wish18:10
philiKONJ1m, it's from unicode.org18:10
J1msigh18:10
srichterJ1m: ok18:10
philiKONhttp://www.unicode.org/cldr/18:10
srichterlet's have a look what license it is18:10
J1mis it the same stuff with a new owner?18:10
J1mor is it something new?18:11
philiKONsame stuff, new owner18:11
philiKONor, maybe it has always been the owner18:11
philiKONin any case, ibm's icu now contains those files18:11
philiKONso, it is what ibm uses now18:12
srichterno, the data deffinitely originates from IBM18:12
srichterIBM then started openi18n.org18:12
philiKONah, ok18:13
srichterand now it seems to have moved to unicode.org18:13
philiKONsrichter, J1m: license at http://paste.plone.org/223818:13
philiKONah, i see now, it's also at http://www.unicode.org/copyright.html18:14
srichterno that does not seem to be the same18:14
philiKONhttp://www.unicode.org/copyright.html#Exhibit118:14
philiKONfurther down the page18:14
srichteroh, it's exhibit 118:14
philiKONit's the agreement for all data files18:15
srichterno, not either18:15
philiKONto me that looks the same18:15
srichterno we just need to make sure that this is not a GPL-like license, but an LGPL or BSD style18:15
philiKONyup18:15
philiKONwell, this is definitely BSD style18:16
srichterok, so once you verified it works, I will check it in and do all the copyright stuff18:16
srichterwe should also let them know that we use this data; they might care to know and may keep us updated18:17
philiKONyup18:17
philiKONi'm verifying now18:17
J1msrichter, please do the right thing and then send me some email telling me what you did. :)18:20
philiKON:)18:20
srichteryep, I will :-)18:21
philiKONthe icu license doesn't look too much different from what the license is now18:21
*** faassen has quit IRC18:22
*** zagy has quit IRC18:22
srichterright, the ICU license was BSD-style as well18:25
srichterbut I have to make the right changes at the right places to the copyright notices18:25
philiKONyup18:26
philiKONa few modifications to xmlfactory are necessary. i'm making them now and they stay small, we can go ahead18:27
*** elbixio has joined #zope3-dev18:27
srichtercool18:30
philiKONbtw, i meant "and *if* they stay small, ..."18:33
philiKON:)18:33
srichterof course18:33
philiKONi think the issue runs deeper18:34
philiKONthan i thought18:34
philiKONwe should stick with the old data for now and take our time after the release18:34
srichterok18:38
philiKONwhat i will do, though, is add a marker for right-to-left18:39
philiKONthe data is already in the xml, the locale parser just doesn't read it yet18:39
srichterok18:39
srichtercool18:39
srichterbtw, updating the XML factory is not as a daunting task as it might seem at the beginning18:40
srichteryou just have to be methodical and do one tag at a time18:40
philiKONthat's what i figured as well18:41
srichterthe tests of the factory should help with it18:41
philiKONmaybe someday we can replace this with a system based on lxml or something18:41
srichtersure, I don't care18:41
srichteras long as it does not have to be me18:42
srichterI hate writing XML parsers18:42
philiKONthe elementtree api is pretty pythonic18:43
philiKONand that's what lxml exposes18:43
*** gsbain has joined #zope3-dev19:02
*** SureshZ has quit IRC19:18
*** Aiste has joined #zope3-dev19:20
*** povbot has joined #zope3-dev20:00
*** bskahan is now known as bska|lunch20:12
*** alga has joined #zope3-dev20:21
*** povbot has joined #zope3-dev21:11
*** MiUlEr has joined #zope3-dev21:17
nederhoedcan someone give me some pointers on how to resize an image to thumbnail format in a view?21:21
nederhoedi have a content component which contains one or more images, I would like to assign a view to wich display its fields and small versions of the images it contains21:23
gsbainnederhoed: http://www.pythonware.com/products/pil/21:26
nederhoedthanks21:32
nederhoedI did know of this lib, I am not yet sure how to use this in a component. but I'll give it a try21:33
srichteryou simply have a view: like: folder1/image.png/thumbnail.png21:36
srichterinstead of returning an HTML response, you simply return an image21:36
srichterall you have to do is write a view that has a __call__ that returns the data21:36
srichterthis is very similar to Zope 2 btw21:37
srichterI would also think that the photo package solved this already21:37
srichteryeah, the photo package seems to do all the right things21:41
philiKONnederhoed, there is a photo product21:44
philiKONsomewhere21:44
srichterhttp://svn.zope.org/photo/trunk/photo/21:44
philiKONnederhoed, http://svn.zope.org/photo/trunk/21:44
philiKON:)21:44
nederhoedmerci21:46
nederhoed(phone)21:46
*** SteveA_ has joined #zope3-dev21:53
*** SteveA has quit IRC22:09
*** SteveA_ is now known as SteveA22:09
*** apoirier has quit IRC22:10
nederhoedthanks philipp, it is what I'm looking for, I'm gonna experiment with it now!22:36
*** bradb is now known as bradb|brb23:00
*** MiUlEr has quit IRC23:07
*** mkerrin has joined #zope3-dev23:07
*** bradb|brb is now known as bradb23:19
*** bskahan has quit IRC23:34
*** mkerrin has quit IRC23:42
*** bskahan has joined #zope3-dev23:55

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