[00:12:53] wans has joined #peragro
[00:13:08] k2 has joined #peragro
[00:22:47] Deepa|Away has quit: Read error: Connection reset by peer
[00:23:10] Deepa|Away has joined #peragro
[01:15:04] wans has quit: Quit: • IRcap • 8.5 •
[01:15:55] <azaghal> Night all ;)
[01:17:24] <azaghal> sueastside: You might get some early code with some dumb filter etc. tomorrow :)
[01:40:29] <Vornne> azaghal: hmm, I'm on now, which is no use to you
[02:21:13] Easton has quit: Ping timeout: 276 seconds
[02:55:57] Vornne has quit: Ping timeout: 246 seconds
[02:58:03] Vornne has joined #peragro
[02:58:04] ChanServ sets mode: +o Vornne
[03:04:46] k2 has quit: Read error: Connection reset by peer
[03:05:02] k2 has joined #peragro
[03:20:00] Vornne has quit: Ping timeout: 260 seconds
[03:21:41] Vornne has joined #peragro
[03:21:42] ChanServ sets mode: +o Vornne
[04:30:57] k2 has quit: Ping timeout: 265 seconds
[04:31:54] k2 has joined #peragro
[04:38:04] Baldur has quit: Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539]
[06:03:45] k2 has quit: Ping timeout: 265 seconds
[06:16:26] wans has joined #peragro
[07:03:11] TheAncientGoat has joined #peragro
[07:37:36] needle has quit: Ping timeout: 264 seconds
[07:38:07] Easton has joined #peragro
[07:38:41] needle has joined #peragro
[07:58:04] caedes has quit: Ping timeout: 240 seconds
[08:14:50] Easton|sleepz has quit: Ping timeout: 276 seconds
[09:26:11] arpu has quit: Ping timeout: 276 seconds
[09:29:37] caedes has joined #peragro
[09:29:37] ChanServ sets mode: +v caedes
[10:39:44] <azaghal> Yo
[11:06:19] caedes has quit: Ping timeout: 276 seconds
[11:55:00] <sueastside> azaghal: should have asked your question instead of asking if you could ask.
[11:55:12] <azaghal> lol
[11:55:54] <azaghal> I think I fixed the keyboard issues.
[11:56:54] <sueastside> oh ohw
[11:57:37] <azaghal> sueastside: Removed the mouse and keyboard X.org drivers from build.
[11:57:43] <azaghal> Left only the evdev
[12:01:10] <sueastside> intresting..
[12:23:09] Deepa|Away has quit: Read error: Connection reset by peer
[12:23:24] <azaghal> OK
[12:23:25] Deepa|Away has joined #peragro
[12:23:27] <azaghal> IT WASN"T THAT>
[12:23:29] <azaghal> FFS
[12:23:46] <azaghal> The funny thing is that the effect "wears off" on its own.
[12:35:54] arpu has joined #peragro
[12:40:33] <sueastside> azaghal: what effect?
[12:42:27] <azaghal> sueastside: The shift-on effect.
[12:46:37] <sueastside> azaghal: it doesnt make you feel 13 again?
[12:46:43] <azaghal> Huh?
[12:46:44] <azaghal> No
[12:46:48] <azaghal> I never typed like that.
[12:46:54] <azaghal> C-64 excluded.
[12:47:06] <azaghal> I'm thinking of http://www.logitech.com/en-gb/keyboards/keyboard/devices/3498
[12:48:11] <azaghal> Wondering how good it is for typing, though...
[12:48:19] <azaghal> And no - I'm not buying a M$ keyboard -.-
[12:49:24] <azaghal> Costs a lot, though :/
[12:49:32] <azaghal> 88 euros here.
[12:49:33] <sueastside> why pay + 70eur for a little screen you'll never use...
[12:50:24] <thebolt> hi guys
[12:50:35] <azaghal> sueastside: I could use it for notifications and stuff.
[12:50:46] <sueastside> hey thebolt
[12:50:55] <thebolt> i prefer http://www.amazon.com/Logitech-967568-0403-X-Flat-Resistant-Keyboard/dp/B000I4UQZM myself
[12:51:10] <thebolt> have one at work (and one laying around here, although these days i use the laptop keyboard directly)
[12:51:41] <azaghal> Is it good?
[12:52:03] <thebolt> well, good is subjective, i said i likeit :)
[12:52:26] <thebolt> sold under a few different names
[12:52:36] <thebolt> x-flat, ultrax and a few others
[12:52:43] <sueastside> azaghal: its soft with small travel distance, if you like typing on laptops...
[12:52:59] <azaghal> Yeah, I have one such keyboard already - the Saitek one.
[12:53:03] <azaghal> I liked the small depth.
[12:53:07] <azaghal> Is it soft for typing?
[12:53:40] <thebolt> yea, i like the laptop-feel.. it is pretty similar to (Good) laptop keyboards in feel
[12:54:27] <thebolt> and cheap(ish)
[12:57:25] <azaghal> I'd pay more for a good keyboard that's actually worth it, to be honest.
[12:57:34] <azaghal> But most of those are crapish gamer keyboards.
[13:01:10] <sueastside> aye
[13:01:33] <azaghal> Cartoon called "Barbie in Hollywood"...
[13:01:39] <azaghal> If it was does instead of in...
[13:05:15] arpu has quit: Ping timeout: 276 seconds
[13:05:34] <azaghal> thebolt: Wouldn't happen to know the original name for non-OEM?
[13:06:25] <thebolt> azaghal: hm?
[13:06:38] <azaghal> thebolt: The logitech keyboard? It's not on their site.
[13:07:07] <thebolt> nah, i know
[13:07:20] <thebolt> but i find it in the places i normally buy computer stuff under the name logitech ultrax
[13:13:53] <azaghal> Ok, I think I found it.
[13:40:11] <sueastside> azaghal: whats this dumb filter stuff?
[13:40:33] <azaghal> sueastside: Well, I'll implement some basic filter, like dumbconnection thing.
[14:12:33] <sueastside> azaghal: well whats the filtering part? the actual dispatching? i thought the dumbconnection was the echopumper thingie
[14:12:48] <azaghal> Ah yes, it is.
[14:12:58] <azaghal> The filtering will basically return this:
[14:13:18] <sueastside> wouldnt it be return *this?
[14:13:21] <azaghal> std::list<FilterResult>
[14:13:32] <azaghal> typedef boost::tuple<PT::Network::Message::MessageSPtr, std::list<PT::Network::Connection::ConnectionSPtr> > FilterResult;
[14:15:11] <azaghal> I'm still wondering if it'd be cheaper to sacrifice some memory for speed, though.
[14:15:48] <azaghal> I.e. instead of returning that tuple, simply return pairs of MessageSPtr, ConnectionSPtr.
[14:15:56] <azaghal> Each connection having its own message assembled.
[14:19:56] <sueastside> hmm dont think that matters, you either have a 'for result in filterresults[N]: for conn in result.connections[M]' or 'for result in filterresults[N+M]' same amount of iteration
[14:20:46] <sueastside> err no, thats wrong
[14:21:20] <azaghal> Well, there's also some creation of message copies.
[14:21:39] <azaghal> The main thing is regarding rearrangement of property updates which will get sent to each connection.
[14:21:51] <sueastside> you mean like tuple<Connection, std::list<Message> > ?
[14:21:59] <azaghal> Nah
[14:22:06] <azaghal> You assemble a single message to send over.
[14:22:21] <azaghal> But for example, you might remove some properties from message for some connection.
[14:22:45] <azaghal> I.e. you send strength and dexterity update, but only strength is supposed to be received by connection A.
[14:26:04] <sueastside> right so, you copy over relevant property updates for a certain connection to a new message
[14:34:18] <azaghal> That's ok, but the question is...
[14:34:34] <azaghal> Do I use a separate message for _each_ connection, or I try to optimise it?
[14:35:00] <azaghal> Separate message will be easy to use, but may introduce some memory overhead.
[14:35:16] <azaghal> But maybe I should go that way anyway since it'd be minimal, and since it'd ease the whole processing.
[14:37:59] <sueastside> i'd think latency would be a bigger issue then memory, so go for seperate
[14:40:55] <azaghal> Ok, that'd ease the whole thing.
[15:42:48] wans has quit: Read error: Connection reset by peer
[15:48:30] Arerano_Areramau has quit: Quit: KVIrc Insomnia 4.0.0, revision: 4259, sources date: 20100125, built on: 2010-04-18 14:35:28 UTC 4259
[15:49:11] Arerano_Areramau has joined #peragro
[16:44:57] arerhihi has joined #peragro
[16:48:07] Arerano_Areramau has quit: Ping timeout: 264 seconds
[16:50:19] k2 has joined #peragro
[16:58:22] Arerano_Areramau has quit: Changing host
[16:58:22] Arerano_Areramau has joined #peragro
[17:08:21] SgtFlame|Zen has quit: Ping timeout: 265 seconds
[17:10:05] SgtFlame|Zen has joined #peragro
[17:18:01] Deepa- has quit: Quit: Page closed
[17:21:20] wans has joined #peragro
[17:33:35] Baldur has joined #peragro
[18:29:14] TheAncientGoat has quit: Remote host closed the connection
[19:29:59] Vornne has quit: Ping timeout: 265 seconds
[19:31:55] Vornne has joined #peragro
[19:31:55] ChanServ sets mode: +o Vornne
[19:40:35] Vornne has quit: Ping timeout: 258 seconds
[19:42:17] Vornne has joined #peragro
[19:42:17] ChanServ sets mode: +o Vornne
[19:42:46] * sueastside nails Vornne to the channel
[19:56:31] Easton has joined #peragro
[19:59:00] needle has quit: Read error: Operation timed out
[20:01:04] <azaghal> o.O
[20:01:13] <azaghal> sueastside: Rough love, eh?
[20:01:14] <azaghal> :)
[20:01:29] <sueastside> azaghal: bitch!
[20:01:35] <azaghal> lol
[20:01:40] <sueastside> azaghal: what did you say about logging? :P
[20:02:02] <azaghal> Working on a SimpleFilter implementation right now :)
[20:02:13] <azaghal> The code is kind of ok, but there are some tweaks I might want to do.
[20:02:21] <azaghal> (increase const'ness of stuff etc)
[20:02:35] <azaghal> For example, for sending messages, I might switch to using const MessageSPtr.
[20:03:13] <azaghal> In order to prevent modifications by different delivery methods (if they really needed one, they could make a local copy of Message instead).
[20:03:44] needle has joined #peragro
[20:03:48] <sueastside> boost:shared_ptr<const Message> i take it?
[20:03:51] <sueastside> hey needle
[20:04:45] <azaghal> Hm... Actually, more of a const boost::shared_ptr<Message>.
[20:11:14] <sueastside> azaghal: that would still allow you to change message...
[20:12:35] <azaghal> Hm... Are you sure?
[20:12:58] <azaghal> Wouldn't it limit me to calling only const methods of boost::shared_ptr?
[20:16:55] <sueastside> well if operator-> is const...
[20:17:27] <sueastside> i'm not entirely sure, but its something i remembered from Vornne's entity code
[20:17:37] <azaghal> Meh
[20:17:42] <azaghal> I'll test it at some point to check.
[20:17:50] arpu has joined #peragro
[20:19:12] Baldur_ has joined #peragro
[20:20:35] Baldur has quit: Ping timeout: 245 seconds
[20:39:00] Baldur has quit: Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539]
[20:47:37] wans has quit: Quit: • IRcap • 8.5 •
[20:54:04] Vornne has quit: Ping timeout: 276 seconds
[20:55:40] Vornne has joined #peragro
[20:55:40] ChanServ sets mode: +o Vornne
[21:31:30] Vornne has quit: Ping timeout: 246 seconds
[21:33:27] Vornne has joined #peragro
[21:33:27] ChanServ sets mode: +o Vornne
[21:38:06] Easton has quit: Ping timeout: 245 seconds
[21:39:27] hooloovoo has joined #peragro
[21:39:30] <hooloovoo> o/
[21:42:46] Baldur has joined #peragro
[21:45:35] wans has joined #peragro
[21:46:48] <azaghal> hooloovoo: Yo!
[21:46:53] <azaghal> Hm...
[21:46:59] <azaghal> sueastside: When did you last see recon?
[21:49:49] Vornne has quit: Ping timeout: 276 seconds
[21:50:58] Vornne has joined #peragro
[21:50:58] ChanServ sets mode: +o Vornne
[22:02:23] Easton has joined #peragro
[22:22:03] Vornne has quit: Ping timeout: 264 seconds
[22:24:08] Vornne has joined #peragro
[22:24:08] ChanServ sets mode: +o Vornne
[22:56:06] * sueastside slaps circeavalon
[23:00:29] <sueastside> azaghal: dispatcher.cpp:50 s/_newConnectionSignal.connect(boost::bind(&Filter::Filter::NewConnectionSlot, _filters[id], _1)); /_newConnectionSignal.connect(boost::bind(&Filter::Filter::NewConnectionSlot, filter, _1)); / saves you a map lookup
[23:01:10] <azaghal> Next time you use sed syntax like that, I'm going to kill you...
[23:01:44] <azaghal> sueastside: Actually, I had it like the last variant before, but changed it to this one instead :)
[23:01:52] <azaghal> I'll switch it back.
[23:02:29] wans has quit: Read error: Connection reset by peer
[23:02:42] <azaghal> sueastside: Did you manage to even compile it?
[23:02:54] wans has joined #peragro
[23:03:25] <sueastside> azaghal: currently just looking at the diff
[23:03:32] <azaghal> Ah, ok.
[23:03:35] <azaghal> Not much, I admit.
[23:03:39] <azaghal> But took me some thinking.
[23:03:55] <sueastside> azaghal: dispatcher:63-66 tab/space issues?
[23:04:21] <azaghal> I don't think so?
[23:04:36] <azaghal> Ah, yes.
[23:04:40] <azaghal> Single level.
[23:04:42] <azaghal> Np
[23:05:19] <azaghal> sueastside: I also might rewrite some stuff about style etc. to accommodate some structuring inside of .h/.cpp files as well.
[23:05:37] <azaghal> (ordering of header files, ordering of methods etc)
[23:05:59] <azaghal> Oh, and I can bet the current code is hellishly thread-unsafe.
[23:07:45] <azaghal> sueastside: Do you like the direction at which it is going? So far the only type of class missing is Server, and after that goes tweaking etc.
[23:08:22] <azaghal> And I'll try to put down some proper sample code in test/
[23:10:04] <azaghal> Filter for property messages might be tricky to get good performance, though.
[23:10:48] <azaghal> Currently listening to: Threshold - Sheltering Sky
[23:12:53] wans has quit: Changing host
[23:12:53] wans has joined #peragro
[23:15:12] k2 has quit: Ping timeout: 260 seconds
[23:16:05] <azaghal> sueastside: So, any idea what's up with recon69?
[23:16:11] <azaghal> And where the _hell_ is Induane?
[23:17:05] k2 has joined #peragro
[23:17:32] <sueastside> azaghal: sure, although i sometimes have to slap myself to use it, i kinda like boost's and Vornne 's public and then private class declaration style, gives a quicker overview of public methods...
[23:18:03] <azaghal> Heheh
[23:18:09] <azaghal> I like to define private stuff first :)
[23:18:23] <azaghal> Usually because private stuff usually gets used by public stuff.
[23:18:32] <sueastside> azaghal: need to see a more complex example of the filter, but everything makes sense so far, thats always a good direction :)
[23:19:28] <sueastside> ACL will be implemented as a filter?
[23:20:08] <azaghal> sueastside: Yes
[23:20:32] <azaghal> The most complex filter will be the one for property updates.
[23:20:55] <azaghal> I'll probably ask Vornne for some help on that one for best algorithm thing when doing matching.
[23:21:58] <azaghal> The biggest question regarding threads is what happens when connection gets lost during processing.
[23:22:16] Easton has quit: Ping timeout: 245 seconds
[23:26:32] <azaghal> sueastside: I'm thinking of adding something like "GetOrigin()" to the connection classes, btw.
[23:26:32] <azaghal> In order to differentiate between connections coming from various sources.
[23:26:41] <azaghal> (for Filters to more easily cope with)
[23:37:45] Easton has joined #peragro
[23:40:03] Vornne has quit: Ping timeout: 264 seconds
[23:41:38] Vornne has joined #peragro
[23:41:38] ChanServ sets mode: +o Vornne
[23:58:38] wans has quit: Quit: • IRcap • 8.5 •