#instantbird log on 04 21 2013

All times are UTC.

00:06:07 <-- dew has quit (Ping timeout)
00:15:23 --> dew has joined #instantbird
00:22:59 <-- wnayes has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
00:44:23 <-- Kaishi has quit (Quit: Kaishi)
00:44:33 <rosonline> flo-retina: Please, can you resend me my repo passwd?
00:49:35 --> Kaishi has joined #instantbird
01:37:54 <-- rosonline has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
03:00:33 <instant-buildbot> build #847 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/847
03:27:05 --> mconley has joined #instantbird
03:37:52 <instant-buildbot> build #843 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/843
04:40:44 <-- Kaishi has quit (Ping timeout)
04:41:55 --> Kaishi has joined #instantbird
05:24:19 --> deltafalcon has joined #instantbird
05:26:17 <instantbot> clokep@gmail.com granted review for attachment 2395 on bug 1943.
05:26:17 <-- deltafalcon has quit (Connection reset by peer)
05:26:19 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1943 tri, --, ---, nobody, NEW, irc.js should use lazy getters for localized strings
05:30:55 <instant-buildbot> build #940 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/940
05:32:13 --> deltafalcon has joined #instantbird
05:34:03 <-- deltafalcon has quit (Connection reset by peer)
05:39:52 --> deltafalcon has joined #instantbird
05:41:20 --> Optimizer has joined #instantbird
05:44:28 <-- deltafalcon has quit (Connection reset by peer)
05:49:06 --> deltafalcon has joined #instantbird
05:58:26 --> igorko has joined #instantbird
06:05:00 <-- mconley has quit (Input/output error)
06:09:39 <-- deltafalcon has quit (Connection reset by peer)
06:09:49 --> deltafalcon has joined #instantbird
06:10:43 <-- deltafalcon has quit (Connection reset by peer)
06:15:49 --> deltafalcon has joined #instantbird
06:17:35 <-- deltafalcon has quit (Connection reset by peer)
06:22:01 --> deltafalcon has joined #instantbird
06:24:40 <-- deltafalcon has quit (Connection reset by peer)
06:24:49 --> deltafalcon has joined #instantbird
06:32:50 <-- deltafalcon has quit (Connection reset by peer)
06:38:08 --> deltafalcon has joined #instantbird
06:40:53 <-- deltafalcon has quit (Connection reset by peer)
06:46:24 --> deltafalcon has joined #instantbird
06:57:59 <-- deltafalcon has quit (Connection reset by peer)
07:03:13 --> deltafalcon has joined #instantbird
07:11:12 <-- deltafalcon has quit (Connection reset by peer)
07:36:44 --> deltafalcon has joined #instantbird
07:43:03 <-- deltafalcon has quit (Connection reset by peer)
07:47:19 <-- flo-retina has quit (Ping timeout)
07:47:21 --> deltafalcon has joined #instantbird
07:48:12 <-- deltafalcon has quit (Connection reset by peer)
07:54:16 --> deltafalcon has joined #instantbird
07:56:00 <-- deltafalcon has quit (Connection reset by peer)
07:57:08 <-- Optimizer has quit (Ping timeout)
07:57:20 --> Optimizer has joined #instantbird
07:59:38 --> jb has joined #instantbird
08:03:27 <-- Optimizer has quit (Ping timeout)
08:03:38 --> Optimizer has joined #instantbird
08:04:18 <-- jb has quit (Ping timeout)
08:10:09 --> deltafalcon has joined #instantbird
08:11:02 <-- deltafalcon has quit (Connection reset by peer)
08:24:43 --> deltafalcon has joined #instantbird
08:29:13 <-- deltafalcon has quit (Connection reset by peer)
08:39:18 --> deltafalcon has joined #instantbird
08:44:14 <-- Optimizer has quit (Ping timeout)
08:44:51 --> Optimizer has joined #instantbird
08:51:37 <-- deltafalcon has quit (Connection reset by peer)
08:57:16 --> deltafalcon has joined #instantbird
08:59:57 <-- deltafalcon has quit (Connection reset by peer)
09:09:24 --> deltafalcon has joined #instantbird
09:09:27 <-- deltafalcon has quit (Connection reset by peer)
09:25:57 --> deltafalcon has joined #instantbird
09:26:52 <-- deltafalcon has quit (Connection reset by peer)
09:49:27 --> qlum has joined #instantbird
09:49:32 <-- qlum has quit (Quit: qlum)
09:49:36 --> qlum has joined #instantbird
09:51:53 --> deltafalcon has joined #instantbird
09:59:45 <-- igorko has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
10:00:39 <-- deltafalcon has quit (Connection reset by peer)
10:05:29 --> deltafalcon has joined #instantbird
10:08:13 --> flo-retina has joined #instantbird
10:08:13 * ChanServ sets mode +qo flo-retina flo-retina 
10:08:13 <-- deltafalcon has quit (Connection reset by peer)
10:14:06 --> deltafalcon has joined #instantbird
10:15:03 <-- deltafalcon has quit (Connection reset by peer)
10:24:12 <flo-retina> http://pastebin.instantbird.com/179338 seems excessive for a profile with only 5 accounts
10:24:42 --> deltafalcon has joined #instantbird
10:28:20 <-- deltafalcon has quit (Connection reset by peer)
10:37:48 <flo-retina> it seems to go away if I click "minimize memory usage"
10:42:57 --> deltafalcon has joined #instantbird
10:43:57 <-- deltafalcon has quit (Connection reset by peer)
11:03:58 --> deltafalcon has joined #instantbird
11:06:42 <-- deltafalcon has quit (Connection reset by peer)
11:11:06 --> deltafalcon has joined #instantbird
11:13:47 --> Mic has joined #instantbird
11:13:47 * ChanServ sets mode +h Mic 
11:16:49 <Mic> Interesting...
11:19:22 <Mic> http://pastebin.instantbird.com/179360
11:19:49 <Mic> Does it keep the string for every update of the label?
11:26:56 <flo-retina> Mic: seems so
11:27:08 <flo-retina> Mic: "minimize memory usage" seems to clean it up though
11:27:28 <flo-retina> so I suspect it's just something that resists garbage collection, or needs several pass of the GC to be collected
11:30:43 <flo-retina> the use of bind there http://lxr.instantbird.org/instantbird/source/instantbird/content/account.xml#153 may be related
11:34:51 <-- deltafalcon has quit (Ping timeout)
12:12:17 <-- EionRobb has quit (Quit: Leaving.)
12:12:52 --> EionRobb has joined #instantbird
12:14:39 <-- EionRobb has quit (Ping timeout)
12:17:26 <instantbot> clokep@gmail.com granted review for attachment 2396 on bug 1944.
12:17:29 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1944 min, --, ---, nobody, NEW, XMPPSession shouldn't keep copies of the account's password
13:26:36 <instantbot> clokep@gmail.com granted review for attachment 2390 on bug 1769.
13:26:40 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1769 enh, --, ---, nobody, NEW, Make names of protocols localizable
14:01:39 --> aleth has joined #instantbird
14:01:40 * ChanServ sets mode +h aleth 
14:02:44 <aleth> "flo-retina wonders how difficult/easy it would be to hack the JS engine to print all the strings of a compartment while counting the memory for about memory": If there was a way to just dump heap-unclassified to a file you could easily extract all the strings
14:03:45 * aleth reads on
14:03:46 <aleth> Oh, I see, you already solved that :)
14:07:46 <-- Optimizer has quit (Ping timeout)
14:11:42 --> rosonline has joined #instantbird
14:13:15 <flo-retina> aleth: completely unrelated.
14:13:23 <flo-retina> DMD is perfect to dump heap-unclassified
14:13:39 <flo-retina> aleth: I was talking about strings allocated by the JS engine (they aren't in heap-unclassified)
14:16:37 <instantbot> aleth@instantbird.org granted review for attachment 2397 on bug 1941.
14:16:40 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1941 maj, --, ---, aleth, ASSI, Some characters lost when splitting messages
14:17:44 <aleth> flo-retina: Sorry, I missed that context. I was just wondering how you got the JS engine to read heap-unclassified ;)
14:18:33 --> Optimizer has joined #instantbird
14:27:27 <flo-retina> aleth: I didn't. Because the JS engine has nothing to do with heap-unclassified :-S
14:31:18 <aleth> That's why I was wondering :)
14:31:54 <aleth> Anyway, neat how you already found and fixed two issues with this string reporter :)
14:35:18 <flo-retina> I would like to improve it in the future
14:35:49 <flo-retina> I'm really curious to know what the objects and especially functions that take memory in our JS code are
14:36:19 <flo-retina> I would like to do an equivalent of .toString() on the functions stored in our JS heap, and print them like I print strings
14:36:28 <flo-retina> but I'll need to learn a bit more about the JS API to be able to do that
14:36:59 <flo-retina> oh, and by the way, I found more issues than just the 2 I filed
14:37:14 <flo-retina> I filed those 2 because they were so trivial that I could be confident in my patches without testing :)
14:37:23 <Mic> flo-retina: do you think others might be interested in what you're doing?
14:37:43 <flo-retina> there are memory usage efficiency issues in JS-IRC that I would like to investigate someday
14:38:00 <flo-retina> and there are lots of them in JS-XMPP
14:38:17 <Mic> I meant regarding the 'memory inspection' that you're doing, not just as Instantbird consumers that will see less memory consumption.
14:38:22 <flo-retina> Mic: do you mean the memshrink people? Maybe
14:38:29 <Mic> What about keeping some notes and blogging about it one day?
14:38:42 <flo-retina> I would need to create a blog, but yes I should
14:38:48 <flo-retina> and maybe I would get hired for memshrink someday ;)
14:39:06 <flo-retina> and I've already identified at least 2 pieces of Mozilla code that leak some memory ;)
14:39:30 <flo-retina> (I haven't filed because I don't have the fixes)
14:40:06 <flo-retina> Mic: so a problem to blog about it, is that I don't really know what I'm doing
14:40:53 <flo-retina> I'm sure that if things that should never have been computed are stored in memory, there's a bug. But the "should never have been computed" part is something I can only know for code I know well :)
14:41:36 <flo-retina> Mic: another issue with the methodology I'm using is that I tend to focus on very small things that "look surprising"; but they aren't what actually consumes memory
14:42:47 <flo-retina> I would like to understand better how cross compartment wrappers work; what causes JS code to copy a string rather than just reference it
14:43:08 <flo-retina> I've already had surprises, but for now they are just guesses.
14:43:27 <aleth> "what causes JS code to copy a string rather than just reference it" this would be very interesting indeed
14:44:04 <flo-retina> Something that surprised me for example is that it seems both string.split() and string.trim keep a reference to the original string insteade of copying. So if you've got a large string, use split and trim on it to extract just a small part; as long as you keep a reference to at least one small part, it looks like the whole large string is kept in memory
14:44:06 <Mic> Anyways, I think it sounds exciting what you're doing
14:44:55 <flo-retina> Mic: it's definitely exciting to me; because a whole class of problems that were completely intractable to me just became things I can start to look at. But I don't understand yet everything I see :).
14:45:36 <Mic> Also in the sense that it is a new area with lots of things to discover :)
14:46:24 <flo-retina> I would like if I could create a tool that just adds a button to about memory, that opens a window with a dump of everything in the JS heap, sorted by compartment
14:47:10 <flo-retina> something I don't understand yet is when I see several times the same string in memory: is the string stored several times, or am I just seeing several string object instances that point to the same string buffer?
14:47:29 <flo-retina> (I'll figure it out at some point ;))
14:48:08 <aleth> Lots of surprises ;)
14:48:38 <flo-retina> aleth: well, the number of times we store each IRC nick is surprising ;)
14:48:49 <aleth> Also would be nice if you could do it for any object rather than the whole JS heap
14:49:04 <flo-retina> you mean for a specific compartment?
14:49:09 <Mic> Isn't there the address of the string in the data?
14:49:36 <Mic> Or what's the pointer thingie I saw in one of your dumps?
14:49:40 <aleth> flo-retina: Yes
14:49:54 <flo-retina> Mic: good point
14:50:15 <flo-retina> so the nick "ehsan" is stored at least 4 times by irc.js just in the data I have visible on screen without scrolling :-S
14:50:43 <flo-retina> (it's also stored a few times by other compartments, like the conv window and jsProtoHelper...)
14:50:53 <aleth> nicks are among the most common arguments in irc.js, so that's possibly not surprising
14:51:11 <flo-retina> aleth: well, except I would expect the code to reference the same string object in most cases
14:51:28 <flo-retina> aleth: but it seems sometimes when crossing compartment boundaries we are copying instead of referencing
14:51:32 <flo-retina> possibly related to xpconnect too
14:51:43 <aleth> There's the chat buddy, the whois entry (will have the nick twice at least)
14:51:54 <flo-retina> the nicks are also in the atoms compartment, btw
14:52:35 <aleth> Huh, so whenever we go via a function in the idl we may be making copies?
14:52:37 <flo-retina> aleth: the messages seem to be stored in jsProtoHelper, when the list of nicks seem to be stored in irc.js and friends
14:52:58 <flo-retina> I suspect it's because of the "new Message" call here: http://lxr.instantbird.org/instantbird/source/chat/modules/jsProtoHelper.jsm#429
14:53:08 <flo-retina> ie the message objects are created in jsProtoHelper's compartment
14:53:16 <flo-retina> but I don't really know if that's a waste of memory or not
14:53:30 <flo-retina> for now it's just "surprising", not clearly "something that needs to be fixed"
14:54:34 <flo-retina> aleth: "Huh, so whenever we go via a function in the idl we may be making copies?" yeah. May also be why in reviews we request that people use local variables rather than calling the same xpcom method/getter over and over again ;)
15:01:32 <Mic> How difficult was the change to dump all strings?
15:03:19 --> mpmc has joined #instantbird
15:07:28 <rosonline> flo-retina: Hello! Please, resend me the pt-BR repository passwd?
15:10:14 <rosonline> flo-retina: Sorry, I received the email. Thanks
15:16:39 <-- Mic has quit (Quit: No time to waste, let's go!)
15:17:13 --> Mic has joined #instantbird
15:17:13 * ChanServ sets mode +h Mic 
15:17:42 <Mic> \o/
15:17:54 * Mic dragged a contact and the contact list scrolled :)
15:18:11 <Mic> Don't be surprised, I attempted to fix this ;)
15:18:47 <aleth> Oh, that's nice :)
15:19:07 <Mic> I stole the code from the account manager ;)
15:19:41 <flo-retina> :)
15:20:22 <Mic> The scrollspeed definitely wants to be tweaked ;)
15:20:37 <flo-retina> Mic: it was absolutely trivial: http://pastebin.instantbird.com/179491
15:21:12 <Mic> Cool :)
15:24:20 --> mconley has joined #instantbird
15:26:18 <-- Mic has quit (Quit: No time to waste, let's go!)
15:26:31 --> Mic has joined #instantbird
15:26:31 * ChanServ sets mode +h Mic 
15:28:17 <-- Mic has quit (Quit: No time to waste, let's go!)
15:28:26 --> Mic has joined #instantbird
15:28:26 * ChanServ sets mode +h Mic 
15:34:17 <flo-retina> Mic: that's also the reason why it's not very powerful yet ;)
15:59:29 <-- rosonline has quit (Ping timeout)
16:19:02 <-- Mic has quit (Quit: No time to waste, let's go!)
16:51:31 <instantbot> aleth@instantbird.org requested feedback from florian@instantbi rd.org for attachment 2399 on bug 1940.
16:51:33 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1940 nor, --, ---, nobody, NEW, Fix errors/warnings on detaching/reattaching conversations
17:11:06 <flo-retina> aleth: do you know why http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1077 http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#210 doesn't work?
17:19:52 --> mikk_s has joined #instantbird
17:31:01 <aleth> flo-retina: http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#205
17:31:22 <aleth> As I said in my comment, I don't understand the underlying bug here.
17:33:54 <aleth> Maybe we should do this http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#798 after http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1120
17:34:17 --> wnayes has joined #instantbird
17:34:22 <aleth> But I don't know how that's supposed to work ;)
17:34:34 <aleth> (that = magic copy initialization etc)
17:36:32 <flo-retina> is magicCopyInitialized false?
17:36:40 <aleth> flo-retina: Yes
17:37:06 <aleth> That explains why the issue only crops up the second time
17:37:38 <-- mikk_s has left #instantbird ()
17:39:06 <flo-retina> I still don't understand the problem :-/
17:39:42 <aleth> The first time we detach a tab, the aOtherBrowser has magicCopyInitialized set
17:39:48 <aleth> But the new browser never gets it set
17:40:10 <aleth> So when we detach this new browser, we have a problem.
17:41:18 <flo-retina> shouldn't magic copy be broken in detached tabs then?
17:42:48 <aleth> Why would it be broken? The controller gets copied OK
17:43:00 <aleth> The pref observer might be missing though.
17:44:28 <aleth> The selection listener is added here http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1124
17:44:32 <flo-retina> right
17:44:34 <aleth> Hence my question above
17:45:07 <flo-retina> are lines 798-801 ever executed for detached tabs?
17:45:35 <aleth> It doesn't seem like it, but I can check
17:46:01 <flo-retina> so that's the bug
17:46:44 <aleth> No.
17:46:55 <-- Kaishi has quit (Ping timeout)
17:46:55 <aleth> Well, yes, that's the bug.
17:47:48 <aleth> But you would not want onStateChange to get called anyway, it would reset a lot of stuff
17:47:54 <aleth> http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#803
17:48:22 <aleth> So this "Maybe we should do this http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#798 after http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1120" is the right fix?
17:48:48 --> Kaishi has joined #instantbird
17:49:04 <flo-retina> should be before line 1118
17:49:15 <flo-retina> we want the pref observer even if the current value of the pref is false
17:49:24 <aleth> Ah, right :)
17:50:03 <flo-retina> I'm not sure if it's the best fix, but it's reasonable at least
17:50:16 <flo-retina> (assuming you move these lines to a new method, rather than just duplicate)
17:50:23 <aleth> It seems to match what is done with the selection listener
17:50:59 <aleth> Though that also is duplication
17:51:19 <aleth> I guess I can fix that while I'm at it.
17:52:22 <flo-retina> what's duplicated?
17:53:55 <aleth> Compare http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1120 and http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#789
17:54:25 <aleth> This comment seems wrong :-S http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1097
17:54:42 <aleth> Or at least misleading.
17:55:33 <aleth> i.e. the reference to onStateChanged should be modified
17:56:02 <flo-retina> aleth: what about http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#686 ? ;)
17:57:09 <aleth> Heh :P
18:06:13 --> mikk_s has joined #instantbird
18:09:15 <-- wnayes has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
18:24:09 <instantbot> aleth@instantbird.org cancelled feedback?(florian@instantbi rd.org) for attachment 2399 on bug 1940.
18:24:10 <instantbot> aleth@instantbird.org requested review from florian@instantbird .org for attachment 2400 on bug 1940.
18:24:17 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1940 nor, --, ---, aleth, ASSI, Fix errors/warnings on detaching/reattaching conversations
18:39:44 <-- mikk_s has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
18:45:26 <instantbot> aleth@instantbird.org denied review for attachment 2400 on bug 1940.
18:45:28 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1940 nor, --, ---, aleth, ASSI, Fix errors/warnings on detaching/reattaching conversations
18:46:40 <aleth> I'll fix that tomorrow.
18:46:47 <-- aleth has quit (Quit: Ciao)
18:48:13 <flo-retina> warning: I'll be offline tomorrow. Traveling to Mountain View for a talkilla work week.
18:48:31 --> Mic has joined #instantbird
18:48:31 * ChanServ sets mode +h Mic 
18:49:47 <flo-retina> we've got 7 locales ready already.
18:50:08 <flo-retina> cs, de, es-ES, et, ru, sk, sv-SE
18:50:35 <flo-retina> fr, it, nl, pt-BR and uk still need updating. (and pl, but we didn't have it in the previous 2 releases)
18:54:04 <qlum> shame not all locales have dictionary's yet
18:54:32 <qlum> as that would be the only thing I really care about with the Dutch locale
19:05:06 --> wnayes has joined #instantbird
19:06:57 --> Mnyromyr has joined #instantbird
19:28:35 <-- wnayes has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
19:29:02 <-- Mic has quit (Quit: No time to waste, let's go!)
19:50:59 <-- MMN-o has quit (Ping timeout)
19:51:00 --> MMN-o has joined #instantbird
20:32:12 <flo-retina> qlum: if the dutch locale of Firefox has a dictionary, then it's included automatically in the Dutch version of Instantbird
20:32:32 <qlum> ah
20:33:08 <qlum> btw can you switch dictionaries on the fly or set them on a channel or even account level?
20:33:16 <qlum> if not that would be a useful addition
20:46:16 <flo-retina> I would like the dictionary to be selected automatically based on the language of what you are typing
20:46:33 --> nhnt11 has joined #instantbird
20:46:36 <qlum> that would work too
20:46:41 <flo-retina> you can switch dictionary (if at least 2 are installed) from the context menu of the input text box
20:47:10 <flo-retina> that's unfortunately too much clicking for me, and I more or less never do it
20:47:17 <qlum> yea I just asked that because I didn't know if it where possible since no dutch dictionary is in it now
20:47:23 <flo-retina> I live with red underlines on all words when I type in French :(
20:48:03 <qlum> Problems with detection could arise when you type small sentences and switch from chat to chat.
20:49:31 <nhnt11> hi
20:49:45 <nhnt11> finally done with reports and quizzes and now sitting down to fix bugs :D
20:55:14 <nhnt11> flo-retina: For my application, would you expect a code sample? Or some kind of design prototype?
20:55:16 <qlum> for me its worse then just red underlines, I am dyslectic and hardly ever type in dutch which btw is harder spelling wise thus I actually need the dictionary for more then red lines. Although when typing this the only red line I got was under btw
20:55:24 <nhnt11> (I'm applying for awesometab)
20:57:19 <flo-retina> qlum: we would likely need to polish details for a while, but I'm pretty sure after a few tweaks we would end up with something usable
20:58:06 <qlum> you mean on getting the other languages to work?
20:58:20 <flo-retina> nhnt11: "code sample" not really. But if you can point to a few bugs you have fixed (showing that you understand the process to get code included in Instantbird, it's a net plus). "design prototype" -> You need to show in your application that you've given serious thoughts to the project.
20:58:37 <nhnt11> Great
20:58:41 <flo-retina> qlum: on detecting the language correctly, and not switching stupidly
20:59:11 <nhnt11> flo-retina: I plan to get more used to the codebase and fix a couple bugs for the next two days, and then work on my application
20:59:14 <nhnt11> that sounds good?
20:59:50 <nhnt11> Or should I start earlier on my application
21:00:08 <flo-retina> I would be surprised if you managed to fix "a couple bugs" in just 2 days. :)
21:00:16 <nhnt11> small bugs :P
21:00:22 <nhnt11> or maybe a large bug
21:00:38 <nhnt11> anyway i get a little obsessive so... :P
21:01:06 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.86 [SeaMonkey 1.1.19/2010030105])
21:01:46 <nhnt11> the backslash bug was pretty simple. i'd like to fix one or two more small ones like that and then something bigger (like the dynamic theme changing)
21:02:23 <nhnt11> right now, i have my eyes on something i noticed a couple days back: putting code in |pipes| doesnt always work as expected
21:03:03 <nhnt11> for example |./testdir/testdir testdir/testdir| doesnt show up as code
21:04:14 * flo-retina had already forgotten the backslash bug even existed (that's you it doesn't hurt to point out previous contributions in your application by the way; it's easy to no longer remember things that used to be broken and now 'just work' :))
21:04:49 <flo-retina> nhnt11: the code doing that detection is in C++ (and is likely crappy)
21:04:50 <instantbot> c++ sucks
21:04:59 <nhnt11> oh no :(
21:05:24 <nhnt11> any pointers (pun not intended) on where it is? i'll take a look anyway
21:06:03 <nhnt11> and the backslash bug isn't something I'
21:06:10 <nhnt11> I'd consider mentioning in my application *
21:06:26 <nhnt11> I thought it was a bit insignificant
21:06:36 <flo-retina> nhnt11: I wouldn't mention it either. But a bugzilla query returning the list of all bugs where you made useful contributions, why not? :)
21:06:50 <nhnt11> Yeah I'll definitely do that.
21:07:41 * nhnt11 wishes he had air conditioning
21:15:59 --> Mic has joined #instantbird
21:15:59 * ChanServ sets mode +h Mic 
21:23:29 --> EionRobb has joined #instantbird
21:30:07 --> atuljangra has joined #instantbird
21:31:44 <-- flo-retina has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
21:33:56 <nhnt11> hi atuljangra
21:34:08 <atuljangra> hey :-)
21:34:15 <atuljangra> how are you? 
21:34:37 <nhnt11> great, finally finished all those reports and quizzes and managed to catch up on some sleep ^_^
21:34:48 <nhnt11> You back at uni?
21:34:57 <atuljangra> Nice :-)
21:35:26 <atuljangra> Yes, and have Computer networks exam tomorrow, so *trying* to study.
21:35:32 <atuljangra> ;)
21:35:45 * atuljangra likes c++ :-|
21:36:41 * nhnt11 has his finals from next week
21:37:27 <atuljangra> same here, it sucks you know, this is the most important time for gsoc, applications and stuff, and we are stuck with exams :-(
21:37:48 <instantbot> florian@instantbird.org set the Resolution field on bug 1941 to FIXED.
21:37:50 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1941 maj, --, 1.4, aleth, RESO FIXED, Some characters lost when splitting messages
21:38:03 <Even> Good luck with your respective exams :)
21:38:14 <atuljangra> Even: Thanks :-)
21:38:44 <nhnt11> Thanks Even
21:38:44 <Even> (but well, if your are at gsoc level, it's gonna be a piece of cake)
21:38:56 <nhnt11> Even: unfortunately i'm not in CS
21:39:11 <Even> too bad :P
21:39:28 <nhnt11> And I'm in my first year so we have electrical sciences, report writing, thermodynamics... blablabla
21:39:46 <Even> sounds boring xD
21:39:55 <nhnt11> Very much.
21:40:02 <atuljangra> Even: yes, I'm hoping so. This semester I've some really interesting topics, like Operating systems, AI, computer networks, Programming languages, 
21:40:22 <atuljangra> Even: Our course projects are really interesting this time :-)
21:40:32 <Even> Yeah, it does looks good ^^
21:40:32 * nhnt11 gets very moody and sulks in a corner when CS people start listing their courses
21:41:26 <Even> Why, did you wanted to take courses in CS?
21:41:45 <nhnt11> Well, I would have a lot less studying to do for the next 3 years if I was in CS
21:42:11 <nhnt11> Instead I have to put in hours of time learning about transistors and diodes :(
21:42:35 <Even> @atuljangra is the Programming languages course about lexing / parsing?
21:43:11 <Even> In life, after 18, we are very much free to choose whatever we want for ourselves :P
21:43:33 <atuljangra> Even: yes, lexing parsing, is a part of the course, we designed a tiny programming language, build an interpreter for it and stuff like that
21:43:44 <Even> that's cool
21:43:59 <atuljangra> a small prolog like language, with all the clauses like if else, and loops. It was fun :)
21:44:09 <Even> I'm currently writing a generi LALR parser toolsuit (like bison but in full C++ and well typed)
21:44:34 <Even> So that's somehow talking to me xD.
21:45:10 <atuljangra> ^^ cool :-)
21:45:22 <Even> I'm more meta, that's all xD
21:45:44 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/11e56669140e - aleth - Bug 1941 - Some characters lost when splitting messages, r=clokep.
21:45:46 <Even> To tell the truth the lexer/parser/grammar analysis is done.
21:46:05 <Even> I'm into finalizing a small language (using it) to express others :P
21:46:23 <nhnt11> Even: Unfortunately the subject I study for the next few years was determined by my score in a trivial entrance exam which only tested my physics, chemistry, maths and English abilities
21:46:45 <atuljangra> That's nice :-), so you built the entire toolkit in C++?
21:46:47 <Even> That's silly...
21:46:51 <Even> Yeah.
21:47:05 <Even> But it's aimed to be able to support other languages.
21:47:22 <atuljangra> okay. :-)
21:47:30 <Even> It will be able to generate lexer/parsers for at least NodeJS soon :)
21:47:35 <atuljangra> !seen qheaden
21:47:36 <instantbot> qheaden was last seen 3 days, 20 hours, 2 minutes and 44 seconds ago, saying 'clokep: Nothing else. Thanks' in #instantbird.
21:47:41 <atuljangra> That's awesome :-)
21:48:12 <Even> A simple example nearly working : http://pastebin.instantbird.com/179635
21:48:20 <Even> (simple calculator)
21:48:56 <Even> (oh, this is pretty printed by my parser, the original file as so much comments you would have died reading it :P)
21:49:00 <Even> *has
21:50:03 <atuljangra> yes, it is neatly printed. Great work :-)
21:50:38 <Even> Hope the file is self talking for someone that has followed your courses :)
21:51:05 <Even> (even if there are some tricks here & there)
21:51:25 <nhnt11> Even: That looks interesting. I'll look this stuff up later xD
21:51:33 <Even> ^^
21:51:42 <instant-buildbot> build #384 of macosx-onCommit is complete: Failure [failed compile]  Build details are at http://buildbot.instantbird.org/builders/macosx-onCommit/builds/384  blamelist: aleth <aleth@instantbird.org>
21:51:47 <Even> I'll release it once it's ready.
21:51:56 <Even> I suppose there is still some work to be done :P
21:52:18 <atuljangra> Even: I will be waiting for the release. It seems interesting :-)
21:53:05 <Even> ^^
21:53:12 <Even> Looks good to you?
21:53:27 <atuljangra> yup. It looks good. :-)
21:53:44 <Even> I tried to fix everything I disliked in bison.
21:54:19 <Even> (first of all, bison was for generating lalr parser and has a non lalr syntax :P)
21:54:36 --> rosonline has joined #instantbird
21:54:37 <atuljangra> yes, :-) That's great. Mine was just a small prolog-like language,
21:54:52 <Even> It's probably more complex that my language.
21:54:59 <atuljangra> yes, I still don't know why they do it.
21:55:02 <Even> Everything between [* *] is pure C++ and I just copy it :)
21:55:23 <Even> There is really not much there.
21:55:37 <atuljangra> oh, but still it's nice :-)
21:56:04 <Even> I started this project back in school, had to leave it behind.
21:56:11 <Even> Came across it a few weeks ago.
21:56:17 <Even> Now I'm working like a lot on it :)
21:56:32 <atuljangra> That's great.
21:56:37 <Even> Just looking at the code gave me this awesome "I have to see this through" feeling ^^
21:56:49 <nhnt11> ^^
21:57:20 <atuljangra> I once started to build my own search engine last year, had to drop it cos of exams and assignments and stuff, but hopefully one day, I'll be using my own search engine.
21:57:25 <atuljangra> :-s
21:57:32 <atuljangra> dew: Do you when the origin of Skype integration idea?
21:57:38 <Even> Dunno if there is already a project named like that but I'm thinking about "jungle" ^^
21:57:48 <Even> Since a lot of languages use animals as mascots :P
21:57:59 <Even> Looks fun for a parser toolsuit xD
21:58:14 <nhnt11> ><
21:58:16 <atuljangra> yeah :-)
21:58:17 <Even> "one language to rule them all" :P
21:58:26 <atuljangra> haha :P exactly
21:58:38 <nhnt11> atuljangra: What do you have in computer networks?
21:58:51 <Even> ahah
21:58:55 <Even> That's a good question.
21:58:57 <nhnt11> I've done a lot of networking stuff this year to get myself good internet :P
21:59:02 * atuljangra that reminds me I've an exam in some hours :-(
21:59:06 <Even> I bet on Ipv4, IPv6, BGP and so on.
21:59:09 <nhnt11>  /If you know what I mean/
21:59:32 <Even> (token rings?)
21:59:34 <Even> ^^
21:59:38 <atuljangra> Currently, it's about the details in all the layers, 
21:59:54 <Even> That's the boring parts :P
22:00:22 <atuljangra> iPv6, routing protocols, congestion controls, encodings, QPSK TCP Tahoe. 
22:00:24 <Even> Always thought "who wants to know all that stuff, if you really need to know because something is not working, you just run Wireshark" xD
22:00:38 <nhnt11> Even: +1 ><
22:01:00 <atuljangra> Even: yes, it's more of a theoretical class.
22:01:05 * atuljangra likes practicals
22:01:12 <Even> Yeah, like all CS guys do.
22:01:18 <dew> what atuljangra?
22:01:24 * atuljangra wireshark is the awesome tools ever.
22:01:34 <Even> We would have chosen math if we like theory.
22:01:36 <Even> Well...
22:01:37 <nhnt11> atuljangra: Did you need to do a lot of trickery to get yourself good internet too?
22:01:41 <Even> They don't quite get it xD
22:01:51 <nhnt11> Even: I like math
22:02:05 <Even> Well, I likED maths :)
22:02:11 <nhnt11> Wish I'd taken Maths instead of electronics, then I would've been eligible for a CS dual degree
22:02:12 <nhnt11> :/
22:02:37 <atuljangra> dew: I wanted to know, when was Skpye project decided? Was it also available last year?
22:02:48 <Even> The good part about CS is that you can learn by yourself and still be better than some random university guy ^^
22:03:02 <nhnt11> Even: haha that's true
22:03:14 <atuljangra> Even: yes, I like maths also though, all of ML stuff is maths.
22:03:23 <atuljangra> Even: great point. :-)
22:03:23 <nhnt11> Most of my CS classmates can't write a simple C program to find pythagorean triplets
22:03:25 <dew> I don't think it was available last year.  I'm not sure when it was decided
22:03:42 <atuljangra> dew: okay, are you participating this year? 
22:03:49 <Even> nhnt11: lol
22:03:54 <Even> nhnt11: that's somehow sad
22:03:56 <dew> not in the GSoC
22:04:07 <atuljangra> dew: why?
22:04:16 <nhnt11> Even: they haven't started their CS courses yet though. We have a common C programming course in our first year
22:04:17 <dew> I'm not a student anymore
22:04:41 <atuljangra> dew: oh, I thought you were. So what are you doing now-a-days?
22:04:50 <atuljangra> nhnt11: 
22:04:58 <atuljangra> nhnt11: you are in bits pilani?
22:05:02 <Even> atuljangra: Skype is an old subject at least
22:05:04 <nhnt11> Yes
22:05:09 <nhnt11> Goa campus
22:05:25 <atuljangra> nhnt11: oh ok.
22:05:29 <dew> atuljangra I'm working on supporting some enterprise applications
22:05:31 <nhnt11> I could've taken InfoSystems/Maths at Pilani or Goa, but I took EEE here instead
22:05:35 <atuljangra> Even: yes,
22:05:39 * nhnt11 feels like a retard
22:05:56 <atuljangra> dew: great :-)
22:06:24 <Even> It's hard when you realize you missed an opportunity but others will arise. Just be ready for those ;)
22:06:37 <nhnt11> Even: Like GSoC :D
22:06:56 <Even> Yes. Like GSoC !
22:06:58 <Even> ^^
22:07:00 * atuljangra hi5
22:07:09 * nhnt11 desperately wants to get through
22:07:18 <nhnt11> high five atuljangra
22:07:19 * atuljangra me too me too me too
22:07:35 <Even> And you're not a retard because you missed a detail. The simple fact that you see your mistake and admit it proves that you are not. It's just hard. But it's by failure and errors we get better.
22:07:48 <Even> Noone improves by succeeding repeatedly.
22:07:49 <atuljangra> I should be going now, I need to study.
22:07:56 <atuljangra> Bye Even and nhnt11 :-)
22:08:11 <Even> atuljangra: good luck (though I hope you don't need it)
22:08:12 <nhnt11> Yeah I've had months to get over it :D Right now I'm focusing on GSoC and keeping my GPA up this sem, that may make me eligible for a transfer to InfoSystems at least :D
22:08:15 <nhnt11> atuljangra: Have fun!
22:09:01 <atuljangra> Thanks guys :-)
22:09:01 <Even> nhnt11: That seems a great step in the good direction.
22:09:02 <-- atuljangra has quit (Quit: http://www.mibbit.com ajax IRC Client)
22:09:27 <Even> It should turn out nicely eventually.
22:09:34 <nhnt11> Yeah.
22:09:42 <nhnt11> Now, back to finding out where themes are set in the code :D
22:09:54 <Even> :)
22:10:16 <Even> I'm working on Instantbird since its very early stages and I don't know its code like at all :)
22:10:24 <nhnt11> Haha.
22:10:41 <nhnt11> I remember when I was doing stuff on Android, took me 3 months to figure out where everything was xD
22:10:53 <Even> Never had the time/courage to even write a simple 2 line patch for it ^^
22:11:24 <Even> (I'm the server guy for Ib)
22:11:40 <nhnt11> What do you mean by server guy
22:11:52 <nhnt11> You host servers?
22:11:58 <Even> I maintain them.
22:12:01 <nhnt11> Ah okay
22:12:13 <nhnt11> I love working with servers
22:12:17 <Even> I update packages, deploy services, try to figure out how to make them work with Ib.
22:12:23 <nhnt11> So many things you can do with them...
22:12:24 <nhnt11> Nice :D
22:12:35 <Even> I put the whole automatic build system up.
22:12:44 * nhnt11 maintains his campus Linux repository proxy server :D
22:12:47 <nhnt11> Cool
22:12:50 <Even> (though I would never have been able to do it if flo had not made a beautiful build system)
22:13:03 <nhnt11> :D
22:13:24 <Even> I also wrote the script that takes care of telling to Ib if there is a new version or not.
22:13:24 <nhnt11> Even: Have you come across apt-catcher-ng?
22:13:35 <Even> (the two scripts, we are on a complete rewrite now ^^)
22:13:46 <Even> hmmm
22:13:53 <Even> I don't think so
22:14:44 <nhnt11> It's a simple caching proxy for linux updates
22:14:50 <Even> To simplify, if it's client side it's not me, if it's not, it's probably me at least in parts :)
22:15:07 <nhnt11> We run one on campus because all that stuff is blocked on the default internet connection
22:15:16 <nhnt11> So people use that server as a proxy in their apt.conf and get updates
22:15:19 <Even> that seems logical
22:15:30 <nhnt11> I plan to add a lot more cool stuff for programmers next semester 
22:15:33 <Even> Had I an university, I would setup something like that too.
22:15:40 <nhnt11> if the server room admins allow me to, that is :D
22:16:09 <Even> You mean you want to add packages / update packages in there?
22:16:24 <nhnt11> Not exactly
22:16:39 <nhnt11> I want to extend the apt proxy to work for other things as well
22:16:45 <nhnt11> like git clones
22:16:55 <Even> You have my interest.
22:17:01 <nhnt11> Because we are limited to 500MB per day
22:17:12 <Even> Add more, it's still not enough for me to get to the point.
22:17:13 <nhnt11> And let's face it, that's hardly enough for bigger projects
22:17:26 <Even> ow
22:17:29 <nhnt11> Well, the proxy server has no bandwidth limits
22:17:39 <Even> You want a small scale github on it?
22:17:44 <nhnt11> Kinda
22:17:49 <nhnt11> But not actually store anything
22:17:59 <Even> Just to pass on data?
22:18:02 <nhnt11> Basically a proxy which allows all requests to github
22:18:04 <nhnt11> Yeah
22:18:11 <Even> I see.
22:18:24 <nhnt11> The problem is, the server maintainers don't trust us. They think we'll abuse it
22:18:32 <Even> That looks fun (though I would elect for Bitbucket instead of github myself :P)
22:18:48 <nhnt11> I just mentioned github as an example
22:18:53 <Even> ^^
22:19:15 <Even> They believe you will use that to bypass the 500MB limit & download anything you want ?
22:19:18 <nhnt11> Anyway, I think people who really need all this should be smart enough to bypass restrictions anyway :D
22:19:23 <nhnt11> Yes
22:19:27 <Even> Like adding some movie on a github repos and getting it though there?
22:19:28 <Even> ^^
22:19:32 <Even> (that would work :P)
22:19:39 <nhnt11> Haha. They're not that smart
22:19:54 <nhnt11> Their way of preventing it is to simply not let me put in anything at all
22:20:09 <Even> yeah, I thought so.
22:20:22 <nhnt11> And you don't need to do all that to get movies. There are ways to bypass the proxies :D
22:20:31 <Even> lol
22:20:42 <nhnt11> Although they recently installed a Cyberoam firewall... Prevents most methods used earlier
22:20:44 <Even> their systems looks pretty broken
22:20:52 <nhnt11> Not anymore actually
22:21:03 <nhnt11> I came across a method by pure chance. Pretty sure nobody else knows it on campus
22:21:09 <Even> lol
22:21:21 * nhnt11 thinks he has said a little too much
22:21:23 <Even> that looks useful
22:21:34 <nhnt11> Very. I have access to a 100mbps line :D
22:21:49 <Even> That's not huge but it makes the job ^^
22:22:24 <nhnt11> It's huge here. I had a 1mbps line back at home xD
22:22:33 <Even> Ok.
22:22:51 <Even> I have that at home :P (though only in down, I have barely 2/3 on up)
22:23:12 <nhnt11> I hear they're planning to upgrade to a 1gbps line though from next sem. Can't wait to see if I can get at it xD
22:23:23 <Even> MB, not Mb
22:23:38 <nhnt11> You have a 100MB/s line? :O
22:23:45 <Even> Yes.
22:23:52 <Even> 100/3MB/s
22:23:52 <nhnt11> Fiber?
22:24:01 <Even> Somehow.
22:24:27 * nhnt11 is speechless
22:24:38 <Even> That's not even expensive.
22:25:03 <Even> (30€/month)
22:25:08 <nhnt11> You should've seen how happy I was when I realized I could stream 1080p YouTube without waiting for buffering
22:25:29 <Even> Yeah, I can understand.
22:25:34 * nhnt11 needs to get himself in the EU
22:25:53 <Even> Though now in my case I'm pretty upset when I can't :P)
22:26:05 <-- chrisccoulson has quit (Ping timeout)
22:26:42 <Even> (since Youtube supports 1080p I have always used it)
22:26:51 <Even> (when available ^^)
22:27:12 <Even> My previous ADSL connexion was enough for 1080p on Youtube.
22:27:38 <nhnt11> An 8Mbps connection would cost me around $100 per month
22:27:46 <Even> I found out that it depends first on how well the relation is between your ISP and Google.
22:27:52 <Even> (aouch)
22:28:07 <Mic> I thought regarding internet speed, South Korea is the place to be? ;)
22:28:26 <Even> In France we have had 20MB ADSL for 30€/month for what ? 4 years now ?
22:28:29 <Even> Something like that.
22:28:31 <Even> No more...
22:28:33 <Even> 6 years.
22:28:47 <Even> South Korea & Japan yes.
22:29:01 <Even> They do have GB fiber for the same price (lucky bastards :P)
22:29:36 <nhnt11> Okay, I just looked it up. 8Mbps is not even available for home users
22:29:42 <Even> lol
22:29:45 <Even> Where are  you?
22:29:57 <Even> (need to know to be sure never to think about leaving there :P)
22:30:05 <nhnt11> Well I looked up only one company but still
22:30:07 <nhnt11> India :P
22:30:13 <Even> Okay. Well noted :P
22:30:27 <Even> I'll come someday for vacations though xD
22:30:57 <nhnt11> They're slowly introducing fiber connections though
22:31:50 <nhnt11> Currently it's at ~$300 for a 10Mbps unlimited connection though :(
22:31:53 <Even> In France we are stuck on that line. We have pretty "false" fiber pretty much everywhere but true fiber... Our ISP are fighting over who is the slower on this point.
22:32:48 <nhnt11> Hmm
22:34:10 <Even> Opps, I saw the log, my connexion is not 100/3MB, it's 10/3MB
22:34:10 <-- Kaishi has quit (Quit: Kaishi)
22:34:21 <Even> That makes approx 100/7Mb
22:34:24 <Even> I'm tired.
22:34:34 <nhnt11> Aaaah that makes much more sense
22:35:03 <Even> (mixed up down & up numbers)
22:35:39 <Even> (because I'm thinkibg about the unit they sell on one side and the one I get on my soft on the other :P)
22:36:13 <Even> Well, still it's good enough ^^
22:37:07 <Even> I believe I better go to bed xD
22:37:21 <nhnt11> Even: :D
22:37:23 <Even> It's past midnight and it seems I'm not coherent enough.
22:37:30 <nhnt11> It's 4am here :P
22:37:40 <Even> You're damn better than me ^^
22:37:59 <nhnt11> But I slept all day to make up for sleepless nights studying for quizzes and writing reports this week
22:38:06 <nhnt11> So I'm wide awake :D
22:38:08 <Even> (how are you even able to think :P)à
22:39:34 <Even> Have a good night (seems you will see this one through ^^)
22:40:08 <nhnt11> Thanks! I probably will
22:40:12 --> chrisccoulson has joined #instantbird
22:40:13 <nhnt11> Good night to you too
22:50:31 <-- Even has left #instantbird ()
22:55:50 <nhnt11> Does running |$hg pull && hg update| remove my local changes
22:56:42 <Mic> nhnt11: it will complain about local changes and refuse to update
22:57:15 * nhnt11 fires up Google
22:57:20 <-- mconley has quit (Ping timeout)
22:58:30 <Mic> If you actually want to overwrite your local changes, use --force on the update command
23:00:03 <nhnt11> Thanks
23:00:16 <nhnt11> Found a cheatsheet :D
23:00:23 <nhnt11> http://mercurial.selenic.com/wiki/GitConcepts, section 3
23:00:39 <nhnt11> Whoops, there's an anchor: http://mercurial.selenic.com/wiki/GitConcepts#Command_equivalence_table
23:00:44 <Mic> If you want to work on more than one thing at once, you should definitely look at mercurial queues
23:00:50 <Mic> (= mq)
23:01:06 <nhnt11> Thanks. Will do.
23:02:04 <Mic> They've got a good tutorial on the selenic website
23:02:10 <-- mpmc has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
23:12:16 <-- Mic has quit (Quit: No time to waste, let's go!)
23:15:22 --> mconley has joined #instantbird
23:16:21 <-- mconley has quit (Input/output error)
23:16:32 --> mconley has joined #instantbird
23:16:52 <-- qlum has quit (Client exited)
23:25:21 <-- MMN-o has quit (Ping timeout)
23:28:43 --> MMN-o has joined #instantbird
23:41:16 --> mpmc has joined #instantbird
23:45:27 <-- mpmc has quit (Connection reset by peer)
23:55:45 <instant-buildbot> build #405 of linux-onCommit is complete: Failure [failed shell_1]  Build details are at http://buildbot.instantbird.org/builders/linux-onCommit/builds/405  blamelist: aleth <aleth@instantbird.org>
23:57:28 <-- mconley has quit (Input/output error)