#instantbird log on 06 12 2013

All times are UTC.

00:00:58 * qheaden_away is now known as qheaden
00:01:25 <qheaden> I'm back.
00:01:40 <qheaden> Thought I was going to be away for a shorter time. Guess I was fooled. :)
00:07:08 <clokep> Right.
00:13:20 <qheaden> clokep: Did you see my last commit where I moved ArrayBufferSplit?
00:13:28 <clokep> qheaden: Yes.
00:13:37 <qheaden> Ok, great.
00:15:12 <-- clokep has quit (Ping timeout)
00:15:50 --> clokep has joined #instantbird
00:15:50 * ChanServ sets mode +o clokep 
00:32:52 <-- nhnt11 has quit (Ping timeout)
00:36:08 <qheaden> clokep: It looks like I'm going to have to iterate through some keys to interpret the friends list.
00:36:37 <qheaden> The keys are associated with one another as contact fields, and they are repeated.
00:38:51 <clokep> qheaden: I know very little about that, sorry.
00:41:22 <qheaden> clokep: I'll start writing some tests tomorrow for login.
00:42:01 <clokep> qheaden: Wait, sorry... I totally thought you were nhnt11. :)
00:42:13 <clokep> qheaden: These keys are in that XML document?
00:42:14 <qheaden> :)
00:42:24 <clokep> Tests are good!
00:42:32 <instant-buildbot> build #877 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/877
00:43:08 <qheaden> clokep: Some keys are there, but I'm also receiving some keys that aren't documented. My guess is that they are possible delimiters or something.
00:44:06 <clokep> Can you figure it out? :)
00:44:36 <qheaden> clokep: Based on my experience using it a few days ago, it seems that WireShark understands the Yahoo protocol, and it decodes the packets to extract field names and values. So perhaps I can use that.
00:44:44 <qheaden> I can't seem to make sense of the values myself.
00:45:00 <qheaden> Although more experimentation is needed.
00:46:39 <clokep> Cool. :)
00:50:10 <-- qlum has quit (Quit: Getting the <censored> out.)
00:58:35 <-- dionisos has quit (Ping timeout)
01:02:29 <-- Mook_as has quit (Quit: Mook_as)
01:12:56 --> mconley has joined #instantbird
01:14:45 <wnayes> clokep: It's going well! :) It's interesting to see how a (really big!) company operates compared to a project this size.
01:15:08 <clokep> wnayes: Yes. :) It is. Let us know when you get bored. ;)
01:17:28 <-- wnayes has quit (Ping timeout)
01:20:47 --> wnayes has joined #instantbird
01:34:07 <wnayes> It's not easy to think about more programming by the end of the work day :)
01:35:21 <qheaden>  wnayes: I don't want to be nosy, but which company are you working for?
01:35:53 <wnayes> qheaden: Epic (a electronic medical records company)
01:36:09 <qheaden> wnayes: Wow! That sounds cool. :)
01:36:32 <clokep> wnayes: Yeah. :P But Instantbird is /fun/ programming. ;)
01:36:40 * clokep programs all day at work.
01:36:40 <qheaden> :)
01:36:43 <clokep> When I'm not bossing around interns. :P
01:37:10 * qheaden is amazed how clokep has a day job and time for Ib development.
01:38:58 * clokep is sad he hasn't done a patch in a while. :(
01:41:04 <qheaden> clokep: I'm going to stop right here (due to extreme tiredness) and continue bright and early tomorrow.
01:41:32 <clokep> qheaden: Bright and early at 11? :P
01:41:43 <qheaden> lol
01:41:54 * clokep gets up at 6am. ;)
01:41:58 <qheaden> I'm going to try to get up earlier than that tomorrow. :)
01:43:05 <-- wuwei|offline has quit (Connection reset by peer)
01:43:06 <qheaden> Well, goodnight everyone. :)
01:43:33 --> wuwei|offline has joined #instantbird
01:44:13 * qheaden is now known as qheaden_away
01:44:23 <wnayes> qheaden: Goodnight :) I'd like to try the GSOC projects out as the summer progresses.
01:45:00 <wnayes> Maybe I can help with reviews or something :)
01:45:20 <clokep> Of course! Feel free to drive by.
02:01:31 <-- clokep has quit (Ping timeout)
02:10:43 <dew> think I found another leak?
02:13:44 <EionRobb> who's doing drive-by's on clokep?
02:21:50 --> Mook has joined #instantbird
02:24:30 <-- wnayes has quit (Quit: wnayes)
02:25:53 --> nhnt11_phone has joined #instantbird
02:26:56 <-- nhnt11_phone has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
02:59:42 <-- wuwei|offline has quit (Connection reset by peer)
03:00:10 --> wuwei|offline has joined #instantbird
03:04:06 --> clokep has joined #instantbird
03:04:06 * ChanServ sets mode +o clokep 
03:06:02 <clokep> EionRobb: wnayes, apparently.
03:08:01 <-- mconley has quit (Input/output error)
03:09:35 <-- Optimizer has quit (Connection reset by peer)
03:13:56 --> Optimizer has joined #instantbird
03:15:00 <instant-buildbot> build #878 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/878
03:15:28 <-- clokep has quit (Connection reset by peer)
03:16:46 --> nhnt11_phone has joined #instantbird
03:17:59 <nhnt11_phone> Something came up, I probably can't be around today.
03:18:12 <-- nhnt11_phone has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
03:27:10 --> Kaishi has joined #instantbird
03:34:52 <-- Kaishi has quit (Quit: Kaishi)
03:35:49 <instant-buildbot> build #972 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/972
03:50:57 <instant-buildbot> build #870 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/870
04:08:29 --> mconley has joined #instantbird
04:14:41 <-- mconley has quit (Ping timeout)
04:49:33 <-- wuwei|offline has quit (Connection reset by peer)
04:50:05 --> wuwei|offline has joined #instantbird
05:24:13 <-- EionRobb has quit (Ping timeout)
05:25:35 --> gerard-majax_ has joined #instantbird
05:48:38 <-- gerard-majax_ has quit (Ping timeout)
06:01:24 --> gerard-majax_ has joined #instantbird
06:05:22 <-- gerard-majax_ has quit (Ping timeout)
06:12:26 --> jb has joined #instantbird
06:13:41 <-- Mook has quit (Quit: Mook)
06:50:46 <-- jb has quit (Ping timeout)
07:07:09 <-- Optimizer has quit (Ping timeout)
07:12:20 <instant-buildbot> build #973 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/973
07:13:13 --> gerard-majax_ has joined #instantbird
07:16:49 --> gerard-majax__ has joined #instantbird
07:17:00 <-- gerard-majax_ has quit (Ping timeout)
07:26:24 --> EionRobb has joined #instantbird
07:28:43 --> Optimizer has joined #instantbird
08:12:20 --> dionisos has joined #instantbird
08:16:54 <-- wuwei|offline has quit (Connection reset by peer)
08:17:26 --> wuwei|offline has joined #instantbird
08:20:49 --> mpmc has joined #instantbird
08:24:34 --> sabret00the_ has joined #instantbird
08:24:47 <-- sabret00the has quit (Ping timeout)
08:33:53 --> Mic has joined #instantbird
08:33:54 * ChanServ sets mode +h Mic 
08:59:56 --> novabyte has joined #instantbird
09:01:59 * Mic shouldn't have commented on the UX pad yet :(
09:11:05 --> flo-retina has joined #instantbird
09:11:06 * ChanServ sets mode +qo flo-retina flo-retina 
09:15:15 --> jb has joined #instantbird
09:35:03 <-- mpmc has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
09:35:06 --> mpmc has joined #instantbird
09:48:29 --> aleth has joined #instantbird
09:48:29 * ChanServ sets mode +h aleth 
09:49:20 --> nhnt11_phone has joined #instantbird
09:51:37 <nhnt11_phone> Mic: I guess you're right about not worrying about implementation details right now. Also I can't read all your comments because the etherpad doesn't scroll on firefox for android and I may not be home for a while still.
09:56:13 <-- nhnt11_phone has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
10:02:49 <aleth> nhnt11: "But on the other hand, mCurrentTab and selectedTab can be different! mCurrentTab is used for referring to the previous tab when switching away from it - it is then set back to selectedTab after the processing is done. selectedTab always refers to the currently selected tab." <--- this is a good example of something that should be stated in a comment somewhere ;)
10:03:35 <aleth> nhnt11: I did not suggest renaming those fields, I suggested asking flo whether he was OK with your slightly changed naming scheme ;)
10:04:51 --> clokep has joined #instantbird
10:04:51 * ChanServ sets mode +o clokep 
10:07:11 --> clokep1 has joined #instantbird
10:07:41 <-- clokep has quit (Ping timeout)
10:09:32 <-- jb has quit (Connection reset by peer)
10:09:33 --> jb has joined #instantbird
10:11:21 <-- jb has quit (Ping timeout)
10:25:27 <Mic> nhnt11: http://pastebin.instantbird.com/220486
10:26:42 <-- dionisos has quit (No route to host)
10:27:39 --> qlum has joined #instantbird
10:28:11 <-- qlum has quit (Quit: Getting the <censored> out.)
10:28:14 --> qlum has joined #instantbird
10:41:31 * qheaden_away is now known as qheaden
10:42:20 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
10:42:35 <qheaden> Hello everyone!
10:48:05 <clokep1> flo-retina: Did you see the thing on the mailing list? I think you were complaining of something similar?
10:54:07 <-- clokep1 has quit (Connection reset by peer)
10:54:08 --> clokep has joined #instantbird
10:54:08 * ChanServ sets mode +o clokep 
10:54:38 <clokep> Hmm...well that was fun.
10:54:45 <clokep> Don't do "/nickserv foo\nbar"
10:55:05 <-- wuwei|offline has quit (Connection reset by peer)
10:55:23 <aleth> Wouldn't that just arrive as "/nickserv foo" and then "boo'? :-/
10:55:37 --> wuwei|offline has joined #instantbird
10:59:03 <qheaden> clokep: So there are absolutely no tests for any of the JS protcols? Or am I just looking in the wrong part of the source tree?
11:01:57 <aleth> qheaden: e.g. /chat/protocols/irc/test
11:02:00 <clokep> qheaden: IRC has a bunch of tests.
11:02:07 <clokep> qheaden: Where are you looking?
11:02:15 <clokep> aleth: No, why would it do that?
11:02:34 <aleth> clokep: We split on newlines before sending?
11:02:44 <qheaden> clokep: Oh okay, thanks. I was just randomly looking at other protocols.
11:02:54 <clokep> aleth: But we're not sending the message, it goes to the command handler.
11:03:01 <aleth> clokep: Ah! right.
11:07:00 <clokep> aleth: It's possible we should split there too though, I'm unsure if that's a bug or not.
11:07:03 <-- clokep has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
11:09:19 --> nhnt11_phone has joined #instantbird
11:09:46 <nhnt11_phone> clokep: That would break my pastebin addon, so I say its a feature ;)
11:16:10 <-- nhnt11_phone has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
11:20:55 <-- EionRobb has quit (Quit: Leaving.)
11:21:06 --> EionRobb has joined #instantbird
11:22:56 <-- EionRobb has quit (Ping timeout)
11:28:47 --> jb has joined #instantbird
11:44:25 <-- aleth has quit (Quit: Ciao)
11:44:30 --> aleth has joined #instantbird
11:44:31 * ChanServ sets mode +h aleth 
11:48:27 --> dionisos has joined #instantbird
11:51:58 <-- gerard-majax__ has quit (Connection reset by peer)
11:57:33 --> clokep has joined #instantbird
11:57:33 * ChanServ sets mode +o clokep 
11:58:56 <-- clokep has quit (Quit: http://www.mibbit.com ajax IRC Client)
12:00:04 --> clokep_work has joined #instantbird
12:00:04 * ChanServ sets mode +o clokep_work 
12:00:35 * clokep_work mumbles about dynamic IPs...
12:01:53 <clokep_work> nhnt11: How would that break your pastebin add-on? :-S
12:02:07 <clokep_work> AFAIK that has nothing to do with sending to memoserv.
12:09:29 <-- clokep_work has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
12:09:50 --> clokep_work has joined #instantbird
12:09:50 * ChanServ sets mode +o clokep_work 
12:12:42 <clokep_work> qheaden: How are you planning to write the test?
12:14:18 --> nhnt11_phone has joined #instantbird
12:14:44 <nhnt11_phone> clokep: sorry i misunderstood. It wouldnt brsak
12:14:48 <nhnt11_phone> Break*
12:16:24 <clokep_work> No problem.
12:16:33 * clokep_work is glad he has decent internet. ;)
12:17:30 <-- nhnt11_phone has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
12:25:34 <-- jb has quit (Ping timeout)
12:25:47 <qheaden> clokep_work: My plan is to create some sort of mock class that simulates the behavior of a YMSG server, sends data to the YahooSession and YahooLoginHelper classes.
12:26:12 <clokep_work> qheaden: You should look at the fakeservers in Firefox/Thunderbird.
12:26:55 <clokep_work> bug 1578 has information on this, I think.
12:26:58 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1578 nor, --, ---, nobody, NEW, Implement an ircd fakeserver
12:27:49 <clokep_work> Not sure how useful that is, as most protocols there are line based, not binary.
12:35:25 <qheaden> clokep_work: Perhaps we can modify it for binary based stuff.
12:35:54 <clokep_work> qheaden: Hopefully!
12:45:11 * clokep_work would still really like to make an IRC one at some point. :(
12:46:27 --> gerard-majax has joined #instantbird
12:51:57 <qheaden> clokep_work: Something tells me making a fakeserver will complicate matters, since login spans TCP and HTTP.
12:52:29 * clokep_work isn't sure why that matters...
12:53:07 <clokep_work> If you want to start with tests that just test specific functions, etc. that's fine.
12:53:41 <qheaden> clokep_work: I'll do it that way, but I will still investigate fakeserver and how we can possibly move over to it.
12:55:34 <clokep_work> OK
12:55:52 <clokep_work> There's also an HTTP one, by the way.
12:57:41 <qheaden> Okay.
12:59:22 <-- clokep_work has quit (Ping timeout)
13:04:53 --> Kaishi has joined #instantbird
13:07:26 <-- wuwei|offline has quit (Connection reset by peer)
13:07:57 --> wuwei|offline has joined #instantbird
13:18:04 --> clokep_work has joined #instantbird
13:18:04 * ChanServ sets mode +o clokep_work 
13:18:31 <instantbot> New Core - General bug 2000 filed by jahkae@gmail.com.
13:18:33 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2000 nor, --, ---, nobody, UNCO, New Google hangout users are shown to be typing when in fact they are not
13:21:56 <clokep_work> Lame bug 2000. :(
13:22:00 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2000 nor, --, ---, nobody, UNCO, New Google hangout users are shown to be typing when in fact they are not
13:24:22 <qlum> Not only a lame bug but also not a bug in instantbird
13:27:01 <clokep_work> We should try to mitigate it if possible, but yes.
13:28:35 <qheaden> clokep_work: My mom was getting annoyed with bug 2000 just the other day.
13:28:38 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2000 nor, --, ---, nobody, UNCO, New Google hangout users are shown to be typing when in fact they are not
13:29:11 <clokep_work> qheaden: I get annoyed by it all the time, but it isn't a bug in Instantbird, it's Google releasing shit products.
13:30:51 <qheaden> It's just in secret beta. ;)
13:31:31 <clokep_work> It's also awful to use. :-/
13:31:40 <clokep_work> Even my friends who all drink the Google juice think so.
13:32:24 <qheaden> Yeah, I'm not a fan of it. And on Android, they automatically replaced the talk app with hangouts app.
13:36:18 <qheaden> clokep_work: I just wrote a successful test for YahooPacket.toArrayBuffer().
13:36:36 <clokep_work> Although I can't find any references to this being a bug...
13:39:02 <qheaden> clokep_work: Perhaps there were some protocol changes on their end in this area?
13:41:09 <clokep_work> qheaden: Can you please not ping me every message? Thanks.
13:41:32 <qheaden> Sorry about that.
13:41:45 <clokep_work> Something changed, I don't know if it's a bug in the Google Hangouts server or in one of the clients, but it's annoying.
13:41:59 --> mconley has joined #instantbird
13:42:08 <clokep_work> It's possible they're interpreting a spec differently, but I'd be surprised.
13:42:14 * clokep_work thinks it seems to happen after we receive a message.
13:42:26 <clokep_work> So I think when they send a message they don't feel it's necessary to send the "not typing" signal anymore.
13:43:45 <qheaden> Possibly.
13:46:30 <qheaden> Something tells me they are going to slowly stop supporting their XMPP proto, but I hope I'm wrong.
13:47:38 <qlum> Sounds to plausible to be wrong
13:48:11 * clokep_work is tired of people asking about that.
13:48:16 <clokep_work> We can't read their minds. :P
13:48:52 <qheaden> Me - "Why are you dropping support for XMPP?"; Google - "Our protocol was in beta the whole time." :)
13:55:47 <clokep_work> mconley: You ever used async.js?
13:56:04 <mconley> clokep_work: I have not, sorry!
13:56:44 <clokep_work> mconley: I wasn't asking for help. ;) Just saying I was playing with it and have generally found it to be easier to understand than whatever that promise library is you're using. :)
13:56:55 * clokep_work assumes it's not as powerful in some way.
13:56:59 <clokep_work> But it suits my purposes.
13:57:02 <mconley> clokep_work: cool - added to my reading list. :)
13:59:25 --> nhnt11 has joined #instantbird
13:59:41 <nhnt11> Hello
14:01:42 <clokep_work> Mic: Your sesion restore add-on seems to be rotting. :( It keeps doing weirder things the longer I use it.
14:02:06 <-- clokep_work has quit (Input/output error)
14:02:57 <nhnt11> qheaden: I uninstalled the hangouts app ;)
14:03:06 <nhnt11> It's slow, and I need to see online status
14:03:14 <-- Kaishi has quit (Quit: Kaishi)
14:03:24 <qheaden> nhnt11: Did it restore Talk?
14:03:50 --> clokep_work has joined #instantbird
14:03:50 * ChanServ sets mode +o clokep_work 
14:03:51 <nhnt11> qheaden: Yes. "Uninstall app updates" in app settings
14:04:08 --> jb has joined #instantbird
14:04:35 <nhnt11> Btw, clokep_work, qheaden, bug 2000 is probably solved by clearing the typing indicator when a message is received (I think I mentioned this before?)
14:04:39 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2000 nor, --, ---, nobody, UNCO, New Google hangout users are shown to be typing when in fact they are not
14:04:43 <nhnt11> Maybe I'll try and fix it
14:04:52 <clokep_work> nhnt11: I said that a few minutes ago. :)
14:05:07 <clokep_work> nhnt11: The question is...is that the /right/ thing to do or not.
14:05:30 <nhnt11> clokep_work: Yeah I was reading the logs simultaneously, saw it now.
14:05:33 <clokep_work> (I.e. someone should go read the XEP on typing notifications.)
14:06:11 <flo-retina> "Did you see the thing on the mailing list? I think you were complaining of something similar?" what? Me, complaining? :-P
14:06:11 <nhnt11> How about writing an addon as a temporary fix and attaching it to the bug?
14:06:22 <flo-retina> (not even what that was about, btw)
14:06:27 <nhnt11> That way if it gets fixed by Google, the addon can just be uninstalled
14:11:02 <qlum> I'd say just add it into instantbird and delete it if google fixes it, especially if it would not cause any real issues when google fixes it
14:11:05 <clokep_work> nhnt11: The first step would be to check that we shouldn't be clearing that already. ;)
14:11:21 --> mconley_ has joined #instantbird
14:11:55 <-- mconley has quit (Ping timeout)
14:12:10 <qheaden> Does the same bug happen in other chat clients?
14:12:45 <flo-retina> clokep_work: which mailing list message were you referring to?
14:13:46 <clokep_work> flo-retina: The newest one about coming back from sleep.
14:13:50 <clokep_work> qheaden: I don't know.
14:13:56 * clokep_work doesn't use other chat clients. ;)
14:15:11 <qheaden> :)
14:15:31 <flo-retina> clokep_work: ah, I read that the other way around. I read that message, and noticed several hours later that things didn't reconnect properly when I was at the hotel
14:16:07 <flo-retina> hmm... and now that I'm thinking about it, it's possible that the hotel connection (requiring first typing a code in a silly webpage before being granted outside access) played a role in messing things up
14:16:57 <qheaden> clokep_work: Here's what I have so far on the packet tests - http://pastebin.mozilla.org/2515559
14:20:07 * nhnt11 wonders if Mic has gone through the latest patch on bug 426 yet
14:20:11 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=426 enh, --, ---, nhnt11, NEW, Add support for tabs with arbitrary content in the conversation window
14:20:24 <clokep_work> flo-retina: I've run into that beore, it's a PITA.
14:20:30 <nhnt11> I'm waiting for his comments before uploading a new patch...
14:20:44 <clokep_work> qheaden: I'll look in a bit.
14:21:09 <qheaden> ok
14:22:26 <clokep_work> qheaden: Don't oyu have code that splits up the dataString?
14:22:31 <clokep_work> If not, it looks fine except for nits.
14:22:32 <clokep_work> :)
14:25:54 <nhnt11> Okay, I'm signing off for today. Tomorrow I plan to get up early and start initial work on Awesometab :)
14:25:54 <qheaden> clokep_work: YahooPacket does build the string internally from key/value pairs, but I think for external testing, a full dataString is easier to deal with.
14:26:21 <qheaden> nhnt11: Take care.
14:26:26 <nhnt11> (I drew a couple mockups today when I had free time btw, I'll redraw them a bit neatly and post them tomorrow)
14:26:40 <nhnt11> Good night!
14:26:43 <-- nhnt11 has quit (Quit: Instantbird 1.4 -- http://www.instantbird.com)
14:27:02 --> Nirgali has joined #instantbird
14:27:44 <clokep_work> qheaden: Sorry, you're testing pack creation...
14:27:48 <clokep_work> I misread it.
14:27:54 <clokep_work> Shouldn't you check the full packet creation as well?
14:28:24 <qheaden> clokep_work: I did. I have a test for header creation, and a test for full packet creation.
14:28:36 <clokep_work> Ah, you are. :)
14:28:39 <clokep_work> Never mind.
14:28:59 * clokep_work was expecting a huge hex string to test against...
14:32:18 <qheaden> clokep_work: What were some of the nits you saw?
14:36:07 <qheaden> I'll be back in about an hour.
14:36:08 <clokep_work> qheaden: In general, we don't use { } around a single line of code.
14:36:14 <clokep_work> qheaden: And ++i not, i++
14:36:27 <qheaden> clokep_work: Okay, I'll fix that.
14:36:44 <clokep_work> And I always forget whether we do a line break between function foo() and {. :)
14:37:34 <qheaden> :)
14:37:39 * qheaden is now known as qheaden_away
14:40:14 * clokep_work wonders if https://addons.mozilla.org/en-US/firefox/addon/dnssd/ would be useful for bonjour at all...
14:40:50 <flo-retina> the name seems promising!
14:41:52 <clokep_work> The code is CRAZY.
14:41:56 <clokep_work> I can't figure out what it's doing. :(
14:42:02 <clokep_work> https://github.com/andrewtj/dnssd_extension
14:42:20 <clokep_work> I think it's using a npapi plug-in...but I don't know where that's from? (Maybe it's part of the Bonjour install?)
14:43:07 <clokep_work> Oh, it seems to use https://github.com/andrewtj/dnssd_npapi ?
14:43:58 <flo-retina> I was wondering if it could be using JSCtypes
14:44:01 <flo-retina> but apparently it's not
14:45:15 <clokep_work> Yeah. :(
14:45:51 * clokep_work isn't really sure what's necessary for it to "use" bonjour.
14:46:11 <clokep_work> (Like is it supposed to be like DNS SRV that it is, as far as I know, invisible to the requester?)
14:46:19 <clokep_work> Or is it something we have to monitor / handle ourselves.
14:49:26 * clokep_work assumes the latter since there's no "server" to connect to?
14:49:37 <flo-retina> ah, we got bug 2000 :)
14:49:41 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2000 nor, --, ---, nobody, UNCO, New Google hangout users are shown to be typing when in fact they are not
14:51:01 <-- mpmc has quit (Connection reset by peer)
15:01:32 --> iLobster has joined #instantbird
15:01:43 <-- aleth has quit (Quit: Ciao)
15:05:42 --> ehoogeveen has joined #instantbird
15:05:58 <-- ehoogeveen has left #instantbird ()
15:17:04 --> mpmc has joined #instantbird
15:19:24 * qheaden_away is now known as qheaden
15:25:21 <-- mpmc has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
15:25:24 --> mpmc has joined #instantbird
15:51:27 <-- gerard-majax has quit (Ping timeout)
15:57:05 <qheaden> Don't you hate when you think your newly written test perfectly passed, then realize you forgot to add it to the test queue? :P
15:57:29 <clokep_work> Or you forgot to save the file? ;)
15:58:08 <qheaden> That too!. :)
15:58:37 <Optimizer> or you forgot that you did not actually write any test and the passing tests are the already present tests ? ;)
15:59:12 <Optimizer> hey, btw, I just got an awesome idea... about the very delayed reopening of irc channels
15:59:23 <Optimizer> lets say my channel is closed and someone pinged me
15:59:46 <clokep_work> Optimizer: What do you mean the "very delayed reopening of irc channels"
16:00:11 <Optimizer> now in a 4000 message channel, it takes around 10-20 s to open the channel back to see the latest message in which someone pinged you and thus the window reopened
16:01:09 <clokep_work> Oh, right. I didn't know what you were referring to. :)
16:01:21 <Optimizer> so what we can do is to have an overlay popup 
16:01:27 <Optimizer> until all the messages are loaded
16:01:32 <Optimizer> the popup will contain the pinged message
16:01:44 <Optimizer> this will solve a lot of pain waiting for the message to appear
16:01:45 <clokep_work> That sounds like a hack.
16:01:53 <Optimizer> yeah..
16:06:53 <Optimizer> its not actually...
16:06:57 <Optimizer> its  UI
16:07:02 <Optimizer> not hack
16:07:35 <clokep_work> The proper solution is to just throw away old parts of the conversation...
16:10:13 <flo-retina> + speed up display of old messages
16:10:21 * flo-retina would like to profile that again someday
16:10:22 * qheaden got all of his packet tests to pass.
16:25:59 --> aleth_mob has joined #instantbird
16:27:07 --> gerard-majax has joined #instantbird
16:28:42 <-- aleth_mob has quit (Quit: used jmIrc)
16:30:46 <qheaden> Is it okay to write tests work with private class members?
16:32:12 --> Mook_as has joined #instantbird
16:39:52 <-- flo-retina has quit (Ping timeout)
16:40:26 --> flo-retina has joined #instantbird
16:40:26 * ChanServ sets mode +qo flo-retina flo-retina 
16:41:03 <-- gerard-majax has quit (Ping timeout)
16:45:48 <clokep_work> qheaden: Yes.
16:49:43 <clokep_work> qheaden: Made some comments, looks great overall though
16:51:06 <qheaden> clokep_work: Just read them. You work fast!  :P 
16:51:14 <qheaden> I'll fix those nits now.
16:51:18 <clokep_work> On my lunch hour right now. :)
16:52:16 <qheaden> So the subscript loader just loads all classes in the file into a namespace-like object?
16:53:42 <-- mpmc has quit (Connection reset by peer)
16:53:44 <clokep_work> qheaden: Pretty much.
16:53:52 <clokep_work> It loads all variables btw, not "classes" :)
16:54:02 <clokep_work> So if constants like packetId are in there, you can access those too.
16:54:16 <clokep_work> You shold add a test for that split function btw.
16:54:27 <clokep_work> One where YMSG is at th ebeginning, at the end, in the middle, etc.
16:54:37 <qheaden> Ahh okay. That works out well since I have a lot of constants defined in yahoo-session.jsm.
16:56:39 <clokep_work> Precisely. :)
17:00:20 <qheaden> clokep_work: This line is over 80 characters. How should I split it: http://pastebin.mozilla.org/2516047 ?
17:00:40 <clokep_work> qheaden: Just leave it.
17:00:49 <qheaden> OK.
17:11:33 <-- flo-retina has quit (Ping timeout)
17:16:17 --> flo-retina has joined #instantbird
17:16:17 * ChanServ sets mode +qo flo-retina flo-retina 
17:16:49 <qheaden> clokep_work: If a const is declared within a function, is it automatically global like using var?
17:17:55 <Mook_as> const is exactly the same as a var, except not writable
17:18:23 <qheaden> OK.
17:18:25 * Mook_as is intentionally avoiding the use of the word "global" :p
17:30:12 <instantbot> New Core - XMPP bug 2001 filed by jnovacho@yahoo.com.
17:30:15 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2001 blo, --, ---, nobody, UNCO, SSL handshake failed (-8172)
17:40:14 <-- novabyte has quit (Quit: bye bye)
17:47:44 * clokep_work wonders if there's anything to gain by requesting commit access.
17:50:19 <flo-retina> has something just suggested you should do it?
17:50:46 <clokep_work> No.
17:50:47 <flo-retina> I requested it after 2 peopled asked me in the same week if I needed them to checkin my patch for me
17:51:01 <clokep_work> I had been meaning to do it a while ago, but didn't.
17:51:02 <flo-retina> (and I'm assuming this is about hg.mozilla.org)
17:51:10 <clokep_work> Yes.
17:51:21 <flo-retina> (about ib, you should clearly have commit access; it's just unfortunate that we don't know yet how to handle it exactly :-S)
17:51:31 <flo-retina> I can vouch for you if you need someone ;).
17:51:43 <flo-retina> clokep_work: I guess pushing to try could be useful to you sometimes, couldn't it?
17:52:18 <-- jb has quit (Ping timeout)
17:52:32 <flo-retina> clokep_work: otherwise, checkin-needed is less work (and is pretty reliably these days, as I think there are people who's paid work includes handling that queue)
17:53:21 <clokep_work> flo-retina: Pushing to try could be useful on occasion, yes. I don't actually work on c-c or m-c often though.
17:53:35 <clokep_work> Once IB moves into c-c I'll want it. :)
17:54:06 <clokep_work> Yeah, commit access to IB would be nice. It was the nightly updates which was the issue, IIRC?
17:56:12 <clokep_work> http://blog.trillian.im/?p=2746
17:56:18 <clokep_work> Specs for Trillian's IM network.
17:57:42 <flo-retina> clokep_work: I think the issue is that we don't want people to push to the main code repository over https (which isn't (or wasn't?) very secure with mercurial), and giving an ssh account gives permissions to do almost anything on that machine
17:58:10 <flo-retina> (that's an issue for me too btw, I really shouldn't use the same authentication to push changesets and to administrate stuff on the machine...)
17:58:51 <flo-retina> (and by "almost anything", I just meant "anything relevant to instantbird", like the content of our websites (including at least www, ftp, hg, ...) ; not root access to the machine :)
17:58:58 <flo-retina> I don't think I'm root on that machine :)
18:00:38 <clokep_work> I hope you're not root on that machine. :P
18:01:34 <clokep_work> http://mercurial.selenic.com/wiki/CACertificates ?
18:03:26 <qheaden> Going for some lunch. Be back in a bit.
18:03:32 * qheaden is now known as qheaden_away
18:04:13 <clokep_work> Also that Trillian link is very much http://xkcd.com/927/
18:04:32 <Mook_as> pushing to inbound is not very much work either (it's pretty much just push blindly and assume the tree will be closed if necessary)
18:09:41 <clokep_work> That protocol seems fairly insane...
18:13:58 <-- flo-retina has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
18:17:16 --> jb has joined #instantbird
18:20:20 <-- jb has quit (Ping timeout)
18:21:20 * qheaden_away is now known as qheaden
18:49:31 --> gerard-majax has joined #instantbird
19:10:32 <qheaden> Can a const object in JS have its properties changed?
19:11:34 <clokep_work> No idea.
19:11:42 <clokep_work> You shouldn't be calling it const anyway though.
19:12:05 <qheaden> Yeah. I'll just use var then, since it is a global I need.
19:13:15 * clokep_work wonders what this is for.
19:13:55 <qheaden> clokep_work: I'm working on tests for YahooLoginHelper. I need to create a mock yahoo session and mock socket object. I can't just pass null to the constructor.
19:14:50 <clokep_work> OK. I guess I'm concerned that you're making globals, but I'll see why in the code, I'm sure.
19:20:03 * qheaden found a way around the global mock objects.
19:41:31 <clokep_work> :)
19:57:30 <-- iLobster has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
20:19:02 --> Kaishi has joined #instantbird
20:22:00 <-- clokep_work has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
20:33:38 --> Mic has joined #instantbird
20:33:38 * ChanServ sets mode +h Mic 
20:40:22 <-- Kaishi has quit (Quit: Kaishi)
20:43:46 <Mic> clokep: what problems are you seeing with session restore? The offline-at-startup problem is known (and I haven't fixed it yet). I suspect the order or notifications at shutdown changed somehow and that the add-on no longer is aware that the application is shutting down (it's stopping to store changes intentionally at this point).
20:43:58 <Mic> *order of
20:44:01 --> EionRobb has joined #instantbird
20:53:34 <Mic> Mouse batteries died and no replacements at hand :(
20:53:44 <Mic> Good night then ;)
20:54:47 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
20:59:47 --> Mic has joined #instantbird
20:59:48 * ChanServ sets mode +h Mic 
20:59:55 <-- Mic has quit (Input/output error)
21:00:23 --> Mic has joined #instantbird
21:00:24 * ChanServ sets mode +h Mic 
21:00:30 <-- Mic has quit (Input/output error)
21:01:47 --> Mic has joined #instantbird
21:01:48 * ChanServ sets mode +h Mic 
21:02:05 --> flo-retina has joined #instantbird
21:02:06 * ChanServ sets mode +qo flo-retina flo-retina 
21:02:30 <Mic> clokep: yes, the status is stored as offline in the preferences; that means it's happening at shutdown.
21:02:52 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
21:09:50 * qheaden is now known as qheaden_away
21:10:35 --> Kaishi has joined #instantbird
21:26:56 <-- flo-retina has quit (Ping timeout)
21:51:05 <-- mconley_ has quit (Input/output error)
21:54:28 <-- qheaden_away has quit (Ping timeout)
22:03:17 <-- qlum has quit (Quit: Getting the <censored> out.)
22:10:28 <-- Morian has quit (Ping timeout)
22:10:28 <-- Even has quit (Ping timeout)
22:10:30 --> instantbot has joined #instantbird
22:10:30 topic changed by gravel.mozilla.org to "Ask about Instantbird (http://instantbird.com) here!|Current version is Instantbird 1.4! :) |News: http://blog.instantbird.org/ |Nightlies: http://nightly.instantbird.im/ (for testing only) |IRC logs: http://log.bezut.info/ |Pastebin: http://pastebin.instantbird.org/ | Bugs: http://bugzilla.instantbird.org"
22:10:30 * ChanServ sets mode +o Even 
22:10:30 * ChanServ sets mode +v instantbot 
22:10:38 <-- gerard-majax has quit (Ping timeout)
22:11:37 <-- sabret00the_ has quit (Connection reset by peer)
22:12:00 <-- MMN-o has quit (Ping timeout)
22:12:08 --> sabret00the_ has joined #instantbird
22:12:14 <-- Even has quit (Ping timeout)
22:12:23 --> Even has joined #instantbird
22:12:34 <-- Kaishi has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- Mook_as has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- Nirgali has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- skeledrew has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- dew has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- douglaswth has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- micahg has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- Suiseiseki has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- ivan has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- spiffytech has quit (gravel.mozilla.org concrete.mozilla.org)
22:12:34 <-- Gizmokid2005 has quit (gravel.mozilla.org concrete.mozilla.org)
22:14:12 --> gerard-majax has joined #instantbird
22:14:50 --> Kaishi has joined #instantbird
22:14:50 --> Mook_as has joined #instantbird
22:14:50 --> Nirgali has joined #instantbird
22:14:50 --> skeledrew has joined #instantbird
22:14:50 --> dew has joined #instantbird
22:14:50 --> douglaswth has joined #instantbird
22:14:50 --> micahg has joined #instantbird
22:14:50 --> Suiseiseki has joined #instantbird
22:14:50 --> ivan has joined #instantbird
22:14:50 --> spiffytech has joined #instantbird
22:14:50 --> Gizmokid2005 has joined #instantbird
22:16:21 <-- GeekShadow has quit (Ping timeout)
22:16:59 <-- Kaishi has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- Mook_as has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- Nirgali has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- skeledrew has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- dew has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- douglaswth has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- micahg has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- Suiseiseki has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- ivan has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- spiffytech has quit (gravel.mozilla.org concrete.mozilla.org)
22:16:59 <-- Gizmokid2005 has quit (gravel.mozilla.org concrete.mozilla.org)
22:17:42 --> MMN-o has joined #instantbird
22:17:42 --> Kaishi has joined #instantbird
22:17:42 --> Mook_as has joined #instantbird
22:17:42 --> Nirgali has joined #instantbird
22:17:42 --> skeledrew has joined #instantbird
22:17:42 --> dew has joined #instantbird
22:17:42 --> douglaswth has joined #instantbird
22:17:42 --> micahg has joined #instantbird
22:17:42 --> Suiseiseki has joined #instantbird
22:17:42 --> ivan has joined #instantbird
22:17:42 --> spiffytech has joined #instantbird
22:17:42 --> Gizmokid2005 has joined #instantbird
22:22:27 --> GeekShadow has joined #instantbird
22:34:36 --> flo-retina has joined #instantbird
22:34:36 * ChanServ sets mode +qo flo-retina flo-retina 
22:56:53 <-- wuwei|offline has quit (Connection reset by peer)
22:57:18 --> clokep has joined #instantbird
22:57:18 * ChanServ sets mode +o clokep 
22:57:27 --> wuwei|offline has joined #instantbird
23:00:12 --> wnayes has joined #instantbird
23:05:31 <clokep> Mic: I randomly lose channels I join=ed > :(
23:05:47 <clokep> Shouldn't the status be savedwhen it changes? :-S
23:05:51 <clokep> (Also, yay netsplits!)
23:06:02 <clokep> EionRobb: Did you finish Trillian prpl yet? :P
23:06:44 <EionRobb> lol
23:06:49 <EionRobb> did they finish the docs yet? :P
23:07:35 <clokep> Hah, no. It looked like mostly just the login was documented.
23:07:40 <clokep> They had all the message types.
23:11:27 <clokep> Besides...who even uses that network that doesn't want to use Trillian? :P
23:11:57 <EionRobb> linux people?
23:12:44 <clokep> Why would they be using Trillian?
23:13:20 <EionRobb> well, they can't.. there's no trillian client on linux
23:17:18 --> qheaden has joined #instantbird
23:17:33 <-- wnayes has quit (Ping timeout)
23:17:54 * qheaden had a brief power outage. :-/
23:21:07 --> wnayes has joined #instantbird
23:41:27 * flo-retina liked this comment: http://blog.trillian.im/?p=2746#comment-31082
23:43:42 * clokep likes Eion's comment. ;)
23:45:05 <EionRobb> :)
23:45:35 <flo-retina> clokep: because it assumed an alternative implementation had already started? :-D
23:46:03 <clokep> I already gave him trouble about that. And a deadline. ;)
23:46:59 <flo-retina> Good night
23:47:01 <-- flo-retina has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
23:47:33 <-- wuwei|offline has quit (Connection reset by peer)
23:48:03 --> wuwei|offline has joined #instantbird
23:48:06 <clokep> qheaden: Looks like you're almost ready to start adding buddies! :)
23:58:04 <-- wuwei|offline has quit (Connection reset by peer)
23:58:34 --> wuwei|offline has joined #instantbird