IRC log of #zope for Monday, 2011-07-18

*** ccomb1 has quit IRC00:28
*** m8 has quit IRC01:09
*** jotaeme has quit IRC01:12
*** jotaeme has joined #zope02:47
*** _mrtango_ has quit IRC03:01
*** jotaeme has quit IRC03:06
*** daMaestro has quit IRC03:39
*** davisagli has quit IRC04:38
*** davisagli has joined #zope04:40
*** davisagli has quit IRC04:47
*** davisagli has joined #zope04:48
*** davisagli has quit IRC05:03
*** davisagli has joined #zope05:03
*** zagy has quit IRC05:49
*** zagy has joined #zope05:55
*** davisagli has quit IRC06:04
*** davisagli has joined #zope06:05
*** davisagli has quit IRC06:07
*** davisagli has joined #zope06:09
*** sm has quit IRC06:50
*** sm has joined #zope06:51
*** sm has quit IRC06:52
*** sm has joined #zope06:52
*** sm has quit IRC06:57
*** alecm has joined #zope07:10
*** alecm has joined #zope07:10
*** jotaeme has joined #zope08:02
*** zagy has quit IRC08:16
*** davisagli has quit IRC08:20
*** davisagli has joined #zope08:20
*** _mrtango_ has joined #zope08:49
*** __mac__ has joined #zope09:05
*** zagy has joined #zope09:07
*** __mac__ has quit IRC09:10
*** __mac__ has joined #zope09:14
*** hever has joined #zope09:26
*** hever has quit IRC09:28
*** hever has joined #zope09:29
*** Wu has joined #zope09:29
*** bigkevmcd has joined #zope09:30
*** hever has quit IRC09:38
*** hever has joined #zope09:39
*** hever has quit IRC09:41
*** hever has joined #zope09:43
*** tisto has joined #zope09:49
*** hever has quit IRC09:53
*** hever has joined #zope09:54
*** hever has quit IRC09:59
*** hever has joined #zope10:00
*** hever has quit IRC10:02
*** hever has joined #zope10:04
*** planetzopebot has quit IRC10:08
*** planetzopebot has joined #zope10:08
*** menesis has joined #zope10:15
*** hever has quit IRC10:19
*** hever_ has joined #zope10:20
*** hever_ has quit IRC10:21
*** hever_ has joined #zope10:23
*** goschtl has joined #zope10:24
*** jakke has joined #zope10:28
*** allisterb has quit IRC10:32
*** jotaeme has quit IRC10:34
*** eperez has joined #zope10:35
*** avoinea has joined #zope10:43
*** allisterb has joined #zope10:50
*** goschtl_ has joined #zope10:58
*** goschtl has quit IRC10:58
*** goschtl_ is now known as goschtl10:58
*** mitchell`off is now known as mitchell`11:17
*** do3cc has joined #zope12:00
*** avoinea has quit IRC12:00
*** sylvain has joined #zope12:00
*** TomBlockley has joined #zope12:03
*** avoinea has joined #zope12:23
*** evilbungle has joined #zope12:27
*** menesis has quit IRC12:30
*** teix has joined #zope12:39
*** d2m has joined #zope13:09
*** sylvain_ has joined #zope13:14
*** sylvain has quit IRC13:15
*** goschtl has quit IRC13:15
*** menesis has joined #zope13:16
*** goschtl has joined #zope13:51
*** ccomb has joined #zope13:59
*** hever_ has quit IRC14:23
*** tisto is now known as tisto|lunch14:32
*** ccomb1 has joined #zope14:36
*** ccomb has quit IRC14:38
*** benji has joined #zope14:49
*** Wu has quit IRC14:57
*** goschtl has quit IRC14:59
*** goschtl has joined #zope14:59
*** ccomb1 is now known as ccomb15:07
*** srichter has joined #zope15:12
*** dayne has joined #zope15:12
*** hever_ has joined #zope15:27
*** hever_ has quit IRC15:43
*** hever has joined #zope15:45
*** hever_ has joined #zope15:56
*** hever_ has quit IRC15:57
*** hever_ has joined #zope15:59
*** hever has quit IRC15:59
*** hever_ has quit IRC15:59
*** hever has joined #zope16:00
*** hever has quit IRC16:02
*** hever has joined #zope16:02
*** hever_ has joined #zope16:04
*** hever has quit IRC16:04
*** hever has joined #zope16:06
*** menesis has quit IRC16:12
*** sp0cksbeard has joined #zope16:14
*** supton has joined #zope16:16
*** menesis has joined #zope16:17
*** eperez has quit IRC16:19
*** tisto|lunch is now known as tisto16:27
*** hever_ has quit IRC16:28
*** hever has quit IRC16:28
*** hever has joined #zope16:29
*** hever has quit IRC16:30
*** hever has joined #zope16:32
*** hever_ has joined #zope16:54
*** hever_ has quit IRC16:55
*** hever_ has joined #zope16:57
*** hever_ has quit IRC17:11
*** hever has quit IRC17:11
*** hever has joined #zope17:11
*** Wu has joined #zope17:12
*** hever has quit IRC17:13
*** hever has joined #zope17:15
*** redir has quit IRC17:32
*** daMaestro has joined #zope17:52
*** do3cc has quit IRC17:55
*** ccomb has quit IRC17:56
*** supton has quit IRC17:57
*** ccomb has joined #zope17:59
*** thevishy has joined #zope18:03
*** J1m has joined #zope18:06
thevishydoes anyone know why Zope is adding base href ? This is a bit old version18:17
betabugthere were some discussions, years ago18:17
betabugIIRC it's a good thing18:18
thevishyright betabug , is it removed in later versions ?18:18
koshit actually helps a lot18:18
koshit prevents confusion in web browsers18:18
koshno the latest 2.13 still does it18:18
betabugand if your VHM etc is set up fine, there never is a problem with it18:18
*** hever_ has joined #zope18:18
koshit allows things like relative urls to be processed correctly18:18
koshand saved pages to load correctly18:19
koshit is a good idea to have it18:19
thevishyright but I have a question <base href="http://192.168.11.22:7001/cms/++resource++jscripts/tiny_mce/plugins/advimage/image.htm/" />18:19
*** dayne has quit IRC18:19
thevishythis breaks the image.htm's reference18:19
thevishyI mean , image.html is coded to have its scripts located at ../../18:20
thevishyThis one makes it one folder extra18:20
koshthat does not make sense18:20
thevishyok let me rephrase , tinymce is an editor18:20
koshyou should not EVER be hand coding urls for things like images18:20
*** hever_ has quit IRC18:20
thevishynope not that18:20
koshyou need to ask zope for the url to the file, image etc18:20
thevishytinymce editor has a plugin that OPENS this html18:21
koshhowever there is a major suggestion I have for you on this get rid of ++resource++ stuff entirely, don't even put it on zope18:21
koshput all the stuff on something like amazon s3 and set a forever caching time on it18:21
thevishyso when I click on that plugin , image.htm pops up and its appended with a base href=<base href="http://192.168.11.22:7001/cms/++resource++jscripts/tiny_mce/plugins/advimage/image.htm/" />18:21
*** hever_ has joined #zope18:21
thevishyif that line is not there , I will be able to view everything fine18:22
thevishykosh: right , ours is a web app18:22
koshthere is probably a config issue of some kind that is wrong however it is still much better to not host static resources like that from zope18:22
thevishywe are deploying this at clients place18:22
_mup_Bug #812352 was filed: Support WebTest's extra_environ in wsgi.Browser <zope.testbrowser:New> < https://launchpad.net/bugs/812352 >18:23
koshso does that mean you can't use s3?18:23
betabugusually if base href is wrong, then it's because your rewriterule for the VHM is wrong18:23
thevishyI see18:23
koshwell in normal deployment you put a server behind something like apache or nginx and I highly recommend nginx18:23
koshin that case have apache/nginx server the static content and leave zope out of it18:23
thevishyRight  , that is indeed a better approach , but for some reason we are still following this method18:24
thevishybuyt tinymce needs to be made to a Python product no ?18:24
koshno it does not need to be18:24
thevishyits a bunch of JS files and html files , along with some images18:25
koshit is just that zope is not realy set up for serving static resources like this18:25
thevishyI see18:25
koshI ran into some problems trying to use ++resource++ stuff for other things but mostly it ended up being far too complex18:25
thevishybut some features like spell check are implemented in python18:25
*** sm has joined #zope18:25
thevishywe do some backend in Python for spellchecker feature of this tinymce product18:25
koshif you already have the files on the filesystem then getting something like nginx to serve it makes mose sense18:26
thevishyright18:26
koshwhere the spellchecker is located should have nothing to do with where the static files are served from18:26
koshtiny_mce should just have some kind of config in it for where the url for the spellchecking stuff is at, and you could have zope run that part18:26
thevishyI see18:26
thevishyyes it does have url18:27
thevishyI would have preferred that approach18:27
thevishyso how do I refer it from Zope ?18:27
thevishyOr just not needed even18:28
*** ccomb has quit IRC18:28
koshwhat I probably would do is server it from s3 or nginx with a url like /tiny_mce/version_of_tine_mce/files  that way you can set them to cache for 30 years and just change the url when a new version is updated18:28
koshmassive speed improvements that way18:28
thevishyright18:29
thevishythats true18:29
koshyou should just be able to tell it the url in zope that will run your spellcheck, should not be any harder then that along with including the correct js files in the places you want18:29
thevishyand in dtml I should refer to that "outside" url of tiny_mce js files ?18:29
thevishyinstaed of this resource18:29
koshI have had some pages that use more advanced editors and when I had zope serving the files and no caching stuff set the page was taking about 6-8 seconds to draw, when I moved the stuff to being cached for 30 years the page time dropped to about .5 seconds for non new visits18:30
thevishythats is the correct apprach no ?18:30
koshyeah just refer to that url for your js files18:30
thevishyAh kosh18:30
koshno different then when you include jquery from stuff like the google cdn18:30
thevishyyes , it indeed was the better approach wonder why we didnt use it18:31
koshbecause you definitely don't want to be serving jquery, jquery-ui, themes and other stuff yourself18:31
thevishythanks18:31
thevishywill check and be back18:31
koshokay18:31
*** thevishy has quit IRC18:31
koshbetabug: so how is your day going?18:31
betabugcoding like crazy lately18:32
koshI should be going into the university today to get some paperwork done and get the last few steps out of the way for taking classes :)18:32
betabugcool!18:32
koshand the person in charge of admissions for the engineering program I am going into has said I don't have to retake any of my old classes :)18:35
betabugthat's good!18:36
koshyup because it will cut some time off getting the degree18:37
koshand once I get that degree done I doubt I will touch web programming again :)18:41
koshI am not sure which is more annoying nanotech or IE compatibility but I am willing to take the risk on nanotech :)18:42
*** goschtl has quit IRC18:43
*** __mac__ has quit IRC18:45
*** tiwula has joined #zope19:02
*** Wu has quit IRC19:05
*** redir has joined #zope19:08
*** supton has joined #zope19:11
*** menesis has quit IRC19:19
*** hever_ has quit IRC19:20
*** Spanktar has joined #zope19:26
*** m8 has joined #zope19:32
*** digitalmortician has joined #zope19:34
*** mitchell` is now known as mitchell`off19:41
smoh great that's all we need.. kosh in charge of the GRAY GOO19:44
smgood day all :)19:44
koshhehe19:45
koshsm: I promise I won't let it get out of control until after I leave the planet :)19:45
smthe lab technician's always the first to go :/19:45
koshthe nanites will be like all other computer systems and work nicely for me19:46
koshsomeone told me before the reason that computers work so well for me is that computers won't rebel against their own kind :)19:46
smhehehe.. "I can't see what you're all complaining about, they always work for ME"19:47
koshsee now you understand19:49
koshwhen I was back in school the first time I even had physics experiments that worked when I stood next to them and stopped when I moved away19:49
koshone of the professors it worked for also but nobody else19:49
koshjust like computer systems that only work when the right person is next to them :)19:52
smkosh: nifty. Does it work for non-technical systems too ?20:06
koshI have not tried that one20:07
*** TomBlockley has quit IRC20:10
*** menesis has joined #zope20:15
*** sylvain_ has quit IRC20:21
*** evilbungle has quit IRC20:34
*** davisagli has quit IRC20:37
*** davisagli has joined #zope20:37
*** __mac__ has joined #zope20:49
*** evilbungle has joined #zope21:04
*** ccomb has joined #zope21:08
*** d2m has quit IRC21:11
*** d2m has joined #zope21:25
*** tisto has quit IRC21:30
*** benji is now known as Guest4385221:32
*** benji_ has joined #zope21:32
*** sm has quit IRC21:32
*** Guest43852 has quit IRC21:34
*** teix has quit IRC22:04
*** rbanffy has joined #zope22:07
*** avoinea has quit IRC22:16
*** benji has joined #zope22:19
*** benji_ has quit IRC22:19
*** menesis has quit IRC22:31
*** evilbungle has quit IRC22:36
*** shastry has joined #zope22:42
*** __mac__ has quit IRC22:59
*** hever has quit IRC23:31
*** d2m has left #zope23:32
*** avoinea has joined #zope23:38
*** ccomb has quit IRC23:40
*** hever has joined #zope23:57
*** bigkevmcd has quit IRC23:59
*** bigkevmcd has joined #zope23:59

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