*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | afternoon people | 01:28 |
---|---|---|
nash | .me waves | 01:40 |
mithro | nash: so fixed the galaxie crash yet? :P | 01:41 |
nash | lalalal.... | 01:42 |
nash | I can't actually get it to crash | 01:42 |
nash | You are using recent tpserver-cpp? | 01:43 |
mithro | yes | 01:44 |
mithro | nash: you running two AI at once? | 01:44 |
nash | Yeah. | 01:44 |
nash | Maybe I just got lucky :-( | 01:44 |
nash | I didn't spend long on it however | 01:45 |
nash | You had just 2? And it crashed reliably? | 01:45 |
nash | You are using head of both tpserver and galaxie? | 01:45 |
mithro | yes | 01:46 |
nash | Hmm... I'll give it another go tonight.. $10 says it crashes first go ;-) | 01:47 |
mithro | it seemed to occur mainly around when you would expect two people to have had a battle | 01:47 |
mithro | my guess is that you have some problem handling deleted objects | 01:47 |
nash | Probably | 01:51 |
nash | And it's probably a race condition ;-) | 01:52 |
mithro | yeah | 01:52 |
nash | Question is why the resources issue comes into | 01:52 |
mithro | my computer is on the slower side these days | 01:52 |
nash | So is mine | 01:52 |
mithro | only a 1.1GHz Pentium-M and it's often locked to 600Mhz | 01:52 |
mithro | and if tpserver-cpp is consuming a lot of resources.... | 01:53 |
mithro | well since schemepy is basically at a usable stage, maybe I should get back to doing some real work | 01:55 |
greywhind | hi | 01:56 |
mithro | hey greywhind | 01:56 |
mithro | greywhind: so had any more thoughts on what you might want to do? | 01:57 |
greywhind | well, i'm still thinking i might want to help you with the client, specifically with the overlay idea | 01:57 |
greywhind | again, that would require me to learn python first | 02:02 |
mithro | learning python is probably a good thing ;) | 02:29 |
mithro | don't think you have to work on the client just because I suggested it | 02:29 |
mithro | greywhind: I would much prefer you to work on something you are passionate about | 02:30 |
mithro | as you are much more likely to get a lot of work done | 02:31 |
greywhind | yeah - i'm not certain i'd enjoy working on the client, but i probably would. nash seems to have the AI under control, and a more polished client would certainly help draw players | 02:34 |
greywhind | i'm not sure yet, though. | 02:34 |
nash | greywhind: My AIs are hardly genius level ;-) | 02:40 |
Epyon | mornin all ^_^ | 02:41 |
greywhind | hi Epyon | 02:41 |
nash | Heyo Epyon | 02:42 |
Epyon | Any good news on the TP front? | 02:42 |
nash | greywhind: Do what you want, ignore me ;-) | 02:46 |
greywhind | nash: well, i'd probably enjoy working on an AI if you think it would be helpful, but I don't want to do something redundant (nor do I know all of the latest and greatest AI techniques) | 02:47 |
nash | Absolutely. | 02:47 |
nash | Absolutely - it woudl be good | 02:48 |
nash | There are whole classes of problems (and rulesets) to look at. | 02:48 |
nash | Including generic AIs and AIs for MTSec of RFTSec | 02:48 |
greywhind | true... though a generic AI would be quite difficult, given the diversity of possible rules | 02:49 |
mithro | hey Epyon | 02:51 |
nash | greywhind: Yep | 02:51 |
nash | But there is plenty to do for either. | 02:52 |
nash | And multiple AIs are bloody useful ;-) | 02:52 |
mithro | nash: maybe I should fix tpsai-py's Design support and then battle galaxie :) | 02:52 |
mithro | galaxie would probably just crash ;) | 02:53 |
greywhind | how close is MTSec to a playable state? | 02:53 |
nash | mithro: heh | 02:54 |
nash | mithro: It's going to be a little while before it gets a brain upgrade too ;-) | 02:54 |
nash | Fix crashis fisr issue. | 02:54 |
nash | Refactor is second issue | 02:54 |
mithro | greywhind: not that close | 02:54 |
mithro | I think rfts will be first | 02:54 |
mithro | but llnz is the person to ask | 02:55 |
greywhind | mithro: do you think RFTS is in a workable enough state to write AI for it, or do you not know? | 02:57 |
mithro | greywhind: not at the moment, but should be by the end of summer | 02:57 |
greywhind | mithro: well, that might be a good project, if it turns out that way... would i still need to learn python for it? | 02:57 |
mithro | greywhind: depends, it's probably the easiest language to develop in | 02:58 |
mithro | (As it has all the supporting libraries) | 02:58 |
greywhind | true | 02:58 |
greywhind | well, i guess that's my task until the end of the summer then. | 02:59 |
mithro | nash: do you do much test driven development? | 03:26 |
nash | For some things | 03:29 |
nash | Depends on what it is | 03:29 |
mithro | well, my real question is, how do you have the discipline to write proper tests? | 03:31 |
CIA-3 | mithro schemepy * rc7465a4b5593 /guile/ (guile.py guilehelper.c): Added support for Python Floats. | 03:31 |
CIA-3 | mithro schemepy * r3d525fbdc78b /guile/guile.py: Added complex type. | 03:31 |
nash | Ahh... make sure i have a test framework before hand. | 03:31 |
nash | And make sure I remember how much of a PITA it will be to debug later ;-) | 03:31 |
nash | Also use the test writing as productive procastination | 03:31 |
mithro | i have all these tests at the bottom of my python file | 03:33 |
mithro | but I should probably convert them to proper tests | 03:33 |
mithro | they just print out their outputs and I look at them to see if they look sane | 03:33 |
greywhind | mithro: the trick is to start by writing a test before you write your first code, then continuing to write them because you don't want to have half-tested code | 03:34 |
greywhind | because then it will look like you just gave up | 03:34 |
mithro | well, there are plenty of tests, they just aren't automated | 03:35 |
mithro | IE I have to manually look at the output to see if it's working | 03:35 |
greywhind | mithro: isn't it just as easy to write them automated in the first place? | 03:35 |
mithro | greywhind: not really | 03:35 |
mithro | what is easier then | 03:35 |
mithro | a = m1.eval("1") | 03:36 |
mithro | print a | 03:36 |
mithro | print a.type() | 03:36 |
mithro | print a.topython() | 03:36 |
greywhind | mithro: well, i don't know about Python's implementation of automated testing... but Java makes it extremely simple. | 03:36 |
mithro | nothing is easy in Java :P | 03:36 |
greywhind | sure it is | 03:37 |
nash | Just save the output | 03:37 |
nash | greywhind: I can assure it's not ;-) | 03:37 |
greywhind | *shrug* | 03:38 |
greywhind | assertTrue(), assertFalse(), assertEquals()... | 03:38 |
mithro | greywhind: if you want to learn python, you could write these tests for me! :P | 03:39 |
mithro | anyone know a program which will render PDF pages to images? | 03:39 |
greywhind | heh - let me learn a little more first, then i'll look into it. i'm still learning about basic list syntax | 03:39 |
mithro | a = [] | 03:40 |
mithro | a.append('test') | 03:40 |
mithro | print a[0] | 03:40 |
mithro | yay! everything you need to know ;) | 03:40 |
greywhind | yeah - have you seen this tutorial? | 03:40 |
greywhind | http://diveintopython.org/ | 03:40 |
tpb | Title: Dive Into Python (at diveintopython.org) | 03:40 |
greywhind | it's for programmers who know other languages and who want to learn python | 03:41 |
mithro | greywhind: yeah, I think I have seen it before | 03:42 |
mithro | greywhind: I would recommend installing "ipython" | 03:42 |
mithro | it's a wrapper around python which makes interactive mode a lot nicer | 03:42 |
greywhind | alright | 03:42 |
greywhind | by the way - it describes how to remove an element with a specific value, but not at a specific index. what's the best way to do that? | 03:43 |
mithro | a = [10, 5, 6, 1, 4] | 03:44 |
mithro | del a[4] | 03:44 |
greywhind | k | 03:44 |
mithro | as you would think | 03:44 |
mithro | python is a nice language in that most things work how you would expect | 03:45 |
greywhind | well, it didn't mention the "del" keyword yet :P | 03:45 |
mithro | greywhind: ahh okay | 03:45 |
mithro | a = {'a': 'peanut', 'b': 'more peanuts'} | 03:46 |
mithro | del a['a'] | 03:46 |
greywhind | right | 03:46 |
greywhind | do you know which package of ipython installs easiest on Mac? | 03:46 |
mithro | sorry, no :/ | 03:47 |
mithro | http://ipython.scipy.org/ | 03:48 |
mithro | Depending on which Python you are using on Mac OS X, you may need to install the top level ipython script using the command: | 03:48 |
mithro | python setup.py install_scripts --install-dir=/usr/local/bin | 03:48 |
mithro | If you want GUI support in IPython on Mac OS X, you need to make sure that the python called at the top of the ipython script is pythonw. | 03:48 |
* nash is off home | 03:48 | |
greywhind | yeah - found that | 03:48 |
nash | talk to you all later | 03:48 |
nash | night | 03:48 |
mithro | see ya nash | 03:48 |
*** nash has quit IRC | 03:48 | |
mithro | hrm, no Fro | 03:49 |
greywhind | k, got ipython installed | 03:56 |
greywhind | but now i think i should sleep | 03:58 |
mithro | greywhind: sleep is for the weak! | 03:59 |
greywhind | well, you certainly proved that this morning :P | 03:59 |
greywhind | i guess i'm weak | 03:59 |
*** llnz has joined #tp | 04:16 | |
llnz | schemepy added to sloc page (visible in 10 minutes) | 04:53 |
mithro | llnz: okay | 04:59 |
mithro | it should really ignore the pyscheme directory | 04:59 |
*** daxxar has quit IRC | 05:43 | |
*** daxxar has joined #tp | 06:19 | |
*** zipola has quit IRC | 07:31 | |
* llnz wanders off | 08:00 | |
llnz | later all | 08:00 |
*** llnz has quit IRC | 08:00 | |
*** DystopicFro has joined #tp | 08:04 | |
tpb | disconnected from worldforge: Ping sent at 2007-07-23T08:07:22 not replied to. | 08:09 |
tpb | tpb has joined on worldforge | 08:09 |
tpb | mode change by purple.worldforge.org on worldforge: +nt | 08:09 |
tpb | mode change by purple.worldforge.org on worldforge: -o tpb | 08:12 |
tpb | aloril has joined on worldforge | 08:12 |
tpb | disconnected from worldforge: Ping sent at 2007-07-23T08:11:23 not replied to. | 08:13 |
tpb | tpb` has joined on worldforge | 08:13 |
tpb | tpb has quit worldforge (Read error: Connection reset by peer) | 08:13 |
tpb | nick change by tpb` to tpb on worldforge | 08:13 |
tpb | disconnected from worldforge: Ping sent at 2007-07-23T09:01:30 not replied to. | 09:03 |
tpb | tpb has joined on worldforge | 10:58 |
tpb | aloril has quit worldforge (purple.worldforge.org blue.worldforge.org) | 10:59 |
tpb | aloril has joined on worldforge | 11:04 |
*** DystopicFro has joined #tp | 13:16 | |
CIA-3 | frodough tpruledev * r65371b7288af /src/rde/ConfigManager.py: (log message trimmed) | 13:28 |
CIA-3 | Silently remove invalid entries from project history | 13:28 |
CIA-3 | So, since I have the annoying tendency to commit partial updates and | 13:28 |
CIA-3 | forget important things like new folders I'm sure that everyone keeps | 13:28 |
CIA-3 | running into an issue of having the RDE break when they try to run | 13:28 |
CIA-3 | it, often because it's pointing to a project that doesn't exist. The | 13:28 |
CIA-3 | ConfigManager now validates each project in the project history before | 13:28 |
mithro | DystopicFro: ping? | 13:35 |
*** greywhind has quit IRC | 13:44 | |
*** mithro has quit IRC | 14:31 | |
*** greywhind has joined #tp | 14:54 | |
*** JLP has quit IRC | 18:29 | |
*** nash has joined #tp | 19:27 | |
*** mithro has joined #tp | 23:52 | |
greywhind | hi | 23:52 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!