#instantbird log on 06 26 2014

All times are UTC.

00:05:45 --> clokep_work has joined #instantbird
00:05:45 * ChanServ sets mode +o clokep_work 
00:20:15 --> mayanktg-ph has joined #instantbird
00:21:50 <-- Rym has quit (Ping timeout)
00:22:11 --> Rym has joined #instantbird
00:22:49 <-- mayanktg-ph has quit (Quit: Connection closed for inactivity)
00:28:53 <-- Rym has quit (Ping timeout)
00:29:57 --> Rym has joined #instantbird
00:49:08 <-- wnayes has quit (Ping timeout)
00:52:31 --> wnayes has joined #instantbird
01:00:14 <clokep> Hello wnayes.
01:12:08 <-- Rym has quit (Ping timeout)
01:12:27 --> Rym has joined #instantbird
01:15:03 <-- Rym has quit (Ping timeout)
01:16:35 --> Rym has joined #instantbird
01:16:52 <-- Mook_as has quit (Quit: Mook_as)
01:41:19 <-- Rym has quit (Ping timeout)
01:42:42 --> Rym has joined #instantbird
01:58:39 <-- Rym has quit (Connection reset by peer)
01:59:01 --> mconley has joined #instantbird
01:59:04 --> Rym has joined #instantbird
02:08:14 <-- Rym has quit (Ping timeout)
02:08:51 --> Rym has joined #instantbird
02:13:17 <-- Rym has quit (Connection reset by peer)
02:13:44 --> Rym has joined #instantbird
02:20:13 <-- clokep has quit (Ping timeout)
02:20:39 <-- clokep_work has quit (Ping timeout)
02:24:47 <wnayes> clokep: Hello!
02:25:04 * wnayes was too busy being distracted by Google I/O content...
02:39:46 <-- wnayes has quit (Quit: wnayes)
02:59:17 <-- mconley has quit (Quit: NO CARRIER)
03:14:03 <-- Rym has quit (Ping timeout)
03:35:47 --> Mook has joined #instantbird
04:08:49 <sawrubh> Morning folks
04:09:06 <sawrubh> I'm starting work in half an hour
04:11:21 <EionRobb1> don't do it! it's a trap!
04:13:23 <sawrubh> :)
05:12:10 --> mpmc has joined #instantbird
05:58:05 --> Tonnes has joined #instantbird
06:05:57 --> jb has joined #instantbird
06:32:20 <-- EionRobb1 has quit (Quit: Leaving.)
06:37:08 <-- jb has quit (Ping timeout)
06:45:43 * Fallen|away is now known as Fallen
06:47:44 --> mayanktg-ph has joined #instantbird
06:58:33 <-- Mook has quit (Quit: Mook)
07:04:20 --> jb has joined #instantbird
07:07:41 --> EionRobb has joined #instantbird
07:31:10 <-- jb has quit (Ping timeout)
07:33:32 --> jb has joined #instantbird
07:41:42 <-- jb has quit (Ping timeout)
07:42:46 --> Mic|web has joined #instantbird
08:06:03 <-- Mic|web has quit (Ping timeout)
08:15:58 --> Mic|web has joined #instantbird
08:27:05 --> mayanktg has joined #instantbird
08:27:15 <mayanktg> Mic|web: Morning! :)
08:27:32 <-- mayanktg-ph has quit (Quit: )
08:30:43 <-- chrisccoulson has quit (Quit: OSError: [Errno 130] Owner died)
08:30:58 --> chrisccoulson has joined #instantbird
08:34:23 <Mic|web> Hi!
08:37:57 <mayanktg> Please try the user icon patch whenever you are free on Windows and let me know the changes if required for the styling. :)
08:37:59 <Mic|web> My build stops with "Could not find a suitable make implementation." right after starting it.
08:38:33 <mayanktg> :-o
08:39:04 <Mic|web> Is that something new? Too bad that I updated my repo right before that.
08:39:45 <Mic|web> Would have been nice to know if it failed without that also...
08:39:47 <mayanktg> Yeah. We fixed the styling for Mac and made some changes to the bug as flo suggested.
08:40:14 <Mic|web> It suggests to use MozillaBuild 1.9 but I already have that ofc.
08:42:20 <mayanktg> Maybe try reinstalling the  latest mozilla build setup? No idea though.
09:04:05 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
09:04:11 --> nhnt11 has joined #instantbird
09:12:08 <Mic|web> Reinstalling MozillaBuild didn't help.
09:12:11 <Mic|web> hmm...
09:13:35 --> jb has joined #instantbird
09:26:56 --> Armada has joined #instantbird
09:32:09 <-- stux has quit (Quit: Aloha!)
09:40:24 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
09:40:28 <-- EionRobb has quit (Quit: Leaving.)
09:40:58 --> EionRobb has joined #instantbird
09:43:07 --> stux has joined #instantbird
09:53:32 --> BWMerlin has joined #instantbird
10:16:24 <-- EionRobb has quit (Ping timeout)
10:16:36 --> EionRobb has joined #instantbird
10:16:48 * Fallen is now known as Fallen|away
10:17:23 --> clokep has joined #instantbird
10:18:50 <clokep> Mic|web: pymake is no longer supported
10:18:58 <clokep> Do you have mozmake installed?
10:19:22 * Fallen|away is now known as Fallen
10:25:28 --> EionRobb1 has joined #instantbird
10:26:12 <-- EionRobb has quit (Ping timeout)
10:31:58 <Mic|web> clokep: I'll check that, thanks!
10:31:59 <Mic|web> bye
10:32:09 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
10:33:16 <clokep> If you're using Mach it sohuld just work.
10:47:35 <-- EionRobb1 has quit (Quit: Leaving.)
10:56:53 <-- clokep has quit (Ping timeout)
10:57:38 --> mpmc has joined #instantbird
11:05:10 --> Hadi has joined #instantbird
11:15:18 * nhnt11 marks the async logs patch checkin-needed
11:19:15 <sawrubh> \o/
11:34:37 --> clokep_work has joined #instantbird
11:34:38 * ChanServ sets mode +o clokep_work 
11:34:45 <nhnt11> clokep_work: Hey, I was just about to ping you
11:34:52 <nhnt11> I've got a patch for starting new log files
11:35:14 <nhnt11> Currently it just starts a new file if it's been 20 mins since the last message
11:35:26 <clokep_work> nhnt11: OK.
11:35:31 <nhnt11> How about forcing a new log file at midnight for MUCs only
11:35:32 <nhnt11> ?
11:35:44 <clokep_work> sawrubh: Are you blocked on me at all currently? Do you understand where to go for these tests?
11:35:58 <clokep_work> nhnt11: Did you see what Florian suggested in the bug?
11:36:03 <nhnt11> clokep_work: Yes.
11:36:16 <nhnt11> "Then, if the conversation has been ongoing for a long time, we should split at midnight"
11:36:25 <nhnt11> "a long time" isn't very clear to me
11:36:32 <nhnt11> Half a day? Full day?
11:36:38 <nhnt11> That's the other proposal I had
11:36:49 <nhnt11> (1 sec)
11:37:14 <nhnt11> Let's say it's midnight on day 3. If the conversation was started on day 1, then start a new log file
11:37:18 <nhnt11> Does this make sense?
11:37:46 <nhnt11> I mean, it's 00:00 on Thursday, and the log file was started some time on Tuesday
11:38:31 <nhnt11> The reason I suggested force-splitting at midnight was because flo's reasoning was "that will avoid splitting private conversations happening near midnight"
11:39:25 <clokep_work> nhnt11: OK, so, let's start by stating what our goals are...then go from there.
11:39:27 <sawrubh> clokep_work: right now, I'm not blocked, I was adding a way to show the errors in the UI
11:39:39 <nhnt11> The goal is to split log files when conversations get long.
11:39:54 <clokep_work> sawrubh: Ah, cool. Notificationbar, right?
11:39:58 <sawrubh> yes
11:40:01 <nhnt11> Splitting after periods of inactivity (20 mins maybe) is good, I think we agree with that
11:40:23 <nhnt11> This doesn't fully work for active MUCs
11:40:28 <clokep_work> nhnt11: I think that's reasonable, yes. But then you want to split conversations even if there is NO lapse in activity if they've been ongoing for a long time.
11:40:33 <nhnt11> So we need to force-split these at some point.
11:40:38 <nhnt11> Yeah, exactly
11:40:40 <sawrubh> clokep_work: don't review right now, it makes sense to do it once I upload this entire patch with all the changes I'm doing right now locally
11:40:44 <clokep_work> nhnt11: Don't think of this in terms of MUCs, that's an example.
11:40:48 <nhnt11> So I'm trying to decide this "long time"
11:40:54 <clokep_work> sawrubh: OK! Is the backend stuff changing too?
11:40:54 <nhnt11> the value of it I mean
11:41:15 <sawrubh> clokep_work: yes, adding new interfaces and strings
11:41:19 <nhnt11> I think, at midnight, if the conversation has been ongoing for more than 24 hours, that's a good time to split
11:41:21 <clokep_work> nhnt11: Is there a concern of losing data if we don't do it often enough or...what difference does it make?
11:41:23 <clokep_work> sawrubh: OK.
11:41:29 <sawrubh> backend and frontend both
11:41:42 <nhnt11> clokep_work: Huge log files means huge entries in the database
11:41:59 <nhnt11> So when searching for osmething, we're forced to read a huge file
11:46:49 <clokep_work> nhnt11: OK, so it really sounds to me like you care about the number of messages, not the time.
11:47:14 <nhnt11> clokep_work: I also care about the time, because we have daily log enumerators
11:47:27 <nhnt11> These split logs by files
11:47:33 <nhnt11> And it is assumed that a file is for a single day
11:47:52 <nhnt11> So it makes sense to include a few extra messages for a day, if the conversation is ongoing
11:48:15 <nhnt11> But it does /not/ make sense to include a very long session that cuts well into the next day.
11:48:36 <clokep_work> OK.
11:48:43 <clokep_work> I just find it hard to describe what a "day" is.
11:48:49 <nhnt11> exactly.
11:49:23 <nhnt11> I'm trying to define that.
11:49:34 <nhnt11> Considering that the log viewer splits stuff by /date/
11:49:40 <nhnt11> I think my suggestion makes sense
11:49:50 <nhnt11> (if, at midnight, it's been 24 hours since we started the file, start a new one)
11:50:09 <clokep_work> I don't understand the "at midnight" part? Why not just "if the file has existed for 24 hours"
11:50:40 <nhnt11> We're talking about conversations that are continuously ongoing here
11:50:48 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:50:52 <nhnt11> (Because we'd already have split it after 20 mins otherwise)
11:51:03 <nhnt11> So in that case, it makes sense to fit it as best as possible with the date
11:51:24 <nhnt11> since that's how the daily log enumerator organizes them
11:52:00 <nhnt11> Does this make sense?
11:54:07 --> mpmc has joined #instantbird
11:54:44 <clokep_work> nhnt11: I 100% understand we're talking about continuous conversations. You don't need to keep reiterating that.
11:54:57 <clokep_work> nhnt11: No, because "the date" doesn't mean anything.
11:55:01 <clokep_work> It depends heavily on timezone.
11:56:39 <nhnt11> clokep_work: Do you frequently move across timezones?
11:56:53 <nhnt11> When viewing logs in the log viewer, you're obviously thinking in terms of /your/ timezone
11:56:56 <nhnt11> So I don't see how that matters
11:56:59 <nhnt11> I'm using the local date
11:59:02 <nhnt11> My thinking is that let's say you have a conversation from 12pm to 12pm. it spans half of day one and half of day two. We could split it here, and keep doing that for every conversation
11:59:13 <nhnt11> But then when you go to see the logs, and click on entries in the tree
11:59:20 <nhnt11> You see logs that start at 12pm
11:59:25 <nhnt11> And go into half of the next day
11:59:27 <nhnt11> That's confusing IMO
11:59:38 <clokep_work> nhnt11: At least twice a year. ;)
12:00:16 <clokep_work> nhnt11: Mostly I think you're over thinking an issue / wasting time on something that isn't super important.
12:00:54 <clokep_work> nhnt11: Just choose a reasonable amount of time and go with it.
12:00:59 <nhnt11> ij
12:01:01 <nhnt11> ok*
12:14:15 <-- BWMerlin has quit (Quit: BWMerlin)
12:15:12 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
12:26:26 * nhnt11 is writing a test this time before it's asked for ;)
12:41:57 --> gerv has joined #instantbird
12:42:11 <gerv> Anyone seen aleth?
12:42:45 <nhnt11> gerv: He hasn't been around today
12:42:48 <clokep_work> gerv: Not today, is there something I can help w/?
12:42:58 <gerv> clokep_work: His midterm GSoC evaluation? :-)
12:43:01 <clokep_work> (I think Florian is in Paris today at a conference too, if that's useful. ;))
12:43:08 <clokep_work> gerv: Does that mean you're about to bug me too? :P
12:43:15 * gerv checks list
12:43:18 <gerv> Ah - yes! :-)
12:43:21 <gerv> Anyone seen clokep?
12:43:25 <clokep_work> ;)
12:43:44 <clokep_work> gerv: I plan to do it this afternoon, I have to finish a presentation for work in the next 2 hours.
12:43:52 <gerv> OK. As long as it's on your radar.
12:43:58 <gerv> Deadline is tomorrow, 19:00 UTC.
12:43:59 <clokep_work> Yep! Thanks for the reminder. :)
12:44:01 <clokep_work> OK!
12:44:21 * clokep_work goes to put the minimum info in.
12:45:32 --> Rym has joined #instantbird
12:47:54 --> qheaden has joined #instantbird
12:48:25 <gerv> clokep_work: If you see aleth, please remind him.
12:52:31 <clokep_work> gerv: Will do!
13:00:06 <-- Rym has quit (Ping timeout)
13:00:57 --> Rym has joined #instantbird
13:01:31 <-- gerard-majax__ has quit (Ping timeout)
13:09:11 <mayanktg> Mic: I'm going out, will upload the patch for the Video call bug after returning. :)
13:11:43 <-- Rym has quit (Connection reset by peer)
13:12:11 --> Rym has joined #instantbird
13:18:14 <-- mayanktg has quit (Ping timeout)
13:24:51 <-- Rym has quit (Ping timeout)
13:30:41 --> gerard-majax__ has joined #instantbird
13:33:12 <-- Hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
13:45:35 --> Rym has joined #instantbird
13:50:43 <-- jb has quit (Connection reset by peer)
13:51:10 --> jb has joined #instantbird
13:58:23 --> iamjayakumars has joined #instantbird
14:09:13 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
14:28:50 --> clokep_work has joined #instantbird
14:28:50 * ChanServ sets mode +o clokep_work 
14:34:19 --> flo-retina has joined #instantbird
14:34:19 * ChanServ sets mode +qo flo-retina flo-retina 
14:36:46 --> mconley has joined #instantbird
15:04:05 <-- Rym has quit (Ping timeout)
15:05:32 --> Rym has joined #instantbird
15:08:14 <-- Rym has quit (Ping timeout)
15:12:49 --> Rym has joined #instantbird
15:13:48 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:18:10 <-- Rym has quit (Connection reset by peer)
15:21:07 <-- jb has quit (Ping timeout)
15:22:28 --> jb has joined #instantbird
15:22:42 --> Rym has joined #instantbird
15:23:52 <-- jb has quit (Connection reset by peer)
15:23:55 --> jb1 has joined #instantbird
15:46:43 <-- iamjayakumars has quit (Client exited)
15:48:05 <-- Rym has quit (Ping timeout)
15:50:16 <clokep_work> sawrubh, nhnt11: You guys doing OK still?
15:50:29 --> Rym has joined #instantbird
15:52:53 <nhnt11> clokep_work: Yeah, I was away for dinner, just got back
15:53:10 <-- Rym has quit (Ping timeout)
15:53:43 --> Rym has joined #instantbird
15:55:16 <clokep_work> Me too. :P
15:55:29 <clokep_work> Well not the dinner part.
15:55:36 <-- nhnt11 has quit (Ping timeout)
15:56:17 --> nhnt11 has joined #instantbird
16:00:03 <sawrubh> I'm stuck with some weird issue of the `Error: No 'prpl-jabber' protocol plugin`
16:00:54 <-- Rym has quit (Ping timeout)
16:01:55 <sawrubh> I'm stuck with some weird issue of the `Error: No 'prpl-jabber' protocol plugin`
16:02:06 <clokep_work> sawrubh: You most likely have a syntax error.
16:02:39 <clokep_work> I don't know great ways to debug that. :-\
16:02:51 <clokep_work> I think trying to create the component in xpcshell might give you good info.
16:04:44 --> Rym has joined #instantbird
16:04:58 <nhnt11> May help if you pastebin, sometimes having a fresh pair of eyes look at it helps with syntax errors
16:13:53 <sawrubh> http://pastebin.instantbird.com/742319 is the backend code, http://pastebin.instantbird.com/742320 is the UI code
16:14:07 <clokep_work> Can you just pastebin the file?
16:14:16 <clokep_work> Although I guess it can be in one of a few files. :-\
16:14:49 <sawrubh> I've basically added an interface to the prplIFileTransfer.idl which contains the error string and this is what I pass to the UI using the sendErrorMessage function
16:15:26 <clokep_work> Are you positive the interface was built?
16:15:47 <sawrubh> how do I ensure that? I'm doing ./mozilla/mach build, it should be
16:16:03 <sawrubh> I've generated a new uuid
16:16:28 <clokep_work> You could try running mach configure first? :-\
16:16:43 * sawrubh tries
16:17:49 <-- gerard-majax__ has quit (Ping timeout)
16:20:41 <sawrubh> wow, after doing a configure, it's building so many things again which it didn't used to before
16:20:48 <sawrubh> build still running
16:21:58 <-- Rym has quit (Ping timeout)
16:22:36 --> Rym has joined #instantbird
16:23:54 <sawrubh> gah, the error still remains :/
16:24:17 <-- Rym has quit (Ping timeout)
16:25:12 --> Rym has joined #instantbird
16:25:27 <sawrubh> ok, let me take a step back, everything was working, then I added this new interface imFileTransfer to prplIFileTransfer.idl, *didn't* create any Generic** in jsProtoHelper.jsm, wrote a function which creates an object of imFileTransfer and passes it to the UI
16:26:04 --> mayanktg has joined #instantbird
16:26:20 <sawrubh> http://pastebin.instantbird.com/742321 is the error btw
16:27:39 <clokep_work> sawrubh: Can you send me just your xmpp.jsm file? Or hwatever creates the prplIFileTransfer?
16:27:44 <sawrubh> if I add two interface blah : nsISupports {} to the IDL file, do I need to do something special?
16:29:47 <clokep_work> No.
16:31:47 <-- Rym has quit (Ping timeout)
16:32:50 <sawrubh> clokep_work: so I use the "imFileTransferError" interface for passing the error to the UI, it's defined on L630 of http://pastebin.instantbird.com/742319. Do you want me to send the whole xmpp.jsm with my changes or the diff of it?
16:33:19 <clokep_work> sawrubh: I need whole files in order to put them into my editor.
16:33:56 <clokep_work> sawrubh: So we usually send back an enumerated list of errors, not an actual string from a protocol.
16:33:58 --> Rym has joined #instantbird
16:34:53 <sawrubh> clokep_work: xmpp.jsm : http://pastebin.instantbird.com/742332 and xmpp-file-transfer.jsm : http://pastebin.instantbird.com/742333
16:36:03 <clokep_work> sawrubh: L263 is missing a ,
16:38:25 <sawrubh> clokep_work: it's working now
16:38:42 <clokep_work> \o/
16:38:47 <clokep_work> Victory is mine!
16:38:55 <sawrubh> a)how did you do it so quickly? b) shouldn't someone, the compiler or the error console have said something like this?
16:39:06 <clokep_work> sawrubh: All I did was throw it in my editor and check for syntax errors.
16:39:27 <clokep_work> sawrubh: Yes, but for some reason components don't give nice stack traces about syntax errors that cause creation of the component to fail.
16:39:30 <sawrubh> you have some linter installed?
16:39:43 <clokep_work> It's part of my editor.
16:39:52 <sawrubh> which one shall that be?
16:39:54 <clokep_work> It's just the Mozilla JS engine.
16:39:56 <clokep_work> Komodo IDE.
16:40:09 * sawrubh grumbls something about Submile
16:41:11 <-- Rym has quit (Ping timeout)
16:41:46 <clokep_work> Sub-smile?
16:41:47 <clokep_work> :P
16:42:53 --> Mook_as has joined #instantbird
16:44:39 --> Rym has joined #instantbird
16:47:11 <sawrubh> bah, Komodo is a paid IDE
16:47:34 <Mook_as> Yeah :| You'll need to use Komodo Edit for the free stuff
16:48:12 <clokep_work> sawrubh: Komodo Edit has most of the features I actually use.
16:51:44 <-- Rym has quit (Ping timeout)
16:52:15 --> Rym has joined #instantbird
16:52:42 <sawrubh> if I have http://pastebin.instantbird.com/742346 and I do |aStanza.getChildren("error").getChildren("forbidden").length != 0| it should work right?
16:54:02 <sawrubh> http://dxr.mozilla.org/comm-central/source/chat/protocols/xmpp/xmpp.jsm#811 does something like that
16:54:19 --> BillBinkley has joined #instantbird
16:54:48 --> gerard-majax__ has joined #instantbird
16:55:20 <clokep_work> sawrubh: Maybe even just |!aStanza.getChildren("error").getChildren("forbidden").length|
16:55:46 <BillBinkley> hello all.  Is there an easy way to use instantbird to do a group conversation using xmpp account
16:55:46 <clokep_work> Actually, you might not even ened the length.
16:55:57 <clokep_work> BillBinkley: File > Join chat...
16:56:04 <clokep_work> BillBinkley: And hello. :)
16:56:17 <clokep_work> sawrubh: These are the kind of things to write tests for! :-D
16:56:27 <sawrubh> :)
16:57:33 <BillBinkley> thank you, how about sending a broadcast out to selected individuals without starting a "chat room" per say
16:57:55 --> Hadi has joined #instantbird
16:58:24 <clokep_work> BillBinkley: Is that something that XMPP even supports?
16:58:38 <clokep_work> I've never heard of taht (although I'm not super in the know about the XMPP specs.)
16:58:56 <clokep_work> I don't know of a way to do that with Instantbird, no.
16:58:58 <BillBinkley> yes it does, 
16:59:05 <BillBinkley> ok thank you
16:59:08 <clokep_work> Did you check if there's a command for it?
16:59:26 <BillBinkley> I have looked for one and can not find it
17:00:23 <clokep_work> Alright. I know the JS code definitely doesn't support it, but I don't know about libpurples XMPP code.
17:00:35 <clokep_work> (Of which we use both depending on certain situations. . .)
17:01:30 <-- qheaden has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:02:26 <sawrubh> clokep_work: no because it's not working, it's saying getChildren isn't a function, also http://dxr.mozilla.org/comm-central/source/chat/protocols/xmpp/xmpp-xml.jsm#235 says that it might just return the immediate child, so in case of http://pastebin.instantbird.com/742347 it means <bad-request/> instead of <bad-profile/> which I wanted
17:03:12 <clokep_work> sawrubh: You'll probably need |aStanza.getChildren("error")[0].getChildren("forbidden")|
17:03:14 <clokep_work> Notice the [0]
17:03:20 <clokep_work> Since getChildren returns an array.
17:04:26 <sawrubh> ah
17:04:39 <sawrubh> so it does search all the children
17:06:08 <-- Rym has quit (Ping timeout)
17:09:59 <-- BillBinkley has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
17:11:19 <Hadi> guys, is it hard to compile instantbird on linux?
17:11:31 <sawrubh> Hadi: no! it's very easy
17:11:38 <sawrubh> (seriously, I'm not joking)
17:12:07 <sawrubh> Hadi: instructions are here : https://developer.mozilla.org/en-US/docs/Simple_Instantbird_build
17:12:12 <sawrubh> let us know if you have any questions
17:12:13 <Hadi> sawrubh: I want to install it on manjaro os, i use yaourt to do it, but when it  wants to build itself it says xhul: command not found or something
17:12:46 <sawrubh> I haven't heard of manjaro, yaourt or xhul
17:12:52 <Hadi> sawrubh: thanks! I'm going to give this a shot
17:12:58 <sawrubh> clokep_work: ^
17:13:02 <Mook_as> Hmm, I've heard of yourt, in the context of arch linux
17:13:36 <clokep_work> Never heard of any of those things. :)
17:14:59 <Hadi> yeah yaourt  uses arch's user repos to pull the instructions in and  comple the thing itself
17:17:38 <Hadi> oh
17:17:44 <Hadi> it's called xulrunner
17:25:34 <-- gerard-majax__ has quit (Ping timeout)
17:27:18 <Mook_as> That probably means you're using a pretty old version of instantbird... xulrunner's been dead for a bit :(
17:29:22 * nhnt11 wonders why his test is going into an infinite recursive loop
17:30:37 <-- Hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:38:27 <-- jb1 has quit (Ping timeout)
17:40:21 <nhnt11> Aha!
17:40:35 <nhnt11> My message times were in milliseconds instead of seconds :(
18:05:53 --> Hadi has joined #instantbird
18:06:17 <Hadi> Does instantbird store logs in windows? if so where i can find them?
18:07:21 <clokep_work> Hadi: I don't really understand your question, but it does store logs.
18:08:13 <Hadi> clokep_work:  Somebody told me how to do a thing on  freenode yesterday. can i find it somewhere in my computer? or it's gone once i closed my instantbird
18:09:26 <clokep_work> Hadi: It's stored on your computer.
18:09:35 <clokep_work> If you reopen the channel you can right click and choose "show logs"
18:09:51 <clokep_work> Or you can look at the file on your hard drive if you want, but it's JSON encoded so can be a little funky to read.
18:10:39 <Hadi> clokep_work: where can i find the files? well it was in a private message
18:11:51 <nhnt11> Hadi: Open a conversation with the person again
18:11:56 <nhnt11> Then right click-> show logs
18:12:02 <nhnt11> right click on the tab I mean
18:12:31 <clokep_work> Hadi: I'm very confused at whether you want to open the logs in Instantbird or from your hard drive in a text editor. nhnt11 can help you in either case though, he's our log expert. ;)
18:13:52 <nhnt11> Hadi: If you talk with this person often, add them as a contact
18:14:04 <nhnt11> Then you can just right click the contact and the buddy list and choose show logs
18:14:14 <Hadi> oh
18:14:30 <Hadi> I'm going to try this
18:15:23 <-- Hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
18:15:29 --> Hadi has joined #instantbird
18:17:23 <nhnt11> Hadi: Let me know if you achieved what you wanted :)
18:17:48 <Hadi> nhnt11: alright!
18:19:07 <Hadi> nhnt11:  well, that person is offline now.... i can't find him
18:19:25 <nhnt11> Hadi: Do you know their nick?
18:19:52 <Hadi> nhnt11: Trying to recall... it wasn't a friend...
18:19:57 <nhnt11> I see.. :(
18:20:16 * nhnt11 should work on getting non-contact nicks in the awesometab
18:20:30 <clokep_work> Hadi: What OS are you oN?
18:20:43 <nhnt11> Hadi: Sorry this is such a pain. Do you remember a channel that you both were on?
18:20:53 <Hadi> clokep_work: windows 7
18:20:59 <clokep_work> Hadi: Inside of your profile (http://www.instantbird.com/faq.html#profilefolder) there is a folder called logs
18:21:05 <Hadi> nhnt11: yeah #openvpn
18:21:11 <clokep_work> Inside of that will be your account name, inside of that will be folders with everyone you've talked to.
18:22:15 <nhnt11> Hadi: You can open the channel, and view the log for that channel, to find out his nick
18:22:45 <nhnt11> What clokep_work suggested would work too to remember his name :)
18:22:49 <Hadi> clokep_work: oh i see the json files
18:23:02 <Hadi> nhnt11: good idea!
18:23:13 <Hadi> nhnt11: I see his name now
18:23:41 <nhnt11> Hadi: Great! If you want to add him as a contact, you can do that, or just open a conversation with him (/msg <nick>)
18:24:00 <Hadi> added him as contact. now just right click and show logs right
18:24:04 <nhnt11> Yup
18:25:49 <Hadi> yeeaaaaAAAA
18:25:54 <Hadi> thank you!
18:26:11 <nhnt11> No problem, sorry that process was lengthier than it should be :(
18:27:01 <Mook_as> It sounds like a "a logs by time" view would be useful here?
18:27:40 <nhnt11> Mook_as: The problem here was that it wasn't clear who the other party was, so I don't think so.
18:27:55 <nhnt11> (How would you show logs by time for multiple conversations at once?)
18:28:13 <nhnt11> Anyway, logs are already organized by date, which is a form of time :)
18:28:26 <Mook_as> It's just inverting the axes (order by time first, list all users in range)
18:28:31 <Mook_as> err, right, date is exactly what I mean
18:28:49 <Mook_as> right now it's buddy -> date; a date -> buddy view might be useful here.
18:28:58 <nhnt11> Are you suggesting a "who did I talk to in the last x hours?" feature?
18:29:06 <nhnt11> Interesting..
18:29:09 <Mook_as> yeah, something like that
18:29:17 <clokep_work> I think he's just showing a problem, not suggesting a solution. ;)
18:29:17 <nhnt11> And show buddies in the tree instead of dates
18:29:49 <nhnt11> Awesomelogs ;)
18:30:13 <nhnt11> Type a date, see buddies who you've talked to on that date. Type a buddy, see the dates on which you've talked to that buddy
18:31:06 * nhnt11 goes back to his failing test
18:31:25 <Mook_as> Magic log view, with dates on the top and buddies on the side, filter boxes for each, click on a table cell to view
18:31:33 <Mook_as> (not an actually good suggestion)
18:31:36 <clokep_work> With a graph.
18:32:17 <nhnt11> lol
18:32:46 <Mook_as> magic voice input "instantbird, who did I talk to yesterday" :D
18:33:43 <Hadi> ^^
18:34:11 <sawrubh> "OK Instantbird" to activate it
18:35:33 --> flo-retina has joined #instantbird
18:35:33 * ChanServ sets mode +qo flo-retina flo-retina 
18:59:44 <nhnt11> oh wow, I completely missed the fact that logger.js is using the conv's start date for the log file name
18:59:46 <nhnt11> Duh!
18:59:53 <nhnt11> s/missed/forgot/
19:04:04 <sawrubh> http://pastebin.instantbird.com/742403 sends the request to show the notification bar, http://pastebin.instantbird.com/742404 acts on it and I get this error http://pastebin.instantbird.com/742402
19:04:27 <sawrubh> basically there's some issue with L6 of http://pastebin.instantbird.com/742404
19:04:50 <sawrubh> ah nvm
19:04:54 <sawrubh> I'm stupid is all
19:38:32 --> Even has joined #instantbird
19:38:32 * ChanServ sets mode +o Even 
19:39:08 <sawrubh> clokep_work: ping
19:39:25 <clokep_work> sawrubh: Please just ask questions.
19:43:29 <sawrubh> so like I told you, I've defined this function sendErrorMessage (http://pastebin.instantbird.com/742404) at http://mxr.mozilla.org/comm-central/source/chat/protocols/xmpp/xmpp.jsm#240 but I get this error : http://pastebin.instantbird.com/742415
19:44:01 <clokep_work> sawrubh: Did you see my comment earlier about enumeated errors instead of strings btw?
19:44:05 <clokep_work> You seemed to have ignored it . . .
19:44:32 <sawrubh> hrm, I seem to have missed/ignored it
19:45:43 <sawrubh> but still how would that change this error....
19:46:14 <nhnt11> flo-retina: What do you think of always using Date.now() instead of a conv's startDate for log file names?
19:46:15 <clokep_work> I haven't looked at it yet.
19:46:37 <flo-retina> nhnt11: why would you do that?
19:46:41 <nhnt11> (I don't see a good reason for using conv.startDate, but figured you may have one)
19:46:55 <nhnt11> flo-retina: It's easier when I'm starting new log files for the same conversation
19:47:03 <clokep_work> sawrubh: It would change it because that code would be entirely different.
19:47:14 <flo-retina> nhnt11: ah, you are working on splitting log files?
19:47:18 <nhnt11> Yes.
19:47:28 <nhnt11> I'm having more trouble with it than I expected
19:47:30 <clokep_work> sawrubh: But I'm not sure where that error is coming from and I'm on a call right now.
19:47:38 <nhnt11> Yay for tests, writing one revealed problems.
19:47:46 <sawrubh> clokep_work: ok, sure
19:48:26 <clokep_work> Maybe flo-retina can look.
19:49:23 <flo-retina> nhnt11: I didn't expect that patch to be easy
19:50:24 <nhnt11> I did, and still think it's not too bad, but I was stuck with a stupid issue on my test where I forgot that messages store time in seconds and not ms
19:50:42 <nhnt11> flo-retina: Anyway, do you have anything against always using Date.now()?
19:50:47 <nhnt11> Seems fine to me.
19:51:01 <flo-retina> nhnt11: I can find theoretical reasons why startDate should be used
19:51:11 <nhnt11> for the first log file?
19:51:19 <nhnt11> Why?
19:52:33 <flo-retina> nhnt11: one thing I considered we should do (but never bothered actually doing) is logging the whole ongoing conversation when one turns on logging
19:53:09 <nhnt11> :-/
19:53:20 <flo-retina> nhnt11: btw, if your I/O operations are slow and get queued for a while, wouldn't Date.now() become inaccurate?
19:53:39 --> jb has joined #instantbird
19:53:49 <nhnt11> Don't think so.
19:54:09 <flo-retina> nhnt11: I've also wondered if you should use the timestamp of the first logged message. But that would be kinda wrong for XMPP conversations with offline messages at the top
19:54:54 <nhnt11> I'm trying to think of a case where queuing could affect this
19:54:56 <nhnt11> one minute...
19:55:23 <flo-retina> nhnt11: would your Date.now() call run when putting stuff in the queue, or when the OS.File call is about to be made?
19:55:36 <nhnt11> When putting stuff in the queue
19:55:50 <nhnt11> Yeah
19:55:52 <nhnt11> Bad idea
19:55:53 <flo-retina> I don't really see what's making using startDate difficult
19:56:28 <nhnt11> flo-retina: Would you like using startDate, and appending a serial number to each file?
19:56:47 <nhnt11> 2014-15-15-blablabla-1, 2014-15-15-blablabla-2, so on
19:56:50 --> Mic|mobile has joined #instantbird
19:57:06 <nhnt11> That would require some careful rewriting of other parts of logger.js..
19:57:43 <Mic|mobile> Nhnt11, clokep: why is force splitting a conversation a problrm?
19:58:12 <nhnt11> Never mind, I'll figure this out, for the following behavior: use startDate for first file, and time of first message for the next files
19:58:26 <Mic|mobile> Sessions aren't going to be visible to the user, are they?
19:58:34 <nhnt11> Mic|mobile: It's not really a problem
19:58:41 <nhnt11> The thing we were discussing was /when/ to split them
19:58:44 <nhnt11> Idk...
20:00:01 <Mic|mobile> Why don't you use midnight if nobody's going to nozice anymore?
20:00:31 <flo-retina> Mic|mobile: sessions _are_ visible
20:00:41 <flo-retina> Mic|mobile: there's even section scroll for them in the log viewer
20:00:41 <nhnt11> Mic|mobile: The idea is that if there's a conversation that lasts till maybe 10 mins past midnight, it should stay in the same file.
20:01:18 <Mic|mobile> Isn't all that going away?
20:01:26 <flo-retina> Mic|mobile: I see no reason for it
20:01:39 <Mic|mobile> Oh, ok.
20:01:49 <flo-retina> Mic|mobile: we would likely make section scroll go from one result to another when something has been searched
20:02:03 <flo-retina> but when just scrolling up, I think it would make sense to have section scroll go up one session at a time
20:02:29 <Mic|mobile> I thought we're going to throw out zhe log viewer. Nevermind then.
20:02:47 <flo-retina> Mic|mobile: section scroll is also in the normal conversation viewer
20:03:07 <flo-retina> Mic|mobile: I'm talking about section scroll in the infinite scrollback
20:04:09 <flo-retina> nhnt11: we may also want to split automatically after some amount of data
20:04:46 <nhnt11> flo-retina: I was thinking, maybe after 500 messages or so
20:05:02 <flo-retina> I was thinking 1000 or 2000
20:05:06 <flo-retina> but that's the same idea
20:05:14 <nhnt11> cool
20:05:48 <flo-retina> hmm, that's adding another interesting edge case
20:06:19 <flo-retina> you could have several thousand messages with a timestamp at the same second. The second file would overwrite the first, right?
20:06:24 <-- gerv has quit (Ping timeout)
20:06:43 <nhnt11> Ah...
20:07:14 <nhnt11> flo-retina: How about not splitting the file till the log writer is closed, and then splitting it "smartly"?
20:07:33 <flo-retina> no :)
20:07:35 <nhnt11> This would involve more file I/O, and parsing, but would eliminate the problem of not knowing how the conversation will behave in the future
20:07:36 <nhnt11> yeah
20:07:46 <-- chrisccoulson has quit (Quit: OSError: [Errno 130] Owner died)
20:07:48 <nhnt11> I knew the answer as soon as I asked, really.
20:08:01 --> chrisccoulson has joined #instantbird
20:08:33 <Mic|mobile> Bbl
20:08:38 <-- Mic|mobile has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
20:09:21 <nhnt11> flo-retina: If it's unlikely that we'll have several million messages a the same time, we could make use of the remaining decimal places as counters
20:09:29 * nhnt11 waits for everyone reading that to cringe ^
20:09:43 <flo-retina> remaining decimal places?
20:09:49 <flo-retina> do you mean increment the timestamp?
20:09:59 <flo-retina> I thought we only had seconds in the log file name, not ms
20:10:06 <nhnt11> I was just typing that
20:10:14 <nhnt11> (yeah, it wouldn't work, never mind)
20:10:19 --> gerv has joined #instantbird
20:10:28 <flo-retina> nhnt11: I wouldn't be against incrementing the timestamp
20:10:53 <nhnt11> flo-retina: To the next second or using serial numbers?
20:11:05 <nhnt11> s/using/appending
20:11:25 <flo-retina> next second wouldn't be too bad
20:11:45 <flo-retina> you would just need to compare the timestamp you are about to use to create the new file and the previous timestamp used, and +1 if they are the same
20:11:54 <nhnt11> right.
20:11:58 <flo-retina> that's not pretty, but it's an edge case that should never happen
20:12:06 <nhnt11> or, check if the file exists, and increment in that case?
20:12:52 * nhnt11 shrugs
20:13:21 <nhnt11> flo-retina: Btw, the log header should use the start date of the conv for all files right?
20:13:33 <flo-retina> nhnt11: what if the timestamp of the first message of the second file is < the start time?
20:13:48 <flo-retina> (that could happen for twitter timelines, where we fill with old tweets, couldn't it?)
20:14:08 <nhnt11> That happens already, doesn't it?
20:14:30 <flo-retina> except we don't split the file
20:15:03 <nhnt11> Wait, why does it matter?
20:15:19 <nhnt11> Oh, for daily enumeration maybe..
20:15:30 <-- gerv has quit (Ping timeout)
20:15:46 * nhnt11 doesn't think we should be worrying about twitter too much here :-/
20:16:24 --> gerv has joined #instantbird
20:16:26 <flo-retina> I mostly agree
20:18:34 <flo-retina> I think we should ensure the solution we move forward with can be tweaked to handle all the potential edge cases; but we don't necessarily have to write the code to handle all of them now
20:24:02 --> EionRobb has joined #instantbird
20:55:01 --> Mic|web has joined #instantbird
20:58:38 <Mic|web> clokep_work: I'm using mach already (re http://log.bezut.info/instantbird/today#m91) :(
21:04:02 <clokep_work> Mic|web: :-\ I'm unsure.
21:04:08 <clokep_work> It's possible you need to clobber, but I hate suggesting that.
21:09:08 <clokep_work> Mic|web: Looks like JoeS1 is having that issue too in #maildev.
21:09:18 <Mic|web> http://pastebin.instantbird.com/742460
21:09:27 <Mic|web> It doesn't look like a clobber would fix that.
21:10:20 <clokep_work> Mic|web: Maybe try deleting all *.pyc files in the build system?
21:11:30 <flo-retina> nhnt11: http://log.bezut.info/instantbird/today#m110 (""a long time" isn't very clear to me") I had in mind something like 4 hours
21:12:08 <flo-retina> but if you want to use 24h, I guess that should work too
21:12:14 <flo-retina> you'll have large log files :)
21:17:59 <Mic|web> clokep
21:18:12 <Mic|web> clokep's seeing the same problem now, too.
21:18:52 <Mic|web> Also after updating his repo...
21:20:30 <flo-retina> Mic|web: are you using MozillaBuild 1.9?
21:20:50 <clokep_work> flo-retina: I'm on Mac.
21:21:17 <Mic|web> flo-retina: yes, I do.
21:21:18 <flo-retina> clokep_work: do you really get the "Please use MozillaBuild 1.9 or newer" error message on Mac? :-S
21:21:28 <clokep_work> I didn't say I get that.
21:21:34 <clokep_work> I get "Exception: Could not find a suitable make implementation."
21:21:47 <Mic|web> That should be a Windows-only message judging from the source that the error pointed me to.
21:22:13 <clokep_work> Which I thought was what Mic had said earlier.
21:22:43 <Mic|web> Yes, that's the message.
21:23:04 <Mic|web> I pastebined what I got about 20 minutes ago.
21:24:30 <flo-retina> ok, I'm way too tired to understand anything, so I'll let you all figure it out and go to bed. Bye! :)
21:32:01 <-- Hadi has quit (Ping timeout)
21:33:27 * Fallen is now known as Fallen|away
21:36:58 <Mic|web> clokep filed bug 1031009 for it.
21:37:01 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1031009 maj, --, ---, nobody, NEW, mach configure/build broken in c-c
21:37:13 <Mic|web> Seems to be fallout from a "remove pymake" bug.
21:40:56 --> Hadi has joined #instantbird
21:41:18 <-- EionRobb has quit (Ping timeout)
21:42:16 <-- clokep_work has quit (Ping timeout)
21:42:38 --> sonny1 has joined #instantbird
21:42:40 --> EionRobb has joined #instantbird
21:42:47 <-- sonny1 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
21:43:40 <-- flo-retina has quit (Ping timeout)
21:43:53 --> flo-retina has joined #instantbird
21:43:53 * ChanServ sets mode +qo flo-retina flo-retina 
22:04:14 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
22:04:24 <-- Suiseiseki has quit (Ping timeout)
22:05:03 <-- jb has quit (Ping timeout)
22:07:36 --> Suiseiseki has joined #instantbird
22:11:36 <nhnt11> flo-retina: The value I'm using right now is 3 hours, pretty close to yours :)
22:12:37 * Fallen|away is now known as Fallen
22:16:53 --> Rym has joined #instantbird
22:32:41 <-- mayanktg has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
22:32:47 --> clokep has joined #instantbird
22:36:41 --> clokep_work has joined #instantbird
22:36:41 * ChanServ sets mode +o clokep_work 
22:37:00 <clokep_work> nhnt11: ....but...even...numbers...
22:37:04 <clokep_work> Powers of 2!
22:37:23 <nhnt11> clokep_work: 3 is one 8th of the day, which is 2^3
22:37:29 <nhnt11> There's a certain symmetry there ;)
22:37:42 <nhnt11> well, technically 2^(-3)
22:38:06 <nhnt11> you can find something cool about most (small?) numbers if you try hard enough :P
22:38:59 <-- mconley has quit (Input/output error)
22:44:31 <clokep_work> Yea, yah.
22:45:06 * Fallen is now known as Fallen|away
22:46:03 <-- Rym has quit (Ping timeout)
22:46:38 --> Rym has joined #instantbird
23:02:48 <-- clokep_work has quit (Ping timeout)
23:06:13 <-- Rym has quit (Ping timeout)
23:08:20 --> Rym has joined #instantbird
23:47:41 <nhnt11> Yay, got those patches out of the way
23:47:56 <nhnt11> Good night! (or morning... it's 5:20am already :()
23:49:17 <nhnt11> Btw, I'm going to be away from this evening till sunday night. (I'll send an email as well)
23:49:21 <nhnt11> See you in a few hours :)
23:54:33 <-- Hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
23:56:49 <-- Armada has quit (Connection reset by peer)