Wednesday, 2010-08-04

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
epyon-kitsunellnz: what non-tpframe network connections happen to a tpserver?00:03
epyon-kitsune(disregarding http wrapping)00:03
llnzincoming to the server: none (a separate web server will host some content though)00:04
llnzoutgoing from the server: http to the metaserver, dbus to dbus for avahi (if needed)00:05
epyon-kitsunegreat00:06
llnzepyon-kitsune: any particular reason for copying files and not just updating the existing ones?00:09
epyon-kitsuneI think the reason will become apparent soon enough.00:10
epyon-kitsuneI'm just writing the frame class from scratch00:10
epyon-kitsuneIf I did that in the repo, it'd just become a big mess00:10
llnzit wouldn't hurt if the new frame class implemented outputframe and inputframe00:10
llnzat least for now00:10
llnzor they became wrappers around the new frame class00:11
epyon-kitsuneactually I wonder if a FrameFactory wouldn't be better... but I'll leave that for later -- I need to get this stuff testable ASAP00:11
llnzif you can get the byte buffers to and from the network, you should be ok00:12
epyon-kitsuneyeah, and that's where I'm heading right now.00:12
epyon-kitsunellnz: I'll take the liberty of doing some hacks to speed it up. We'll be able to clean them up later.00:18
epyon-kitsune(speed up getting the server working that is)00:19
llnzi suggest you don't break too many things, processing the frames is one of those00:19
epyon-kitsuneprocessing?00:20
llnzie, everything inside playeragent and probably some in playerconnection00:23
epyon-kitsunellnz: yeah, I'll try to keep those untouched.00:23
llnzok, cool00:23
*** nash has joined #tp01:19
*** ezod has quit IRC02:42
*** ezod has joined #tp03:07
*** glew has quit IRC03:27
alanp*: ping03:37
llnzhi alanp03:43
alanphey03:45
alanpwas looking for cab fare estimate ejc -> mtv03:46
alanplooks like about $30-40 :(03:46
alanpbut cab: 20 mins transit: 2+ hrs03:46
alanpmight be worth it03:46
*** verhoevenv_ has quit IRC03:49
llnzalanp: it appears to be about an hour by public transport03:51
alanp?03:51
alanpgoogle maps shows me 2+03:51
llnzhttp://maps.google.co.nz/maps?f=d&source=s_d&saddr=SJC,+San+Jose,+CA,+United+States&daddr=1786+West+El+Camino+Real,+Mountain+View,+CA,+United+States&hl=en&geocode=FacrOgId7o67-Cnty17wvsuPgDGQxhv1NnD4xQ%3B&mra=ls&dirflg=r&ttype=dep&date=07%2F08%2F10&time=09:00&noexp=0&noal=0&sort=&sll=37.392383,-122.092674&sspn=0.005029,0.011362&ie=UTF8&ll=37.402074,-122.048149&spn=0.080456,0.181789&z=13&start=003:52
alanpoh fail to look03:52
tpb<http://ln-s.net/7PdB> (at maps.google.co.nz)03:52
alanpwtf!03:52
alanpwhy do the list the 2 hour trip time first03:52
llnztiming?03:52
alanpi guess :(03:53
llnzalso, if you pay a little more, catch the 522 express bus - it's faster (you might have to walk a bit further because it only stops at some places)03:55
alanpah03:56
alanpgo to sf much?03:56
llnzi have visited three times, once in 1999 with family (mostly around SF), twice visited Google ('07 and '08)03:58
alanpah cool03:58
llnzthe south bay area has a very good bus system, and the train to SF is quite usable03:59
*** DTRemenak has quit IRC04:32
llnzbbl04:34
*** llnz has quit IRC04:34
*** nash has quit IRC04:37
*** DTRemenak has joined #tp05:01
*** llnz has joined #tp06:24
*** cahirwpz has joined #tp06:53
*** DTRemenak has quit IRC07:10
*** DTRemenak has joined #tp07:13
*** bisc has quit IRC08:14
*** tote has quit IRC09:28
*** tote has joined #tp09:37
* llnz wanders off09:54
llnzlater all09:54
*** llnz has quit IRC09:54
*** StupidIncarnate has quit IRC11:09
*** epyon-kitsune has quit IRC12:35
*** epyon-kitsune has joined #tp12:35
*** Greywhind has joined #tp13:18
*** glew has joined #tp14:21
ezodglew: ping14:53
glewezod: pong14:54
ezodhi14:54
ezodanything new?14:54
ezodi guess from your commits you're testing saving atm?14:55
glewyeah I tested some saving14:56
glewI also played a little MTsec so i could see the sqlite database it made14:56
glewI was going to try modifiying information in it14:57
*** PrimusInterPares is now known as Linkadmin14:57
glewand I also noticed my addslashes() function probably isnt working correctly because the fields that use it are chopped to just the first word14:57
ezodcan you load yet?15:03
ezod(i haven't tried)15:03
*** verhoevenv has joined #tp15:05
glewezod: I think loading works, although I'15:06
glewm not sure if the ai loading is fine15:06
glewit should be cause it just starts the client right now15:06
ezodok15:09
*** null_000 has joined #tp15:12
null_000hi all15:18
*** null_000 has quit IRC15:33
*** null_000 has joined #tp19:09
null_000hey all19:10
*** glew has quit IRC19:11
*** glew has joined #tp19:11
*** tpb has joined #tp19:19
*** ChanServ sets mode: +o tpb19:19
*** llnz has joined #tp20:10
llnzmorning all20:11
null_000morning llnz20:26
llnzhi null_00020:27
null_000I saw in the logs there were some questions about the AI20:27
null_000do you know anything about that?20:27
llnznope20:28
* llnz opens the irc logs20:28
llnzhttp://www.thousandparsec.net/~irc/logs/%23tp.2010-08-03.log.html#t2010-08-03T17:51:0820:29
tpb<http://ln-s.net/7Q35> (at www.thousandparsec.net)20:30
llnz?20:30
null_000yes this one20:31
null_000if you don't know anything about that I'll have to find glew20:32
llnzi don't know about it20:35
verhoevenvnull_000: I don't know the exact details, but glew wants to be able to save and load AI state from a database for single player save game support.20:37
verhoevenvWhich I believe not to be very hard in the original daneel-ai, but I have no idea how easy or hard it would be in your AI.20:37
null_000oh right... we talked about that a bit20:38
null_000verhoevenv: if I remember correctly your AI is stateless (no need to save any data)20:38
verhoevenvI think there is support for turn-transcending state in the form of the don't-remove-these constraints.20:39
verhoevenvMarked with *, I think.20:39
verhoevenvApart from that, the rest is rebuild each turn from the downloaded information.20:39
ezodthe easy thing to do is to add some function that outputs a pickled string of a dict containing all stateful objects in the AI20:40
null_000this can be easily done for MTSec20:41
ezodif other AIs in other languages can similarly "pickle" and "unpickle" their state, then it's a viable general process20:41
null_000but I'm not sure where the constraints are stored20:41
* null_000 has to go20:45
null_000bye all..20:45
*** null_000 has quit IRC20:45
*** llnz2 has joined #tp21:00
*** llnz has quit IRC21:00
*** llnz2 is now known as llnz21:00
*** Greywhind has quit IRC21:14
*** null_000 has joined #tp21:15
*** null_000 has quit IRC21:53

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!