2009-03-27T00:14:15  *** alfonsodg has quit IRC
2009-03-27T00:18:23  *** alfonsodg has joined #moin-dev
2009-03-27T00:39:12  *** grzywacz has quit IRC
2009-03-27T01:07:43  *** stargamih has joined #moin-dev
2009-03-27T01:08:09  *** ThomasWaldmann has quit IRC
2009-03-27T01:08:14  *** ThomasWaldmann has joined #moin-dev
2009-03-27T01:09:28  *** stargaming has quit IRC
2009-03-27T01:42:33  *** alfonsodg has quit IRC
2009-03-27T01:49:42  *** alfonsodg has joined #moin-dev
2009-03-27T02:07:24  *** ronny has quit IRC
2009-03-27T02:07:27  *** ronny has joined #moin-dev
2009-03-27T02:34:19  *** alfonsodg has quit IRC
2009-03-27T02:51:37  *** alfonsodg has joined #moin-dev
2009-03-27T02:52:40  *** alfonsodg has left #moin-dev
2009-03-27T06:25:59  *** stargamih is now known as stargaming
2009-03-27T08:36:24  <dreimark> moin
2009-03-27T08:39:53  <ThomasWaldmann> moin
2009-03-27T08:52:30  <ThomasWaldmann> TheSheep: do you think we could have some js that sets a MOIN_SCREEN cookie with browser window inner width/height?
2009-03-27T08:54:32  * dreimark thought on that too or we can add it to the session file
2009-03-27T08:55:07  <ThomasWaldmann> js has no access to session storage
2009-03-27T08:59:05  <TheSheep> ThomasWaldmann: why?
2009-03-27T08:59:46  <TheSheep> ThomasWaldmann: it can be obsolete at the next request
2009-03-27T09:00:43  <TheSheep> you can measure the size of any element
2009-03-27T09:01:36  <ThomasWaldmann> sure, it'll be always one behind. but users do not resize that often.
2009-03-27T09:02:31  <ThomasWaldmann> e.g. on the attachment view page, we are embedding a pdf viewer. we seem to need to give it dimensions.
2009-03-27T09:02:35  <dreimark> I think we need it only to get the may size of the browser window
2009-03-27T09:02:48  <dreimark> s/may/max/
2009-03-27T09:03:14  <ThomasWaldmann> currently there is 800w hardcoded, which is badly insufficient if your browser window is almost 1600w.
2009-03-27T09:03:33  <dreimark> or it is too large if you fetch it from a mobile
2009-03-27T09:03:50  <ThomasWaldmann> indeed
2009-03-27T09:04:12  <TheSheep> use relative widths...
2009-03-27T09:04:16  <dreimark> that's why I think we only have to care for the max size of the window
2009-03-27T09:04:31  <dreimark> TheSheep: does not work with stupid extensions
2009-03-27T09:04:37  <TheSheep> file a bug
2009-03-27T09:04:46  <dreimark> and meanwhile ?
2009-03-27T09:05:31  <TheSheep> what you suggest is broken, won't work when users switch computers, or go from computer to a mobile, or even resize their browser window
2009-03-27T09:06:38  <TheSheep> of course it can be done, very easily, docuemnt.clientWidth is what you look for
2009-03-27T09:06:48  <TheSheep> document
2009-03-27T09:07:11  <TheSheep> and document.cookie
2009-03-27T09:07:18  <dreimark> alternativly can we have a button nearby an embedded object for showing it on max width? and do remember the setting?
2009-03-27T09:07:21  <ThomasWaldmann> the js of course needs to update the cookie, at least when window dimensions are changing, maybe even just on every request. of course it will be still 1 request behind.
2009-03-27T09:08:19  <TheSheep> document.cookie = 'screenWidth='+document.clientWidth+'; path=/';
2009-03-27T09:08:42  <ThomasWaldmann> dreimark: no more buttons, users are already complaining about the 2 clicks for downloading an attachment
2009-03-27T09:09:28  <TheSheep> you probably want some small expiration timeout too
2009-03-27T09:12:05  <ThomasWaldmann> yeah, in case there is no js after switching browsers
2009-03-27T09:13:50  <TheSheep> document.cookie = 'screenWidth='+document.clientWidth+'; path=/; expires='+ (new Date()+3600000).toGMTString();
2009-03-27T09:14:13  <TheSheep> something like that
2009-03-27T09:14:16  <TheSheep> not tested
2009-03-27T09:14:26  <TheSheep> I have to run
2009-03-27T09:14:37  <ThomasWaldmann> we need to generate the path from moin config settings anyway
2009-03-27T09:14:45  <ThomasWaldmann> thanks :)
2009-03-27T09:16:43  * dreimark creates an adobe account
2009-03-27T09:17:15  <dreimark> funny questions "How many employees are in your organization worldwide?"
2009-03-27T12:04:49  *** ser has quit IRC
2009-03-27T12:04:49  *** Noya has quit IRC
2009-03-27T12:04:49  *** xorAxAx has quit IRC
2009-03-27T12:04:49  *** starshine_away has quit IRC
2009-03-27T12:04:49  *** ChanServ has quit IRC
2009-03-27T12:04:49  *** vpv has quit IRC
2009-03-27T12:04:49  *** waldi has quit IRC
2009-03-27T12:04:49  *** TheSheep has quit IRC
2009-03-27T12:04:49  *** ThomasWaldmann has quit IRC
2009-03-27T12:04:49  *** stargaming has quit IRC
2009-03-27T12:04:49  *** dreimark has quit IRC
2009-03-27T12:04:49  *** CIA-13 has quit IRC
2009-03-27T12:04:49  *** ronny has quit IRC
2009-03-27T12:05:47  *** ChanServ has joined #moin-dev
2009-03-27T12:05:47  *** ronny has joined #moin-dev
2009-03-27T12:05:47  *** ThomasWaldmann has joined #moin-dev
2009-03-27T12:05:47  *** stargaming has joined #moin-dev
2009-03-27T12:05:47  *** dreimark has joined #moin-dev
2009-03-27T12:05:47  *** vpv has joined #moin-dev
2009-03-27T12:05:47  *** TheSheep has joined #moin-dev
2009-03-27T12:05:47  *** waldi has joined #moin-dev
2009-03-27T12:05:47  *** Noya has joined #moin-dev
2009-03-27T12:05:47  *** xorAxAx has joined #moin-dev
2009-03-27T12:05:47  *** starshine_away has joined #moin-dev
2009-03-27T12:05:47  *** ser has joined #moin-dev
2009-03-27T12:05:47  *** CIA-13 has joined #moin-dev
2009-03-27T12:05:47  *** irc.freenode.net sets mode: +o ChanServ
2009-03-27T16:13:10  <dreimark> bbl
2009-03-27T17:53:22  *** grzywacz has joined #moin-dev
2009-03-27T19:17:24  <ThomasWaldmann> re
2009-03-27T20:18:08  <ser> how can i ask moin to get IP from X-forwarded-for?
2009-03-27T20:28:36  <ThomasWaldmann> which moin version?
2009-03-27T20:32:33  <ser> it does not matter, i can upgrade
2009-03-27T20:33:13  <ThomasWaldmann> for 1.7/1.8 you need to modify request/__init__.py with your proxy ip(s)
2009-03-27T20:33:25  <ThomasWaldmann> for 1.9 there is a middleware handling this
2009-03-27T20:33:55  <ser> thanks, Thomas for a hint!
2009-03-27T20:34:05  <dreimark> moin
2009-03-27T20:34:28  <dreimark> grzywacz: I have still problems to communicate
2009-03-27T20:34:44  <dreimark> but http://pyxmpp.jajcus.net/svn/pyxmpp/trunk/examples/echobot.py does throw no error
2009-03-27T20:34:59  <dreimark> so I guess my jabberserver performs well
2009-03-27T20:35:31  <dreimark> it shows status messages and so on
2009-03-27T20:39:30  <dreimark> If I try to initialize it step by step I get get  http://paste.pocoo.org/show/109889/
2009-03-27T20:40:45  <dreimark> (I am still in the 1.7 repo)
2009-03-27T21:27:07  * ThomasWaldmann plays with js
2009-03-27T21:27:37  * TheSheep too
2009-03-27T21:33:56  <ThomasWaldmann> TheSheep: window w/h?
2009-03-27T21:34:28  <TheSheep> ThomasWaldmann: keeping the cursor position when clicking preview
2009-03-27T21:35:24  <ThomasWaldmann> ah
2009-03-27T21:35:27  <TheSheep> ThomasWaldmann: but I can do the window dimensions too, at lest the js part
2009-03-27T21:35:48  <TheSheep> btw, perhaps you don't want the window size, but the size of the content div?
2009-03-27T21:36:26  <TheSheep> at least for the width
2009-03-27T21:48:22  * dreimark plays with jabber and different settings
2009-03-27T21:48:55  <ThomasWaldmann> cookies
2009-03-27T21:48:55  <ThomasWaldmann> Name      MOIN_DIM
2009-03-27T21:48:58  <ThomasWaldmann> Value     633,485
2009-03-27T22:01:32  <grzywacz> dreimark, hm
2009-03-27T22:03:01  <grzywacz> dreimark, I think the error message is quite descriptive
2009-03-27T22:05:48  <dreimark> yeah, sounds it is incompatible with a recent version
2009-03-27T22:22:28  <dreimark> grzywacz: ser on #moin has it working so it is something on my config or  installation
2009-03-27T22:27:02  <grzywacz> dreimark, look at enabled auth methods in your jabber server
2009-03-27T22:28:14  <ThomasWaldmann> crap. of course IE needs to do it differently.
2009-03-27T22:28:29  <ThomasWaldmann> and also, innerWidth does not seem to work for content div
2009-03-27T22:33:08  <TheSheep> maybe scrollWidth?
2009-03-27T22:33:15  <TheSheep> or clientWidth?
2009-03-27T22:33:22  <TheSheep> I think yo uwant the latter
2009-03-27T22:35:17  <dreimark> grzywacz: do you know another url than http://jabberd.jabberstudio.org/1.4/ for instructions
2009-03-27T22:35:37  <dreimark> I have not thought that it is broken while I was reading the first lines of the xml file
2009-03-27T22:35:49  <dreimark> "This is the Jabber server configuration file. The file is broken
2009-03-27T22:35:57  <dreimark> " but it was meant different
2009-03-27T22:39:57  <ser> grzywacz: hi, i am also trying to ruun jabberbot
2009-03-27T22:40:28  <ser> it looks it is working, no errors, but it does not deliver anything
2009-03-27T22:41:01  <dreimark> http://paste.pocoo.org/show/109916/ If I don't read it wrong I should have auth_plain also
2009-03-27T22:52:42  <ThomasWaldmann> TheSheep: shouldn't any element work with innerWidth?
2009-03-27T22:53:02  <TheSheep> ThomasWaldmann: yeah
2009-03-27T22:53:16  <TheSheep> ThomasWaldmann: when is the script running?
2009-03-27T22:53:26  <ThomasWaldmann> div id="content" does not
2009-03-27T22:53:39  <ThomasWaldmann> onload
2009-03-27T22:57:23  <TheSheep> that's strange
2009-03-27T22:58:11  <TheSheep> ThomasWaldmann: ah!
2009-03-27T22:58:19  <TheSheep> ThomasWaldmann: that's because there is no innerWidth :)
2009-03-27T22:58:27  <TheSheep> ThomasWaldmann: it;s called clientWidth
2009-03-27T22:58:58  <TheSheep> https://developer.mozilla.org/en/DOM/element#Properties
2009-03-27T23:03:53  <dreimark> btw. we have two scrollbars by using the gui editor too
2009-03-27T23:05:54  <TheSheep> but scrolling the gui editor should be much easier
2009-03-27T23:06:26  <TheSheep> you can use the scrollIntoView method
2009-03-27T23:09:37  <ThomasWaldmann> hmm, great, clientWidth doesn't work for window
2009-03-27T23:10:37  <TheSheep> window has InnerWidth :)
2009-03-27T23:10:50  <TheSheep> they are different things
2009-03-27T23:11:10  <ThomasWaldmann> i just want the inner width of some element
2009-03-27T23:11:35  <TheSheep> element.clientWidth
2009-03-27T23:12:00  <TheSheep> no, wait, inner?
2009-03-27T23:12:05  <ThomasWaldmann> element in a generic sense, including window
2009-03-27T23:12:10  <TheSheep> that's element.scrollWidth
2009-03-27T23:12:52  <ThomasWaldmann> somehow each time I touch js or css, I am fed up with it an hour later :P
2009-03-27T23:13:24  <TheSheep> it requires a specific mindset
2009-03-27T23:13:38  <TheSheep> you should really try mochikit or jquery
2009-03-27T23:13:47  <TheSheep> they abstract such details
2009-03-27T23:24:33  <ThomasWaldmann> http://tech.slashdot.org/article.pl?sid=09/03/27/1934256&art_pos=4
2009-03-27T23:25:10  <ser> ive times faster? hahahhaa
2009-03-27T23:26:24  <ser> Java spokes person: "5x faster? We already do that."
2009-03-27T23:26:30  <ser> hahahah good comment
2009-03-27T23:31:05  <TheSheep> the pypy guys already showed how you can speed it up
2009-03-27T23:31:19  <TheSheep> so it's just a question of the amount of work
2009-03-27T23:32:02  <TheSheep> if google pumps cash into it, it's pretty possible
2009-03-27T23:39:14  <TheSheep> I've been bitten by the email module having different submodules too today
2009-03-27T23:39:28  <TheSheep> it's completely sick
2009-03-27T23:39:57  <dreimark> similiar to the one on the mailing list?
2009-03-27T23:42:40  <TheSheep> yes
2009-03-27T23:53:43  <ThomasWaldmann> TheSheep: i don't know mochikit and jquery
2009-03-27T23:54:05  <ThomasWaldmann> from a quick glance, jquery seems to be a bit more alive than mochikit
2009-03-27T23:55:56  <TheSheep> yeah
2009-03-27T23:56:03  <TheSheep> and it's rubish
2009-03-27T23:56:08  <TheSheep> (single b)
2009-03-27T23:56:30  <TheSheep> there is also prototype
2009-03-27T23:56:45  <TheSheep> mochikit is supposed to be the most 'pythonic'
2009-03-27T23:58:23  <ThomasWaldmann> rubish?
2009-03-27T23:59:20  <ThomasWaldmann> ruby-ish?
2009-03-27T23:59:27  <TheSheep> _('#conten h1').each(do something);
2009-03-27T23:59:58  <TheSheep> I like how it uses css-like selectors for elements

MoinMoin: MoinMoinChat/Logs/moin-dev/2009-03-27 (last edited 2009-03-26 23:15:02 by IrcLogImporter)