*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** Linkadmin has quit IRC | 00:04 | |
*** StupidIncarnate has quit IRC | 00:20 | |
*** Erroneous has quit IRC | 00:47 | |
epyon-kitsune | llnz: the paradigm of ASIO would go best with merging them into a single class | 00:58 |
---|---|---|
*** nash has joined #tp | 01:04 | |
*** mithro has quit IRC | 01:14 | |
*** llnz has quit IRC | 01:18 | |
*** Linkadmin has joined #tp | 01:44 | |
*** llnz has joined #tp | 02:00 | |
llnz | epyon-kitsune: ok | 02:02 |
*** verhoevenv has quit IRC | 03:00 | |
*** nash has quit IRC | 03:01 | |
*** nash has joined #tp | 03:17 | |
llnz | bbl | 04:36 |
*** llnz has quit IRC | 04:36 | |
*** glew has quit IRC | 04:49 | |
*** bisc has joined #tp | 05:04 | |
*** DTRemenak has quit IRC | 05:23 | |
*** cahirwpz has joined #tp | 06:11 | |
*** DTRemenak has joined #tp | 06:34 | |
*** llnz has joined #tp | 06:39 | |
*** bisc has quit IRC | 07:54 | |
*** nash has quit IRC | 08:37 | |
* llnz wanders off | 09:30 | |
llnz | later all | 09:30 |
*** llnz has quit IRC | 09:30 | |
*** StupidIncarnate has joined #tp | 10:18 | |
*** verhoevenv has joined #tp | 12:31 | |
*** Greywhind has joined #tp | 13:18 | |
*** verhoevenv has quit IRC | 13:22 | |
*** verhoevenv has joined #tp | 14:14 | |
*** verhoevenv_ has joined #tp | 14:28 | |
*** verhoevenv has quit IRC | 14:30 | |
*** cahirwpz has quit IRC | 15:41 | |
*** StrangerDanger has quit IRC | 16:16 | |
*** bisc has joined #tp | 17:21 | |
*** glew has joined #tp | 17:35 | |
ezod | glew: ping | 17:48 |
glew | ezod: pong | 17:48 |
ezod | hey haven't had a chance to catch up in a few days | 17:49 |
ezod | how goes? | 17:49 |
glew | yeah, sorry I had screwed up my sleeping pattern | 17:49 |
glew | um | 17:49 |
glew | I'm doing ok, I think i've got the save and load features down | 17:50 |
ezod | yeah i saw that stuff, looks good | 17:50 |
glew | but I'm not sure how to go about pickling the AI | 17:50 |
ezod | have you talked to null_000 or verhoevenv_ about it? | 17:51 |
ezod | anyway, don't get stuck | 17:52 |
glew | I haven't seen null_000 on irc in a few days, so i haven't had the chance to ask him, but I'll try verhoevenv_ | 17:52 |
ezod | work on something else if you can't get support on the ai pickling right away | 17:52 |
glew | sure | 17:52 |
ezod | e.g. you can work toward saving and loading a game with no AI for the moment | 17:53 |
glew | right | 17:53 |
verhoevenv_ | Eh, hello | 17:53 |
ezod | and there's the wizard modifications too | 17:53 |
glew | i was also thinking about trying to change the "database/savefile" to make it have different starting conditions | 17:53 |
glew | hi verhoevenv_ | 17:53 |
glew | I've been working on singleplayer scenarios, and I was wondering if you could help me with pickling AI clients | 17:54 |
verhoevenv_ | For my version of daneel-ai, there should be no big theorethical problem in pickling I think, the entirey state is explicitely listed in one object. | 17:54 |
verhoevenv_ | Not sure how it goes with the newer spinoffs though. | 17:54 |
ezod | glew: you mean editing it outside of just saving via libtpclient-py/persistence? | 17:54 |
ezod | like scenarios? | 17:54 |
ezod | good direction to go too | 17:55 |
glew | right as in scenarios | 17:55 |
ezod | verhoevenv_: i was hoping you'd say that :) | 17:55 |
alanp | ezod: --> | 17:55 |
verhoevenv_ | I currently don't have time to look at it myself, you might want to ask null_000 about his client when you see him for now, or if you can wait until about in a week, I can spend some time on it at the hacking week. | 17:56 |
verhoevenv_ | But I'v got a master's thesis to write now and the code isn't too fresh in my mind :/ | 17:57 |
glew | verhoevenv_, ok thanks for the insight, good luck on your work | 17:57 |
ezod | glew: if it's just one object you can pickle it to a string really easily | 17:57 |
ezod | and if the state is not all in one object, maybe it ought to be refactored back to being that way ;) | 17:58 |
glew | ezod: I don't know how the AI client functions, I know you call it to start it, but I don't know where to access the object from | 17:58 |
verhoevenv_ | Well, there are some subtleties though... The state being only the internal state, not the whole thing with connections etc... It might be a bit more problematic to get those things right. | 17:59 |
verhoevenv_ | But I guess those are problems you already encountered for other clients too? | 17:59 |
glew | I haven't worked with any other AI"s other than daneel-ai | 17:59 |
ezod | well the connections and stuff are all dictated by initializing the AI | 17:59 |
ezod | which is done by the SinglePlayer object | 17:59 |
ezod | which glew is already storing | 18:00 |
glew | ezod: right i saw that | 18:00 |
glew | I just don't know how to tell the AI client to pickle the state so i can load it into the newly started ai | 18:00 |
ezod | so basically, my thought is that once that's all set up, the internal state object can just be swapped in (by adding a bit of code to daneel to allow it) | 18:00 |
glew | ok | 18:00 |
ezod | glew: oh, you have to code that into daneel :P | 18:00 |
ezod | it doesn't actually do it yet | 18:01 |
glew | yeah, i'm seeing that now | 18:01 |
verhoevenv_ | glew: Is it okay if I take a look at that next week? Or is that going to bring you in deadline troubles? | 18:01 |
ezod | i think it would make sense to wait until next week | 18:02 |
glew | verhoevenv_: It's ok to take your time on it, I'll ask null_000 too, its not too big at this point | 18:02 |
glew | i have other things to work on too | 18:02 |
ezod | as we were discussing just now, there are several other tasks to be done that don't depend on this | 18:02 |
glew | right | 18:02 |
glew | wizard, gui, scenarios w/o AI | 18:03 |
verhoevenv_ | kay, I'll take a look at the hack week, if you don't hear from my by, say, next tuesday, go ahead and ping me about it. | 18:03 |
glew | ok, thanks verhoevenv_ | 18:03 |
ezod | thanks | 18:04 |
*** StrangerDanger has joined #tp | 19:15 | |
*** llnz has joined #tp | 20:28 | |
llnz | morning all | 20:28 |
ezod | llnz: hey | 20:32 |
ezod | good news | 20:32 |
ezod | possibly | 20:32 |
llnz | hi ezod | 20:32 |
ezod | i may be able to make hackweek until wednesday | 20:32 |
llnz | cool | 20:32 |
ezod | still trying to work it out so i can use my previous delta credit, if i can make it happen i'll be there for the first bit at least | 20:33 |
llnz | that would be cool | 20:41 |
ezod | is there any hacking going on on sat/sun? | 20:42 |
ezod | i would have to fly back to detroit on wednesday morning | 20:43 |
*** cahirwpz has joined #tp | 20:44 | |
*** Greywhind has quit IRC | 20:50 | |
llnz | ezod: i'm sure there will be if people want to | 20:51 |
llnz | in the evenings | 20:51 |
llnz | sunday i think we are going into SF for most of the day | 20:55 |
*** Vadtec has quit IRC | 21:02 | |
*** Vadtec has joined #tp | 21:07 | |
*** Vadtec has quit IRC | 21:13 | |
*** Vadtec has joined #tp | 21:15 | |
*** StupidIncarnate has quit IRC | 21:21 | |
*** cahirwpz has quit IRC | 21:47 | |
epyon-kitsune | ezod: :) | 22:21 |
*** StupidIncarnate has joined #tp | 22:38 | |
llnz | epyon-kitsune: how are you going? | 22:39 |
epyon-kitsune | okay, I'm again working offline | 22:42 |
epyon-kitsune | I'll do some pushes soon | 22:42 |
llnz | ok | 22:42 |
llnz | i look forward to working with you in person next week | 22:43 |
epyon-kitsune | :) | 22:44 |
llnz | maybe I can help you some | 22:45 |
epyon-kitsune | llnz: we drop tp02 support right? | 22:52 |
epyon-kitsune | llnz: also, did the frame header size differ between tp02 and tp03? | 22:53 |
epyon-kitsune | err 03 and 04 | 22:53 |
*** Linkadmin is now known as PrimusInterPares | 22:54 | |
llnz | tp02 support can be dropped, tp03 support is required (superset of tp02) | 22:55 |
llnz | i think they are the same length | 22:56 |
epyon-kitsune | what about padstrings? | 22:57 |
llnz | one field gets used differently, but no size change | 22:57 |
llnz | no padstrings are in the header | 22:57 |
epyon-kitsune | I mean is the setting used at all? | 22:57 |
llnz | they are filter options that the client can request | 22:57 |
llnz | yes | 22:57 |
epyon-kitsune | do they have any reasonable purpose? | 22:57 |
llnz | on a per-connection basis (default off) | 22:57 |
llnz | yes | 22:57 |
epyon-kitsune | ok, doesn't matter what :> | 22:58 |
llnz | alignment on the client side | 22:58 |
llnz | padstrings only affects the creation (and reading) of the byte buffers | 23:16 |
*** Vadtec has quit IRC | 23:19 | |
*** Vadtec has joined #tp | 23:27 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!