#instantbird log on 07 07 2015

All times are UTC.

00:01:16 <Mook_as> Thanks for the heads up :)
00:01:17 --> clokep_ has joined #instantbird
00:01:17 * ChanServ sets mode +o clokep_ 
00:01:44 <clokep_> Hmm...who else was having that Windows crash?
00:01:52 <clokep_> I suspect it's in the DNS thread.
00:03:00 <-- clokep has quit (Ping timeout: 121 seconds)
00:03:01 * clokep_ is now known as clokep 
00:06:13 <-- aleth has quit (Quit: :tiuQ)
00:13:41 <-- myk has quit (Ping timeout: 121 seconds)
00:16:08 <nhnt11> clokep: review windows fixes?
00:16:12 * nhnt11 runs away
00:21:50 <clokep> nhnt11: Windows libpurple fixes. ;)
00:29:25 --> BlueMaxima has joined #instantbird
00:32:47 <clokep> :-S
00:32:51 <clokep> I fixed *most* of the issues.
00:34:44 * nhnt11 is far away and can't hear you anymore
00:49:05 <clokep> Mook_as: Have you seen an error like this? http://pastebin.instantbird.com/1654823 (Maybe EionRobb too)
00:49:34 <clokep> Code @ http://hg.mozilla.org/users/florian_queze.net/purple/file/2b62405a4ed1/libpurple/protocols/gg
00:58:08 <clokep> Oh huh.
00:58:15 <clokep> Apparently I'm redeclaring a function twice with different linkage.
00:58:17 <clokep> Funny that. ;)
01:00:30 * Mook_as reloads
01:00:35 <Mook_as> Yes, right before I hit reload.
01:01:39 <clokep> I don't know how to fix it though, it seems to be that MSVC now includes "close" where it didn't used to.
01:01:42 <clokep> So...any ideas would be nice.
01:02:54 <Mook_as> What's that decl in `io.h` again?
01:03:02 <Mook_as> (Did somebody #define close)?
01:03:22 <clokep> Yes.
01:04:01 <clokep> Mook_as: _Check_return_opt_ _CRT_NONSTDC_DEPRECATE(_close) _CRTIMP int __cdecl close(_In_ int _FileHandle);
01:04:11 <clokep> That's line 326
01:04:55 <Mook_as> That looks fine-ish. I don't _think_ _CRTIMP is relevant here...
01:05:26 <clokep> This is beyond my C knowledge. :-\
01:05:30 <clokep> That entire file is extern C, I think.
01:05:46 <clokep> Is that the problem?
01:06:11 <Mook_as> Don't think so; you do want C semantics.
01:06:30 <Mook_as> Preprocess the file and compare the gg_win32_close decls?
01:07:05 <clokep> Meh i always forget how to do that in the mozilla build system.
01:08:05 <Mook_as> It used to be `make foo.ii` I think
01:08:10 <Mook_as> That was all pre-mach :p
01:09:21 <clokep> Yeah...but figuring out *where* to run that.
01:12:27 <clokep> Doh, I'm dumb.
01:15:47 <clokep> Meh. "File not ound for preprocessing" :P
01:17:30 <Mook_as> meh. -> home
01:17:34 <-- Mook_as has quit (Client exited)
01:29:45 <-- afiksof has quit (Ping timeout: 121 seconds)
01:43:44 <clokep> OK, two errors down.
01:43:45 <clokep> Only one more.
01:44:15 <nhnt11> 👍
01:45:45 <clokep> I'm not convinced that change I made will build on mac now. :-S
01:45:51 * clokep wishes we had try access.
01:50:59 <nhnt11> clokep: don't you?
01:51:01 <nhnt11> :S
01:51:08 * nhnt11 thought you had L3
01:51:18 <clokep> nhnt11: I do.
01:51:21 <clokep> Reread the sentence.
01:51:25 <nhnt11> ah
01:51:25 <clokep> I wish we could build Instantbird w/ try.
01:51:28 <nhnt11> got it
01:51:38 <nhnt11> clokep: you can push mozconfig changes to try
01:51:42 <nhnt11> I think 
01:51:49 <nhnt11> so you might be able to push a custom mozconfig and make it build im
01:51:51 <nhnt11> worth a shot
01:52:10 <nhnt11> clokep: https://wiki.mozilla.org/ReleaseEngineering/TryServer#Using_a_custom_mozconfig
01:52:17 <clokep> I mean I've gotten it to work.
01:52:21 <clokep> But it's fragile and is a huge pain.
01:52:25 <nhnt11> hmm
01:52:35 <clokep> And you can only kind of build libpurple: some libraries are missing.
01:52:48 <nhnt11> :(
01:52:50 * nhnt11 goes home
01:52:54 <nhnt11> ciao!
01:55:29 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
01:55:30 <clokep> Bye!
02:11:07 <clokep> flo-retina: I have http://pastebin.instantbird.com/1655224 so far, but I'm getting an error about nspr.lib not existing for linking (I think it was merged into nss?)
02:11:25 <clokep> I 'fixed' this in the sipe code already...but now getting it for purplexpcom.dll.
02:11:30 <clokep> Any ideas? Thanks!
02:16:51 <-- Suiseiseki has quit (Ping timeout: 121 seconds)
02:21:34 <-- clokep has quit (Ping timeout: 121 seconds)
02:21:38 --> AlexanderSalas has joined #instantbird
02:32:29 --> Suiseiseki has joined #instantbird
02:51:50 --> rosonline has joined #instantbird
02:54:07 --> rosonline1 has joined #instantbird
02:55:56 <-- rosonline has quit (Ping timeout: 121 seconds)
03:13:44 <-- AlexanderSalas has quit (Connection closed)
03:28:32 <instant-buildbot> build #1722 of win32-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/1722
03:44:16 <-- rosonline1 has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
03:45:03 --> rosonline has joined #instantbird
03:52:53 <-- rosonline has quit (Connection closed)
04:09:29 <-- spiffytech has quit (Ping timeout: 121 seconds)
04:22:49 <instant-buildbot> build #1451 of linux-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/1451
05:02:12 --> afiksof has joined #instantbird
05:19:39 <instant-buildbot> build #365 of linux64-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/365
05:31:36 <-- EionRobb has quit (Quit: Leaving.)
06:06:11 --> gerard-majax has joined #instantbird
06:10:49 --> EionRobb has joined #instantbird
06:28:01 <-- gerard-majax has quit (Ping timeout: 121 seconds)
06:33:50 <-- EionRobb has quit (Connection closed)
06:33:59 --> EionRobb has joined #instantbird
06:35:31 * Fallen|away is now known as Fallen 
06:47:35 --> gerard-majax has joined #instantbird
06:53:39 <-- gerard-majax has quit (Ping timeout: 121 seconds)
06:58:01 --> gerard-majax has joined #instantbird
07:03:42 --> mpmc has joined #instantbird
07:16:54 <-- gerard-majax has quit (Ping timeout: 121 seconds)
07:41:44 * Fallen is now known as Fallen|away 
07:50:51 <-- EionRobb has quit (Connection closed)
07:52:03 --> EionRobb has joined #instantbird
08:35:17 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
08:46:44 --> gerard-majax has joined #instantbird
09:00:12 <instant-buildbot> build #2759 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/2759
09:05:36 --> chrisccoulson has joined #instantbird
09:12:54 * Fallen|away is now known as Fallen 
09:26:37 --> aleth has joined #instantbird
09:26:37 * ChanServ sets mode +o aleth 
09:53:06 <-- gerard-majax has quit (Ping timeout: 121 seconds)
09:57:36 --> gerard-majax has joined #instantbird
10:06:01 --> BWMerlin has joined #instantbird
10:11:27 <-- aleth has quit (Quit: :tiuQ)
10:27:11 --> clokep has joined #instantbird
10:27:11 * ChanServ sets mode +o clokep 
10:28:08 <-- EionRobb has quit (Quit: Leaving.)
10:28:35 --> EionRobb has joined #instantbird
10:29:59 <-- EionRobb has quit (Quit: Leaving.)
10:30:26 --> EionRobb has joined #instantbird
10:33:28 <-- gerard-majax has quit (Ping timeout: 121 seconds)
10:39:39 --> flo-retina has joined #instantbird
10:39:39 * ChanServ sets mode +qo flo-retina flo-retina 
10:40:36 <clokep> flo-retina: Good morning! Did you see my message from last night?
10:43:44 <-- flo-retina has quit (Ping timeout: 121 seconds)
10:46:35 --> flo-retina has joined #instantbird
10:46:35 * ChanServ sets mode +qo flo-retina flo-retina 
10:50:05 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
10:52:38 <-- flo-retina has quit (Ping timeout: 121 seconds)
10:53:47 --> flo-retina has joined #instantbird
10:53:48 * ChanServ sets mode +qo flo-retina flo-retina 
11:04:17 --> aleth has joined #instantbird
11:04:17 * ChanServ sets mode +o aleth 
11:04:42 --> gerard-majax has joined #instantbird
11:05:08 <clokep> flo-retina: So I'll take that as a no? :)
11:12:55 <-- BlueMaxima has quit (Quit: Leaving)
11:24:02 <flo-retina> clokep: if that was about nspr, I didn't really understand the question
11:24:11 <flo-retina> you said you fixed it for SIPE, so why couldn't it be fixed the same way for purplexpcom?
11:25:08 <clokep> flo-retina: Because purplexpcom didn't have USE_LIBS += 'nspr'
11:25:12 <clokep> The error I have is http://pastebin.instantbird.com/1658645
11:25:40 <clokep> (After applying http://pastebin.instantbird.com/1655224 )
11:25:55 <clokep> Frankly the only change in that diff I'm confident about is gg/moz.build
11:26:49 <flo-retina> I'm not confident at all about the change in gg/lib/network.h
11:27:47 <clokep> Me neither...as far as I can tell it's because MSVC 2013 now actually defines all the socket APIs, so they exist on Windows.
11:28:09 <clokep> And that file explodes...but apparently only on |close| (for some reason)
11:29:00 <flo-retina> yeah, so using the MS close but not the MS functions for other stuff seems like a recipe for disaster (or crashes)
11:29:34 <clokep> Yes. :(
11:29:51 <clokep> Can we just drop gg? :P
11:31:41 <flo-retina> I don't care too strongly ;)
11:31:45 <clokep> So does it seem like I should figure out why it doesn't like close? (It was an error about redefining a method with different <something>)
11:31:52 <flo-retina> and then you'll want to drop libpurple
11:31:59 <flo-retina> because msn, oscar, etc...
11:31:59 <clokep> Or should we attempt to use the windows methods?
11:32:25 <flo-retina> clokep: my guess is that you need an |#undef close| 'somewhere'
11:32:45 <flo-retina> but I haven't really looked at the code
11:32:48 <clokep> The C file has that above each method *except* close so I had the a-ha moment of adding it above it.
11:32:53 <clokep> But it didn't seem to help.
11:32:57 <clokep> Maybe I'm dumb and typoed. :)
11:35:25 <clokep> flo-retina: So I couldn't figure out how to get a preprocessed file yesterday...(i know you've helped me w/ this many times...) I thought it should just be |make extensions/purple/libpurple.../network.i| but that didn't seem to work?
11:35:53 <flo-retina> make -C objdir/... foo.i
11:35:59 <flo-retina> ah, lunch time, back later
11:38:01 <clokep> Yeah that doesn't seem to work. :(
11:38:17 <clokep> $ mozmake -C obj-i686-pc-mingw32/extensions/purple/libpurple/protocols/gg/lib/network.i
11:38:18 <clokep> mozmake: *** obj-i686-pc-mingw32/extensions/purple/libpurple/protocols/gg/lib/network.i: No such file or directory.  Stop.
11:43:15 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:50:10 * Fallen is now known as Fallen|away 
12:05:06 <flo-retina> bah
12:05:36 <flo-retina> clokep, the make syntax is |make -C <folder> <target>| network.i is the target, you need a space before it
12:19:16 --> clokep_work has joined #instantbird
12:19:16 * ChanServ sets mode +o clokep_work 
12:24:54 <-- BWMerlin has quit (Client exited)
12:25:21 <-- EionRobb has quit (Quit: Leaving.)
12:25:23 * Fallen|away is now known as Fallen 
12:31:05 <clokep_work> flo-retina: I tried that to, it didn't work.
12:31:26 <clokep_work> (As in I also tried |mozmake -C obj-i686-pc-mingw32/extensions/purple/libpurple/protocols/gg/lib network.i|)
12:31:38 <flo-retina> what was the error?
12:32:46 <clokep_work> I think it said something about the preprocessor not being able to find the file.
12:38:03 <-- aleth has quit (Ping timeout: 121 seconds)
12:39:22 --> mpmc has joined #instantbird
12:52:55 <-- chrisccoulson has quit (Connection closed)
12:53:08 --> aleth has joined #instantbird
12:53:09 * ChanServ sets mode +o aleth 
12:54:03 --> chrisccoulson has joined #instantbird
14:25:26 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
14:40:32 --> spiffytech has joined #instantbird
14:46:16 * Fallen is now known as Fallen|away 
14:57:47 --> myk has joined #instantbird
15:28:36 <-- gerard-majax has quit (Ping timeout: 121 seconds)
16:00:14 --> Mnyromyr has joined #instantbird
16:01:19 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:02:16 --> gerard-majax has joined #instantbird
16:03:11 --> flo-retina has joined #instantbird
16:03:12 * ChanServ sets mode +qo flo-retina flo-retina 
16:09:27 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:10:24 --> flo-retina has joined #instantbird
16:10:24 * ChanServ sets mode +qo flo-retina flo-retina 
16:14:24 <-- myk has quit (Connection closed)
16:14:35 --> myk has joined #instantbird
16:23:55 <-- gerard-majax has quit (Connection closed)
16:27:02 --> gerard-majax has joined #instantbird
16:32:59 <-- aleth has quit (Ping timeout: 121 seconds)
16:36:37 --> mpmc has joined #instantbird
16:49:49 --> Mook_as has joined #instantbird
17:01:00 * Fallen|away is now known as Fallen 
17:08:53 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:09:53 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:11:37 --> gerard-majax has joined #instantbird
17:14:35 --> nhnt11 has joined #instantbird
17:14:35 * ChanServ sets mode +h nhnt11 
17:14:35 <-- nhnt11 has quit (Connection closed)
17:14:36 --> nhnt11 has joined #instantbird
17:14:36 * ChanServ sets mode +h nhnt11 
17:26:44 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:27:50 <-- myk has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:27:53 --> myk has joined #instantbird
17:30:52 <Fallen> does anyone know of a good, customizable web interface for chat logs?
17:31:28 <clokep_work> Fallen: I don't, no.
17:31:33 <clokep_work> I hate the one that #maildev uses though.
17:31:37 <clokep_work> I like ours slightly better.
17:31:40 <clokep_work> But it's VERY simple.
17:32:03 <-- afiksof has left #instantbird ()
17:33:22 <Fallen> https://botbot.me/mozilla/rust/ looks fairly nice
17:33:33 <Fallen> a bit too much margin for my taste
17:33:44 <Fallen> or padding, whatever
17:36:33 <clokep_work> Fancy, it refreshes.
17:42:43 <nhnt11> yeah, it looks nice
17:42:50 <nhnt11> s/nice/pretty fancy/
17:42:58 * nhnt11 likes it :P
17:55:38 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:55:52 --> clokep_work has joined #instantbird
17:55:52 * ChanServ sets mode +o clokep_work 
18:02:41 <Fallen> setup effort is very high though. I don't want to run redis and postgres and install go just for a simple log viewer
18:04:12 <-- Mnyromyr has quit (Connection closed)
18:05:17 <clokep_work> Redis *and* Postgres?!
18:06:27 <clokep_work> Fallen: I think what you actually want is https://github.com/ircv3/ircv3-specifications/pull/156 ;)
18:08:00 <Fallen> clokep_work: I actually want to customize it so it will save slack logs
18:08:22 <clokep_work> Ahhhh.
18:08:29 <clokep_work> Wait...Slack logs are *already* saved.
18:08:29 <Fallen> 10k messages is just not enough and 2000$ per year is not reasonable :)
18:08:35 <clokep_work> Oh haha.
18:08:40 <clokep_work> Free account, got it. ;)
18:08:49 <nhnt11> Fallen: Slack only stores 10k messages in backlog?
18:08:51 * nhnt11 didn't know that
18:08:56 <nhnt11> So that's how they make money...
18:09:11 <Fallen> yeah, free version. For ~25 users on a daily basis, that is sometimes depleted before the day ends
18:09:30 <nhnt11> yeah, not surprising if it's the primary mode of communication
18:10:09 * clokep_work wonders what Fallen is using it for.
18:15:54 <Fallen> sekrit things :)
18:16:02 <Fallen> what web interface does http://log.bezut.info/ use?
18:18:05 <clokep_work> Fallen: The default mozbot one, I think it just reads from a simple XML format.
18:18:11 <clokep_work> Note that Unicode support is sketchy.
18:20:30 --> aleth has joined #instantbird
18:20:30 * ChanServ sets mode +o aleth 
18:21:25 <nhnt11> Hmm, I have an interesting situation
18:21:47 <nhnt11> Let's say I have an IRC channel tab open, and it failed to join because the channel needs a password
18:22:03 <nhnt11> I feel like typing /join <password> should "just work"
18:22:18 <nhnt11> Instead it joins a new channel called #<password>
18:22:39 * Fallen searches for channels with weird names
18:22:52 <clokep_work> nhnt11: What I'd "like" to happen is that we open a tab that says "Oops you joined without a password, type it in here"
18:22:56 <nhnt11> What do you guys think about making /join <password> "just work" for the case where <password> doesn't start with a #?
18:23:08 <nhnt11> yeah that would be nice
18:23:46 <clokep_work> nhnt11: How are we supposed to know if they're attempting to join with a password or trying to join a different channel?
18:23:51 <clokep_work> Ambiguous. :(
18:24:04 <nhnt11> clokep_work: the absense of a "#" would probably cover 95% of cases
18:24:22 <clokep_work> nhnt11: Except we auto-add that because like 9000000000 people kept asking for that feature.
18:24:24 <clokep_work> Even when I hate it.
18:24:37 <nhnt11> right, we should auto add it most of the time
18:24:51 <nhnt11> I'm suggesting we try the password, only when we are in a channel that we failed to join
18:24:54 <Fallen> apropos passwords, I always wanted to write an extension that checks words against passwords from the keychain and stops from sending them
18:24:57 <nhnt11> (because of invalid channel password)
18:25:48 <clokep_work> nhnt11: Could be reasonable. I'd prefer the UI be pretty. :-D There's other reasons for wanting that UI BTW.
18:26:00 <nhnt11> Yes, a pretty UI would be nice
18:26:14 <aleth> nhnt11: that sounds like trying to be too clever.
18:26:39 <aleth> What do you do if it fails, show a system message "oops, developers was not the right pasword"?
18:26:53 <aleth> Not show any kind of feedback if the password is wrong?
18:27:09 <aleth> What I mean is, I suspect you quickly end up in edge cases that have no good answers
18:27:23 <nhnt11> hmm
18:28:17 <aleth> The awesometab also already knows when a password is needed iirc, it just doesn't do anything with the information
18:28:42 <clokep_work> How would it know? :-S
18:29:07 <aleth> LIST returns channel modes afaik
18:29:11 * nhnt11 doesn't think the awesometab knows or cares about passwords at this time
18:29:20 <nhnt11> LIST might, but the stats service doesn't
18:29:32 <nhnt11> I don't think chatRoomInfo or whatever that is stores modes at the moment
18:29:58 <aleth> Hmm, I guess you're right
18:30:29 <aleth> You could also be really elegant and offer to store channel passwords in the password manager
18:31:10 <aleth> clokep_work: thinking about it a few seconds more, I suspect we didn't want to rely on modes being returned, as it's nonstandard
18:31:54 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
18:33:05 <clokep_work> aleth: I'd like us to store channel passwords in the password manager yes.
18:33:16 <clokep_work> And to auto-store chatroominfo or whatever it's called across restarts.
18:34:10 <aleth> yes, that would be nice
18:43:51 <clokep_work> Can I get an intern? :P
18:44:31 --> gerard-majax has joined #instantbird
18:46:22 <aleth> nhnt11: the password manager solution might not even be that hard to write, as we already use it for account passwords
18:50:35 <nhnt11> hmm
18:52:30 <clokep_work> aleth: So I have a halfdone patch which tries to do stuff for account options.
18:52:41 <clokep_work> The issue is that the prplIAccount doesn't have access to *something* it needs for the password manager.
18:52:43 <clokep_work> I forget what.
18:54:43 <aleth> clokep_work: hmm
18:55:15 <aleth> don't you just need to be able to call Services.logins.findLogins?
18:55:57 <aleth> maybe the account options case is harder as it would be modifying things what happen in imIAccount
19:00:20 <clokep_work> Anyone ever heard of threema? Apparently some properity messaging app for phones.
19:08:13 <-- chrisccoulson has quit (Quit: OSError: [Errno 130] Owner died)
19:08:49 --> chrisccoulson has joined #instantbird
19:44:06 --> aleth1 has joined #instantbird
19:44:06 * ChanServ sets mode +o aleth1 
19:46:22 <-- aleth has quit (Ping timeout: 121 seconds)
19:46:23 * aleth1 is now known as aleth 
19:59:17 --> flo-retina has joined #instantbird
19:59:17 * ChanServ sets mode +qo flo-retina flo-retina 
20:03:39 --> Mnyromyr has joined #instantbird
20:09:56 <Fallen> clokep_work: yeah, I use it
20:10:16 <Fallen> was hyped as a whatsapp alternative in Europe at the time
20:10:33 <clokep_work> Ahhhh, OK.
20:11:31 <Fallen> looks like they have an API now
20:12:44 <Fallen> oh, paid messages
20:18:13 <-- gerard-majax has quit (Ping timeout: 121 seconds)
20:51:11 --> EionRobb has joined #instantbird
20:57:03 --> rosonline has joined #instantbird
21:05:02 <-- clokep_work has quit (Ping timeout: 121 seconds)
21:56:39 * Fallen is now known as Fallen|away 
21:58:43 <-- rosonline has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
22:01:22 <-- Mook_as has quit (Ping timeout: 121 seconds)
22:02:45 --> Mook_as has joined #instantbird
22:23:45 <-- freaktechnik has quit (Ping timeout: 121 seconds)
22:24:58 --> freaktechnik has joined #instantbird
22:52:01 --> clokep_work has joined #instantbird
22:52:01 * ChanServ sets mode +o clokep_work 
22:53:01 <-- Mnyromyr has quit (Connection closed)
23:25:47 <-- aleth has quit (Quit: :tiuQ)
23:26:17 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
23:26:18 --> clokep_work1 has joined #instantbird
23:26:18 * ChanServ sets mode +o clokep_work1 
23:28:47 * clokep_work1 is now known as clokep_work 
23:57:35 <-- nhnt11 has quit (Ping timeout: 121 seconds)