Tuesday, 2007-05-22

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** jotham has joined #tp01:48
*** bokey has joined #tp01:58
bokeyhello all01:59
nashheyo01:59
bokeynash, how's it going ?02:00
nashpretty cool02:00
*** llnz has joined #tp03:22
*** nash has quit IRC03:28
llnzpschulz01: looks like you've been doing cool things03:36
*** mithro has quit IRC03:52
pschulz01llnz: Ta..04:11
pschulz01It's a little messy 'cause I don;t really know what I'm doing.04:12
pschulz01I did manage to build the cpp server late last night, using the headers installed from the debs.04:13
llnzcool04:14
pschulz01Are you happy for em to tackle the cpp server next?04:15
pschulz01me04:15
llnzyes, but you might fine it a bit complex (and it doesn't completely build currently)04:16
llnzyou could also have a look at libtpproto-cpp to see if the debain things work there04:16
pschulz01hehe.. I'll have to send a bug report then..04:16
pschulz01llnz: Ok..04:17
pschulz01llnz: I'll look at the other libraries.04:17
pschulz01Back later :-)04:21
*** pschulz01 has quit IRC04:21
*** bokey has quit IRC05:14
*** bokey has joined #tp05:15
llnzhi bokey05:32
CIA-3llnz tpserver-cpp * r64b2daa3ef9d /tpserver/ (orderqueue.cpp orderqueue.h):05:54
CIA-3Added mod time to order queues.05:54
CIA-3Seemed a good idea to do it now in case it is needed later.05:54
*** llnz changes topic to "www.thousandparsec.net | 90,016 lines of code (minus 12k for libltdl)"06:04
* llnz ponders06:15
*** pschulz01 has joined #tp06:22
*** tuna-fish has quit IRC07:03
*** tuna-fish has joined #tp07:03
llnzpschulz01: should i pull your changes for libtprl?07:09
pschulz01llnz: yes..07:09
llnzok, cool07:09
CIA-3paul libtprl * re5b643efbd8a /debian/ (libtprl-dev.dirs rules): Added header files to libtprl-dev debian package07:21
CIA-3paul libtprl * r6792efb65a9c /debian/ (17 files): Removed automatically generated Debian example files07:21
CIA-3paul libtprl * r8f3ae3d13879 /debian/rules: Minor bugfix to debian rules07:21
llnz:-)07:21
pschulz01Hey.. that's me.07:23
llnz:-)07:24
llnzyes it is07:24
llnzthanks for them07:24
* llnz notes he should try building the debs07:25
pschulz01llnz: I need to include dependencies.. ie. learn to use pbuilder07:27
llnzoohhh... pretty07:31
llnzlibtprl1_0.1.2a-1_amd64.deb07:31
llnzlibtprl-dev_0.1.2a-1_amd64.deb07:31
pschulz01Do they install?07:41
pschulz01.. and more importantly.. do they uninstall?07:42
llnzi didn't try07:42
*** nash has joined #tp07:42
* nash waves07:44
llnzhi nash07:45
nashheyo llnz07:46
nashhow is life?07:46
llnzreturning to normal07:47
nashHmm.. is the tp git server okay?07:47
nashheh - or back to original crazy?07:47
llnzi think si, why?07:47
nashfatal: The remote end hung up unexpectedly07:48
llnzback to quiet, get lots done, normal i hope07:48
llnzodd07:48
nashNope, drops out on galaxie and tpserver-py for me...07:48
* nash wonders if mithro accidently deleted my key..07:49
nashI have the c++ server as git and it works fine07:49
llnzodd07:52
llnzyour ssh key is fine07:52
nashhmm...07:52
* llnz has admin on the tp server07:52
nashYeah, I know07:52
nashCan you see logs?07:53
llnzyes07:53
nashAnything07:54
nash?07:54
llnznope07:57
pschulz01How do I run a server?07:58
nashpschulz01: Which one?07:59
pschulz01(cpp)07:59
pschulz01Reading man file :-)07:59
llnzonce installed, run tpserver-cpp07:59
llnz:-)07:59
pschulz01 < Error > Could not read config file07:59
llnzhave a look at the sample.conf files to see the various settings08:00
llnz(and run with -C <path/to/configfile>08:00
llnz)08:00
pschulz01< Error > Failed to load plugin "/usr/local/lib/tpserver/tpscheme/libtpguile": "/usr/local/lib/tpserver/tpscheme/libtpguile.so: cannot open shared object file: No such file or directory" (nil)08:00
pschulz01Oh.. there's a prompt.08:01
llnzyes08:01
pschulz01.. and help.08:01
llnzyes :-)08:01
pschulz01I need to get this packaged :-)08:02
nashDoes help work?08:02
nashAnd a non-trivial way?08:02
pschulz01tpserver-cpp> help08:02
pschulz01    turn        Turn management functions08:02
pschulz01 network        Network management functions08:02
pschulz01settings        Setting control functions08:02
pschulz01    quit        Quit and shutdown the server.08:02
pschulz01    exit        Quit and shutdown the server.08:02
pschulz01  plugin        Plugin management functions08:02
pschulz01    game        Game setup and status functions08:02
pschulz01  status        Prints the key info about the server and game.08:02
pschulz01    help        Prints out the help for this program08:02
pschulz01That was as far as I got.08:02
pschulz01Is there a 'version' for the server? .. ahh status.. version 0.4.108:04
llnzpschulz01: tpserver-cpp accepts --version and --help flags on the command line08:04
pschulz01llnz: Cool.. I didn't see the tag in gitk08:05
*** mithro has joined #tp08:08
pschulz01mithro: evening08:08
nashllnz: Can you try a cg-fetch and see if git+ssh works for you08:08
nashheyo mithro ...08:08
mithrohowdy people08:08
mithrosup?08:08
nashmithro: cg-fetch keeps failing on me08:09
mithrooh?08:09
mithroI might be the cause of that08:09
nashheh08:09
nashAlso I seem to have found a rather strange bug...08:10
mithrooh?08:10
nashfetch first... tpserver-py second... ;-)08:10
mithronash: i have unpushed patches for tpserver-py which fixed orders08:11
nashOkay... this is a bug about objects...08:12
mithrookay08:14
mithrotry fetching now?08:14
nashokay08:14
nashYep.. works now08:15
nashWhat did you do?08:15
mithrohrm - it appears my new git-shell breaks git-pull08:15
nash:-/  That's annoying08:15
mithroyes, I'm not quite sure why08:16
nashokay08:16
nashAnyway... new tpserver-py bug08:16
nashI was wondering what was going on.. I was getting strange object links - some of my parent objects were wrong...08:17
* nash spent a while looking for a memory issue...08:17
nashThen I got the idea it was a two way thing... and yes it was...08:17
* nash then dumped the output for the children list as the object arrived...08:18
nashAnd it was garbage...08:18
nashI can send you a dump if you like... or jsut paste a few08:18
nash- Obj 02: 'Planet 0 in System 0'08:18
nash-10 System 308:18
nash-16 System 508:18
nash-19 System 608:18
nashSo Obj 02: called planet 0 in sys 0 has 3 children... objects 10,16 & 19...08:19
nashWhich are other systems08:19
nashmithro: On the bright side... seems it is still a DAG, but it seems strange to have suns as children on planets...08:20
mithroyou mean the parents being wrong?08:22
mithroDAG?08:24
nashdirected acyclic graph08:26
nashNo, the children are wrong08:26
nashHave a look in tpclient-py08:28
nashElse I can mail you the whole dump08:28
*** nash has quit IRC08:28
*** nash has joined #tp08:28
pschulz01llnz: Where was the pastebin?08:28
nashstupid xchar08:28
llnzpschulz01: what pastebin? the one you used the other day?08:30
nashmithro: I just mailed the output to you08:30
pschulz01llnz: yes..08:30
llnzhttp://paste.stgraber.org08:30
tpbTitle: 1t2 PasteBin (at paste.stgraber.org)08:30
pschulz01I'll just use pastebin.com08:30
pschulz01Ok.08:30
pschulz01http://paste.stgraber.org/102508:31
tpbTitle: 1t2 PasteBin - Contents of debian package.. (at paste.stgraber.org)08:31
llnzshould I add my comments there?08:31
pschulz01Contents of debian package for tpserver-cpp..08:31
pschulz01llnz: ? Um.. sure ?08:32
llnzin fact, no, i'll do it here08:32
llnzi was thinking that tpserver-cpp should be several deb packages08:33
llnztpserver-cpp for the core (tpserver-cpp binary, man page, sample configs, etc)08:33
llnztpserver-cpp-dev for the headers08:33
pschulz01llnz: lots of .h's there08:33
pschulz01yeah08:34
llnztpserver-cpp-scheme-guile and tpserver-cpp-scheme-mzscheme for the scheme implemations and share data08:34
llnztpserver-cpp-persistence-mysql for the mysql persistence module (library)08:34
llnztpserver-cpp-ruleset-minisec for the minisec game module08:35
llnzetc08:35
pschulz01This should be easy to do :-)08:36
llnzdoes that make sense?08:36
pschulz01Yes.08:36
*** Demitar_ has quit IRC08:36
pschulz01Everything get's build in ./debian/tmp/usr/... then is split out from there.08:37
llnzyeah08:37
nashmake sure there is a tpserser-all or something, so one can just install08:38
nashmithro: See the problem?08:38
llnznash: good idea08:38
pschulz01tpserver-cpp-all would have dependanies on all the other packages.08:38
mithronull?08:38
llnzcool08:38
pschulz01llnz: Maybe tpserver-cpp-core08:39
pschulz01llnz: and tpserver-cpp is the meta package.08:39
llnzyeah, that would work08:39
nashmithro: the parent problem>08:39
nashLook down the end of the list08:39
mithrowhats this08:40
mithro- Obj 31: 'nash Solar System'08:40
mithro-       32 (null)08:40
nashWell the system 31 has a child 32 - but it hasn't been downloaded yet...08:40
nashI'm dumping stuff out as I get it08:40
nashJump down the end08:40
nashthe universe only has 5 children08:40
pschulz01llnz: I'll get back to you on what goes where.08:41
mithronash: can you print out a tree?08:41
nashmithro: That is a tree...08:41
mithroit doesn't make any sense08:41
nashYou don't need a tree to see the problem08:42
nashYes it does08:42
mithroit's not in a tree :)08:42
nashgive me a moment08:42
nashthe data is a tree08:42
mithroi'm too tired to try and figure out the tree in my mind08:43
nashmithro: Can I allow tpclient-py to resize windows easily?08:43
mithrouse the dev branch? :P08:44
nashIs it called dev or development?08:45
mithrodevelopment08:45
nashblerg... more dependancies08:46
nashDo I need the dev version of libtpclient-py too?08:47
mithroyes08:51
nashit can't connect08:54
nashRestart.. works now08:56
mithro?08:56
CIA-3mithro tpserver-py * r9fc18e881675 /tp/server/bases/Object.py: Removed the excess print. Added FIXME.08:57
CIA-3mithro tpserver-py * rd2e2acfa9510 /tp/server/bases/ (Object.py Order.py SQL.py):08:57
CIA-3Reworked how to_packet works on a SQLTypeBase.08:57
CIA-3Should (really) fix the problem of objects not been properly protected.08:57
CIA-3mithro tpserver-py * r147779933e76 / (3 files in 2 dirs): Remove the old admin user idea.08:57
CIA-3mithro tpserver-py * r2c73be68b246 /tp/server/db/__init__.py: Actually set the game on an update.08:57
CIA-3mithro tpserver-py * rc1cd36c41ff5 /tp/server/db/__init__.py: Handle the case with an empty where clause.08:57
CIA-3mithro tpserver-py * rc745cdc633ec /tp/server/bases/Order.py: Order's Insert/Remove queries now work.08:57
CIA-3mithro tpserver-py * r0e85b3017f37 /tp/server/rules/base/orders/NOp.py: Allow NOp value to be set.08:57
CIA-3mithro libtpclient-py * r26b98fe78587 /tp/client/cache.py: Fixes for the changes introduced in the libtpproto-py cleanup.08:58
CIA-3mithro libtpproto-py * r467859ae3da1 /tp/netlib/objects/OrderExtra/ (Move.py NOp.py): Removed the "predescribed" orders, because they were not right.08:58
CIA-3mithro libtpproto-py * ree94975f57af /tp/netlib/ (9 files in 3 dirs):08:58
CIA-3Massive cleanup of Dynamic Orders.08:58
CIA-3A long overdue cleanup of how the Dynamic Orders works. The interface is08:58
CIA-3now much cleaner and less (error prone) "magic" goes on behind the scenes.08:58
CIA-3These are internal changes, however they break tpclient-pywx because it08:58
CIA-3does naughty stuff.08:58
CIA-3mithro tpclient-pywx * rc232be908d38 /windows/ (winOrder.py winStarMap.py): Fixes for the changes introduced in the libtpproto-py cleanup.08:58
CIA-3mithro tpclient-pywx * ra189d3702707 /windows/winStarMap.py: Remove unneeded import.08:58
pschulz01What's media.gz ?08:59
pschulz01I tried to hit the server with the python client and it starts looking for this file.08:59
llnzpschulz01: it's used by the client to find media09:00
pschulz01URL of file http://darcs.thousandparsec.net/repos/media/client/media.gz09:00
pschulz01Trying to get data on  /repos/media/client/media.gz09:00
pschulz01Redirected to http://git.thousandparsec.net/repos/media/client/media.gz09:00
pschulz01Redirected to http://git.thousandparsec.net/git/media/client/media.gz09:00
pschulz01No media on remote server09:00
llnzpschulz01: because the media repo is not online, you can't get the nice planet graphics09:01
pschulz01:-(09:01
pschulz01Something else to package?09:02
llnznope09:02
llnzall the media comes from online09:02
llnzon demand09:02
pschulz01llnz: What if I want to play on an 'intranet'?09:02
llnzyou set up your own media server09:03
nashmithro: Check your email09:03
pschulz01Cool.. that's what I ment.. I think)09:03
pschulz01Hey..  is 'demo1' working? Wow!09:03
nashllnz: For people running their own server media might be nice.. also for peole with clients on slow connections they may want to preload the media from a package09:04
* llnz notes that doesn't work yet, because only tp04 still under developement allows the specficiation of the media server09:04
llnznash: true09:04
nashAlso allows sharing between users09:04
llnzpschulz01: should be09:04
nashHowever... not at this time09:04
mithronash: okay09:04
nashmithro: Make sense now?09:04
* pschulz01 attacks mithro Star Sytem09:04
mithronash: yes09:04
* nash wonders if he should attack demo one with galaxie...09:05
pschulz01No no.. I ment trade with.09:05
nashpschulz01: You now have an AI opponent...09:06
nashwhich user are you?09:06
nashmithro: Want the db or something?09:06
mithroi'm not quite sure what is causing it, will investigate on the weekend09:07
nashokay09:07
pschulz01What can I do?09:07
nashDo you need a bug report?09:07
mithroI should be able to regenerate if you give me the populate commands09:07
pschulz011:22 and counting09:07
nashmithro: The ones you gave me09:07
mithrofeel free to log a bug report09:07
nashpschulz01: wait for the turn to end... did you submit some build orders to your home planet?09:08
pschulz01nash: I don't even know where my home is.09:08
pschulz0125.09:08
nashwhat is your login ?09:08
pschulz01509:08
pschulz01409:08
pschulz01309:08
pschulz01209:08
pschulz01109:08
nashThere should a system called <login> Star System09:09
nashUnless you are using 'guest'09:09
pschulz01I was guest@tp09:09
pschulz01Should I change that?09:09
nashYes09:10
nashguest@tp is an observer09:11
nashUse pschulz or something09:11
pschulz01nash: :-D09:11
nashSee you now09:12
nashGo to your homeworld... and start to build09:12
nashSee if you can beat 'nash'.09:13
nashWhich is my simple AI 'Smith'09:13
nashAnyway - I'm off to bed,09:13
nashNight all09:13
*** Sick has joined #tp09:16
*** Sick has left #tp09:16
pschulz01building.09:18
* llnz wanders off10:13
llnzlater all10:13
*** llnz has quit IRC10:13
*** tuna-fish has quit IRC11:04
*** tuna-fish has joined #tp11:05
mithroSwitch to someone that provides IPv6 (or use a 4-to-6 connection), IPv6 mandates support for multicast.11:17
mithroHmm, that's like telling someone who's complaining that horses are hard to find to get a unicorn instead.11:17
mithrobahhaha11:17
*** bokey has quit IRC11:48
*** dmpayton has joined #tp15:18
*** _JLP_ has joined #tp16:27
*** JLP has quit IRC16:40
TBBleI've certainly found IPv6 easier to get hold of than multicast. At least it's easy to find someone you can tunnel ipv6 to, I've not yet found an mbone tunnel provider around here.17:47
*** nash has quit IRC17:49
*** dmpayton has quit IRC18:21
*** pschulz01 has quit IRC19:18
*** nash has joined #tp19:26
*** mithro has quit IRC19:29
*** mithro has joined #tp19:45
mithro~seen niphree20:01
tpbmithro: niphree was last seen in #tp 1 day, 10 hours, 50 minutes, and 11 seconds ago: <niphree> mithro: brb - another project meeting :]. I'll be back in few hours20:01
*** pschulz01 has joined #tp20:54
mithrowb pschulz0121:27
pschulz01mithro: ta.. trying to cope with the results of a power outage at work at the moment.21:28
mithropschulz01: damn21:29
mithrowhere do you work?21:29
pschulz01Dulwich.. Air-conditioner maintenance tripped the main circuit breaker.21:33
pschulz01Sysadmin at Quantum Rocksoft21:34
mithrourl?22:00
mithronash: ping? I need some help with C code22:02
nashmithro: Fire away22:06
mithronash: I can't figure out why my code is breaking git-shell22:06
nashSo the code is?22:07
nashmithro: Where is the code?22:11
mithronash: thats the only thing I can think of22:13
mithroyou have email22:15
nashokay22:18
* nash notes mithro doesn't write much CC22:22
mithroCC?22:23
nashs/CC/C22:23
mithrooh what did I do wrong?22:23
nashThe use of explicit strlen is weird22:24
nashAnd the code I have... won't ever work ... in fact, I need to modify code to get it to even look like compiling22:24
nashIn main... where does 'len' come from?22:24
nashNo wait - just removed it... ahh22:25
nasharg = prog + len + 1;\22:25
nashWhat are you trying to do there?22:25
mithrothis is my code22:25
mithrostatic int do_cvs_cmd(const char *me, char *arg)22:25
mithro{22:25
mithro        const char *my_argv[] = {"git-cvsserver", NULL};22:25
mithro        return execv("/usr/bin/git-cvsserver", my_argv);22:25
mithro}22:25
mithrothe rest is stock git code22:25
nashWeird...22:26
mithrooh, shell.c probably requires the rest of the git code22:26
nashAhh... I see... it's looking for broken execs22:26
nashRight... work with derranged windows shells22:26
nashSilly question.. is git-cvsserver is /usr/bin?22:27
nashAnd is it happy to be launched as git-cvsserver?22:27
mithroyes22:28
mithrothe git-cvsserver is the part which works22:28
mithrobut somehow it's breaking the git push/fetch22:28
nashSo the git commands barf when you add that?22:29
nashCan I see execv_git_cmd?22:29
mithronash: you could download the complete source :P22:30
mithrogit-1.5.1.422:30
nashmithro: Try changing:22:33
nashconst char *my_argv[] = {"git-cvsserver", NULL};22:33
nashto22:33
nash...  { "pserver", NULL } etc22:33
mithroum... how does that effect the git commands22:34
nashgood point22:34
* nash continues looking22:34
mithroand infact the only other option would really be "cvs"22:35
nashDid you change it at all?22:36
nashthe main part that is?22:36
nashI ask as the strcmp in the 1.5.2~rc3, becomes strncmp in the version you gave me22:36
mithroi didn't change anything22:38
nashHmm.. .okay22:38
mithroi'm working of  git-1.5.1.422:39
nashCVS commands work okay when you use it right?22:39
* nash goes to lunch22:56
mithroany luck?22:56
nashmithro: The code seems fine... I'd look at the compilation process22:56
*** mithro has quit IRC23:38
*** dmpayton has joined #tp23:52
*** mithro has joined #tp23:59

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