#instantbird log on 08 03 2010

All times are UTC.

00:02:30 <-- micahg has quit (Ping timeout)
00:26:50 --> hicham has joined #instantbird
01:20:17 --> micahg has joined #instantbird
01:24:34 <-- hicham has quit (Client exited)
01:42:56 <-- tymerkaev has quit (Ping timeout)
02:39:04 <-- clokep has left #instantbird ()
08:20:42 <-- skeledrew has quit (Quit: Instantbird 0.2)
08:55:42 --> Mic has joined #instantbird
08:55:47 <Mic> hi
09:27:40 --> tymerkaev has joined #instantbird
09:30:30 <-- tymerkaev has quit (Broken pipe)
10:06:41 --> hicham has joined #instantbird
10:22:56 --> tymerkaev has joined #instantbird
10:32:44 <-- tymerkaev has quit (Ping timeout)
10:49:03 --> clokep has joined #instantbird
10:54:26 --> kirc44DA has joined #instantbird
10:54:37 * kirc44DA is now known as cybik
10:54:55 <-- cybik has quit (Client exited)
11:03:35 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
11:03:39 --> clokep has joined #instantbird
11:34:09 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
11:35:04 <-- SM0TVI has quit (Quit: Hi. I'm a quit message virus. Add me to your configuration file, and help me take over the world of IRC.)
11:48:42 --> SM0TVI has joined #instantbird
12:03:24 --> clokep_work has joined #instantbird
12:04:24 * clokep_work is now known as IRCMonkey53594
12:05:12 * IRCMonkey53594 is now known as clokep
12:16:27 <-- SM0TVI has quit (Quit: Hi. I'm a quit message virus. Add me to your configuration file, and help me take over the world of IRC.)
12:16:27 --> tymerkaev has joined #instantbird
12:22:55 --> SM0TVI has joined #instantbird
12:46:07 --> skeledrew has joined #instantbird
13:21:49 <clokep> Good morning everyone!
13:23:41 <Mic> hello
13:35:06 <clokep> Hope everything is going well. :)
13:35:26 * clokep is working on buddy icons and realizing many of his friends don't use buddy icons.
13:39:46 <clokep> You don't happen to know where the status is set for the tab, do you? I can't seem to find it in tabbrowser.xml. :-\ Maybe its in conversation or convbrowser..hm...
13:49:50 --> Mic|web has joined #instantbird
13:50:10 <Mic|web> clokep: the styling is done here, using the attributes set: http://hg.instantbird.org/instantbird/file/9278a969d78c/instantbird/themes/instantbird.css#l91
13:50:43 <clokep> Ah, so I need to find where status is changed not the actual image.
13:50:47 <clokep> Thank you. Mic|web :)
13:52:50 <Mic|web> http://hg.instantbird.org/instantbird/file/9278a969d78c/instantbird/content/tabbrowser.xml#l1981 http://hg.instantbird.org/instantbird/file/9278a969d78c/instantbird/content/tabbrowser.xml#l1899
13:53:09 <Mic|web> Even though I can't tell where it is set for the tab
13:53:50 <Mic|web> ups, sorry
13:54:05 <Mic|web> the second one is the alltabs button .. I should read the code before posting :D
13:56:35 <clokep> http://lxr.instantbird.org/instantbird/source/instantbird/content/tabbrowser.xml#1602 is what I needed. :)
13:57:03 <clokep> But probably that first link too.
14:00:00 <Mic|web> indeed.
14:00:02 <Mic|web> Sorry.
14:00:34 <clokep> No need to be sorry! Help is always appreciated.
14:00:57 <Mic|web> http://hg.instantbird.org/instantbird/file/9278a969d78c/instantbird/content/conversation.xml#l958
14:02:59 <Mic|web> Even: the complaint about \40 instead of @ is valid but since this is not a specific bug related to this extension but a general one concerning encoding of special characters in XMPP id's I won't add a workaround
14:03:08 <Mic|web> It will stay in sandbox until it is fixed then
14:03:21 <Mic|web> I don't think there would be many users anyways
14:04:52 <-- tymerkaev has quit (Connection reset by peer)
14:05:57 <clokep> Its unfortunate. Did you see the libpurple bug I posted that was related?
14:08:42 <Mic|web> No
14:09:04 <Mic|web> Was it a comment on another or a new bug?
14:09:31 <clokep> I don't think I had time to comment about it. One second.
14:09:58 <clokep> http://log.bezut.info/instantbird/100731/#m101
14:11:06 <Mic|web> Ah, I was looking for a bug in our tracker
14:13:04 <clokep> Nah, sorry.
14:13:39 <Mic|web> Maybe I'll try to fix the bug but I won't just add an workaround in an extension
14:13:44 <Mic|web> *a
14:15:53 <clokep> Makes sense. I'm not sure if its alibpurple bug or a UI bug.
14:18:48 <Mic|web> Your LifeJournal 'protocol' didn't make it out of the sandbox either/yet as it seems
14:18:54 <Mic|web> Any issues with this one as well?
14:19:09 <clokep> I haevn't had any issues in the past few days I've been using it.
14:19:23 <clokep> I don't remember if I promoted it to be out of the Sandbox or not.
14:19:41 <Mic|web> well, that might be it
14:20:02 <clokep> I think I wanted to test it for a bit to see if there were any issues.
14:20:16 <clokep> Which I haven't had. :) Not that I know many people who still use Live Journal though so...
14:23:10 --> tymerkaev has joined #instantbird
14:23:11 <Mic|web> bbl
14:23:44 <clokep> Bye.
14:23:55 <Mic|web> btw you noticed that the status is set from the conversation binding?
14:24:19 <clokep> Yes. I'm overloading addTab
14:24:39 <clokep> Which actualy might not be working, but that's OK. :)
14:25:05 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
15:15:11 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
15:31:40 --> kaie2 has joined #instantbird
15:33:48 <-- kaie has quit (Ping timeout)
15:33:49 * kaie2 is now known as kaie
15:41:30 --> beigbeider has joined #instantbird
15:44:06 <beigbeider> Hello
15:44:09 <beigbeider> Здравствуйте
15:45:17 <clokep> Hello.
15:48:24 <-- beigbeider has left #instantbird ()
16:01:53 <-- tymerkaev has quit (Connection reset by peer)
17:04:13 --> tymerkaev has joined #instantbird
17:04:19 <-- tymerkaev has quit (Quit: I must go. Good bye!)
17:12:22 --> tymerkaev has joined #instantbird
17:28:45 --> Mic has joined #instantbird
17:33:50 <-- micahg has quit (Ping timeout)
17:34:06 <Mic> clokep: did you get your buddy icons working?
17:36:20 <clokep> Mic: I got the binding to work, but it only has a filler image right now (some random image available in Instantbird), haven't hooked it up to applying the user's buddy icon.
17:36:48 * clokep learned way more than he wanted to about XBL inheritance today.
17:37:13 <Mic> How much is there to xbl inheritance?
17:37:29 <clokep> Not much at all actually. :)
17:37:48 <Mic> I know you can inherit attirbutes and assign values of one attribute to another attribue if you like/need to
17:38:04 <clokep> But easiest way to do it was to inherit the binding, change some stuff, then in some of the methods call the original method then do my own stuff.
17:38:04 <Mic> That's the little I know
17:38:15 <clokep> Nah, I mean the JS side of the inheritance.
17:38:19 <Mic> ah, ok
17:38:27 <clokep> So all the methods get inherited, but I need to inherite the method and perform operations afterward.
17:38:59 <clokep> You can just replace the method and then call this.__proto__.__proto__.someMethodHere.call(this,arguments here...)
17:39:03 <clokep> But ti took a while to figure that out. :)
17:48:20 <clokep> You go back to fixing that bug in Buddy Notifications or...?
17:50:02 <-- tymerkaev has quit (Client exited)
17:50:41 <Mic> The one with the broken icons and messages?
17:50:51 <clokep> Yes, that one. :)
17:51:05 <Mic> Yes, I fixed it right now
17:51:14 <Mic> Need some testing now
17:51:23 <Mic> brb
17:51:28 <-- Mic has left #instantbird ()
17:53:11 --> Mic has joined #instantbird
17:53:58 <-- Mic has left #instantbird ()
17:54:03 --> Mic has joined #instantbird
18:00:34 <clokep> Good. :) I used that as a basis for some of my code btw, I needed to observe a bunch of notifications. :P
18:01:39 <Mic> I do similiar "code recycling" ;)
18:03:33 <clokep> Only bad thing is when you have a bug in it you have to fix it 30 times. ;)
18:06:41 <-- Mic has left #instantbird ()
18:10:35 --> micahg has joined #instantbird
18:14:17 --> Mic has joined #instantbird
18:22:40 <-- hicham has quit (Client exited)
18:35:52 <-- kaie has quit (Quit: Leaving)
18:38:06 <-- Mic has left #instantbird ()
18:53:43 --> idechix has joined #instantbird
18:53:43 * ChanServ sets mode +o idechix 
19:03:29 --> Mic has joined #instantbird
19:06:07 <clokep> Mic: Thanks for the prompt on that bug report. I had a better patch version sitting on my computer for the last week or so. Got me to finally upload it. :P
19:06:25 <Mic> :)
19:06:59 * Mic has status messages displayed behind names on the buddy list now :)
19:07:35 <clokep> :) Can you see much of them?
19:08:33 --> skeledrew1 has joined #instantbird
19:08:40 <-- skeledrew has quit (Quit: Instantbird 0.2)
19:08:41 <Mic> The first few words
19:09:15 <Mic> It's cropped at the end
19:09:58 <clokep> Right, its shown in the tooltip right?
19:10:03 <Mic> Yes
19:12:47 --> skeledrew has joined #instantbird
19:14:11 <-- skeledrew has quit (Quit: Instantbird 0.2)
19:16:39 <Mic> https://wiki.instantbird.org/File:BuddyEnhanced3.png
19:16:46 <Mic> That's what it looks like
19:17:03 <Mic> The smaller font size helps
19:18:08 <clokep> Ah, looks nice.
19:18:24 <clokep> The grey really keeps it from being too much.
19:33:22 <-- Mic has left #instantbird ()
19:38:46 --> Mic has joined #instantbird
19:51:04 * skeledrew1 is now known as skeledrew
19:51:48 * skeledrew wonders how easy it'd be to convert NickServKiller into a generic user blocker...
19:56:49 <clokep> skeledrew: Could probably be done pretty easily, but I'd hesitate to call it a "blocker".
19:57:05 <skeledrew> why?
19:57:15 * clokep is looking for the source.
19:57:16 <skeledrew> cuz it just closes the tab?
19:57:27 <clokep> Yes, it doesn't block them from seeing you're online, etc.
19:57:41 <clokep> Which (at least in my mind) is what "blocking" means  with reference to IM.
19:58:06 <skeledrew> oh
20:00:22 <skeledrew> but right now i'm focused on getting rid of the annoyance of persons infected by bots
20:00:28 <clokep> But maybe that's just me. :)
20:00:37 <clokep> Haha, then it probably could be.
20:00:54 <clokep> Probably just need to make a UI for the block list really.
20:01:03 <skeledrew> yeah
20:01:34 <skeledrew> and probably a filter for certain words/phrases that usually come from bots...
20:02:59 <clokep> One, sec I'm looking at the code.
20:04:36 <clokep> http://pastebin.instantbird.com/351
20:04:52 <clokep> So that could pretty easily be changed to check a list.
20:05:19 <skeledrew> yeah
20:05:32 <skeledrew> hmm
20:05:34 <clokep> Oh, but based on words/phrases?Hmm...
20:05:52 <skeledrew> is the list in the buddy list easily reusable? or do i have to make my own?
20:06:12 <skeledrew> yeah
20:06:22 <clokep> It should be...you found where it is?
20:06:31 <skeledrew> the users are legit. but they're infected by something
20:06:41 <skeledrew> the list?
20:06:47 --> hicham has joined #instantbird
20:06:48 <skeledrew> not hard to find again
20:07:23 <-- Mic has quit (Ping timeout)
20:07:24 <clokep> OK.
20:07:46 <skeledrew> it's in a richeditlist
20:08:47 <skeledrew> but i'd have to make my own list, with associated words/phrases. and make all that persistent...
20:09:17 <clokep> You need a list of ignored users and a list of ignored phrases, that's it, right? That's not too bad.
20:09:51 <skeledrew> and the phrases need to be associated to the user
20:10:13 <skeledrew> though there can be a global set of phrases too...
20:10:14 <clokep> OK, so instead of a vector, you have a map, still not too bad. :)
20:10:33 <skeledrew> hmm
20:10:51 <skeledrew> when i translate that to proper English, i'll let you know :)
20:10:51 <clokep> It could be done w/o UI in about an hour maybe.
20:10:58 <skeledrew> k
20:11:23 <skeledrew> but that would mean hardcoding the data
20:11:45 <skeledrew> doesn't matter right now though, since it's fairly constant
20:12:02 <skeledrew> but making it generic so others can use it...
20:12:05 <clokep> Not necessarily hard coding, I mean just hardcoding the prefs.
20:12:12 <clokep> Which is "hard coded" but a user could still change them.
20:12:25 <skeledrew> where?
20:12:32 <skeledrew> about:config?
20:12:57 <clokep> Yes.
20:13:15 <skeledrew> k
20:14:01 <skeledrew> kinda sounds a bit complex ATM
20:19:02 <clokep> Something like this: http://pastebin.instantbird.com/352
20:19:14 <clokep> (I didn't even check that for syntax errors, so no promises :))
20:20:38 <skeledrew> looks logical
20:21:04 <skeledrew> one point of consideration though
20:21:21 <skeledrew> what name is matched?
20:21:33 <hicham> hi all
20:21:39 <clokep> Should be the conversation name, but I'm not sure exactly. You'd have to experiment.
20:21:41 <skeledrew> local alias? server alias? or the actual ID?
20:21:41 <clokep> Hi hicham.
20:21:46 * clokep doesn't use aliases at all.
20:21:57 <skeledrew> hicham: hey
20:22:02 <clokep> It should be whatever is shown on the "tab" in your conversation I think?
20:22:21 <skeledrew> i see
20:22:30 <hicham> how are you doing clokep and skeledrew ?
20:22:34 <clokep> But I'm not positive abuotthat.
20:22:40 <skeledrew> so that should be changed to the ID instead
20:22:40 <clokep> I'm OK hicham, how're you?
20:22:45 <skeledrew> hicham: ok
20:23:03 <clokep> skeledrew: It depends on what you're trying to match. :) And you'd have to check the idl's for exactly what it is.
20:23:07 <hicham> I am fine, thanks for asking
20:23:15 <skeledrew> hmm
20:23:57 <clokep> https://wiki.instantbird.org/Instantbird:Notifications will tell you what aSubject is for each notification
20:24:08 <skeledrew> need to look at the context. NeckServ, etc would be killed regardless of the network it's from right?
20:24:15 <skeledrew> *NickServ
20:24:21 <clokep> Yes.
20:24:26 <clokep> But you could have it check the network as well.
20:24:36 <clokep> Well the protocol at least.
20:24:36 <skeledrew> yep
20:24:50 <skeledrew> just in case there're any clashes
20:25:11 <skeledrew> is the map one to many or many to many?
20:25:15 <clokep> And http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/public/purpleIConversation.idl and http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/public/purpleIAccountBuddy.idl I think are where you could get the ID.
20:25:27 <skeledrew> perfect
20:25:28 <clokep> There's no such thing as a map in JavaScript. :) Its just an object.
20:25:41 <skeledrew> yeah
20:25:48 <skeledrew> but it's the same concept
20:25:54 <skeledrew> hmm
20:26:19 <clokep> I could have rules[username] = "a single value" or rules[username] = ["a multitude", "of", "values"];
20:26:21 <hicham> flo is on vacation ?
20:26:31 <clokep> hicham: Yes, until Friday I believe?
20:26:43 <hicham> thanks clokep
20:27:44 <clokep> hicham: No problem.
20:27:55 <skeledrew> what about rules[username1, username2, ...] = ["your", "values", ...]?
20:28:01 <skeledrew> or something of the sort?
20:28:04 <clokep> No.
20:28:16 <skeledrew> just an idea
20:28:25 <skeledrew> not sure how to express it
20:28:41 <clokep> I mean you could have multiple keys point to the same value, but not with that syntax. i.e.:
20:29:08 <skeledrew> but it'd prob be nice to match multiple users to multiple values...
20:29:11 <clokep> var ruleSet = ["rule1", "value"]; rules[username1] = ruleSet, rules[username2] = ruleSet; then updating ruleSet should update both of them.
20:29:38 <skeledrew> does that make any sense btw?
20:30:13 <skeledrew> like making two lists and associating them in a many-many r/ship
20:30:41 <skeledrew> ahh!
20:30:41 <skeledrew> now i'm really complicating things...
20:30:43 <clokep> You could always do something where the "key" is [username1, username2, ...].join("|"), then you would check.... key.test("[\|\^]" + needle + "[\|\$]")
20:30:58 <skeledrew> k
20:31:05 <clokep> It can be done, just more of a pain. :) And gets rid of the nicety of rules[username] = a bunch of values.
20:31:16 <clokep> skeledrew: The two lists is probably a better way to go. :)
20:31:24 <skeledrew> hmm
20:31:52 <skeledrew> maybe 3 lists...
20:31:54 <skeledrew> lol
20:32:25 <skeledrew> the first list needs a way to point to all the indexes reqired in the second list
20:32:41 <clokep> well you could do this:
20:33:00 <skeledrew> so a 3rd list the same size as the first could hold those pointers...
20:35:58 <clokep> rules = [{"usernames" : [user1, user2], "phrases": [phrase1, phrase2, etc.]}, repeat the previous structure over and over]
20:37:02 <skeledrew> hmm
20:38:27 <skeledrew> that seems neat and intuitive, but i think the triple list would be much less redundant
20:39:13 <skeledrew> all the lists could even be put in a 3-d array...
20:39:19 <clokep> Eh, the UI for nonredundant system is too difficult. ;)
20:39:33 <skeledrew> lol
20:39:43 <skeledrew> i like challenges
20:40:05 <clokep> What's the third list?
20:40:08 <clokep> users, phrases...?
20:40:13 <clokep> protocols?
20:40:35 <skeledrew> users, phrase indexes, phrases
20:41:29 <skeledrew> the users would use the indexes to extract the relevant phrases
20:43:22 <clokep> ...isn't that still two arrays?
20:43:46 <skeledrew> no
20:43:54 <clokep> users[user1] = [array of phraseIndex]; where phrases[phraseIndex] = phrase?
20:44:06 <skeledrew> a single multidim
20:44:46 <clokep> rules[user1][phraseIndex] = phrase?
20:46:02 <skeledrew> rules[ ["user1", "user2", ...], ["user1index", "user2index", ...] ["phrase1", "phrase2", ...] ]
20:46:52 <skeledrew> /s/...] ["/...], ["
20:47:19 <skeledrew> basic idea
20:49:31 <clokep> Yeah, I get the idea...
20:49:45 <skeledrew> :)
20:49:50 <clokep> But what does that equal?
20:49:56 <skeledrew> the code would be pretty simple too ;)
20:49:59 <clokep> It doesn't make sense if everything is a key, there has to bee some value. :P
20:50:08 <skeledrew> uhh
20:50:24 <skeledrew> i wasn't creating a map
20:50:36 <skeledrew> just an array
20:50:44 <skeledrew> got the syntax mixed up
20:52:31 <clokep> Doesn't matter, it still needs a value.
20:53:15 <clokep> Or do you mean that rules = [ ["user1", "user2", ...], ["user1index", "user2index", ...] ["phrase1", "phrase2", ...] ]? I think that'd be difficult to loop over, but if you have it in your mind...go for it. :)
20:59:29 <skeledrew> hmm
20:59:31 <skeledrew> yep
20:59:37 <skeledrew> that's it
20:59:54 <skeledrew> why'd it be hard to loop?
21:00:17 <skeledrew> that array's mainly for storage (for now; i think)
21:00:18 <clokep> Cause its not the way my mind thinks. :)
21:00:35 <skeledrew> hmm
21:00:43 <clokep> But that doesn't affect you.
21:00:51 <clokep> Go for it. I'll be back in a few hours, it'll be done, right? :-D
21:01:08 <skeledrew> i'm just brain storming
21:01:15 <clokep> I know. :)
21:01:27 <clokep> But anyway I'm out. Let me know if you need some mor eideas.
21:01:29 <skeledrew> haven't been able to recover my files, incl my workspace :(
21:01:30 <-- clokep has quit (Quit: http://www.mibbit.com ajax IRC Client)
21:07:31 <hicham> from where ?
21:41:11 <-- idechix has quit (Quit: Instantbird 0.2)
22:12:49 <-- skeledrew has quit (Quit: Instantbird 0.2)
22:12:54 <-- hicham has quit (Client exited)
22:13:08 --> skeledrew has joined #instantbird
22:21:24 --> hicham has joined #instantbird
22:24:27 <-- hicham has quit (Client exited)
23:04:42 --> hicham has joined #instantbird