[00:52:23] <azaghal> Vornne: If you're available later on, I need a good way to support easy switching between various serialization archives (I'm using polymorphic ones). Maybe a central factory from which you could obtain an instance?
[01:37:11] hooloovoo has quit: Quit: Lost terminal
[02:08:03] needle has quit: Ping timeout: 252 seconds
[02:09:40] needle has joined #peragro
[02:50:11] arpu has joined #peragro
[03:14:21] induane has parted:
[04:48:16] circeavalon has quit: Ping timeout: 258 seconds
[06:14:00] Easton has quit: Quit: He who laughs last, thinks slowest
[06:23:37] TheAncientGoat has joined #peragro
[06:29:22] k2 has quit: Read error: Connection reset by peer
[06:56:16] Vornne has quit: Ping timeout: 240 seconds
[07:04:07] Vornne has joined #peragro
[07:04:07] ChanServ sets mode: +o Vornne
[10:41:23] caedes has quit: Ping timeout: 245 seconds
[10:43:01] circeavalon has joined #peragro
[10:43:12] * circeavalon pokes sueastside
[10:43:15] caedes has joined #peragro
[10:43:16] ChanServ sets mode: +v caedes
[10:43:42] <sueastside> circeavalon: what ya still doing up silly
[10:44:10] <circeavalon> don't know...we have guests..I feel like if I was asleep it would be wrong
[11:16:49] <circeavalon> I love you good night sueastside
[11:17:27] * sueastside dips circeavalon ands sticks his tongue down her throat
[11:18:31] <sueastside> circeavalon: And I 'make' love to you, cause I'm ruggedly handsome!
[11:19:22] <azaghal> Yo
[11:19:33] <azaghal> Helloooo
[11:19:38] <azaghal> All of this is getting logged?
[11:19:45] <sueastside> yo azaghal
[11:20:10] <sueastside> azaghal: I don't want to sound queer or anything, but you have a nice ass
[11:20:24] <azaghal> Oh, that's not queer at all...
[11:25:00] Arutha_ has joined #peragro
[11:29:47] <azaghal> Arutha_: Welcome!
[11:31:09] <Arutha_> Hi
[11:38:10] <azaghal> Long time no see :)
[11:41:28] <Arutha_> well
[11:41:35] <Arutha_> been busy with other things
[11:42:08] <azaghal> Heheh
[11:42:12] <azaghal> Almost six months :)
[11:42:31] <Arutha_> uhu that's true
[11:49:55] <azaghal> You were working on some model iirc?
[11:49:57] <azaghal> Any news on that one?
[11:50:12] <sueastside> azaghal: PJ!!
[11:50:52] <azaghal> Brown
[11:50:57] <azaghal> Played for Miami Heat.
[11:51:29] <Arutha_> azaghal i'm working on a game actualy (for school)
[11:52:01] <Arutha_> i'm now in last year of univ and together with my other school buddies we decided to take a cours on games
[11:52:08] <Arutha_> so we have a team of 6
[11:52:18] <Arutha_> we're making a hovercraft race game
[11:52:30] <Arutha_> http://code.google.com/p/uhasseltaacgua/
[11:52:34] <Arutha_> this is our project page
[11:53:45] <sueastside> Arutha_: Will you be around? cause i have to go :s
[11:53:59] <Arutha_> euh wel i can join this channel again
[11:54:12] <Arutha_> i'll try to be arround a bit more
[11:54:32] <Arutha_> so we can chat a little about the "old days"
[12:00:01] <azaghal> Yeah...
[12:00:02] <azaghal> Chat...
[12:00:14] <azaghal> We're not going to chain you to a computer and have you model stuff...
[12:00:15] <azaghal> Nope...
[12:00:18] <azaghal> Not at all...
[12:00:26] <azaghal> /msg sueastside Quick! Get the ropes!
[12:00:27] <azaghal> Whoops...
[12:17:01] Vornne has quit: Ping timeout: 276 seconds
[12:18:35] Vornne has joined #peragro
[12:18:35] ChanServ sets mode: +o Vornne
[12:30:58] <azaghal> Ok...
[12:31:03] <azaghal> Recaptcha is gone from my site.
[12:31:05] <azaghal> Damn Google...
[12:45:19] PJ__ has joined #peragro
[12:46:28] arpu has quit: Ping timeout: 240 seconds
[12:46:47] <Vornne> azaghal: btw the doxygen comment style was really trivial compared to the other suggestions, you didn't need to change it ;)
[12:47:08] <Vornne> but now you've done it, no prob
[12:47:40] Arutha_ has quit: Ping timeout: 240 seconds
[12:49:36] <azaghal> Vornne: -.-
[12:49:45] <azaghal> sueastside: Can I set him on fire? Can I? Can I? Can I?
[12:51:39] <Vornne> now you know never to get stuck in the bottomless pit of coding style discussions with me :P
[12:54:57] <azaghal> Next time I'm flying over to NZ to whack you...
[12:55:11] <azaghal> What are NZ girls like?
[12:56:30] <azaghal> Vornne: Anyway, still on?
[13:14:01] <Vornne> azaghal: back now; hmm, dunno... like most other places in the world? I'm a bit wierd, not as interested in girls as some
[13:57:07] Arerano_Areramau has quit: Changing host
[13:57:07] Arerano_Areramau has joined #peragro
[14:16:36] arpu has joined #peragro
[14:16:41] needle has quit: Ping timeout: 240 seconds
[14:18:27] needle has joined #peragro
[15:04:41] PJ__ has quit: Ping timeout: 240 seconds
[15:47:14] k2 has joined #peragro
[15:53:17] Vornne has quit: Ping timeout: 240 seconds
[15:55:23] Vornne has joined #peragro
[15:55:23] ChanServ sets mode: +o Vornne
[16:12:15] <azaghal> Vornne: Are you around?
[16:12:26] <azaghal> sueastside: Or you?
[16:12:39] <azaghal> I'm trying to figure out how to utilize serialization archives.
[16:59:48] Vornne has quit: Ping timeout: 240 seconds
[17:01:46] Vornne has joined #peragro
[17:01:46] ChanServ sets mode: +o Vornne
[17:50:17] LinuxDonald has joined #peragro
[18:55:01] arpu has quit: Ping timeout: 265 seconds
[19:24:53] arpu has joined #peragro
[19:27:18] LinuxDonald has quit: Quit: Verlassend
[19:34:06] k2 has quit: Ping timeout: 260 seconds
[19:52:56] <azaghal> Gah
[19:53:05] <azaghal> boost::bind doesn't play nice with shared_from_this -.-
[19:56:21] <sueastside> azaghal: no clue on the archives, but bind should copy the shared_ptr returned by shared_from_this and keep the object alive
[19:56:33] <azaghal> sueastside: Yes, but then comes the...
[19:56:39] <azaghal> Poly-wants-a-cracker!
[19:56:50] <azaghal> I'll try casting.
[19:57:13] <sueastside> azaghal: hmm?
[19:57:49] <azaghal> class Connection : public enable_shared_from_this<Connection>
[19:57:57] <azaghal> class Tcp: public Connection
[19:58:09] <azaghal> void Tcp::HandleWrite();
[19:58:22] <azaghal> bind(&Tcp::HandleWrite, shared_from_this())
[19:58:24] <azaghal> See?
[19:58:49] <azaghal> shared_from_this returns ConnectionSPtr.
[19:58:55] <azaghal> And Connection has no HandleWrite :)
[19:59:30] <sueastside> bind(&Tcp::HandWrite, boost::polymorphic_cast<Tcp>(shared_from_this())) ?
[19:59:37] <azaghal> Yes, that's casting.
[20:00:14] <azaghal> Ugly as hell, but oh well.
[20:00:15] <sueastside> tskk tssk, i know what casting is, i was overing a possible solution :P
[20:00:22] <azaghal> Thanks
[20:00:22] <sueastside> *offering
[20:00:27] <azaghal> I didn't know that one.
[20:00:34] <azaghal> Now offer me a cute geeky girl, damn it!
[20:00:42] <azaghal> sueastside: What header is it in?
[20:00:50] * sueastside offers Japje to azaghal
[20:01:01] <azaghal> _Girl_, damn it, _girl_
[20:01:14] <azaghal> cast.hpp
[20:01:43] <sueastside> yup
[20:02:16] <azaghal> sueastside: /home/branko/пројекти/код/peragro/network/connection/tcp.cpp:44: грешка: нема одговарајуће функције за позив ‘polymorphic_cast(<unresolved overloaded function type>)'
[20:02:20] <azaghal> What yup?
[20:02:33] <azaghal> errro: no appropriate function for calling
[20:02:52] <azaghal> Wait...
[20:02:54] <azaghal> My error
[20:02:56] <azaghal> Type
[20:02:59] <azaghal> *Type
[20:03:39] <azaghal> I take that back.
[20:03:41] <azaghal> It's still bitching.
[20:03:55] <azaghal> boost::asio::async_write(socket, boost::asio::buffer(stream.str()),
[20:03:57] <azaghal> boost::bind(&Tcp::HandleWrite, boost::polymorphic_cast<Tcp>(shared_from_this())));
[20:05:00] <azaghal> Replacing with TcpSPtr doesn't help either.
[20:06:19] <azaghal> Don't tell me I have to define my own function for it first...
[20:06:29] LinuxDonald has joined #peragro
[20:11:02] <azaghal> Hm...
[20:11:13] <azaghal> sueastside: What if I do TcpSPtr(shared_from_this())?
[20:12:04] <sueastside> azaghal: can you try boost::dynamic_pointer_cast first
[20:12:05] * azaghal pokes sueastside with circeavalon
[20:12:45] <azaghal> Btw, ran into http://en.highscore.de/cpp/boost/toc.html
[20:14:11] <azaghal> Well, it built ok.
[20:14:17] <azaghal> No idea if it actually works as intended.
[20:15:29] <azaghal> But I hope it does.
[20:17:21] <sueastside> it will
[20:18:35] <azaghal> You know, I'm slowly coming to believe that C++ wasn't designed properly.
[20:26:53] <azaghal> sueastside: Recommended maximum message size?
[20:33:39] Baldur has joined #peragro
[20:54:35] <Japje> sueastside: dont do it :(
[20:54:40] <Japje> i am sacred
[20:54:56] <sueastside> azaghal: minimum of 2gigs?
[20:55:13] <sueastside> Japje: how are you sacred?
[20:55:43] <Japje> i am the keeper of the sacred scrolls
[20:55:49] <Japje> that makes me the sacred scroll keeper
[20:55:50] * azaghal scrolls up
[20:56:09] <azaghal> sueastside: Well, it'd be easier to use unsigned 32-bit integer.
[20:56:12] <azaghal> 4gigs
[20:56:21] <sueastside> Japje: TP isnt that sacred you know, unless you ran out
[20:56:41] <Japje> oh
[20:56:41] <azaghal> TP?
[20:56:58] <sueastside> TrinityPlane
[20:57:04] <sueastside> err Toilet Paper
[20:57:37] <Japje> but my TP has sacred texts and images on it
[20:57:50] <Japje> in a brownish color
[20:58:01] <azaghal> sueastside: http://pastebin.com/LEat60GF - is this a sane way to do serialization of a 32-bit integer?
[21:02:27] <azaghal> Erm
[21:07:51] k2 has joined #peragro
[21:08:01] <sueastside> azaghal: http://pastebin.com/E369zBwM i dont think you can do (a<<24)>>24 since a is uint32 you would shift it beyond its precision no?
[21:08:45] <azaghal> Hm...
[21:09:29] <azaghal> Well, it'd move last 8 bits to beginning, then get them back?
[21:10:48] <sueastside> azaghal: i dunno
[21:11:33] <azaghal> I'm a bit worried regarding use of signed char.
[21:14:21] <azaghal> Gah
[21:14:24] <azaghal> I hate bit operators.
[21:14:43] * circeavalon pokes sueastside
[21:15:12] <sueastside> yeah boobies!
[21:15:19] <sueastside> i mean... hi honey
[21:15:31] k2 has quit: Ping timeout: 265 seconds
[21:18:47] k2 has joined #peragro
[21:20:47] <azaghal> sueastside: http://pastebin.com/pgLZDLfq - here's what I have now
[21:22:49] loufoque has joined #peragro
[21:26:11] <azaghal> D'oh
[21:26:15] <azaghal> Forgot to delete old stuff :)
[21:26:35] <sueastside> azaghal: http://codepad.org/3SC6XaU4 seems to work
[21:28:32] <azaghal> I'm sceptical about chars. I think I read somewhere that signed staff is implementation-dependent.
[21:28:45] TheAncientGoat has quit: Read error: Connection reset by peer
[21:32:07] <azaghal> sueastside: Do you have uint32_t stuff in Winblow$?
[21:32:12] <azaghal> If not, do you have some equivalent?
[21:32:47] <thebolt> azaghal: has nothing to do with OS and all to do with compiler (version)
[21:33:02] <azaghal> thebolt: Referring to uint32_t thing?
[21:33:05] <thebolt> yes
[21:33:20] <azaghal> Well, I meant VS to be honest :)
[21:33:26] <sueastside> azaghal: isnt there boost::uint32 or something to handle that?
[21:33:27] <azaghal> Because I know we don't use mingw etc.
[21:36:46] <azaghal> Hrm
[21:36:54] <azaghal> sueastside: They seem to have uint_least stuff.
[21:37:31] <azaghal> No, wait.
[21:37:33] <azaghal> They have that.
[21:37:41] <azaghal> It's probably kind of stdint.h thing.
[21:37:43] <azaghal> I'll use that then.
[21:38:03] <azaghal> But man... That is fugly.
[21:38:20] <azaghal> I.e. preceding every type like that with boost::
[21:38:59] <thebolt> well, don't then
[21:39:07] <thebolt> have configure (or similar) chekc if they exists
[21:39:10] <sueastside> you can import in the PT namespace or something, iirc it was something like that Vornne did
[21:39:11] <thebolt> otherwise pull in a header that has
[21:39:18] <thebolt> using boost::uint32_t;
[21:39:21] <thebolt> etc
[21:39:31] <thebolt> that pulls them up into the globla namespace
[21:39:53] <azaghal> Hm... I guess we can put that in some kind of config.h then.
[21:40:09] <azaghal> sueastside: I'll use plain uint32_t for now, ok?
[21:41:59] <sueastside> sure
[21:44:51] <azaghal> :O
[21:44:56] <azaghal> Why isn't he on irc then?
[21:45:06] Vornne has quit: Ping timeout: 264 seconds
[21:45:15] <azaghal> sueastside: Is he paranoid about that whole Keri incident?
[21:45:31] <sueastside> +r
[21:46:08] circeavalon has quit: Quit: Ex-Chat
[21:46:10] <azaghal> +r?
[21:46:19] <sueastside> oh god no, hes touching my keep houses!
[21:46:25] <sueastside> azaghal: Kerri
[21:46:29] <sueastside> azaghal: i dunno
[21:46:37] <azaghal> Ok
[21:46:40] <azaghal> Huh?
[21:46:42] <azaghal> Keep houses?
[21:46:44] <azaghal> Oh :)
[21:46:47] Vornne has joined #peragro
[21:46:47] ChanServ sets mode: +o Vornne
[21:46:58] <sueastside> morning Vornne
[21:48:51] circeavalon has joined #peragro
[21:49:06] <sueastside> circeavalon: blah
[21:49:12] <circeavalon> oh yeah!!
[21:49:26] <azaghal> Never knew blah was such a turn-on.
[21:49:34] <circeavalon> it is
[21:49:45] <sueastside> circeavalon: blah me
[21:50:06] <circeavalon> sueastside: anytime baby!
[21:50:30] <sueastside> circeavalon: am i wearing diapers? i dont think so!
[21:50:42] <circeavalon> sueastside: could have fooled me
[21:51:38] Vornne has quit: Ping timeout: 240 seconds
[21:52:35] <azaghal> I CAN"T EXPLAIN THE FRUSTRATION I HAVE FROM THIS KEYBOARD ISSUE>
[21:53:08] Vornne has joined #peragro
[21:53:08] ChanServ sets mode: +o Vornne
[21:53:27] <circeavalon> obviously
[22:09:28] <azaghal> Great...
[22:09:32] <azaghal> Now I have linking error.
[22:09:32] <azaghal> Hrm
[22:11:04] <azaghal> ../connection/libconnection.a(tcp.cpp.o): In function `PT::Network::Connection::Tcp::SendMessage(unsigned long, boost::shared_ptr<PT::Network::Message::Message>)':
[22:11:07] <azaghal> tcp.cpp:(.text+0x3cb): undefined reference to `PT::Network::ToBinary(unsigned int)'
[22:11:10] <azaghal> collect2: ld врати излазни статус 1
[22:11:12] <azaghal> make[2]: *** [test/basicfilter] Error 1
[22:11:15] <azaghal> make[1]: *** [test/CMakeFiles/basicfilter.dir/all] Error 2
[22:11:17] <azaghal> make: *** [all] Error 2
[22:12:03] <azaghal> Why?
[22:12:07] <sueastside> azaghal: dont forget to add your .cpp file
[22:12:10] <azaghal> I did.
[22:12:17] <sueastside> for the toBinary
[22:12:31] <azaghal> add_library(utilities utilities.cpp)
[22:12:42] <azaghal> And for connections
[22:12:43] <azaghal> add_library(connection connection.cpp dumbpumper.cpp logger.cpp tcp.cpp)
[22:12:43] <azaghal> target_link_libraries(connection utilities message archive)
[22:13:21] <azaghal> And target_link_libraries(basicfilter message connection dispatcher filter boost_system-mt) for basicfilter
[22:17:39] <azaghal> sueastside: I'll commit the code for today, you can tell me if you figured it out.
[22:17:52] <sueastside> ok
[22:21:25] Vornne has quit: Ping timeout: 265 seconds
[22:22:49] Vornne has joined #peragro
[22:22:49] ChanServ sets mode: +o Vornne
[22:32:42] <sueastside> My work here is done.
[22:34:14] <azaghal> sueastside: Huh?
[22:34:23] <azaghal> sueastside: No, it isn't.
[22:35:10] <sueastside> oh :)
[22:35:31] <azaghal> I need help with that linking issue.
[22:35:32] <azaghal> Seriously.
[22:38:06] <azaghal> Maybe it doesn't like functions?
[22:46:53] <sueastside> azaghal: ah, utilities.cpp you actually have to to do std::string PT::Network::ToBinary() or namespace PT { namespace Network { std::string ToBinary() {} }}
[22:47:27] <azaghal> sueastside: using namespace isn't enough?
[22:47:30] <azaghal> Wait a minute...
[22:47:40] <azaghal> Of course it isn't.
[22:47:42] <azaghal> But...
[22:47:45] <azaghal> Why does it work for classes?
[22:48:28] * azaghal high-fives sueastside and throws circeavalon in his arms
[22:48:32] <sueastside> azaghal: cause for classes you defined the scope, Class:Func(), in this case you're making global functions
[22:48:53] <azaghal> Hm... C++ namespace resolving is so borked :)
[22:49:06] <azaghal> Now I'm starting to understand why people don't like C++.
[23:08:45] Easton has joined #peragro
[23:56:39] <azaghal> circeavalon: Could you hit Induane in the head for me? And ask him why he's not around? :)