Wednesday, 2009-03-25

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** tuna-fish has quit IRC00:11
*** tuna-fish has joined #tp00:17
*** whacky has quit IRC00:29
*** llnz has joined #tp00:37
*** tansell-laptop has joined #tp01:43
tansellback02:04
tansellezod, I'm assuming you have gone?02:04
tansellGreywhind, sure we can chat about it02:08
Greywhindcool02:09
tansellGreywhind, we can do that now if you want02:09
Greywhindhmm... it's a bit late02:09
Greywhind2:10 AM here02:09
tansellGreywhind, didn't think you would still be here :)02:09
Greywhindcould we talk tomorrow evening?02:09
Greywhindmaybe sometime around midnight my time?02:09
tansellthat is about 2 hours earlier then now?02:10
tansellI might be around - best bet is to just keep poking me02:11
Greywhindok02:14
*** mithro has quit IRC02:20
*** nash has quit IRC02:25
*** mithro has joined #tp02:33
*** JLP_ has joined #tp02:44
*** JLP has quit IRC02:45
cherezmithro: You around?02:51
mithrocherez: kinda02:54
cherezIs there any document of what libtpproto2-py needs done?02:55
CIA-65llnz tpserver-cpp * rc152ee8cb9d7 /tpserver/ (playerconnection.cpp playermanager.cpp playermanager.h):02:55
CIA-65Refactored the Player::findPlayer to be a big nicer.02:55
CIA-65Shifted password auth to login() in PlayerConnection, removed lots of02:55
CIA-65exception handling for the normal or expected cases.02:55
CIA-65llnz tpserver-cpp * r87f4e13aac40 /tpserver/objectview.cpp: Fixed another missing bracket warning, this time in ObjectView02:55
tansellcherez, not really02:56
tansellI can tell you the point libtpprotot2-py is at02:58
cherezWell, I think it would help to have some idea when I write the proposal.02:58
tansellI would recommend doing the research to find out02:59
cherezThat was my plan already.02:59
tanselllibtpproto2-py was up to the stage where I could use it with tpclient-pytext03:00
tansellIf I remeber correctly I could download objects in both tp04 and tp0303:00
cherezlibtpproto-py implements everything correctly?03:00
tansellcorrectly is a loaded word :)03:01
tansellthere are no tests for libtpproto-py03:01
cherezWithin the specification?03:01
cherezMmm.03:01
cherezWell enough that the clients work?03:01
tansellthere are some start of tests for libtpproto2-py03:01
tansellyes - enough that the clients work03:01
cherezWell, it's late now; I'll read through the libraries tomorrow.03:02
cherezNight, sirs.03:02
tanselllibtpproto-2py uses the xml protocol definition03:03
tansellwhile libtpproto-py is hard coded03:03
llnztansell: tpserver-cpp is in reasonable state for release, shoud I go ahead and release 0.6.1?03:05
tansellI think we have a reasonable binary for windows working03:05
llnzso is that yes?03:11
*** peres has quit IRC03:16
*** konr has joined #tp03:17
tansellyes03:17
tansellI think so03:17
tansellI'll do the debs tonight if you release before I finish work03:18
llnzcool03:21
konrHi there! I'm interested in joining you guys for the SoC 2009 by working with bots and AI. If I got correctly, you have two working bots that use different heuristics and it you'd like to have new ones, am I right?03:23
konrs/it//03:23
konrs/s\/it\/\//s\/it \/\/s03:24
tansellkonr, we would prefer you to improve the existing bots03:26
tanselldoing things like, increasing the speed, adding support for new rulesets, etc03:26
konrtansell, interesting! what is the most promissing of the two?03:27
tanselldaneel-ai at the moment03:29
konrwow, made in python03:30
tansellkonr, why is that wow?03:31
tansellPython is the natural choice for AI programming03:31
konrtansell, I am currently messing around with python - and trying to create a bot too! - so that makes daneel much more interesting :)03:32
konrbut the bot i was planning would just use some classification/outlier algorithms to filter content for my websight!03:34
konrI'm learning AI this semester - it's so exciting!03:34
*** jainbasil has joined #tp03:39
konrtanselll, hmmm, is there any particular thing that is highly needed for daneel and doable in 3-months?03:40
*** jainbasil has quit IRC03:40
tansellkonr, try looking at the ideas page03:40
tansellthere are some ideas there03:40
konrtansell: at tp.net's "ideas for programmers" wiki page? It just says that there are many possible improvements and then proceeds by giving some examples of bots and AI. Could these suggestions be in other page?03:47
tansellthis is a probably a good page to start at - http://www.thousandparsec.net/wiki/Daneel-ai03:49
tpbTitle: Daneel-ai - Thousand Parsec Wiki (at www.thousandparsec.net)03:49
konrThanks!03:49
CIA-65llnz tpserver-cpp * r23d4bfb759ac / (ChangeLog NEWS configure.ac): Prep for 0.6.1 release04:14
*** Epyon has quit IRC04:17
*** peres has joined #tp04:20
*** mithro has quit IRC04:34
*** mithro has joined #tp04:48
CIA-65llnz web * rbb0819ba7ac9 / (3 files in 3 dirs): Added tarball and news item for tpserver-cpp 0.6.1 release.05:19
*** gab32 has joined #tp05:30
tpbNew news from http://www.thousandparsec.net/tp/rss.php: TPServer-cpp 0.6.1 released.05:32
*** Gaurav__ has left #tp05:33
*** Gaurav__ has joined #tp05:35
*** Greywhind has quit IRC05:36
*** Gaurav__ has quit IRC05:55
*** Gaurav__ has joined #tp06:15
*** Gaurav__ has quit IRC06:30
* llnz wanders off06:31
llnzlater all06:31
*** llnz has quit IRC06:31
*** JLP has joined #tp06:34
*** JLP_ has quit IRC06:34
*** Greywhind has joined #tp06:51
*** gab32 has quit IRC07:02
JLPgood morning everyone07:02
totemorning :)07:03
*** skiffcz-gsoc has joined #tp07:11
*** JLafont has joined #tp07:13
skiffcz-gsocoh, crap, so after wandering into the land of references, Im back to pointers. honeymoon is over07:47
Vadtecmornin08:00
*** whacky has joined #tp08:09
JLPVadtec (and others writing proposals), in the proposal do mention your IRC nickname (so we can connect proposals to nicks here) and do mention where are you from (at least the timezone)08:24
JLPnow that there is only one and Vadtec mentioned it when he submited it it is easy to connect with nickname, but later when there are couple of them it gets confusing for us08:25
totedoes tpclient-pywx keep an open connection to the server? or does it reconnect on every turn?08:28
skiffcz-gsocJLP: affirmative08:28
JLPtote: hm can't say for sure, but i think it also connects when adding/removing/editing orders08:30
JLPi think it is more, when needed08:30
toteokey so open a connection for adding an order, and then closing it is not a bad thing?08:31
*** tuna-fish has quit IRC08:33
*** bddebian has joined #tp08:35
toteis it always true that everyone in a game can see all objects?08:36
bddebianHeya08:38
JLPtote: in current version of protocol, yes, in version 4 the visibility and history of it will be added08:39
JLPbddebian: ahoy08:39
bddebianHi JLP08:41
skiffcz-gsoctote: Ive found something interesting regarding player connection08:41
skiffcz-gsocConnection This class is the current network connection to a player. Is controlled and contained by the Network class. Holds details on the type of network connection and what version of the protocol the client is running, and creates the correct type of frame. Looks after the players socket and is responsable for sending and receiving Frames. Suports IPv6.08:41
skiffcz-gsocits from server cpp documentation08:42
*** whacky has quit IRC08:42
skiffcz-gsocso you may want to peek into this class or objects using it, if server actually closes the socket or not .. I guess the same approach will be used on client side08:43
toteskiffcz-gsoc: thanks will look into it08:43
skiffcz-gsocthe info that its held by the same class as C sockets (Network) would imply its created each time socket is opened .. but I havent looked into the Network class yet, as I have lot of my own business right now08:46
tansellJLP, https://build.opensuse.org/project/show?project=home%3Amithro%3Athousandparsec%3Adeb09:16
tpb<http://ln-s.net/33ba> (at build.opensuse.org)09:16
*** Gaurav__ has joined #tp09:39
*** peres has quit IRC09:45
*** verhoevenv has joined #tp09:50
*** mithro has quit IRC09:52
*** mithro has joined #tp09:59
*** Black-Panther has joined #tp10:05
Black-PantherHi everyone!10:05
Black-PantherI'm really interessted in being one of your GSoC students! Who may I talk to?10:06
JLPBlack-Panther: welcome10:07
Black-Pantherhi!10:07
Black-PantherMay I ask you a few questions?10:07
JLPBlack-Panther: have you already read thru the gsoc/developers documentation10:07
JLPBlack-Panther: sure10:08
Black-PantherI read those docs which are linked on http://socghop.appspot.com/org/show/google/gsoc2009/thousandparsec10:08
tpb<http://ln-s.net/3235> (at socghop.appspot.com)10:08
JLPBlack-Panther: cool10:09
Black-Pantherbut I don't remember a documentation though10:09
JLPBlack-Panther: so did any task from the idea list catch your interest?10:09
Black-Panther...10:09
Black-Pantheryes10:09
Black-Pantherto be honest, there are two ;)10:09
JLPBlack-Panther: nothing wrong with that10:09
JLPBlack-Panther: you can always submit two applications :)10:10
Black-Panthermaybe more too ;)10:10
Black-Pantherso... my strength are C++ and webprogramming...10:10
JLPyeah, but it's good to focus on not too many and get those as polished as possible10:10
Black-Panthersure10:10
Black-Pantherfor this reason, I wanted to talk to somebody10:11
Black-Pantherto know on what to focus10:11
Black-PantherI read about a web-interface you'd like to have10:11
Black-Panthernow I'd have some technical questions10:12
Black-Panther(only to know if I'm capable to complete my work)10:12
Black-Pantherhow does the PHP-Script would interact with the program?10:12
Black-Pantheris there an api specified, or is there to write a new protocol?10:13
Black-Panthershould I use an existing one?10:13
Black-Panther...10:13
Black-Panther;)10:13
JLPthere is some PHP protocol library in our git repository10:13
JLPso you would probably use that and improve and extend it10:14
Black-Pantherso the comunication between server and webclient exists already (basic things)?10:14
totebetween server and webclient no, but between server and a client yes :)10:15
Black-Pantherwhat I meant was, if there are already PHP-routines which do establish a connection to a server?10:16
JLPBlack-Panther: well i don't know how far php library is, so some stuff is probably already there and some not10:16
JLPBlack-Panther: best you take a llok at code and probably mithro knows more if he's still around10:16
* mithro should be in bed10:17
mithrolike 3 hours ago10:17
tote:)10:17
Black-Panther^^10:17
mithroBlack-Panther: if you are thinking of writing a web client in php I would really urge against it10:17
mithrowe do have a very limited protocol library written in php10:17
mithrobut it's mainly for the metaserver10:17
mithroa Python based web client makes a load more sense because a python library already exists10:18
totehttp://xvid.se/tp.jpg <- this is the problem im having atm, the connections between the webinterface and the server, it will be a connection per client10:18
mithroand is well test10:18
Black-PantherI see...10:18
mithroused by 3 existing clients10:18
mithrotpclient-pywx, tpclient-pyogre and daneel-ai10:18
mithrotote: yes, you are correct you'll need one connection per client10:19
totethere isnt a way to have only one connection against a server, and send user specific commands?10:19
totemithro: okey10:19
mithrotote: as a web client is just like every other client10:19
mithromy suggestion would be to have a background daemon which syncs a mysql database with the tpserver-cpp via the tp protocol10:19
mithroand then have the web side read from the mysql database10:20
totehmm intresting10:20
Black-Panthershould work, I guess10:20
mithroas remeber downloading the universe is rather expensive10:20
mithroactually, you could just use libtpclient-py's prexisting cache mecanism - but that requires you to load the whole cache into memory for each operation10:21
mithros/operation/web request/10:21
Black-Pantherbut if the webclient has only to read from a MySQL database, then it makes sense to write it in PHP10:21
mithrounless you use something like fast cgi10:21
mithroBlack-Panther: it makes sense to write it in a langauge we can maintain into the future :)10:21
Black-Panthersure10:21
Black-Pantherso Python would be your choise?10:22
toteBlack-Panther: why does anything makes sense to write in php? :P10:22
mithroplus writing the sync side still needs to be done in python10:22
mithrotote: the tp website is something which makes sense to write in php10:22
mithroit's a glorified server side include :)10:22
totehaha sure if you put it like that :)10:22
Black-Panther:D10:22
totemithro: ah well thanks for your input, gonna think about it, expect a proposal in a couple of hours :)10:23
Black-Pantherwhat would you like to have done using C++?10:24
mithroJLP: can you add the following to the ideas page10:24
mithro* Convert the existing wiki+website into something like iki wiki10:24
mithrocavets - this requires writing a bunch of scripts to do data conversion10:24
mithroand reworking the website html/javascript and converting the current php10:25
totewhat data needs converting mithro?10:25
mithrotote: wiki is mediawiki so that needs to be converted10:25
mithroand we want to preserve history10:26
toteok10:26
mithrowe want to move to a new system which is wiki based - but uses a git backend10:26
mithroanyone interested in the singleplayer scenario's idea?10:26
mithroI think that would be a great project for someone10:26
mithroJLP: we should do a news post about things we are intersted in having happen10:27
Black-Pantheris it possible to write it in c++, then yes!10:27
mithroIE the singleplayer scenario10:27
mithroBlack-Panther: nope, mainly Python10:27
mithroBlack-Panther: C++ stuff is focused around tpserver-cpp10:27
Black-Pantherhmmm... what would you like there to be done?10:28
mithrounittesting is a big one in my eyes10:28
mithromore persistence backends10:28
mithrolots of general cleanup (but this needs to be better specified in the proposal)10:29
Black-Pantherbut for unittesting someone should be quite familiar with the existing code...?10:29
mithropulling a lot of the code which is duplicated in each ruleset into a common library they can use10:29
mithroBlack-Panther: somewhat familiar - but there is time to do so10:29
mithros/do so/become so/10:30
Black-Panthertp isn't a small project though...10:30
mithroimproving the risk ruleset would be a good project10:30
Black-Pantherand by improving you mean what?10:30
mithrounittesting is a big one in my eyes <- unittesting the tpserver-cpp core10:30
mithroBlack-Panther: adding different extra rules10:31
mithroIE Ever played risk 2010?10:31
mithromaybe add dynamically changing links between countries10:31
Black-Panthersadly not... only the normal risk10:31
Black-Pantherbut I played many games like it ;)10:31
mithroBlack-Panther: is there anything about risk you have said "ooh, it would be so much better if"10:32
mithronow is your chance10:32
mithrobut the risk ruleset isn't risk in the normal sense either10:32
Black-Pantherif I could change some rules, I would change a lot ;)10:32
mithroBlack-Panther: btw - you should checkout the singleplayer stuff and try a risk game locally10:32
mithroBlack-Panther: this is about incremental development - not starting from scratch10:32
mithrogit clone git://git.thousandparsec.net/git/tpclient-pywx.git10:33
mithrogit clone git://git.thousandparsec.net/git/daneel-ai.git10:33
mithrogit clone git://git.thousandparsec.net/git/tpserver-cpp.git10:33
mithrobuild tpserver-cpp10:33
Black-Pantherwhat's that?10:33
mithroand run tpclient-pywx and you should be able to play singleplayer10:33
Black-Pantherah, ok10:33
mithroworks on most linux's and mac's10:33
mithrowe should have windows binaries and a release by the end of the week10:34
totemithro: you dont happen to know if there is a libtool package for debian for the new version required by tpserver-cpp? :)10:34
Black-Pantherperfect... I'm linux only on VM10:34
mithrotote: there should be10:34
mithroBlack-Panther: I hope that is Linux with a Windows VM :P10:34
Black-Panthernot really...10:34
totemithro: all i got from squeeze is 1.5.26-4 :/10:34
toteso i cant build tpserver-cpp10:34
mithroyou'll be required to do most of your development on Linux (or atleast test throughly on LInux)10:35
mithroas your mentors will be using that to check your code10:35
mithrotote: llnz uses debian10:35
mithroit should just work10:35
mithroyou did a fresh checkout like above right?10:35
Black-PantherIf I get accepted, then I'll install one ;)10:35
Black-Pantherbut till now the VM is enough10:35
mithronot using the older packages from the web?10:35
mithroI just built tpserver-cpp packages for debian 4.0 and 5.0 without problems10:36
totemithro: yep10:36
mithrowhat was the problem again?10:36
toteone moment10:37
mithrotote: http://download.opensuse.org/repositories/home://mithro://thousandparsec://deb/Debian_5.0/10:37
tpb<http://ln-s.net/33d1> (at download.opensuse.org)10:37
mithroi'll import them into our normal repository tommorrow10:37
totemithro: http://rafb.net/p/SKDb7j24.html10:38
tpbTitle: Nopaste - No description (at rafb.net)10:38
toteand configure exits with error: config.status: error: cannot find input file: Makefile.in10:39
mithrobtw - the killer way to get into GSoC is to submit patches before GSoC starts :)10:40
mithro(real patches - not I want to get into GSoC patches)10:40
verhoevenvTsk. :)10:40
mithrotote: problem a10:40
mithrolibtoolize: unrecognized option `--recursive'10:40
mithroTry `libtoolize --help' for more information.10:40
mithroproblem b10:41
mithroconfigure.ac:63: required file `./ltmain.sh' not found10:41
mithrohey verhoevenv10:41
mithroverhoevenv: I'm excited to see you get more contributors to daneel-ai thanks to GSoC :)10:41
mithroverhoevenv: hopefully we'll get some decent applications for it10:42
Landonmithro: would you say putting tech tree support in the wxwidgets client is a whole summer project?10:42
totemithro: ye probably :)10:42
verhoevenvmithro: Yeah, would be nice10:42
mithroLandon: it could be10:42
mithrotote: what happens if you change the libtoolize line in autogen.sh10:43
mithroto10:43
mithrolibtoolize --automake --copy --force --ltdl10:43
Landonok, I'll mark that as yes :P since I'm still pretty unfamiliar with the client code10:43
mithro?10:43
mithroLandon: it depends on how you go about it10:43
CIA-65mavrinac gentoo-overlay * rc89ab9da191e /games-server/tpserver-cpp/ (ChangeLog Manifest tpserver-cpp-0.6.1.ebuild): Version bump tpserver-cpp to 0.6.1.10:43
mithroLandon: I wouldn't say it's a high priority however10:43
mithroOkay for those who are listening - here is what I'm excited about10:44
Landonare there any client improvements that are higher priority? I'll see if I can't get two proposals out before the end10:44
mithro1) Helping out with the 3d client10:44
mithro2) Helping out with daneel-ai10:44
totemithro: seems to be working now10:44
mithro3) A web client (but I need to see a *very* strong application)10:45
mithro4) proper testing of libtpproto2-py10:45
verhoevenvEh? What is libtpproto2-py?10:45
verhoevenvtp04?10:45
mithroverhoevenv: it's a rewrite of libtpproto which uses the protocol.xml rather then been hand written10:46
verhoevenvAh, kay.10:46
verhoevenvGood.10:46
mithroverhoevenv: there will be very small changes to libtpclient-py when it gets ported10:46
mithrobut I doubt it'll be much of a problem for you10:46
mithroas you smartly choose to use libtpclient-py which both tpclient-pywx and tpclient-pyogre now use10:46
mithroso if I break that, I break three people :)10:46
verhoevenvIt was the obvious choice, really. :)10:47
mithroI think everyone is moving or already moved to using the protocol.xml file10:47
mithrolibtpproto2-py uses it10:47
mithrolibtpproto-java does10:47
CIA-65mavrinac web * r1784bdbcead3 /downloads/downloads.xml: Update linux-gentoo version of tpserver-cpp to 0.6.1.10:47
mithrolibtpproto-rb10:47
mithrolibtpproto-rb does as well10:48
mithroLandon: If you are intersted in Python and client side stuff, the 3d client is probably the way to go10:48
mithroI can't think of any big high priority project for tpclient-pywx10:49
mithroapart from maybe a battleviewer10:49
Landonok, didn't realize the 3d client was in python10:50
mithroLandon: yeah - only way it was able to be done in 3 months :)10:50
Landonhehe10:50
*** peres has joined #tp10:54
mithroLandon: the 3d client is an example of what a top student can do in the 3 gsoc months10:55
mithroA strong app for a low priority project will win over a weak app for a high priority project10:55
mithrowe are also very open to ideas from students10:55
mithroas it shows that the student has taken enough time to evaluate where the project is defficent and figure out a way to solve it10:56
mithroLandon: if you really want to work on tpclient-pywx I would recommend a project to extend the single player support to include scenarios and multiplayer10:57
mithrotote: send tp-devel and email about your experiance with --recursive and see if lee has a way to fix it both both cases10:57
Landonmithro: I'll keep it in mind10:58
mithroLandon: if you have time submit multiple proposals10:59
mithrowe have had a couple of cases where two students have submitted for the same thing10:59
totemithro: send tp-devel?10:59
Landonyup10:59
mithrotote: s/and/an/10:59
mithrotote: tp-devel mailing list10:59
toteaha10:59
mithroLandon: where both proposals where very strong - but of course we can only accept one student to do it10:59
totejust gonna step out a sec, do it when i get back10:59
mithroLandon: if they had a second strong proposal they would have been likely to get in on that instead11:00
mithroanyway I should be in bed11:00
mithroany last questions before I go?11:00
mithroyou have 5 minutes11:00
*** Gaurav__ has quit IRC11:00
skiffcz-gsocmithro: I saw your list of "what am I excited about", and it quiet makes us cpp people and not-so-much pythonists a sad pandas :)11:01
mithrothe sooner you submit applications the sooner you can get feedback and improve them11:01
mithroskiffcz-gsoc: well I have a biased towards the python side of the project11:01
mithroA strong app for a low priority project will win over a weak app for a high priority project <------- that goes for C++ too11:02
mithroA project to extend risk is pretty good11:02
mithroA project to help unittest the server is good11:02
mithroA proposal to improve tpserver-cpp including a bunch of smaller related projects is good11:03
mithroI'm not really "excited" about them, but I still think they are important :)11:03
verhoevenvUrgh. If you dare extend risk, then also extend the daneel-ai rulefile. Don't leave that to the poor ai developer. :(11:03
ezodworking on MTSec is a good one11:03
mithroverhoevenv: ha :)11:03
mithroezod: yeah - I had forgotten about that11:03
mithroworking on MTSec is a really good project too11:04
mithroand if ezod is up then it means I should have been in bed many many hours ago11:04
mithroezod: hey :)11:04
mithroezod: btw - get the invite?11:04
ezodmithro: hallo - up quite late again eh? i've been up 2 hours now, and i slept in :)11:04
ezodyes i did11:04
verhoevenvHe should have been in bed 3 hours ago.. Well, that's what he said an hour ago. :)11:05
mithroverhoevenv: yeah that is about right11:05
mithroezod: spent most of the night building tpserver-cpp debs11:05
mithrooh ezod was a c++ man11:05
mithroif you have c++ questions proke him11:05
mithrothat is a combination of poke and prod :P11:06
mithroanyway I'm really gone now11:06
ezodlater :)11:06
skiffcz-gsocgn11:06
mithrosubmit early, submit often! :)11:06
* ezod did both c++ and python for gsoc last year11:06
skiffcz-gsocezod: ok, ill try to unwrap my thoughts a bit, please bare with me, because Im not much familiar with possibilities of python11:09
skiffcz-gsoclets say, that if I want to build a game on top of tp11:10
skiffcz-gsocstandalone, one package game, with client, inbuilt server, AI11:10
skiffcz-gsocfocused primarily on win platform11:10
skiffcz-gsocmy first choice would be cpp based pieces, the server, some cpp client, obviously cpp protocol, cpp bots11:11
skiffcz-gsocput this together, throw some media files on top, compile, ship11:11
* JLP comes back from a quick nap11:12
ezodskiffcz-gsoc: sounds ambitious for 3 months11:13
skiffcz-gsocnono, i dont mean it as a proposal :)11:13
ezodah11:14
ezodok then11:14
skiffcz-gsocbut trying to see it from a view of someon wanting to build an actual game using the tp framework11:14
ezodwell, here's what i'd do, if i wanted to do what you just described11:15
*** Gaurav__ has joined #tp11:15
ezodwe are currently working on releasing the new tpclient-pywx with singleplayer (within the week, i hope)11:15
ezodthe win32 version in particular will ship as a bundle with tpserver-cpp and daneel-ai, and basically only include minisec and risk, for which only the latter is supported in daneel-ai11:16
ezodso11:16
ezodi could do something like:11:17
ezod1. write the ruleset for tpserver-cpp for the game i want to create11:17
ezod2. make custom media files, branding, etc. for tpclient-pywx11:17
ezod3. write daneel-ai rules or a new ai client for my ruleset11:17
ezod4. bundle and release as a single game11:18
ezodno need to reinvent the wheel :)11:19
ezodalthough it is definitely possible to implement your own server, client, and/or ai if there's some reason to11:20
ezodwith the existing protocol and client libraries you can work in a variety of languages interchangeably (with more or less success depending on the maturity and features of said libraries)11:21
*** Black-Panther has quit IRC11:22
skiffcz-gsochm, I still somehow feel wierdness around installing python along and ave an interpreted client :) (possible cause - my mind is not free, lack of experience, etc.)11:23
ezodskiffcz-gsoc: py2exe, if you're referring to win3211:24
ezodand on linux, python apps are perfectly fine11:24
skiffcz-gsocah, py2exe, It didnt occurred to me .. lack of experience then :D11:25
verhoevenvFor development, Python works remarkably fine on Windows.11:29
verhoevenvFor deployent, py2exe also works remarkably fine.11:29
verhoevenvAlthough that's only what I've heard, I never used py2exe.11:29
*** BarryCarlyon has joined #tp11:30
skiffcz-gsocverhoevenv: I guess in my case its the prejudice about interpreted languages as good dev tools, but .. once I had to make a dynamic page. It was simple calculator. Ive written cgi-script in C.... so yeah, Im this kind of person ...11:31
ezodverhoevenv: i'm about to use py2exe on daneel-ai today11:32
ezodskiffcz-gsoc: i was always a big C coder11:32
ezodthen about 4 years ago i found python11:33
ezodit is what programming ought to be11:33
verhoevenvIt really doesn't make much difference.11:33
verhoevenvYou just skip the manual compilation step.11:33
ezodyeah, that and 98% of the boring work11:34
ezodi do stuff in python in 5 minutes that would take days in C11:35
verhoevenvWell yeah, that's the difference between Python and C.11:36
verhoevenvIf you have a basis in Python, I highly recommend the Python Challenge (google around for it)11:36
skiffcz-gsocbub but .. the compiler doesnt apply its magic on your code, and and .. its not magical! ..You guys cause my world to tremble. Well, but if there is another world, why not :)11:36
verhoevenvThere's still a compiler. It just works more in the background. Don't worry too much. :)11:37
verhoevenvIt's a lot more magical even. :P11:37
ezodpython performance hit is almost negligible in most cases because generally all the really intensive stuff is coded at the back end in C11:37
ezodand you can do that yourself too - i do all the time11:37
ezodoh yeah, python challenge, i did that a while back11:39
skiffcz-gsocok, ive did the 2^38 in google calculator, now lets dig up my old c++ caesar decipherer .. it must be here somewhere ...11:42
skiffcz-gsocj/k ... thanks for the tip, Ill try it out once I finish the proposal thing and the mess around it ;)11:43
BarryCarlyonGood Local time everyone, just hunting thru the project ideas for various groups and saw the web based client for tp, though it rather interesting and a challenge so thought I would drop in and say hi!11:44
BarryCarlyonSo11:44
BarryCarlyonHi!11:44
ezodhi :)11:44
JLPBarryCarlyon: ahoy11:44
*** Patrick` has joined #tp11:45
JLPPatrick`: wb11:45
Patrick`guess which random bloke talked me into not being a moron11:45
Patrick`you might have met him :)11:45
JLPPatrick`: hm, let me think ...11:45
ezodPatrick`: kamaelia added to my gentoo overlay, if you care :) http://tinyurl.com/ezodovl11:45
tpbTitle: mavrinac.com :: gentoo overlay (at tinyurl.com)11:45
Patrick`nice11:46
Patrick`swing by the IRC channel, it's pretty idle but MS is happy to hear from users11:46
BarryCarlyonI applied for kamaelia last year tis quite good11:46
verhoevenvskiffcz-gsoc: you're missing the point of the python challenge I think ;)11:47
Patrick`BarryCarlyon: I did it 2 years ago, that's what got us started11:47
BarryCarlyonReally cool!11:47
skiffcz-gsocverhoevenv: nah, I was just kidding ;)11:47
skiffcz-gsocverhoevenv: Ill try it for sure, when this is over ;)11:48
skiffcz-gsocverhoevenv: thank you for tip ;)11:48
*** peres has quit IRC12:13
*** whollycow has joined #tp13:26
*** mhilmi has joined #tp13:51
toteanyone except mithro that knows how the cache in libtpclient-py works? cant seem to find any docs for it14:27
Patrick`hah, I finally get myself set up and of course wx is GTK only :/14:53
*** whollycow has joined #tp14:56
skiffcz-gsocPatrick`: X1114:56
*** whollycow has quit IRC14:57
*** whollycow has joined #tp14:59
Patrick`skiffcz-gsoc: what about it?14:59
whollycow(pardon my joining and leaving, irc client was being flaky)14:59
skiffcz-gsocPatrick`: uh, nothing, I totally misread it, trash it ;)15:00
Patrick`neat15:00
Patrick`I was getting paranoi15:00
Patrick`I finally restore my linux install to do some work, and it's only going to stick out like a sore thumb and call in a squillion packages I ain't got15:00
*** tuna-fish has joined #tp15:01
Patrick`or, uh, three15:01
skiffcz-gsoc:)15:01
Patrick`hey15:11
*** Noughmad has joined #tp15:12
Patrick`since I'm only going to be doing python dev at this point and using the cpp server for comparism of features etc, I think I'll be ok with a pre-packaged 0.4.1 right?15:14
Patrick`or is it virtually irresemblable to the current repository15:14
Patrick`http://packages.thousandparsec.net/key.asc 404s15:16
*** Noughmad has quit IRC15:16
*** Noughmad has joined #tp15:16
*** llnz has joined #tp15:17
Patrick`but it doesn't really matter, the packages just won't install on a non-supported ubuntu distro15:19
Patrick`heh, looks like I'll be running the server on windows - the irony!15:19
skiffcz-gsoceer15:19
Patrick`it's not a case of technically possible15:20
skiffcz-gsocjust FYI, the demasorvers are running now15:20
Patrick`I just don't want faffing around with linux and building and  packages to eat my "SoC evening"15:20
Patrick`yeah, I've been on the demo server before briefly, but I wanted to poke/configure it a bit more15:20
skiffcz-gsocah15:21
skiffcz-gsocwell, I managed to compile the 0.6.0 server on fresh ubuntu in some half an hour or so15:21
Patrick`it seems as though building it myself will actually be the least faffy way to do it15:22
skiffcz-gsocit really isnt any big pain15:22
Patrick`yeah, but there's just os much faff15:23
Patrick`it's an iterative process to get the build scripts to fail at successively later points15:23
Patrick`"oops, I need to install a custom readline library"15:23
Patrick`my fault for going with 8.10, no packages for it15:26
*** Gaurav__ has quit IRC15:32
*** tuna-fish has quit IRC15:34
Patrick`is there someone here who's run the python server?15:38
Patrick`the build is calling for tp.netlib >2.2, but I have installed  python-tp-netlib 2.4.something15:39
Patrick`erm, not the build, just running the thing15:40
skiffcz-gsocnope, cpp server only here15:45
skiffcz-gsocsorry15:45
llnzPatrick`: mithro who developed it should be around in 2-3 hours15:46
skiffcz-gsocmithro went to bed like 4 hours ago, so he wont be able to help you for some time15:46
Patrick`I have uni work15:47
Patrick`this is my only time to work on a proposal15:47
Patrick`but I already look like a  huge noob15:47
Patrick`so I should go15:47
totellnz: you have any knowledge on how the cache in libtpclient-py should be used?15:47
Patrick`everything seems incredibly fragile!15:47
llnztote: no15:48
llnzPatrick`: the tpserver-py does run and it had a ruleset written for it last year15:48
Patrick`yeah, I'm trying to run it now15:48
llnzPatrick`: it probably isn't as well documented as it should be15:48
Patrick`it's dependant on a net library that needs to be installed from a deb, but isn't being recognised15:49
Patrick`and the process for building my own is an exercise in actually making me not want to be here15:49
Patrick`plus if I was doing a python project, I'd pretty much be asleep when mithro was up so it wouldn't be that great15:49
llnzinstalling for packages should work, but most people runs run from source15:49
Patrick`yes, but even running the server script is whining about a missing package15:50
Patrick`or a missing import15:50
Patrick`or something15:50
llnzJLafont: are you around?15:50
Patrick`I'll come back to it later15:50
Patrick`I need a break before i punch something15:50
Patrick`haha!15:55
Patrick`syntax error in the requirements script15:55
Patrick`*fix*15:55
llnzcool15:55
Patrick`it's Not Just Me Being Thick15:55
*** shrink has quit IRC15:56
*** shrink has joined #tp15:56
Patrick`do kindly ignore the petulant whining in the last page15:57
Patrick`I still haven't got it to work, butnow I'm actually doing something that *feels* useful15:58
*** Gaurav__ has joined #tp15:59
ezodwe should probably make libtpproto-py a submodule of tpserver-py for inplace, like tpclient-pywx and daneel-ai16:05
Patrick`yes16:08
Patrick`in this instance, it's trying to import libtpproto-py files from "tp.netlib"16:08
Patrick`but tp is a subdir of the folder where the requirements script is :)16:09
ezodi would have thought it would continue on to site-packages if it didn't find it there16:09
Patrick`nope16:10
ezodbut my assumptions about python importing have been burning me lately :(16:10
Patrick`manually running the import command works in every folder except there16:10
Patrick`yeah16:10
Patrick`that was one of the first things I got stung by16:10
ezodwell tpserver-py is running for me16:11
ezodi symlinked netlib from my libtpproto-py checkout16:11
Patrick`yeah, that'd work as well16:12
Patrick`I'd rather fix the script, it'll get me back into practice16:12
ezodi'll see about getting that submodule in properly later16:12
ezodnote that when installed tpserver-py will work fine (as it also lives in site-packages then)16:13
Gaurav__hi llnz :)16:13
llnzhi Gaurav__16:13
Gaurav__just going through the persistence code16:14
Patrick`yeah16:14
*** shrink has quit IRC16:15
*** shrink has joined #tp16:15
CIA-65mavrinac tpserver-py-dronesec * rdb0315868ea4 /setup.py: Removed tpserver-py-turn from scripts as it does not exist.16:35
toteuser accounts, are those server specific or game specific?16:43
ezodthere's a distinction?16:46
totehmm, i guess not, nvm :)16:49
ezodat least i don't think there is currently16:50
ezodPatrick`: looks like dronesec branch of tpserver-py is what you want to use btw16:52
ezodit isn't just a ruleset branch - it has that submodule, among other things16:52
Patrick`so it's likely that any future work would build on from that if it was gonna get merged16:54
ezodyeah16:54
Patrick`now, I've not used git before, but I'm aware of how it differs from svn/what makes it awesome16:55
Patrick`so I'm thinking it could look in the main repository and not find that branch - does it live with someone?16:55
Patrick`aha, no, it's on the wiki16:56
Patrick`mwaha16:58
Patrick`ok, so this was a previous SoC and it's a unique ruleset as well as some other changes16:58
Patrick`oh I tell you what, dronsec reminds me of an indie game I played last month called dyson16:59
Patrick`it wasn't deep, it was realtime16:59
Patrick`but it was art.16:59
Patrick`JLafont: heard of it?17:00
ezodPatrick`: git checkout -b dronesec origin/dronesec17:04
Patrick`yeah, no, I'm in it now17:04
ezodoh ok17:04
Patrick`but cheers17:04
*** Gaurav__ is now known as Gaurav__sleeping17:05
*** bcarlyon has joined #tp17:07
*** bcarlyon is now known as BCarlyon17:07
*** Gaurav__sleeping has quit IRC17:11
Vadtechi all17:18
* BCarlyon waves17:20
VadtecJLP / llnz: either of you active?17:21
llnzyes17:21
Vadtechi17:21
JLPVadtec: barely17:21
Vadtec:o17:21
Vadteci have a question17:21
Vadtecis it ok if I post my application in the wiki so I can track changes to it?17:21
JLPVadtec: yup17:22
llnzsure17:22
JLPVadtec: youple of people did it the same way last year17:22
Vadtecyeah17:22
Vadtecthats why i was asking17:22
Vadteci didnt know if the staff had placed them there or not17:23
Vadteci apologize for the lack of flow in my proposal, im not very good at writing them17:25
JLPVadtec: no worries, we'll help you beat it into shape :)17:28
JLafontalrighty, back from work17:34
JLafontPatrick`: No I have not, lemme google it17:34
Patrick`JLafont: very pretty, worth an hour of your time17:37
Patrick`http://www.dyson-game.com/17:38
tpbTitle: Dyson (at www.dyson-game.com)17:38
*** Azkar has joined #tp17:38
*** Jens_Lauble has joined #tp17:42
Jens_Laubleirc://irc.freenode.org/#tp17:43
llnzwelcome Jens_Lauble17:44
*** Jens_Lauble has left #tp17:45
Vadtecugh, i have algebra AND english to finish tonight17:46
Vadtecat least algebra is only a few problems...they just take 1.5 pages to work17:47
Vadtecok, im getting this algebra outta the way, cause the english is due by 2345 tonight17:50
JLPnice Eugene Tan and TP mentioned in the news about GSoC → http://www.zdnetasia.com/news/software/0,39044164,62052477,00.htm?scid=rss_z_nw17:50
tpb<http://ln-s.net/33mB> (at www.zdnetasia.com)17:50
ezodcool17:51
llnzvery cool17:52
Patrick`cool17:54
*** nash has joined #tp18:02
*** Epyon has joined #tp18:14
*** peres has joined #tp18:41
*** Noughmad has quit IRC18:48
*** Azkar has quit IRC18:50
*** whollycow has quit IRC19:38
*** mhilmi has quit IRC19:41
*** mhilmi has joined #tp19:42
*** Greg____ has joined #tp19:56
*** mithro has quit IRC20:02
*** mithro has joined #tp20:24
*** shenki has quit IRC20:33
*** Greg____ has left #tp20:37
totemithro: you there? how would i use the cache in libtpclient-py?20:54
tanselltote, you mean directly?20:59
tansellrather then a mysql db?20:59
toteyes directly and just store it in memory21:04
tansellsee libtpclient-py/tp/client/cache.py21:06
verhoevenvOr see it used in daneel-ai.21:07
tanselltote, if you did end up using it directly you probably want to optimise it so you don't have to load the whole thing into memory21:07
totewhy wouldnt i want to load the whole thing into memory?21:11
llnztote: it could be quite large21:21
llnzbut most AI methods require (or run better) with all infomation in memory anyway21:22
verhoevenvI dunno. It can't be a lot larger than what you transfer between server and client.21:26
verhoevenvAnd you don't want that to be of the order of megabytes I'd assume...21:26
*** shenki has joined #tp21:26
verhoevenvNight all.21:29
*** verhoevenv has quit IRC21:29
totewhen i join the demo game with tpclient-pywx, does it download the whole universe then?21:29
llnztote: it does21:29
toteand if im doing a webclient, i would be able to just let one users connection do that, and the other users can get the universe data from a cache?21:31
shenkillnz: have you stumbled across the shave patch? would it help if i re-tried posting it to the list?21:31
llnzshenki: you could either give me a url to the repository it's in, or post the patch directly to me21:32
llnztote: no, each user has a different view of the universe21:32
totellnz: hmm, thats a problem then :)21:34
shenkillnz: http://gitorious.org/projects/tpserver-cpp/repos/mainline/logs/pretty-build21:36
tpb<http://ln-s.net/33q-> (at gitorious.org)21:36
llnzshenki: can i give git that url?21:36
shenki(i wonder if the message never made it to the list because the patch was too large)21:36
shenkillnz: the git url is git://gitorious.org/tpserver-cpp/mainline.git21:37
shenkiyou want the 'pretty-build' branch21:37
llnzok, i'll give that a go tonight21:40
shenkicheers21:41
totellnz: so if 10 users are connected to the webclient, and there is a new turn, they all update the universe, so i need to keep a cache for every user or else there would be lots of traffic between gameserver and webclient?21:41
llnzyes21:41
shenkillnz: instead of grabbing the branch, you could also just cherry-pick 063eb15241960f9cb44696fad8691435b1538b7121:42
shenkias it's only one commit21:42
llnzby using the cache, you reduce the traffic between the webclient and the server21:42
llnzshenki: will do21:42
cherezWhat the blazes is a semi-signed integer?21:44
cherezmithro: You are mad with power!21:45
llnzcherez: it's an unsigned integer that the maximum value (ie, -1) is special21:46
cherezAh, I see.21:46
shenkiso you can't really store 2^32 values, it's 2^32-1? (the top one reserved to represent -1?)21:47
llnzyes21:47
shenkiinteresting21:47
* shenki has not heard of such a beast before21:47
shenkiis it a c++ thing?21:47
llnzshenki: nope, mithro made it up21:47
cherezIt's a libtpproto thing, it seems.21:47
shenkihaha21:48
shenkicherez: +1 to mithro being mad with power :)21:48
cherezSweet.21:48
llnzin tpserver-cpp there is a #define for the value of it21:49
llnzi think it's in libtpproto-cpp as well21:50
totellnz: yes, thanks, gonna rethink a small part of my proposal :)21:50
llnztote: it does complicate some things, but makes some things easier21:51
toteindeed :)21:54
nashllnz: I will note however ALL the user of semi-signed int could be replaced by MAX_UINT, and it would make a hell of a lot more sense, without having to come up with new terms to describe an error code.22:04
llnznash: true, i didn't suggest it22:05
nashllnz: And it also means you don't have this magical ambiguity over data-types on the wire... but that's another issue22:07
llnztpserver-cpp and libtpproto-cpp treat Sint32 as uint32 and Sint64 as uint6422:08
llnzno real ambiguity22:08
nashyes, they should... just the protocol spec makes it ambiguous.22:10
*** peres has quit IRC22:18
*** bddebian has quit IRC22:57
*** rsisnett has joined #tp23:13
*** Gaurav__ has joined #tp23:13
rsisnettHi, Could anyone help me with a weird error in libtpproto while compiling parsek?23:15
llnzrsisnett: i assume you mean libtpproto-cpp?23:16
rsisnettyes, I indeed23:16
rsisnettyes indeed*23:16
llnzi can try to answer you question (since i wrote libtpproto-cpp), but I will be away for an hour or so soon23:17
rsisnettok hope it's simple23:21
rsisnettrsisnett mainwindow.cpp:125:cannot allocate an object of abstract type 'LoggerWiidget':23:21
rsisnett loggerwidget.h:30: note: because the following virtual functions are pure within 'LoggerWidget':23:22
rsisnett logger.h:26: note: virtual void TPProto::Logger::error(char*, ...)23:22
rsisnett logger.h:33: note: virtual void TTProto::Logger::warning(char*, ...)23:22
rsisnett I know what that means, but why is this happening?23:22
llnzit might be that the interface (ie, the baseclass) changed23:22
llnzthe loggerwidget logs messages from the library23:22
llnzimpement the missing methods23:23
llnzs/impement/implement/23:23
rsisnettmmm ok23:25
rsisnettthank you23:25
llnzbbl23:41
*** llnz has quit IRC23:42
*** whacky has joined #tp23:47
*** konr has quit IRC23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!