Wednesday, 2008-06-04

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
tpbaloril has quit worldforge (Ping timeout: 378 seconds)00:24
tpbaloril has joined on worldforge00:42
*** mithro has quit IRC01:08
CIA-54alklomion /tmp/qJoni1WnMZ/6H9C9doq4W-midp * rcd60bff22d9e /src/net/thousandparsec/util/URI.java:01:50
CIA-54Added support for picking up scheme, authority and path01:50
CIA-54via git-CVS emulator01:50
CIA-54alklomion /tmp/iXY8Wl2KSE/kTXc1lreMy-midp * r8e8d5b03d972 /src/net/thousandparsec/util/URISyntaxException.java:01:51
CIA-54a urisyntaxexception is thrown when the URI is bogus.01:51
CIA-54via git-CVS emulator01:51
CIA-54alklomion /tmp/mFzyJXBbZd/8NZnNkifH8-midp * r2d4f1f355df2 /src/net/thousandparsec/util/URI.java:01:53
CIA-54Implemented code for getting the Query part01:53
CIA-54via git-CVS emulator01:53
CIA-54alklomion /tmp/firkUWqV9H/6xj0tzRMir-midp * ra0f047c4f641 /src/net/thousandparsec/util/URI.java:02:10
CIA-54added exception handling to the parser02:10
CIA-54via git-CVS emulator02:10
*** nash has quit IRC02:49
CIA-54jmingtan tpclient-pyogre * r52c637fd83ad /src/ (Scene.py helpers.py): Extract module-level methods into a separate module02:52
CIA-54jmingtan tpclient-pyogre * r1ab9f72d7c3d / (14 files in 3 dirs): Added ship mesh and planet mesh together with textures02:52
CIA-54jmingtan tpclient-pyogre * r950ae08e1570 /src/ (Scene.py starmap.py): Changed selection boundary to use billboards02:52
CIA-54jmingtan tpclient-pyogre * r081b7e816272 /src/starmap.py: Star glow using billboards02:52
CIA-54jmingtan tpclient-pyogre * r285266ca7677 /src/starmap.py: Rotate planets every frame02:52
CIA-54alklomion /tmp/nF8RSO9ljN/mDyT2pmSgF-midp * r31f249279afb /src/net/thousandparsec/util/URI.java:03:02
CIA-54added rawSchemeSpecificPart support03:02
CIA-54via git-CVS emulator03:02
CIA-54alklomion /tmp/CWpnAOYHxn/WSiID9Pgak-midp * rab828cb78fc0 /src/net/thousandparsec/util/URI.java:03:16
CIA-54added support for rawUserInfo and hopefully userInfo in the process03:16
CIA-54via git-CVS emulator03:16
*** CIA-54 has quit IRC04:08
*** CIA-15 has joined #tp04:09
tpbaloril has quit worldforge (Ping timeout: 378 seconds)04:28
*** zzorn_laptop has joined #tp04:46
tpbaloril has joined on worldforge04:47
*** tuna has quit IRC04:53
*** Epyon has quit IRC05:18
*** Iwanowitch has joined #tp05:43
*** JLafont has quit IRC06:21
*** JLP has joined #tp06:35
*** tuna-fish has joined #tp07:21
*** tuna-fish is now known as tuna07:22
* JLP has just seen the cool news about mithro's talk at google07:59
*** peres has joined #tp08:04
*** zzorn_laptop has quit IRC08:26
JLPyay, The Stars FAQ! author has put a link to TP on the front page - http://www.starsfaq.com/09:19
tpbTitle: The Stars! FAQ (at www.starsfaq.com)09:19
*** CIA-15 has quit IRC09:52
*** CIA-24 has joined #tp09:53
*** mithro has joined #tp10:24
*** bddebian has joined #tp10:29
bddebianHowdy10:32
JLPahoy bddebian, mithro10:34
mithrohey JLP10:34
mithroJLP: got a moment?10:34
bddebianHi JLP10:34
JLPmithro: yup10:35
mithroJLP: you have mail10:35
* JLP fetches his laptop10:35
*** jphr has joined #tp10:36
JLPahoy jphr10:39
jphrJLP: ahoy10:49
jphrsince you msg'ed me, i have to tell you something stupid I just did. I spent like 30 minutes trying to figure out why my change from adjacency_matrix to adjacency_list wouldn't compile. Then I looked at my includes and saw I was still including matrix instead of list...10:51
*** vi1985 has joined #tp10:53
vi1985hey ppl, haven't been here in a while ;)10:53
jphrheyo10:54
vi1985jphr: hey!10:54
jphrvi1985: sorry i forgot, what was your project again?10:54
jphr(and how is it going?)10:54
vi1985jphr: try to take over the world :)10:55
jphrsweet10:55
vi1985(and it's going nicely ;) )10:55
jphrthats good, while your at it stop canada from passing ACTA10:55
vi1985it's an ai client for rfts in java :)10:55
vi1985what's that? :-?10:55
vi1985(i live in a cave. news like that doesn't reach me)10:56
jphrvi1985: copyright legislation that is atrocious. would give police and ISP's the right to just use any information about your web usage as they please, border checks, minimum 500 fines for any infringment, etc.10:57
jphrah yes, ai client, that has absolutely nothing in common with risk ruleset, so I guess we don't really have any pointers to share :P10:57
vi1985hm, maybe there's a way to modify the ai client to tackle that... *quiet evil laughter*10:57
vi1985ah well :) how's yours coming along?10:58
jphrlol, well it would be in your best interest, risk IS a game of global domination10:58
vi1985i was talking about ACTA, but risk is also an option ;)10:58
jphrhaha10:58
vi1985jphr: btw, since you're into ruleset dev, here's a question that I meant to shoot off to the devel list, but you might have an answer: how does a client know which ruleset the server is running on? couldn't find anything in the protocol, nor in the irc or devel logs11:00
jphrhmm, i would assume it would be something like game->getRuleset()?11:01
vi1985let me check against the protocol for a sec..11:01
jphrafaik its a property of Game, like started11:01
vi1985hm, is that a new tp04 feature? or was it in tp03 as well? don't remember coming across it in the protocol description11:03
vi1985(I do see something like this now!)11:03
jphrI don't really know :( just throwing a thought out there11:03
vi1985thanks! that actually helped! now I have a thread to pull on ;)11:04
jphr:P11:04
vi1985ah, back to work for me. take it easy!11:04
jphryou too, just holler if you need anything (i'm working as well)11:05
vi1985sure! thx11:05
*** mithro has quit IRC11:12
*** peres has quit IRC11:20
CIA-24jmingtan tpclient-pyogre * re6fefabf419c / (3 files in 3 dirs): Add point lighting to individual stars11:35
CIA-24jmingtan tpclient-pyogre * r1efdc95ea5f7 / (4 files in 2 dirs): Added several planet and star types11:35
CIA-24jmingtan tpclient-pyogre * rc88aa434472f / (3 files in 2 dirs): Add an additional layer of stars to the background11:35
CIA-24aaron tpserver-cpp-config * raad5b4660f21 /tpserver/ (command.cpp commandmanager.cpp): Passing std::strings directly to packString calls.11:48
CIA-24aaron tpserver-cpp-config * r5c99555bbd1f /tpserver/ (4 files): Removed AsyncLogMessage, now built into AdminLogger.11:48
CIA-24pluskid schemepy * r9ae52997a0fa /doc/ (16 files in 3 dirs): Use a simpler style for doc.11:48
CIA-24pluskid schemepy * r0a8be50cd0f5 / (6 files in 6 dirs): Added uniformed API doc for different backend.11:48
*** pluskid has joined #tp11:49
jphranyone able to tell me how to get a pointer to my ruleset main class inside of another class?12:28
*** DTRemenak|RDP has joined #tp12:29
jphrvi1985: did you ever figure it out?12:29
*** DTRemenak|RDP is now known as Erroneous12:29
vi1985jphr: partially. Now I'm busy choosing my courses for the next semester!  If I don't figure it out by mid-afternoon, i'll just spam the devel list ;)12:30
jphrwhat is your partially? as I need to get access to a ruleset pointer outside of the actuall class12:31
*** jphr has quit IRC12:46
tpbaloril has quit worldforge (Ping timeout: 378 seconds)12:55
*** jphr has joined #tp13:12
*** mithro has joined #tp13:15
mithroheyo people13:21
mithrohi vi198513:21
mithrovi1985: there is a "Game" frame which gives the ruleset13:24
*** jphr has joined #tp13:41
Asmmhello13:43
jphrhi13:44
Asmmmithro: oh, which one is that? I haven't seen it in the tp03 description?13:44
Asmmhi jphr13:45
vi1985mithro: hi! thanks.13:48
*** Erroneous has quit IRC13:49
*** mithro has quit IRC13:54
jphranyone help me with this. Why can't I just add a normal number onto a uint32_t? say like uint32_t + 1?14:09
*** nuleren has joined #tp14:11
jphroh, nvm, typo14:11
tpbaloril has joined on worldforge14:29
*** zzorn has joined #tp14:32
*** Erroneous has joined #tp15:33
*** jphr has quit IRC15:42
*** jphr has joined #tp15:42
*** mithro has joined #tp15:54
CIA-24jphr tpserver-cpp-risk * r980e93503567 /modules/games/risk/risk.cpp: removed planetOrders->addOwner(0) from Risk::createPlanet as I was informed by llnz it wasn't required.15:54
CIA-24jphr tpserver-cpp-risk * rf34a7ed76c46 /modules/games/risk/ (colonize.cpp move.cpp reinforce.cpp risk.cpp risk.h): Removed statically setting IDs for objects. Converted adjacency_matrix to list. Removed setting turns for orders as they are not necessary.15:54
CIA-24jphr tpserver-cpp-risk * r90fe065207ce /modules/games/risk/ (8 files): Mass find and replace of galaxy to constellation. Was informed type did not NEED to be named galaxy.15:54
CIA-24jphr tpserver-cpp-risk * rc74a79d4abf5 /modules/games/risk/ (6 files): Added methods/variable for holding reinforcements. Various little tweaks. Added logic for updated availible reinforcements display on planets.15:54
CIA-24jphr tpserver-cpp-risk * rc6d42a905e81 /modules/games/risk/ (risk.cpp riskturn.cpp riskturn.h): Implemented what should be proper turn processing order in RiskTurn. Switched some static casts to dynamic casts at mentors request.15:54
CIA-24jphr tpserver-cpp-risk * r622fb1fc76e2 /modules/games/risk/ (risk.cpp risk.h riskturn.cpp): Changed a few ints I had created to uint32_t's15:54
mithroheyo people15:55
mithrojphr: how goes things?15:56
jphrpretty good today15:56
jphri'm actually looking a bit more into graphviz atm, because it seems to be a pretty daunting task to spend 2-3 hours statically adding all the edges for my default map15:57
jphrand I needed to know, can I somehow get a reference to my Risk class in the other classes?15:57
*** JLafont has joined #tp15:57
CIA-24jphr tpserver-cpp-risk * r498134ab771e /modules/games/risk/risk.cpp: Removed a function I created but never used15:59
JLafontallo16:00
mithrohey JLafont16:03
mithroso how goes your refactoring?16:03
JLafontI think I'm done16:07
JLafontI think I only have to push the commits now16:07
mithrookay16:08
mithrodo you want to give the push a try now?16:08
mithrogit push git+ssh://[email protected]/git/tpserver-py.git dronesec-new16:09
JLafontI thought I had to push each one seperately?16:10
mithronope16:10
mithropushing will push all changes16:11
JLafontok16:12
JLafontwill try16:12
JLafontI take it I should use my own username thoguh16:12
mithrowhich is how I stuffed up :)16:12
mithroit won't work if you push with my username ;)16:12
JLafonthere goes nothing16:13
mithroif this is your first push, it won't annouce anything here16:14
JLafontalrighty16:14
*** bddebian has quit IRC16:18
*** JLafont has quit IRC16:19
mithrowell, that didn't go that well :)16:19
*** JLafont has joined #tp16:19
jphrmithro: "and I needed to know, can I somehow get a reference to my Risk class in the other classes?" or should I ask mailing list?16:21
mithroJLafont: you managed to push yourself off the network?16:23
JLafontconnectioned timed out :(16:23
mithrojphr: sure! I think it's pretty simple but I have no idea16:23
jphrthanks, I'll probably post a ML message to get the method16:24
*** JLafont has quit IRC16:25
mithrocheck RFTS and poke nuleren16:25
*** Asmm has quit IRC16:38
*** mithro has quit IRC17:09
*** mithro has joined #tp17:16
mithro~seen JLafont17:17
tpbmithro: JLafont was last seen in #tp 53 minutes and 14 seconds ago: <JLafont> connectioned timed out :(17:17
mithro:(17:18
*** JLafont has joined #tp17:22
JLafontyay17:23
*** jphr_ has joined #tp17:30
JLafontnetwork was going haywire for a while17:33
mithroJLafont: yeah I guessed as much17:34
mithroI see a new branch17:35
mithroI'm just about to pull and check it17:35
JLafontalright17:37
mithroJLafont: hrm17:38
CIA-24jphr tpserver-cpp-risk * r65ff175cf77f /modules/games/risk/ (risk.cpp risk.h): Renamed num_galaxies counter to num_constellations.17:39
mithroyou either didn't push the correct stuff, or you forgot to fix some stuff17:39
JLafontdoh17:40
mithroJLafont: you have been checking your patches before commiting them right?17:40
JLafontyeah17:41
mithroit should be obvious these patches are wrong17:41
mithroas they have a huge amount of removal and addition17:41
JLafontI figure that was due to going from 2 spaces to tabs. As the whole line would change17:42
mithrotake a look at the patch for 98e0fc8659acbf034f6f40ed80e761d160eba40c17:43
mithroJLafont: but that is what you are trying to remove!17:43
mithro(changes where just the indenting changed)17:43
mithroso I can see your real code changes17:44
mithrorather then a massive patch which has all the code removed and added as the indention changed17:44
JLafontthat patch does seem off17:47
*** jphr has quit IRC17:47
mithroJLafont: hence, how did it get commited :)17:49
*** jphr_ has quit IRC17:49
*** jphr has joined #tp17:50
mithroJLafont: I really want to get over this issue ASAP so you can get back to coding17:53
JLafontmithro: me too17:53
mithroJLafont: how did that patch get committed?17:54
JLafontI think I might have forgotten to add the files I changed17:55
mithroso17:55
JLafontfixing it now17:55
mithroyou are reviewing the patch with "git-diff --cached" right17:55
mithrobefore committing17:55
mithro"git-diff --cached" will show you exactly what is going to be committed17:55
JLafontyes17:55
mithroso, that should have shown you have not done a "git-add"17:58
mithromake sense?18:00
JLafontyeah18:02
mithroit's a good policy to review your patches before pushing18:04
mithroif you have only one patch18:04
mithroyou can do a "git commit --amend"18:05
mithrobblr18:11
*** JLafont has quit IRC18:26
*** mithro has quit IRC18:28
*** JLafont has joined #tp18:38
*** vi1985 has quit IRC18:51
*** _Lukstr has joined #tp18:52
*** Lukstr has quit IRC18:52
*** Epyon has joined #tp18:52
CIA-24verhoevenv daneel-ai * r23ea624b002b / (chr.py chrtest.py): Tests on multiple unification added, bug fixed18:53
*** jphr has quit IRC18:53
IwanowitchThat bugfix went faster than I thought. I'm starting to appreciate Python.18:54
*** mithro has joined #tp18:54
IwanowitchOnly slightly though.18:54
CIA-24nuleren tpserver-cpp-tae * r57d9e599577a /modules/games/tae/ (tae.cpp tae.h):19:01
CIA-24Added the Passengers property. Added 8 new components (different types19:01
CIA-24of cargo holds). The cargo holds use the Passengers property.19:01
CIA-24nuleren tpserver-cpp-tae * r849736d3587b /modules/games/tae/tae.cpp: Added createPassengerShip function to create a passenger ship19:01
CIA-24nuleren tpserver-cpp-tae * r9c84ca7f869d /modules/games/tae/tae.cpp: Added createEmptyFleet function.19:01
CIA-24nuleren tpserver-cpp-tae * ra841b007711b /modules/games/tae/ (tae.cpp tae.h):19:01
CIA-24Fixed a compilation error in the previous patch caused by a typo and19:01
CIA-24missing line.19:01
*** jphr has joined #tp19:03
mithroJLafont: so, it all sorted?19:06
mithroIwanowitch: if you don't like python why are you doing a project in python!?19:06
Iwanowitchmithro: to learn it, obviously.19:12
IwanowitchThen again, I don't think the prefect or even a really good language exists.19:12
IwanowitchPython is not too bad overal.19:13
JLafontI'm getting an error about failure to push some refs19:18
*** peres has joined #tp19:19
*** nuleren has quit IRC19:19
mithroJLafont: that would be because you are trying to do a "backwards" push19:22
mithroyou'll need my help to fix it19:23
mithroI just remove the dronesec-new branch19:26
mithroyou can repush it19:26
mithro~seen jmtan19:27
tpbmithro: jmtan was last seen in #tp 2 days, 17 hours, 16 minutes, and 16 seconds ago: <jmtan> thank goodness i guess19:27
JLafontok19:31
mithroyou used gitk to check your commit right?19:42
mithrothis doesn't look right19:43
mithrodronesec-new is now based on dronesec19:43
mithroI think you stuffed up :/19:44
mithroI have to run now19:44
JLafontI probably did19:44
mithroJLafont: you know how to use gitk right?19:44
mithroif you do a19:44
mithrogitk -a19:44
mithroit prints out a tree of your commits19:44
mithroand you can see that your branch was wrong19:45
mithroI have removed dronesec-new on the server19:46
*** mithro_ has joined #tp19:55
*** mithro has quit IRC19:56
mithro_JLafont: so what is preventing you seeing the problems in gitk before you push?19:56
*** mithro_ is now known as mithro19:56
mithroJLafont: are you going to be around at 8:30 tonight?19:58
mithroI want to figure out what is stopping us from moving forward19:59
mithrowell, I have to run off - lets organise a meeting time and do this in real time20:05
*** mithro has quit IRC20:21
*** Erroneous has quit IRC20:52
*** _Lukstr is now known as Lukstr21:11
*** Lukstr has quit IRC21:13
*** _Lukstr has joined #tp21:14
*** bddebian has joined #tp21:14
bddebianHeya21:15
*** Iwanowitch has quit IRC21:20
tpbaloril has quit worldforge (Ping timeout: 378 seconds)22:11
*** greywhind has joined #tp22:12
*** mithro has joined #tp22:25
tpbaloril has joined on worldforge22:28
mithroJLafont: ping?22:29
JLafontmithro: pong22:31
mithroJLafont: so do you have time to sit down and get this right?22:31
JLafontyeah22:31
mithrookay22:32
mithroso we are going to do this one patch at the time, okay?22:33
JLafontyeah22:33
mithroso where should we start from?22:35
JLafontNot sure. I created dronesec-new using master, but then it somehow swtiched over to dronesec22:36
mithrohow did you create dronesec-new?22:37
mithrogit branch <id>22:37
mithrogit checkout <branchname>22:37
mithrosorry22:37
mithrothat should have been22:37
mithrogit branch <branchname> <id>22:38
JLafontd556aa10f45ec66ef22b2a3edd60c3c93be2a74 ?22:40
mithroyeah22:40
mithrobut22:40
mithroyou probably want to use a different name then dronesec-new this time22:40
JLafontyeah22:42
JLafontI called it dronesec-fix22:43
mithrookay22:43
mithroso you got the branch?22:43
mithroand checked it out?22:43
JLafontyeah22:43
mithrookay22:44
mithrolets push the branch22:44
mithrowith a22:44
mithrogit push <location> dronesec-fix22:44
JLafontdone22:46
mithrookay22:47
mithroso lets cherry pick the first patch on your original dronesec branch22:47
mithroyou know how to do that right?22:47
JLafontyes22:47
tpbaloril has quit worldforge (Ping timeout: 378 seconds)22:48
mithroso, we don't need to do any modifications to the first patch22:48
mithroso just commit it22:48
mithrothen do a22:48
mithrogit push <location> dronesec-fix22:48
JLafontalright22:51
mithrofetching now22:52
mithrookay cherry pick the next commit22:53
mithro(which is 375b778e579ef040f684853f9e8bf960f65f0bfa)22:53
mithronow looking at this patch22:54
mithrothere are some things which could be fixed up22:54
mithroedit tp/server/rules/dronesec/__init__.py22:54
mithroand modify splitfleet and clean so they no longer appear in the patch22:55
JLafontalright22:56
mithrodone?22:57
JLafontshould I also fix the tabs?22:57
mithroyou mean fix the spaces?22:57
mithroeverything should be using tabs22:57
JLafontyeah22:57
JLafontfix it so it uses tabs22:57
mithrookay22:58
mithroso22:58
mithroso22:58
mithrolooking in "git diff --cached" everything looks okay22:59
*** peres has quit IRC22:59
mithrothis no longer appears23:00
mithro-SplitFleet, # Split any fleets - this means you can merge then split in one turn23:00
mithro-Clean, # Clean up fleets which no longer exist23:00
mithro+    SplitFleet, # Split any fleets - this means you can merge then split in one turn23:00
mithro+  Clean, # Clean up fleets which no longer exist23:00
JLafontyeah23:00
mithrookay23:01
mithronow commit it23:01
mithrowith a23:01
mithro"git commit"23:01
mithrothen push it23:01
JLafontso a clean commit?23:01
JLafonterr new commit23:01
JLafontpushed23:02
*** Asmm has joined #tp23:02
mithrookay that looks fine23:04
mithrolets cherry pick the next one23:04
Asmmhello23:04
Asmmmy java work seems to get up to speed, have a simple graphical game viewer client already, and basic framework and classes which should simplify Ai work23:05
mithroAsmm: sounds cool23:07
mithroyou want to edit tp/server/rules/dronesec/drones/Dronepedia.py23:07
mithroso it uses tabs23:07
tpbaloril has joined on worldforge23:07
JLafontdone23:09
JLafontcommiting now23:09
mithrookay23:09
JLafontpushed23:09
Asmmbut i was goign to ask - I saw you responding to someone about a Game frame with some sort of ruleselt info, but i couldnt find one in the tp03 docs, is it there?23:09
mithroit's not a documented part of tp0323:10
mithroit's a back ported tp04 thing23:10
mithroJLafont: that looks good too23:11
mithroget the next patch23:12
mithrofix all the problems like this23:12
mithro-23:12
mithro-################23:12
mithro+23:12
mithro+################23:12
Asmmany news when tp04 will be fully up and running? i remember hearing that tpserver-cpp has this and that done to suport tp04, but given there is even no official tp04 doc i guess it is not there yet? I've seen the draft. and it looks very interesting, with some new features like this game frame or downloading only whats changed23:13
mithrothere is an official tp04 doc23:13
mithrohttp://www.thousandparsec.net/tp/dev/documents/protocolxml.php23:14
tpb<http://ln-s.net/JXj> (at www.thousandparsec.net)23:14
Asmmcool23:15
mithroJLafont: any luck with the next patch?23:18
tpbaloril has quit worldforge (Ping timeout: 378 seconds)23:19
JLafontpushed23:20
mithroJLafont: looks good to me23:21
JLafontThis one had  no changes so I just recommited and pushed23:25
JLafontI just pushed 2 more patches that didn't get any changes23:28
mithrochecking now23:28
mithroboth them look good23:29
JLafontanother one pushed23:40
mithroafraid you stuffed that one up23:43
mithroadd resource/Planet are using spaces23:45
mithroand there is a partial conflict remaining in the __init__23:45
JLafontwoops23:45
mithromeasure twice, cut once!23:47
mithroJLafont: you know how to fix?23:51
JLafontcherry pick again?23:51
*** bddebian has quit IRC23:53

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