*** projekt01 has joined #zope3-dev | 00:33 | |
projekt01 | benji, ayt? | 00:33 |
---|---|---|
projekt01 | benji, is it possible to implement a method in testbrowser which opens a browser with contents from a test | 00:35 |
projekt01 | e.g. showOutputInBrowser(browser.contents) | 00:36 |
philiKON | projekt01, sure | 00:36 |
philiKON | pseudo code: | 00:36 |
projekt01 | Hi philiKON | 00:36 |
philiKON | tempfile().write(brwoser.contents) | 00:36 |
philiKON | import webbrowser | 00:37 |
philiKON | webbrowser.open(tmpfile.filename) | 00:37 |
philiKON | probably don't use the tempfile module because those temporary files disappear again | 00:37 |
projekt01 | does import webbrowser exist? | 00:37 |
philiKON | sure | 00:37 |
philiKON | standard python library | 00:37 |
philiKON | http://docs.python.org/lib/module-webbrowser.html | 00:38 |
projekt01 | Ah, didn't know about that | 00:38 |
philiKON | RTFM :) | 00:38 |
projekt01 | Many thanks, will take a look at that | 00:38 |
philiKON | np | 00:38 |
*** batlogg has quit IRC | 01:05 | |
*** harobed has quit IRC | 01:27 | |
*** alecm has joined #zope3-dev | 01:28 | |
*** jinty has quit IRC | 01:37 | |
*** yota has quit IRC | 01:55 | |
*** rocky is now known as rocky|Zzz | 02:05 | |
*** MJ has quit IRC | 02:07 | |
*** oferw has joined #zope3-dev | 03:03 | |
*** oferw has quit IRC | 03:34 | |
*** _torkel has quit IRC | 04:04 | |
*** alecm has quit IRC | 04:39 | |
*** philiKON has quit IRC | 04:51 | |
*** philiKON has joined #zope3-dev | 04:51 | |
*** vlado has quit IRC | 05:07 | |
*** Londo_ has quit IRC | 05:12 | |
*** alecm has joined #zope3-dev | 05:15 | |
*** alecm has quit IRC | 05:19 | |
*** philiKON has quit IRC | 05:33 | |
*** optilude has quit IRC | 06:06 | |
*** projekt01 has left #zope3-dev | 06:07 | |
*** whit has quit IRC | 07:13 | |
*** whit has joined #zope3-dev | 07:14 | |
*** whit has quit IRC | 07:33 | |
*** alecm has joined #zope3-dev | 08:31 | |
*** whit has joined #zope3-dev | 09:33 | |
*** dunny has quit IRC | 09:42 | |
*** dunny has joined #zope3-dev | 09:43 | |
*** alecm has quit IRC | 09:59 | |
*** yota has joined #zope3-dev | 10:07 | |
*** MJ has joined #zope3-dev | 10:31 | |
*** brett_pitt2007 has joined #zope3-dev | 11:32 | |
*** whit has quit IRC | 12:13 | |
*** harobed has joined #zope3-dev | 12:20 | |
*** batlogg has joined #zope3-dev | 12:27 | |
*** philiKON has joined #zope3-dev | 12:30 | |
*** dunny has quit IRC | 12:40 | |
*** vlado has joined #zope3-dev | 12:53 | |
*** philiKON has quit IRC | 13:32 | |
*** philiKON has joined #zope3-dev | 13:32 | |
*** vlado has quit IRC | 13:36 | |
*** projekt01 has joined #zope3-dev | 13:49 | |
*** vlado has joined #zope3-dev | 14:10 | |
*** jinty has joined #zope3-dev | 14:16 | |
*** jinty has quit IRC | 14:46 | |
*** gintas has joined #zope3-dev | 15:22 | |
flox|away | philiKON, ur site is out-of-order ? | 15:44 |
*** flox|away is now known as flox | 15:44 | |
flox | "Connection timed out to worldcookery.com:80" | 15:44 |
philiKON | flox, maintenance | 15:45 |
philiKON | will be back up in 10 min | 15:45 |
flox | good | 15:45 |
*** J1m has joined #zope3-dev | 16:03 | |
philiKON | hi J1m | 16:03 |
philiKON | J1m, got 2 mins? | 16:03 |
d2m | J1m: put me in the row | 16:10 |
philiKON | d2m, get in line there :) | 16:11 |
* d2m gets in line | 16:11 | |
philiKON | don't forget to draw a number :) | 16:12 |
* d2m draws a lucky '23' ;) | 16:13 | |
philiKON | touch luck, i have a '12'. | 16:14 |
philiKON | s/touch/tough/ | 16:14 |
*** Londo_ has joined #zope3-dev | 16:18 | |
*** J1m has quit IRC | 17:04 | |
*** J1m has joined #zope3-dev | 17:05 | |
*** batlogg has quit IRC | 17:05 | |
J1m | philiKON: what's up? | 17:05 |
* J1m needs to find a decent irc client for the mac | 17:06 | |
philiKON | i'm trying to understand some design decisions w/ the catalog, intids, keyreferences | 17:06 |
philiKON | (i'm using xchataqua.sf.net, most people prefer colloquy i guess) | 17:06 |
philiKON | (note that growl notifications help with the attention) | 17:06 |
J1m | colloquy sucks | 17:06 |
philiKON | so, here's my question | 17:06 |
philiKON | it's really only about reassurance | 17:07 |
philiKON | indices cannot hold on to the actual objects for obvious reasons | 17:07 |
philiKON | (direct references, etc.) | 17:07 |
philiKON | that's why they hold on to something else | 17:07 |
philiKON | an abstraction | 17:08 |
philiKON | something that's uniquely identified with the object | 17:08 |
philiKON | i guess integers were chosen here because managing integer IDs in an index is both straight forward and most performant? | 17:08 |
philiKON | i mean, why do we take the detour thru the intid utility | 17:09 |
philiKON | indices could directly store keyreferences | 17:09 |
*** nouri has quit IRC | 17:09 | |
philiKON | but, i guess, they shouldn't be bothered with it | 17:09 |
philiKON | and it's more efficient to deal with integers | 17:09 |
philiKON | right? | 17:09 |
J1m | Integers are used soley for performance. | 17:09 |
philiKON | ok. that's what i thought (not the "solely", though) | 17:09 |
philiKON | so, the intid utility detour is there so that indices only have to deal with integers, because that's fast (IOBTree, etc.) | 17:10 |
J1m | Well, that's a very very good reason. | 17:10 |
J1m | yes | 17:10 |
*** nouri has joined #zope3-dev | 17:10 | |
philiKON | yes, it's a good reason | 17:10 |
*** dobee has joined #zope3-dev | 17:10 | |
philiKON | i guess it also makes implementing indices easier | 17:10 |
philiKON | you don't have to worry as much | 17:10 |
philiKON | you only deal with integers | 17:10 |
philiKON | all the hard part about weak referencing objects, etc. is in the intid utility | 17:11 |
philiKON | i just wanted to get this story straight since i'm in the process of documenting it :) | 17:11 |
J1m | well, it would have been easy enough to use key references, but much less efficient. | 17:11 |
philiKON | ok | 17:11 |
philiKON | thanks | 17:13 |
philiKON | d2m, you're next :) | 17:13 |
tiredbones | After a long hiatus from zope Im getting back into learning to code for it again. Is there a way to get the sign-on and passwrd for the instance of WorldCookery instance? I misplace my notes and can't seem to recall it. | 17:13 |
*** batlogg has joined #zope3-dev | 17:14 | |
philiKON | tiredbones, take a look at $INSTANCE/etc/principals.zcml | 17:14 |
philiKON | tiredbones, if the pw is stored in plaintext, you can see it | 17:14 |
philiKON | otherwise, you can reset it there | 17:15 |
tiredbones | thanks, philiKON | 17:15 |
philiKON | np | 17:15 |
*** projekt01 has quit IRC | 17:18 | |
*** J1m has quit IRC | 17:19 | |
d2m | J1m: webmaster@zope.org (http://mail.zope.org/mailman/listinfo/zopeorg-webmaster) is not working since August 15 -- could you look into this ? | 17:20 |
d2m | no thats thiming | 17:20 |
philiKON | d2m, write an email to sa@zope.com | 17:21 |
d2m | heh, thanks | 17:21 |
philiKON | (system administration) | 17:21 |
*** dobee has quit IRC | 17:21 | |
philiKON | last time i reported a mail problem there, a mark w. alexander fixed it | 17:21 |
philiKON | seems to be their systems guy | 17:21 |
*** rocky|Zzz is now known as rocky | 17:44 | |
*** dobee has joined #zope3-dev | 17:59 | |
*** dunny has joined #zope3-dev | 18:03 | |
*** alecm has joined #zope3-dev | 18:08 | |
*** J1m has joined #zope3-dev | 18:13 | |
*** J1m has quit IRC | 18:13 | |
*** J1m has joined #zope3-dev | 18:14 | |
*** J1m_ has joined #zope3-dev | 18:17 | |
*** dobee has quit IRC | 18:34 | |
*** projekt01 has joined #zope3-dev | 18:37 | |
*** flox has quit IRC | 18:40 | |
*** flox_ has joined #zope3-dev | 18:40 | |
*** flox_ is now known as flox | 18:41 | |
rocky | what's a good design pattern for registering adapters based on mime type of something? basically i want to do: runner = ITaskRunner(some_mime_type); runner.run() | 18:50 |
philiKON | what's some_mime_type? | 18:57 |
*** projekt01 has left #zope3-dev | 19:06 | |
*** flox_ has joined #zope3-dev | 19:13 | |
*** rocky has quit IRC | 19:16 | |
*** dobee has joined #zope3-dev | 19:17 | |
*** flox has quit IRC | 19:19 | |
*** dobee has quit IRC | 19:45 | |
*** projekt01 has joined #zope3-dev | 19:45 | |
*** torkel_ has joined #zope3-dev | 19:51 | |
*** harobed has quit IRC | 20:04 | |
*** dunny has quit IRC | 20:05 | |
*** rocky has joined #zope3-dev | 20:17 | |
*** rocky has quit IRC | 20:19 | |
*** rocky has joined #zope3-dev | 20:20 | |
*** batlogg has quit IRC | 20:50 | |
*** batlogg has joined #zope3-dev | 20:58 | |
*** vlado has quit IRC | 21:11 | |
*** zagy has joined #zope3-dev | 21:19 | |
*** torkel_ has quit IRC | 21:33 | |
*** torkel_ has joined #zope3-dev | 21:39 | |
*** jinty has joined #zope3-dev | 22:09 | |
*** alecm has quit IRC | 22:19 | |
*** alga has joined #zope3-dev | 22:26 | |
*** flox_ is now known as flox | 22:42 | |
*** harobed has joined #zope3-dev | 22:50 | |
*** alecm has joined #zope3-dev | 22:56 | |
*** romanofski has quit IRC | 23:12 | |
*** _torkel has joined #zope3-dev | 23:23 | |
*** zagy has quit IRC | 23:25 | |
*** whitux has quit IRC | 23:34 | |
*** torkel_ has quit IRC | 23:34 | |
*** vlado has joined #zope3-dev | 23:37 | |
*** Bernulf has joined #zope3-dev | 23:38 | |
*** batlogg_ has joined #zope3-dev | 23:44 | |
*** batlogg has quit IRC | 23:44 | |
*** Bernulf has quit IRC | 23:45 | |
*** Bernulf has joined #zope3-dev | 23:46 | |
*** flox has quit IRC | 23:47 | |
*** Bernulf has quit IRC | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!