IRC log of #zope3-dev for Tuesday, 2006-08-15

*** kobold has left #zope3-dev00:01
*** RaFromBRC is now known as RaFromBRC|lunch00:04
*** dobee has quit IRC00:09
*** mexiKON has joined #zope3-dev00:10
*** yota has quit IRC00:19
*** ofer has joined #zope3-dev00:20
*** yota has joined #zope3-dev00:22
*** zbir has joined #zope3-dev00:24
*** gumpa has left #zope3-dev00:26
*** philiKON has quit IRC00:29
*** benji has quit IRC00:39
*** mexiKON is now known as philikON00:47
*** philikON is now known as philiKON00:47
*** ofer has quit IRC00:51
*** RaFromBRC|lunch is now known as RaFromBRC00:52
*** dobee has joined #zope3-dev01:03
*** srichter has quit IRC01:03
*** povbot` has joined #zope3-dev01:07
*** _projekt01 has joined #zope3-dev01:07
*** nouri_ has joined #zope3-dev01:09
*** dokai_ has joined #zope3-dev01:10
*** dobee has quit IRC01:10
*** zbir has quit IRC01:10
*** vlado has quit IRC01:10
*** xenru has quit IRC01:10
*** dunny has quit IRC01:10
*** projekt01 has quit IRC01:10
*** nouri has quit IRC01:10
*** dobee has joined #zope3-dev01:11
*** zbir has joined #zope3-dev01:11
*** vlado has joined #zope3-dev01:11
*** xenru has joined #zope3-dev01:11
*** dunny has joined #zope3-dev01:11
*** projekt01 has joined #zope3-dev01:11
*** dokai has quit IRC01:11
*** xenru|clone has joined #zope3-dev01:13
*** xenru has quit IRC01:14
*** vlado has quit IRC01:16
*** projekt01 has quit IRC01:16
*** dobee has quit IRC01:21
*** povbot has quit IRC01:22
*** vlado_ has quit IRC01:31
*** Bernulf has quit IRC01:32
*** srichter has joined #zope3-dev01:41
*** ChanServ sets mode: +o srichter01:42
*** philiKON has quit IRC01:45
*** harobed has quit IRC01:47
*** J1m has quit IRC02:15
*** bradb has quit IRC02:23
*** niemeyer has quit IRC02:30
*** niemeyer has joined #zope3-dev02:30
*** volvox has quit IRC02:45
*** yota has quit IRC03:09
*** hazmat has joined #zope3-dev03:20
*** ChanServ sets mode: +o hazmat03:20
*** wrobel has quit IRC03:29
*** _projekt01 has quit IRC03:30
*** _projekt01 has joined #zope3-dev03:31
*** niemeyer has quit IRC03:31
*** wrobel has joined #zope3-dev03:32
*** _projekt01 has quit IRC03:42
*** projekt01 has joined #zope3-dev03:42
*** projekt01 has quit IRC03:46
*** hazmat has quit IRC04:30
*** RaFromBR1 has joined #zope3-dev05:23
*** RaFromBRC has quit IRC05:25
*** RaFromBR1 is now known as RaFromBRC05:25
*** RaFromBRC has quit IRC05:35
*** RaFromBRC has joined #zope3-dev05:40
*** alecm has quit IRC05:45
*** RaFromBRC has quit IRC05:49
*** RaFromBRC has joined #zope3-dev05:50
*** srichter has quit IRC06:30
*** alecm has joined #zope3-dev06:44
*** stub has joined #zope3-dev06:59
*** RaFromBRC has quit IRC07:09
*** alecm has quit IRC07:50
SmokeyDhey, when you submit a form, is a new instance created of the form class?08:31
SmokeyDor is the instance of the form class used which was created when you first requested the form?08:34
*** romanofski has joined #zope3-dev09:17
*** MiUlEr has quit IRC09:18
*** philiKON has joined #zope3-dev09:25
*** jukart has joined #zope3-dev09:33
*** hdima has joined #zope3-dev09:37
SmokeyDphiliKON, when I submit a form, is a new instance created of the form class or is the instance used that was created with the first request for the form?09:38
philiKONviews are always recreated09:38
SmokeyDIt looks like the latter09:38
philiKONalways09:38
philiKONthey're adapters09:38
philiKONevery time you adapt, you create09:38
SmokeyDok, so you create a new instance09:39
SmokeyDevery time09:39
philiKONyup09:39
SmokeyDwouldn't it be easier with forms to reuse the same instance09:39
philiKONhttp has no state. how would you keep the instance?09:39
SmokeyDthat way you could save data in the instance, instead of passing it as a hidden for field09:39
SmokeyDyeah that's true09:39
SmokeyDthroug a session?09:40
SmokeyDI don't know if zope has anything like sessions like in PHP\09:40
philiKONsure it does09:40
philiKONsessions aren't PHP's idea09:40
philiKONstill, too much overhead09:41
philiKONTheuni, ping09:41
SmokeyDhmm, ok, but now I have to create hidden form fields for the temp[orary data that I want to keep09:41
philiKONso?09:41
SmokeyDwell, I need to get data in order to render the form. But the data to retrieve depends on some state variable. Now I have to pass that varialbe in the form, which means I have to first execute the for action, then retrieve the data,m and then render the form09:42
SmokeyDwhich is changing the whole order forms are normally executed09:43
philiKONi don't understand, but that's because my mind is currently on other thigns... sorry09:43
SmokeyDnormally you first create the form fields, but before creating the I need data from an sql database, which depends again on that state variable, so I need to process the submitted data before I can create my form fields09:44
SmokeyDsince the state variable might be passed as a hidden field by the form09:45
SmokeyDor I could first create the form fields with default data, then process the submitted data, and if the state variable was passed in the form, recreate the form fields with new data09:47
SmokeyD"  but that's because my mind is currently on other thigns... sorry" <didn't read that part, sorry09:49
SmokeyD:)09:49
*** dobee has joined #zope3-dev10:00
*** srichter has joined #zope3-dev10:24
*** ChanServ sets mode: +o srichter10:30
*** philiKON has quit IRC10:37
*** batlogg has joined #zope3-dev10:40
*** kobold has joined #zope3-dev10:44
*** zagy has joined #zope3-dev11:02
*** ktwilight has quit IRC11:15
*** philiKON has joined #zope3-dev11:17
*** ktwilight has joined #zope3-dev11:17
*** ktwilight has quit IRC11:41
*** volvox has joined #zope3-dev11:43
*** romanofski has quit IRC11:44
*** romanofski has joined #zope3-dev11:44
*** zagy_ has joined #zope3-dev11:59
*** zagy has quit IRC12:12
*** kobold has left #zope3-dev12:18
*** mkerrin has joined #zope3-dev12:22
SmokeyDhey, question. I'm going to use the zope sessions. But about the overhead, where is the overhead heaviest, on the creation and maintaining of the session, or the storing and retrieving of an individual variable?12:26
SmokeyDIn other words, once I use the session, is it little more overhead with each variable I store in it, or does the overhead increase a lot with each extra variable stored in it12:26
* SmokeyD enjoys Louis Armstrong and Ella Fitzg - Dream A Little Dream Of Me (03:09) ()12:31
*** russf has joined #zope3-dev12:50
*** projekt01 has joined #zope3-dev13:27
*** oferw has joined #zope3-dev13:37
*** flox has quit IRC13:39
*** flox has joined #zope3-dev13:39
*** faassen has joined #zope3-dev13:41
*** jukart has quit IRC13:51
*** flox has quit IRC13:51
*** flox has joined #zope3-dev14:00
*** oferw has quit IRC14:02
*** yota has joined #zope3-dev14:04
*** flox is now known as flox|away14:05
*** jukart has joined #zope3-dev14:07
philiKONTheuni, ping14:08
*** zagy__ has joined #zope3-dev14:12
*** J1m has joined #zope3-dev14:22
*** zagy_ has quit IRC14:25
*** rock1 has joined #zope3-dev14:32
*** MJ has quit IRC14:34
*** niemeyer has joined #zope3-dev14:40
*** rocky has quit IRC14:45
*** rocky has joined #zope3-dev14:49
philiKONflox|away, ping14:49
*** flox|away is now known as flox14:50
*** rock1 has quit IRC14:50
floxhi14:50
philiKONhi14:50
philiKONflox, can you make a changes.txt entry for your change on the 3.3 branch?14:50
philiKONthe one about issue 38314:50
floxok14:50
philiKONreading issue 383 transcript, it looks like it isn't fixed yet, just circumvented with proper documentation ,right?14:51
floxit depends14:51
floxi think the doc fix is enough..14:51
philiKONwe should discuss this thursday14:51
philiKONflox, perhaps you can write a follow up to 383, asking whether this issue can be closed now14:52
floxif u always give the host, there's no bug14:52
philiKONwoudl also be a good idea to mention your changes14:52
philiKONflox, true, but sometimes you just don't care about specifying the host.14:52
floxbut if u miss the hostname or the ip, it behave differently on *nix and windows14:52
philiKONi guess specifying 0.0.0.0 means all hosts?14:52
floxtrue14:53
philiKONright, that's still a bug though14:53
philiKONif it's ok to say "address 8080", then it shoudl behave correctly14:53
philiKONon both platforms14:53
philiKONthinknig about this now, we can't close 383 just yet14:53
floxno, we can't.14:53
floxbut it is lower importance14:53
philiKONbut perhaps you can still write a follow up mentioning your changes14:53
floxok, i'll do14:53
philiKONthanks14:55
*** benji has joined #zope3-dev14:56
*** MJ has joined #zope3-dev14:58
*** nathany has joined #zope3-dev15:01
*** projekt01 has quit IRC15:21
*** oferw has joined #zope3-dev15:39
*** zbir has quit IRC15:57
J1mfaassen: ayt?16:01
faassenJ1m: sorry about that, now I am16:07
faassenJ1m: setting up the skype, a moment16:07
*** mkerrin has quit IRC16:14
*** oferw has quit IRC16:17
floxthanks, benji16:18
*** dunny has quit IRC16:23
*** mkerrin has joined #zope3-dev16:30
*** flox is now known as flox|away16:35
*** tiredbones has quit IRC16:58
*** tiredbones has joined #zope3-dev16:59
*** J1m has quit IRC17:01
*** J1m has joined #zope3-dev17:01
*** stub has quit IRC17:22
*** whit has quit IRC17:25
*** hdima has quit IRC17:28
*** zbir has joined #zope3-dev17:33
*** volvox has quit IRC17:34
*** alecm has joined #zope3-dev17:43
*** whit has joined #zope3-dev17:46
*** zagy__ has quit IRC18:08
*** zagy has joined #zope3-dev18:11
*** vinsci has quit IRC18:22
*** jhauser has joined #zope3-dev18:48
*** whit has quit IRC18:55
*** romanofski has quit IRC19:05
*** schwendinger has joined #zope3-dev19:08
*** bradb has joined #zope3-dev19:13
*** whit has joined #zope3-dev19:14
*** philiKON has quit IRC19:31
*** gumpa has joined #zope3-dev19:32
*** whit has quit IRC19:40
*** whit has joined #zope3-dev19:43
*** nathany has quit IRC19:52
*** xenru|clone has quit IRC19:56
*** oferw has joined #zope3-dev20:00
*** whit has quit IRC20:02
*** flox|away is now known as flox20:08
*** oferw has quit IRC20:13
*** whit has joined #zope3-dev20:14
*** kamalgill has joined #zope3-dev20:17
*** philiKON has joined #zope3-dev20:27
*** flox has quit IRC20:33
*** flox has joined #zope3-dev20:33
floxhi benji, philiKON20:37
floxabout #383, we hv to do something, we cannot let zope.conf.in without any comment?20:37
floxi agree we cannot change behaviour for non-Windows platforms20:38
floxso, we should bind to all interfaces by default20:38
floxis there any problem if we keep 'address 0.0.0.0:8080' for next releases?20:39
philiKONflox, that's not the point20:39
philiKONaddress 8080  shoudl work too20:39
floxthis way the use know the right syntax if he need to bind differently20:40
floxs/use/user/20:40
philiKONwell, ok, let's separate this20:41
philiKONthere's a *bug*20:41
philiKONa software bug20:41
philiKONthat's what 383 is a bout20:41
philiKONyou're suggestion in addition to that to enhance the documentation of zope.conf20:41
philiKONby stating a more epxlicit example20:41
philiKONthat's ok20:41
philiKONbut not enough to fix 38320:41
floxphiliKON: i agree 'address 8080' should work. But it is better to give comment about the issue in zope.conf, so the new user is not lost20:41
philiKONye syes yes20:42
philiKONbut fix 383 first :)20:42
floxi've not enough knowledge for that... :-(20:42
philiKONthat's what you think20:42
philiKONyou'd be surprised20:42
floxi appreciate your support :-)20:43
floxi'll change the fix, and the CHANGES.TXT, to tell 'Workaround' instead of 'Fixed'20:44
philiKONi would back the whole revision out until we come up with a solution20:44
*** projekt01 has joined #zope3-dev20:45
floxphiliKON: better to revert this 'zope.conf.in' patch completely?20:46
philiKONthat's what i think20:47
*** harobed has joined #zope3-dev20:48
floxnot fair for windows user, they have no clue how to map to all network interfaces...20:48
*** whit has quit IRC20:49
floxi will change on Thursday. i will try to look at the core bug on ZConfig, too20:51
philiKONflox, i'm not syaing it should be reverted permanently20:53
philiKONbut simply documenting over bugs isn't the solution either20:54
philiKONfix + docs is a better combo20:54
floxi agree we keep #383 opened, bec not fixed.20:54
*** whit has joined #zope3-dev20:58
*** harobed has quit IRC21:02
*** faassen has quit IRC21:05
*** RaFromBRC has joined #zope3-dev21:10
*** mkerrin has quit IRC21:18
*** nouri_ is now known as nouri21:22
*** Londo_ has quit IRC21:30
*** yota has quit IRC21:34
floxping philiKON21:41
philiKONpong21:41
flox:-)21:41
floxwhat is default startup message, when HTTP server is started?21:41
floxwhen config is 'address 8080' or similar21:42
floxu hav a box on Linux with default config, where u can try and tell me?21:42
floxon Windows i hav:21:43
flox"2006-08-15T20:28:38 INFO root -- HTTP:localhost:333 Server started."21:43
flox(for example)21:43
philiKON2006-08-15T19:05:54 INFO root -- HTTP:localhost:8080 Server started.21:43
philiKONis what i have21:43
floxeven if ur server biind to any ineterface ????21:43
philiKONlemme check21:43
floxstrange thing21:43
philiKON<server>21:44
philiKON  type HTTP21:44
philiKON  address 808021:44
philiKON</server>21:44
floxok, i think this is a bug21:44
floxit should give you on which interface it is running....21:45
floxon your case, it should be '0.0.0.0:8080'21:45
floxu don't think so?21:45
floxphiliKON: we are free to change 'zope.app.twisted'? the bug #383 is within this package....21:46
floxi go to hav dinner, i try to make a fix, after21:46
*** flox is now known as flox|away21:47
*** gumpa has quit IRC21:50
*** gumpa has joined #zope3-dev21:50
*** kamalgill is now known as kamal-away21:53
*** dokai_ is now known as dokai21:58
*** yota has joined #zope3-dev21:59
*** mexiKON has joined #zope3-dev22:02
*** srichter has quit IRC22:04
*** jukart has quit IRC22:04
*** jinty has joined #zope3-dev22:05
*** jinty has quit IRC22:05
*** batlogg has quit IRC22:13
*** dobee has quit IRC22:14
*** philiKON has quit IRC22:16
*** kamal-away has quit IRC22:16
*** schwendinger has quit IRC22:23
*** dunny has joined #zope3-dev22:37
*** gumpa has left #zope3-dev22:50
*** RaFromBR1 has joined #zope3-dev22:52
*** zagy has quit IRC23:07
*** ofer has joined #zope3-dev23:10
*** stub has joined #zope3-dev23:14
*** dobee has joined #zope3-dev23:19
*** stub has quit IRC23:37
*** kamalgill has joined #zope3-dev23:45
*** MJ has quit IRC23:45
*** flox|away is now known as flox23:51
*** kamalgill has quit IRC23:55

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