Tuesday, 2007-05-01

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
dmpaytonmithro: ping?00:38
mithrodmpayton: pong?00:38
CIA-30nash galaxie * r735fed6a2112 / (tpe_comm.c tpe_msg.c): Try to create an account if logging in fails.00:54
CIA-30nash galaxie * rf5f2dec2ef95 /galaxie.c: Don't segfault if the URL is incorrect.01:00
* DystopicFro looks around for nash01:20
nashDystopicFro: heh... I'll be heading of shortly - but I'm here for 20 minutes or so01:21
DystopicFrod'oh01:22
DystopicFrosorry about that, got caught up in some other things01:22
nashThat's cool01:22
DystopicFrogood news is that I'm a good bit more comfortable with git now, having it on both of my computers, using cygwin for windows01:22
nashIt must be like 3am oever there01:22
nashSweet01:23
nashIt's really not that hard01:23
DystopicFro10:30PMish >.<01:23
nashOh.. easy01:23
nashI thought you were further round then then that ;-)01:23
nashAnyway - so are you in unix or pain^w windows land?01:23
DystopicFrowell, I got flumuxed when I pushed a change from one repo on one computer to the other01:23
nashAhh... git-reset01:24
nashThe one thing not to do ;-)01:24
DystopicFroI mostly work in Windows, and vnc into a headless linux box for the cool stuff01:24
nashRight01:24
nashAnyway - so have you imported your stuff yet?01:24
DystopicFroer, nar, not yet, I figured that I should ook to you there, so's I don't do anything silly01:25
nashheh - initial import is pretty simple01:26
nashJust open a shell in the directory with the code01:26
nashAnd do git-init or cg-init01:26
DystopicFroah...yes, already done that01:27
* DystopicFro is expecting trickery at every corner01:28
nashheh01:28
nashthen fire of a cg-status01:29
nashThat will tell you what needs to be imported01:29
nashlots of cg-adds to add everything in, then when you are done - cg-commit01:29
nashDo you have a website somewhere you can copy stuff to - so I can clone from it?01:31
DystopicFrohm...do I have to do an init in every subdirectory? that seems a bit...counter-intuitive01:32
DystopicFroyes, I can put it up someplace01:33
nashNo, just in the top leve01:33
* mithro pokes dmpayton 01:33
nashWhen you go into a subdir and do some cg-add it will add the directory automatically01:34
mithrogit doesn't understand directories01:34
nashNo, it just doesn't track them explicitly01:35
mithroyou can't add an empty directory01:37
* DystopicFro resolves to putzing around for a bit with git01:38
DystopicFronash: I'll email you the location that you can clone from when I get it up01:38
nashDystopicFro: Sweet...01:39
jothamanyone ever done an OCR?01:39
jothamand hi01:39
jothami am finally back on tp01:39
jothamafter a jillion years of day job hell01:39
nashOCR = optical character recognise?01:41
nashIf so - a tiny bit01:41
jothamrecognition01:41
jothamyeah01:41
*** nash has quit IRC02:04
mithrojotham: so you can finish of the battleviewer now?02:08
jothamyes02:08
jothamhows it all going anyway02:20
jothamis the git tutorial page up02:20
jothamhttp://notnotabouthim.livejournal.com/45897.html02:22
tpb<http://ln-s.net/TH7> (at notnotabouthim.livejournal.com)02:22
*** mithro has quit IRC02:49
*** mithro has joined #tp03:46
mithrojotham: there is a semi-usful page at http://www.thousandparsec.net/tp/dev/rcs.php03:52
tpbTitle: Thousand Parsec : Source Code (at www.thousandparsec.net)03:52
*** mithro has quit IRC04:27
Epyonnash, how do you imagine the resource images?04:37
EpyonAnd second question -- should I make all images "left facing", "right facing" or different depending on type?04:38
EpyonDuh, nash's not here :(04:39
*** llnz has joined #tp05:36
* llnz ponders05:47
*** mithro has joined #tp05:52
llnzhi mithro05:53
mithrohey llnz06:09
mithrollnz: enjoying your freedom?06:12
llnznot yet06:14
llnzhave the final report for my funding to finish off06:15
llnzand a presentation and paper to write06:15
mithrollnz: did you get the spam to tp-devel?06:17
llnzno, not that i saw06:18
mithroSubject: Re: [tp-devel] MedHelp 5298182006:18
mithro?06:18
mithrobrb06:19
*** mithro has quit IRC06:19
CIA-30llnz tpserver-cpp * r1587c9b50713 /tpserver/metaserverconnection.cpp:06:21
CIA-30Stop publishing private ip addresses to metaserver.06:21
CIA-30Should cut a few corner cases out of metaserver problems.06:21
CIA-30Closing bug: #166422006:21
*** mithro has joined #tp06:21
llnzmy isp might have filtered it out, or spamassasin did a really good job06:22
mithroit appears it did get onto the list06:24
CIA-30llnz tpserver-cpp * r721822a32a3a / (11 files in 3 dirs):06:54
CIA-30Moving nop ordertype from tpserver to game modules.06:54
CIA-30Both Minisec and MTSec get a copy. Needed to move to remove assumptions06:54
CIA-30from IGObject.06:54
jothami've totally done how the rounds work all wrong06:57
jothamfeh06:57
mithrojotham: oh?06:58
jothami don't know what the jargon is, but basically the depend on the previous state to define their next state06:58
jothamwhich makes a skip forward or backward control a bit of a bitch06:58
jothamif i made them totally setup from scratch each 'round' then you could jump to an arbitrary round just ifne06:59
jotham*fine06:59
jothami'll have a think about it06:59
mithrooh - yeah I guess so06:59
jothamoh well, bath time06:59
llnzhummm... git doesn't really have the concept of a move07:13
EpyonAnyone has a clue how MTSec Massivium should look like? o.O07:27
llnzEpyon: it doesn't matter much07:28
llnzi should look like it's not dense, maybe07:29
EpyonHow about antimatter/antiparticle?07:49
mithrollnz: no - and it turns out there is a good reason why07:51
EpyonReference image would make a world of a difference07:51
llnzmithro: oh?07:52
mithrollnz: a move of a whole file is just a specific case of moving small amounts of code otherwise07:53
mithroIE moving a function from one file to another07:53
llnzah07:53
llnzhummm.... ok07:53
CIA-30llnz tpserver-cpp * r72c91a0506a6 /tpserver/ (persistence.cpp persistence.h):07:54
CIA-30Added save and retrieve methods for GameInfo.07:54
CIA-30This will include the game creation time, the current turn number, and the07:54
CIA-30key for talking to the metaserver. Other fields to be saved could be added07:54
CIA-30later.07:54
CIA-30llnz tpserver-cpp * reeca4ec105eb /tpserver/ (game.cpp game.h):07:54
CIA-30Game has ctime, turn number and key, and uses them.07:54
CIA-30This is to hold some important game info in the Game object for persistence07:54
CIA-30and to not depend on the Universe objectype.07:54
CIA-30ctime is the game creation time (aka game start time).07:54
CIA-30llnz tpserver-cpp * r61e57e8b7d25 /tpserver/game.h:08:01
CIA-30getGameStartTime() method can be used in other places than just persistence08:01
CIA-30such as publishers, statistics and status commands.08:01
* llnz wonders how long it will take before the metaserver has a timeout for llnz and accepts the new game with a new key08:08
CIA-30mithro libtpproto-py * r6d80876c7e28 /tp/netlib/server.py:08:12
CIA-30Fixed [ 1709902 ] tpserver-py doesn't handle interrupted syscalls.08:12
CIA-30Strange, this appears to be an attempt to let the poller timeout on a08:12
CIA-30syscall. Might be useful at a later date.08:12
mithrollnz: it will never accept the same game with a new key08:13
llnzoh :-(08:13
llnzwhat do i need to change to make it sane?08:14
llnzthe long name?08:14
mithrootherwise somebody could knock you of the internet and then register their own server as you08:14
mithrollnz: dunno08:14
llnzthen i guess i will be adding a lot of games over the coming weeks08:16
llnzhummm....08:17
mithrollnz: why?08:17
llnzbecause i need to reset to test things, and i don't have persistence working again yet08:18
llnz(probably doesn't even compile)08:18
mithrostore the key somewhere?08:18
llnzi would, in persistence.....08:19
mithroin the config file?08:19
mithrothe key is pretty much "metaserver registration password"08:19
llnzI don't really want it user settable08:19
mithrowhy?08:20
llnzgame automatically generates it when it creates the game08:20
llnzwhy? to stop people using stupid values08:20
* llnz thinks he will have to turn metaserver updates off while he is heavily developing without persistence08:21
* llnz also notes the when demo1 gets updated next, it will have to change names08:24
llnzand then every time it gets reset....08:24
CIA-30llnz tpserver-cpp * r92f9b6d5c0b8 /tpserver/ (3 files): Use key from Game, clean up MetaserverPublisher not needing key08:26
CIA-30llnz tpserver-cpp * r0a403625327d /tpserver/game.cpp:08:48
CIA-30Fixed problem with initialisation. Either create new game, or initialise08:48
CIA-30not both. Initialise only works when the data is in persistence already,08:48
CIA-30which isn't the case when not using persistence...08:48
CIA-30llnz tpserver-cpp * r66fcd3f56e7e / (11 files in 3 dirs):08:51
CIA-30Moved universe from tpserver to game modules.08:51
CIA-30Part of a plan to clean out a lot of code soon, also gives options to08:51
CIA-30ruleset about how they will have their universe objects.08:51
llnzmithro: something is broken in tpclient-pywx/libtpclient-py/libtpproto-py09:03
llnzTraceback (most recent call last):09:03
llnz  File "/home/lee/oss_projects/tp-py/tpclient-pywx/windows/winBase.py", line 128, in Post09:03
llnz    getattr(window, func)(event)09:03
llnz  File "/home/lee/oss_projects/tp-py/tpclient-pywx/windows/winInfo.py", line 226, in OnSelectObject09:03
llnz    for t, surface, minable, inaccess in value:09:03
llnzValueError: need more than 3 values to unpack09:03
llnzon a planet with resources09:03
mithrohrm....09:04
mithrollnz?09:05
llnzstable tpclient-pywx and libtpclient-py, btw09:05
mithrowhich planet?09:06
mithros/llnz/llnz.dd.org/09:06
llnzyes, planet "lee home planet"09:06
mithrohrm, when did you last pull?09:07
llnzjust now09:08
mithrohrm09:08
mithrocg-status?09:08
llnzno changes to any of the three09:09
mithroi'm after the sha1 :P09:09
llnzah09:09
llnztpclient-pywx 743a9af3a7ae~09:10
mithrollnz: i can't reproduce it here09:10
llnzlibtpclient-py 3e8ee5c12e63~09:10
llnzlibtpproto-py 6d80876c7e28~09:10
mithrohrm...09:10
llnzmithro: start creating a fleet on your planet09:10
llnzin fact you might not even to need to do that09:11
llnztry looking at your planet09:11
llnzyou should have a "home planet resource"09:11
mithroName: lee Planet09:13
mithroParent: 2209:13
mithroPos: 215325034, 1469763828, 009:13
mithroModify_Time: 2007-05-01 22:28:5709:13
mithroOwner: 209:13
mithroVel: 0, 0, 009:13
mithroId: 2309:13
mithroResources:09:13
mithro1unit of Home Planet on surface09:13
mithroSize: 209:13
mithrocan you put "print value" before line 226?09:14
llnzahh, it appears to be working now09:15
mithro?09:16
llnzno traceback, can see all the resources09:16
llnznice to see the names now09:16
CIA-30llnz tpserver-cpp * r6bf748cb65f3 / (11 files in 3 dirs): Shifted EmptyObject to game modules from core (tpserver).09:20
mithrollnz: did you have "star ship parts" too?09:30
llnzyes09:30
mithroand what happened to them?09:30
llnz?09:31
llnzthey get used in creating the fleet09:31
mithroI don't see them appearing on the planet when I build fleets?09:31
mithro1 per turn right?09:32
llnzyes09:32
llnzturn in 2 min 40 sec09:32
mithroput 8 battleships to build09:33
mithrollnz: why not change the units to "" and make the resource called "Empire Captial", then it would read "1 Empire Captial on Surface"09:34
mithroor maybe Leader?09:34
llnzResources:09:35
llnz1part of Ship part on surface09:35
llnz1unit of Home Planet on surface09:35
mithrono new resources?09:35
mithrooh, I see them on your planet09:35
mithrobut not mine?09:36
llnzodd09:41
llnzwaiting for end of turn09:41
llnzodd09:46
llnzvery odd09:49
llnzgoing to reset server, hold one09:49
llnzs/one/on/09:50
llnzworking for you now?09:57
CIA-30llnz tpserver-cpp * rdc01013d220a / (18 files in 3 dirs):09:59
CIA-30Shifted OwnedObject ObjectData class to game modules.09:59
CIA-30Now to start the clean up and refactor.09:59
llnzwhy am i seeing so many "Connection reset by peer"?10:07
llnzand another one10:13
llnzmithro?10:13
mithro?10:13
llnzwhy are you disconnecting with a reset?10:14
mithroCtrl-C10:15
llnzah10:15
mithrowant to put shorter turns?10:15
llnzif you want10:16
llnzhow short?10:16
mithro1 minute?10:17
llnz60 seconds10:18
llnzdone10:18
CIA-30mithro libtpproto-py * r4665f6663057 /tp/netlib/ (client.py common.py objects/Header.py objects/Order.py):10:19
CIA-30Fixed the auto getting of Order Descriptions.10:19
CIA-30It appears some time deep in the past I broke this. It should work again10:19
CIA-30now. Only appeared when you connected to a server and orders already10:19
CIA-30existed on an object of a type you hadn't seen before.10:19
CIA-30mithro libtpproto-py * rf6660930d073 /tp/netlib/objects/OrderExtra/ (Move.py NOp.py): Fixed the name value.10:19
mithroit appears either, tpserver-cpp isn't setting the correct mod-time - or i'm doing something wrong in the caching10:20
llnzhummm....10:25
llnzi think the modtime does get set correctly10:26
llnzmithro: can i reset the server?10:28
mithronot just yet10:28
llnzok10:28
llnzi'll leave it going overnight10:28
llnzi will reset it tomorrow morning or later tomorrow10:29
* llnz wanders off10:30
llnzlater all10:30
*** llnz has quit IRC10:30
CIA-30mithro libtpproto-py * r78a6876a92db /tp/netlib/common.py:10:34
CIA-30Make async frames work again.10:34
CIA-30The fix to the description stuff broke async frames. This makes them work10:34
CIA-30again.10:34
CIA-30mithro libtpclient-py * r2ea7d93226b5 /tp/client/threads.py: Use the cleaner way to get async frames.10:34
*** cherez has quit IRC18:32
*** cherez has joined #tp18:35
*** nash has joined #tp19:11
* nash waves19:30
mithrohey people23:02
mithrodmpayton: ping?23:21
mithro~seen dmpayton23:21
tpbmithro: dmpayton was last seen in #tp 22 hours, 42 minutes, and 45 seconds ago: <dmpayton> mithro: ping?23:21
mithroEpyon: ping?23:25
nashheyo mithro23:57
mithrohey nash, sup?23:58
nashNot much23:58

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