#instantbird log on 05 02 2014

All times are UTC.

00:14:30 <-- nhnt11 has quit (Ping timeout)
00:14:46 <-- chrisccoulson has quit (Ping timeout)
00:15:27 <-- Vigilante has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
00:38:54 --> chrisccoulson has joined #instantbird
00:47:12 --> nhnt11 has joined #instantbird
01:13:07 --> CaptainCalliope has joined #instantbird
01:13:22 --> rosonline has joined #instantbird
01:13:26 <CaptainCalliope> Oh, wow. A bunch of people in here!
01:13:56 <clokep> CaptainCalliope: Yes.
01:14:14 <clokep> It's been around a while. ;)
01:14:59 <CaptainCalliope> So, is this the room where all the people at Mozilla interested in chat congregate? 
01:15:05 <clokep> CaptainCalliope: Can you email team@instantbird.org about this heartbleed issue?
01:15:22 <clokep> Generally, yes. flo-retina is the chat module owner, and me, Mic and aleth are peers.
01:15:39 <clokep> The backend is shraed between Instantbird and Thunderbird.
01:15:54 <clokep> I can't say if random people interested in chat come here or not. ;)
01:16:08 <CaptainCalliope> Is there any movement around starting a FirefoxOS chat project?
01:16:30 <clokep> Last I heard some people were looking into it, they had not communicated to us at all.
01:16:45 <clokep> Chat on mobile devices is tough, persistent sockets kind of kill your battery.
01:17:18 <clokep> Also Firefox OS doesn't use XPCOM so...
01:20:29 <CaptainCalliope> The reason I ask is Jeremie Miller is working on a successor to the jabber protocol. I was explaining the FirefoxOS strategy to him earlier this week and why he should consider aligning his projects with it and he seemed very interested. So, I'm trying to connect him with whoever may be working on this stuff inside of Mozilla.
01:20:40 <CaptainCalliope> Definitely going to direct him here. :)
01:20:46 <clokep> XMPP is a protocol, Jabber is a company. ;)
01:21:00 <CaptainCalliope> Whatevs. ;)
01:21:01 <clokep> I don't know who that is.
01:21:05 <clokep> Does XMPP really need a successor?
01:21:22 <-- Mook_as has quit (Quit: Mook_as)
01:21:24 <clokep> https://xkcd.com/927/
01:22:29 <CaptainCalliope> Yes, because we're re-silo'ing, which is good in that chat UX is evolving again.. but bad because silos.
01:22:30 <clokep> The bigger issue is that the two biggest chat networks are becoming increasingly proprietary.
01:22:31 <-- mconley has quit (Input/output error)
01:22:41 <-- Rym has quit (Ping timeout)
01:22:46 <clokep> I don't see the relationship. ;)
01:22:54 <clokep> And I'd argue that chat UX is regressing, not evolving.
01:23:42 <CaptainCalliope> The relationship is people adopt the sexy new thing leaving the old to rot on the vine.
01:24:01 <clokep> OK, but users don't care about the underlying protocol.
01:24:06 <CaptainCalliope> Exactly.
01:24:22 <clokep> So why make something new?
01:24:30 <clokep> Instead of something that tons of clients already support for interoperability.
01:24:41 <CaptainCalliope> Which is where Mozilla comes in by enabling competitive products that break open the silos.
01:25:42 <clokep> That's all well and good, but kind of idealistic unless you have a critical mass of users clamoring for something.
01:26:19 <clokep> (Also, sa far as we know...Mozilla has no interest in "heavy" clients anymore, nor any interest in chat clients, only in "the web".)
01:27:25 <CaptainCalliope> I see a room full of Mozillians interested in chat. Good enough for me.
01:30:48 <clokep> CaptainCalliope: https://en.wikipedia.org/wiki/TeleHash?
01:30:54 <CaptainCalliope> Everything needs a reboot every once in awhile. I'm just trying to figure out where a chat reboot might come from and connect some dots together. :)
01:32:00 <CaptainCalliope> That's Jeremie's main project. I think the chat project he mentioned might be seperate.
01:32:39 <clokep> Hm. OK.
01:33:07 <clokep> Well we're always interested in ways to improve the how users chat.
01:33:34 <clokep> Thanks for the email. :)
01:35:40 <CaptainCalliope> Np. Let me know if you ever hear anything about a FirefoxOS targeted client. There may be some challenges with the prospect, but the solutions to them don't necessarily have to be generated from scratch inside of Mozilla. 
01:36:11 <clokep> Honestly we get asked much more frequently for an Android version.
01:37:32 <CaptainCalliope> Hehe, of course. No one in the developed world is using FirefoxOS yet. :) But I'd contend that targeting it is a sound strategy for world domination.
01:54:08 --> mconley has joined #instantbird
02:06:23 <-- clokep has quit (Ping timeout)
02:18:29 <-- rosonline has quit (Client exited)
02:18:54 <-- nhnt11 has quit (Ping timeout)
03:03:25 <-- Armada has quit (Connection reset by peer)
03:28:24 <instant-buildbot> build #2130 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/2130
03:34:35 <-- mconley has quit (Input/output error)
04:05:06 --> mconley has joined #instantbird
04:11:14 <-- mconley has quit (Ping timeout)
04:33:54 <-- wnayes has quit (Quit: wnayes)
05:30:30 <-- CaptainCalliope has quit (Quit: CaptainCalliope)
05:38:50 <-- EionRobb has quit (Quit: Leaving.)
05:50:17 --> jb has joined #instantbird
05:54:33 --> gerard-majax has joined #instantbird
05:54:46 <-- gerard-majax has quit (Connection reset by peer)
05:54:55 --> gerard-majax has joined #instantbird
06:01:59 --> gerard-majax_ has joined #instantbird
06:02:02 <-- gerard-majax has quit (Connection reset by peer)
06:14:25 <-- jb has quit (Quit: jb)
06:27:38 <-- gerard-majax_ has quit (Ping timeout)
06:42:36 --> gerard-majax_ has joined #instantbird
06:53:03 <-- gerard-majax_ has quit (Ping timeout)
06:53:58 --> gerard-majax_ has joined #instantbird
06:56:26 <-- gerard-majax_ has quit (Ping timeout)
07:10:34 --> Mic has joined #instantbird
07:10:35 * ChanServ sets mode +o Mic 
07:24:54 <flo-retina> "reinstall hte cmd line tools" that's what I did to fix it, yes
07:32:45 <Mic> "Is the work to add a generic way to add buttons to the conversation area part of the File Transfer, or WebRTC project? From IRC sounds like we want this to be part of the WebRTC stuff?"
07:32:57 * Fallen|away is now known as Fallen
07:33:17 <Mic> What's the idea behind wanting a "generic way to add buttons"?
07:47:05 --> gerard-majax_ has joined #instantbird
07:51:58 <flo-retina> Mic: the idea is that some actions associated with conversations need discoverable (ie. visible on screen) ways to start them.
07:52:24 <flo-retina> file transfer and starting a video call are almost in the same situation for the UI to start them.
07:52:53 <flo-retina> and I wouldn't be surprised if there were other similar actions (maybe implemented by addons).
07:53:29 <flo-retina> maybe "require an encrypted conversation"?
07:54:16 <flo-retina> Given the way our conversations are currently displayed (with different layouts based on the size of the window), displaying an icon is non-trivial, so I was thinking that work shouldn't be duplicated.
08:04:50 <Mic> OK, I understand :)
08:04:57 <Mic> I'll file a bug for it.
08:09:05 <flo-retina> for the UI, I suspect the buttons will endup being icons near the current target switcher
08:09:23 <flo-retina> (and that current target switcher icon may need to be themed more like a button btw, as I suspect nobody discovers it's clickable)
08:13:25 <instantbot> New Instantbird - Conversation bug 1004930 filed by benediktp@ymail.com.
08:13:28 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1004930 enh, --, ---, nobody, NEW, Generic way to add buttons for actions to a conversation
08:32:44 <-- Tonnes has quit (Connection reset by peer)
08:44:47 --> sonny has joined #instantbird
08:47:24 <flo-retina> Mic: thanks!
08:47:25 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
08:57:18 --> Tonnes has joined #instantbird
08:58:06 --> mpmc has joined #instantbird
09:02:42 --> jb has joined #instantbird
09:06:44 * Fallen is now known as Fallen|away
09:13:05 --> flo-retina has joined #instantbird
09:13:05 * ChanServ sets mode +qo flo-retina flo-retina 
09:21:28 <-- jb has quit (Ping timeout)
09:24:35 <-- sonny has quit (Ping timeout)
09:26:18 --> Rym has joined #instantbird
09:29:39 --> sonny has joined #instantbird
09:34:09 --> BWMerlin has joined #instantbird
09:45:18 * Fallen|away is now known as Fallen
10:00:36 <-- mpmc has quit (Connection reset by peer)
10:01:25 --> mpmc has joined #instantbird
10:08:43 <-- mpmc has quit (Ping timeout)
10:12:47 --> mpmc has joined #instantbird
10:25:25 --> clokep has joined #instantbird
10:25:25 * ChanServ sets mode +o clokep 
10:27:56 --> aleth has joined #instantbird
10:27:57 * ChanServ sets mode +o aleth 
10:39:08 <clokep> So. . .what was with that heartbleed thing? Did anyone look into it?
10:41:11 <aleth> It probably needs forwarding to Even>
10:41:48 <aleth> Nobody else can look into it ;)
10:42:34 <flo-retina> clokep: I'm actually looking right now
10:42:54 <flo-retina> aleth: it turns out I do have root access (or more specifically I'm in the sudoers) for this specific server
10:44:47 <clokep> He's on that list IIRC. :)
10:45:00 <flo-retina> hmm
10:45:14 <flo-retina> the website is now running with an updated openssl
10:45:24 <flo-retina> but I still see the heartbleed image added by the add-on
10:45:52 <flo-retina> also, why is this page looking all broken: https://hg.instantbird.org/ ?
10:46:30 <aleth> flo-retina: Maybe you need to revoke the cert.
10:46:36 <flo-retina> I wonder if there's a cache somewhere saying that the SSL cert we are using has potentially been leaked
10:47:49 * clokep thought he filed a bug a longgggggggggg time ago about that styling.
10:47:55 <clokep> But I can't find it, just bug 955798.
10:47:57 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=955798 nor, --, ---, nobody, NEW, hg.instantbird.org needs new styling
10:48:03 <flo-retina> the add-on description says "The add-on checks the site's vulnerability by asking a Mozilla-hosted server. Responses are cached so the number of visits are obscured"
10:48:39 <aleth> I also have a website patch waiting for checkin somewhere
10:48:55 * flo-retina would like to some dealing with the websites
10:49:04 <flo-retina> *stop
10:49:05 <aleth> What's the add-on called?
10:49:13 <flo-retina> aleth: https://addons.mozilla.org/en-US/firefox/addon/heartbleed/
10:49:34 <aleth> heh. That's kind of the obvious name I suppose :P
10:51:29 * flo-retina wonders who could take over our servers/websites
11:02:03 <flo-retina> I can't even login to the cert website any more :(
11:03:29 <flo-retina> looks like I need to 'insert another coin' (of $59.90)
11:04:01 <aleth> Each login costs money? :P
11:05:07 <flo-retina> hmm, I'm afraid if I can't login with my previous account (the one used to generate the cert) I can't revoke the cert
11:06:52 <aleth> Maybe if you complain to their customer service...
11:07:18 <-- clokep has quit (Ping timeout)
11:07:24 <flo-retina> and apparently there's a fee for revoking a cert
11:07:55 <aleth> :(
11:08:18 <aleth> Talk about bad incentives.
11:08:24 <Mic> aleth++
11:08:32 <Mic> Exactly my thoughts.
11:10:02 --> mayanktg has joined #instantbird
11:25:05 <flo-retina> hmm, apparently paying customers can revoke 1 cert for free.
11:25:13 <-- aleth has quit (Ping timeout)
11:25:31 <-- Rym has quit (Ping timeout)
11:25:37 --> aleth has joined #instantbird
11:25:37 * ChanServ sets mode +o aleth 
11:26:35 --> Armada has joined #instantbird
11:27:12 --> Rym has joined #instantbird
11:32:40 <-- sonny has quit (Ping timeout)
11:38:00 --> Armada651 has joined #instantbird
11:38:00 <-- Armada has quit (Connection reset by peer)
11:39:46 --> Armada_ has joined #instantbird
11:39:47 <-- Armada651 has quit (Connection reset by peer)
11:40:01 <flo-retina> so apparently I need to register a new account with a different email address, then email them about it so that they merge the 2 accounts
11:49:28 --> clokep_work has joined #instantbird
11:49:28 * ChanServ sets mode +o clokep_work 
12:08:35 <clokep_work> aleth: So an animated image of you joining a chat room would be nice? ;)
12:08:40 <clokep_work> (I'm teasing and don't expect that. :P)
12:11:56 <aleth> That would spoil the surprise! ;)
12:19:20 <clokep_work> aleth: "so you already know what they look like ;) " can you point me to the image anyway?
12:19:22 <clokep_work> I'm stupid sometimes. :)
12:20:05 <aleth> https://mxr.mozilla.org/mozilla-central/find?text=&string=loading.png
12:22:21 --> sonny has joined #instantbird
12:24:52 <-- mpmc has quit (Ping timeout)
12:29:37 <clokep_work> Ah, OK. :)
12:30:08 <aleth> Did you all think I had hand-crafted a throbber icon? ;)
12:31:01 <aleth> I could have used bwinton's dancing unicorn I guess.
12:31:57 --> mpmc has joined #instantbird
12:33:41 <clokep_work> :) Maybe.
12:33:44 <-- mpmc has quit (Ping timeout)
12:33:59 --> mpmc has joined #instantbird
12:41:08 <aleth> We could make it a rotating pumpkin on halloween or something.
12:42:00 <clokep_work> As long as it's garish.
12:42:39 <mayanktg> clokep_work: : http://pastebin.instantbird.com/693031 setImage() in blist.js . I created an instance for FileReader, called readAsArrayBuffer. Now how to work with ArrayBufferView? (http://log.bezut.info/instantbird/140501/#m310) No error occurred so I don't know I'm doing it right or not :-/
12:43:20 <clokep_work> mayanktg: Looking, give me a few minutes! :)
12:43:47 <mayanktg> clokep_work: yes sure.
12:46:00 <clokep_work> mayanktg: So line 80 (which is blank right now)
12:46:24 <clokep_work> read.result should be an ArrayBuffer (you can print it out to be sure)
12:46:40 <clokep_work> SO you should be able to pass that to the OS.File writeAtomic method.
12:46:46 <mayanktg> yes. as given in the example
12:47:02 <-- mpmc has quit (Ping timeout)
12:47:17 <clokep_work> mayanktg: Did I answer your question?
12:48:28 <mayanktg> clokep_work: Yes. First I will have to use the read.result and then use this data to write it to the file using OS.File method mentioned.
12:48:36 <clokep_work> Yes. Give it a try! :)
12:48:50 --> mpmc has joined #instantbird
12:48:53 <aleth> Does the arrayBuffer get converted to an arrayBufferView automatically?
12:49:08 <clokep_work> I hope it does. :)
12:49:12 <clokep_work> If not it's easy enough to convert.
12:49:27 <aleth> I sort of expect that will have to be done by hand (but yes, not hard)
12:49:45 <aleth> The mdn docs on arrayBuffers are a bit sparse though.
12:50:17 <clokep_work> Yes.
12:50:46 <aleth> mayanktg: When you deal with OS.File, you'll probably want to look at some examples to get an idea of the way Promises are used there.
12:51:26 <mayanktg> aleth: I read about Promises yesterday in the docs. Ok I'll do it  :)
12:52:02 <aleth> Well, if you have read enough to make it work, then don't bother :)
12:52:05 <clokep_work> That code is like callback hell. :(
12:52:34 <aleth> It's unfortunate when you have to mesh older callback APIs with newer Promise APIs.
12:53:59 <aleth> Promises are much nicer to chain.
12:54:01 <Mic> mayanktg: yes, that's how you need to use the FileReader.
12:56:20 <mayanktg> Mic: Ok. It was explained in the blob docs! :D
12:56:41 <-- mpmc has quit (Ping timeout)
12:57:53 <aleth> mayanktg: Sounds like you are almost there :)
12:59:04 --> mpmc has joined #instantbird
13:01:30 --> nhnt11 has joined #instantbird
13:02:08 --> jb has joined #instantbird
13:06:08 <aleth> mayanktg: By the way, did you know you can use dump() and Cu.reportError() to debug your code?
13:07:02 <Mic> There's also System.consol.logStringMessage()
13:07:11 <Mic> System.console.logStringMessage()
13:07:30 <Mic> dump() is only available in debug builds, isn't it?
13:07:41 <aleth> No, it's always available.
13:08:14 <aleth> Also, check you have set the following about:config flags: javascript.options.showInConsole = true, javascript.options.strict = true, browser.dom.window.dump.enabled = true
13:08:30 <aleth> Mic: It does require that about:config flag to be set though
13:10:26 <flo-retina> aleth: so the throbber is taking the full icon area?
13:10:31 <aleth> flo-retina: Yes
13:10:41 <flo-retina> ok.
13:11:12 <flo-retina> That's not what I had in mind when we first discussed the bug (before it was filed), but we can give it a try and see if it's pleasant :)
13:11:26 <aleth> Right.
13:11:39 <aleth> It can always be rescaled into a corner ;)
13:12:04 <aleth> I think that might not look great on non-retina resolutions though.
13:12:11 <Mic> Or greyscaled for the contact list.
13:12:19 <aleth> It's already greyscaled.
13:12:46 <Mic> No, it's a different animation, not just a greyscaled version of the other animation.
13:13:13 <aleth> Mic: ah yes. Is that confusing?
13:13:30 <aleth> I suppose we will find out.
13:15:09 <flo-retina> ah, is your blist throbber rotating in the opposite direction?
13:15:14 <aleth> Yes.
13:15:28 <flo-retina> :(
13:15:31 <aleth> I actually didn't notice until just now.
13:15:47 <flo-retina> did you have both the conversation and contact windows next to each other?
13:16:11 <Mic> aleth: you could apply an svg filter to the other image as quick fix.
13:16:12 <aleth> Yes, but because they are not shown for very long, I was only looking at one or the other.
13:16:51 <aleth> I'll take another look.
13:18:20 <flo-retina> "not shown for very long" I typically have tabs in the joining state for ~30s
13:19:51 <aleth> Depends on the number of channels and the connection, of course.
13:20:07 <flo-retina> aleth: I think what happens is that after some amount of data, the connection gets rate limited
13:20:20 <flo-retina> and the server sends plenty of data my way when I join some channels that have plenty of participants
13:20:32 <flo-retina> the first few channels are joined very quickly
13:20:38 <flo-retina> and then the rest takes a while
13:20:41 <aleth> Right, I think we ran into that before at some point.
13:21:16 <flo-retina> I think I've already asked before, but are we fetching the list of participants from the server, or is it sending it to us automatically when we join?
13:22:10 <aleth> It sends it automatically.
13:22:18 <flo-retina> that sucks :(
13:22:35 <flo-retina> (and is even worse for devices with low bandwidth (eg. phones))
13:25:09 --> quartzjer has joined #instantbird
13:25:48 <clokep_work> flo-retina: And the way joins work is you request to join channels, it tells you you've joined channel 1, then gives you all the participants for channel 1, then channel 2, etc.
13:25:57 <clokep_work> So when you hit #developers BOOM everything pauses for a minute. ;)
13:27:07 <aleth> IRC, designed for success!
13:28:48 <-- Rym has quit (Ping timeout)
13:29:34 <nhnt11> clokep_work: Wouldn't we be queuing that and adding the names to UI async'ly?
13:29:47 <-- jb has quit (Ping timeout)
13:29:55 --> jb has joined #instantbird
13:29:56 * nhnt11 wonders how much time it takes to receive 400 names from the steram
13:29:58 <aleth> It's all handled asynchronically.
13:29:59 <clokep_work> nhnt11: What?
13:29:59 <nhnt11> stream*
13:30:08 <aleth> But you only have one socket ;)
13:30:10 <clokep_work> nhnt11: This has nothing to do with UI?
13:30:15 <nhnt11> Right right
13:30:28 <nhnt11> So you're saying that receiving them itself takes time
13:30:45 <nhnt11> I was just wondering how many participants there would have to be to make that delay noticeable 
13:32:12 <clokep_work> In receiving them?
13:32:28 <clokep_work> Let's do some math...
13:33:29 <-- quartzjer has quit (Quit: Leaving.)
13:35:16 <clokep_work> Messages are 512 bytes - "\r\n" - (your target + a space) - (channel name + a space) - (each nick + a space + their mode (@+)) - a space + a colon
13:35:26 <clokep_work> So.... I'd say roughly ten names in each message.
13:35:40 <clokep_work> EH, maybe more like 15.
13:38:05 --> Rym has joined #instantbird
13:47:24 <-- nhnt11 has quit (Ping timeout)
13:50:02 <-- mpmc has quit (Ping timeout)
13:55:06 <clokep_work> aleth: Well looks likeI have something to look forward to in a nightly now. :)
13:55:27 <flo-retina> clokep_work: if only we had nightlies ;)
13:55:28 <aleth> Maybe once the tree reopens ;)
13:55:45 <flo-retina> I'm surprised nobody's complained that we haven't had Windows nightlies during the last 2-3 days
13:55:55 <aleth> And I think the unforking bug has to land first anyway
13:56:03 --> nhnt11 has joined #instantbird
13:56:14 <clokep_work> Ah, have we not? I haven't restarted my windows machine in a while...
13:56:14 <aleth> Windows is the new Linux ;)
13:56:30 <flo-retina> aleth: I guess...
13:56:45 <aleth> Lets hope not.
13:56:53 <flo-retina> If someone wants to ping Even about it... ;)
13:57:20 <-- mayanktg has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
14:01:45 <clokep_work> flo-retina: Is the box just off?
14:01:57 <clokep_work> mayanktg: Any luck? :)
14:02:28 <-- aleth has quit (Ping timeout)
14:02:40 <flo-retina> clokep_work: I think so
14:03:43 <-- nhnt11 has quit (Ping timeout)
14:03:47 --> aleth has joined #instantbird
14:03:47 * ChanServ sets mode +o aleth 
14:03:50 --> quartzjer has joined #instantbird
14:04:33 --> nhnt11 has joined #instantbird
14:08:45 * Armada_ is now known as Armada
14:13:53 <-- aleth has quit (Ping timeout)
14:15:03 <-- quartzjer has quit (Ping timeout)
14:16:05 <-- nhnt11 has quit (Ping timeout)
14:16:55 --> nhnt11 has joined #instantbird
14:27:51 --> aleth has joined #instantbird
14:27:52 * ChanServ sets mode +o aleth 
14:30:27 --> mpmc has joined #instantbird
14:34:37 <-- nhnt11 has quit (Ping timeout)
14:35:07 --> quartzjer has joined #instantbird
14:37:04 <-- Rym has quit (Ping timeout)
14:43:11 --> Rym has joined #instantbird
14:43:38 <-- Mic has quit (Ping timeout)
14:43:46 --> nhnt11 has joined #instantbird
14:45:20 <-- mpmc has quit (Ping timeout)
14:45:49 --> mpmc has joined #instantbird
14:54:03 <clokep_work> Thanks Even!
14:54:23 <-- mpmc has quit (Ping timeout)
14:54:41 --> mpmc has joined #instantbird
14:58:21 <instant-buildbot> build #1348 of win32-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/1348
15:00:06 <clokep_work> Yay
15:00:08 <flo-retina> clokep_work, aleth: is any of you fixing that failure?
15:00:20 * clokep_work just joined a conference call.
15:00:21 <flo-retina> Windows mozconfigs seem to want a --disable-gamepad
15:01:02 <flo-retina> unless we want gamepad support to let folks do games over WebRTC? ;)
15:02:26 --> wnayes has joined #instantbird
15:02:51 --> Mic has joined #instantbird
15:02:51 * ChanServ sets mode +o Mic 
15:04:03 <clokep_work> Sounds like fun! :-D
15:04:08 * clokep_work wonders why it doesn't build without that though.
15:04:45 <flo-retina> "The Windows 8 SDK or newer is required to build Gamepad support."
15:05:51 --> iamjayakumars has joined #instantbird
15:06:51 <-- mpmc has quit (Ping timeout)
15:08:16 --> mpmc has joined #instantbird
15:10:05 <-- quartzjer has quit (Quit: Leaving.)
15:10:18 --> quartzjer has joined #instantbird
15:13:15 <clokep_work> flo-retina: Oh, that's new. :-S
15:13:30 <clokep_work> But, yes...I'll r+ a --disable-gamepad. I build that way at home.
15:14:36 <flo-retina> clokep_work: r=bustage-fix for whoever wants to push the fix
15:14:54 * clokep_work sighs.
15:14:59 <clokep_work> Can I push to im/ with the tree closed?
15:15:04 <clokep_work> Should I ask Standard8/RyanVM?
15:16:03 <flo-retina> I think yes to both questions
15:18:42 <clokep_work> flo-retina: http://pastebin.instantbird.com/693232
15:19:09 <clokep_work> Just wanted someone to look over it real quick before I push. :)
15:19:36 <clokep_work> Wait, can I push this without a bug #?
15:19:38 <flo-retina> go ahead :)
15:19:42 <flo-retina> Sure
15:20:05 <flo-retina> if you've got too much time, you may want to lookup the bug number that caused the failure
15:20:18 <flo-retina> to say in the commit message "Fix Windows bustage caused by #"
15:20:53 <flo-retina> otherwise just "Fix Windows bustage by disabling gamepad support in the buildbot config, r=bustage-fix." is fine with me
15:23:43 <-- sonny has quit (Ping timeout)
15:24:04 <clokep_work> https://hg.mozilla.org/comm-central/rev/80f0080632dd
15:24:24 <-- BWMerlin has quit (Quit: BWMerlin)
15:25:32 <flo-retina> clokep_work++ :)
15:27:20 <clokep_work> Thanks.
15:27:30 --> mayanktg has joined #instantbird
15:28:07 <flo-retina> time to retrigger the windows nightly I guess :)
15:28:12 <flo-retina> do you wall know how to do it?
15:28:23 <flo-retina> *all
15:28:29 <clokep_work> I don't think any of us do. :P
15:28:34 <flo-retina> uh
15:28:59 --> CaptainCalliope has joined #instantbird
15:29:01 --> sonny has joined #instantbird
15:29:04 <flo-retina> on http://buildbot.instantbird.org/waterfall click on the builder name
15:29:14 <flo-retina> you end up on http://buildbot.instantbird.org/builders/win32-nightly-default
15:29:25 <flo-retina> there's a "Force build" button at the bottom of the page
15:29:49 <clokep_work> Yeah, figured it out. :)
15:29:53 <flo-retina> if you are feeling like a good citizen, you can enter your name or a reason in the reason field (I never do).
15:29:53 <clokep_work> Just had to remember my password haha.
15:30:12 <-- mpmc has quit (Ping timeout)
15:30:13 <mayanktg> clokep_work: No :( How to create an ArrayBuffer. I should create ArrayBuffer or ArrayBufferView.
15:30:27 <mayanktg> Unable to get it from the docs :-/
15:30:33 <clokep_work> mayanktg: It creates the ArrayBuffer for you, you need to create an ArrayBufferView?
15:30:34 <flo-retina> which doc have you read?
15:30:34 <clokep_work> What docs.
15:30:48 <mayanktg> https://developer.mozilla.org/en-US/docs/Web/API/ArrayBuffer
15:30:48 <mayanktg> https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView
15:31:19 <flo-retina> is https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays more helpful?
15:31:34 <clokep_work> Probably.
15:31:44 <clokep_work> One second.
15:32:08 * nhnt11 looks at logger.js
15:32:17 <nhnt11> Or plans to in a minute, anyway
15:32:36 <clokep_work> mayanktg: let x = new ArrayBuffer(4);
15:32:36 <clokep_work> let y = new Int8Array(x);
15:32:46 <clokep_work> So just do "let view = new Int8Array(x);"
15:32:50 <clokep_work> And hopefully that'll work.
15:33:20 --> mpmc has joined #instantbird
15:33:30 <mayanktg> ok
15:34:25 <aleth> You'll want to replace the '4' ;)
15:34:41 <clokep_work> THat part isn't necessary at all, it's foo.result. :)
15:34:59 <aleth> ok
15:35:58 <-- mpmc has quit (Ping timeout)
15:36:22 --> Vigilante has joined #instantbird
15:36:41 --> mpmc has joined #instantbird
15:39:20 <-- Rym has quit (Ping timeout)
15:40:48 <-- nhnt11 has quit (Ping timeout)
15:42:37 --> Rym has joined #instantbird
15:43:54 <-- gerard-majax_ has quit (Ping timeout)
15:44:12 <-- iamjayakumars has quit (Ping timeout)
15:44:54 --> arlolra has joined #instantbird
15:47:15 --> iamjayakumars has joined #instantbird
15:49:37 <Mic> So http://log.bezut.info/instantbird/yesterday/#m291 definitely didn't work? :(
15:51:43 <clokep_work> Mic: I tried that, doesn't work.
15:51:53 <clokep_work> ArrayBufferView is abstract or something.
15:53:13 <-- Rym has quit (Ping timeout)
15:53:58 --> Rym has joined #instantbird
16:02:34 <clokep_work> flo-retina, aleth: Do we think this is cleaner? http://pastebin.instantbird.com/693265
16:03:11 <clokep_work> Oh, line 18 is garbage, ignore that.
16:03:29 <aleth> Won't that break the constructor?
16:04:04 <aleth> i.e. do the tests still pass?
16:04:08 <clokep_work> I don't know.
16:04:16 <clokep_work> It certainly doesn't do the iterator things we did.
16:04:17 <aleth> It's certainly a nice alternative. Not sure if it's cleaner.
16:04:34 <aleth> Well if it breaks stuff, it's not as good ;)
16:04:43 <clokep_work> I was told in #jsapi to wait for the @@create thing to be fixed.
16:04:52 <clokep_work> aleth: IF it breaks something that we don't know if we're using then I don't care. :P
16:05:00 <aleth> I would have thought the iterator would work with the proxy
16:05:09 * clokep_work isn't sure what you mean. :-S
16:05:16 <clokep_work> Iterator in what sense?
16:05:25 <aleth> i.e. the normalizedmap would be iterable, but the constructor looks broken.
16:05:25 <clokep_work> Iterating through stuff should work still.
16:05:40 <clokep_work> m.values() still works.
16:05:49 <clokep_work> OK. . .
16:05:59 <aleth> We certainly use new Map(argument) in the existing code (maybe not IRC though)
16:06:24 <clokep_work> Where?
16:06:29 * clokep_work doesn't believe you. ;)
16:07:25 * aleth searches
16:07:34 <clokep_work> Challenge accepted!
16:07:35 <aleth> OK, my editor claims we only use it once ;)
16:08:07 <-- iamjayakumars has quit (Client exited)
16:08:30 <clokep_work> Haha, where?
16:08:33 <aleth> http://mxr.mozilla.org/comm-central/source/chat/protocols/twitter/twitter.js#119
16:09:16 <clokep_work> aleth: Nice. :)
16:09:19 <clokep_work> That line makes my head hurt a bit.
16:16:28 --> iamjayakumars has joined #instantbird
16:24:13 --> nhnt11 has joined #instantbird
16:30:00 <-- nhnt11 has quit (Ping timeout)
16:30:22 --> nhnt11 has joined #instantbird
16:30:41 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:30:47 --> nhnt11 has joined #instantbird
16:40:35 --> Mook_as has joined #instantbird
16:41:50 --> mconley has joined #instantbird
16:43:34 <-- mconley has quit (Ping timeout)
17:10:41 <-- flo-retina has quit (Ping timeout)
17:11:09 <Mic> mayanktg: how's it going? Did the comments on creating an ArrayBufferView help?
17:11:44 --> flo-retina has joined #instantbird
17:11:44 * ChanServ sets mode +qo flo-retina flo-retina 
17:13:34 <nhnt11> Nice, OS.File.open() has an append option (true by default) since gecko 27
17:15:49 <aleth> Yeah, there's also some nice new safety features that should help get rid of bug 955078
17:15:52 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=955078 maj, --, ---, nobody, NEW, Log files often get lost during shutdown
17:15:55 <instant-buildbot> build #1350 of win32-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/1350
17:16:45 <nhnt11> Lol, I just found a patch in my queue that I'd forgotten about
17:17:01 <nhnt11> If you look at the variants for the bubbles theme, one of them says "Grey-Ping"
17:17:23 <mayanktg> Mic: I can do it now. yes the clokep_work's suggestion helped :)
17:17:47 <aleth> For better pings?
17:18:12 <nhnt11> Um, it actually wants to say "Grey - Pink"
17:18:39 <Mic> nhnt11: make sure it's migrating the settings of people that are using the "Grey-Ping" variant at the moment.
17:18:53 * nhnt11 didn't think of that.
17:19:39 * Mic remembered that this was brought up in the bug report.
17:19:50 <nhnt11> There was a bug report?
17:21:00 <-- quartzjer has quit (Quit: Leaving.)
17:22:16 * nhnt11 can't find a bug
17:22:45 <nhnt11> Meanwhile, looks like I need to do a clean build.. :'( http://pastebin.instantbird.com/693340
17:23:01 <nhnt11> (I'm not connected to a power source and won't be for ~2 hours at least)
17:23:11 <clokep_work> nhnt11: bug 954307
17:23:12 * nhnt11 hates writing code he can't test immediately
17:23:14 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=954307 min, --, ---, benediktp, ASSI, Misnamed variant of the Bubble theme
17:23:36 <nhnt11> I searched for "bubbles variant"
17:23:38 <nhnt11> :(
17:23:45 <nhnt11> Thanks though!
17:25:27 <-- iamjayakumars has quit (Quit: )
17:29:32 <aleth> nhnt11: You might want to ask flo-retina for his thoughts on logger.js too, from when he tried to do indexed logs in an afternoon ;)
17:29:38 <-- nhnt11 has quit (Ping timeout)
17:30:16 <-- mayanktg has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:37:34 <-- jb has quit (Connection reset by peer)
17:37:37 --> jb has joined #instantbird
17:43:43 --> nhnt11 has joined #instantbird
17:44:04 <aleth> nhnt11: You might want to ask flo-retina for his thoughts on logger.js too, from when he tried to do indexed logs in an afternoon ;)
17:44:27 <nhnt11> I remember there was a WIP he posted somewhere?
17:44:32 <nhnt11> I'll take a look at it it againa
17:44:54 <aleth> No, I think he found he couldn't do it with the current logger.js.
17:45:19 <aleth> The WIP just crawled the logs instead iirc.
17:45:24 <nhnt11> oh yeah
17:45:26 <nhnt11> T
17:45:33 <nhnt11> I used that for the stats service log sweeper :]
17:45:42 * nhnt11 's memory needs some jogging
17:47:50 <flo-retina> aleth: is Tb going to use these icons too?
17:47:57 <aleth> flo-retina: Yes
17:48:13 <aleth> That's why the unforking patch has to be done first, I'm assuming it.
17:48:15 <flo-retina> does that need ui-review from someone on the tb side?
17:48:31 <-- sonny has quit (Ping timeout)
17:48:38 <flo-retina> I don't know what the unforking patch does. I guess it's one in my queue :-]
17:48:48 <aleth> Possibly. I should ask.
17:52:51 <clokep_work> aleth: Ask JosiahOne.
17:55:09 --> gerard-majax_ has joined #instantbird
17:57:31 <-- aleth has quit (Ping timeout)
18:00:30 --> aleth has joined #instantbird
18:00:30 * ChanServ sets mode +o aleth 
18:01:58 --> mconley has joined #instantbird
18:02:38 <clokep_work> aleth: Am I stupid or where would those be used in TB? :-S
18:03:27 <aleth> The sidebar on the left hand side has a list of open conversations, looks a bit like conversations on hold.
18:05:29 <clokep_work> aleth: Yeah...where does that get applied. :-\
18:05:34 <aleth> Applied?
18:05:36 <clokep_work> Ah, status.css?
18:05:39 <aleth> Right.
18:05:41 <clokep_work> No, that's in im/
18:05:48 <aleth> It won't be ;)
18:06:45 <clokep_work> Ohhhhh, I understand.
18:07:33 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
18:07:55 --> sonny has joined #instantbird
18:08:16 <-- Mic has quit (Ping timeout)
18:08:24 <-- sonny has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
18:10:09 <clokep_work> aleth: Hmm...that spacing comment might have been a splinter boo-boo.
18:10:14 <clokep_work> But regardless, please just check it. :)
18:11:46 <aleth> clokep_work: The problem is it depends on how many spaces you translate a tab to
18:12:44 <aleth> But thanks.
18:16:16 <-- Rym has quit (Ping timeout)
18:16:44 --> Rym has joined #instantbird
18:17:40 <clokep_work> aleth: Yeah. I realized that when it re-rendered on the other page. :)
18:20:05 <clokep_work> Sorry for the noise. :-\
18:20:06 <clokep_work> Don't panic.
18:20:43 <-- nhnt11 has quit (Ping timeout)
18:21:34 <aleth> clokep_work: Nah, you were right, I updated it so that it looks right for tabs=8
18:24:24 <clokep_work> I have no idea what we're supposed to keep it at. :-\
18:24:27 <clokep_work> I use tabs = 4.
18:36:23 <-- aleth has quit (Ping timeout)
18:38:39 --> quartzjer has joined #instantbird
18:40:50 <-- quartzjer has quit (Quit: Leaving.)
18:45:10 --> Mic has joined #instantbird
18:45:10 * ChanServ sets mode +o Mic 
18:50:39 --> flo-retina has joined #instantbird
18:50:39 * ChanServ sets mode +qo flo-retina flo-retina 
18:51:06 <flo-retina> Usually I (we?) use tabs=8 (ie. the default emacs value)
18:51:07 <flo-retina> bugzilla also seems to use 8
18:52:15 <clokep_work> I just try not to use tabs. ;)
18:52:17 <flo-retina> the problem when looking at the diffs is that the "+" character at the beginning of all lines changes the indent (because a tab that was shown as 1 space worth because of the modulo can become 8)
18:52:23 <flo-retina> yeah, tabs are evil :-P
19:18:19 <-- gerard-majax_ has quit (Ping timeout)
19:44:39 --> nhnt11 has joined #instantbird
19:49:26 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
20:02:17 <-- arlolra has quit (Quit: arlolra)
20:03:30 --> gerard-majax_ has joined #instantbird
20:36:18 --> clokep has joined #instantbird
20:36:19 * ChanServ sets mode +o clokep 
20:40:55 <-- Vigilante has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
20:44:09 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
20:44:19 --> clokep has joined #instantbird
20:44:19 * ChanServ sets mode +o clokep 
20:45:00 --> unghost has joined #instantbird
21:10:23 <-- mconley has quit (Input/output error)
21:11:02 <-- CaptainCalliope has quit (Quit: CaptainCalliope)
21:13:34 * Fallen is now known as Fallen|away
21:15:00 <-- gerard-majax_ has quit (Ping timeout)
21:20:24 <clokep> Bah, where's aleth!
21:20:26 <clokep> I have a question. :(
21:31:50 <clokep> flo-retina: What do you think would be the best way to run some code each time a user joins a channel? I could probably add observers or I can override part of the IRC backend code?
21:32:09 <flo-retina> is it for an add-on?
21:32:13 <clokep> Yes.
21:32:36 <Mook_as> observers would be nice, since other addons might want to do the same
21:32:55 <Mook_as> (and multiple overrides get really messy really quickly)
21:33:02 <clokep> Yeahhhhh....that sounds....more painful. :(
21:33:07 <Mook_as> but then, I'm talking out of my derriere ;)
21:33:19 <clokep> Yeah, but you're right like -90% of the time...
21:33:40 <Mook_as> just do the thing chatzilla already does :p
21:37:25 <clokep> Hmm....is there no way to add an observer for when new conversations are created on an account? :-S
21:37:33 <flo-retina> clokep: is the add-on doing IRC specific stuff, or doing UI stuff?
21:37:41 <clokep> flo-retina: IRC specific.
21:38:22 <flo-retina> then I would try to import one of the IRC .jsm and plug something in somewhere
21:39:05 <flo-retina> otherwise observing new conversations and adding an observer on each created conversation is possible and possibly cleaner
21:39:07 <Mic> clokep: observe all new conversations and check if its the right account?
21:39:20 <clokep> Mic: That sounds painful. ;)
21:39:27 <clokep> I think I just need to plug-in two parts of the IRC code.
21:39:31 <clokep> JOIN and somewhere else...
21:39:34 <flo-retina> but if you are going to end up using stuff that's directly inside the IRC prpl to do stuff, that's not worth the trouble of registering observers cleanly
21:39:43 <clokep> (Or possible even the ircPariticpant code, but that'd be meh.)
21:43:33 <-- Rym has quit (Ping timeout)
21:43:50 --> Rym has joined #instantbird
21:50:29 <Mic> clokep: I'm curious, what is this add-on going to do? :)
21:51:27 <clokep> Mic: I expect the end result is me getting banned from moznet. ;)
21:52:35 <clokep> I have to go though, spiderman.
21:52:59 <clokep> Mic: I'm curious what clients people on m oznet yes.
21:53:00 <clokep> use
21:54:21 * clokep is now known as clokep|spiderman
21:57:18 --> mconley has joined #instantbird
22:06:14 --> EionRobb has joined #instantbird
22:09:16 <-- mconley has quit (Input/output error)
22:16:55 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
22:48:00 --> quartzjer has joined #instantbird
22:58:32 <-- Mic has quit (Ping timeout)
23:35:56 --> BWMerlin has joined #instantbird