*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
Greywhind | tansell: ok, post done: http://greywhind.wordpress.com/2009/06/17/gsoc-weekly-update-4/ | 00:18 |
---|---|---|
tpb | <http://ln-s.net/3LEs> (at greywhind.wordpress.com) | 00:18 |
llnz | bbl | 00:32 |
*** llnz has quit IRC | 00:32 | |
tansell-laptop | okay | 00:32 |
tansell-laptop | so age parameters are going to be trickey | 00:32 |
tansell-laptop | as nothing supports them yet | 00:33 |
tansell-laptop | and it'll need support in the starmap too | 00:35 |
tansell-laptop | Greywhind, so how complete do you think the client is now? | 00:39 |
tansell-laptop | Greywhind, can you play a game of minisec or risk through to the end starting from singleplayer? | 00:40 |
Greywhind | tansell-laptop: i think minisec could be played through | 00:40 |
Greywhind | tansell-laptop: i don't know for sure about risk | 00:40 |
tansell-laptop | Greywhind, best way is to give it a go :) | 00:40 |
tansell-laptop | so I would recommend spending some time playing through the games and fixing bugs | 00:43 |
Greywhind | ok | 00:47 |
tansell-laptop | so you think by the end of next week you'll have the info panel done? | 00:49 |
Greywhind | tansell-laptop: i think i can do it | 00:51 |
tansell-laptop | and after that the only goal left is the age stuff? | 00:51 |
tansell-laptop | didn't we skip something to go onto this first? | 00:51 |
Greywhind | tansell-laptop: the info panel was what we skipped | 00:52 |
Greywhind | tansell-laptop: the only things left after aging will be libtpproto-py or libtpclient-py changes, that i'm not sure have been implemented yet or now | 00:52 |
Greywhind | *not | 00:52 |
Greywhind | but you said that would probably be someone else's job, mostly? | 00:52 |
tansell-laptop | what where the changes you where proposing to libtpproto/libtpclient? | 00:53 |
Greywhind | tansell-laptop: see my original proposal. i'll lin kit | 00:59 |
tansell-laptop | thanks | 01:00 |
Greywhind | http://greywhind.wordpress.com/2009/05/22/detailed-proposal/ | 01:01 |
tpb | <http://ln-s.net/3Gbd> (at greywhind.wordpress.com) | 01:01 |
tansell-laptop | ahh filter support | 01:06 |
tansell-laptop | I think it makes sense for cherez to do that in libtpclient2-py | 01:06 |
Greywhind | right, that's what you said before | 01:06 |
Greywhind | so that just leaves aged properties, i believe | 01:06 |
tansell-laptop | same with # Frame version checking, if necessary. (libtpproto-py, or libtpclient-py?) | 01:06 |
tansell-laptop | oh - so I don't think we have really solved the media problem properly | 01:07 |
Greywhind | yeah, i think revisiting that a bit could help | 01:07 |
tansell-laptop | we need a way to view the current downloads cancel downloads and etc | 01:07 |
Greywhind | so i'll do that as one of those "go back and polish" things | 01:07 |
tansell-laptop | we also have the order parameter types that are not implimented | 01:08 |
Greywhind | right | 01:08 |
tansell-laptop | actually, it would probably be a good time to go back and review everything you have done | 01:08 |
Greywhind | yeah | 01:09 |
tansell-laptop | remeber how we where discussing putting the picture as part of the starmap? | 01:10 |
tansell-laptop | IE it pops up when you select/mouse over an object | 01:11 |
Greywhind | yeah | 01:12 |
tansell-laptop | I think that would be a good thing to do | 01:13 |
tansell-laptop | I think there are a bunch of general improvements we could work | 01:15 |
tansell-laptop | (IE Better help issue) | 01:20 |
Greywhind | tansell-laptop: ok, i'll note that down as well | 01:21 |
*** llnz has joined #tp | 01:22 | |
tansell-laptop | Greywhind, so lets say by next week you'll have a "my 1/3 of GSoC review" type report | 01:34 |
Greywhind | tansell-laptop: ok | 01:34 |
tansell-laptop | and we can put down some goals for the next 1/3 | 01:34 |
*** llnz2 has joined #tp | 02:54 | |
*** llnz has quit IRC | 03:05 | |
*** llnz2 is now known as llnz | 03:05 | |
*** nash has quit IRC | 03:07 | |
*** greenlion has joined #tp | 03:09 | |
*** Greywhind has quit IRC | 04:02 | |
*** greenlion has quit IRC | 04:45 | |
CIA-21 | joelboh tpclient-pyweb * r9a6fa05adaad /frontend/index.html: Frontend: End of turn intitial state is empty. | 05:14 |
*** peres has joined #tp | 06:12 | |
*** mithro has quit IRC | 06:44 | |
*** tuna-fish has joined #tp | 07:53 | |
*** krytzz has quit IRC | 08:21 | |
*** krytzz has joined #tp | 08:21 | |
* llnz wanders off | 08:32 | |
llnz | later all | 08:32 |
*** llnz has quit IRC | 08:32 | |
*** greenlion has joined #tp | 09:33 | |
*** ezod has quit IRC | 09:46 | |
*** ezod has joined #tp | 09:47 | |
*** alanp has quit IRC | 09:59 | |
Landon | tansell: well right now I'm working on individual events, but I don't think round progression is to far behind it once I get those done (just saw your message) | 10:10 |
*** tuna-fish has quit IRC | 10:12 | |
*** bddebian has joined #tp | 10:14 | |
bddebian | Howdy | 10:16 |
*** peres has quit IRC | 11:47 | |
*** Greywhind has joined #tp | 13:16 | |
*** alanp has joined #tp | 15:43 | |
*** llnz has joined #tp | 16:00 | |
llnz | morning all | 16:50 |
ezod | hey llnz | 16:52 |
llnz | hi ezod | 16:52 |
alanp | hey | 16:55 |
tote | hello :) | 16:56 |
llnz | hi alanp and tote | 17:07 |
llnz | :-) | 17:07 |
ezod | llnz: tpserver-cpp question | 17:23 |
llnz | shoot | 17:24 |
ezod | suppose something in Ruleset::createGame() fails | 17:24 |
ezod | and alanp wants that to make Game::load() fail, i guess | 17:24 |
alanp | nod | 17:24 |
ezod | currently createGame() is void return | 17:24 |
ezod | and there's no conditional in Game::load() | 17:24 |
llnz | ok | 17:25 |
* alanp opened bug on google | 17:25 | |
llnz | i understand what you are getting at | 17:25 |
llnz | thanks alanp | 17:25 |
alanp | when it can't read the xml, it should stop | 17:26 |
alanp | and in the end i think it is a good idea if we move all props/comps to xml in all rulesets | 17:26 |
llnz | I suspect an exception should be thrown | 17:26 |
alanp | do we do exceptions? | 17:26 |
llnz | not yet | 17:26 |
alanp | ah | 17:26 |
llnz | well... there are a few places where they are used | 17:27 |
*** Erroneous has joined #tp | 17:33 | |
CIA-21 | alanp tpserver-cpp-mtsec * rfaac7c603b6d /modules/games/mtsec/mtsec.cpp: Fixed small bug with the way XML import was called. | 17:39 |
alanp | no idea how that ever worked... :( | 17:40 |
* alanp shouldn't code so late | 17:41 | |
*** bddebian has quit IRC | 17:45 | |
*** greenlion has quit IRC | 19:00 | |
tansell | morning | 20:12 |
Greywhind | morning | 20:19 |
Greywhind | tansell: is there any way yet to compose and send a message to another player? | 20:20 |
tansell | nope! | 20:22 |
Greywhind | tansell: do you want me to hold off on putting a "send message" button in next to player references then? | 20:23 |
tansell | you could add the feature :) | 20:24 |
Greywhind | seems like a rather large task | 20:25 |
alanp | tansell: how can i make the "design" dialogue in tpclient-pywx come up? | 20:34 |
tansell | alanp, Windows -> Design | 20:35 |
alanp | hrmph | 20:35 |
tansell | Greywhind, It shouldn't be more then a day or two worth of work | 20:36 |
Greywhind | tansell: i'll keep it in mind for when i've run out of the other tasks i'm planning to do | 20:37 |
tansell | okay | 20:37 |
alanp | tansell: how do i make it work? :P | 20:37 |
tansell | work? | 20:38 |
*** mithro has joined #tp | 20:39 | |
alanp | so that i can add components to a design | 20:39 |
tansell | click "new design" | 20:40 |
alanp | right, and then edit | 20:41 |
alanp | then add? | 20:41 |
tansell | yeah | 20:41 |
alanp | doesn't work | 20:41 |
tansell | what doesn't work | 20:44 |
tansell | need more information then that | 20:44 |
tansell | error | 20:45 |
tansell | screenshots | 20:45 |
alanp | err output, one sec | 20:45 |
alanp | http://pastebin.com/m9c4fc4f | 20:45 |
tpb | Title: pastebin - collaborative debugging tool (at pastebin.com) | 20:45 |
tansell | alanp, so something references a property with id=0 which doesn't exist | 20:46 |
alanp | hmmm | 20:46 |
alanp | http://pastebin.com/m32c0b4b1 what's up with this one? | 20:49 |
tpb | Title: pastebin - collaborative debugging tool (at pastebin.com) | 20:49 |
alanp | also, i don't think anything is refernecing a property with id=0 | 20:51 |
alanp | same thing happens w/minisec on demo1 | 20:56 |
alanp | http://pastebin.com/m1869ac94 <-demo1 | 20:56 |
tpb | Title: pastebin - collaborative debugging tool (at pastebin.com) | 20:56 |
llnz | alanp: the server executes the same scheme code, so it can't be wrong | 20:59 |
alanp | well the client does not like it apparently? | 20:59 |
llnz | but minisec does disallow creating new designs | 20:59 |
alanp | ah | 21:00 |
alanp | how do you specifically disallow? | 21:00 |
llnz | remove all the components from being "usable" for each player | 21:00 |
alanp | ah | 21:01 |
alanp | yeah | 21:01 |
llnz | *after* the standard designs are created | 21:01 |
alanp | i'm not removing useable components :( | 21:01 |
llnz | i think this happens well after the client trys to test the design though | 21:02 |
alanp | ? | 21:02 |
alanp | i see all of the components, so they should be usable | 21:02 |
alanp | i just can't add anything | 21:02 |
llnz | the client trys to calculate the properties, then sends the design to the server, which then calculates the properties (doesn't trust the client) | 21:03 |
alanp | the error is happening in the client-side parser, no? | 21:03 |
llnz | at that point, the server dectects that the components are not usable and fails the design (in minisec) | 21:03 |
llnz | appears so | 21:04 |
alanp | i'll dummy down a hull component | 21:04 |
alanp | hmm, different error | 21:05 |
alanp | The value calculated for component 1 was 100000000 | 21:06 |
llnz | it almost looks like it dropped quotes around "mega-units" | 21:06 |
alanp | shouldn't that be for "property 1"? | 21:06 |
alanp | tp.client.pyscheme.error.SchemeError: Unknown expression type -- eval mega-units | 21:07 |
llnz | alanp: maybe property 1 for component 1? | 21:07 |
alanp | heh | 21:07 |
alanp | llnz: yes | 21:07 |
alanp | but i mean, it always says component X when it means property X (i think) | 21:07 |
llnz | double quote chars missing | 21:07 |
llnz | maybe a problem in xml? | 21:07 |
llnz | humm... shouldn't affect demo1 | 21:08 |
alanp | (lambda (design bits) (let ((n (apply + bits))) (cons n (string-append (number->string (/ n 1000000)) " mega-units")) ) | 21:08 |
alanp | that's the tpcl Display for Speed | 21:08 |
alanp | its in a CDATA[[]], so the quotes are escaped in the string | 21:08 |
alanp | any idea? | 21:09 |
llnz | i hope there is another ')' at the end of that lambda | 21:10 |
alanp | there is, it was line wrapped, sorry | 21:10 |
alanp | <tpclDisplayFunction><![CDATA[(lambda (design bits) (let ((n (apply + bits))) (cons n (string-append (number->string (/ n 1000000)) " mega-units")) ) )]]></tpclDisplayFunction> | 21:10 |
llnz | ok | 21:10 |
alanp | client can't connect if you have the scheme wrong on startup, learned that painfully | 21:10 |
alanp | the best part is that you don't have to recompile on component/property changes :-) | 21:12 |
llnz | nice | 21:13 |
* alanp lost with this tpclient error | 21:13 | |
llnz | it would be cool if the ruleset development environment created the xml | 21:14 |
alanp | what do you mean? | 21:14 |
* alanp intrigued | 21:14 | |
tansell | so there could be problems in the client, nobody uses the design stuff till now | 21:15 |
* alanp thinks so | 21:15 | |
alanp | my python is nonexistant, i have been looking to learn but mid-gsoc is probably not the greatest time. ezod said that he would help with pyclient stuff | 21:16 |
alanp | i can ask him about it | 21:16 |
tansell | alanp, you can also turn on debug stuff | 21:18 |
alanp | hm yes i could | 21:18 |
tansell | and check what stuff you are getting in the packets | 21:18 |
alanp | is it a command line switch? | 21:18 |
llnz | alanp: tpruledev, it was a GSoC project from 2007 | 21:18 |
tansell | alanp, no it's an option in the preferences | 21:19 |
alanp | ok, sorry | 21:19 |
alanp | just found a bug | 21:20 |
alanp | when you save in preferences, the list gets doubled | 21:20 |
alanp | (list of servers) | 21:20 |
alanp | ill open it on google code | 21:20 |
alanp | actually, you don't even have to save | 21:21 |
alanp | when you open it the list doubles | 21:21 |
CIA-21 | joelboh tpclient-pyweb * r0b3c5eebccf0 /frontend/index.html: Frontend: This document was successfully checked as XHTML 1.0 Strict! | 21:21 |
alanp | no extra info in debug mode | 21:22 |
alanp | which i think guarantees this to be client-end? | 21:23 |
tansell | alanp, nope | 21:23 |
alanp | ah | 21:23 |
tansell | so in debug mode | 21:24 |
tansell | you get the green/red printed values | 21:24 |
alanp | right | 21:24 |
tansell | of the packets that are sent/received | 21:24 |
tansell | now you want to remove your ~/.tp/cache* | 21:24 |
tansell | and connect again | 21:24 |
tansell | watch as the packets fly past | 21:24 |
alanp | ok | 21:24 |
tansell | check that the lambda is coming through correctly | 21:25 |
tansell | ie that the value it's getting is | 21:25 |
alanp | what's the quickest way to format this properly? | 21:25 |
tansell | (lambda (design bits) (let ((n (apply + bits))) (cons n (string-append (number->string (/ n 1000000)) " mega-units")) ) ) | 21:25 |
tansell | format this properly? | 21:25 |
alanp | Received: \x28string\x2dappend \x28number\x2d\x3estring n\x29 \x22 hull\x22\x29\x29\x29\x29\x00\x00\x00\x1e\x28lambda \x28design\x29 \x28cons \x23t \x22\x22\x29\x29 | 21:25 |
alanp | quickest way to make that readable | 21:26 |
tansell | \x28 is ( | 21:26 |
tansell | \x2d is ) | 21:26 |
tansell | opp | 21:26 |
tansell | \x2d is - | 21:26 |
tansell | they are the ascii codes | 21:27 |
alanp | sec | 21:27 |
* alanp nod | 21:27 | |
tansell | In [1]: "\x28string\x2dappend \x28number\x2d\x3estring n\x29 \x22 hull\x22\x29\x29\x29\x29\x00\x00\x00\x1e\x28lambda \x28design\x29 \x28cons \x23t \x22\x22\x29\x29" | 21:27 |
tansell | Out[1]: '(string-append (number->string n) " hull"))))\x00\x00\x00\x1e(lambda (design) (cons #t ""))' | 21:27 |
* alanp doing some replacements, sec | 21:27 | |
tansell | the | 21:27 |
tansell | \x00\x00\x00\x1e would be the string length in my guess | 21:28 |
llnz | yes | 21:28 |
tansell | alanp, python will do most of it for you | 21:29 |
alanp | (lambda (design bits) (let ((n (apply \x2b bits))) (cons n (string-append (number-\x3estring (\x2f n 1000000)) \x22 mega-units\x22)) ) ) | 21:29 |
alanp | ...looks good | 21:30 |
tansell | so it looks like it's getting to the client okay | 21:30 |
alanp | nod | 21:30 |
tansell | also looks like you haven't accidently used smart quotes or anything like that | 21:31 |
tansell | llnz, so the server only calculates the values when the client sends the new design back to it right? this only occurs when the person clicks save | 21:31 |
llnz | tansell: yes, that's right | 21:31 |
tansell | so the server may be unable to parse this code too - it never gets a chance however as the client fails first | 21:32 |
llnz | tansell: in minisec, the code is used to create the initial designs (scout, battleship, etc) | 21:33 |
alanp | in mtsec the code is used in a design in code too | 21:33 |
tansell | is this failing in minisec? | 21:33 |
alanp | seems to fail in minisec too | 21:33 |
alanp | let me double check | 21:34 |
alanp | same error in minisec actually | 21:34 |
alanp | on the speed property, mega-units | 21:35 |
tansell | alanp, got a full log? | 21:35 |
alanp | how full? | 21:35 |
tansell | as much as possible | 21:35 |
alanp | i can script(1) it with debug output | 21:35 |
alanp | sec | 21:36 |
tansell | cherez, ping? | 21:37 |
cherez | tansell: Pong. | 21:37 |
tansell | cherez, how are you going | 21:37 |
tansell | I have not seen any CLs in a while | 21:37 |
*** Khezar has joined #tp | 21:37 | |
cherez | The SAX parser is acting really weird about groups, which I'm trying to figure out. | 21:38 |
cherez | As far as I can tell the DOM parser works fine for everything but parameter sets. | 21:38 |
*** Greywhind has quit IRC | 21:38 | |
alanp | crap i checked out the newest tpclient-pywx and i cannot run it | 21:39 |
cherez | I'm still not understanding how parameter sets relate to packets.... | 21:40 |
tansell | welp, tpserver-cpp segfaults on my computer | 21:42 |
alanp | my branch? | 21:42 |
alanp | i didn't fix the relativity of the xml file yet in my branch | 21:43 |
alanp | so if you're using quickstart-mtsec.conf, that's my fault | 21:43 |
tansell | nope | 21:44 |
tansell | master | 21:44 |
alanp | minisec ruleset? | 21:44 |
tansell | llnz, looks like the mzscheme plugin is borked | 21:45 |
* alanp using guile | 21:45 | |
llnz | tansell: could be | 21:46 |
alanp | mzscheme wouldnt link properly for me | 21:46 |
llnz | tansell: if you email the error for the mzscheme, i'll have another look at it | 21:50 |
tansell | llnz, any idea how to get gdb to write out a coredump? | 21:50 |
llnz | not sure with gdb, there is an ulimit command to allow the normal program to coredump though | 21:51 |
tansell | http://code.google.com/p/thousandparsec/issues/detail?id=83 | 21:51 |
tpb | <http://ln-s.net/3LbP> (at code.google.com) | 21:51 |
llnz | damn, that's early | 21:52 |
llnz | scheme_basic_env() | 21:52 |
tansell | I'm rebuilding with guile | 21:54 |
*** alanp_ has joined #tp | 21:54 | |
alanp_ | sorry, connection went bad had to switch providers | 21:55 |
alanp_ | did i miss anything? | 21:55 |
tansell | alanp, we have logs, see the topic | 22:00 |
alanp_ | ah | 22:01 |
alanp_ | i think you need the ulimit command to dump the core | 22:03 |
tansell | ah gcore is the command | 22:06 |
*** Erroneous has quit IRC | 22:10 | |
tansell | alanp, what happens if you send it with single quotes rather then double quotes? | 22:12 |
alanp_ | let me try that, one minute | 22:13 |
alanp_ | actually, i can't | 22:14 |
*** alanp has quit IRC | 22:14 | |
alanp_ | tpclient-pywx is broken for me now | 22:14 |
alanp_ | The following requirements where not met: | 22:14 |
alanp_ | Client Library newer then 0.3.2 and older then 0.3.99 | 22:14 |
alanp_ | Client is development version, but Client Library (libtpclient-py) was not | 22:14 |
* alanp_ frustrated | 22:15 | |
llnz | alanp_: probably an issue with the submodules | 22:15 |
alanp_ | fresh clone | 22:15 |
tansell | alanp_, you installed libtpclient-py didn't you? | 22:16 |
alanp_ | it's part of tpclient-pywx, no? | 22:17 |
alanp_ | submod | 22:17 |
alanp_ | git cmds fixed it | 22:17 |
tansell | which commands? | 22:17 |
alanp_ | git submodule init | 22:18 |
tansell | submodules should automatically be initted when you start up the client | 22:18 |
alanp_ | tpserver-cpp does not like the single quotes | 22:18 |
alanp_ | apparently, they weren't | 22:18 |
alanp_ | if i do a fresh clone, tpclient-pywx does not work | 22:18 |
tansell | import version | 22:18 |
tansell | if hasattr(version, "version_git"): | 22:18 |
tansell | for module in modules: | 22:18 |
tansell | if os.path.exists(module) and not os.path.exists(os.path.join(module, ".git")): | 22:18 |
tansell | os.system("git submodule init") | 22:18 |
tansell | os.system("git submodule update") | 22:18 |
alanp_ | 2009-06-18 22:17:40 < Debug > Starting design eval | 22:18 |
alanp_ | ERROR: In procedure string-append: | 22:18 |
alanp_ | ERROR: Wrong type (expecting string): mega-units' | 22:18 |
tansell | alanp_, i'm not sure why the parser doesn't like that line | 22:19 |
alanp_ | <tpclDisplayFunction><![CDATA[(lambda (design bits) (let ((n (apply + bits))) (cons n (string-append (number->string (/ n 1000000)) ' mega-units')) ) )]]></tpclDisplayFunction> | 22:19 |
tansell | alanp_, is git not in your path? | 22:19 |
alanp_ | it is... | 22:19 |
alanp_ | it executed some git commands the first time i ran it, but it would not start the client | 22:19 |
alanp_ | odd | 22:19 |
tansell | lunch | 22:20 |
tansell | bblr | 22:20 |
alanp_ | k | 22:20 |
*** alanp_ has quit IRC | 22:44 | |
*** alanp_ has joined #tp | 22:45 | |
*** bddebian has joined #tp | 22:49 | |
tansell | back now | 23:02 |
*** nash has joined #tp | 23:29 | |
alanp_ | so what are we going to do about the design window problem? | 23:32 |
*** krytzz has quit IRC | 23:50 | |
*** krytzz has joined #tp | 23:50 | |
tansell | well I can't see why it isn't working | 23:52 |
* alanp_ either | 23:52 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!