#instantbird log on 02 06 2016

All times are UTC.

00:47:08 <-- bogdan_maris has quit (Ping timeout: 121 seconds)
01:05:23 <-- aleth has quit (Quit: Instantbird 47)
01:10:09 <-- myk has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
01:34:09 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
01:34:15 <-- arlolra has quit (Client exited)
01:45:37 <-- Bollebib has quit (Ping timeout: 121 seconds)
01:49:13 --> nhnt11 has joined #instantbird
01:49:13 * ChanServ sets mode +h nhnt11 
01:49:14 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
02:24:43 --> nhnt11 has joined #instantbird
02:24:43 * ChanServ sets mode +h nhnt11 
02:45:51 <-- mpmc has quit (A TLS packet with unexpected length was received.)
02:45:51 <-- Mnyromyr has quit (Connection closed)
02:59:00 <-- unghost has quit (A TLS packet with unexpected length was received.)
03:37:21 <-- nhnt11 has quit (Ping timeout: 121 seconds)
03:41:20 <instant-buildbot> build #3064 of macosx-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/3064
04:54:25 <instant-buildbot> build #595 of linux64-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/595
05:16:50 --> nhnt11 has joined #instantbird
05:16:50 * ChanServ sets mode +h nhnt11 
06:10:03 --> BWMerlin has joined #instantbird
06:18:01 <-- nhnt11 has quit (Ping timeout: 121 seconds)
07:28:11 --> PingWiN has joined #instantbird
07:30:10 <-- pWnnn has quit (Ping timeout: 121 seconds)
08:02:01 <-- Tonnes has quit (Quit: ChatZilla 0.9.92 [Firefox 44.0/20160123151951])
08:07:18 --> Tonnes has joined #instantbird
08:19:59 <-- EionRobb has quit (Quit: Leaving.)
08:20:25 --> EionRobb has joined #instantbird
09:20:11 --> bogdan_maris has joined #instantbird
09:27:54 --> abdelrhman has joined #instantbird
10:11:56 --> Bollebib has joined #instantbird
10:20:10 --> abdelrhman1 has joined #instantbird
10:22:08 <-- abdelrhman has quit (Ping timeout: 121 seconds)
10:22:08 * abdelrhman1 is now known as abdelrhman 
11:20:35 --> MikkCZ has joined #instantbird
11:26:12 --> mpmc has joined #instantbird
11:35:43 --> Mnyromyr has joined #instantbird
11:38:59 <-- MikkCZ has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
11:39:47 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.92 [SeaMonkey 2.39/20151103174305])
11:51:29 <-- PingWiN has quit (Ping timeout: 121 seconds)
12:19:41 <-- mpmc has quit (A TLS packet with unexpected length was received.)
12:39:50 --> aleth has joined #instantbird
12:39:51 * ChanServ sets mode +o aleth 
13:31:05 --> unghost has joined #instantbird
13:39:10 <-- aleth has quit (Ping timeout: 121 seconds)
13:41:30 --> aleth has joined #instantbird
13:41:31 * ChanServ sets mode +o aleth 
14:01:26 <-- abdelrhman has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
14:10:13 --> pWnnn has joined #instantbird
14:56:53 <-- aleth has quit (Ping timeout: 121 seconds)
14:58:05 --> aleth has joined #instantbird
14:58:06 * ChanServ sets mode +o aleth 
15:07:44 --> abdelrhman has joined #instantbird
15:13:23 <-- abdelrhman has quit (A TLS packet with unexpected length was received.)
15:34:25 --> Hadi has joined #instantbird
15:44:49 <-- Hadi has quit (Connection closed)
15:44:56 --> Hadi has joined #instantbird
16:04:51 --> PingWiN has joined #instantbird
16:06:41 <-- pWnnn has quit (Ping timeout: 121 seconds)
16:09:51 <-- aleth has quit (Ping timeout: 121 seconds)
16:12:13 --> mpmc has joined #instantbird
16:17:30 --> aleth has joined #instantbird
16:17:31 * ChanServ sets mode +o aleth 
16:25:38 --> CuriousLearner has joined #instantbird
16:39:30 <-- Hadi has quit (Connection closed)
16:39:38 --> Hadi has joined #instantbird
16:40:50 --> abdelrhman has joined #instantbird
16:47:29 --> clokep_work has joined #instantbird
16:47:29 * ChanServ sets mode +o clokep_work 
16:50:18 <CuriousLearner> clokep_work: ping
16:53:24 <clokep_work> CuriousLearner: pong
16:55:00 <CuriousLearner> clokep_work: I'm on this bug: 954463 My setup is now working with instant bird. Just wanted to know how do a user set preference modes in the UI?
16:55:06 <CuriousLearner> #954463
16:55:08 <clokep_work> bug 954463
16:55:12 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=954463 nor, --, ---, nobody, NEW, Autosetting User Mode in IRC
16:55:48 <clokep_work> CuriousLearner: So from previous discussion aleth and have had we don't think it makes sense to add to the UI and should just be a hidden preference
16:56:27 <CuriousLearner> clokep_work: so, how does the user set that hidden preference. There would be an option for the end-user to set the preference right?
16:56:42 <clokep_work> CuriousLearner: about:config
16:57:51 <CuriousLearner> clokep_work: okay
16:59:33 <clokep_work> Does that make sense?
17:02:16 <CuriousLearner> clokep_work: yes, I'm looking on it, actually never used instantbird before.
17:02:24 <CuriousLearner> I'll figure that out. Thanks for the help
17:02:25 <clokep_work> Alright.
17:02:35 <clokep_work> You can access about config by typing: /about config
17:02:40 <clokep_work> If you're on a nightly version.
17:03:40 <CuriousLearner> okay, but the build is of instantbird right? so now mach run would shoot up instant bird rather nightly?
17:05:11 <CuriousLearner> clokep_work: ^^
17:07:06 <-- abdelrhman has quit (Ping timeout: 121 seconds)
17:07:10 <clokep_work> CuriousLearner: "nightly" means "a  nightly build of instantbird"
17:07:13 <clokep_work> Instead of "Instantbird 1.5"
17:07:38 <CuriousLearner> clokep_work: ohh, okay. got that! Thanks
17:10:59 --> flo-retina has joined #instantbird
17:11:00 * ChanServ sets mode +qo flo-retina flo-retina 
17:12:22 <-- Hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:22:39 <CuriousLearner> clokep_work: so, after reading the preference in a variable, how do I set it? is there any method for it?
17:22:53 <clokep_work> CuriousLearner: What do you mean by 'set it'?
17:23:50 <CuriousLearner> so, if pref has a value named say autoUserMode, I'll read it into a variable right? then how do I actually make the value of usermode == autoUserMode
17:24:41 <CuriousLearner> I can see setUserMode
17:24:56 <CuriousLearner> method there, but couldn't understand the arguments it's expecting
17:25:26 <clokep_work> CuriousLearner: setUserMode is for setting the mode to what the server returns to us.
17:25:35 <clokep_work> You need to *send* the mode you want to the server.
17:26:10 <CuriousLearner> and how do I send it?
17:26:20 --> abdelrhman has joined #instantbird
17:26:46 <clokep_work> CuriousLearner: http://mxr.mozilla.org/comm-central/source/chat/protocols/irc/irc.js#1701
17:26:56 <clokep_work> abdelrhman: Congrats on finally getting that de-duplicate stuff landed. :)
17:27:03 <clokep_work> Awesome job.
17:28:50 <abdelrhman> Yeah ;) thanks clokep_work
17:31:10 <CuriousLearner> clokep_work: okay, thank you! Looking into it!
17:32:44 <clokep_work> CuriousLearner: I don't fully remember the format for sending the mode, you'll need to check the protocol documentation.
17:34:03 <CuriousLearner> okay
17:35:32 <-- mpmc has quit (A TLS packet with unexpected length was received.)
17:35:49 --> mpmc has joined #instantbird
17:48:00 <-- CuriousLearner has quit (Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160106234723])
17:52:53 <-- clokep_work has quit (Ping timeout: 121 seconds)
18:19:13 <-- aleth has quit (Ping timeout: 121 seconds)
18:20:47 <-- abdelrhman has quit (Ping timeout: 121 seconds)
18:25:33 --> CuriousLearner has joined #instantbird
18:28:36 --> Mnyromyr has joined #instantbird
18:51:21 --> aleth has joined #instantbird
18:51:22 * ChanServ sets mode +o aleth 
18:54:06 --> clokep_work has joined #instantbird
18:54:06 * ChanServ sets mode +o clokep_work 
19:09:54 <CuriousLearner> clokep_work: How can I add my own preference in about:config, I cannot see any option and a quick search didn't give any useful results
19:10:17 <clokep_work> CuriousLearner: Right click > New
19:11:13 <CuriousLearner> clokep_work: thanks
19:42:48 * clokep_work starts a clobber build. :-\
20:00:29 --> abdelrhman has joined #instantbird
20:01:01 <clokep_work> aleth: So...any thoughts on how to run a script that has access to XPCOM stuff for testing?
20:29:42 <aleth> clokep_work: xpcshell?
20:31:03 <-- CuriousLearner has quit (Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160106234723])
20:31:53 <clokep_work> Maybe.
20:31:57 <clokep_work> I've had issues with that actually working.
20:32:14 <clokep_work> Probably because you have to configure a lot of stuff in IB to use things properly.
20:32:28 <aleth> I'm not sure if outgoing net connections are blocked by default in xpcshell, that may be an issue
20:32:55 <aleth> Ah, I suppose the problem might be how to init the IB core from the shell in a way that works
20:32:56 <clokep_work> That'd be a weird decision choice...
20:33:19 <aleth> I wonder if you can provide a profile, that would make it easier
20:36:33 <clokep_work> Maybe.
20:36:41 <clokep_work> I'm not even sure how to start any Facebook work.
20:37:05 <clokep_work> I could maybe try to hook the Pidgin stuff up and reverse engineer it with Wireshark.
20:37:12 <clokep_work> But I need to pop SSL and stuff, which is a PITA.
20:42:01 <clokep_work> (So any thoughts would be appreciated...)
20:47:50 * clokep_work is feeling paralyzed and isn't sure how to start.
20:50:44 <aleth> Do you need to reverse engineer it? Is the code that opaque?
20:52:26 <clokep_work> It's fairly opaque. ;)
20:52:44 <clokep_work> The real issue is that when trying to convert it, I don't know if I'm generating the correct result or not.
20:52:49 <clokep_work> + I'm unsure how to test this.
20:54:59 <flo-retina> there's no documentation at all?
20:55:13 <flo-retina> (and for this question, code comments inside the .c files are considered 'documentation')
20:55:34 <clokep_work> There's some vague comments.
20:55:54 <clokep_work> Although https://bitbucket.org/pidgin/main/src/0fc4638f51ef4985b7778bba6a0d2b0bfd6b5d9f/libpurple/protocols/facebook/data.h?at=default&fileviewer=file-view-default#data.h-204 is pretty obvious what it does from the name.
20:55:59 <clokep_work> E.g. the comment doesn't *add* any information.
20:56:33 <flo-retina> I hate these pointless comments :(
20:56:48 <clokep_work> I'm more of having trouble figuring out how to start writing code.
20:57:01 <clokep_work> To the point that I'm considering doing it in Python since it will be easier to get started. :-\
20:57:43 <clokep_work> (I'm having trouble answering "How do I create an TLS socket that I can send arbitrary data over and quickly change and test?")
20:58:03 <aleth> can't you use socket.jsm for that from xpcshell?
20:58:17 <clokep_work> Maybe.
20:58:23 <clokep_work> I guess I'll try it.
20:58:56 <aleth> xmpp-session should have some TLS stuff in it, but it might be just as fast to roll your own
20:59:35 <flo-retina> socket.jsm supports that I think
20:59:48 <clokep_work> It does.
21:02:47 <aleth> of course you can do it in python and use pyXPCOM ;)
21:03:00 <clokep_work> Mook_as would like that.
21:03:07 <aleth> no doubt! 
21:03:58 <instantbot> New Chat Core - XMPP bug 1246431 filed by arlolra@gmail.com.
21:04:00 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1246431 nor, --, ---, nobody, UNCO, Only the domain is a required portion of the JID for !muc
21:04:04 <aleth> the fact the documentation says it's been "recently tested with Python 2.4" does not inspire confidence though ;)
21:12:36 <clokep_work> Loosk like I need to start w/ HTTP stuff actually.
21:26:29 <Fallen> aleth: the outgoing net connections thing is only if you set some special env variable which is set by automation
21:27:27 <clokep_work> instantbot: uuid
21:27:29 <instantbot> 6b5c271e-8c3c-40fe-a865-2004a3f4b52b (/msg instantbot cid for CID form)
21:38:48 <abdelrhman> clokep_work: nowadays I have some free time, I wonder if I can do anything that helps you for FB stuff :)
21:40:17 <clokep_work> abdelrhman: Thanks. Probably not until we have at least a skeleton.
21:43:32 <abdelrhman> OK
21:49:54 <clokep_work> flo-retina, aleth: So...any idea how I can keep xpcshell open until an HTTP request completes? :-D
21:51:30 <flo-retina> clokep_work: sure
21:51:42 <flo-retina> clokep_work: look at the BIO -> BMO conversion code, it did just that
21:51:52 <flo-retina> you need to spin an event loop
21:51:57 <clokep_work> Grosssssssss.
21:51:59 <clokep_work> But thanks. :)
21:52:45 <aleth> maybe using a Task for this would be a little more elegant
21:53:19 <flo-retina> I don't see how that would help, but "maybe"
21:53:45 <aleth> maybe only when using the fetch api
21:54:47 <aleth> the api might not be good enough for this kind of thing though
21:58:00 * clokep_work sighs.
22:00:14 <clokep_work> aleth, flo-retina: Anything obvious I'm doing wrong? http://pastebin.instantbird.com/2345883
22:02:01 <aleth> how are you running that?
22:02:02 <-- freaktechnik has quit (Ping timeout: 121 seconds)
22:02:02 <flo-retina> what's the output?
22:02:41 <clokep_work> aleth: ./obj-x86_64-apple-darwin14.5.0/dist/bin/xpcshell facebook.js
22:02:46 <clokep_work> You have to fill in a username/password obviously.
22:02:49 <clokep_work> flo-retina: There is no output.
22:03:06 --> freaktechnik has joined #instantbird
22:03:32 <flo-retina> clokep_work: if there's a syntax error you get some output, right?
22:03:44 <aleth> clokep_work: can't you use do_test_pending/do_test_finished? https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests#Async_tests
22:03:56 <aleth> note the first example
22:04:04 <flo-retina> aleth: does that work outside of tests?
22:04:15 <aleth> no ida
22:04:17 <flo-retina> (or are you suggesting developing this as a test?)
22:04:19 <clokep_work> flo-retina, aleth: Ah I have to do gPendingEvents++ after the httpRequest.
22:04:29 <aleth> oh haha
22:04:34 <clokep_work> Swapping lines 109 and 110 did it.
22:04:35 <aleth> that's simpler ;)
22:04:59 <flo-retina> I don't understand why that changes anything :-S
22:05:11 <clokep_work> :) I just got a text from Facebook with my security code. ;)
22:05:13 <aleth> flo-retina: but yeah, I was suggesting test-based development
22:05:39 * clokep_work wonders if EionRobb knows if that code supports 2FA.
22:06:40 <clokep_work> Oh fancy.
22:06:47 <clokep_work> Yo just do the same request but use the key as the password.
22:06:48 <clokep_work> BOOM.
22:06:54 <clokep_work> I'm such a l337 hackerz.
22:07:03 <flo-retina> :)
22:08:29 <clokep_work> Hm....does it make sense to start morphing thi sinto a prpl?
22:08:55 <clokep_work> abdelrhman: Do I recall you working on something with 2FA recently or am I crazy?
22:09:02 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.92 [SeaMonkey 2.39/20151103174305])
22:18:21 <flo-retina> clokep_work: as long as you preserve a way to run parts of it with xpcshell (eg. from tests), moving to a prpl seems a sane move
22:21:46 <abdelrhman> clokep_work: I haven't started yet, but there is a bug for that
22:22:23 <abdelrhman> bug 1238631
22:22:26 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1238631 nor, --, ---, nobody, NEW, Google talk cannot login when enable 2-factor auth
22:30:06 <clokep_work> Hm. Interesting.
22:30:07 <clokep_work> OK!
22:36:11 <clokep_work> This code is annoying to follow since it's all signal based.
22:54:51 <-- unghost has quit (A TLS packet with unexpected length was received.)
22:59:29 <clokep_work> aleth, flo-retina: Do you know if we have a good example of getting and parsing JSON data and handling the results and making more requests?
22:59:44 <flo-retina> still the BIO migration code ;)
22:59:48 <clokep_work> I find error checking JSON results to be tedious.
22:59:58 <flo-retina> or the twitter code... maybe
23:00:05 <aleth> The log reader, but that's from disk
23:00:12 <aleth> probably not very helpful
23:00:15 <clokep_work> I wonder if I can somehow wrap httpRequest in a Promise?
23:00:22 <aleth> That's the fetch api...
23:01:17 <aleth> Not sure how ready for production that is.'
23:01:34 <clokep_work> "fetch API"? Never heard of it.
23:02:08 <aleth> https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
23:03:30 <clokep_work> I don't think I want to use experimental APIs that are going to change on me.
23:03:35 <aleth> yeah
23:08:08 <clokep_work> aleth: Do we have examples of creating promises?
23:08:37 <aleth> umm... new Promise() ?
23:08:47 --> nhnt11 has joined #instantbird
23:08:47 * ChanServ sets mode +h nhnt11 
23:09:17 <clokep_work> Oh is that it? :)
23:09:22 <clokep_work> I didn't realize it was a built-in like that.
23:09:30 <aleth> surprisingly, no hits in chat/
23:09:45 <aleth> yeah, they're standard now https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
23:09:54 <clokep_work> Ah. :)
23:09:58 <clokep_work> I was about to ask which dev page to read!
23:10:04 <clokep_work> There's like six that are all different...
23:10:12 <aleth> That's why I linked to it ;)
23:10:46 <aleth> oh hello, check this out https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#Example_using_new_XMLHttpRequest%28%29
23:11:17 <aleth> looks a bit weird, but who knows, it might be helpful
23:13:11 <clokep_work> nhnt11: Hello.
23:13:27 <nhnt11> clokep_work: what's up
23:13:36 <clokep_work> aleth: Essentially what I'm going to do but without a shitty API! :-D
23:13:40 <clokep_work> nhnt11: Not much...
23:13:43 <clokep_work> Just working on somet hings.
23:13:54 * nhnt11 is reading the log
23:14:01 <clokep_work> I'll get an r- if I edit an input object right?
23:14:09 <clokep_work> What's our clever way of handling copying an object and then modifying it?
23:14:16 <flo-retina> ah, you are not going to "follow the standard Adapter pattern"? ;)
23:14:31 <aleth> Object.create?
23:14:53 <flo-retina> clokep_work: you'll get an r- if something else is keeping a reference to that object. If not, it's fine to modify it
23:16:19 <clokep_work> Hmm...
23:16:26 <clokep_work> but if I r? flo-retina I'll have to wait months. ;)
23:17:35 <clokep_work> nhnt11, aleth: Why does a Task have a |then| method?
23:17:36 <clokep_work> Seems weird.
23:17:53 <aleth> A Task returns a promise
23:18:03 <clokep_work> That seems silly.
23:18:09 <clokep_work> Well maybe not..
23:18:10 <aleth> Not really
23:18:18 <aleth> You might want to chain on the completion of the task
23:18:31 <clokep_work> But can't you just throw a bunch of yields in there?
23:18:38 <aleth> Sure
23:18:39 <clokep_work> I guess it depends on your design.
23:19:05 <clokep_work> Ah, the |then| lets you break out back to normal functions from promises, doesn't it?
23:19:44 <aleth> I'm not sure exactly what you mean. Promises use normal functions.
23:19:56 <aleth> Tasks use generator functions, so they yield.
23:20:18 <clokep_work> Yeah I understand that.
23:20:22 <clokep_work> Can you have a fat-arrow generator?
23:20:28 <clokep_work> ()* => {}?
23:20:36 * clokep_work pesters nhnt11 :P
23:20:39 <aleth> heh
23:21:05 <nhnt11> clokep_work: nope
23:21:05 <aleth> don't give them ideas ;)
23:21:11 <clokep_work> Seriously?
23:21:12 <clokep_work> That's stupid.
23:21:18 <nhnt11> Arrow functions can't be generators
23:21:39 <nhnt11> It's one of the few places I still use the function keyword these days.
23:22:52 <aleth> clokep_work: maybe you are looking for Task.async?
23:23:07 <aleth> That returns a function.
23:23:14 <clokep_work> Hmm...maybe.
23:23:20 <clokep_work> I'm not sure it matters for what I'm trying to do?
23:23:38 <aleth> It's usually what you want in practice, anyway
23:24:52 <clokep_work> nhnt11, aleth: Maybe take a peak at http://pastebin.instantbird.com/2345884?
23:24:57 <clokep_work> Search on _authenticate
23:25:01 <clokep_work> And see if what I'm doing makes any sense.
23:25:35 <nhnt11> clokep_work: What is this for? :O
23:25:43 <nhnt11> Are you writing a new prpl?
23:25:49 <clokep_work> nhnt11: Yes and you're reviewing it.
23:25:51 <nhnt11> I'll take a look in a minute
23:25:58 <clokep_work> ;)
23:27:35 <clokep_work> nhnt11: Actually http://pastebin.instantbird.com/2345885
23:27:40 <clokep_work> I added the yield I want to put.
23:28:14 <aleth> yeah, so you want Task.async instead of Task.spawn for readability
23:28:19 <clokep_work> (P.S. I haven't run this code yet, I want to know if the style event makes sense.)
23:28:52 <clokep_work> (The plan would then be to use |result| and make another HttpRequestPromise.
23:28:54 <clokep_work> )
23:29:21 <clokep_work> Also...whoever reviews this. I'm per-emptively saying I'm sorry for when Python style sneaks in. :)
23:29:54 <aleth> js-pytypes...
23:30:01 <nhnt11> clokep_work:  |let HttpRequestPromise = Task.async(function* (aUrl, aOptions) { [...] });|
23:30:10 <nhnt11> Ah, aleth already mentioned Task.async...
23:30:21 <clokep_work> I don't think so...
23:30:26 <clokep_work> nhnt11: What would that help w/? :pS
23:30:28 <clokep_work> :-S
23:30:36 <clokep_work> Isn't that the same as what I have essentially?
23:30:37 <aleth> I meant for _authenticate
23:30:42 <nhnt11> clokep_work: gets rid of the need to return a promise etc
23:30:53 <nhnt11> You save two spaces of indent
23:31:04 <nhnt11> aleth: Aha
23:31:10 <nhnt11> Yeah that definitely wants to be Task.async
23:31:38 <nhnt11> clokep_work: Task.spawn() spawns a task immediately, so your _authenticate isn't actually a function, it's a promise
23:31:58 <clokep_work> nhnt11: I get that.
23:32:06 <clokep_work> I don't understand how Task.spawn helps me for HttpRequestPromise.
23:32:14 <clokep_work> What would I set onLoad/onError to in that case?
23:32:19 <nhnt11> never mind
23:32:22 <nhnt11> about that
23:32:24 * aleth thinks it's too late here to make proper constructive comments
23:32:24 <EionRobb> sounds like you're having fun, clokep :)
23:32:45 <clokep_work> y'all are confusing me. :p
23:33:13 <aleth> that's probably because I'm yawning...
23:33:23 * nhnt11 is in the middle of a conversation with some people and trying to give you feedback at the same time
23:33:25 <nhnt11> Bad idea :P
23:38:08 <aleth> clokep_work: I still think _authenticate: Task.async(...) makes sense though. You even get 'this' set correctly for free, see https://dxr.mozilla.org/mozilla-central/source/toolkit/modules/Task.jsm#174
23:38:29 <clokep_work> aleth: I alraedy changed this...
23:41:21 <clokep_work> But it binding to this is a nice thing I didn't realize. :-D