#instantbird log on 12 21 2012

All times are UTC.

00:04:06 --> clokep has joined #instantbird
00:04:06 * ChanServ sets mode +o clokep 
00:04:52 <clokep> flo-retina: So I'm thinking an extension, if we like it we can integrate it?
00:26:24 <-- rosonline has quit (Ping timeout)
00:27:59 --> rosonline has joined #instantbird
01:04:34 <instantbot> clokep@gmail.com requested review from florian@instantbird .org for attachment 2178 on bug 1812.
01:04:36 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1812 nor, --, ---, clokep, ASSI, IRC accounts should timeout when the connection to the server has stalled
02:02:05 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.86 [SeaMonkey 1.1.19/2010030105])
02:03:33 <-- mconley has quit (Input/output error)
02:06:56 <-- rosonline has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
02:36:00 <-- flo-retina has quit (Connection reset by peer)
02:36:01 --> flo-retina has joined #instantbird
02:36:01 * ChanServ sets mode +qo flo-retina flo-retina 
03:07:40 <-- flo-retina has quit (Connection reset by peer)
03:07:42 --> flo-retina has joined #instantbird
03:07:42 * ChanServ sets mode +qo flo-retina flo-retina 
03:28:25 <instant-buildbot> build #718 of linux-nightly-default is complete: Failure [failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/718
03:36:37 <-- EionRobb has quit (Quit: Leaving.)
03:37:13 <-- clokep has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
04:05:48 <-- flo-retina has quit (Connection reset by peer)
04:05:50 --> flo-retina has joined #instantbird
04:05:50 * ChanServ sets mode +qo flo-retina flo-retina 
04:05:58 <-- meh has quit (Ping timeout)
04:12:36 <-- gg0 has quit (Ping timeout)
04:13:08 <-- avidal has quit (Ping timeout)
04:14:09 --> avidal has joined #instantbird
04:17:37 <instant-buildbot> build #720 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/720
04:18:36 <-- avidal has quit (Ping timeout)
04:29:19 --> gg0 has joined #instantbird
04:35:19 --> avidal has joined #instantbird
04:50:16 --> Optimizer has joined #instantbird
05:30:50 <instant-buildbot> build #811 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/811
06:32:30 --> jb has joined #instantbird
06:51:33 <-- Mook has quit (Quit: Mook)
07:02:18 <-- jb has quit (Ping timeout)
07:06:48 <-- flo-retina has quit (Connection reset by peer)
07:06:51 --> flo-retina has joined #instantbird
07:06:51 * ChanServ sets mode +qo flo-retina flo-retina 
07:10:55 <-- flo-retina has quit (Connection reset by peer)
07:10:56 --> flo-retina has joined #instantbird
07:10:56 * ChanServ sets mode +qo flo-retina flo-retina 
07:46:39 <-- Optimizer has quit (Ping timeout)
07:49:59 --> Optimizer has joined #instantbird
07:53:56 --> jb has joined #instantbird
08:39:38 <-- flo-retina has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
08:43:17 <-- Optimizer has quit (Ping timeout)
08:46:41 --> Optimizer has joined #instantbird
09:08:53 <-- SM0TVI has quit (Ping timeout)
09:16:21 <-- dew has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
09:18:27 --> SM0TVI has joined #instantbird
09:21:23 <-- Kaishi has quit (Quit: Kaishi)
09:40:14 <-- gerard-majax has quit (Client exited)
09:42:29 --> gerard-majax has joined #instantbird
09:49:07 <-- gerard-majax has quit (Ping timeout)
09:54:51 <-- avidal has quit (Input/output error)
10:10:34 --> mpmc has joined #instantbird
10:10:41 --> avidal has joined #instantbird
10:24:37 <-- Even has quit (Input/output error)
10:38:58 --> gerard-majax has joined #instantbird
10:53:36 --> gerard-majax_ has joined #instantbird
10:53:41 <-- gerard-majax has quit (Connection reset by peer)
11:15:26 <-- Optimizer has quit (Ping timeout)
11:18:30 --> clokep_work has joined #instantbird
11:18:30 * ChanServ sets mode +o clokep_work 
11:18:47 --> Optimizer has joined #instantbird
11:29:20 <clokep_work> Good morning! :)
12:02:29 <-- clokep_work has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
12:34:00 <-- jb has quit (Ping timeout)
12:39:26 <-- gg0 has quit (Ping timeout)
12:41:33 <-- mpmc has quit (Connection reset by peer)
12:51:05 --> meh has joined #instantbird
12:54:59 --> gg0 has joined #instantbird
12:57:54 --> Kaishi has joined #instantbird
13:02:53 --> jb has joined #instantbird
13:04:39 <-- jb has quit (Ping timeout)
13:26:20 --> jb has joined #instantbird
14:40:27 --> mconley has joined #instantbird
14:49:56 --> rosonline has joined #instantbird
14:51:42 <-- Kaishi has quit (Quit: Kaishi)
15:08:58 <-- Optimizer has quit (Ping timeout)
15:12:51 --> Optimizer has joined #instantbird
15:17:01 <-- rosonline has quit (Quit: http://www.mibbit.com ajax IRC Client)
15:32:38 <-- jb has quit (Quit: jb)
16:01:54 <instantbot> florian@instantbird.org granted review for attachment 2178 on bug 1812.
16:01:56 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1812 nor, --, ---, clokep, ASSI, IRC accounts should timeout when the connection to the server has stalled
16:09:51 --> rosonline has joined #instantbird
16:49:54 --> mpmc has joined #instantbird
17:11:24 --> clokep has joined #instantbird
17:11:24 * ChanServ sets mode +o clokep 
17:41:44 <-- gerard-majax_ has quit (Ping timeout)
18:13:36 <-- skeledrew has quit (Connection reset by peer)
18:14:13 --> skeledrew has joined #instantbird
18:16:45 <-- skeledrew has quit (Ping timeout)
18:23:51 --> skeledrew has joined #instantbird
18:41:52 --> flo-retina has joined #instantbird
18:41:53 * ChanServ sets mode +qo flo-retina flo-retina 
18:42:32 <flo-retina> for my previous profiles of Bubbles, I changed the time before we stop displaying messages and post pone to the next event loop spin from 40ms to 4000ms to make the freeze more obvious.
18:42:46 <flo-retina> I've now profiled it again with the default 40ms value: http://people.mozilla.com/~bgirard/cleopatra/#
18:42:49 <flo-retina> uh
18:44:09 <flo-retina> http://people.mozilla.com/~bgirard/cleopatra/#report=1b1d4e07a264986d3d1a4a2780cb9601c013b867
18:45:10 <flo-retina> so with this change, setColors from Footer.html is only 17.7% of the total time, instead of the 55% I was seeing before
18:45:57 <flo-retina> (and the time to display my 11k tweets conv is 68s (I think I had 40 or 36 before)
18:46:51 <clokep> So it's taking longer? :-S
18:47:14 <flo-retina> the what this indicates is that the executeSoon calls in the middle of displaying messages are actually expensive, as we spend 60% of the time doing something in C++ (I would guess we spend the time painting)
18:47:16 <instantbot> c++ is evil
18:47:47 <clokep> Ah, I see what you're saying.
18:48:03 <clokep> I thought you meant that without your changes + the 40ms was faster than your changes + 40ms.
18:49:00 <flo-retina> 41.5% of the total time is in "displayIfNeeded"
18:49:38 <flo-retina> what seems strange to me is... why are we spending time painting, when the only visible change on my screen is on the progress bar and on the scrollbar size?
18:50:17 <flo-retina> hmm, I guess I should try again with flash painting enabled
18:51:18 * clokep guesses everything is being painted. ;)
18:51:43 <flo-retina> we are repainting everything all the time :(
18:52:01 <flo-retina> interestingly, the scrollbar is repainted only when it's actually needed :-D
18:53:40 <flo-retina> I wonder if it's because of the background gradient that changes each time the body size changes
18:54:35 <flo-retina> anyway, cutting the time spent in bubble's JS code should cut the count of 40ms displayMessage slices we make, so it will cut the painting time linearly.
18:55:40 <clokep> Removing the gradient temporarily should be an easy test if that's the issue?
18:57:08 <flo-retina> aaaah, I know what's causing my macbook to eat key strokes!
18:57:49 <clokep> You sure it isn't just hungry?
18:58:04 <flo-retina> there's something messed up with my audio driver (thanks WebRTC!), and any application attempting to play a sound (typically my terminal when a completion is impossible, or emacs for similar reasons) freezes for 3 seconds, during which key presses aren't taken into account
18:58:14 <flo-retina> I guess I'll really need to reboot :(
18:59:45 <flo-retina> the painting behavior is way more surprising without the gradient
19:00:26 <flo-retina> we now repaint all the time the 5 first lines or so (an area of approximately the height of the first bubble)
19:00:35 <flo-retina> at the top of the browser
19:02:13 <clokep> (o_O)
19:02:15 <flo-retina> I wonder how one can file useful invalidation bugs.
19:03:01 <flo-retina> but I guess I should still optimize Bubble :)
19:03:50 <flo-retina> interestingly, the crazy repainting happens with Simple too :)
19:04:50 <flo-retina> It takes Simple 20s to display the 11k tweets conv (compared to Bubbles 68s)
19:05:13 <flo-retina> (63s instead of 68s if I remove the background gradient)
19:05:46 <flo-retina> (so I guess repainting a smaller area at the top instead of the whole browser is 5s less expensive ;))
19:10:01 <-- Optimizer has quit (Ping timeout)
19:12:23 * flo-retina is uploading a video to youtube to explain what he means with "crazy repainting"
19:14:12 --> Optimizer has joined #instantbird
19:15:38 * clokep wonders what opportunistic_tls really means? :-S
19:16:03 <flo-retina> why are you looking at that?
19:16:27 <flo-retina> I means (for libpurple's xmpp) "use TLS if the server offers it, but do not refuse to connect the account if the account didn't offer TLS"
19:16:58 <clokep> Because OSCAR seems to offer a similar option and I was just trying to figure out what it meant...
19:17:19 <flo-retina> is my description clear enough? / Is the oscar use of it matching the XMPP use? :)
19:18:09 <clokep> Yes, the description is clear. I'm just unsure how we do that in the code, it seems like we always choose "ssl" or "starttls" without ever checking if the _connectionSecurity == "opportunistic_tls" (or is that "starttls"?)
19:18:32 <flo-retina> http://www.youtube.com/watch?v=QNn7qHUsyiA&feature=youtube_gdata_player
19:19:38 <clokep> That's a freaky video...
19:19:38 <flo-retina> clokep: it doesn't seem to exist for oscar: http://lxr.instantbird.org/instantbird/search?string=opportunistic_tls
19:20:03 <clokep> flo-retina: http://lxr.instantbird.org/instantbird/search?string=opportunistic_encryption
19:20:29 <flo-retina> ah, it's a different name for oscar :(
19:20:45 <flo-retina> so you like my video? :-P
19:21:12 <clokep> I wonder if anyone else will like it. ;)
19:22:14 <clokep> (As in people who might know what's going on. :-D)
19:24:40 <flo-retina> that's worth attempting to create a minimized testcase, isn't it?
19:25:33 <flo-retina> I suspect the painting is done only when we do execute soon, so I guess the testcase will have to use setTimeout instead
19:25:37 <clokep> If it would give us big performance improvements, I think so.
19:26:05 <flo-retina> well, the perf improvements are only if we can convince something that he's interested in fixing that ;)
19:26:13 <flo-retina> *someone
19:37:59 <flo-retina> so I tried to make a test case that just appends random text to new p elements
19:38:04 <flo-retina> but that repaints the whole browser :(
19:38:40 <clokep> :-/ Is the browser just /always/ repainted?
19:40:09 <flo-retina> well, not in my youtube video ;)
20:55:54 <-- clokep has quit (Ping timeout)
21:15:29 <-- Optimizer has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
21:15:39 --> Optimizer has joined #instantbird
21:17:17 <-- mpmc has quit (Connection reset by peer)
21:34:46 --> Kaishi has joined #instantbird
21:41:16 <flo-retina> ah, so actually my test case was right. It's just that I was testing it on a nightly (that repaints the whole browser)
21:41:48 <flo-retina> I've just tested it on Firefox 17 on my default profile, and it repaints only the first line, but at the length of the line that's being inserted (in an invisible place)
21:42:40 * flo-retina files a bug
22:05:57 <-- rosonline has quit (Ping timeout)
22:06:25 --> rosonline has joined #instantbird
22:08:34 <-- rosonline has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
22:16:29 --> rosonline has joined #instantbird
22:18:58 <-- rosonline has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
22:24:53 <-- mconley has quit (Input/output error)
22:33:17 <-- Gizmokid2005 has quit (Ping timeout)
22:35:36 --> Gizmokid2005 has joined #instantbird
22:35:49 <-- Kaishi has quit (Quit: Kaishi)
23:00:40 <-- Optimizer has quit (Ping timeout)
23:03:42 --> Mic has joined #instantbird
23:03:42 * ChanServ sets mode +h Mic 
23:03:58 --> Optimizer has joined #instantbird
23:04:04 <-- skeledrew has quit (Ping timeout)
23:05:56 <-- Mic has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
23:06:00 --> Mic has joined #instantbird
23:06:01 * ChanServ sets mode +h Mic 
23:08:31 <-- Optimizer has quit (Ping timeout)
23:10:43 --> skeledrew has joined #instantbird
23:13:14 --> Optimizer has joined #instantbird
23:32:28 <-- Mic has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
23:33:10 --> Kaishi has joined #instantbird