#instantbird log on 05 09 2016

All times are UTC.

00:11:11 --> Alex2 has joined #instantbird
00:27:09 <abdelrhman> Fallen: here?
00:48:19 <-- abdelrhman has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
01:35:51 <-- nhnt11 has quit (Ping timeout: 121 seconds)
01:42:22 <-- mpmc has quit (A TLS packet with unexpected length was received.)
02:25:04 <instant-buildbot> build #3163 of macosx-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/3163
02:39:41 <-- EionRobb has quit (Ping timeout: 121 seconds)
02:43:12 --> EionRobb has joined #instantbird
02:57:20 --> nhnt11 has joined #instantbird
02:57:20 * ChanServ sets mode +h nhnt11 
03:01:23 <-- nhnt11 has quit (Ping timeout: 121 seconds)
03:02:37 --> nhnt11 has joined #instantbird
03:02:37 * ChanServ sets mode +h nhnt11 
03:47:48 <-- nhnt11 has quit (Ping timeout: 121 seconds)
03:57:03 <instant-buildbot> build #690 of linux64-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/690
05:28:00 --> bogdan_maris has joined #instantbird
05:54:40 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
05:58:07 --> chrisccoulson has joined #instantbird
06:08:41 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
06:10:08 <-- EionRobb has quit (Quit: Leaving.)
06:14:13 --> chrisccoulson has joined #instantbird
07:28:43 --> nhnt11 has joined #instantbird
07:28:43 * ChanServ sets mode +h nhnt11 
08:15:05 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
08:22:07 --> gerard-majax has joined #instantbird
08:42:10 <-- gerard-majax has quit (Ping timeout: 121 seconds)
09:17:21 --> aleth has joined #instantbird
09:17:22 * ChanServ sets mode +o aleth 
09:28:46 <-- Alex2 has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
09:46:47 --> flo-retina has joined #instantbird
09:46:47 * ChanServ sets mode +qo flo-retina flo-retina 
09:50:11 --> gerard-majax has joined #instantbird
09:55:25 <-- nhnt11 has quit (Ping timeout: 121 seconds)
10:41:25 --> mpmc has joined #instantbird
10:44:46 <flo-retina> bah, bug 954368 doesn't look like it requires much effort to review
10:44:48 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=954368 nor, --, ---, aleth, ASSI, Contact list entries don't adapt their height to the actual font size
10:44:51 <flo-retina> I hadn't even opened that attachement :(
10:56:08 --> EionRobb has joined #instantbird
11:11:29 --> abdelrhman has joined #instantbird
11:17:37 <-- abdelrhman has quit (Ping timeout: 121 seconds)
11:18:14 --> abdelrhman has joined #instantbird
11:20:51 <-- abdelrhman has quit (Connection closed)
11:21:26 --> abdelrhman has joined #instantbird
11:41:09 --> unghost has joined #instantbird
12:11:22 --> Mnyromyr has joined #instantbird
12:11:41 <abdelrhman> aleth: PromiseWorker seems better :)
12:15:05 <-- dustinm` has quit (Quit: Leaving)
12:19:16 <aleth> abdelrhman: I've never used them, so I don't know if it's a good fit, but it seemed worth taking a look ;)
12:20:19 <abdelrhman> I applied it (https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/PromiseWorker.jsm) and it made code simpler
12:23:14 <aleth> great
12:44:42 <-- abdelrhman has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
12:45:57 --> abdelrhman has joined #instantbird
13:04:11 <-- bogdan_maris has quit (Ping timeout: 121 seconds)
13:08:09 --> clokep_work has joined #instantbird
13:08:10 * ChanServ sets mode +o clokep_work 
13:25:29 --> dustinm` has joined #instantbird
13:28:09 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
13:30:14 <-- abdelrhman has quit (Connection closed)
13:30:25 --> abdelrhman has joined #instantbird
13:40:50 --> bogdan_maris has joined #instantbird
13:41:17 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
13:41:21 --> clokep_work has joined #instantbird
13:41:21 * ChanServ sets mode +o clokep_work 
13:59:19 --> flo-retina has joined #instantbird
13:59:19 * ChanServ sets mode +qo flo-retina flo-retina 
14:00:27 --> bgmCoder has joined #instantbird
14:41:53 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:31:49 <-- abdelrhman has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:53:41 --> arlolra has joined #instantbird
16:01:34 <-- gerard-majax has quit (Ping timeout: 121 seconds)
16:30:02 <-- arlolra has quit (Connection closed)
16:30:04 --> arlolra has joined #instantbird
16:30:56 --> gerard-majax has joined #instantbird
16:44:16 <-- gerard-majax has quit (Ping timeout: 121 seconds)
16:45:05 --> gerard-majax has joined #instantbird
16:51:53 --> nhnt11 has joined #instantbird
16:51:53 * ChanServ sets mode +h nhnt11 
17:14:01 <-- nhnt11 has quit (Ping timeout: 121 seconds)
17:15:16 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:18:17 --> gerard-majax has joined #instantbird
17:27:18 <-- arlolra has quit (Client exited)
17:27:20 --> arlolra has joined #instantbird
17:32:55 <-- Mnyromyr has quit (Ping timeout: 121 seconds)
17:37:12 <-- Mook_as has quit (Client exited)
17:37:28 --> Mook_as has joined #instantbird
17:39:53 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:44:41 <-- arlolra has quit (Client exited)
18:37:49 --> Mnyromyr has joined #instantbird
18:43:13 --> abdelrhman has joined #instantbird
18:47:15 <-- abdelrhman has quit (Ping timeout: 121 seconds)
18:48:04 --> abdelrhman has joined #instantbird
18:52:06 <-- abdelrhman has quit (Ping timeout: 121 seconds)
18:56:25 --> gerard-majax has joined #instantbird
19:10:37 --> abdelrhman has joined #instantbird
19:13:10 <-- abdelrhman has quit (Connection closed)
19:13:17 --> abdelrhman has joined #instantbird
19:17:28 <-- abdelrhman has quit (Connection closed)
19:17:44 <-- gerard-majax has quit (Ping timeout: 121 seconds)
19:23:34 --> abdelrhman has joined #instantbird
19:31:42 <clokep_work> flo-retina: So I started thinking of emulating the website instead of doing the MQTT stuff...because I got tired of parsing packets and stuff.
19:31:58 <clokep_work> I think emulating the website might be better because we don't have to worry about the low-level protocol, we can use standard HTTP stuff.
19:32:12 <clokep_work> But I see some potential problems, namely cookies.
19:32:17 <flo-retina> is that JSON?
19:32:26 <clokep_work> JSON + forms, I believe.
19:32:29 <flo-retina> for cookies I guess we would have the same problems as for Twitter?
19:33:01 <clokep_work> Additionally, I suspect (in my head) it's easier for Facebook to update their website (and thus the protocol used between the website and it's API) then it is for Facebook to update the protocol used by mobile apps and their API, however.
19:33:11 <clokep_work> Thus potentially breaking us easier.
19:33:57 <clokep_work> The website is easier to emulate though, by using the website you're able to view the request/responses in the Fx Dev console, instead of having to run the actual apps and pop SSL to get the messages Facebook is sending over MQTT.
19:34:16 <clokep_work> And all of this made me freeze and not do anything.
19:34:28 <flo-retina> ok
19:36:17 <-- unghost has quit (Connection closed)
19:40:43 --> unghost has joined #instantbird
19:42:02 <clokep_work> flo-retina: Not sure if that answers all your questions. :-D
19:44:35 <-- abdelrhman has quit (Connection closed)
19:44:53 --> abdelrhman has joined #instantbird
19:45:44 <clokep_work> flo-retina: Oh...and to start from scratch on work on that aspect of it...probably isn't a TON more work. I don't think there's that many API endpoints to hit.
19:45:57 <clokep_work> Not to do the basics of downloading th ebuddy list and IMs.
19:48:30 <aleth> clokep_work: is the data format really json, or something more specific like graphql?
19:48:54 * aleth kind of suspects the latter http://graphql.org/
19:49:47 <clokep_work> aleth: I don't know for sure.
19:49:55 <-- abdelrhman has quit (Connection closed)
19:50:00 <clokep_work> aleth: I don't see how that's not JSON though.
19:50:02 --> abdelrhman has joined #instantbird
19:50:30 <aleth> clokep_work: not that it isn't json, but that you might be able to save some time by parsing it with that library
19:51:30 <aleth> idk though, I don't know much about it.
19:51:32 <clokep_work> Hm. Maybe.
19:54:38 --> arlolra has joined #instantbird
19:57:44 <-- abdelrhman has quit (Connection closed)
19:57:50 --> abdelrhman has joined #instantbird
19:58:49 <-- chrisccoulson has quit (Connection closed)
20:00:01 <aleth> I guess you can tell if http://graphql.org/docs/getting-started/ looks a bit like what you were seeing.
20:00:13 --> chrisccoulson has joined #instantbird
20:01:01 <aleth> looks like the client side might not actually require any library, but it may clarify what's going on
20:02:30 <-- EionRobb has quit (Quit: Leaving.)
20:06:20 <-- abdelrhman has quit (Connection closed)
20:06:26 --> abdelrhman has joined #instantbird
20:08:17 <clokep_work> aleth: I didn't look in-depth enough to know what I was looking at.
20:08:38 <clokep_work> But it's all JS code running in browsers, and probably can run in *old* browsers.
20:08:49 <clokep_work> And it didn't seem to be pulling in crazy amounts of minified code.
20:09:33 <aleth> If you look at that example, it looks like the whole point is that the client side is lightweight and only requests data it actually needs
20:10:50 <aleth> it's just a way to structure queries
20:13:41 <-- abdelrhman has quit (Connection closed)
20:13:46 --> abdelrhman has joined #instantbird
20:17:30 <-- abdelrhman has quit (Connection closed)
20:17:36 --> abdelrhman has joined #instantbird
20:18:48 * freaktechnik would expect fb to use babel and some react here and there for the js...
20:19:31 <clokep_work> That shouldn't matter though, I don't think.
20:21:38 <-- abdelrhman has quit (Ping timeout: 121 seconds)
20:22:22 <freaktechnik> well, it matters for the running in old browsers part...
20:22:56 <clokep_work> I'm not following.
20:23:01 <clokep_work> But really someone needs to look instead of guessing. :)
20:25:02 --> abdelrhman has joined #instantbird
20:27:43 --> nhnt11 has joined #instantbird
20:27:43 * ChanServ sets mode +h nhnt11 
20:39:18 <-- abdelrhman has quit (Connection closed)
20:39:28 --> abdelrhman has joined #instantbird
20:50:30 <-- abdelrhman has quit (Connection closed)
20:50:38 --> abdelrhman has joined #instantbird
20:52:20 <clokep_work> abdelrhman: Hello. :)
20:52:28 <clokep_work> I just caught up on my bugmail today. Looks like I have another review to do?
20:52:50 --> mpmc has joined #instantbird
20:53:40 <abdelrhman> clokep_work: Hi :), I'm finishing better one, let the review be for the next one
20:53:45 --> EionRobb has joined #instantbird
20:54:39 <abdelrhman> I'm submitting it nwo
20:54:41 <abdelrhman> now*
20:54:55 <clokep_work> Excellent!
20:57:18 <EionRobb> clokep_work: if it's any help, the current 'protocol' that they use on messenger.com and facebook.com hasn't changed much (if at all) since they started their xmpp gateway
20:58:42 <clokep_work> EionRobb: Thanks.
21:02:48 <-- abdelrhman has quit (Connection closed)
21:02:57 --> abdelrhman has joined #instantbird
21:04:41 <flo-retina> EionRobb: have you somehow documented it somewhere? :)
21:05:09 <EionRobb> that would have been useful, but no :)
21:05:36 <EionRobb> just remembering when they changed it all those years ago, and I decided that xmpp was 'good enough' and didn't update the old fb prpl
21:14:08 <-- abdelrhman has quit (Connection closed)
21:14:35 --> abdelrhman has joined #instantbird
21:18:42 <-- abdelrhman has quit (Ping timeout: 121 seconds)
21:19:32 --> abdelrhman has joined #instantbird
21:21:18 <-- nhnt11 has quit (Connection closed)
21:22:25 --> nhnt11 has joined #instantbird
21:22:26 * ChanServ sets mode +h nhnt11 
21:27:18 <aleth> abdelrhman: looks like you could get rid of the asyncify function altogether now it is so short ;) It's only called in one place.
21:28:30 <-- abdelrhman has quit (Connection closed)
21:28:35 --> abdelrhman has joined #instantbird
21:29:25 <aleth> abdelrhman: ^^
21:30:09 <abdelrhman> Ah, OK
21:30:43 <aleth> something like lookup: function(name, typeId) { return (promise) }
21:34:11 <-- abdelrhman has quit (Ping timeout: 121 seconds)
21:35:06 --> abdelrhman has joined #instantbird
21:35:42 <abdelrhman> OK
21:36:01 <abdelrhman> aleth: update the patch now, or wait till getting your reviews?
21:36:34 <aleth> I'm out of time for now, so you might as well update it if you like (unless clokep_work is in the middle of a review)
21:36:58 <clokep_work> I'm not.
21:37:01 <clokep_work> I'm on my way out of the office.
21:37:23 <abdelrhman> OK
21:44:24 <-- bogdan_maris has quit (Ping timeout: 121 seconds)
21:48:53 <-- abdelrhman has quit (Connection closed)
21:48:59 --> abdelrhman has joined #instantbird
21:51:22 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.92 [SeaMonkey 2.40/20160118183220])
21:53:39 <-- abdelrhman has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
22:01:06 <-- clokep_work has quit (Ping timeout: 121 seconds)
22:10:49 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
22:34:44 <-- unghost has quit (A TLS packet with unexpected length was received.)
23:05:45 --> EionRobb1 has joined #instantbird
23:06:07 <-- EionRobb has quit (Ping timeout: 121 seconds)
23:16:41 <-- Mook_as has quit (A TLS packet with unexpected length was received.)
23:18:59 --> Mook_as has joined #instantbird
23:19:57 <-- arlolra has quit (Client exited)
23:49:33 --> nhnt11 has joined #instantbird
23:49:33 * ChanServ sets mode +h nhnt11