Wednesday, 2008-06-11

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** mithro has quit IRC00:41
*** mithro has joined #tp00:47
*** mithro has quit IRC01:41
*** JLP has joined #tp01:58
*** xdotx has joined #tp02:29
xdotxnash:  "A likely story." - for some reason that cracked me up02:29
nashxdotx: Unfortunately it's a cliche for me ;-) I need more witicisms ;-)  But thank you.02:30
*** zzorn_laptop has joined #tp02:52
*** nash has quit IRC03:09
*** JLafont has quit IRC04:10
*** xdotx has quit IRC04:59
*** llnz has joined #tp06:19
* llnz wanders off09:06
llnzlater all09:06
*** llnz has quit IRC09:06
*** zzorn_laptop has quit IRC09:07
CIA-30victor.ivri gencon-rfts-ai * r5a84026b833c / (3 files in 2 dirs): cleaned repo from garbage.10:06
*** mithro has joined #tp10:34
*** jphr has joined #tp10:42
*** mithro_ has joined #tp11:14
mithro_morning people11:14
*** mithro has quit IRC11:16
*** mithro_ is now known as mithro11:16
jphrmorning11:22
*** mithro has quit IRC11:38
*** jphr_ has joined #tp11:44
*** jphr has quit IRC12:01
*** bddebian has joined #tp12:17
bddebianHeya12:18
* ezod has very limited net access in boston :(12:28
CIA-30jphr tpserver-cpp-risk * rbc55329ef821 /modules/games/risk/ (move.cpp move.h riskturn.cpp): implemented Move::targetPlanetAlsoAttacking() and now testing it.12:29
*** vi1985 has joined #tp12:35
*** Erroneous has joined #tp12:51
*** mithro has joined #tp13:00
mithrohow is everyone today?13:11
mithrojphr_: how goes things?13:11
jphr_mithro: good, just wrastlin with my move order13:11
*** JLafont has joined #tp13:15
JLafonthallo13:15
*** jphr_ has quit IRC13:17
*** jphr has joined #tp13:17
*** Demitar has quit IRC13:19
tpbdisconnected from worldforge: Ping sent at 2008-06-11T13:17:55 not replied to.13:20
tpbtpb has joined on worldforge13:21
*** Epyon has quit IRC13:22
*** jphr has quit IRC13:25
*** mithro_ has joined #tp13:26
mithro_well that is the second time my comptuer has crashed in two days13:27
*** mithro has quit IRC13:27
JLafontmaybe its possessed13:27
JLafontmithro: I have a question about Orders13:28
tpbdisconnected from worldforge: Ping sent at 2008-06-11T13:26:31 not replied to.13:29
mithro_okay shoot13:29
*** mithro_ is now known as mithro13:29
JLafontIs there anywhere were the current ordertypes are defined? Can I define my own order types? And how can I change the displayed name of an order.13:29
mithrois anyone else having trouble pinging verbal.mithis.com?13:30
mithroJLafont: on the server, yes and yes13:30
JLafontCan you point me to where that might be?13:31
JLafontmithro: It pinged13:31
mithrowhat time of response are you getting?13:31
mithro[email protected]:~/oss/tp/tpserver-py$ find -name orders13:33
mithro./tp/server/rules/dronesec/orders13:33
mithro./tp/server/rules/base/orders13:33
mithro./tp/server/rules/minisec/orders13:33
mithro./tp/server/rules/timtrader/orders13:33
JLafontat first it was around 800ms, but it just went down to 100s13:33
JLafontoh13:33
JLafontI meant as in what the typeno's mean13:33
mithrowhat do you mean?13:33
JLafontLike order of typeno 1 is a move order. And any order that has that same number will have that name.13:33
JLafontBuild Fleet iis typeno 213:33
mithroJLafont: each order should have their own typeno13:34
mithroeven if they have the same name13:34
mithroif they have different attributes, they should be different typeno13:35
JLafontok. Well, in this case they have the same attributes.13:36
mithroif they are different in any way, then you should use a different typeno13:36
JLafontDo typenos have to be sequential?13:36
JLafontok13:37
mithroJLafont: nope13:37
mithrotechnically they only have to be unquie in a ruleset, but it's a bitch to debug otherwise13:37
JLafontahh ok13:38
mithroand there are not that many rulesets yet13:39
mithrooh, you might want to remove your cache file (~/.tp/cache.*) after you change any order13:40
JLafontThat will help13:40
mithrojust to make sure that you get the latest information13:41
JLafontok13:41
JLafontAnd how do I change an orders name?13:41
mithroit's the class name13:42
mithroI think there might be a "name" property you can set, but I forget now13:42
JLafontok13:42
mithrobtw - you understand the attribute stuff?13:42
JLafontsomewhat13:43
JLafontI understand the order arguments and how they should be defined.13:44
*** SmokingRope has quit IRC13:53
mithroJLafont: that is pretty much what the attribute dictionary defines13:54
mithroattributes = {\13:54
mithro'fleet': Order.Attribute("fleet", -1, 'protected', type=netlib.objects.constants.ARG_OBJECT,13:54
mithrodesc="Fleet to merge with.")13:54
mithro}13:54
*** SmokingRope has joined #tp13:55
mithroattributes define both stuff which goes into the database and stuff which goes into the order frame13:56
*** Demitar has joined #tp13:56
JLafontyeah I've figured as much so far13:57
mithrowhen TP04 support is added to the server, it will also define how the extra data for objects too13:57
JLafontah13:57
JLafontcool13:57
mithroyou understand the difference between public, private and protected attributes?14:00
JLafontyes14:00
*** JLafont has quit IRC14:01
*** JLafont has joined #tp14:01
JLafontbah14:02
mithroJLafont: okay - explain it too me then :)14:02
JLafontyeah, I think I do. Like OO objects in C++?14:02
mithronope! :)14:04
JLafontprivate = only member functions can access, protected = iinheritors can access, public = anyone can acess.14:04
JLafontawww14:04
mithropython does not have that type of concept14:04
mithropublic = attribute is sent without any changes as part of the order frame14:05
mithroprotected = attribute is sent through the fn_<> function before being made part of the order frame14:05
mithroprivate = attribute is not part of the order frame14:05
JLafontahh ok14:06
mithroso you use private stuff to have something which gets stored in the database but not sent as part of the order frame14:07
mithroprotected is used where the format required by the order frame is different from the internal format you want to use14:07
JLafontohh14:08
JLafontI see14:08
*** SmokingRope has quit IRC14:13
mithroFleet is a good example of a protected attribute14:13
mithrobut I have to run now14:13
mithrobblr!14:14
JLafontcya14:14
*** SmokingRope has joined #tp14:16
*** SmokingRope has quit IRC14:17
*** mithro has quit IRC14:31
*** jphr has joined #tp15:02
*** nuleren has joined #tp15:04
*** Epyon has joined #tp15:06
*** tpb has joined #tp15:17
*** ChanServ sets mode: +o tpb15:17
*** vi1985 has quit IRC15:18
*** tpb has joined #tp19:37
*** ChanServ sets mode: +o tpb19:37
mithro~seen jphr19:37
tpbmithro: jphr was last seen in #tp 8 hours, 15 minutes, and 44 seconds ago: <jphr> morning19:37
* mithro ponders what the logs missed :(19:38
*** tpb has joined #tp20:01
*** ChanServ sets mode: +o tpb20:01
*** nash_ has quit IRC20:01
mithronash: I doubt it :)20:24
nashmithro: I'd go see an optometrist then20:24
mithroI'm pretty unhappy with this computer :(20:27
nashWhat else is wrong with it?20:29
mithroit's a Sony Vaio :)20:31
mithrothings don't work and it's already starting to fall apart20:31
mithroall the rubber feet off the bottom of the device have already fallen off :(20:32
mithroit runs hot and slow20:32
nashweird... my vaio is 4 years old, and still runs perfectly20:33
mithroit's crashed twice in the last two days :(20:33
mithroatleast the battery life is pretty good20:34
nashActually that's the one thing I'd complain about ;-)20:34
mithroi'm getting about 9-10 hours20:35
nashI get 6 if I'm careful20:35
nashwatching dvd I get 2.520:35
*** Iwanowitch has quit IRC20:37
mithroI get about 8 watching DivX videos20:54
*** Erroneous has quit IRC20:55
CIA-30mithro libtpproto-py * r13a34b50b94b /tp/netlib/objects/Header.py: Fixed the extra data exception.21:22
*** Ohm has quit IRC21:28
*** tpb` has joined #tp21:52
*** tpb` is now known as tpb21:53
*** ChanServ sets mode: +o tpb21:53

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!