#instantbird log on 12 06 2016

All times are UTC.

19:39:40 --> instantbot has joined #instantbird
19:39:40 topic changed by levin.mozilla.org to "Ask about Instantbird (http://instantbird.com) here! :-) | Last version was Instantbird 1.5 | Nightlies: http://nightly.instantbird.im (at your own risk) | News: http://blog.instantbird.org | IRC logs: http://log.bezut.info | Pastebin: http://pastebin.instantbird.org | Bugs: https://bugzilla.mozilla.org"
19:39:40 * ChanServ sets mode +v instantbot 
19:39:45 <clokep_work> instantbot: botsnack
19:39:46 <instantbot> :)
19:39:49 <clokep_work> Who's a good boy?
19:40:26 <freaktechnik> instantbot ignores rethorical questions?
19:40:30 <instantbot> freaktechnik: Sorry, I've no idea what 'ignores rethorical questions' might be.
19:40:35 <freaktechnik> XD
19:40:54 --> gerard-majax has joined #instantbird
19:43:01 <aleth> clokep_work: idk how it would mesh up. I assume you'd still have to build the xpcom part in tree
19:43:18 <clokep_work> aleth: Wouldn't it be JavaScript? :-S
19:44:10 <aleth> it could be
19:44:31 <aleth> browser/components/translation might make a nice emscripten example
19:44:53 <clokep_work> My thought was to use emscripten to compile libpurple, then call into it from JS stuff.
19:44:58 <clokep_work> But I don't fully know what you get *out* of emscripten.
19:45:07 --> aleth1 has joined #instantbird
19:45:07 * ChanServ sets mode +o aleth1 
19:45:15 <aleth1> That's what the translation stuff does, yes
19:45:55 <aleth1> as far as I can tell from a quick glance
19:46:21 <clokep_work> Interesting!
19:47:49 <aleth1> well, it uses a worker
19:48:33 <-- aleth has quit (Ping timeout: 121 seconds)
19:48:33 * aleth1 is now known as aleth 
19:49:59 <-- gerard-majax has quit (Ping timeout: 121 seconds)
19:52:02 <clokep_work> That's probably a good thing though?
19:52:17 <clokep_work> I suspect you'd need like a worker per account or something.
19:52:35 <clokep_work> I also don't know how easy it is to hook up sockets to this stuff. :)
19:53:14 --> gerard-majax has joined #instantbird
19:54:46 <freaktechnik> the problem is probably that it has 3 billion libs it depends on
19:54:56 <freaktechnik> building an atomic lib is usually quite simple.
19:57:16 <-- gerard-majax has quit (Ping timeout: 121 seconds)
19:59:22 <clokep_work> Yeah.
19:59:30 <clokep_work> That's likely going to be the problem.
20:00:03 <aleth> Yeah, and the hooking up... if you have to basically rewrite purplexpcom that's a lot of work
20:00:36 --> Logicoma has joined #instantbird
20:01:27 <clokep_work> Yeah, but if you're in JS you can hopefully reuse part of the js-prpls?
20:01:39 <aleth> Oh hmm.
20:01:45 <aleth> jsprotoHelper to the rescue?
20:05:27 <clokep_work> That was my thought.
20:05:29 <clokep_work> Idk though.
20:05:34 <clokep_work> It's possible those really implement the same thing.
20:05:38 <clokep_work> And Im' barking up the wrong tree.
20:05:49 <aleth> I don't know enough about emscripten to have a clue ;)
20:10:10 --> gerard-majax has joined #instantbird
20:16:44 <-- gerard-majax has quit (Quit: Leaving)
20:16:50 --> gerard-majax has joined #instantbird
20:31:06 <aleth> clokep_work: certainly doesn't look like it's built in-tree https://dxr.mozilla.org/mozilla-central/source/browser/components/translation/cld2/cld-worker.js
20:31:26 <clokep_work> aleth: Now that's some JS!
20:31:27 --> unghost has joined #instantbird
20:31:40 <clokep_work> FWIW I suspect emscripten isn't going to work well with needing to compile glib, etc.
20:31:54 <aleth> yeah, I suspect the libraries will be trouble.
20:32:15 <aleth> js-ctypes would be better from that point of view
20:32:27 <clokep_work> Yeah. I'm not even sure how to get started with that. :-S
20:36:09 --> EionRobb has joined #instantbird
20:37:52 * clokep_work sighs.
20:37:54 <clokep_work> I don't know.
20:38:01 <clokep_work> Makes me not want to do anything based on indecision.
20:38:58 <aleth> Finding some existing example that looks like a decent starting point would help
20:38:59 <-- gerard-majax has quit (Ping timeout: 121 seconds)
20:39:12 <aleth> Otherwise it's not very motivating...
20:39:12 <freaktechnik> jsctypes means rewriting purplexpcom, essentially
20:39:26 <clokep_work> freaktechnik: Doesn't everything though?
20:39:31 <freaktechnik> well no.
20:39:41 <freaktechnik> Re-implementing in js means just that ;)
20:39:56 <aleth> We could link it statically and give up on dynamic prpls.
20:41:18 <clokep_work> That might be reasonable, there's only a couple anyway. :P
20:41:23 <clokep_work> freaktechnik: Alos a lot of work!
20:41:35 <freaktechnik> I'd say more work.
20:42:11 <EionRobb> dynamic prpls plz :(
20:45:25 <freaktechnik> we have a volunteer ;)
20:45:56 <freaktechnik> or in mozilla speak "patches welcome"...
20:45:56 <clokep_work> More work, and then you don't get the benefits of *other* people writing protocols.
20:45:58 <clokep_work> Which is nice...
20:46:59 * clokep_work isn't sure dynamic prpls are useful in the current state.
20:47:05 <clokep_work> You have to recompile for Instantbird right now anyway.
20:47:19 <freaktechnik> to build against it?
20:47:22 <clokep_work> And you won't be able to use libpurple protocols in extensions anymore due to XPCOM changes.
20:47:41 <EionRobb> without jsctypes, you mean?
20:49:07 <clokep_work> Yeah, sorry. :)
20:50:20 * clokep_work should probably only work on one thing at a time. ;)
20:50:27 <clokep_work> I shold finish the matrix support crap.
20:56:13 --> Keirovo has joined #instantbird
21:02:10 <-- clokep_work has quit (Ping timeout: 121 seconds)
21:09:03 <Keirovo> Hi guys.
21:09:03 <Keirovo> I have a question. Does Instantbird support using DCC on IRC to transfer files?
21:17:34 <freaktechnik> instantbird doesn't support filetransfers in any protocol to my knowledge
21:17:50 <freaktechnik> (I guess it supports them in the HTTP protocol ;) )
21:18:31 <Keirovo> Yeah, Didn't look like it. I just thought I'd pop over here and make sure though.
21:18:43 <aleth> There are some WIP patches, nothing complete though
21:25:59 --> clokep_work has joined #instantbird
21:25:59 * ChanServ sets mode +o clokep_work 
21:29:41 <clokep_work> Keirovo: In terms of backend support...I think I wrote some code to parse DCC messages, but there's no "handlers" for those messages, so they just get ignored.
21:33:18 <clokep_work> That probably doesn't help you though. :)
21:34:58 <Keirovo> haha. It answers my question though. I've rarely ever had a need for file transfers so I don't mind switching over to mIrc for a few minutes to grab the files
21:34:58 <Keirovo> Thanks
21:36:31 <clokep_work> No problem. :)
21:36:39 <clokep_work> Yeah I totally meant to implement it...then never needed it.
21:45:48 <freaktechnik> yeah, there's DCC parsing
21:48:01 <aleth> finishing filelink would be faster
21:48:03 <clokep_work> (untested)
21:48:41 <freaktechnik> filelink is the attachment upload system from tb?
21:48:57 <aleth> yes
21:49:34 <aleth> there's an unfinished patch from a gsoc around
21:50:02 <-- Logicoma has quit (Connection closed)
21:52:48 <clokep_work> It probably only needs a few hours of love. :(
23:00:19 --> gerard-majax has joined #instantbird
23:10:33 <-- gerard-majax has quit (Ping timeout: 121 seconds)
23:12:45 <-- unghost has quit (A TLS packet with unexpected length was received.)
23:16:33 --> gerard-majax has joined #instantbird
23:20:12 <-- clokep_work has quit (Ping timeout: 121 seconds)
23:32:11 --> mpmc has joined #instantbird