Sunday, 2009-03-22

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
mithrodamn tpb being down means we have lost all the above logs :(00:01
cherezNope. :/00:01
mithrocherez: what if you put the return just before the layout call?00:02
cherezThe last line of the function?00:03
mithroyes00:03
cherezStill crashes.00:03
mithrookay remove the if/hide/show lines00:04
mithro(the label ones)00:05
mithrostill crash then?00:05
cherezStill clashes.00:06
mithrowhat if you remove the .Clear line?00:06
cherezStill.00:07
mithroso all you have left if the for opt in paramlist?00:07
mithros/if/is/00:08
cherezYeah.00:08
mithroso it must be something in there which is causing the crash, right?00:09
mithroif you put a return in this function it doesn't crash right?00:10
cherezIt looks like the SpinCtrl.00:12
cherezI commented out the SpinCtrl line and adding the SpinCtrl and it seems to work now.00:13
mithrooh, if you remove the SpinCtrl it stops crashing?00:13
cherezSeems so.00:13
mithrocan you revert the file all the way back00:13
mithroand just do that edit00:13
mithroand see if it still crashes/works00:13
cherezIt displays that panel now.00:15
mithrookay00:15
mithrodo you have the wxDemos installed?00:15
cherezDoesn't look like it.00:17
mithrocan you install that?00:17
mithroand see if the SpinCtrl demo crashes00:17
cherezWorks fine.00:20
mithrocherez: the SpinCtrl demo works fine?00:20
cherezAs did the SpinCtrl in the server configure panel.00:20
cherezYeah.00:20
mithro:(00:20
CIA-65mithro tpclient-pyogre * r7678bf378c8b / (5 files in 2 dirs): Added submodules for the Thousand Parsec requirements.00:26
*** Azkar_ has joined #tp00:38
*** llnz has joined #tp00:52
mithrohey llnz00:52
llnzhi, just dropping in a for moment00:53
mithrollnz: would you be able to look at shenki's patches sometime?00:53
llnzhopefully will be back later00:53
mithrollnz: okay00:55
CIA-65mithro tpserver-cpp * r2ab2a24c427a /win32/ (README build-for-windows tpserver-cpp.bat): Instructions for how to crosscompile for windows.01:00
llnzbbl01:09
*** llnz has quit IRC01:09
*** rsisnett has joined #tp02:15
*** rsisnett has left #tp02:31
*** llnz has joined #tp02:38
*** peres has joined #tp02:47
llnzjust had a look at the patches02:54
llnztwo are incorrect (program depends on side affects)02:55
* llnz hangs abouts for student questions04:15
*** Gaurav__ has joined #tp04:45
Gaurav__hi llnz04:45
llnzhi Gaurav__04:45
Gaurav__i mailed you about persistence module04:45
Gaurav__have you checked it ?04:46
llnzi haven't received it yet04:47
llnzi had a small mail issue earlier though04:48
Gaurav__sorry but i mailed it on your tp and parsec.net id04:48
llnztry sending it directly to [email protected]04:49
Gaurav__i mailed at [email protected] and [email protected]04:50
llnzok04:50
llnzhow long ago?04:50
Gaurav__atleast 4 hours ago04:51
Gaurav__can you give some gmail or other id ?04:51
llnzjust try again04:52
llnzmy paradise account is my gmail id04:52
Gaurav__[email protected] ?04:53
llnzno04:53
llnzi have no gmail account04:53
Gaurav__ohk i am resending04:54
Gaurav__your jabber id is also not working04:54
Gaurav__i sent it04:55
Gaurav__or we can discuss here04:55
llnzjabber is not email, it an IM network04:55
Gaurav__i have done a lot with postgresql04:55
Gaurav__and saw your persistance module04:56
llnzcool04:56
Gaurav__i have done something like your that module04:56
Gaurav__is there any other way to send you the content of mail ?04:57
llnzi have it now04:57
llnzfiltering through my mail system now04:58
Gaurav__can i paste content in pastebin hete ?04:59
Gaurav__*here?04:59
llnzreading you mail04:59
Gaurav__:)04:59
Gaurav__thanks you got it04:59
llnzlink to pastebin is fine04:59
llnzok05:00
Gaurav__read my mail ?05:00
llnzthe specification of the data is the effectively the various classes passed to the Persistence API05:01
llnzhave a look at persistence.h05:01
llnzthe persistence module will have to implement it05:01
Gaurav__it is mysqlpersistance.h ?05:01
llnzno05:02
llnztpserver/persistence.h05:02
Gaurav__ohk05:02
llnzi can paste a link to it online if you like05:02
Gaurav__no i got it05:02
llnzcool05:03
Gaurav__you want to do same thing done in mysql using postgresql and sqlite05:03
Gaurav__isn't it ?05:03
llnzyes, but better if possible05:03
llnzmaybe even merge them together05:03
Gaurav__or it would e better to make it generic05:04
llnzyeah05:04
Gaurav__i think we can replace mysql also05:04
Gaurav__but let first go for seprate implementation05:04
llnzok05:04
Gaurav__on more question05:05
Gaurav__*one05:05
Gaurav__how much this project is important for you atm.05:05
Gaurav__means i saw somewhere developer rank their project also05:05
Gaurav__is it ?05:06
llnzit's not currently a high priorty, but still a valuable project - especially sqlite support (and/or generic SQL/odbc support)05:08
Gaurav__ohk05:09
llnzit could be close to the leading project in tpserver-cpp05:11
* llnz wanders off05:35
llnzlater all05:35
*** llnz has quit IRC05:35
*** gab32 has joined #tp05:57
*** [GSoC]zack_pl has joined #tp06:22
*** [GSoC]zack_pl has quit IRC06:25
JLPgood morning everyone06:43
*** euschn has joined #tp07:27
euschnhi, Im euschn and I would like to be a GSoC student for thousand parsec07:28
euschnI just want to introduce myself quickly and ask one or two questions if thats ok07:29
euschnmy main question is about workload estimation, in short whether a GSoC project is mandatory to be full time or whether it is doable parttime07:30
euschnim asking because I will have some university stuff to do at the start of the project, say till mid of june, which means I would not be able to do more than 20-25h a week in this period07:31
*** skiff has joined #tp07:31
euschnlater on, I can most likely spend more time on it07:32
euschnjust wanted to ask that straight away so I know if its worth to make an application even07:32
JLPeuschn: hi and welcome, sorry for late response, i was away07:39
euschnthanks07:39
JLPeuschn: the time during gsoc is supposed to be full time (like something similar to 8 hours a day work, 40 hours a week)07:41
euschni see07:41
JLPthere is nothing wrong you are not able to work for some days during this time07:41
JLPas on job you can always bring in the lost hourst during the rest of the time07:42
JLPfor example on gsoc it is possible also to start coding before the official timeline says you should start07:42
euschnok07:43
*** Epyon has joined #tp07:43
euschnso in principal my schedule could work if I do more in the early period and try to catch up more later on07:43
JLPand well if you are a quick coder and get the hang of the project quickly those few days when you will be off will not be a problem07:43
euschni see, thanks for the clarification07:44
JLPyeah it could work, the main point is that you say in the application when you will not be able to work and how you will make up for this time07:44
euschnof course07:44
Patrick`what about multiple proposals for different things from the same person?07:45
euschnmy second question is more about game knowledge, how well do you have to know thousand parsec/4x? the closest game that I have played so far is starcraft, just recently found out about thousand parsec07:46
JLPyou can submit multiple proposals, sparately, but not too much of them as you have to concentrate to make the ones you submit as good as possible and each takes quite some time07:46
euschnbut the project is interesting and Id like to contribute (I am mostly interested in the hour ruleset idea at the moment)07:46
Patrick`yeah, I won't be able to give more than 5 or 6 hours to all my soc applications in total07:47
Patrick`and I just want to do two or three good ones07:47
Patrick`if I've already done the background reading on TP then I can get 2 proposals for less time than 2 different projects :)07:48
Patrick`I'll just ask, if I haven't done sample code/spent 10 hours hacking TP, will I still be treated seriously?07:48
JLPeuschn: well the better you know tp/4x the better, so if you have no previous experience with this this again adds more hours to the research part of preparing the application07:48
euschnok07:49
JLPand yes as Patrick`said07:50
EpyonJLP, let's say that the question is out of plain curiosity, is there any interest still in EliteSec07:50
Epyon?07:50
mithrohey Epyon07:52
mithroEpyon: nash was the biggest proponet of that and he hasn't been around much recently07:52
Epyonhey, mithro, how's life :)07:52
mithroEpyon: busy, I'm about to head to bed07:52
mithroEpyon: an idea what might be up your ally is the "visual ship designer" ala spore07:53
mithroIE make it easier for non-artists to make (purely cosmetic) ship designs07:54
EpyonIs there somewhere a list of proposals?07:54
mithrohttp://www.thousandparsec.net/wiki/Ideas_for_Programmers07:55
tpb<http://ln-s.net/1ZnB> (at www.thousandparsec.net)07:55
Epyonthanks07:56
mithrohttp://www.thousandparsec.net/wiki/Ideas_for_Programmers#3D_Client07:57
tpb<http://ln-s.net/32jc> (at www.thousandparsec.net)07:57
mithrothat is the very section you are probably interested in07:57
Patrick`mithro: just one quick Q, what about updating the python server to support more of the things that the cpp server does?07:58
mithroPatrick`: what features do you think tpserver-py is missing?07:59
Patrick`well, it seems to support less rulesets - and the twisted proposal talks about a webserver as though it were part of the cpp server08:00
Patrick`I logged into the example server and there was certainly on the fly access of graphics08:00
Patrick`I know, that doesn't make me sound like I'm read/educated about TP and how it works - but it's the time!08:01
mithroPatrick`: that is downloaded from our media repository08:02
mithronot from tpserver-cpp08:02
Patrick`ah ok08:02
mithrotpserver-cpp certainly doesn't support downloading battlexml/media natively yet08:02
mithrounless llnz snuck it in while I wasn't looking :P08:02
Patrick`heh08:03
mithrohave you had any experiance with twisted?08:03
Patrick`see, that's the thing08:03
Patrick`it's "no but"08:03
Patrick`as in, I wrote a multi-connection network server from scratch a while ago and started porting it08:04
Patrick`but then never finished08:04
Patrick`then my previous SOC already had networking components08:04
mithrotwisted is fairly complicated08:04
mithrounless you can demonstrate good knowledge of how to do it, I would be warey of taking it on08:04
mithroI have attempted twice and failed08:05
Patrick`righto08:05
Patrick`well, I can't demonstrate any new capabilities in the available time, so what I have is ... interesting08:05
Patrick`I'm going to have to learn a lot more about tp before I can formulate a decent proposal and I want to give you that time08:06
Patrick`but it won't be enough08:06
mithro4-5 hours should be enough to download tpclient-pywx, play a game or two of single player risk and write a decent proposal - maybe even some code08:07
Patrick`aright, I haveclient and servers downloaded already, I'll give it a whirl08:08
mithro4 steps to get single player working08:08
mithro1) clone tpclient-pywx08:08
mithro2) clone tpserver-cpp08:08
mithro3) clone daneel-ai08:08
mithro4) build tpserver-cpp08:08
mithro5) start tpclient-pywx and start playing08:09
Patrick`ok, so I'll need a cpp dev environment08:09
Epyonmithro, actually I've been working on writing linux servers the last half year, so my skills have widened ;)08:09
mithroEpyon: your skills with graphics would make you well suited towards things which also need graphics to show off :)08:10
Epyon:)08:10
EpyonIt's nothing sure, but I'm currently wondering about quiting work for summer ( after summer I plan to take some other job anyway ), so I was wondering wethre apply to GSoC again.08:11
mithroezod: I'm assuming that you are asleep - but you'll probably check the logs08:16
mithrocherez was having a similar problem to your crashing - he runs on gentoo too08:16
mithroezod: can you figure out the correct solution and commit it?08:16
*** euschn has quit IRC08:19
Patrick`take it daneel is an asimov reference08:24
mithroof course08:24
mithroit's a rules based AI08:24
mithroanyway I'm heading to bed08:25
mithrognight08:25
Patrick`will ubuntu "just work" for a dev environment?08:37
mithroPatrick`: should do08:42
JLPPatrick`: yeah should work, you might just need to install some additional packages08:42
Patrick`yeah08:49
Patrick`not up for faffing with cygwin again, I'll just resurrect my dual-boot08:49
Patrick`especially since e.g. libtp* is in the repos08:49
Patrick`annoyingly, in the next week I have 10 tutorials, and working for them will take precedence08:52
Patrick`byebye video games :(08:52
Patrick`er, apart from games of the 4x type08:52
skiffPatrick` : ubuntu is just fine, you just need to apt-get few g++'s, autotools, toolkits, etc. and you are set. Everything is better than working on remote shool box through windows X server on 3 seconds ping line :)09:00
Patrick`hehe09:01
Patrick`yeah, this is the first year I've not run my own server as well as a desktop09:02
*** mithro has quit IRC09:16
*** tacomablack has joined #tp09:20
JLPtacomablack: wb09:27
*** Gaurav__ has quit IRC09:27
tacomablackhows it going09:34
JLPtacomablack: got some high temperature, so i hope i don't get sick09:37
JLPalready drinking hot tea with lemon, just in case :)09:38
Patrick`mmm09:38
*** whacky has joined #tp09:43
tacomablackoh09:45
JLPwhacky: hello there09:48
whackyJLP:hello09:54
JLPwhacky: i presume you're also here for gsoc?09:57
whackyJLP:yes10:01
JLPwhacky: cool, has any project from the ideas list cought your eye already?10:04
whackyJLP:I heard about this project from a friend.just looking through the ideas.10:06
* Epyon looks at the 3D client screenshots10:53
Epyonomg, those models look familiar :P10:54
*** tacomablack has quit IRC10:54
JLPEpyon: yeah, some cool guy did it some time back :)10:56
EpyonThat guy forgot to texture them though :P11:01
* Epyon wants a list of needed models11:01
*** gab32 has quit IRC11:13
*** [GSoC]zack_pl has joined #tp11:19
[GSoC]zack_plhi11:19
skiff[GSoC]zack_pl : oh, this is a neat idea ..11:21
*** skiff is now known as skiff[GSoC]11:21
[GSoC]zack_plhmm my idea for Google Summer of Code is to make 3d editor for space ships (something like in Spore)11:22
* skiff[GSoC] thanks zack_pl, just changed the order for better tab autocomplete11:22
totetoo bad the name idea doesnt really work if you idle in other channels :P11:23
[GSoC]zack_plhmm i am new to irc11:24
[GSoC]zack_plactually last time i used it it was in primary school :D11:24
[GSoC]zack_plwell what should i do?11:24
toteabout irc or your idea? :)11:24
[GSoC]zack_plwhich mentor should i talk to?11:24
[GSoC]zack_plabout my idea11:25
[GSoC]zack_plfor GSoc11:25
skiff[GSoC][GSoC]zack_pl: JLP is probably around here somewhere, just post it here and he (or any of the other mentors) will pick it up eventually11:25
[GSoC]zack_plok11:26
[GSoC]zack_plmy 3d ship editor would work like this:11:27
[GSoC]zack_plfirst you pick body of yopur ship11:28
[GSoC]zack_plfrom list of simple pre-defined solids (like in Spore)11:28
[GSoC]zack_pltha you pick details (engines, weapons, wings and such)11:29
[GSoC]zack_pland put them on the body in any place you want11:29
[GSoC]zack_pljust like in spore11:30
[GSoC]zack_plthe most interesting part is edition of body end other modules11:31
[GSoC]zack_plin spore you can pull those 3d arrows to change shape of those modules (or body parts)11:32
JLP[GSoC]zack_pl: i'm here now, was having lunch11:32
[GSoC]zack_plok11:32
[GSoC]zack_plhi11:32
[GSoC]zack_pli am trying to tell about my idea11:33
[GSoC]zack_plits kinda hard when i cant draw anything :D11:33
[GSoC]zack_plwell - in Spore you can change scale, orietation and other details of what i call modules (body parts etc)11:34
[GSoC]zack_pli think that the easiest way to do this is to something like this:11:35
[GSoC]zack_plyou load mesh (lets say its a kind of a weapon)11:35
[GSoC]zack_pllets say the file nem we store mesh in is something like "weapon_base.msh"11:36
[GSoC]zack_plthan we load modified version of the same mesh from file: "weapon_A.mesh"11:36
[GSoC]zack_plits the same mesh - same number of vertices and triangles but vertex position are different11:37
totewouldn't that be an unlimited number of weapon_x.mesh?11:38
[GSoC]zack_plyes!11:38
[GSoC]zack_plthats what i am saying11:38
[GSoC]zack_plmodeller makes as may versions of this weapon as he want11:39
[GSoC]zack_plone is longer11:39
[GSoC]zack_plone thicker11:39
[GSoC]zack_plthe more meshes he create the more "factors" we can control11:40
toteoh sorry, i was thinking something more dynamic ingame, but you are talking about an editor :)11:40
[GSoC]zack_plyes in editor11:40
[GSoC]zack_plingame you have just one final mesh11:41
[GSoC]zack_plbut let me finish11:41
[GSoC]zack_plhow do you create final mesh?11:41
[GSoC]zack_plyou interpolate between mesh_base and mesh_A11:41
[GSoC]zack_plsomething like this: final_mesh = interpolate( mesh_base, mesh_A, factorA );11:42
[GSoC]zack_plwhere interpolate: does something like this: for(int i = 0; i< num_vertices; ++i) result[i] = interpolate_vertex( mesh_base.get_vertex(i), meshA.get_vertex(i), factorA )11:44
[GSoC]zack_plthats hust simple morphing between 2 meshes11:44
[GSoC]zack_plit doestn create animation or anything but just creates a mesh that is something in between mesh_base and mesh_A11:45
[GSoC]zack_plnothing special here11:45
[GSoC]zack_plthe most challenging part is to do this interpolation beteween more that 2 meshes11:45
[GSoC]zack_plsay: mesh_base, mesh_A, mesh_B, mesh_C, ...11:46
*** w0m has quit IRC11:47
[GSoC]zack_pli have some ideas for solving this for example you dont store modified meshes (mesh_A, meshB, ..) as points but as vectors - which are offsets between mesh_base and modified mesh11:47
[GSoC]zack_plthat interpolation look like this: fina_mesh_vertx = base_mesh_vertex + factorA * mesh_A_offset + factorB * mesh_B_offset + ...11:49
[GSoC]zack_plwhy do i want to use meshes instead of just scaling base mesh with simple matrix tranformations?11:49
tote[GSoC]zack_pl: sorry to interrupt, but you should copy and paste all this in to a document, rewrite it to a document format and publish it, might be easier to follow and for people to get a general idea, then discussion can take place :)11:50
[GSoC]zack_plok11:50
[GSoC]zack_pli post it on forum11:50
JLPgood idea yeah11:50
JLPyou could then also use all this directly in application11:51
whackyJLP:hello once more11:56
JLPwhacky: ahoy11:57
whackyI am interested in contributing to thousand parsec.I am learning Pygame.Can I do something with this?11:58
JLPwhacky: can't say as i don't know it and if it is used in tpclient-pywx12:01
JLPwhacky: it's probably best to wait for mithro to come here and talk to him12:02
whackyJLP:Pygame is a module in python for creating games.Else which module is used to create games in python?12:03
[GSoC]zack_plJLP: yes you can use it in-game like in Spore12:04
JLPwhacky: best to check the code yourself and see12:05
[GSoC]zack_plbut since you have many different clients in need good plannig12:06
JLPwhacky: judging from requirements i can see it imports pygame, so it already does use it for something12:06
JLPat least for intro video windows i guess12:06
[GSoC]zack_pland i wanted to ask thich mentor should i talk to about such topic?12:09
[GSoC]zack_plthis software could be used as in-game editor or separate application12:09
[GSoC]zack_plit could edit ships, planets, aliens, building12:10
[GSoC]zack_plalmost everything - like in spore12:10
[GSoC]zack_plbut for now i want to focus only on ships12:10
[GSoC]zack_pli post it in more detail on forum12:11
JLP[GSoC]zack_pl: don't know which mentor would be the best to talk to about the 3D stuff, Eugene Tan (jmtan)  maybe and Epyon (not a mentor) also knows quite a bit about 3D stuff12:16
whackyJLP:From where can I download source code of some games?12:17
JLPwhacky: from our git repository12:18
whackyJLP:could you give me the URL?12:24
JLPwhacky: you should do more reasearch on yourself, reading through our developers pages on the website and wiki pages, it shoukd give you all links and info needed12:25
JLPwhacky: selfiniciative is a very important point when selecting students for GSoC12:26
JLPand in life in general12:27
CIA-65mavrinac libtpclient-py-stable * ra3caeeea8ae4 /tp/client/ (SinglePlayer.py killableprocess.py subprocess.py):12:29
CIA-65Use subprocess module from Python 2.6 for killable processes.12:29
CIA-65According to PEP 324 this is compatible with Python 2.2 and up.12:29
*** Azkar_ has quit IRC12:36
*** whacky has quit IRC12:39
*** jernejovc has joined #tp12:49
*** skiff[GSoC] has quit IRC12:50
*** peres has quit IRC13:14
EpyonJLP, any chance of that list someday? ;)13:44
EpyonBTW, I could do probably direct exports to OGRE's .mesh files13:44
JLPEpyon: hm list for models? well hm prbably we should go throught all the existing rulesets and make a list of all components13:49
*** jdrake has quit IRC13:55
*** [GSoC]zack_pl has quit IRC14:21
*** mhilmi has joined #tp16:19
JLPmhilmi: ahoy there16:19
*** llnz has joined #tp16:22
mhilmiyello16:26
*** skiffcz-gsoc has joined #tp16:26
JLPmhilmi: did gsoc bring you to our little corner?16:27
llnzmorning16:28
mhilmiindeed. seems like an interesting project16:28
mhilmihow complex a task do you think finishing the parsek client is? Im a C++ programer and familiar with QT, but not really KDE..16:29
JLPllnz: morning16:29
llnzhi JLP16:29
totehey llnz, you dont happen to know if there was a webclient project in gsoc 2007 and if so, what happpened to it?16:30
JLPmhilmi: it should be easy to do it in 3 months, but it's hard to estimate for other people16:31
llnztote: student droppped out because of other commitments16:31
JLPmhilmi: hack, it's even hard to do that for oneself :)16:31
totellnz: okey, and a webclient would still be a good project for tp?16:31
llnzyes16:32
mhilmiI suppose you are right... something that looks easy is always deceiving in the end :P16:32
llnzit should still be on the ideas page16:32
mhilmitote : ya i saw it on the page16:32
totegreat :D16:32
JLPmhilmi: the parsek task is quite modular, so it would be hard to not do the basic modules in 3 months and in case you do nicely and get hang of it you can always fill additional time with additional features16:33
*** Epyon has quit IRC16:33
JLPmhilmi: and also you can do stuff in Qt for startes, and only later gradualy integrate more into KDE and use KDE specific stuff16:35
mhilmiya Im used to doing my development on windows so thats the one part that has me worried :P16:36
mhilmiit says on the wiki that Parsec is designed for KDE4 but should run multiplatform. are any of those builds available for dl?16:38
JLPmhilmi: should be no problem to use windows I guess, maybe it would be even positive as finally someone could make sure it works on windows to16:38
JLPand KDE also now has KDE libraries and stuff for windows so probably it can be done completely on windows16:39
JLPmhilmi: nope i only have linux here, and there was no release so far yet so i didn't bother to make windows binaries16:39
JLPmhilmi: not even linux packages :)16:40
mhilmiOk I'll try to grab the source there anyway and have a look at it.16:41
JLPmhilmi: btw, i think there is nothing specific to kde in current code, only a few Qt classes were replaced with KDE ones but it should be no problem to just rename those classes back to Qt ones and it should work more or less the same16:41
* JLP prepares himself another hot tea with lemon16:47
*** Vadtec has joined #tp17:10
JLPVadtec: welcome17:10
Vadtechi17:10
JLPVadtec: looking for some gsoc fun?17:11
Vadtecactually yes :P17:11
Vadtecthough im not sure what yet, still looking over the list of "ideas"17:11
JLPVadtec: cool, take all the time you need to find out what would interest you the most17:12
Vadtecall of it actually, but my experience with python is limitted (more like noob level) and my experience with GUI stuff is only slightly more than my python experience17:13
Vadtecaside from GSoC, this looks like an interesting project17:15
Vadteci love these sorts of games17:15
JLPVadtec: glad to here, that's why we're here :)17:15
ezodVadtec: there's lots of C++ stuff as well, and groundwork for other languages (java, ruby, php)17:16
Vadtecyeah, ill have to brush up on C++ again, im mostly a C coder17:17
Vadtecand php for web stuff17:17
JLPVadtec: ah there's even a C client there17:17
Vadtecyeah, im lookin at it right now17:18
* ezod heart C17:18
*** peres has joined #tp17:18
Vadtec<3 C, its a pain in the ass to get anything done *quickly* but you cant beat it otherwise17:18
ezodalthough i am definitely a python convert17:18
Vadteci like python, i just havent had time to devote to converting17:19
ezodbecause you're spending all your time mallocing in C :P17:19
Vadteclol17:20
Vadtecto true17:20
skiffcz-gsoc:)17:21
Vadtechmmm17:23
Vadteci think ill DL this AI client in C and compile it up17:24
Vadtecsee if I can get a feel for what its like17:24
Vadtecit in C, and its AI, both of which i enjoy (AI theory at least)17:24
*** verhoevenv has joined #tp17:24
ezodVadtec: which one?17:25
Vadtecjust so long as it doesnt involve lots of graphics....i suck at graphics17:25
Vadtecezod: the one from the ideas list17:25
Vadtechttp://git.thousandparsec.net/gitweb/gitweb.cgi?p=galaxie.git;a=summary17:25
tpb<http://ln-s.net/32r-> (at git.thousandparsec.net)17:25
Vadtecthats its link17:25
VadtecClient with inbuilt AI, written in C. <--- in the wiki list17:25
ezodah, i forgot it had an ai built in17:26
JLPezod: yeah, ve're getting to big :)17:26
Vadtecive never really done AI programming in a game sense, but its intriguing17:26
Vadtecoh, git, i guess i better install git17:28
skiffcz-gsocmay I ask? the ubuntu repositories work? my apt seems to have problem finding them :(17:32
Vadtecive been doing system programming *way* to long, i dunno if i could flounder about in gui programming without sinking very fast17:33
JLPskiffcz-gsoc: they should work, the only thing that doesn't work and you can ignore is the missing asc file17:33
Vadtecwell, not system, just daemon/console17:33
skiffcz-gsocFailed to fetch http://packages.thousandparsec.net/intrepid/dists/intrepid/universe/binary-i386/Packages.gz  404 Not Found17:34
skiffcz-gsochm, lets do this from source, I was planning to download it anyways to have poke around and see your style17:36
skiffcz-gsocs/have poke/poke/g17:37
Vadtecyikes, this gui stuff would be beyond me....at least in the sense that im not familiar with the EFL17:42
Vadtecmaybe ill look at the plain AI clients...17:44
Vadtechmmm17:58
Vadtecone AI in C using EFL, one in Python (of which my experience is limitted) and one in Java (which i have nearly zero experience in and dislike as a language)17:59
ezodthere are 2 in python17:59
Vadtecok so two in python :P18:00
Vadtecwere I to use python, im sure I'd put my "python for the absolute beginner" book to heavy use...lol18:00
verhoevenvNot knowing a language should not be a barrier IMO... I didn't know any Python before starting on daneel last year.18:01
Patrick`python's an easy one to pick up18:01
verhoevenvYep.18:01
Patrick`being my first and only, it's somewhat hindered me elsewhere18:01
Vadteci know python, im just not as well versed in it as id like to be18:01
Patrick`"but but but ... what are { and } for?"18:02
*** Azkar_ has joined #tp18:02
Vadtecim one of those coders who knows a little about a lot of languages, but nothing concrete18:02
verhoevenvMmm. I knew Java almost inside out and had experience with C, Haskell and a few others... It all helped for Python.18:03
ezodVadtec: there was a recent ask slashdot that suggests that's the way to be :)18:03
ezodin terms of getting hired anyway18:03
Vadtecezod: indeed18:04
Vadtecyou can either be a vertical silo of a coder, or a jack of all trades coder18:04
Vadteci prefer the latter18:04
ezodyou learn new stack of APIs at each job/project anyway18:04
ezodbut once you're there you need to silo up ;)18:05
Vadtecthats still different than being a vertical silo coder18:06
Vadtecpoint in case18:06
Vadtec##c18:06
Vadtecthose guys are vertical silo coders (aka C purists)18:06
Vadtecimo at least18:06
Vadtec:P18:06
Landonis there a wiki page for getting started with developing ? or am I just blind18:07
verhoevenvLandon: Probably not... Though there's a lot of things to look at. Servers, clients, protocols, rulesets, ... Take a pick.18:09
LandonI'm just looking to check out the wxwidgets client18:09
Landontrying to figure out where I need to go to find the repo for that18:09
LandonI think I found it though :D18:10
verhoevenvI suppose that would be something like "git clone git://git.thousandparsec.net/git/tpclient-pywx.git"18:10
Landonthanks, I'm not very familiar with git either18:11
verhoevenvI've been using it for a year now and I'm still confused by it.18:12
Landonheh18:12
LandonI was introduced to subversion (and vcs in general) during last soc, so there are still a few things that fit in the "WHOA you can do that??" category18:13
Landonpush vs commit in git was one of those18:13
verhoevenvWell, it does make sense if you keep in mind you actually have a seperate local repository.18:14
Landonyeah18:14
Landonstarting to make more sense than subversion to me, so I've been thinking about moving my projects repos to git or hg18:15
Vadtecquestion18:20
Vadtecgrr, brb18:21
verhoevenvllnz: What kind of mess is this EOT/turn length stuff right now? We've got different cases for 2 or more players, length 0, players finished or not, ... Every time I run single player with my bot I'm getting a different outcome due to racing conditions. :/18:22
verhoevenvBot finishing the turn before the player joins and stuff like that.18:23
llnzverhoevenv: it works, mostly18:24
llnzi find it helpful to set the over_length to 10-30 seconds just to give breathing space18:24
Vadtecok, lamer dealt with, back to my question18:25
Vadtecim looking at verhoevenv's client, daneel18:25
verhoevenvHrmf. It all sounds a bit hackish.18:25
Vadtecwith respect to GSoC18:25
llnzverhoevenv: it probably needs some more documentation18:25
*** nash has joined #tp18:26
Vadtecwould there be any specific/particular thing that would need to be done for it18:26
Vadtecor could it be as simple as saying "make improvements to" it?18:26
Vadtecthis is my first go with GSoC, so i just wanna be sure i do things right18:26
verhoevenvVadtec: For GSoC, "make improvements" is too vague. You need a plan of what you will deliver.18:26
Vadtecwell i didnt mean it literally18:27
Vadtecid outline what i would do to it18:27
Vadteci worded my question badly18:27
verhoevenvWell, if you can list enough things that might be worth it.18:27
verhoevenvThough I think we're mostly impressed with complete projects.18:28
Vadtecright18:28
Vadtecim just trying to balance things out18:28
Vadteci plan on taking classes over the summer18:28
Vadtecso i cant be quite so ambitious18:29
verhoevenvFor daneel... I'm not too sure myself. One thing that needs to be done is speedup. Though that might require reading papers and doing study on the idea it is based on.18:29
verhoevenvProbably reworking it's internals quite a bit.18:29
verhoevenvWhich might be quite a crappy job. :P18:30
ezod"complete projects" can mean "improvements with a focus"18:30
ezodand we are trying to improve existing stuff mostly this year18:31
Vadtecthats what i was gathering from the idea list18:31
Vadtecmore stable rather than bigger18:31
ezodor bigger vertically as opposed to horizontally - more features, unit testing, etc. as opposed to new clients/ai/rulesets18:32
Vadteci should research unit testing....always wondered how it works internally18:33
Vadteci find my self looking at most of these idea and realizing my expierence with coding is more limitted than i originally thought18:36
skiffcz-gsocVadtec: me too, its this "wth? I must have entered a wrong planet, excuse me" .. but I guess its quite normal for everybody18:39
skiffcz-gsocand looking back on all of my previous school projects, it was always like this18:39
Landonyup :P18:40
Landonschool projects so far for me have been nothing compared to soc projects :\18:40
Vadteci guess where my percieved shortcomings are coming into play is ive never done any serious GUI programming and im not sure how my style of coding would be percieved in the real world18:41
verhoevenvI wouldn't worry too much about coding style... If the code is readable and it works, that's what we need. You'll be guided along the way by your mentor if there are problems.18:44
Vadtecyeah, i tend to code in a way that i can read almost in human terms, it doesnt make it the prettiest, but it can always be improved later18:47
llnzhi nash18:50
nashheyo lee18:50
nashHow is life llnz?18:50
llnznot bad, you?18:50
nashPretty goo18:50
nashg18:50
nashErh18:51
nashGood18:51
nashCrazy week last week, so a slow one this week18:51
llnzall my weeks a fairly crazy18:51
nashNah18:51
llnzthis one more so18:51
nashHad multiple deliverables last week - non this week18:51
llnzthough flying between cities on company time is nice :-p18:52
nashReally?18:52
nashThis is around the land of the long white cloud?  Not between say san fran, and sydney?18:53
llnzinside NZ18:53
llnzif it was between nz and another country i think i'd be expected to work on the flight18:54
nashHeh18:54
nashDepends18:54
llnzor sleep (not on company time)18:54
nashRed-eyes around the planet...18:54
nashyeah18:54
* llnz has the first release of the product he is leading in 3 weeks time18:55
nashAll good18:56
nashSo you are ready - just cleanups and the like?18:56
Vadtecverhoevenv: mind a pm?18:57
llnzmore or less, first release of 3 in 6 months (or so) of a product with 6 months of development already18:57
verhoevenvVadtec: No problem18:57
nashWe've got a new one very shortly too18:59
nashLots of doc and testing (and debugging I'm sure)18:59
nashStill, it's nice when it ships for the first time, and you get your first customer email ;-)18:59
*** didi has joined #tp19:00
*** gau_veldt is now known as gv119:02
*** gv1 is now known as gau_veldt19:02
llnzhi didi19:03
didillnz, Hi. :-D19:03
*** daniloaf has joined #tp19:08
daniloafhi all19:08
llnzhi daniloaf19:14
daniloaf:D19:14
daniloafI'm lookin for beeing a tp developer19:15
daniloafand also try GSoC19:15
llnzcool19:16
llnzand welcome19:16
Vadteci think is what i will do, ill finish compiling and installing tp and check it out (and hopefully not get to wrapped up in playing lol), and see where it leads me19:16
daniloafthx :D19:16
Vadtecthat means i gotta figure out why pkg-config isnt finding my glibc atm ><19:17
daniloafbut first I need to use it a little19:18
daniloafjust for learning19:18
daniloafant take a look at the code19:18
Vadtecoh der....im on my *BSD vps and it doesnt work the same as my linux box here at the house....BSD is annoying19:18
daniloafit's all based on Python and C++, right?19:19
*** Azkar_ has quit IRC19:19
daniloaf?19:20
JLPdidi, daniloaf: hi19:21
verhoevenvdaniloaf: I think so... At least the important parts. There's a Java client AI too.19:21
verhoevenv(and Java protocol library)19:21
daniloafhmm.. nice :D19:21
daniloafI'm installing tp-server py and cpp here19:22
daniloafto understand them19:22
*** mithro has joined #tp19:22
mithroezod: ping?19:23
*** mhilmi has quit IRC19:24
llnzdaniloaf: cool, if you have questions just ask19:24
llnzhi mithro19:24
daniloafllnz, ok, thanks :D19:24
mithrohey llnz19:24
mithrojust about to head to work19:24
mithrollnz: did you see the windows build instructions?19:24
llnzyes, but i haven't read them yet (even though i'm in windows right now)19:25
daniloafwhere can I find servers?19:27
llnzthe two demo servers are down currently19:28
daniloafoh.. :/19:28
llnzthey should be up in 32 hours (when I get back to better network access)19:28
llnzmight be 12 hours if we are lucky19:29
daniloafok19:29
daniloafllnz, hey... which tools will I need to develop for TP?19:29
daniloaflike.. Qt? KDE?19:30
llnzdaniloaf: depends on component19:30
daniloafhmm19:30
llnzthe server barely need anything (database is helpful)19:30
llnzthe clients depend on the toolkits (wx, EFL, KDE/QT, depending on which one)19:31
llnzmost things are cross platform19:31
llnzor mostly cross platform19:31
daniloafhmm19:32
daniloafseeing the ideas19:32
daniloafI became interested with some like MTSec19:32
llnzcool19:32
daniloafThe Universe in an Hour too19:33
daniloafand also their required skills (python and c++)19:33
daniloaf:D19:33
daniloaf"Add testing to libtpproto-py"  it's just make tests? like PyUnit?19:35
llnzunit tests i think are the main thing19:36
daniloafhmm cool19:36
llnzthat is complicated by being a networking library19:36
daniloafyep.. I didn't think this way19:40
Vadtecis there a tool to autogenerate a config file for the cpp server?19:44
llnzVadtec: no, not yet19:44
llnzbut there are quick-start conf files and sample.conf files19:45
Vadtecdoh19:45
Vadtecfeel free to slap me19:45
Vadtecits sitting right there in the dir19:45
ezodmithro: pong19:47
skiffcz-gsocVadtec: if you have public IP, maybe we can have a round of minisec :) ive just finished compiling the client19:48
skiffcz-gsocthe server is on its way, but unfortunately Im behind router19:48
Vadteci have a VPS this would be great to put on, lemme play with it a bit locally and get a feel for things then ill see about dropping it on my vps19:49
ezodmithro: i'm installing all the cygwin stuff on that windows pc (should actually be done by now)19:49
*** mithro has quit IRC19:50
ezod:(19:50
skiffcz-gsocthat was cruel19:51
skiffcz-gsocI believe he went to bed like 4 or 5 hours ago, so anyways19:51
tansellhey ezod19:52
tansellezod, you don't compile tpserver-cpp on windows, I've been cross compiling it on my linux box19:52
ezoddoh, and it makes a native exe?19:53
tansellyes19:53
tansellsee the win32 build instructions19:53
ezodk - finishing a report for school atm anyway, so it didn't lose me anything19:54
Vadtecwill it be a problem if I was to enable the option to report to the metaserver even though someone said it was down? I expect I may have a cpp server running on my VPS later and would be willing to share it via the metaserver19:54
llnzmetaserver is up19:55
llnzonly the demo servers are down19:55
Vadtecoh19:55
Vadtecscratch that then19:55
skiffcz-gsocoooooooooo19:56
skiffcz-gsocoooooooooooo19:57
skiffcz-gsocits running19:57
skiffcz-gsocone note though - dont use mzsheme when compiling the server from source - it douesnt like it for some reason19:58
skiffcz-gsoceven though it compiles19:58
skiffcz-gsocuse guile instead - bam, works like a charm19:58
verhoevenvErm. Could someone document what it means when a time remaining frame returns -1? I'm assuming "infinite"?19:58
tansellhey Vadtec19:59
tansellopps19:59
tansellhey verhoevenv19:59
tansellllnz, so how does your system work if there are less then the specified players?19:59
verhoevenvHeya tansell.20:00
tansellverhoevenv, I agree - shenki was seeing the same race condition on his computer20:00
Vadtectab complete...who knew :P20:02
llnztansell: with regard to what?20:04
llnzthe eot timer?20:04
tansellllnz, yes20:04
tansellit seems the chain should be like the following20:05
tansellif num_of_players < number_of_requested_players: return20:05
verhoevenvI'm still not entirely sure what I'm seeing here... One time the bot behaves okay, the other time it goes into an endless loop of trying to update itself.20:05
tansellif num_of_eots == number_of_alive_players: do_end_of_turn20:05
tansellllnz, does that sound sane?20:09
llnznearly20:10
shenkitansell: do you have irc logs on the net?20:10
tansellshenki, yes20:10
verhoevenvThough we don't always know the number of requested players, do we?20:10
tansellbut we lost some when verbal went down20:10
tansellwww.thousandparsec.net/~irc/20:10
llnzi think i might break out the turn timer into a few classes20:10
shenkiok. just trying to find that python snippet from the other day20:10
shenkitansell: thanks20:10
tansellPython snippet?20:10
llnzsimpleturntimer, thresholdturntimer, etc, etc20:10
verhoevenvllnz: Probably a good idea20:11
verhoevenvAnd select a strategy in the configuration.20:11
llnzverhoevenv: yeah20:11
shenkitansell: this: python -c "import platform; print platform.machine()"20:11
verhoevenvEh. What the hell...20:13
tansellllnz, the EOT on a timer is actually a fairly unusual case20:14
llnztansell: in some ways20:14
llnzin some cases it acts as a watchdog timer to keep the game moving20:15
Vadtechmmm, i downloaded the windows wx client and the readme says to double click tpclient-pywx but it has no .exe and in the same folder there is a tpclient-pywx.exe.manifest file20:15
Vadtecand if i add .exe to tpclient-pywx and try to run it, it doesnt do anything20:16
verhoevenvtansell: In single player it's unusual, but in massive games you might want it coordinated by one turn/24h or something.20:16
Vadtecit brings up a console window and sits there20:16
verhoevenvLike, the games we had before single player.20:16
tansellverhoevenv, yes - but we don't have any games which suite that style yet20:16
tansellVadtec, umm - you didn't download what you think you downloaded then20:16
Vadteci got it directly from the TP site20:17
tansellVadtec, and you can't really do developed on windows either20:17
Vadtecoh der20:17
Vadtecmy bad20:17
Vadteci grabbed the dev tarball so i could look at it20:17
Vadtecmy kids are buggin me, go figure :P20:17
tansellyou need to download http://sourceforge.net/project/downloading.php?group_id=132078&filename=tpclient-pywx-0.3.1.1-setup.exe20:18
tpb<http://ln-s.net/32tV> (at sourceforge.net)20:18
*** Lukstr has joined #tp20:18
tansellalthough that is very old20:18
tansellllnz, so I would like to make a release sometime today20:18
*** Lukstr has quit IRC20:18
Vadtecwell i cant do it on my linux box atm, monitor died so i have no gui :(20:18
Vadtecthough ill have another monitor here in about 30 mins20:18
tansellssh -Y20:18
Vadtecfriend is bringing me one back20:19
tansellVadtec, it should have shown you the correct binary to download if you went to the site20:19
Vadtecit did, but i downloaded the source tarbal as well20:20
llnztansell: go for it, tpserver-cpp should follow sometime this week20:20
Vadtecjust didnt catch which i was trying to run20:20
Vadtecwhich one*20:20
Vadtecafk, suppers on20:20
tansellllnz, well to release singleplayer we need to release tpserver-cpp first20:21
llnzwell... as i mentioned, i have no net access under linux here (wep and network manager not playing nice)20:21
llnzso earliest i can release is tomorrow night20:22
skiffcz-gsocQ:the right mod file for daneel to play minisec would be .. basic?20:25
*** mithro has joined #tp20:25
verhoevenvskiffcz-gsoc: There's no support for minisec right now20:26
verhoevenvOnly for Risk20:26
verhoevenvAm working at basic minisec support while doing a tutorial.20:27
skiffcz-gsocah, ok then20:27
verhoevenvShould be done by the end of the week I hope. If the server guys quit messing around with their timer stuff. :P20:28
tansellllnz, so whats the quickest way to get the turn timer stuff fixed reliably?20:31
llnznot sure20:31
llnzconference call, brb20:31
tansellverhoevenv, try doing a "git revert 2aeec04f74dba51beece5b8213951704ba686053"20:31
tansellthat should revert the latest turn timer change20:31
verhoevenvtansell: mm, perhaps later, am deep in debugging mindset right now and I can't have changing parameters. :)20:33
tansellverhoevenv, okay20:34
tansellyou debugging manually or with the singleplayer stuff?20:34
verhoevenvBit of both, manually at the moment because it's quicker to start/stop server and AI.20:36
tansellokay20:37
tansellverhoevenv, what distro are you using?20:37
ezodtansell: i'm really running behind here but i want to make sure i've tied up a few loose ends tonight20:38
tansellezod, the three biggest problems are the moment seem to be:20:39
tansell1) Getting a working binary off tpclient-pywx20:39
tansell2) Fixing the EOT timer issue20:39
tansell3) Figure out the gentoo SpinCtrl crash issue20:39
ezodlooks like the show()/hide() thing is fixed? or is it non-ideal?20:40
verhoevenvtansell: Linux distro? Kubuntu, why?20:40
verhoevenvGentoo trouble?20:40
tansellverhoevenv, because it's good to know who is testing on what20:41
tansellverhoevenv, which release? intrepid?20:41
ezodand as for the spinctrl issue, i (obviously) don't have it, and i'm using same version of wx/gtk stuff on gentoo far as i can tell20:41
ezodi could just put it back to a validated textbox for now?20:41
verhoevenvtansell: Yeah, intrepid20:41
ezodtansell: i fixed the killableprocess issue earlier today i believe - just stuck the python 2.6 subprocess.py in there, there's a note about a PEP specifying it to be compatible all the way back to 2.220:42
ezodseems to work on 2.5 at least20:43
tansellezod, I only care about 2.5 onwards :)20:43
verhoevenvKDE 4.2.1 from PPA though, not that it makes a huge difference I guess.20:43
tansellwith a little bit of care for 2.420:43
ezodyeah, my general assumption has been 2.420:43
ezodi am going to get to this win32 stuff soon, i might have to push it to tomorrow :(20:44
ezodbut my dev environment is set up now, one major roadblock out of the way20:45
tansellezod, your still young, sleep is for the old and week :P20:45
ezodtansell: nothing on calendar until 11am tomorrow - late night it is :)20:50
tansellezod, getting windows setup was a bit of a bitch - we need like 15 dependencies20:51
ezodsuppose i could just compile it on windows now that i have all that crap on there?20:52
verhoevenvHmm. I think I have found the source of my racing condition, it's not the server's fault.20:52
verhoevenvBasically, the cache doesn't update if the turn ends in less than a second.20:53
tansellverhoevenv, well there is atleast one race condition in the server too20:53
verhoevenvSo when the bot asks the turn directly from the server, it's 1, but in the cache it's still 0. Confusion reigns.20:53
verhoevenv(bot thinks turn has ended, asks cache to update, cache doesn't update, etc)20:54
ezodtansell: is there a way in git to cherry pick one specific commit and revert it?20:55
tansellyou mean just revert a single commit?20:55
tansellgit revert <commit id>20:56
tansellcommits an "inverse" of a commit20:56
ezodok20:56
Vadtecmmmmmmmmmmmmmmmm pork ribs20:58
Vadtecback to checking out tp20:58
verhoevenvDo we have a general granularity of 1s in all our time variables?20:58
CIA-65mavrinac tpclient-pywx-stable * rf848f8a1bd0e /windows/winConnect.py:20:58
CIA-65Revert "Use spin controls for integer-type parameters in single player wizard."20:58
CIA-65This reverts commit d52840bb7ff0a1a2648157cd9420d2ff10079700.20:58
verhoevenvIf so, we might want to enforce a turn length of at least 1s.20:58
verhoevenvmithro: ^20:59
* ezod still plans to fix that spinctrl thing20:59
tansellverhoevenv, yes21:00
*** skiffcz-gsoc has quit IRC21:01
tansellan EOT message should only have a time=0 when an EOT occurs21:01
verhoevenvWell, in what I'm currently testing the EOT is always -1.21:03
tansell-1 means "unknown"21:03
verhoevenvYeah, I guessed that. But it still means the turn length can be shorter than 1 second.21:04
Vadtecdoes the cpp server need to be run as root?21:04
verhoevenvVadtec: Nope21:05
Vadtechrm21:05
*** peres has quit IRC21:05
tansellverhoevenv, and the problem with that is?21:05
Vadtecmay i paste two lines?21:05
verhoevenvtansell: That the libtpclient-py cache goes haywire because modification times are equal.21:06
verhoevenvVadtec: 2 lines is no problem21:06
llnzbbs (hopefully)21:06
*** llnz has quit IRC21:06
Vadtec2009-03-22 20:04:42 <Warning> Could not create Socket21:06
Vadtec2009-03-22 20:04:42 <Warning> Could not listen on admin TCP socket21:06
Vadteci have the IP set for both of those, as well as the port21:07
tansellverhoevenv, oh - hrm21:07
tansellverhoevenv, in tp04 the "modtimes" are just "modnumbers" and incremented as needed21:07
verhoevenvVadtec: hmm... Port > 1024?21:07
Vadtecyes, im just using the default 693221:07
tansellVadtec, do you have another tpserver-cpp running?21:07
Vadtecno21:08
Vadtechang on, i think i know what it is21:08
verhoevenvNothing left over from a single player thing either? "ps -e | grep tpserver" to be sure :)21:08
verhoevenvtansell: It's a bit hard to wait for tp04 for me though. :)21:08
verhoevenvBut I suppose I can work around it with a turn time of at least 1.21:09
verhoevenvThough this would need to be noted somewhere...21:09
Vadtecno, im testing a piece of software ive been working on, and it was looping like mad over the tcp subsystem, so calls to bind() would fail21:10
Vadtecit should have been killed yesterday, guess i didnt kill it21:10
Vadtec:/21:10
Vadtechmmm21:13
Vadteci have the cpp server running21:13
Vadtecbut the client isnt connecting21:13
Vadtecsays it cant find the server21:13
Vadtecand no, there is no firewall in the way21:13
verhoevenvVadtec: How did you start the server? You might need to start various subsystems, too.21:14
Vadtectpserver-cpp -d -C /home/vadtec/tp/server-cpp/config/sample.conf21:14
Vadteci bet im missing a bunch of stuff arent i21:15
verhoevenvVadtec: Try with one of the quickstart-* files21:15
verhoevenvsample.conf doesn't actually seem to do anything.21:15
Vadtecoh21:15
Vadteci figured it would default21:16
verhoevenvIt's probably not very clearly named. :)21:17
Vadtecwell, i have it running21:20
Vadtectime to explore21:20
verhoevenverror: unable to create temporary sha1 filename ./objects/b2: File exists21:20
verhoevenvGoddammed git...21:21
tansellwell I'm heading to lunch21:21
tansellverhoevenv, ?21:21
tansellwhat did you do?21:21
verhoevenvtansell: Trying to push some commits to daneel-ai21:22
tansellI have never seen an error like that before21:22
tanselljust a "git push"?21:22
verhoevenvYes, nothing out of the ordinary I think.21:23
verhoevenvAm googling now.21:23
tansellwhat git version do you have?21:23
tansellyour pushing over ssh right?21:24
*** Gaurav__ has joined #tp21:24
verhoevenvgit version 1.5.6.321:25
verhoevenvOver ssh, yes21:25
Vadtecthis is gonna take some getting use to21:25
tansellverhoevenv, that is very weird21:27
tansellwell I'm really heading to lunch21:27
tansellbe back in 40 minutes21:27
Vadtecis there any sort of docs on how to play?21:27
verhoevenvVadtec: Using tpclient-pywx? You basically select your fleets/planets on the map or list, and give orders in the order pane to the left.21:28
verhoevenvAs for the rules of the game itself, those should be around.21:29
Vadteci sent some ships to a planet and they disappeared :(21:29
verhoevenvVadtec: They're moving. They should show up again when they arrive.21:29
Vadtecah21:30
verhoevenvWhen you give an order, you see an estimate of the time it'll take for the order to execute.21:30
Vadtecyeah21:30
verhoevenvJust think if your ships as being in hyperspace or something where you can't see them. :P21:30
Vadtecso until they get where they are going you cant touch them21:32
verhoevenvVadtec: Indeed21:35
Vadtecso how does the big section in the middle work? is it supposed to display something?21:36
*** llnz has joined #tp21:37
Vadteci just found some pie chart looking thingy in the big section21:41
verhoevenvVadtec: Err, yeah, that's the map. Well, not the pie chart thing, that's a view of the resources.21:42
didiIs the git's tpclient-pywx working right now?21:43
verhoevenvdidi: It's working for me, what was wrong with it?21:44
didiverhoevenv, Well, I think I just found it. The adrress which comes at the adress bar has a " at the beginning.21:45
Vadtecverhoevenv: so am i supposed to be able to see stars and planets in the map? or just what i have colonies on?21:45
verhoevenvVadtec: I think all of them, though it might depend on the ruleset.21:47
verhoevenvBut I don't think we have rulesets with a hidden map.21:47
verhoevenvHrmf, all google references talk about using git fsck and file permissions which all seem ok for me... :/21:48
Vadteci notice one thing that i could somehow do (i think), make it so that when you click a planet in the list it updates the star map accordingly21:59
Vadteccause tbh22:00
Vadtecthe star map makes no sense to me22:00
verhoevenvIt doesn't do that already?22:00
Vadtecif its supposed to its not22:00
Vadtecat least in the windows client22:00
verhoevenvIt moves the red marker around for me.22:01
Vadtecred marker?22:01
verhoevenvTo indicate your selection on the map...22:01
Vadtecmaybe the version of the client im using is out of date?22:02
Vadtecive got my replacement monitor hooked up22:02
Vadteci think ill try this on linux so i can use a more current version of it22:02
verhoevenvhttp://www.thousandparsec.net/tp/screenshots/tpc-pywx-new-main.png22:03
tpb<http://ln-s.net/32uc> (at www.thousandparsec.net)22:03
verhoevenvIs what it should look like22:03
verhoevenvYou see the red marker thing on the map?22:03
llnzright click on a star system to see a selection list of the objects inside22:04
llnzthe red triangle is the selection marker22:05
shenkillnz: o/22:05
Vadteclemme upload this SS of what i see22:05
shenkillnz: did that email ever come thru?22:05
llnzshenki: not yet22:06
Vadtechttp://vadtec.net/tp/tp.JPG22:07
Vadtechttp://vadtec.net/tp/tp-ver.JPG22:08
*** tansell-laptop has joined #tp22:08
llnzVadtec: try selecting something under the "fit" drop down list22:09
Vadtecim using the rfts ruleset if it makes a diff22:09
llnzselect "fit" first22:09
Vadtecdo i click the little house thingy next to it?22:09
llnztry that22:10
Vadtecstill black22:10
Vadtecand i have "fit" selected22:10
Vadtecbrb, putting kids to bed22:11
llnzselect something other than fit, and then fit again22:11
tansell-laptopezod, ping?22:11
verhoevenvI think the starmap might be buggy under Windows. :P22:12
verhoevenvMeanwhile, git is still refusing to collaborate.22:13
verhoevenvGrr.22:13
tansell-laptopverhoevenv, oh?22:13
tansell-laptopverhoevenv, do you have a full log of output?22:13
tansell-laptophave you tried #git too?22:13
verhoevenvHmm, I'll ask around on #git22:13
ezodtansell-laptop: pong22:15
didiI am trying to understand the game. In the "Single Player", using the "MiniSec" ruleset and without AI I was able to request one end of turn pressing "ctrl+T" but know I can't request it any more. Is this right?22:15
tansell-laptopezod, so where are you at?22:16
didiknow = now22:16
tansell-laptopdidi, no that is not right22:16
tansell-laptopyou should be able to continue to request end of turns22:16
verhoevenvtansell-laptop: Also, full output at http://rafb.net/p/pGMdkz18.html in case you want to see it22:16
tpbTitle: Nopaste - No description (at rafb.net)22:16
verhoevenvBut not that interesting stuff22:16
tansell-laptopbut tpserver-cpp seems to be borked with only one player22:16
diditansell-laptop, Ok, thank you.22:17
ezodtansell-laptop: still working on this report, seems i underestimated part of it :(22:17
tansell-laptopverhoevenv, do a pull first?22:17
diditansell-laptop, Should I try to run a server so?22:17
verhoevenvI'm up-to-date22:17
Vadtecback22:17
Vadtecselected 10% then fit22:18
Vadtecnothing22:18
Vadtecselected 50% clicked the house icon selected fit clicked the house icon22:18
Vadtecnothing22:18
tansell-laptopVadtec, your running 0.3.1 binary right?22:18
Vadtecyes22:18
tansell-laptopon Windows?22:18
Vadtecyes22:18
tansell-laptopthat binary is very old22:19
Vadtecwell is there a new one?22:19
Vadtecthat will run on windows that is22:19
Vadtecor should i try this one thats based on PyOrge22:20
tansell-laptopVadtec, if you are serious about development you'll really need to be running linux22:20
Vadteci plan to22:20
Vadteci didnt have a monitor until an hour ago22:20
Vadteccause my old one died22:20
didiWhat should be the adress to connect to local server? localhost?22:21
* ezod back shortly22:21
llnzdidi: localhost22:21
Vadtecim also just getting a feel for the game right now tansell-laptop22:22
Vadtecits silly to start coding on something i dont fully understand22:22
didillnz, Hum... Localhost did not work. But I found the server using the list button. Thanks.22:22
tansell-laptopdidi, you'll have to be running run locally first of course22:23
diditansell-laptop, Sure. I need to create an account too. I didn't know that. Let's see the turns roling now. :-D22:24
daniloafhey22:25
daniloafI want to join GSoC with an existing idea22:25
daniloafhow should I do the proposal?22:26
daniloafthe model in the web is only for new ideas?22:26
tansell-laptopdaniloaf, model in the web?22:26
didiHum. I think I am stuck with the same behavior again. :-( Oh well, tomorrow I will try again. Good night.22:26
CIA-65verhoevenv daneel-ai * r93ee65a3dd5e /daneel-ai: Fixed time remaining unknown22:27
daniloafwait22:27
*** didi has quit IRC22:27
daniloaftansell-laptop, here: http://socghop.appspot.com/org/show/google/gsoc2009/thousandparsec22:28
tpb<http://ln-s.net/3235> (at socghop.appspot.com)22:28
tansell-laptopdaniloaf, you mean the application template?22:28
daniloafyep, sry :D22:28
tansell-laptopdaniloaf, it's for all applications22:29
daniloafhmm..22:29
daniloafit's because of somethings like22:29
Vadtecugh, i gotta install a bunch of python stuff to use it on linux....ive never bothered to update anything cept core python since my last reinstall, yippie! yum, here i come! :P22:29
daniloaf"why do you want to do is important"22:30
daniloafro summary22:30
daniloafcan I just copy the Idea?22:30
tansell-laptopwhy what you want to do is important22:31
daniloafI thought it was only for own ideas22:31
daniloafI'll do it now22:32
daniloafthanks22:32
tansell-laptopnash, heyo22:32
Vadtecok, this is annoying, im on linux now, and im trying to run the wx client22:37
Vadtecit keeps saying it cant find NumPy or SciPy or wxPython22:37
Vadtecbut i have all 3 installed22:38
tansell-laptopdo you have a recent versions?22:38
Vadtecnumpy.i386 1.0.4-1.el5 installed22:39
Vadtecscipy.i386 0.6.0-6.el5 installed22:39
Vadtecchecking wxPyhton22:39
Vadtecpython even22:39
VadtecwxPython.i386 2.8.7.1-2.el5 installed22:40
tansell-laptoppython requirements.py22:40
CIA-65verhoevenv daneel-ai * rcef0588fdeea /daneel-ai: Test commit22:40
Vadtectansell-laptop: http://vadtec.pastebin.com/m1dcf14c622:41
tpbTitle: vadtec private pastebin - collaborative debugging tool (at vadtec.pastebin.com)22:41
tansell-laptopVadtec, you downloaded the source for 0.3.1?22:42
tansell-laptopVadtec, git clone git://git.thousandparsec.net/git/tpclient-pywx.git22:42
tansell-laptopthe python you are running is not the python which has wxPython installed22:42
VadtecO.o22:43
Vadtecit was all installed via yum22:43
Vadteci dont have any other pyton installed22:43
tansell-laptopVadtec, do a python22:43
tansell-laptopthen type22:43
tansell-laptopimport wx22:43
VadtecImportError: No module named wx22:43
Vadtec:/22:43
tansell-laptopsee22:44
Vadtecnow how the hell does that work22:44
Vadtecits all installed via yum22:44
tansell-laptopmaybe you want something like "python2.5"22:44
Vadtecpython.i386 2.4.3-21.el5 installed22:45
Vadtec*sigh*22:45
Vadtecbitten by centos again22:45
Vadtecill have to do a custom install of python 2.622:45
CIA-65verhoevenv daneel-ai * rc6408d6711ac /daneel-ai:22:46
CIA-65Revert "Test commit"22:46
CIA-65This reverts commit cef0588fdeea23166aa8cecca8a76f1e41f04d09.22:46
tansell-laptopVadtec, we don't need python 2.622:46
Vadtecdue to centos being enterprise grade, they wont update the repos with a newer python (or many other packages) beyond a certain point22:46
tansell-laptop2.5 or 2.4 should work22:46
Vadtecwell i have 2.4.3 installed22:47
tansell-laptopbtw - why are you running centos on a home machine?22:47
tansell-laptopVadtec, that should work22:47
Vadtecwhy, because i dont like fedora or debian22:47
Vadtecthough22:47
Vadtecwith all these repo issues22:48
Vadtecim about to go debian22:48
Vadteccause its getting dang annoying22:48
Vadtecit really hasnt been an issue up until a few months ago22:49
Vadtecthe rest of the *nix community is leaving the older stuff behind22:49
tansell-laptopVadtec, ubuntu will make your life a lot easier22:50
Vadtecit doesnt like my video card for some reason22:50
Vadtecwell, the version i tried of it22:51
Vadtecbut no, i dont plan to run ubuntu22:51
Vadtecill run debian22:52
Vadteci reinstalled my python22:52
Vadtecits still giving me the same errors22:52
CIA-65verhoevenv daneel-ai * r405bf2562558 /daneel-ai: Added some more debug output22:54
Vadteci guess i better begin backing up everything to the 25022:55
verhoevenvWew, finally I can go to sleep.22:56
verhoevenvReason to be annoyed by git #532922:56
tansell-laptopverhoevenv, I think there is something more serious going on22:57
tansell-laptopverhoevenv, but for now22:57
verhoevenvMore serious? As in, problems on the server or something?22:58
tansell-laptopverhoevenv, possibly22:58
Vadtecim looking in the system wide python packages...22:59
Vadtec[root@vadtec site-packages]# cat wx.pth22:59
Vadtecwx-2.8-gtk2-unicode22:59
tansell-laptopVadtec, try the git version22:59
Vadteck22:59
tansell-laptopverhoevenv, so how goes the tutorial23:00
tansell-laptopVadtec, what happens if you try importing wxversion ?23:00
VadtecImportError: No module named wxversion23:00
Vadteci fnd this to be very annoying23:01
Vadtecive used python before without issue23:01
Vadtecso why now23:01
Vadtec*sigh*23:01
verhoevenvtansell-laptop: Eh, I was going to do another part of it today but that cache racing condition prevented me from doing it and then I added some more useful debugging code which I wanted to commit and then git refused to work for a few hours.23:02
verhoevenvSo basically not much progress today. :)23:02
verhoevenvBut I hope to have it done by next sunday.23:02
verhoevenvIt's quite some work and a while ago for me, too...23:03
Vadtechttp://vadtec.pastebin.com/m3ebddc4823:03
tpbTitle: vadtec private pastebin - collaborative debugging tool (at vadtec.pastebin.com)23:03
Vadtecthis is what i get with the git version23:03
Vadteclemme remove wxpython23:03
Vadtecarg23:06
Vadtecomg23:08
verhoevenvI'm off. Night all.23:08
*** verhoevenv has quit IRC23:08
Vadtecwho the hell installed python 2.6 on my box23:08
tansell-laptopVadtec, my guess would be you23:08
Vadtecno, i have a text file that tracks all the software i install as custom installs23:08
Vadtecand no one but me has root, unless they sit down at the KB23:09
Vadtecthat might explain why it cant find anything23:09
Vadtecok, i know who installed it, and ima thrash em tomorrow23:12
Vadtecso, they installed over the yum version, which means i cant revert it without removing like 90% of the stuff on my box23:16
Vadtecanyone know how to modify python to use extra search paths by default?23:17
Vadtecnvm, found it23:18
Vadtecoh wait...they didnt install over it, yippie!23:20
*** cherez has quit IRC23:25
Vadtecwell hey, at least im getting different errors now23:26
Vadtectansell-laptop: http://vadtec.pastebin.com/m48699bff23:28
tpbTitle: vadtec private pastebin - collaborative debugging tool (at vadtec.pastebin.com)23:28
*** cherez has joined #tp23:31
tansellcherez, can you check that your segfault is gone?23:31
cherezAfter pulling, I presume?23:32
tansellcherez, yes23:32
cherezStill segfaults.23:33
tanselloh?23:33
cherezYeah.23:33
tansellare you on f848f8a1bd0e139d64e0b076ade801e43e44288c23:34
Vadtectansell: did you see my link?23:35
cherezYeah, I am.23:35
tansellVadtec, yes23:35
Vadtecok23:35
tanselljust trying to reproduce here23:35
Vadtechow do i find out what git rev im on?23:35
tansellrequirements.py outputs it23:35
tansellgit branch -v23:36
Vadtecoh23:36
Vadteci was using git log23:36
Vadtec* stable f848f8a23:36
tansellwhen does this error occur?23:37
cherezMine?23:38
tansellno Vadtec's23:38
Vadtecright after the splash screen23:39
tanselland what python version are you using?23:39
Vadtec2.4.323:39
Vadteci removed the 2.623:39
tansellinteresting23:39
Vadtecit loads the splash screen and as soon as it goes to do the regular interface it pukes that out23:41
VadtecPython 2.4.3 (#1, May 24 2008, 13:47:28)23:41
CIA-65mithro tpclient-pywx-tpclient-pywx-0.3.x * r9e8e41d034e4 /windows/main/panelMessage.py: Small fix for python 2.423:43
tansellVadtec, give that a go23:43
Vadtecgit pull?23:43
tansellyes23:43
Vadtecthat seemed to work23:44
Vadtecso far so good23:45
Vadtecquestion23:45
Vadtecwhy is the server so slow about sending media images?23:45
Vadtecits on localhost23:45
Vadtecshouldnt it be instant23:46
Vadtec?23:46
tansellthe media is not send from the local server23:46
llnzVadtec: the media doesn't come from the game server23:46
tansellit's sent from the media server23:46
llnzit comes from the media server23:46
llnzonline23:46
tansells/server/repository/23:46
tansellllnz, jinx23:46
Vadtecoh23:46
* llnz shuts up and goes back to work23:46
chereztansell: So what work does the python server have to be done?23:47
*** bddebian has quit IRC23:47
tansella lot of things23:47
tansellunit testing, porting to twisted, etc23:48
tansellmaking sure it works on windows, mac, linux23:48
cherezHow important is the Schemepy task?23:49
tanselladding the singleplayer support23:49
tansellcherez, the schemepy task?23:49
tansellI think that might already be done23:49
cherezIt looks like a lot of the ideas on the wiki might be old....23:49
tansellcherez, I thought we had gotten most of them23:50
tansellanother new ruleset for tpserver-py might be okay (it only really has 2 atm)23:50
cherezWell Schemepy is on there.23:50
cherezMTSec also, which looks to be done already.23:51
tansellcherez, nah - mtsec is nowhere near done23:51
cherezWhat about libtpproto2-py?23:52
tansellit hasn't been ported yet23:52
tansellfinishing libtpproto2-py would be a great project23:53
tansellit would reduce a lot of the complexities in libtpclient-py23:53
cherezThat sounds like a fun project.23:53
tansellcherez, it's a demanding project23:54
cherezI often have difficulty distinguishing between the two.23:54
tansellcherez, but it's the closest to a real software engineering project :)23:54
Vadtecin the design window23:55
Vadtecsomething is screwy23:55
Vadtecone of the designs shows in blue23:55
Vadtecand i cant view it any more23:56
Vadtecdesign names shows in blue that is23:56
cherezWhat does libtpproto do?23:56
Vadteclemme see if restarting the app fixes it23:57
Vadtechrm23:59
Vadteci clicked the X to close the app23:59
Vadtecand it froze23:59
Vadtechad to Ctrl-C in the term23:59
tansellcherez, it's the protocol library all the clients use23:59

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