*** bradb is now known as bradb|away | 00:05 | |
* dagnachew is back | 00:37 | |
*** Aiste has quit IRC | 00:40 | |
*** SureshZ has left #zope3-dev | 00:52 | |
*** timte has quit IRC | 01:05 | |
*** dagnachew has quit IRC | 01:19 | |
*** J1m has quit IRC | 01:20 | |
*** niemeyer has quit IRC | 02:04 | |
*** jhauser has left #zope3-dev | 02:06 | |
*** stub has joined #zope3-dev | 03:31 | |
*** tvon has quit IRC | 03:44 | |
*** SureshZ has joined #zope3-dev | 03:55 | |
*** Army has joined #zope3-dev | 04:21 | |
*** Army has quit IRC | 04:24 | |
*** projekt01 has quit IRC | 04:52 | |
*** yota has quit IRC | 05:14 | |
*** MacYET has joined #zope3-dev | 05:24 | |
*** bska|mobile has joined #zope3-dev | 05:40 | |
*** bska|mobile has quit IRC | 06:14 | |
*** MacYET has quit IRC | 06:28 | |
*** whit537_ has joined #zope3-dev | 06:41 | |
*** roym has quit IRC | 06:43 | |
*** whit537 has quit IRC | 06:43 | |
*** whit537_ is now known as whit537 | 06:43 | |
*** roym has joined #zope3-dev | 06:54 | |
*** SureshZ has left #zope3-dev | 07:18 | |
zagy | moin | 08:06 |
---|---|---|
*** __gotcha_ has joined #zope3-dev | 08:06 | |
*** __gotcha has quit IRC | 08:14 | |
*** elbixio has joined #zope3-dev | 09:11 | |
*** elbixio has quit IRC | 09:11 | |
*** hdima has joined #zope3-dev | 09:15 | |
*** Theuni has quit IRC | 09:25 | |
*** Theuni has joined #zope3-dev | 09:25 | |
*** timte has joined #zope3-dev | 09:38 | |
*** philiKON has quit IRC | 09:46 | |
*** sashav has joined #zope3-dev | 09:51 | |
*** guido_g has joined #zope3-dev | 10:03 | |
*** yota has joined #zope3-dev | 10:12 | |
*** tarek has joined #zope3-dev | 10:23 | |
*** drzoltron has joined #zope3-dev | 11:01 | |
drzoltron | morning | 11:01 |
*** __gotcha_ is now known as __gotcha | 11:02 | |
drzoltron | did anyone here try to store references in a RDBMS via sqlos ? | 11:02 |
*** __gotcha has quit IRC | 11:06 | |
*** __gotcha_ has joined #zope3-dev | 11:06 | |
*** __gotcha_ is now known as __gotcha | 11:06 | |
*** stub has quit IRC | 11:33 | |
*** jhauser has joined #zope3-dev | 12:23 | |
*** projekt01 has joined #zope3-dev | 12:24 | |
*** roym has quit IRC | 12:45 | |
*** guido_g has quit IRC | 12:45 | |
*** guido_g has joined #zope3-dev | 12:45 | |
*** roym has joined #zope3-dev | 12:45 | |
*** J1m has joined #zope3-dev | 12:55 | |
*** bska|mobile has joined #zope3-dev | 12:56 | |
*** apoirier has joined #zope3-dev | 13:14 | |
*** Aiste has joined #zope3-dev | 13:21 | |
*** faassen has joined #zope3-dev | 13:25 | |
*** philiKON has joined #zope3-dev | 13:26 | |
*** drzoltron has quit IRC | 13:36 | |
*** bska|mobile has quit IRC | 13:44 | |
*** srichter has joined #zope3-dev | 14:08 | |
*** ChanServ sets mode: +o srichter | 14:08 | |
*** alga has joined #zope3-dev | 14:14 | |
*** uwe has joined #zope3-dev | 14:14 | |
*** bska|mobile has joined #zope3-dev | 14:16 | |
*** uwe is now known as uweoe | 14:16 | |
*** uweoe has left #zope3-dev | 14:19 | |
*** regebro has joined #zope3-dev | 14:24 | |
*** BjornT has quit IRC | 14:28 | |
*** J1m has quit IRC | 14:53 | |
*** Aiste has quit IRC | 14:55 | |
*** alga has quit IRC | 15:00 | |
*** SteveA has joined #zope3-dev | 15:03 | |
*** SteveA_ has quit IRC | 15:11 | |
*** Aiste has joined #zope3-dev | 15:22 | |
*** bradb|away is now known as bradb | 15:59 | |
*** jhauser has quit IRC | 16:02 | |
*** J1m has joined #zope3-dev | 16:12 | |
*** ignas_ has joined #zope3-dev | 16:19 | |
*** jhauser has joined #zope3-dev | 16:26 | |
*** SureshZ has joined #zope3-dev | 16:31 | |
*** sashav has quit IRC | 16:36 | |
*** ignas_ is now known as ignas | 16:38 | |
*** Aiste has quit IRC | 16:49 | |
*** hdima has quit IRC | 17:04 | |
*** niemeyer has joined #zope3-dev | 17:04 | |
*** guido_g has quit IRC | 17:24 | |
philiKON | srichter, 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 same | 17:54 |
srichter | make sure it is | 17:54 |
philiKON | most recent version is at http://unicode.org/Public/cldr/1.3.0/ | 17:54 |
srichter | I think they changed the format after my recent refactoring | 17:55 |
philiKON | refactoring? | 17:55 |
srichter | after I updated the parser to the format we use now | 17:55 |
philiKON | how good are the tests for the parser etc.? | 17:57 |
srichter | you can activate the massive test that parses all locale files | 17:59 |
srichter | that is the ultimate test and should be run when we update the locale data | 18:00 |
srichter | other than that the test coverage is okay | 18:00 |
philiKON | srichter, how do i run those_ | 18:04 |
philiKON | srichter, how do i run those massive tests? | 18:05 |
srichter | test_xmlfactory.py | 18:08 |
srichter | but you have to run them on level 2 | 18:08 |
srichter | whatever this means | 18:08 |
srichter | Jim recently made this change | 18:08 |
philiKON | ok | 18:08 |
philiKON | i'll try :) | 18:09 |
philiKON | what is the procedure to get the new locale data in? J1m has to check'em in, right? | 18:09 |
srichter | this also makes sure that the datetime and number pattern parser works for all occuring patterns in the XML | 18:09 |
srichter | philiKON: no, you can do it; just be careful and check the license | 18:09 |
J1m | Is this the ibm stuff? | 18:09 |
srichter | if the license has changed, you need to update LICENSES.txt | 18:10 |
srichter | yeah | 18:10 |
srichter | but it might not be IBM anymore | 18:10 |
philiKON | J1m, well, it's not ibm stuff anymore | 18:10 |
J1m | srichter, I give you permission to check that in, if you wish | 18:10 |
philiKON | J1m, it's from unicode.org | 18:10 |
J1m | sigh | 18:10 |
srichter | J1m: ok | 18:10 |
philiKON | http://www.unicode.org/cldr/ | 18:10 |
srichter | let's have a look what license it is | 18:10 |
J1m | is it the same stuff with a new owner? | 18:10 |
J1m | or is it something new? | 18:11 |
philiKON | same stuff, new owner | 18:11 |
philiKON | or, maybe it has always been the owner | 18:11 |
philiKON | in any case, ibm's icu now contains those files | 18:11 |
philiKON | so, it is what ibm uses now | 18:12 |
srichter | no, the data deffinitely originates from IBM | 18:12 |
srichter | IBM then started openi18n.org | 18:12 |
philiKON | ah, ok | 18:13 |
srichter | and now it seems to have moved to unicode.org | 18:13 |
philiKON | srichter, J1m: license at http://paste.plone.org/2238 | 18:13 |
philiKON | ah, i see now, it's also at http://www.unicode.org/copyright.html | 18:14 |
srichter | no that does not seem to be the same | 18:14 |
philiKON | http://www.unicode.org/copyright.html#Exhibit1 | 18:14 |
philiKON | further down the page | 18:14 |
srichter | oh, it's exhibit 1 | 18:14 |
philiKON | it's the agreement for all data files | 18:15 |
srichter | no, not either | 18:15 |
philiKON | to me that looks the same | 18:15 |
srichter | no we just need to make sure that this is not a GPL-like license, but an LGPL or BSD style | 18:15 |
philiKON | yup | 18:15 |
philiKON | well, this is definitely BSD style | 18:16 |
srichter | ok, so once you verified it works, I will check it in and do all the copyright stuff | 18:16 |
srichter | we should also let them know that we use this data; they might care to know and may keep us updated | 18:17 |
philiKON | yup | 18:17 |
philiKON | i'm verifying now | 18:17 |
J1m | srichter, please do the right thing and then send me some email telling me what you did. :) | 18:20 |
philiKON | :) | 18:20 |
srichter | yep, I will :-) | 18:21 |
philiKON | the icu license doesn't look too much different from what the license is now | 18:21 |
*** faassen has quit IRC | 18:22 | |
*** zagy has quit IRC | 18:22 | |
srichter | right, the ICU license was BSD-style as well | 18:25 |
srichter | but I have to make the right changes at the right places to the copyright notices | 18:25 |
philiKON | yup | 18:26 |
philiKON | a few modifications to xmlfactory are necessary. i'm making them now and they stay small, we can go ahead | 18:27 |
*** elbixio has joined #zope3-dev | 18:27 | |
srichter | cool | 18:30 |
philiKON | btw, i meant "and *if* they stay small, ..." | 18:33 |
philiKON | :) | 18:33 |
srichter | of course | 18:33 |
philiKON | i think the issue runs deeper | 18:34 |
philiKON | than i thought | 18:34 |
philiKON | we should stick with the old data for now and take our time after the release | 18:34 |
srichter | ok | 18:38 |
philiKON | what i will do, though, is add a marker for right-to-left | 18:39 |
philiKON | the data is already in the xml, the locale parser just doesn't read it yet | 18:39 |
srichter | ok | 18:39 |
srichter | cool | 18:39 |
srichter | btw, updating the XML factory is not as a daunting task as it might seem at the beginning | 18:40 |
srichter | you just have to be methodical and do one tag at a time | 18:40 |
philiKON | that's what i figured as well | 18:41 |
srichter | the tests of the factory should help with it | 18:41 |
philiKON | maybe someday we can replace this with a system based on lxml or something | 18:41 |
srichter | sure, I don't care | 18:41 |
srichter | as long as it does not have to be me | 18:42 |
srichter | I hate writing XML parsers | 18:42 |
philiKON | the elementtree api is pretty pythonic | 18:43 |
philiKON | and that's what lxml exposes | 18:43 |
*** gsbain has joined #zope3-dev | 19:02 | |
*** SureshZ has quit IRC | 19:18 | |
*** Aiste has joined #zope3-dev | 19:20 | |
*** povbot has joined #zope3-dev | 20:00 | |
*** bskahan is now known as bska|lunch | 20:12 | |
*** alga has joined #zope3-dev | 20:21 | |
*** povbot has joined #zope3-dev | 21:11 | |
*** MiUlEr has joined #zope3-dev | 21:17 | |
nederhoed | can someone give me some pointers on how to resize an image to thumbnail format in a view? | 21:21 |
nederhoed | i 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 contains | 21:23 |
gsbain | nederhoed: http://www.pythonware.com/products/pil/ | 21:26 |
nederhoed | thanks | 21:32 |
nederhoed | I did know of this lib, I am not yet sure how to use this in a component. but I'll give it a try | 21:33 |
srichter | you simply have a view: like: folder1/image.png/thumbnail.png | 21:36 |
srichter | instead of returning an HTML response, you simply return an image | 21:36 |
srichter | all you have to do is write a view that has a __call__ that returns the data | 21:36 |
srichter | this is very similar to Zope 2 btw | 21:37 |
srichter | I would also think that the photo package solved this already | 21:37 |
srichter | yeah, the photo package seems to do all the right things | 21:41 |
philiKON | nederhoed, there is a photo product | 21:44 |
philiKON | somewhere | 21:44 |
srichter | http://svn.zope.org/photo/trunk/photo/ | 21:44 |
philiKON | nederhoed, http://svn.zope.org/photo/trunk/ | 21:44 |
philiKON | :) | 21:44 |
nederhoed | merci | 21:46 |
nederhoed | (phone) | 21:46 |
*** SteveA_ has joined #zope3-dev | 21:53 | |
*** SteveA has quit IRC | 22:09 | |
*** SteveA_ is now known as SteveA | 22:09 | |
*** apoirier has quit IRC | 22:10 | |
nederhoed | thanks philipp, it is what I'm looking for, I'm gonna experiment with it now! | 22:36 |
*** bradb is now known as bradb|brb | 23:00 | |
*** MiUlEr has quit IRC | 23:07 | |
*** mkerrin has joined #zope3-dev | 23:07 | |
*** bradb|brb is now known as bradb | 23:19 | |
*** bskahan has quit IRC | 23:34 | |
*** mkerrin has quit IRC | 23:42 | |
*** bskahan has joined #zope3-dev | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!