*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** nash has quit IRC | 01:39 | |
*** Demitar has quit IRC | 01:39 | |
*** mithro has joined #tp | 01:41 | |
*** nash has joined #tp | 01:41 | |
*** Demitar has joined #tp | 01:41 | |
mithro | hey nash | 01:42 |
---|---|---|
nash | heyo... sems I was booted, and am now back | 01:43 |
nash | Got your email by the way... I'll start looking into things hopefully tonight | 01:43 |
mithro | ~seen niphree | 02:07 |
tpb | mithro: niphree was last seen in #tp 2 days, 16 hours, 56 minutes, and 3 seconds ago: <niphree> mithro: brb - another project meeting :]. I'll be back in few hours | 02:07 |
*** _JLP_ has joined #tp | 02:24 | |
mithro | nash: i have no idea if orders actually work | 02:26 |
mithro | I want to first get other things working | 02:26 |
nash | okay | 02:27 |
*** JLP has quit IRC | 02:38 | |
*** dmpayton has joined #tp | 02:57 | |
mithro | hey dmpayton | 03:17 |
dmpayton | Hey mithro | 03:17 |
dmpayton | How's it goin'? | 03:18 |
dmpayton | It's nearly 1am, and I gotta be up at 7 for the funeral. | 03:48 |
dmpayton | See ya in a day or so. | 03:48 |
*** dmpayton has quit IRC | 03:48 | |
*** _JLP_ has quit IRC | 04:20 | |
*** mithro_ has joined #tp | 04:46 | |
*** llnz has joined #tp | 04:52 | |
* llnz ponders | 04:53 | |
*** nash has quit IRC | 04:54 | |
mithro_ | hey llnz | 04:55 |
mithro_ | what are you pondering? | 04:55 |
llnz | hi mithro_ | 04:55 |
llnz | what to do, etc | 04:55 |
mithro_ | with? | 04:56 |
mithro_ | llnz: work on tpserver-py? :P | 04:56 |
llnz | tpserver-cpp or leviathan | 04:57 |
mithro_ | what leviathan? | 04:57 |
mithro_ | s/what/what is/ | 04:57 |
llnz | something not related to tp | 04:57 |
*** mithro has quit IRC | 05:05 | |
mithro_ | llnz: then obviously tpserver-cpp | 05:07 |
llnz | :-) | 05:07 |
llnz | I think i'm going to split PlayerView from Player | 05:08 |
*** mithro_ has quit IRC | 05:24 | |
jotham | talk about being stalled lamely | 05:30 |
jotham | mithros parser confuses me, even after reading all the elementtree stuff | 05:30 |
jotham | and i can't make a good spaceship graphic to save myself | 05:31 |
*** tuna-fish has quit IRC | 05:34 | |
*** tuna-fish has joined #tp | 05:35 | |
*** mithro has joined #tp | 05:44 | |
*** tuna-fish has quit IRC | 05:51 | |
*** nash has joined #tp | 06:07 | |
llnz | hi nash | 06:15 |
nash | heyo llnz | 06:16 |
*** Demitar has quit IRC | 07:29 | |
* llnz starts on creating the PlayerView class in tpserver-cpp | 07:30 | |
*** JLP has joined #tp | 07:30 | |
jotham | hey mithro if you are around, looking at those example xml files you gave me...they don't match the DTD you gave me | 07:30 |
jotham | no wonder your parser was flipping :p | 07:30 |
jotham | i learned how elementtree works and learned wtf your code was doing | 07:31 |
jotham | but that's why it wasn't working | 07:31 |
jotham | so i dunno if you want to follow your DTD and reoutput that data, or change your DTD | 07:31 |
jotham | but the DTD looks cleaner | 07:31 |
jotham | (btw: the files are battle.dtd, battle?.xml, ...) | 07:31 |
jotham | brb, bath | 07:31 |
*** pschulz01 has joined #tp | 08:03 | |
llnz | hi pschulz01 | 08:05 |
pschulz01 | llnz: Howdy. | 08:05 |
pschulz01 | llnz: Do you want to pull the changes for tpserver-cpp? | 08:05 |
CIA-3 | jlp parsek * rb2f877309428 /src/connecttoserverdialog.ui: | 08:05 |
CIA-3 | Builds with latest kdelibs again | 08:05 |
CIA-3 | KHistoryCombo -> KHistoryComboBox | 08:05 |
CIA-3 | kcombobox.h -> khistorycombobox.h | 08:05 |
llnz | JLP: cool, parsek changes! | 08:06 |
llnz | pschulz01: i could do | 08:06 |
JLP | llnz: yeah, at last | 08:06 |
JLP | now i have to start getting up to speed and working on starmap | 08:06 |
llnz | cool | 08:07 |
* llnz works on tp04 difference support in tpserver-cpp | 08:11 | |
pschulz01 | llnz: Details here:http://git.mawsonlakes.org/cgi-bin/gitweb.cgi?p=tp/tpserver-cpp | 08:13 |
tpb | <http://ln-s.net/YBr> (at git.mawsonlakes.org) | 08:13 |
llnz | pschulz01: i saw | 08:13 |
pschulz01 | llnz: :-) Pull from git://git.mawsonlakes.org/git/tp/tpserver-cpp | 08:14 |
pschulz01 | Ta | 08:14 |
pschulz01 | What's next on the list? | 08:15 |
pschulz01 | libtpproto-cpp ? | 08:15 |
llnz | libtpproto-cpp should already have a debian dir and some of the works | 08:16 |
llnz | but have a look to see if there are any problems | 08:16 |
pschulz01 | Is demo1 down? | 08:17 |
pschulz01 | llnz: Ok. | 08:17 |
llnz | have just restarted demo1 | 08:18 |
pschulz01 | llnz: Is it 'persistant'? | 08:18 |
llnz | nope | 08:18 |
pschulz01 | Rats.. I'l take me another gazillion turns to build my fleet of 100 Battleships. | 08:19 |
llnz | 400 turns | 08:20 |
*** mithro has quit IRC | 08:20 | |
llnz | 4000 minutes == 66 hours == 2.7 days | 08:21 |
pschulz01 | .. maybe if I colonise some planets I can do it faster.. | 08:21 |
pschulz01 | .. there should be a AI to do this.. | 08:21 |
pschulz01 | .. maybe I should write one. | 08:21 |
pschulz01 | (smack) | 08:21 |
llnz | nash: you around? | 08:22 |
nash | llnz: Only briefly | 08:22 |
llnz | all: when history support is available, what do you want history of? and what can just have the latest info? | 08:22 |
nash | llnz: I hadn't even considered it | 08:24 |
llnz | obviously objects should have it | 08:24 |
llnz | does anything else need them? | 08:24 |
llnz | messages boards, designs, components.... | 08:24 |
llnz | ? | 08:24 |
nash | designs/components yes | 08:25 |
nash | message boards... Personally I think deletign them makes no sesen... so yes | 08:25 |
* llnz really doesn't want to store turns*players*objects(etc) copies | 08:26 | |
nash | History should just be the deltas | 08:27 |
llnz | i think with components and designs, it doesn't matter that there were parts you couldn't see/understand in the past if you know them now | 08:27 |
nash | Yep - agree | 08:28 |
llnz | deltas are hard to store | 08:28 |
llnz | so therefore components and designs don't need history support | 08:28 |
llnz | which boards are available hardly ever changes, so they are not really necessary either | 08:29 |
nash | Agreed | 08:30 |
nash | And a board which exists with no messages in the past is fine (eg Created turn 7, but even if you look at the history and see an empty board on turn 5.. who cares) | 08:30 |
llnz | so only objects need history support | 08:30 |
llnz | i have no intention of supporting history of board contents (ie messages) | 08:31 |
llnz | git sucks | 08:42 |
*** tuna-fish has joined #tp | 08:42 | |
llnz | why can't i pull in two patches from another branch without having to commit an empty "merge" patch? | 08:42 |
jotham | is there a built in DTD validator library for python | 08:43 |
nash | llnz: You don't need to if you don't want to. | 08:46 |
nash | llnz: but really, you want to | 08:46 |
llnz | why? they look stupid and don't add anything | 08:46 |
llnz | and the email script doesn't handle them | 08:47 |
jotham | anyone know what generates these battle xml file things mithro sent me | 08:47 |
jotham | cause he sent me 6 to test but they are totally different from the first one + dtd i worked with | 08:47 |
llnz | jotham: possibly tpserver-py | 08:47 |
jotham | took me figuring out his parser to realise this | 08:48 |
nash | llnz: Because they don't really exist. There is no new change set, so the email script doesn';t need to send them | 08:48 |
llnz | nash: but the script trys | 08:48 |
jotham | nash do you know anything about http://www.antigrain.com? | 08:49 |
CIA-3 | paul tpserver-cpp * ra1eadb411580 /debian/ (24 files): Initial dh_make debian step | 08:49 |
CIA-3 | paul tpserver-cpp * rcf75c9c52f46 /debian/ (25 files): Create multiple debian packages | 08:49 |
CIA-3 | llnz tpserver-cpp * r6415700fd1e8 /debian/ (26 files): Merge with git://git.mawsonlakes.org/git/tp/tpserver-cpp | 08:49 |
nash | jotham: nope | 08:50 |
pschulz01 | Wahoo :-) | 08:50 |
jotham | apropos our rasteriser discussion a couple of weeks ago | 08:50 |
jotham | i found that one, knew you were a man with an opinion so was looking for it =) | 08:50 |
jotham | saw there were python bindings for it, should give it a go i guess | 08:53 |
nash | never seen it - how fast is it? | 08:56 |
jotham | dunno having a look now | 09:01 |
jotham | the C++ demos are pretty nice, am gonna have to play with the python bindings though | 09:01 |
pschulz01 | llnz: What should the separation of file be between lib*-dev and lib* ? | 09:13 |
llnz | lib* should have the shared library (lib*.so*) for the library, lib*-dev should have the headers and the static library (lib*.a) | 09:14 |
pschulz01 | llnz: .. particularly for lib*.la, lib*.a and lib*.so (including links) | 09:14 |
pschulz01 | llnz: Ta.. thought so. | 09:14 |
pschulz01 | llnz: There was a stray link in lib*-dev | 09:15 |
llnz | oh, .la should probably be with the lib* | 09:15 |
llnz | damn PlayerView is going to be huge | 09:16 |
pschulz01 | llnz: Um.. .la in lib* ? | 09:19 |
pschulz01 | llnz: Surely it's a lib*-dev? | 09:20 |
llnz | humm... | 09:20 |
pschulz01 | (You don't use them at runtime) | 09:21 |
llnz | well..... | 09:22 |
pschulz01 | Easy the change if it's a problem. | 09:23 |
llnz | the modules in tpserver-cpp might need them at runtime | 09:23 |
llnz | but the static libraries aren't needed for the modules | 09:23 |
*** mithro has joined #tp | 09:26 | |
mithro | jotham: ping? | 09:26 |
pschulz01 | llnz: libtpproto-cpp has been fixed. | 09:27 |
pschulz01 | llnz: I'm building the packages now, but have to go.. | 09:27 |
pschulz01 | llnz: Usual location | 09:27 |
llnz | cool | 09:28 |
jotham | hey mithro | 09:28 |
mithro | hey jotham | 09:28 |
jotham | see what i said before? | 09:28 |
mithro | i saw the stuff before | 09:28 |
mithro | i'm at work so can't really talk | 09:28 |
jotham | i'm about to go to sleep, write it out later, or another time | 09:28 |
jotham | and i'll read it | 09:28 |
mithro | the battle was generated by tpserver-py so it may be totally wrong :P | 09:28 |
jotham | yeah it doesn't match the spec you wrote the parser for | 09:29 |
* llnz hopes that mithro will read the log later and comment on history support, etc | 09:29 | |
mithro | some time in the past we split the media/weapon points into a seperate file | 09:29 |
mithro | jotham: is that the problem? | 09:29 |
mithro | jotham: so the battle data includes no definition information | 09:29 |
mithro | ouch it's 11pm :/ | 09:30 |
mithro | luckly I get paid per hour | 09:30 |
jotham | the problem is the output data is nothing like the DTD which the parser was designed to work with | 09:31 |
CIA-3 | paul libtpproto-cpp * ra4273c8bf594 /debian/ (7 files): Minor fixes to debian packaging. | 09:34 |
CIA-3 | llnz libtpproto-cpp * re60c1eea9278 /debian/control: Fixed debian package description, only client side, no support for servers | 09:34 |
mithro | jotham: okay | 09:35 |
* llnz wonders if he shouldn't go back to the drawing board for PlayerView | 09:40 | |
* llnz wanders off to bed instead | 09:47 | |
llnz | later all | 09:47 |
*** llnz has quit IRC | 09:48 | |
*** mithro has quit IRC | 11:06 | |
*** mithro has joined #tp | 12:07 | |
*** mithro has quit IRC | 12:38 | |
*** xdotx has joined #tp | 12:51 | |
*** nash has quit IRC | 17:06 | |
*** Demitar has joined #tp | 18:10 | |
*** _JLP_ has joined #tp | 18:25 | |
*** JLP has quit IRC | 18:32 | |
*** nash has joined #tp | 18:46 | |
*** pschulz01 has quit IRC | 19:12 | |
*** xdotx has quit IRC | 19:31 | |
*** pschulz01 has joined #tp | 20:25 | |
*** mithro has joined #tp | 20:53 | |
mithro | ~seen niphree | 20:55 |
tpb | mithro: niphree was last seen in #tp 3 days, 11 hours, 44 minutes, and 9 seconds ago: <niphree> mithro: brb - another project meeting :]. I'll be back in few hours | 20:55 |
*** mithro has quit IRC | 21:15 | |
*** mithro has joined #tp | 21:41 | |
mithro | ~seen niphree | 21:42 |
tpb | mithro: niphree was last seen in #tp 3 days, 12 hours, 31 minutes, and 18 seconds ago: <niphree> mithro: brb - another project meeting :]. I'll be back in few hours | 21:42 |
mithro | ~seen Epyon | 21:42 |
tpb | mithro: Epyon was last seen in #tp 1 day, 21 hours, 40 minutes, and 2 seconds ago: <Epyon> 6 in the morning. High time to get some sleep :) | 21:42 |
mithro | nash: ping? | 21:42 |
nash | pong | 21:45 |
nash | ?gnip: orhtim | 21:45 |
nash | mithro: ? | 21:47 |
mithro | nash: did you have any luck last night? | 21:48 |
nash | Didn;t touch anything... so no | 21:48 |
mithro | nash: I didn't touch anything either | 21:58 |
mithro | jotham: ping? | 21:58 |
CIA-3 | mithro battleviewer * rfaea1732f92c /battleparser.py: Fixed a typo. | 21:58 |
jotham | hey mithro | 22:17 |
mithro | jotham: you have email | 22:17 |
jotham | dun dun duun | 22:17 |
jotham | i fixed that typo | 22:18 |
jotham | but you haven't done what i was talking about | 22:18 |
jotham | at all | 22:18 |
jotham | example1 is FINE | 22:18 |
jotham | that's the one we always worked with | 22:18 |
jotham | what isn't fine is the 6 or so battle?.xml files (like i said last night) that you wanted me to get working with it | 22:18 |
jotham | after figuring out how your parser worked i realised it wasn't the parser, or the DTD file, but that those 6 files were illegally formed according ot the DTD | 22:19 |
jotham | so i'm gonna add DTD validation to your parser | 22:19 |
jotham | what i wanted YOU to do was fix up whatever generated those battle?.xml files | 22:19 |
jotham | so that i could run them against the viewer | 22:19 |
mithro | jotham: i diff example1 against battle1 and they seemed fine | 22:19 |
jotham | please look at the DTD | 22:19 |
jotham | and then at them | 22:20 |
jotham | parameters are named differently for starters | 22:20 |
jotham | let me get an example | 22:20 |
jotham | battle1:xml L3 | 22:20 |
jotham | <side name="tim"> | 22:20 |
jotham | example1.xml L4 | 22:20 |
jotham | <side id="mithro"> | 22:21 |
mithro | oh | 22:21 |
jotham | now in the DTD it says | 22:21 |
jotham | <!ATTLIST side id ID #REQUIRED > | 22:21 |
mithro | so how does the parser work then? | 22:21 |
jotham | so i'm going to add DTD validation to the parser, but i want whatever is generating all those test XML files to also honor the DTD | 22:21 |
mithro | jotham: well the plan is that it would honour the dtd | 22:22 |
jotham | the parser doesn't work with the battle?.xml files that you supplied me, maybe you have a different version | 22:22 |
mithro | i have no changes | 22:22 |
mithro | be back in 5 | 22:22 |
jotham | anyway the reason i'm bothering *you* is because someone has to fix the thing generating the files | 22:22 |
jotham | and that's your domain, i'm here to do graphics stuff, not mess around with inconsistent data formats | 22:23 |
jotham | if i make the parser validate the DTD then at least i wont have this problem in the future =) | 22:24 |
jotham | am gonna do that this evening | 22:24 |
*** mithro has quit IRC | 22:44 | |
*** mithro has joined #tp | 22:48 | |
mithro | back | 22:59 |
mithro | jotham: fixing now | 23:00 |
jotham | you sexy man | 23:11 |
mithro | was an easy fix | 23:15 |
mithro | the file which generates them is actually fairly stand alone | 23:15 |
mithro | you can find it here | 23:15 |
mithro | http://git.thousandparsec.net/gitweb/gitweb.cgi?p=tpserver-py.git;a=tree;f=tp/server/rules/minisec/actions;h=ed3fbce5533eaf0f9190d1ce8f3ff8e2f2f2a35c;hb=1b6e820222207eee1b192a268137b81da69e0092 | 23:19 |
tpb | <http://ln-s.net/Ydc> (at git.thousandparsec.net) | 23:19 |
mithro | jotham: did you work out how to get elementtree to check output/input against a DTD? | 23:27 |
jotham | no i said i'd do that tonight | 23:27 |
mithro | jotham: ahh, so you don't know how to do it yet? | 23:30 |
jotham | haven't looked, realised last night when it was broken that that is what i needed to do, and was going to do it tonight | 23:30 |
mithro | okay cool | 23:31 |
mithro | i'll look into getting the output xml to do validation too | 23:31 |
jotham | well when i find out how i can just drop you a note on waht to do | 23:33 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!