*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | bddebian: I still need your address too :) | 00:00 |
---|---|---|
bddebian | mithro: I would feel guilty until I get some more work done :( | 00:01 |
mithro | well - the guilt could get more work done :) | 00:02 |
bddebian | heh | 00:02 |
*** mithro has quit IRC | 00:09 | |
*** mithro has joined #tp | 00:10 | |
nash | mithro: I need to do something about my FIXMEs. I have over 100 | 00:15 |
mithro | tim@vaio:~/oss/tp$ grep -r 'FIXME' libtpproto-py libtpclient-py tpclient-pywx | wc -l | 00:31 |
mithro | 142 | 00:31 |
mithro | tim@va | 00:31 |
mithro | :) | 00:31 |
nash | make fixme | wc ──(Fri,Feb22)─┘ | 00:37 |
nash | 122 1048 6643 | 00:37 |
nash | I'm counting XXX too | 00:38 |
nash | mithro: (make fixme ; cat todo.txt) | wc ──(Fri,Feb22)─┘ | 00:38 |
nash | 306 1705 10504 | 00:38 |
nash | That better | 00:38 |
mithro | you win | 00:39 |
mithro | tim@vaio:~/oss/tp$ wc -l ./tpclient-pywx/TODO ./libtpproto-py/TODO | 00:39 |
mithro | 24 ./tpclient-pywx/TODO | 00:39 |
mithro | 45 ./libtpproto-py/TODO | 00:39 |
mithro | 69 total | 00:39 |
nash | mithro: `win' may not be the correct term here ;-) | 00:40 |
mithro | actually | 00:41 |
mithro | I think Lee wins | 00:41 |
mithro | tim@vaio:~/oss/tp$ grep -r 'FIXME' tpserver-cpp | wc -l | 00:41 |
mithro | 619 | 00:41 |
nash | Don't forget XXX | 00:41 |
nash | mithro: Still galaxie is only 9000 lines | 00:42 |
nash | mithro: We'll have to catch up... or start deleting random files in tpserver | 00:43 |
mithro | libtpproto-py has been getting smaller over the last year | 00:45 |
mithro | and libtpproto2-py should be 1/10th the size | 00:49 |
nash | Good | 00:49 |
nash | tpserver-py is too big | 00:50 |
mithro | tpserver-py? | 00:55 |
mithro | tpserver-py is around 4659 lines of code | 00:57 |
mithro | nash: interesting graph - https://sourceforge.net/project/stats/?group_id=132078&ugn=thousandparsec&type=&mode=week | 00:58 |
tpb | <http://ln-s.net/1ZqP> (at sourceforge.net) | 00:58 |
mithro | most of which is ruleset code | 00:58 |
mithro | tpclient-pywx has way to much code | 01:01 |
nash | tpproto-py sorry | 01:01 |
nash | thats too big | 01:01 |
mithro | nash: it's ~5000 LOC | 01:02 |
nash | wc gives me 9000 | 01:03 |
mithro | nash: it probably has 4000 lines of comments | 01:03 |
mithro | http://www.thousandparsec.net/tp/dev/sloc.php | 01:04 |
tpb | Title: Thousand Parsec : Lines of Code (at www.thousandparsec.net) | 01:04 |
mithro | def get_players(self, *args, **kw): | 01:05 |
mithro | """\ | 01:05 |
mithro | Get players descriptions, | 01:05 |
mithro | # Get the description for players 5 | 01:05 |
mithro | [<pro id=5>] = get_players(5) | 01:05 |
mithro | [<pro id=5>] = get_players(id=5) | 01:05 |
mithro | [<pro id=5>] = get_players(ids=[5]) | 01:05 |
mithro | [(False, "No such 5")] = get_players([5]) | 01:05 |
mithro | # Get the descriptions for players 5 and 10 | 01:05 |
mithro | [<pro id=5>, (False, "No such 10")] = get_players([5, 10]) | 01:05 |
mithro | [<pro id=5>, (False, "No such 10")] = get_players(ids=[5, 10]) | 01:05 |
mithro | """ | 01:05 |
mithro | return self._getmany(objects.Player_Get(-1, getidsarg(*arg, **kw)), object.Player) | 01:05 |
nash | whoever choose those colours for the sloc, doesn't like C | 01:05 |
mithro | that is an example function :) | 01:05 |
mithro | I think the LOC in tpclient-pywx has been going down as well | 01:06 |
mithro | even though it's like 100* more featureful | 01:06 |
nash | they way it should be | 01:06 |
mithro | 16,000 LOC for a client seems *WAY* excessive | 01:07 |
nash | Maybe | 01:08 |
nash | depends on what it does | 01:08 |
nash | Editors for ships could be quite big | 01:08 |
mithro | nash: why? it a fairly easy thing to do | 01:11 |
mithro | tim@vaio:~/oss/tp/tpclient-pywx/windows/main$ wc -l winDesign.py | 01:11 |
mithro | 542 winDesign.py | 01:11 |
mithro | ~600 lines easy :) | 01:11 |
mithro | although thats not a very graphical interface - it should work pretty well (not really been tested extensively) | 01:12 |
nash | I could see a few thousand lines going easy for a nice one | 01:14 |
nash | Also things like battle viewers start to creep in as well.. | 01:14 |
nash | Depends on what 16000 is doing | 01:14 |
mithro | nash: the problem is "not a lot" :/ | 01:19 |
nash | heh | 01:19 |
mithro | actually it's probably not that bad | 01:19 |
mithro | I have intree a copy of PyAUI and wxFloatCanvas which are around ~7000 LOC together | 01:20 |
mithro | which cuts it down to around ~9000 LOC | 01:20 |
nash | much better | 01:20 |
mithro | of course that doesn't include the ~4000 lines in libtpclient-py | 01:23 |
mithro | tpclient-pyw isn't in such a bad shape when you consider it is 7+ years old | 01:24 |
mithro | it's survived 6 revisions of wxPython | 01:28 |
nash | hey | 01:31 |
nash | ANyway, I'm off home | 01:31 |
nash | talk to you monday | 01:31 |
*** nash has quit IRC | 01:31 | |
mithro | jotham: so no luck with the git commits? | 01:33 |
*** llnz has joined #tp | 01:39 | |
mithro | hey llnz | 01:51 |
mithro | llnz: you see demo1 died :( | 01:51 |
llnz | yes, not died, just exited for no reason | 01:51 |
llnz | i have restarted it | 01:52 |
mithro | llnz: exited for no reason? | 01:52 |
mithro | no core dump? | 01:52 |
mithro | where you running it in GDB? | 01:52 |
llnz | no and no | 01:52 |
llnz | and no message on the console | 01:52 |
mithro | llnz: I think it would be a good idea to _always_ run tpserver-cpp under GDB? | 01:53 |
mithro | it's not like performance is a huge issue at the moment | 01:53 |
llnz | true | 01:53 |
mithro | first time it has died for a long time | 01:54 |
llnz | running in gdb might not have made a difference, if it exited cleanly | 01:55 |
mithro | yeah | 01:57 |
llnz | not sure why it would though... | 01:58 |
llnz | bbs | 01:58 |
mithro | heading home now | 01:59 |
*** JLP has joined #tp | 02:10 | |
JLP | morning all | 02:11 |
*** mithro has quit IRC | 02:20 | |
llnz | back | 02:36 |
llnz | hi JLP | 02:36 |
*** mithro has joined #tp | 03:08 | |
*** mithro has joined #tp | 05:06 | |
mithro | hey llnz | 05:06 |
llnz | wb mithro | 05:07 |
mithro | I might give the httplog stuff a go | 05:07 |
llnz | if you want, i don't think it's that useful | 05:07 |
mithro | llnz: I think being able to collect stats of what is happening would be useful | 05:07 |
llnz | one thing you could do is add a console command called statistics | 05:12 |
llnz | it would go through the various managers and ask for stats, like how many objects, etc | 05:12 |
mithro | llnz: don't we already have something like that? | 05:15 |
mithro | or have you broken that? | 05:15 |
llnz | the status command is about whether the server is running, and what it is running | 05:16 |
mithro | guess so | 05:17 |
mithro | I'm more interested in the stats over time | 05:17 |
llnz | humm... ok | 05:17 |
llnz | you could pull them from the logs | 05:17 |
llnz | should be enough info | 05:17 |
mithro | my plan for this weekend is to fix up Mac tpclient-pywx and get tpsai-py working again | 05:18 |
mithro | anyway got to go | 05:19 |
mithro | see ya | 05:19 |
llnz | cya | 05:23 |
* llnz wanders off | 06:44 | |
llnz | later all | 06:44 |
*** llnz has quit IRC | 06:44 | |
*** AquaFox has joined #tp | 07:47 | |
AquaFox | Can I help out on anything? | 07:47 |
*** JLP has joined #tp | 08:06 | |
JLP | ahoy all | 08:08 |
*** mithro has joined #tp | 08:17 | |
mithro | ~seen xdotx | 08:20 |
tpb | mithro: xdotx was last seen in #tp 4 days, 5 hours, 22 minutes, and 24 seconds ago: <xdotx> assignment operator | 08:20 |
JLP | AquaFox: ahoy, almost missed you | 08:22 |
JLP | AquaFox: new here? | 08:22 |
AquaFox | Totally. | 08:22 |
AquaFox | I said something earlier | 08:22 |
AquaFox | <AquaFox> Can I help out on anything? | 08:22 |
mithro | wow, sorry AquaFox, didn't notice you here | 08:22 |
AquaFox | xD | 08:22 |
mithro | AquaFox: sure! we need help in loads of areas | 08:23 |
mithro | AquaFox: what are your skills and interests? | 08:23 |
AquaFox | Skills: Plain C++ | 08:23 |
AquaFox | Interests: Almost anything :P. | 08:23 |
mithro | Well, Lee could probably use some help with tpserver-cpp | 08:24 |
JLP | AquaFox: you can find some ideas here - http://www.thousandparsec.net/wiki/Ideas_for_Programmers | 08:24 |
tpb | <http://ln-s.net/1ZnB> (at www.thousandparsec.net) | 08:24 |
mithro | AquaFox: how did you find us? | 08:25 |
AquaFox | Well I always hear about Thousand Parsec on Linux Game Tome, but I wanted to do some coding since I haven't for a long time so I checked your website and it linked me here. | 08:26 |
mithro | AquaFox: cool | 08:26 |
mithro | AquaFox: does anything on the Ideas_for_Programmers page tickle for fancy? | 08:27 |
mithro | we are happy to help you learn Python if your interested in helping out on the python components | 08:27 |
AquaFox | Woah you don't care if I don't even know Python to start Python programming :O. | 08:29 |
AquaFox | Generic SQL Persistence tickles my balls. | 08:29 |
mithro | AquaFox: cool - we really need working persistence | 08:29 |
mithro | Lee has been going through a major rework | 08:30 |
AquaFox | First. | 08:30 |
AquaFox | What do you mean by 'persistence'? | 08:30 |
AquaFox | And where is Lee :/? | 08:30 |
mithro | Lee goes via the nick name llnz and his full name is Lee Begg | 08:30 |
mithro | he is in New Zealand so is probably asleep at the moment | 08:30 |
AquaFox | Ouch. | 08:31 |
mithro | persistence is a way of storing data in a way that still exists after the server closes | 08:31 |
mithro | bah, that sentence came out wrong | 08:32 |
mithro | AquaFox: we have mailing lists too, which would be a good way to talk to Lee and figure out where the best place to start is | 08:33 |
JLP | AquaFox: yeah, you should definitely subscribe to the mailing list and introduce yourself there | 08:34 |
mithro | AquaFox: have you used git before? | 08:35 |
mithro | JLP: how goes the learning of python? | 08:35 |
AquaFox | mithro, barely. | 08:36 |
JLP | mithro: still stuck somwhere in the middle, didn't have much time in the past few days, been preparing the presentations that we have in the nex 5 days starting today | 08:36 |
AquaFox | mithro, where do I subscribe for the mailing list? | 08:36 |
mithro | http://www.thousandparsec.net/tp/mailman.php/listinfo/ | 08:37 |
tpb | <http://ln-s.net/1a5H> (at www.thousandparsec.net) | 08:37 |
mithro | I recommend tp-devel and tp-announce | 08:37 |
mithro | tp-devel, around 5-6 messages a week | 08:38 |
mithro | tp-announce is only for announcements | 08:38 |
mithro | so only a couple of emails a year | 08:38 |
AquaFox | Subscribed. | 08:38 |
mithro | AquaFox: cool | 08:39 |
AquaFox | So I introduce myself there. | 08:39 |
mithro | http://www.thousandparsec.net/wiki/Tpserver-cpp_Setup | 08:40 |
tpb | <http://ln-s.net/rVo> (at www.thousandparsec.net) | 08:40 |
mithro | AquaFox: sure! Say what your interests are and that you have been looking at the Ideas Page and the SQL persistence sounds interesting | 08:40 |
AquaFox | I will :). | 08:40 |
mithro | AquaFox: feel free to ask any questions | 08:41 |
AquaFox | I will I will. | 08:41 |
AquaFox | I am excited. | 08:41 |
AquaFox | I was planning on making a beat em up engine but my co-devver doesn't have the skills, and I hate working by myself :). | 08:41 |
mithro | AquaFox: we are aways happy to get new contributors | 08:42 |
mithro | AquaFox: if you want to try starting with a kind of trivial task | 08:42 |
mithro | I was planning to add a "http.log" style log to tpserver-cpp so we can get some stats from it (using something like awstats.pl) | 08:42 |
mithro | feel free to give that a go - I won't get to it for a couple of weeks | 08:43 |
* mithro is one of the Thousand Parsec founders and works mainly on the tpclient-pywx and other python parts | 08:44 | |
AquaFox | mithro, umm, I haven't seen much of TP I will compile most of it and see what it's all about :D. | 08:45 |
mithro | AquaFox: okay cool | 08:45 |
AquaFox | Sent my email. | 08:46 |
AquaFox | Did you get it mithro ? | 08:46 |
*** bddebian has joined #tp | 08:46 | |
AquaFox | mithro, you want awstats to read a generated http.log by tpserver? | 08:46 |
mithro | AquaFox: yeah, received it fine | 08:47 |
AquaFox | I'll look at what AWStats can read. | 08:47 |
bddebian | Hi folks | 08:48 |
mithro | AquaFox: I'll get you a link to my discussion with Lee about it | 08:48 |
AquaFox | k | 08:48 |
mithro | AquaFox: what operating system do you run on? | 08:48 |
mithro | hey bddebian | 08:49 |
mithro | http://www.thousandparsec.net/~irc/logs/%23tp.2008-02-21.log.html#t2008-02-21T06:01:04 | 08:49 |
tpb | <http://ln-s.net/1a5b> (at www.thousandparsec.net) | 08:49 |
AquaFox | According to AWStats website it "Works with personalized log format" | 08:49 |
mithro | AquaFox: have a poke around that time | 08:49 |
AquaFox | mithro, linux. | 08:49 |
bddebian | Hi mithro | 08:49 |
mithro | AquaFox: cool, any distro in particular? | 08:50 |
AquaFox | Arch Linux | 08:50 |
JLP | bddebian: ahoy | 08:50 |
bddebian | Hello JLP | 08:50 |
mithro | AquaFox: I'm afraid we haven't done any testing on that distro - It should work pretty well however | 08:50 |
mithro | bddebian: so how goes the packages? | 08:51 |
AquaFox | mithro, what do you think about a personalized log format? | 08:51 |
AquaFox | AWStats supports that. | 08:51 |
AquaFox | It doesn't have to be http.log. | 08:51 |
bddebian | mithro: I was sleeping. :-) I will try to get some work done today. | 08:51 |
mithro | AquaFox: well, something which looks like the HTTP log format would allow more then just awstats to try | 08:52 |
mithro | bddebian: well that probably means I should be sleeping myself :) | 08:52 |
AquaFox | http://awstats.sourceforge.net/docs/awstats_compare.html | 08:52 |
AquaFox | Look at the formats. | 08:52 |
tpb | <http://ln-s.net/1a5d> (at awstats.sourceforge.net) | 08:52 |
mithro | AquaFox: if it works - I don't think I would complain :) | 08:52 |
AquaFox | mithro, we should stick to a custom log format. | 08:53 |
AquaFox | We can make our own stats pages it ain't so hard or time consuming. | 08:54 |
mithro | AquaFox: awstats has some cool features like GeoIP, time of day, etc | 08:54 |
AquaFox | mithro.. it also has the feature of 'personalized log format' :P. | 08:55 |
AquaFox | So if we had a table of IP, and time logged, we configure awstats to read it properly and voila. | 08:55 |
mithro | AquaFox: okay cool | 08:55 |
mithro | the information we probably want are | 08:56 |
AquaFox | bbl | 08:57 |
mithro | ipaddress, time logged in, time logged out, client identifier, which version of the protocol they are using, number of objects downloaded, number of orders issued | 08:57 |
mithro | AquaFox: okay, I'll probably be in bed then | 08:58 |
mithro | AquaFox: so see you around | 08:58 |
AquaFox | Back. | 08:58 |
AquaFox | Compiling tpclient-pywx. | 08:58 |
mithro | AquaFox: compiling? | 08:59 |
AquaFox | Oops :P. | 08:59 |
AquaFox | tp.netlib > 0.2.1 | 09:00 |
AquaFox | tp.client > 0.2.99 | 09:00 |
AquaFox | :/ | 09:00 |
AquaFox | mithro, how come everything is not in one package. | 09:03 |
mithro | AquaFox: if you get the "inplace" package it is | 09:03 |
AquaFox | Who made the kool 3d intro xD | 09:04 |
mithro | a friend | 09:04 |
mithro | he is doing some more movies for us too | 09:04 |
AquaFox | mithro, how to play this game? | 09:05 |
mithro | AquaFox: well, you probably want to build some more ships first | 09:06 |
AquaFox | "Download the Universe" DEEP DEEP WORDS | 09:06 |
mithro | JLP should be able to give you a good walk through | 09:07 |
mithro | he plays the most regularly of us | 09:07 |
mithro | hopefully he will do some tutorial videos soon | 09:08 |
* mithro pokes JLP | 09:08 | |
AquaFox | Network Error: unable to insert the order | 09:08 |
mithro | AquaFox: oh, that shouldn't happen | 09:08 |
AquaFox | I know. | 09:09 |
AquaFox | I won't be devving the Python sections with you guys okay ;P. | 09:09 |
AquaFox | I don't plan to learn Python anytime soon. | 09:09 |
mithro | can you give me a full output of the client on a pastebin somewhere? | 09:09 |
AquaFox | Although it's a kick-ass language/ | 09:09 |
AquaFox | Okay mithro. | 09:09 |
AquaFox | mithro, http://pastebin.ca/913948 | 09:10 |
tpb | Title: general pastebin - Someone - post number 913948 (at pastebin.ca) | 09:10 |
mithro | AquaFox: that is fine, we won't force you to do anything you don't want to :) | 09:10 |
mithro | AquaFox: can you go back even further? | 09:11 |
AquaFox | mithro, okay | 09:11 |
mithro | AquaFox: thanks | 09:11 |
AquaFox | I just selected and pasted a chunk most of it you won't want btw. | 09:12 |
AquaFox | http://pastebin.ca/913951 | 09:12 |
tpb | Title: general pastebin - Anonymous - post number 913951 (at pastebin.ca) | 09:12 |
AquaFox | mithro, 9 turns till my fleet is made? | 09:12 |
AquaFox | :/ | 09:12 |
AquaFox | How long is a turn. | 09:12 |
AquaFox | I want to move my fleet how do I know what are the coordinates my mouse is pointing to | 09:14 |
mithro | about 10 minutes per turn at the moment | 09:14 |
AquaFox | Crap. | 09:14 |
AquaFox | 90 minutes ;/ | 09:14 |
AquaFox | Heh. | 09:14 |
AquaFox | Is this a game I look at every day or two? | 09:14 |
mithro | AquaFox: yes | 09:15 |
AquaFox | Ahh kool. | 09:15 |
mithro | AquaFox: you select your fleet, then right click where you want to move it too | 09:16 |
AquaFox | mithro, this game won't b0rk if someone used the engine for faster turn times yeah? | 09:16 |
AquaFox | mithro, did my mail arrive in tp-devel? | 09:17 |
mithro | AquaFox: I've run 5 second turns with 5 AI's playing against each other | 09:17 |
mithro | AquaFox: yes | 09:17 |
AquaFox | mithro, I'm bringing my fleet to say hi :D! | 09:17 |
* JLP returns from lunch | 09:18 | |
AquaFox | mithro, can I send messages to you? | 09:18 |
mithro | AquaFox: not yet | 09:18 |
mithro | AquaFox: the server supports it, but the client doesn't | 09:18 |
AquaFox | mithro, you are the client programmer? | 09:19 |
AquaFox | mithro, this project pwns. | 09:19 |
AquaFox | Simple protocol. | 09:19 |
AquaFox | Simple game. | 09:19 |
AquaFox | Many implementations. | 09:19 |
mithro | AquaFox: can you reproduce the first problem? | 09:19 |
AquaFox | A 3D version can be done so easily. | 09:19 |
AquaFox | What do you mean mithro ? | 09:19 |
mithro | AquaFox: when you got those problems that you pasted - how did you get it to occur? | 09:21 |
AquaFox | Oh now I get it. You mean the previous error I encountered. | 09:21 |
AquaFox | Okay. | 09:21 |
AquaFox | I think I was messing around with the build fleet options.. | 09:21 |
AquaFox | I can't reproduce it :/. | 09:21 |
mithro | AquaFox: dang :/ | 09:22 |
AquaFox | AHHAAA | 09:22 |
AquaFox | REPRODUCED | 09:22 |
AquaFox | I clicked save too many times./ | 09:22 |
mithro | oh - can you log a bug report? | 09:22 |
AquaFox | Link :)? | 09:22 |
AquaFox | mithro, :). | 09:23 |
AquaFox | http://pastebin.ca/913957 | 09:23 |
tpb | Title: general pastebin - Bug - post number 913957 (at pastebin.ca) | 09:23 |
JLP | AquaFox: http://sourceforge.net/tracker/?group_id=132078&atid=723099 | 09:23 |
tpb | <http://ln-s.net/9Nd> (at sourceforge.net) | 09:23 |
AquaFox | Pff. | 09:30 |
AquaFox | Sourceforge is being a nagging housewife. | 09:30 |
AquaFox | I got an error while logging in. | 09:30 |
AquaFox | Sorry mithro :(./ | 09:30 |
AquaFox | mithro, are you Tim? | 09:34 |
JLP | AquaFox: yes, he is Tim Ansell | 09:38 |
AquaFox | Ah OK. | 09:54 |
*** Erroneous has joined #tp | 12:44 | |
*** Erroneous has joined #tp | 18:28 | |
*** DTRemenak|RDP has joined #tp | 18:30 | |
*** DTRemenak|RDP is now known as Erroneous | 18:31 | |
*** Erroneous has quit IRC | 18:34 | |
*** DTRemenak|RDP has joined #tp | 18:36 | |
*** DTRemenak|RDP is now known as Erroneous | 18:36 | |
*** Epyon has joined #tp | 19:44 | |
*** zzorn has joined #tp | 19:44 | |
*** llnz has joined #tp | 20:13 | |
*** bddebian has joined #tp | 21:26 | |
*** mithro has joined #tp | 21:27 | |
bddebian | Hey folks | 21:29 |
mithro | morning people | 21:32 |
mithro | llnz: you see the email on tp-devel? | 21:32 |
bddebian | Heya mithro. Should be all new packages on Gutsy, Hardy, and Debian | 21:33 |
bddebian | I had to bump the version because of reprepro though :-( | 21:33 |
mithro | bddebian: okay | 21:34 |
bddebian | I'm hoping to start on server packages and such in the next day or two | 21:35 |
mithro | bddebian: that would be cool | 21:35 |
llnz | hi mithro | 21:36 |
llnz | ues | 21:36 |
llnz | yes | 21:36 |
mithro | llnz: cool | 21:36 |
*** DTRemenak has joined #tp | 22:27 | |
mithro | llnz: AquaFox was on IRC yesterday | 22:41 |
mithro | llnz: any luck figuring out what cause demo1 to die? | 22:44 |
llnz | cool | 22:48 |
llnz | not yet | 22:48 |
* llnz wanders off | 23:37 | |
llnz | later all | 23:37 |
*** llnz has quit IRC | 23:37 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!