*** kobold has left #zope3-dev | 00:01 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 00:04 | |
*** dobee has quit IRC | 00:09 | |
*** mexiKON has joined #zope3-dev | 00:10 | |
*** yota has quit IRC | 00:19 | |
*** ofer has joined #zope3-dev | 00:20 | |
*** yota has joined #zope3-dev | 00:22 | |
*** zbir has joined #zope3-dev | 00:24 | |
*** gumpa has left #zope3-dev | 00:26 | |
*** philiKON has quit IRC | 00:29 | |
*** benji has quit IRC | 00:39 | |
*** mexiKON is now known as philikON | 00:47 | |
*** philikON is now known as philiKON | 00:47 | |
*** ofer has quit IRC | 00:51 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 00:52 | |
*** dobee has joined #zope3-dev | 01:03 | |
*** srichter has quit IRC | 01:03 | |
*** povbot` has joined #zope3-dev | 01:07 | |
*** _projekt01 has joined #zope3-dev | 01:07 | |
*** nouri_ has joined #zope3-dev | 01:09 | |
*** dokai_ has joined #zope3-dev | 01:10 | |
*** dobee has quit IRC | 01:10 | |
*** zbir has quit IRC | 01:10 | |
*** vlado has quit IRC | 01:10 | |
*** xenru has quit IRC | 01:10 | |
*** dunny has quit IRC | 01:10 | |
*** projekt01 has quit IRC | 01:10 | |
*** nouri has quit IRC | 01:10 | |
*** dobee has joined #zope3-dev | 01:11 | |
*** zbir has joined #zope3-dev | 01:11 | |
*** vlado has joined #zope3-dev | 01:11 | |
*** xenru has joined #zope3-dev | 01:11 | |
*** dunny has joined #zope3-dev | 01:11 | |
*** projekt01 has joined #zope3-dev | 01:11 | |
*** dokai has quit IRC | 01:11 | |
*** xenru|clone has joined #zope3-dev | 01:13 | |
*** xenru has quit IRC | 01:14 | |
*** vlado has quit IRC | 01:16 | |
*** projekt01 has quit IRC | 01:16 | |
*** dobee has quit IRC | 01:21 | |
*** povbot has quit IRC | 01:22 | |
*** vlado_ has quit IRC | 01:31 | |
*** Bernulf has quit IRC | 01:32 | |
*** srichter has joined #zope3-dev | 01:41 | |
*** ChanServ sets mode: +o srichter | 01:42 | |
*** philiKON has quit IRC | 01:45 | |
*** harobed has quit IRC | 01:47 | |
*** J1m has quit IRC | 02:15 | |
*** bradb has quit IRC | 02:23 | |
*** niemeyer has quit IRC | 02:30 | |
*** niemeyer has joined #zope3-dev | 02:30 | |
*** volvox has quit IRC | 02:45 | |
*** yota has quit IRC | 03:09 | |
*** hazmat has joined #zope3-dev | 03:20 | |
*** ChanServ sets mode: +o hazmat | 03:20 | |
*** wrobel has quit IRC | 03:29 | |
*** _projekt01 has quit IRC | 03:30 | |
*** _projekt01 has joined #zope3-dev | 03:31 | |
*** niemeyer has quit IRC | 03:31 | |
*** wrobel has joined #zope3-dev | 03:32 | |
*** _projekt01 has quit IRC | 03:42 | |
*** projekt01 has joined #zope3-dev | 03:42 | |
*** projekt01 has quit IRC | 03:46 | |
*** hazmat has quit IRC | 04:30 | |
*** RaFromBR1 has joined #zope3-dev | 05:23 | |
*** RaFromBRC has quit IRC | 05:25 | |
*** RaFromBR1 is now known as RaFromBRC | 05:25 | |
*** RaFromBRC has quit IRC | 05:35 | |
*** RaFromBRC has joined #zope3-dev | 05:40 | |
*** alecm has quit IRC | 05:45 | |
*** RaFromBRC has quit IRC | 05:49 | |
*** RaFromBRC has joined #zope3-dev | 05:50 | |
*** srichter has quit IRC | 06:30 | |
*** alecm has joined #zope3-dev | 06:44 | |
*** stub has joined #zope3-dev | 06:59 | |
*** RaFromBRC has quit IRC | 07:09 | |
*** alecm has quit IRC | 07:50 | |
SmokeyD | hey, when you submit a form, is a new instance created of the form class? | 08:31 |
---|---|---|
SmokeyD | or is the instance of the form class used which was created when you first requested the form? | 08:34 |
*** romanofski has joined #zope3-dev | 09:17 | |
*** MiUlEr has quit IRC | 09:18 | |
*** philiKON has joined #zope3-dev | 09:25 | |
*** jukart has joined #zope3-dev | 09:33 | |
*** hdima has joined #zope3-dev | 09:37 | |
SmokeyD | philiKON, 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 |
philiKON | views are always recreated | 09:38 |
SmokeyD | It looks like the latter | 09:38 |
philiKON | always | 09:38 |
philiKON | they're adapters | 09:38 |
philiKON | every time you adapt, you create | 09:38 |
SmokeyD | ok, so you create a new instance | 09:39 |
SmokeyD | every time | 09:39 |
philiKON | yup | 09:39 |
SmokeyD | wouldn't it be easier with forms to reuse the same instance | 09:39 |
philiKON | http has no state. how would you keep the instance? | 09:39 |
SmokeyD | that way you could save data in the instance, instead of passing it as a hidden for field | 09:39 |
SmokeyD | yeah that's true | 09:39 |
SmokeyD | throug a session? | 09:40 |
SmokeyD | I don't know if zope has anything like sessions like in PHP\ | 09:40 |
philiKON | sure it does | 09:40 |
philiKON | sessions aren't PHP's idea | 09:40 |
philiKON | still, too much overhead | 09:41 |
philiKON | Theuni, ping | 09:41 |
SmokeyD | hmm, ok, but now I have to create hidden form fields for the temp[orary data that I want to keep | 09:41 |
philiKON | so? | 09:41 |
SmokeyD | well, 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 form | 09:42 |
SmokeyD | which is changing the whole order forms are normally executed | 09:43 |
philiKON | i don't understand, but that's because my mind is currently on other thigns... sorry | 09:43 |
SmokeyD | normally 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 fields | 09:44 |
SmokeyD | since the state variable might be passed as a hidden field by the form | 09:45 |
SmokeyD | or 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 data | 09:47 |
SmokeyD | " but that's because my mind is currently on other thigns... sorry" <didn't read that part, sorry | 09:49 |
SmokeyD | :) | 09:49 |
*** dobee has joined #zope3-dev | 10:00 | |
*** srichter has joined #zope3-dev | 10:24 | |
*** ChanServ sets mode: +o srichter | 10:30 | |
*** philiKON has quit IRC | 10:37 | |
*** batlogg has joined #zope3-dev | 10:40 | |
*** kobold has joined #zope3-dev | 10:44 | |
*** zagy has joined #zope3-dev | 11:02 | |
*** ktwilight has quit IRC | 11:15 | |
*** philiKON has joined #zope3-dev | 11:17 | |
*** ktwilight has joined #zope3-dev | 11:17 | |
*** ktwilight has quit IRC | 11:41 | |
*** volvox has joined #zope3-dev | 11:43 | |
*** romanofski has quit IRC | 11:44 | |
*** romanofski has joined #zope3-dev | 11:44 | |
*** zagy_ has joined #zope3-dev | 11:59 | |
*** zagy has quit IRC | 12:12 | |
*** kobold has left #zope3-dev | 12:18 | |
*** mkerrin has joined #zope3-dev | 12:22 | |
SmokeyD | hey, 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 |
SmokeyD | In 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 it | 12:26 |
* SmokeyD enjoys Louis Armstrong and Ella Fitzg - Dream A Little Dream Of Me (03:09) () | 12:31 | |
*** russf has joined #zope3-dev | 12:50 | |
*** projekt01 has joined #zope3-dev | 13:27 | |
*** oferw has joined #zope3-dev | 13:37 | |
*** flox has quit IRC | 13:39 | |
*** flox has joined #zope3-dev | 13:39 | |
*** faassen has joined #zope3-dev | 13:41 | |
*** jukart has quit IRC | 13:51 | |
*** flox has quit IRC | 13:51 | |
*** flox has joined #zope3-dev | 14:00 | |
*** oferw has quit IRC | 14:02 | |
*** yota has joined #zope3-dev | 14:04 | |
*** flox is now known as flox|away | 14:05 | |
*** jukart has joined #zope3-dev | 14:07 | |
philiKON | Theuni, ping | 14:08 |
*** zagy__ has joined #zope3-dev | 14:12 | |
*** J1m has joined #zope3-dev | 14:22 | |
*** zagy_ has quit IRC | 14:25 | |
*** rock1 has joined #zope3-dev | 14:32 | |
*** MJ has quit IRC | 14:34 | |
*** niemeyer has joined #zope3-dev | 14:40 | |
*** rocky has quit IRC | 14:45 | |
*** rocky has joined #zope3-dev | 14:49 | |
philiKON | flox|away, ping | 14:49 |
*** flox|away is now known as flox | 14:50 | |
*** rock1 has quit IRC | 14:50 | |
flox | hi | 14:50 |
philiKON | hi | 14:50 |
philiKON | flox, can you make a changes.txt entry for your change on the 3.3 branch? | 14:50 |
philiKON | the one about issue 383 | 14:50 |
flox | ok | 14:50 |
philiKON | reading issue 383 transcript, it looks like it isn't fixed yet, just circumvented with proper documentation ,right? | 14:51 |
flox | it depends | 14:51 |
flox | i think the doc fix is enough.. | 14:51 |
philiKON | we should discuss this thursday | 14:51 |
philiKON | flox, perhaps you can write a follow up to 383, asking whether this issue can be closed now | 14:52 |
flox | if u always give the host, there's no bug | 14:52 |
philiKON | woudl also be a good idea to mention your changes | 14:52 |
philiKON | flox, true, but sometimes you just don't care about specifying the host. | 14:52 |
flox | but if u miss the hostname or the ip, it behave differently on *nix and windows | 14:52 |
philiKON | i guess specifying 0.0.0.0 means all hosts? | 14:52 |
flox | true | 14:53 |
philiKON | right, that's still a bug though | 14:53 |
philiKON | if it's ok to say "address 8080", then it shoudl behave correctly | 14:53 |
philiKON | on both platforms | 14:53 |
philiKON | thinknig about this now, we can't close 383 just yet | 14:53 |
flox | no, we can't. | 14:53 |
flox | but it is lower importance | 14:53 |
philiKON | but perhaps you can still write a follow up mentioning your changes | 14:53 |
flox | ok, i'll do | 14:53 |
philiKON | thanks | 14:55 |
*** benji has joined #zope3-dev | 14:56 | |
*** MJ has joined #zope3-dev | 14:58 | |
*** nathany has joined #zope3-dev | 15:01 | |
*** projekt01 has quit IRC | 15:21 | |
*** oferw has joined #zope3-dev | 15:39 | |
*** zbir has quit IRC | 15:57 | |
J1m | faassen: ayt? | 16:01 |
faassen | J1m: sorry about that, now I am | 16:07 |
faassen | J1m: setting up the skype, a moment | 16:07 |
*** mkerrin has quit IRC | 16:14 | |
*** oferw has quit IRC | 16:17 | |
flox | thanks, benji | 16:18 |
*** dunny has quit IRC | 16:23 | |
*** mkerrin has joined #zope3-dev | 16:30 | |
*** flox is now known as flox|away | 16:35 | |
*** tiredbones has quit IRC | 16:58 | |
*** tiredbones has joined #zope3-dev | 16:59 | |
*** J1m has quit IRC | 17:01 | |
*** J1m has joined #zope3-dev | 17:01 | |
*** stub has quit IRC | 17:22 | |
*** whit has quit IRC | 17:25 | |
*** hdima has quit IRC | 17:28 | |
*** zbir has joined #zope3-dev | 17:33 | |
*** volvox has quit IRC | 17:34 | |
*** alecm has joined #zope3-dev | 17:43 | |
*** whit has joined #zope3-dev | 17:46 | |
*** zagy__ has quit IRC | 18:08 | |
*** zagy has joined #zope3-dev | 18:11 | |
*** vinsci has quit IRC | 18:22 | |
*** jhauser has joined #zope3-dev | 18:48 | |
*** whit has quit IRC | 18:55 | |
*** romanofski has quit IRC | 19:05 | |
*** schwendinger has joined #zope3-dev | 19:08 | |
*** bradb has joined #zope3-dev | 19:13 | |
*** whit has joined #zope3-dev | 19:14 | |
*** philiKON has quit IRC | 19:31 | |
*** gumpa has joined #zope3-dev | 19:32 | |
*** whit has quit IRC | 19:40 | |
*** whit has joined #zope3-dev | 19:43 | |
*** nathany has quit IRC | 19:52 | |
*** xenru|clone has quit IRC | 19:56 | |
*** oferw has joined #zope3-dev | 20:00 | |
*** whit has quit IRC | 20:02 | |
*** flox|away is now known as flox | 20:08 | |
*** oferw has quit IRC | 20:13 | |
*** whit has joined #zope3-dev | 20:14 | |
*** kamalgill has joined #zope3-dev | 20:17 | |
*** philiKON has joined #zope3-dev | 20:27 | |
*** flox has quit IRC | 20:33 | |
*** flox has joined #zope3-dev | 20:33 | |
flox | hi benji, philiKON | 20:37 |
flox | about #383, we hv to do something, we cannot let zope.conf.in without any comment? | 20:37 |
flox | i agree we cannot change behaviour for non-Windows platforms | 20:38 |
flox | so, we should bind to all interfaces by default | 20:38 |
flox | is there any problem if we keep 'address 0.0.0.0:8080' for next releases? | 20:39 |
philiKON | flox, that's not the point | 20:39 |
philiKON | address 8080 shoudl work too | 20:39 |
flox | this way the use know the right syntax if he need to bind differently | 20:40 |
flox | s/use/user/ | 20:40 |
philiKON | well, ok, let's separate this | 20:41 |
philiKON | there's a *bug* | 20:41 |
philiKON | a software bug | 20:41 |
philiKON | that's what 383 is a bout | 20:41 |
philiKON | you're suggestion in addition to that to enhance the documentation of zope.conf | 20:41 |
philiKON | by stating a more epxlicit example | 20:41 |
philiKON | that's ok | 20:41 |
philiKON | but not enough to fix 383 | 20:41 |
flox | philiKON: 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 lost | 20:41 |
philiKON | ye syes yes | 20:42 |
philiKON | but fix 383 first :) | 20:42 |
flox | i've not enough knowledge for that... :-( | 20:42 |
philiKON | that's what you think | 20:42 |
philiKON | you'd be surprised | 20:42 |
flox | i appreciate your support :-) | 20:43 |
flox | i'll change the fix, and the CHANGES.TXT, to tell 'Workaround' instead of 'Fixed' | 20:44 |
philiKON | i would back the whole revision out until we come up with a solution | 20:44 |
*** projekt01 has joined #zope3-dev | 20:45 | |
flox | philiKON: better to revert this 'zope.conf.in' patch completely? | 20:46 |
philiKON | that's what i think | 20:47 |
*** harobed has joined #zope3-dev | 20:48 | |
flox | not fair for windows user, they have no clue how to map to all network interfaces... | 20:48 |
*** whit has quit IRC | 20:49 | |
flox | i will change on Thursday. i will try to look at the core bug on ZConfig, too | 20:51 |
philiKON | flox, i'm not syaing it should be reverted permanently | 20:53 |
philiKON | but simply documenting over bugs isn't the solution either | 20:54 |
philiKON | fix + docs is a better combo | 20:54 |
flox | i agree we keep #383 opened, bec not fixed. | 20:54 |
*** whit has joined #zope3-dev | 20:58 | |
*** harobed has quit IRC | 21:02 | |
*** faassen has quit IRC | 21:05 | |
*** RaFromBRC has joined #zope3-dev | 21:10 | |
*** mkerrin has quit IRC | 21:18 | |
*** nouri_ is now known as nouri | 21:22 | |
*** Londo_ has quit IRC | 21:30 | |
*** yota has quit IRC | 21:34 | |
flox | ping philiKON | 21:41 |
philiKON | pong | 21:41 |
flox | :-) | 21:41 |
flox | what is default startup message, when HTTP server is started? | 21:41 |
flox | when config is 'address 8080' or similar | 21:42 |
flox | u hav a box on Linux with default config, where u can try and tell me? | 21:42 |
flox | on 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 |
philiKON | 2006-08-15T19:05:54 INFO root -- HTTP:localhost:8080 Server started. | 21:43 |
philiKON | is what i have | 21:43 |
flox | even if ur server biind to any ineterface ???? | 21:43 |
philiKON | lemme check | 21:43 |
flox | strange thing | 21:43 |
philiKON | <server> | 21:44 |
philiKON | type HTTP | 21:44 |
philiKON | address 8080 | 21:44 |
philiKON | </server> | 21:44 |
flox | ok, i think this is a bug | 21:44 |
flox | it should give you on which interface it is running.... | 21:45 |
flox | on your case, it should be '0.0.0.0:8080' | 21:45 |
flox | u don't think so? | 21:45 |
flox | philiKON: we are free to change 'zope.app.twisted'? the bug #383 is within this package.... | 21:46 |
flox | i go to hav dinner, i try to make a fix, after | 21:46 |
*** flox is now known as flox|away | 21:47 | |
*** gumpa has quit IRC | 21:50 | |
*** gumpa has joined #zope3-dev | 21:50 | |
*** kamalgill is now known as kamal-away | 21:53 | |
*** dokai_ is now known as dokai | 21:58 | |
*** yota has joined #zope3-dev | 21:59 | |
*** mexiKON has joined #zope3-dev | 22:02 | |
*** srichter has quit IRC | 22:04 | |
*** jukart has quit IRC | 22:04 | |
*** jinty has joined #zope3-dev | 22:05 | |
*** jinty has quit IRC | 22:05 | |
*** batlogg has quit IRC | 22:13 | |
*** dobee has quit IRC | 22:14 | |
*** philiKON has quit IRC | 22:16 | |
*** kamal-away has quit IRC | 22:16 | |
*** schwendinger has quit IRC | 22:23 | |
*** dunny has joined #zope3-dev | 22:37 | |
*** gumpa has left #zope3-dev | 22:50 | |
*** RaFromBR1 has joined #zope3-dev | 22:52 | |
*** zagy has quit IRC | 23:07 | |
*** ofer has joined #zope3-dev | 23:10 | |
*** stub has joined #zope3-dev | 23:14 | |
*** dobee has joined #zope3-dev | 23:19 | |
*** stub has quit IRC | 23:37 | |
*** kamalgill has joined #zope3-dev | 23:45 | |
*** MJ has quit IRC | 23:45 | |
*** flox|away is now known as flox | 23:51 | |
*** kamalgill has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!