#instantbird log on 12 16 2011

All times are UTC.

00:02:41 --> clokep has joined #instantbird
00:02:41 * ChanServ sets mode +h clokep 
00:16:04 <clokep> Ah I see Peter Saint-Andre got my email. :)
00:16:45 <-- BlueMaxima has quit (Quit: Instantbird 1.1)
00:20:57 <flo> clokep: ah, I didn't know you sent an email :)
00:21:18 <clokep> flo: Yes. I sent it probably a week or so ago.
00:21:31 <clokep> I figured I'd never remember to actually go into their XMPP channel, so email was easier!
00:24:14 <clokep> Mook_as: Thanks for the review comments (again)!
00:24:23 <Mook_as> clokep: you're welcome!
00:24:35 <Mook_as> I found I couldn't go through the boring bit, so I started from the bottom this time
00:26:19 <clokep> Hahah.
00:26:27 <clokep> Which parts are boring? ;)
00:26:59 <clokep> And in terms of having the version hard coded...it's hard coded in Instantbird currently...I didn't feel like making it a preference, so I didn't yet.
00:28:10 <Mook_as> the giant list of server commands (the numbers and things), IIRC
00:28:30 <Mook_as> yep, that's a "hey, I should file an RFE at some point" comment, not a "please fix this before you checkin" comment
00:28:38 <clokep> :)
00:28:50 <clokep> Haha, yes the giant list of commands...I've actually implemented another like 10 of them for WHOIS though. :P
00:28:50 <Mook_as> (but then I realized I can install a new handler for CTCP version with higher priority anyway...)
00:28:55 <clokep> Not in that patch yet.
00:29:09 <Mook_as> I wonder if I can do /alias that way too
00:29:49 <clokep> You can already register commands for any protocol.
00:30:14 <clokep> Why do you suggest a try-catch when calling the handleCTCPMessage? The _handleMessage command has a try-catch in it.
00:30:40 <-- hunsly has quit (Ping timeout)
00:31:17 <Mook_as> oh, just because you loop over a bunch of ctcp handlers
00:31:58 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
00:32:20 <clokep> Right, I'm not sure what part you're expecting to error inside there.
00:33:08 --> aleth has joined #instantbird
00:35:48 <clokep> Also I think your response for the CTCP TIME is wrong. ;)
00:36:08 <-- aleth has quit (Input/output error)
00:36:19 <clokep> The spec says to include a :, Idk if clients actually do that or not though.
00:36:26 --> aleth has joined #instantbird
00:36:45 <Mook_as> ah, I dunno, I just skimmed it
00:36:54 <Mook_as> I assume I can test it with a real client later :p
00:37:06 <clokep> :P
00:37:13 <clokep> I wasn't sure if you looked it up or not. :)
00:37:32 <clokep> Bah well the /original/ CTCP spec says to do :<date>, but the other two specs say not to...
00:37:34 <Mook_as> and I don't _expect_ anything to go wrong, except in the general "_something_ will go wrong" sense
00:39:27 <flo> Good night
00:39:29 <-- flo has quit (Quit: Instantbird 1.2a1pre)
00:40:19 <Mook_as> also for later: lots of debugging dumps based on prefs! :D
00:40:34 <Mook_as> (basically, an extended version of cZ's /pref debugMode )
00:40:47 <Mook_as> ... I might be looking at cz too much.
00:41:12 <clokep> Haha.
00:41:26 <clokep> Does Date().toString() output in a localized date by any chance?
00:41:44 <clokep> I'm wondering if it would make sense to take the returned time, throw it into a JS date and then print it back out from there?
00:42:10 <Mook_as> do you trust the returned time to be a date?
00:42:31 <Mook_as> also, there's a Date().toLocaleString()
00:42:48 <Mook_as> (but I'm too lazy to go change my system to non-en-US to check)
00:43:01 <clokep> I was thinking of trying to make it into a date and catching it otherwise?
00:43:11 <clokep> I'm too lazy to check that too. ;)
00:44:15 <clokep> (Just like what we do for PING)
00:51:40 <clokep> Mook_as: So foo.hasOwnProperty("bar") won't work if it was added via a prototype or __proto__?
00:51:58 <Mook_as> I thought that was the point of "Own"?
00:52:20 * clokep doesn't know. :(
00:52:57 <Mook_as> ({ __proto__: { a: 3 } }).hasOwnProperty("a") -> false
00:53:44 <clokep> "a" in ({ __proto__: { a: 3 } }) -> true!
00:53:54 <Mook_as> yep, that's what the proto chain is for
00:54:09 <clokep> :)
00:54:17 <clokep> Objects in JS still confuse me sometimes...
00:54:50 <Mook_as> hasOwnProperty is "hey, you know what, prototype chains suck; what has this thing _really_ got, that it's proto hasn't?"
00:54:58 <Mook_as> s/'//
00:57:43 <clokep> OK. :)
00:57:44 <clokep> Thanks.
00:58:38 <Mook_as> you can find where the property lives via Object.getPrototypeOf + hasOwnProperty, I think (though I guess it's not relevant to your case)
01:01:01 <clokep> Yeah I don't really care where it's from. :)
01:33:52 <instantbot> clokep@gmail.com granted review for attachment 1084 on bug 759.
01:33:55 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=759 min, --, ---, florian, ASSI, Reorganize purplexpcom
01:34:17 <Mook_as> hmm, helgrind doesn't like methodjit for whatever version combination I have
01:34:33 <clokep> What's helgrind?
01:35:05 <Mook_as> valgrind's thread-related-debugging module
01:36:01 <clokep> That sounds...like a bad idea.
01:37:46 <clokep> flo: Could you take a look at http://pastebin.instantbird.com/3237 ? That's the error I'm getting when attempting to compile SIPE, (http://pastebin.instantbird.com/3239 is the makefile)
01:41:04 <clokep> (Anyone else can look at that too if they'd like. ;))
01:44:04 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
01:57:50 <clokep> flo: Also I have http://pastebin.instantbird.com/3245 for 1199, and it seems to work OK, except when I set myself to "Unavailable" and then back to "Available", the accounts never reconnect.
02:22:20 <-- Mook_as has quit (Quit: gone)
03:05:04 <-- EionRobb has quit (Connection reset by peer)
03:05:47 --> EionRobb has joined #instantbird
03:37:47 <-- ecaron1 has quit (Ping timeout)
04:13:27 <-- chrisccoulson has quit (No route to host)
04:13:48 --> chrisccoulson_ has joined #instantbird
04:14:23 <-- EionRobb has quit (Quit: Leaving.)
04:23:05 --> BlueMaxima has joined #instantbird
04:26:23 <-- clokep has quit (Quit: Instantbird 1.2a1pre)
06:15:14 <-- BlueMaxima has quit (Quit: Instantbird 1.1)
06:17:09 <-- DGMurdockIII has quit (Quit: get satisfied! • :: core-networks.de ««« (Gamers.IRC) »»» gamersirc.net ::)
07:27:08 --> EionRobb has joined #instantbird
08:21:13 <-- gerard-majax has quit (Ping timeout)
09:18:42 --> gerard-majax has joined #instantbird
09:22:12 <-- chrisccoulson_ has quit (Quit: Ex-Chat)
09:22:19 --> chrisccoulson has joined #instantbird
09:23:10 --> Even has joined #instantbird
09:23:10 * ChanServ sets mode +o Even 
09:40:26 --> mmkmou has joined #instantbird
09:47:00 <-- EionRobb has quit (Quit: Leaving.)
09:56:04 --> flo has joined #instantbird
09:56:04 * ChanServ sets mode +qo flo flo 
10:09:44 --> Mic has joined #instantbird
10:09:44 * ChanServ sets mode +h Mic 
10:24:35 <flo> hello :)
10:31:02 <flo> clokep: just remove "SHARED_LIBRARY_LIBS += $(foreach lib,glib xml2,../../../libraries/$(lib)/$(LIB_PREFIX)$(lib).$(LIB_SUFFIX))" from your Makefile
10:33:33 <flo> clokep: http://pastebin.instantbird.com/3245 looks good. I'm not sure of what you mean with "when I set myself to "Unavailable" and then back to "Available", the accounts never reconnect". Why would the Unavailable status change anything to whether the account is connected or not?
10:36:34 --> aleth has joined #instantbird
10:47:24 --> BlueMaxima has joined #instantbird
11:10:02 <-- Mic has quit (Ping timeout)
11:13:46 --> clokep has joined #instantbird
11:13:46 * ChanServ sets mode +h clokep 
11:17:13 <clokep> flo: oops, I was tired. I meant when I set myself to "Offline" then back to "Available" it doesn't reconnect (because we remove the observer when disconnecting!)
11:17:56 <flo> ah
11:18:11 <flo> so we should remove the observer only when the user calls imAccount.disconnect()
11:18:35 <flo> and in account-disconnecting, we should only flip somewhere a boolean flag saying that the account should no longer be notified
11:19:10 <flo> or without boolean flag, we could make the observer test if the account is connected before forwarding notifications
11:19:31 <clokep> Right.
11:20:19 <clokep> Is aleth's patch with the "sections" in? To quickly switch to context? What hotkey was finally decided?
11:20:36 <flo> alt+page up/down
11:21:00 <flo> (or with a macbook, swipe up/down)
11:24:19 <clokep> Cool.
11:29:13 --> Mic has joined #instantbird
11:29:14 * ChanServ sets mode +h Mic 
11:29:48 <clokep> Now the real question is....has Windows built since this landed? ;)
11:30:47 <flo> the corollary is do we know anybody who knows how to delete a file on Windows? :-P
11:32:08 <flo> I think the answer is "no" to both questions
11:33:56 <clokep> OK.
11:34:11 <flo> it's really sad. That problem (of deleting files) already existed on Windows 98. It's still here in Win7...
11:34:36 * clokep just got a complete build with sipe!
11:35:04 <flo> removing that makefile line was all that was missing?
11:36:26 <clokep> After removing that I had g_base64_(en|de)code undefined, which I rmeembere we had had previously. So I copied the two defines we had added for that.
11:37:27 --> jb has joined #instantbird
11:44:51 <-- mmkmou has quit (Ping timeout)
12:01:21 <-- clokep has quit (Ping timeout)
12:04:06 <-- BlueMaxima has quit (Quit: Instantbird 1.1)
12:05:55 --> mmkmou has joined #instantbird
12:53:49 --> Tomek has joined #instantbird
13:00:26 <-- mmkmou has quit (Ping timeout)
13:16:08 --> mmkmou has joined #instantbird
13:42:10 <-- Mic has quit (Ping timeout)
13:59:05 <flo> aleth: when the non-context messages take less than the available vertical space in the browser, scrolling to the previous section scrolls immediately to the top of the conversation, but then scrolling to the next section puts the first non-context message in the middle, and I have to scroll another time to the next section to go back where I was initially
14:00:02 <flo> hmm, I guess that only happens when the non-context messages take more than half of the browser vertical space
14:02:04 <aleth> flo: Yes, this is intentional (if rare) because scrolling up and down are not entirely symmetric. If the first noncontext ("unread") message is already on the screen, then scrolling up jumps to the beginning. If it is not, it will jump to center it so you have context. 
14:02:32 <aleth> So it can happen that it takes 2 steps to scroll to the beginning and 3 steps to scroll to the end
14:04:15 <aleth> (1 or 2 keypresses respectively)
14:05:44 <flo> aleth: I understand why the code produces that result.
14:05:47 <flo> But it just seems odd when using it
14:06:06 <aleth> I was trying to explain the thinking behind it
14:06:50 <flo> I'm used to swiping in a direction then in the opposite direction very quickly to just see briefly something, and I'm always surprised when I don't end up where I was first
14:07:37 <aleth> Right. The problem is that to make it symmetric you would have circumstances where pressing Alt-PgUp actually scrolls down. Which is even weirder.
14:08:33 <flo> no, you can take it the other way: skip the middle step while scrolling down when we can display all non-context messages
14:09:31 <aleth> That would be possible, but then you would lose some context. Is that better?
14:10:06 <aleth> It might be... I wonder what feels more "natural" if you don't know what to expect.
14:10:24 <flo> It's not perfect, but I think it would be better
14:12:05 <flo> something that also frequently surprises me is that the first non-context message isn't in the middle, but at 2/3 of the display area, or even lowers down, because what has been centered is a system message (and as we force context and non-context system messages to be in separate bubbles, system messages take a lot of space)
14:12:14 <flo> I'm not sure we can do anything about that though :-/
14:12:22 <aleth> Yes, that bugged me too :/
14:13:03 <aleth> I wish I had a macbook and could 'swipe' as its a much nicer interface than Alt+Key
14:13:36 <flo> that may now be supported on more machines than just macbooks
14:14:39 <aleth> You'll have a better sense than I as a consequence of what feels "natural". There is always a little forced pause before you get your fingers onto Alt and PgUp
14:15:12 * aleth should remember to write that navigation 'bug'
14:15:34 <flo> aleth: maybe you can make it work with alt+mouse wheel too?
14:15:53 <flo> (ctrl+wheel is already taken for the zoom, right?)
14:16:25 <aleth> Yes, Ctrl+Wheel is taken. Though I don't know if people actually use keyboard+mouse combinations
14:17:02 <flo> just forget these people then. Would *you* like it?
14:17:11 <aleth> I don't think I'd use it
14:17:52 <aleth> But I'm sure we'll all get touch interfaces one way or another before too long...
14:18:24 <flo> probably before getting OSes that can reliably remove files, yes :-D
14:19:16 <flo> https://bugzilla.mozilla.org/show_bug.cgi?id=703929 -> FIXED! \o/
14:21:38 <aleth> :)
14:22:01 <aleth> Though before I clicked I hoped it would be the DNS SRV one...
14:22:20 <flo> there wouldn't be that many digits in the bug number ;)
14:22:32 <flo> the SRV one is https://bugzilla.mozilla.org/show_bug.cgi?id=14328
14:23:19 <aleth> Clearly being required for TB hasn't un-stalled that one :/
14:23:51 <aleth> The only bug I've only seen that has people offering cash prizes...
14:23:56 <aleth> s/only/ever
14:24:20 <flo> there's also the skype-in-Adium ticket with people offering money
15:15:10 --> hunsly has joined #instantbird
15:16:53 --> ecaron has joined #instantbird
15:21:21 --> Mic has joined #instantbird
15:21:21 * ChanServ sets mode +h Mic 
15:21:31 <-- mmkmou has quit (Ping timeout)
15:36:52 --> mmkmou has joined #instantbird
15:40:37 <Mic> No recent activity on the delete bug on BMO .. :(
15:41:50 <flo> do you still believe in Santa? :-P
15:46:44 <Mic> I don't think it would help ;)
15:48:00 <Mic> If all else fails, I could make it a Christmas-wish to have nightly builds.
15:48:12 <Mic> Not only on niche-OS' of course!
16:23:06 --> waynenguyen has joined #instantbird
16:28:11 --> wesj has joined #instantbird
16:48:30 <-- Mic has quit (Connection reset by peer)
16:52:46 <-- mmkmou has quit (Ping timeout)
17:04:47 --> igorko has joined #instantbird
17:08:36 --> mmkmou has joined #instantbird
17:19:49 <-- Tomek has quit (Quit: Instantbird 1.1)
17:33:08 <-- mmkmou has left #instantbird ()
17:42:51 <-- Even has quit (Quit: Instantbird 1.2a1pre)
17:50:31 * flo has just sent his first IM from Thunderbird :-)
17:54:17 --> Mook_as has joined #instantbird
17:58:53 --> Mic has joined #instantbird
17:58:53 * ChanServ sets mode +h Mic 
18:00:26 <-- flo has quit (Quit: Instantbird 1.2a1pre)
18:01:45 <Mic> flo: congratulations, that's great! :)
18:01:49 <-- jb has quit (Connection reset by peer)
18:03:53 <-- gerard-majax has quit (Ping timeout)
18:15:45 <-- chrisccoulson has quit (Connection reset by peer)
18:16:42 <-- Mic has quit (Connection reset by peer)
18:25:28 --> clokep has joined #instantbird
18:25:28 * ChanServ sets mode +h clokep 
18:49:08 --> gerard-majax has joined #instantbird
18:54:26 <-- waynenguyen has quit (Quit: Instantbird 1.2a1pre)
19:01:12 <clokep> flo: Congrats about sending a message. :)
19:01:19 <clokep> Who'd you send it to? (Yourself? :P)
19:06:28 --> mmkmou has joined #instantbird
19:24:58 --> Tomek has joined #instantbird
19:27:36 <-- mmkmou has left #instantbird ()
19:28:13 <aleth> flo :) was it "Hello World!" ? :P
19:30:07 <instantbot> clokep@gmail.com requested review from florian@instantbird .org for attachment 1085 on bug 1199.
19:30:10 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1199 enh, --, ---, clokep, ASSI, Only notify prplIAccounts of status changes when enabled
19:36:34 --> BlueMaxima has joined #instantbird
21:19:00 --> chrisccoulson has joined #instantbird
21:25:12 <-- igorko has quit (Quit: Instantbird 1.1)
21:39:22 <-- SM0TVI has quit (Quit: I view things as they are, without regard to place or person; my country is the world, and my religion is to do good. -- Thomas Paine (*1737 †1809))
21:44:58 --> SM0TVI has joined #instantbird
21:51:56 <instantbot> New Websites - www.instantbird.org bug 1208 filed by benediktp@ymail.com.
21:51:58 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1208 enh, --, ---, benediktp, NEW, log.bezut.info: highlight line in log when it was targetted
21:59:37 <-- hunsly has quit (Ping timeout)
22:09:28 --> flo has joined #instantbird
22:09:28 * ChanServ sets mode +qo flo flo 
22:23:35 <-- Mook_as has quit (Ping timeout)
22:30:02 --> Mook_as has joined #instantbird
22:32:51 <-- Mook_as has quit (Ping timeout)
23:00:23 --> Mook_as has joined #instantbird
23:15:02 <clokep> Mic: That would be helpful. :) It's also be nice if it had a real search. :( I wonder what he's using to get the logs / display them / I wonder if it could be changed.
23:15:41 <flo> I think he wrote the code himself for the display (so probably in PHP)
23:15:49 <flo> and they are written by the bot (written in perl)
23:18:17 <clokep> Right, but I meant how they're stored, is it just text, etc.?
23:37:51 <flo> Good night
23:38:44 <-- Tomek has quit (Quit: Instantbird 1.1)