*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** Alklomion has quit IRC | 00:06 | |
*** Alklomion has joined #tp | 00:07 | |
mithro | Alklomion! | 00:10 |
---|---|---|
mithro | JLafont: ping? | 00:10 |
Alklomion | you're here this time, mithro! | 00:10 |
mithro | oh? | 00:11 |
mithro | we have a meeting tommorrow right? | 00:11 |
Alklomion | yep | 00:11 |
Alklomion | I'm having issues getting all the library files free of errors | 00:11 |
mithro | oh? | 00:13 |
mithro | what problems are you having? | 00:13 |
Alklomion | URI's | 00:14 |
Alklomion | i'm assuming i'll have to replace them with string representations | 00:14 |
mithro | did you look into finding open source replacements? | 00:15 |
mithro | including looking at the GNU classpath stuff? | 00:16 |
mithro | Alklomion: you want to try very hard at not doing work :) | 00:18 |
Alklomion | yeah | 00:19 |
Alklomion | seems weird using other people's code | 00:20 |
Alklomion | filterinputstream worked | 00:20 |
mithro | you want to try and do it as much as possible :) | 00:20 |
Alklomion | there's three classes with enums left, two use hexadecimals in their enum. Which would seem better: store them as strings and convert back to hex, or store them as integers? | 00:23 |
mithro | intergers definately | 00:23 |
mithro | anything else? | 00:28 |
*** llnz has joined #tp | 00:31 | |
mithro | hey llnz | 00:31 |
Alklomion | wow, i've never seen that before. You can store the hex code in an int. so int i = 0xf1 is entirely fine | 00:33 |
llnz | hi mithro | 00:33 |
mithro | Alklomion: oh, yeah you can do that :) | 00:34 |
mithro | Alklomion: I haven't seen you commit anything recently | 00:37 |
Alklomion | i really should do that | 00:37 |
mithro | you should probably be commiting once a day at a minimum | 00:38 |
mithro | as it would let me check you various changes | 00:38 |
Alklomion | cvs version: warning: unrecognized response `Unknown command noop at /usr/bin/git-cvsserver line 134, <STDIN> line 4.' from cvs server | 00:40 |
Alklomion | when i try to add new folders(adding the netbeans build files) | 00:40 |
*** bddebian has quit IRC | 00:41 | |
Alklomion | weird, then it acts as if it didn't muck up | 00:41 |
mithro | Alklomion: you need to add files in the directory | 00:41 |
CIA-54 | alklomion /tmp/e6tl2WDDLp/dZ32H344z3-midp * rc23f0ca96db1 / (34 files in 6 dirs): | 00:45 |
CIA-54 | Adding the files, as per Tim's request so that the library can be checked using Netbeans by someone else other than Brendan | 00:45 |
CIA-54 | via git-CVS emulator | 00:45 |
CIA-54 | alklomion /tmp/dZon1sFMjW/CiQZW36idE-midp * r641b7c29404a /src/net/thousandparsec/util/FilterInputStream.java: | 00:48 |
CIA-54 | FilterInputStream external class, used in LimitInputStream | 00:48 |
CIA-54 | via git-CVS emulator | 00:48 |
mithro | hrm, I can't find where I have the java checkout | 00:52 |
CIA-54 | alklomion /tmp/lTfNyCR3eC/2UyhYUpvlH-midp * r8b0594a38113 / (63 files in 2 dirs): | 00:53 |
CIA-54 | Fixed visitor inheritance erros using method overloading | 00:53 |
CIA-54 | Fixed syntax errors previously missed. | 00:53 |
CIA-54 | Begun implementing fixes to enum issues. | 00:53 |
CIA-54 | LimitInputStream fixed using an external class implementation of FilterInputStream | 00:53 |
CIA-54 | via git-CVS emulator | 00:53 |
mithro | Alklomion: any idea how to load the Netbeans project? | 01:04 |
Alklomion | didn't work? | 01:04 |
mithro | oh, the nbproject directory? | 01:05 |
Alklomion | It should recognise it as a project with the NBProject directory there (i think) | 01:05 |
Alklomion | and then it should load the build inside it (again I think) | 01:05 |
mithro | oh it seems working now | 01:07 |
mithro | (Netbeans is just being difficult | 01:08 |
mithro | ) | 01:08 |
mithro | so you should you be using MIDP-1.0 profile? | 01:09 |
mithro | Target "build" does not exist in the project "libtpproto-java". | 01:11 |
mithro | BUILD FAILED (total time: 0 seconds) | 01:11 |
mithro | Alklomion: any idea? | 01:12 |
Alklomion | so what did you do? open the midp project? | 01:13 |
mithro | yeah | 01:14 |
mithro | I don't think I have successfully built a project | 01:15 |
Alklomion | weird - i just copied my entire netbeans directory to another place, went open project, located the folder called midp and it worked | 01:16 |
Alklomion | does the midp project folder have three folders called build dist and nbproject? | 01:17 |
mithro | no dist directory | 01:18 |
mithro | I'm just going to re-download netbeans | 01:19 |
Alklomion | http://img98.imageshack.us/img98/2523/folderstructurenv9.jpg | 01:21 |
tpb | <http://ln-s.net/1tVa> (at img98.imageshack.us) | 01:21 |
Alklomion | that's my folder structure | 01:22 |
mithro | you must actually need to add something inside the dist folder | 01:23 |
llnz | git totally ignores empty folders | 01:24 |
Alklomion | I"m unsure, i removed dist folder from another copy and it still loaded | 01:25 |
mithro | okay | 01:26 |
mithro | lets wait for this to finish | 01:26 |
mithro | downloaded and installed | 01:36 |
mithro | Alklomion: still the same | 01:42 |
mithro | how do you click build? | 01:42 |
Alklomion | i don't click build, i just open the project in netbeans | 01:42 |
mithro | and then? | 01:43 |
Alklomion | oh.. I think i know what may have happened | 01:43 |
Alklomion | You currently don't have any of the generated files, right? | 01:43 |
mithro | how do you check the code compiles? | 01:43 |
Alklomion | ack | 01:44 |
Alklomion | i'm getting that error too | 01:44 |
Alklomion | Could not load definitions from resource testngtasks. It could not be found. | 01:45 |
Alklomion | Target "compile-single" does not exist in the project "libtpproto-java". | 01:45 |
mithro | what where you doing before to compile? | 01:45 |
Alklomion | BUILD FAILED (total time: 0 seconds) | 01:45 |
mithro | Target "build" does not exist in the project "libtpproto-java". | 01:45 |
mithro | BUILD FAILED (total time: 0 seconds) | 01:45 |
Alklomion | i'm confused now. I've been relying on the errors netbeans tells me | 01:46 |
mithro | well, I actually managed to build a mobile project | 01:50 |
mithro | I'm seeing enums in this code I have | 01:51 |
Alklomion | which class? | 01:51 |
mithro | Connection.java | 01:52 |
Alklomion | I've not touched that class yet. | 01:55 |
Alklomion | Two errors left in src-generated | 01:55 |
mithro | how are you checking the errors? | 02:02 |
Alklomion | netbeans is telling me where the errors are | 02:03 |
Alklomion | so that's why i assumed it is compiling it | 02:03 |
mithro | oh | 02:04 |
mithro | I figured out how to build | 02:04 |
mithro | go to | 02:04 |
mithro | nbproject/build.xml | 02:05 |
mithro | and it should display a list of ant targets | 02:05 |
mithro | just rightclick on the "debug" target and go run | 02:05 |
Alklomion | cool | 02:08 |
Alklomion | wrote that one down so I don't forget it :) | 02:09 |
Alklomion | on the left side, if there's a tab claled project, i've been working off that | 02:09 |
mithro | I sent you an email with the output | 02:10 |
llnz | mithro: when you have some time, could you add some to http://www.thousandparsec.net/wiki/Working_with_Git | 02:14 |
tpb | <http://ln-s.net/1tVl> (at www.thousandparsec.net) | 02:14 |
llnz | maybe something on how to create and remove remote branches | 02:14 |
mithro | I think we should probably stop using cogito | 02:15 |
llnz | possibly | 02:15 |
llnz | except cogito setup's don't automatically move across | 02:16 |
llnz | c.f. jphr's mistake | 02:16 |
*** zzorn_laptop has joined #tp | 02:18 | |
mithro | yes | 02:24 |
mithro | llnz: do we support "hybrid" clients? IE ones which support tp04 only partly? | 02:26 |
llnz | no, but there isn't too much difference between tp03 and tp04, other than objects/objectdesc and fail frame | 02:28 |
mithro | I think I could probably add objectdesc support to tp04 | 02:29 |
llnz | oh, and getFOOidlist | 02:29 |
mithro | yeah | 02:30 |
CIA-54 | alklomion /tmp/VzMQ4ZAoFZ/zBhY0JUZ9Q-midp * re95933c54731 / (4 files in 2 dirs): | 02:30 |
CIA-54 | Replaced enums with static inner-classes that should do the same job, as enum is not supported in MIDP. | 02:30 |
CIA-54 | Fixed syntax errors in Order.java | 02:30 |
CIA-54 | via git-CVS emulator | 02:30 |
mithro | 17 errors! | 02:34 |
mithro | llnz: does tpserver-cpp have game frames I can use to detect new games? | 02:35 |
mithro | Alklomion: I should probably head to bed | 02:37 |
*** jmtan has joined #tp | 02:37 | |
mithro | hey jmtan | 02:38 |
jmtan | hello mithro | 02:38 |
Alklomion | mithro: catch you tomorrow - i'll work on this some more. I'll research what i can do to the URI errors and see if it is possible to implement it from classpath stuff | 02:38 |
llnz | mithro: yes | 02:38 |
*** JLafont has quit IRC | 02:38 | |
mithro | llnz: tp04 only? | 02:38 |
llnz | yes | 02:39 |
llnz | i have to have a number of reasons for you to upgrade libtpproto-py ;-p | 02:39 |
llnz | "upgrade to tp04 and get gameinfo frames, filters, difference lists, player lists, object parameters, references on fail frames, etc..." | 02:43 |
llnz | and all that is *already* in tpserver-cpp | 02:44 |
llnz | I'm currently catching up in libtpproto-cpp once I've got async support working | 02:45 |
mithro | TP04 still not finialised :) | 02:47 |
llnz | oh boo hoo | 02:51 |
llnz | you were pushing tp03 before it was finalised | 02:51 |
nash | Wait... TP03 is finished? | 02:52 |
* llnz wonders if he can be bothered with tp03 support in libtpproto-cpp | 02:52 | |
mithro | nash: something like that ;) | 02:53 |
nash | Anywya... | 03:14 |
* nash goes home | 03:14 | |
*** nash has quit IRC | 03:14 | |
mithro | Alklomion: I'll talk to you tommorrow right? | 03:18 |
mithro | 9:00am your time? | 03:18 |
Alklomion | yep | 03:18 |
mithro | in my calander now | 03:22 |
mithro | http://www.timeanddate.com/worldclock/converted.html?month=5&day=30&year=2008&hour=9&min=0&sec=0&p1=5&p2=224 | 03:22 |
tpb | <http://ln-s.net/1tVv> (at www.timeanddate.com) | 03:22 |
mithro | look okay? | 03:25 |
CIA-54 | alklomion /tmp/PSyLjqJEGV/TSpaZxVRCx-midp * r25edc4e4c3d3 /src-generated/net/thousandparsec/netlib/tp03/Order.java: | 03:27 |
CIA-54 | Fixed For-Each loop in this file, replacing it with a For loop | 03:27 |
CIA-54 | via git-CVS emulator | 03:27 |
Alklomion | mithro: yeah, should be fine | 03:27 |
* mithro heads to bed | 03:27 | |
CIA-54 | pluskid schemepy * r61fca06a59d4 /schemepy/mzscheme/ (mzhelper.c mzscheme.py): Testcase of pycallable passed for mzscheme. | 03:27 |
*** JLafont has joined #tp | 03:29 | |
*** Alklomion has quit IRC | 03:31 | |
*** mithro has quit IRC | 03:45 | |
*** zzorn_laptop has quit IRC | 04:12 | |
JLP | good morning everyone | 04:51 |
*** Marcel- has joined #tp | 05:14 | |
llnz | hi JLP, Marcel- | 05:21 |
CIA-54 | llnz tpserver-cpp * rc284819a3408 /tpserver/frame.cpp: | 05:21 |
CIA-54 | Check that no frame has set an incorrect frametype in tp04. | 05:22 |
CIA-54 | Only protects against outgoing frames. | 05:22 |
Marcel- | hi llnz | 05:22 |
JLP | llnz: ahoy | 05:27 |
* JLP got Space Empires IV (used), will check it out when he gets back from work and has some time | 05:28 | |
llnz | cool | 05:28 |
* llnz has 53+ patches for libtpproto-cpp on his local branch | 05:32 | |
JLP | llnz: nice :) what have you been up to? | 05:35 |
llnz | working on async support | 05:35 |
llnz | just starting on tp04 object parameter classes now | 05:36 |
llnz | as i need them to finish async support | 05:36 |
*** CIA-54 has quit IRC | 06:01 | |
*** CIA-54 has joined #tp | 06:02 | |
*** Lukstr has quit IRC | 06:19 | |
*** Lukstr has joined #tp | 06:20 | |
*** _Lukstr has joined #tp | 06:22 | |
*** peres has joined #tp | 06:26 | |
*** Lukstr has quit IRC | 06:40 | |
*** peres has quit IRC | 06:50 | |
*** zzorn_laptop has joined #tp | 07:09 | |
tpb | aloril has quit worldforge (Ping timeout: 378 seconds) | 07:13 |
*** zzorn_laptop has quit IRC | 07:29 | |
CIA-54 | pluskid schemepy * ra6be032651c9 /schemepy/mzscheme/mzscheme.py: Testcase of multi VM passed for mzscheme. | 08:22 |
CIA-54 | pluskid schemepy * ra31f04fa5082 /doc/log_book/todo/05-29-remove-scmrangeerror.txt: Added the task of removing ScmRangeError. | 08:22 |
CIA-54 | pluskid schemepy * ra9dfd0ce8012 / (3 files in 2 dirs): The exceptions of mzscheme now mapped to schemepy exceptions. | 08:23 |
*** Epyon has quit IRC | 08:34 | |
tpb | aloril has joined on worldforge | 09:26 |
*** JLafont has quit IRC | 09:42 | |
* llnz wanders off | 09:48 | |
llnz | later all | 09:48 |
*** Marcel- has quit IRC | 09:48 | |
*** llnz has quit IRC | 09:48 | |
*** peres has joined #tp | 10:11 | |
CIA-54 | jmingtan tpclient-pyogre * rec7ffd516e45 / (src/Scene.py windows/system.layout): Populate orders list with allowable orders | 10:26 |
CIA-54 | jmingtan tpclient-pyogre * ra47d0fbf196e /src/Scene.py: Right-click on a target planet to move selected fleet there | 10:26 |
CIA-54 | jmingtan tpclient-pyogre * r7b17e041ec1d /src/Scene.py: Allow window close button to actually close the window | 10:26 |
*** mithro has joined #tp | 10:52 | |
mithro | jmtan: ping? | 10:58 |
jmtan | here | 10:58 |
jmtan | what's up? | 11:00 |
mithro | jmtan: could I have some very cool looking screenshots by early next week | 11:02 |
mithro | i'm giving a talk which includes Thousand Parsec and I would like to show it off | 11:02 |
jmtan | just screenshots? any ideas for what you would like to have | 11:03 |
mithro | be back later | 11:05 |
mithro | have to head to work | 11:05 |
mithro | sorry | 11:05 |
jmtan | sure, cya | 11:05 |
*** jphr has joined #tp | 11:17 | |
tpb | aloril has quit worldforge (Ping timeout: 378 seconds) | 11:17 |
*** mithro has quit IRC | 11:23 | |
tpb | aloril has joined on worldforge | 11:35 |
*** mithro has joined #tp | 11:44 | |
mithro | jmtan: sorry about that | 11:46 |
mithro | I'm going to have to run of again real soon too | 11:46 |
mithro | so,, just anything which looks pretty is good | 11:47 |
mithro | ~seen Iwanowitch | 11:49 |
tpb | mithro: Iwanowitch was last seen in #tp 20 hours, 33 minutes, and 16 seconds ago: <Iwanowitch> And how does it affect libtpclient-py, fi it does? | 11:49 |
mithro | maybe load a cool 3d model for the ships and have a planet or something? | 11:50 |
*** bddebian has joined #tp | 11:51 | |
mithro | bblr | 11:52 |
bddebian | Heya | 11:52 |
*** pluskid has joined #tp | 11:57 | |
pluskid | how to create a remote git branch? | 11:59 |
*** jphr has quit IRC | 12:03 | |
pluskid | quit | 12:06 |
*** pluskid has quit IRC | 12:06 | |
*** mithro has quit IRC | 12:10 | |
*** Marcel- has joined #tp | 12:20 | |
*** jmtan has left #tp | 12:29 | |
*** peres has quit IRC | 12:32 | |
*** jphr has joined #tp | 12:43 | |
*** Erroneous has joined #tp | 13:15 | |
CIA-54 | jphr tpserver-cpp-risk * r8d7845b51ba2 /modules/games/risk/ (8 files): Converted Armies to Resource. Fixed data packing. Client now loads properly. | 13:35 |
jphr | wahoo! | 13:35 |
CIA-54 | victor.ivri gencon-rfts-ai * r932979712a4a /gencon/Client.java: Included a listener on the standard input stream as an inner class (still in prototype form). Ironed out user-input issues. | 13:36 |
CIA-54 | jphr tpserver-cpp-risk * refe9ff33445a /modules/games/risk/risk.cpp: Added Planet::setDefaultResources call to Risk::createPlanet function | 13:46 |
*** CIA-54 has quit IRC | 13:59 | |
*** CIA-28 has joined #tp | 14:00 | |
*** nuleren has joined #tp | 14:35 | |
*** _Lukstr is now known as Lukstr | 15:06 | |
*** mithro has joined #tp | 15:16 | |
mithro | jphr: ping? | 15:19 |
mithro | ~seen jphr | 15:23 |
tpb | mithro: jphr was last seen in #tp 1 hour, 47 minutes, and 36 seconds ago: <jphr> wahoo! | 15:23 |
*** JLafont has joined #tp | 15:23 | |
mithro | hey JLafont | 15:23 |
mithro | you where after me the other day? | 15:24 |
JLafont | hey mithro | 15:24 |
JLafont | yeah | 15:24 |
mithro | ask away | 15:24 |
mithro | I have 30 minutes left of lunch | 15:24 |
JLafont | I was testing out my unit production order. And it seems that on rulesets using tpserver-py, build orders don't fully go through. I was using tpclient-pywx to check and it won't let me add a unit to the production queue | 15:25 |
JLafont | Still trying to figure out where the problem might be | 15:26 |
mithro | what do you mean "go through"? | 15:26 |
mithro | you check what is being sent over the wire by turning on debug | 15:27 |
JLafont | Well. I can't finish sending out a production order since either the client or the server won't allow any units to be designated to be built | 15:27 |
JLafont | alrighty | 15:27 |
mithro | won't be built could mean a lot of things | 15:28 |
mithro | please be more descriptive | 15:28 |
mithro | and assume I can't see anything you have | 15:28 |
JLafont | ahh ok | 15:28 |
mithro | if you check the logs | 15:29 |
mithro | i have jphr some instruction on how to report good problems | 15:30 |
JLafont | I started a new game using minisec. Populated it and added a user. I then got on tpclient-pywx and tried to do a BuildFleet order. I used the drop down menu to find a fleet to build. Now normally the numbered box next to the dropdown would let me change the values. In this case it doesn't and when I click the Add button. It refuses to add that fleet to the list. | 15:30 |
jphr | mithro: hi | 15:30 |
JLafont | Dunno if that helps any | 15:31 |
mithro | JLafont: that sounds like a maximum is not set | 15:31 |
mithro | (or set to zero) | 15:32 |
mithro | screenshots and exact instructions (include commands to run) will help me reproduce the problem | 15:32 |
mithro | be back in 5 minutes | 15:33 |
mithro | have to change rooms | 15:33 |
JLafont | sre | 15:33 |
JLafont | sure* | 15:33 |
*** jphr has quit IRC | 15:41 | |
*** jphr has joined #tp | 15:42 | |
*** mithro has quit IRC | 15:43 | |
*** mithro has joined #tp | 15:43 | |
mithro | jphr: ahh! I was going to suggest you convert armies to a resource | 15:44 |
mithro | but I see you already had that idea | 15:44 |
jphr | mithro: it just seemed stupid to try and force stuff with it any other way, i realized it really is just a resource anyways | 15:44 |
mithro | means you can always add new resources on modified risk rulesets :) | 15:45 |
mithro | You can probably just get rid of starsystems if they serve no purpose | 15:45 |
jphr | mithro: haha yes, and everyone elses code is far more relevant for learning off of :P | 15:45 |
jphr | do I just place rogue planets? | 15:45 |
mithro | yeah | 15:45 |
jphr | you obviously saw my message that I got all my ducks in a row ? | 15:46 |
mithro | nope | 15:46 |
jphr | oh, i got everything displaying once I converted to resources | 15:46 |
jphr | so I can move on and arrange the map as it should be, give everything names, etc. Really excited about getting past those deal breaking bugs | 15:47 |
jphr | I wanted to ask you about implementing a list for planets that link to adjacent planets (since we were going to have paths between planets) or at least get you thinking about that | 15:48 |
jphr | and thirdly! just to give you way to much, I wanted to know about "drawing" lines on the map | 15:48 |
jphr | (I don't expect answers to all three right now, that would be cruel) | 15:48 |
mithro | drawing the lines is unlikely to happen soon | 15:52 |
mithro | you want to use a range list | 15:52 |
jphr | ok | 15:53 |
mithro | possible | 15:53 |
mithro | actually, I'm not sure | 15:53 |
jphr | regardless, I believe its possible to populate an order "drop down menu" with some items from a list? | 15:53 |
mithro | http://www.thousandparsec.net/tp/dev/documents/protocol3.php#Orders | 15:53 |
tpb | <http://ln-s.net/1taC> (at www.thousandparsec.net) | 15:53 |
mithro | the types of order parameters | 15:54 |
jphr | so a move order would take a # of armies and you would pick a territory | 15:54 |
jphr | i'll take a look | 15:54 |
*** SmokingRope has joined #tp | 15:54 | |
jphr | mithro: yeah that is definitely getting bookmarked :P | 15:55 |
mithro | yeah | 15:55 |
jphr | mithro: oh I had another question. Is it possible to have a planet's "information" display its resources. I noticed with my planets they don't display their "Armies" resource in the information pane | 16:02 |
mithro | it should do if you have the resource setup correctly | 16:03 |
jphr | ok, I will play with that a bit more tomorrow once I have my star systems cut out | 16:04 |
mithro | check out ship parts in minisec | 16:04 |
jphr | ok | 16:04 |
mithro | (i think the only resource in minisec) | 16:04 |
mithro | MTSec has a whole bunch of resources too | 16:04 |
mithro | don't forget the resource overlay | 16:04 |
jphr | ? | 16:05 |
mithro | in the client | 16:06 |
mithro | you can switch to the resource overlay | 16:06 |
jphr | oh yes | 16:06 |
mithro | the drop down which currently displays systems | 16:06 |
mithro | look at it on mtsec, it's quite pretty | 16:13 |
mithro | you can thank greywhind for that | 16:13 |
mithro | jphr: your progress seems good :) | 16:14 |
mithro | JLafont: so... where are you at? | 16:14 |
jphr | mithro: appreciate that :D | 16:14 |
*** nuleren has quit IRC | 16:15 | |
JLafont | mithro: http://docs.google.com/Doc?id=dg93sdv_11c9w647ck <--- steps with screenshots | 16:15 |
tpb | <http://ln-s.net/1taS> (at docs.google.com) | 16:15 |
mithro | how do you "start a game of minisec"? that means start up tpserver-cpp to me ;) | 16:16 |
JLafont | oh heh | 16:16 |
mithro | tpserver-py also have minisec and minisecplus | 16:16 |
JLafont | I'm just using minisec right now | 16:17 |
mithro | this is probably a "I haven't touched tpserver-py in a very long time" bug :) | 16:18 |
JLafont | ahhh | 16:18 |
mithro | what is correct information for login? | 16:18 |
mithro | you know you can start tpclient with a URI | 16:19 |
mithro | IE | 16:19 |
mithro | ./tpclient-pywx tp://test:test@localhost/ | 16:19 |
JLafont | ahh. Well in this case it would be something like ./tpclient-pywx tp://blah@tp:blah@localhost/ | 16:20 |
mithro | well you actually mean | 16:20 |
mithro | tp://blah:blah@localhost/tp | 16:20 |
JLafont | ahh | 16:21 |
JLafont | then yes | 16:21 |
mithro | you want to write testing instructions for idiots :) | 16:21 |
JLafont | I know! >.< It just hurts sometimes | 16:22 |
mithro | I know, but it saves the person trying to help you much more time | 16:22 |
mithro | and it should be part of your debugging as it helps you find the minimial case of when the error occurs (and hence what could be causing it) | 16:23 |
mithro | often I find in writing instructions I figure out what the problem is ;) | 16:24 |
JLafont | heh | 16:24 |
mithro | so it's almost status report time again | 16:34 |
JLafont | yup | 16:34 |
mithro | I'm going to be tough this week, so make sure you make them good | 16:36 |
*** _Lukstr has joined #tp | 16:47 | |
*** Lukstr has quit IRC | 16:48 | |
*** _Lukstr is now known as Lukstr | 16:48 | |
CIA-28 | jphr tpserver-cpp-risk * r04db8977bd74 /modules/games/risk/ (constellations.txt risk.cpp risk.h): Phased out star systems in favor of lone planets. Named every planet after constellation counterpart. Added txt documenting them | 17:30 |
jphr | mithro: ping? | 17:31 |
*** jphr has quit IRC | 17:42 | |
mithro | damn missed him | 17:47 |
*** bddebian has quit IRC | 17:52 | |
*** Marcel- has quit IRC | 17:59 | |
*** jphr has joined #tp | 18:06 | |
jphr | mithro: | 18:06 |
jphr | mithro: ping? | 18:06 |
CIA-28 | jphr tpserver-cpp-risk * r2227bc15f376 /modules/games/risk/ (planet.cpp risk.cpp): Changed planet creation back to star->planet for mean time. Planets did not display properly alone. Will look into switching back. | 18:12 |
*** jphr_ has joined #tp | 18:13 | |
*** mithro has quit IRC | 18:17 | |
*** llnz has joined #tp | 18:28 | |
*** jphr has quit IRC | 18:30 | |
*** zzorn has quit IRC | 18:32 | |
CIA-28 | nuleren tpserver-cpp-tae * r67e1c250909d /modules/games/tae/ (Makefile.am tae.cpp): Added the planet object | 18:39 |
CIA-28 | nuleren tpserver-cpp-tae * r5ff705c13070 /modules/games/tae/ (ownedobject.cpp ownedobject.h planet.cpp planet.h): Adding files I forgot to add from previous commit | 18:39 |
CIA-28 | nuleren tpserver-cpp-tae * r35a77001b2d7 /modules/games/tae/ (tae.cpp tae.h): | 18:40 |
CIA-28 | Added 7 new resource types. Added some temporary code to test the | 18:40 |
CIA-28 | resources. | 18:40 |
*** mithro has joined #tp | 19:05 | |
CIA-28 | jphr tpserver-cpp-risk * r5f9f98ba4ae2 /modules/games/risk/ (move.cpp planet.cpp risk.cpp): Cleaned up some personal TODOs | 19:13 |
jphr_ | night all | 19:13 |
*** jphr_ has quit IRC | 19:13 | |
*** nash has joined #tp | 19:14 | |
mithro | morning nash | 19:17 |
nash | heyo | 19:17 |
*** Alklomion has joined #tp | 19:20 | |
mithro | Alklomion: morning | 19:26 |
Alklomion | heya mithro | 19:26 |
mithro | 4:30 here | 19:26 |
nash | mithro: We can;t help it if you are behind | 19:27 |
Alklomion | how's the new time zone/climate zone thing going? | 19:27 |
mithro | pretty good | 19:27 |
*** llnz2 has joined #tp | 19:28 | |
Alklomion | is it warm in the morning there? i hate the cold mornings | 19:28 |
mithro | it's not to bad | 19:29 |
mithro | just doing an update now | 19:29 |
*** llnz has quit IRC | 19:30 | |
*** llnz2 is now known as llnz | 19:30 | |
* mithro watches netbeans bring his laptop to a halt | 19:30 | |
Alklomion | :) | 19:32 |
Alklomion | takes ages to load it the first time | 19:32 |
mithro | I'm still getting 17 errors | 19:32 |
mithro | all from Enum's and generics | 19:33 |
nash | sounds like it's ready for release | 19:33 |
mithro | shouldn't these be fixed by now? | 19:33 |
mithro | Alklomion: I'm just looking at the action items from the last meeting, we where targeting to have all compile errors finished by today right? | 19:35 |
Alklomion | Yeah and I'm about a week behind | 19:35 |
mithro | oh? | 19:35 |
Alklomion | One class in net.thousandparsec.netlib contains errors (TP03Decoder) | 19:36 |
Alklomion | thousandparsec.netlib.tp03 rather | 19:36 |
Alklomion | and three classes in thousandparsec.netlib | 19:36 |
mithro | how are you finding this out? | 19:39 |
Alklomion | When you've opened the project, on the left top side of the screen theres tabs for files, projects services and classes. clicking projects, i look at the source packages | 19:40 |
mithro | sending you a screenshot | 19:40 |
Alklomion | over e-mail? | 19:42 |
mithro | yeah | 19:42 |
mithro | done | 19:42 |
Alklomion | aah, right | 19:43 |
mithro | that shows you what I see | 19:43 |
mithro | I don't see any thousandparsec.netlib.tp03 | 19:43 |
Alklomion | I've been copying the directory from src-generated/thousandparsec/netlib/tp03 in to src/thousandparsec/netlib | 19:44 |
Alklomion | netbeans would complain otherwise | 19:45 |
mithro | so I should do a move | 19:45 |
mithro | ? | 19:46 |
mithro | can you describe me exactly what I should do to get what you have | 19:47 |
Alklomion | yep, from the main directory of the project, copy the directory at src-generated/net/thousandparsec/netlib/ (called tp03) to src/net/thousandparsec/netlib | 19:48 |
mithro | I have errors in the util package | 19:51 |
mithro | have you fixed that one? | 19:51 |
mithro | (and maybe forgot to commit it? | 19:51 |
Alklomion | Oh, i haven't touched that package apart from adding FilterInputStream.java | 19:52 |
mithro | so Pair and AbstractIterator are both have errors | 19:53 |
Alklomion | yes | 19:54 |
mithro | so when should we plan to have all these errors finished by? | 19:56 |
mithro | have you looked into the URI problem? | 19:56 |
Alklomion | a little bit on the URI problem. URI's are just strings, no? | 19:57 |
mithro | yes, but URI objects let you get bits of the string out | 20:00 |
mithro | they are quite complicated to get the right bit out | 20:00 |
mithro | have you tried looking in the classpath stuff? | 20:04 |
mithro | (the gnu classpath I sent you?) | 20:04 |
Alklomion | to implement URI from gnu classpath, I'd need to also use | 20:08 |
Alklomion | import java.io.IOException; | 20:08 |
Alklomion | import java.io.ObjectInputStream; | 20:08 |
Alklomion | import java.io.ObjectOutputStream; | 20:08 |
Alklomion | import java.io.Serializable; | 20:08 |
Alklomion | import java.util.regex.Matcher; | 20:08 |
Alklomion | import java.util.regex.Pattern; | 20:08 |
Alklomion | all of which do not exist in j2me | 20:08 |
Alklomion | oh wait, IOException is there :) | 20:08 |
mithro | do you really need Serializable? you can probably cull all that | 20:09 |
mithro | you can probably remove the stream ones too | 20:10 |
mithro | which I think means that IOException goes away | 20:10 |
mithro | regex is a little more difficult | 20:10 |
mithro | nash: how do you parse a URI? | 20:12 |
nash | regex generally | 20:12 |
nash | static const char *urlpattern = | 20:13 |
nash | "^tp" /* The tp */ | 20:13 |
nash | "(\\+?http)?" /* 1: Use Http */ | 20:13 |
nash | "(s)?" /* 2: ssh */ | 20:13 |
nash | "://" | 20:13 |
nash | "(" /* 3: Start optional pass/username */ | 20:13 |
nash | "([[:alnum:]]+)" /* 4: Username */ | 20:13 |
nash | "(:" /* 5: Start optional password */ | 20:13 |
nash | "([[:alnum:]]+)" /* 6: Password */ | 20:13 |
nash | ")?" | 20:13 |
nash | "@)?" /* - End username */ | 20:13 |
nash | "([[:alnum:].]+)" /* 7: Server */ | 20:13 |
nash | "(:([[:digit:]]+))?" /* 9: Port */ | 20:13 |
nash | "/([[:alnum:]]+)?" /* 10: Game */ | 20:13 |
nash | "$"; /* Terminating '/' */ | 20:13 |
mithro | Alklomion: guess you could write some code which does that without using regex - you probably want to use that file as a template anyway then | 20:14 |
nash | Surely there is a regex? It's not that hard... | 20:15 |
llnz | nash: that regex fails on ipv6 ip addresses | 20:15 |
mithro | nash: no regex library in MIDP | 20:16 |
nash | llnz: You are welcome to fix it, you have commit ;-) Since I haven't tested with ipv6 at all.. not surprised | 20:17 |
nash | mithro: In which MIDP? | 20:17 |
* nash notes that targetting midp is probably the problem | 20:17 | |
mithro | nash: how else would you target a phone? | 20:18 |
mithro | Alklomion: so? | 20:20 |
mithro | do you think we could do no errors by next monday? | 20:21 |
mithro | IE 2nd of June | 20:21 |
Alklomion | i'm confused now | 20:21 |
mithro | Alklomion: what with? | 20:21 |
Alklomion | the regular expression stuff | 20:21 |
mithro | okay | 20:22 |
Alklomion | could you give an example of a url pattern that might be formed from that regular expression? | 20:22 |
llnz | Alklomion: tp://Anom:[email protected]:6923/tp | 20:23 |
mithro | the do you know what a regular expression is? | 20:23 |
Alklomion | sort of - i've never used them.. successfully that is | 20:23 |
*** Ohm has quit IRC | 20:24 | |
mithro | regex is just a way of specificing a certain type of string to match | 20:25 |
mithro | so for a URI it's a "nice" way to get the username/password/etc out of a URI | 20:26 |
mithro | so you have two options | 20:27 |
mithro | 1. find a working regex engine for MIDP | 20:27 |
mithro | 2. rewrite URI.java so it doesn't need regex | 20:27 |
*** zzorn has joined #tp | 20:29 | |
*** Ohm has joined #tp | 20:30 | |
mithro | Alklomion: make sense? | 20:30 |
Alklomion | yes | 20:30 |
mithro | so | 20:31 |
mithro | do you think we could have a compiling library by Monday? | 20:31 |
Alklomion | probably not, no | 20:31 |
mithro | okay, what is blocking that happening? | 20:32 |
Alklomion | university work | 20:34 |
nash | mithro: I probably wouldn't ;-) | 20:36 |
mithro | Alklomion: this is technically University work too :P | 20:36 |
Alklomion | true, but I must let a 7000 word research proposal take precedence | 20:37 |
JLafont | I find myself breaking tpserver-py at least once a day :( | 20:37 |
mithro | so how much longer do you have? remeber the goal is to have a client login and do something before the term ends | 20:37 |
mithro | JLafont: breaking in what way? | 20:38 |
JLafont | Trying to delete a game. So tpserver-py-tool just hand up on me | 20:38 |
JLafont | It says something like Deleting game, waiting for server. | 20:38 |
JLafont | And then the console is flooded by .'s | 20:38 |
JLafont | takes a while for the flood to come | 20:40 |
JLafont | the .'s come at a very slow pace | 20:40 |
JLafont | Its probably my own fault though | 20:41 |
mithro | JLafont: that sounds like a buffering issue | 20:47 |
mithro | Alklomion: so when can you have it done by? | 20:47 |
mithro | Alklomion: and do you think you'll be able to meet your final goal? | 20:47 |
Alklomion | the final goal of having a working interface? | 20:49 |
mithro | Alklomion: no this terms goal of having a login client | 20:49 |
Alklomion | If i get the library working, the login client shouldn't take too long | 20:50 |
Alklomion | but every step forward i take, it seems i'm taking three steps back because something else is not available in midp | 20:51 |
Alklomion | I'm wondering if it is possible to write a small parser that is project specific, would that suffice? | 20:52 |
mithro | Alklomion: you mean for the URI? | 20:52 |
Alklomion | there'd be a limited number of ways that a thousand parsec URI could be written no? | 20:53 |
Alklomion | yes | 20:53 |
mithro | Alklomion: sure | 20:53 |
mithro | Alklomion: but it turns out parsing a tp URI is exactly like parsing any other URI | 20:53 |
mithro | you also need to look into why where these errors not picked up in your initial evaluation either? | 20:55 |
mithro | JLafont: it's waiting for the server to release a lock on the game | 20:55 |
mithro | and if it's breaking you should try and figure out why | 20:57 |
*** Ohm has quit IRC | 20:57 | |
JLafont | yeah | 20:58 |
JLafont | I figure its because of some of the changes I've done | 20:58 |
JLafont | spurs game in 30 mins | 20:59 |
JLafont | then full QQ session will begin | 20:59 |
JLafont | haha | 20:59 |
mithro | QQ session? | 21:02 |
mithro | Alklomion: so..... | 21:02 |
JLafont | haha | 21:02 |
mithro | Alklomion: I need to head out very soon | 21:02 |
JLafont | its kind of like a gaming thing / making fun of the emo kids | 21:02 |
JLafont | if spurs lose this game they are out. So QQ = sad/depression/ /wrists | 21:03 |
JLafont | Its just a very long winded joke | 21:03 |
* JLafont is bad at general jokes | 21:03 | |
Alklomion | When will you be on irc next mithro? I'm looking up how to handle or remove the regular expressions from URI, I don't think it is possible (with my level of knowledge on regexp) | 21:05 |
Alklomion | to actually trim down the URI class | 21:06 |
mithro | Alklomion: well, you could gut all the methods and just the GNU classpath one as an "interface" definition | 21:06 |
mithro | I'm on IRC most days | 21:06 |
mithro | I'll be around on the weekend | 21:06 |
Alklomion | erm: well, you could gut all the methods and just the GNU classpath one as an "interface" definition? | 21:07 |
Alklomion | what do you mean by that? | 21:09 |
mithro | okay, you have to provide a URI class of some sort | 21:10 |
mithro | and it has to have the methods which are used by the TP03Decoder class right | 21:11 |
mithro | so you take the URI.java file, you remove all the regex code and replace it with custom code | 21:11 |
mithro | does that make sense? | 21:15 |
*** bddebian has joined #tp | 21:15 | |
Alklomion | yes | 21:16 |
*** Erroneous has quit IRC | 21:16 | |
bddebian | Heya | 21:17 |
mithro | Alklomion: so | 21:18 |
mithro | when will we have compiling code? | 21:22 |
mithro | and do you think your this term goal is going to be successful? | 21:22 |
Alklomion | I'm unsure | 21:23 |
Alklomion | I'd probably say i'll spend most of this coming week getting it compiling, I will not be able to have it done by monday | 21:24 |
mithro | so this Friday then? | 21:24 |
Alklomion | Sounds like a semi-safe bet | 21:26 |
mithro | okay, well I think to reach this goal you need to send me a status report on Monday and on Wednesday | 21:26 |
mithro | does that sound reasonable? | 21:26 |
Alklomion | ok | 21:28 |
mithro | and I want commits atleast that often | 21:29 |
mithro | so | 21:30 |
mithro | 1. The library will compile by out meeting on Friday | 21:30 |
mithro | 2. You'll send me a status report on Monday and Wednesday which includes details on progress | 21:30 |
mithro | that all okay? | 21:31 |
Alklomion | sure | 21:31 |
mithro | okay | 21:32 |
mithro | meeting same time as next week | 21:33 |
* mithro is heading out now | 21:34 | |
mithro | see ya | 21:35 |
*** mithro has quit IRC | 21:52 | |
*** Alklomion has left #tp | 21:57 | |
*** Ohm has joined #tp | 22:19 | |
*** Asmm has joined #tp | 22:23 | |
Asmm | hello | 22:23 |
Asmm | anyone had any luck using cvs to access the repositories? | 22:24 |
llnz | Asmm: some people use them, so yes | 22:24 |
Asmm | ok, thanks, just wanted to be sure the cvs emulation works... which means i must be doing something wrong, not the server :) | 22:28 |
llnz | ok, did you cvs login? | 22:32 |
Asmm | ok, i made it work. I only wanted the code using anonymous cvs, apparently one should nto login, and for git repositories should checkout "master" dir for master branch. Thanks anyway! | 22:36 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!