IRC log of #zope3-dev for Wednesday, 2005-11-16

*** palmTree has quit IRC00:06
*** hazmat has left #zope3-dev00:42
*** srichter has joined #zope3-dev00:46
*** ChanServ sets mode: +o srichter00:46
*** sashav has quit IRC00:51
*** zbir has quit IRC00:59
*** mp has joined #zope3-dev00:59
*** jhauser has quit IRC01:24
*** bradb has left #zope3-dev01:28
*** j1m has quit IRC01:35
*** benji has left #zope3-dev01:41
*** zbir has joined #zope3-dev02:50
*** JoaoJoao has quit IRC02:54
*** JoaoJoao has joined #zope3-dev03:06
JoaoJoaohi again03:06
JoaoJoaoSeems to be easy: I added a new field to one of my interfaces, but it's not showing up in the add/edit forms (though they show in the API docs)03:07
*** newpers has joined #zope3-dev03:18
*** sashav has joined #zope3-dev03:55
*** horizon5 has quit IRC04:00
srichterJoaoJoao: do you have a "fields" attribute in the addform directive?04:06
JoaoJoaoAhhhhhh I knew I was missing something :) thanks04:18
*** niemeyer has quit IRC04:28
*** yota has quit IRC05:03
*** sashav_ has joined #zope3-dev05:19
*** sashav has quit IRC05:19
*** sashav_ is now known as sashav05:19
*** JoaoJoao has quit IRC06:26
*** mdudzik has quit IRC07:26
newperssorry if this question gets asked a lot.  does zope3 support ajax communication.  all i would need is a form button and input text to set and get info from the zodb.07:35
newperssorry for the lack of question marks as well.  :P07:35
newpersobviously w/o refreshing07:36
newpersthere's more to it, but that's the dumbed down version07:40
*** zbir has quit IRC07:58
*** mp has quit IRC07:58
*** Theuni has quit IRC07:58
*** SteveA has quit IRC07:58
*** d2m has quit IRC07:58
*** dhuang_ has quit IRC07:58
*** vinsci has quit IRC07:58
*** jack-e has quit IRC07:58
*** tiredbones has quit IRC07:58
*** bob2 has quit IRC07:58
*** newpers_ has joined #zope3-dev08:00
*** newpers has left #zope3-dev08:00
*** zbir has joined #zope3-dev08:00
*** mp has joined #zope3-dev08:00
*** Theuni has joined #zope3-dev08:00
*** SteveA has joined #zope3-dev08:00
*** d2m has joined #zope3-dev08:00
*** tiredbones has joined #zope3-dev08:00
*** dhuang_ has joined #zope3-dev08:00
*** vinsci has joined #zope3-dev08:00
*** bob2 has joined #zope3-dev08:00
*** jack-e has joined #zope3-dev08:00
*** d2m has quit IRC08:02
*** stub has joined #zope3-dev08:13
*** zagy_ has quit IRC08:32
*** zagy_ has joined #zope3-dev08:35
*** d2m has joined #zope3-dev08:44
*** Theuni has quit IRC08:46
*** stub has quit IRC09:00
*** sashav has quit IRC09:05
*** sashav has joined #zope3-dev09:07
*** sashav has quit IRC09:07
*** dobee has joined #zope3-dev09:15
*** dobee has quit IRC09:31
*** hdima has joined #zope3-dev09:40
*** dobee has joined #zope3-dev09:53
*** sashav has joined #zope3-dev10:11
*** MJ has quit IRC10:41
*** yota has joined #zope3-dev11:23
*** jinty has joined #zope3-dev11:39
*** zagy_ is now known as zagy11:40
*** jinty has quit IRC11:49
*** faassen has joined #zope3-dev11:50
*** MJ has joined #zope3-dev11:53
*** stub has joined #zope3-dev11:55
*** Aiste has joined #zope3-dev11:58
*** jhauser has joined #zope3-dev12:01
*** mgedmin has joined #zope3-dev12:04
*** vlado has joined #zope3-dev12:22
*** Aiste has quit IRC12:39
*** Aiste has joined #zope3-dev13:06
*** niemeyer has joined #zope3-dev13:06
*** alga has joined #zope3-dev13:06
*** Aiste has quit IRC13:19
*** faassen has quit IRC13:19
*** andres has joined #zope3-dev13:27
*** Aiste has joined #zope3-dev13:28
*** mgedmin has quit IRC13:37
*** mkerrin has joined #zope3-dev13:38
*** _anguenot has joined #zope3-dev13:40
*** MrTopf has joined #zope3-dev13:40
*** BjornT has quit IRC13:58
*** ignas has joined #zope3-dev14:04
*** gnilo has joined #zope3-dev14:27
gnilohi14:27
*** romanofski has joined #zope3-dev14:34
romanofskimoin14:34
srichterhi14:35
romanofskiI'm currently struggling by trying to customize a container view - the ZCML 'containerViews' directive doesn't provide something like a template attribute and if I use a <page /> directive 'Contents' shows up additionally to my customize 'Contents' page...14:40
srichteryou have to do that manually14:40
srichtercontainerViews is merely a shortcut to get soemthing going quickly14:41
romanofskiah okey14:41
romanofskiI first thought, that I *have to* provide a "containerViews" directive14:42
srichterno14:43
romanofskiit works, if I define a 'page' with a 'contents.html' name and a 'Contents' title, but not if I use a different title, 'Contents' shows up again - this confuses me and I'm not sure what I'm missing here14:46
romanofskiadditionally, I removed my 'contentsView' ...14:46
srichtermmh, strange14:47
srichterah, I know14:47
srichterdid you inherit your container from Folder?14:47
* romanofski checks14:47
romanofskiyes14:47
srichter(if so, don't do that; use BTreeContainer as base class)14:47
srichterbecause the containerViews are defined for IFolder14:47
romanofskiaaaaha... good to know that :)14:48
romanofskithat helps a lot - thank you srichter :)14:48
* romanofski needs to write that down to avoid similar mistakes in the future14:49
*** zbir has quit IRC15:11
*** dobee has quit IRC15:32
*** BjornT has joined #zope3-dev15:32
*** philiKON has joined #zope3-dev15:36
*** jvts has joined #zope3-dev15:57
*** zbir has joined #zope3-dev15:58
*** jvts has quit IRC16:01
*** benji has joined #zope3-dev16:02
*** JoaoJoao has joined #zope3-dev16:56
JoaoJoaogood afternoon16:57
*** jinty has joined #zope3-dev17:04
JoaoJoaowill Z3.2 include a widget for the Datetime field?17:06
*** efge has joined #zope3-dev17:08
*** hdima has quit IRC17:14
benjiJoaoJoao, it has *a* widget, but not a particularly fancy one17:15
JoaoJoaobenji: Sorry, I meant a proper widget17:16
benjiit's too late to get anything else into 3.2, but I have a nice datetime widget we could put into 3.317:16
JoaoJoaobenji: Is it possible to have the widget in a separate package so I could use it in my apps?17:18
*** sashav has quit IRC17:19
JoaoJoaobenji: I'm trying to build a tutorial split in lessons (creating a package, creating a custom type, using events)17:20
benjiJoaoJoao, the current code needs quite a bit of work; I doubt it'd help you much :/17:24
JoaoJoaobenji: I was a little disappointed when I realized there wasn't a datetime widget for Z317:27
*** mkerrin has quit IRC17:32
JoaoJoaobenji: I like the Z3 architecture a lot, however sometimes it is made hard by the lack of available recipes17:35
benjiJoaoJoao, yep, such is life :)17:36
JoaoJoaobenji: e.g. I'm still asking myself how the !@!(# can I do cataloging in Z317:38
JoaoJoaoI have even tried RoR a little bit, but... I'm not convinced it's so good after all17:40
*** mkerrin has joined #zope3-dev17:43
*** j1m has joined #zope3-dev18:12
j1msrichter, ayt?18:12
*** BjornT_ has joined #zope3-dev18:14
*** BjornT has quit IRC18:15
*** philiKON has quit IRC18:23
*** MrTopf has quit IRC18:24
*** efrerich has joined #zope3-dev18:30
srichterj1m: yeah18:33
j1mhey18:34
srichterso what's up?18:34
j1mWe're pulling our hair out trying to figure out how to sort lists of strings correctly. :)18:34
j1mSpecifically, correctly for a locale.18:34
JoaoJoaoL.sort :P just kidding18:34
*** sashav has joined #zope3-dev18:35
srichterj1m: aehm, huh? :-)18:35
j1mThis seems to be a fairly significant hole in out i18n story.18:35
j1mLocale-specific ordering often doesn't agree with unicode ordering.18:35
j1mfor example, sorting unicode gets Danish wrong.18:36
j1mThe Python locale module has an API for this, but it's not thread safe.18:37
j1mAnd has other issues.18:37
*** mp has quit IRC18:37
j1mSteveA, do y'all care about this?18:37
j1msrichter, I was curious why you decide to reimplement rather than wrap part of ICU?18:38
j1mdecided18:38
* j1m wonders what srichter is thinking...18:40
SteveAj1m: not particularly.  my strings are either unicode and mixed language (mostly english), or sorted by other means (objects have a strict ascii name as well as a unicode title)18:41
SteveAi don't have strings from a single locale that need to be sorted according to that locale18:41
j1mSteveA, so you never present lists of sorted choices to non-english speakers?18:41
SteveAi don't think rosetta has any use-cases for that either, as that all goes by message id18:41
j1mOh my god, you present lists of choices to users based on message id ordering?18:42
SteveAany choices would be in some other logical order.  like low -> medium -> high.  It is a pain when these get sorted by their text ;-)18:42
SteveAfor translating them, of course18:42
SteveApeople like to work through the pofile, and often the original ordering is significant, grouped by related area in ways we can't algorithmically tell18:43
SteveAbut in any case, the source language is always english18:43
SteveAso, if we don't have a translation into something else, then sorting would be in english anyway18:43
j1mwow18:43
SteveAthe only case i can think of right now where this would be useful is in presenting a list of countries as destinations for shipit18:44
SteveAbecause each locale has its own names for the countries of the world, often sorting differently18:45
SteveAbut we're a long way from offering shipit in multiple languages.  mainly because the shipping company only copes with a limited subset of ascii18:45
*** yutakashino has joined #zope3-dev18:45
SteveAso we can't send things to china using chinese characters, even though the application could easily accept it18:46
SteveA(shipit is the application that allows you to order ubuntu CDs)18:46
SteveAi can't think of all that many places where i want to sort things alphabetically, even in english18:46
SteveA - countries of the world18:47
benjia further compication is the difference between lexicographic order and alphanumeric order18:47
SteveA - people's names / email addresses.  (locale-specific doesn't help a lot here when you have people from all over the world.  although i'll accept it can help a marginal amount.)18:47
JoaoJoaoHow can I do cataloging in Z3?18:48
SteveA - arbitrary tags / user-defined tags on content18:49
SteveA - operating system package names: constrained to ascii anyway18:49
efgej1m: sorting by locale is definitely useful in general, notwithstanding what SteveA's use cases are18:50
j1mWell, in Zope, add lists is a common example of why you need this.18:50
*** sashav has quit IRC18:50
j1mI need to go to a meeting.... later18:51
SteveAsure.  in that case, as in many others, all you have is words, and all the words are in the same language18:51
SteveAi guess i just don't have any of those use-cases.18:51
SteveAi bet efge has them though18:51
efgeSteveA: well those you mentionned, countries, people's names, user tags, are already quite important yes18:52
efgeoften I also want to sort documents according to their title18:53
SteveAwhen they are all from one language18:54
SteveAor compatible languages18:54
SteveAhaving a mixture of chinese, arabic, english and amharic docs is tough18:54
*** sashav has joined #zope3-dev18:57
*** jinty has quit IRC18:59
srichterj1m: sorry, I just got a phone call; I am back18:59
*** romanofski has quit IRC18:59
srichterj1m: the reason I reimplemented the ICU code was because the Python code was very alpha19:00
srichterand the C/C++ API seemed extremly low-level19:01
srichterand covered much more than I was willing to deal with19:01
srichteradn we really did not want to use all of ICU anyways19:01
*** sashav has quit IRC19:12
*** jukart has joined #zope3-dev19:12
*** mp has joined #zope3-dev19:13
*** Aiste has quit IRC19:17
*** deo has joined #zope3-dev19:25
*** MJ has quit IRC19:26
j1mback19:34
srichterok, I am here too19:34
j1mso icu has a python binding already?19:35
j1mHas it matured any?19:35
srichterI have no clue19:35
j1mk19:35
srichterI have not looked at it since a loing time19:35
srichterI thinkt he Python guys were working on it not as part of the project19:36
j1mMartin von Lowis threadened to do an ICU binding, maybe just for sorting, in 2002, but I tkink he may have dropped it.19:36
j1mwhat python guys19:36
j1m?19:37
srichteryeah, right, it was Martin19:37
srichterI think they had some code back then too19:37
srichteror I could not find anything? Ireally can't remember19:38
j1mhttp://cvs.sourceforge.net/viewcvs.py/python-codecs/picu/19:40
j1mHm, the README claims it covers the collation apis.19:41
j1m(I hadn't noticed that when I looked yesterday.)19:41
srichteryep, that seems to be the only thing though19:42
j1mYeah, but that's all I need atm. :)19:44
srichterok19:44
*** sashav has joined #zope3-dev19:47
srichterI really hope you are going to enhance zope.i18n19:48
j1muh19:49
j1mI really hope you are going to enhance zope.i18n19:49
srichterwell, you are working on collate right now ;-)19:49
j1mI'm thinking of working on collate right now. :)19:50
srichtercool :-)19:52
j1mThis doesn't look very promising19:52
srichterthe code on the CVS. you mean?19:53
*** vlado has quit IRC19:54
*** mgedmin has joined #zope3-dev20:05
j1mis anyone interested in doing a Z3 tutorial at PyCon this February?20:05
srichterj1m: does it pay for the airfare?20:05
*** Aiste has joined #zope3-dev20:05
*** Aiste has quit IRC20:05
*** mp has quit IRC20:06
j1mApparently, there have been a lot of requests for a Zope tutorial of some sort.20:06
j1msrichter, I suspect they would.20:06
srichterj1m: of my traveling costs are covered, I'll do it20:06
j1mk, I'll put you in touch.20:07
srichterthanks20:07
newpers_where is it?20:14
*** palmTree has joined #zope3-dev20:22
*** mgedmin has left #zope3-dev20:23
j1mhttp://us.pycon.org/TX2006/CallForTutorials20:25
*** yutakashino has left #zope3-dev20:26
*** stub has quit IRC20:35
*** benji has quit IRC20:58
*** _anguenot has quit IRC21:01
*** palmTree_ has joined #zope3-dev21:07
*** MacYET has joined #zope3-dev21:18
*** efrerich has quit IRC21:19
*** palmTree has quit IRC21:25
tiredbonesjlm, have you accepted to do a tutorial on zope?21:43
*** palmTree_ has quit IRC21:43
tiredbonesj1m, have you accepted to do a tutorial on zope?21:44
j1mwho are you?21:49
j1mI suggested that srichter would do one.21:50
*** mdudzik has joined #zope3-dev21:50
*** deo has quit IRC21:51
*** MacYET has quit IRC22:05
*** MJ has joined #zope3-dev22:07
JoaoJoaoMJ: Are u playing with Z3 catalogs?22:11
MJNope, not at the moment22:11
JoaoJoaoWell I'm looking for someone who can tell me how to do catalog in Z322:12
*** ignas has quit IRC22:14
*** JoaoJoao has quit IRC22:14
*** jukart has left #zope3-dev22:14
*** mkerrin has quit IRC22:15
*** lunatik has joined #zope3-dev22:17
*** lunatik has left #zope3-dev22:18
*** efge has quit IRC22:31
*** zbir has quit IRC22:38
*** zbir has joined #zope3-dev22:46
*** benji has joined #zope3-dev23:00
*** natea is now known as natea|away23:08
*** jhauser has quit IRC23:53

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