Thursday, 2007-05-17

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
mithronash: cool00:01
nashThought it's nice to make things look a little newer ;-)00:02
nashNeed to get more boxes there so we have something to aim for as far as client implemntations are concerned00:04
nashBTW: Have you seen cgit?  Faster version of gitweb?00:07
mithrohttps://sourceforge.net/tracker/index.php?func=detail&aid=1720474&group_id=132078&atid=72309900:07
tpb<http://ln-s.net/Wrw> (at sourceforge.net)00:07
mithronash: no?00:07
mithrowhen searching for cgit i get the following00:08
mithrohttp://www.cgit.ca/00:08
tpbTitle: CGITCGIT (at www.cgit.ca)00:08
mithro:P00:08
nash<nash> Answer is... yes, after 15 minutes or so00:08
nashStupid paste... http://hjemli.net/git/cgit/00:08
tpbTitle: cgit - Fast webinterface for git (at hjemli.net)00:08
nashmithro: Shoudl I get those emailed to me?00:09
mithronash: dunno00:09
nashBloody useless bugtracker00:09
mithroi get emails00:12
nashmithro: Did you do a make clean after you last updated?  My dependancies are pretty rough00:13
mithroyes00:13
mithromake clean00:13
mithromake00:13
mithro./galaxie00:13
nashtpserver-py I assume?00:14
mithroyes00:47
mithroeven if it's doing something wrong - crashing on a bad server is probably not the best :P00:48
nashI agree entirely.  But the issue of reproducing it still is a problem00:49
nashAhh.. found it... missing a comma !?00:54
mithro!?00:56
nashLook at the patch00:56
nashYou'll probably trip an assert now...00:58
nashWhich is on the todo list00:58
mithroasserts are better then segfaults :P00:59
nashThere is also a FIXME on the line above01:01
nashInterestingly I need to fix my entire login process... currently I seem to start assuming I've logged in before I've even sent the login message in some cases.01:02
mithroouch01:05
nashTiming is such it generally all works01:07
nashAnd tpserver-cpp is fairly soft on this apparently.  It is on the todo list01:07
nashI'll fix it when I add proper metaserver supoprt01:09
mithronash: well, it would be good to fix as I'm working on fixing up tpserver-py which isn't really and using galaxie to test01:29
mithromainly the AI side01:30
nashmithro: I'll see what I can do this weekend then.01:34
nashI suppose you'd like the other AI to work too ;-)01:34
nashHowever it should work fine as long as the account it is logging into exists01:39
*** nash has quit IRC03:40
tuna-fishAre there working tp forums somewhere?05:13
mithrotuna-fish: you could use gmane interface06:44
mithroor nabble06:44
mithrohttp://www.thousandparsec.net/tp/news.php/2007-04-28-000406:45
tpb<http://ln-s.net/WwL> (at www.thousandparsec.net)06:45
mithronash: tim@ultraslim:~/oss/tp/galaxie$ ./galaxie06:52
mithroUnable to find event ResrouceNew06:52
*** Demitar has joined #tp06:56
*** nash has joined #tp07:13
tuna-fishI was wondering things on scanning. Specifically, scanning is a O(n²) problem, and if no limits on amount of objects are specified (which I kinda don't want) it might become a problem.07:16
mithronash: tim@ultraslim:~/oss/tp/galaxie$ ./galaxie07:17
mithro Unable to find event ResrouceNew07:17
nashI thought I fixed that this afternoon07:17
mithroopps, maybe I need to update07:18
tuna-fishIn supernova, it was planned to flatten scanning so that everywhere is just scanned or penscanned, and cloaks work on chance, so if you got 98% cloak, you have a 2% chance of getting caught. This is something I also don't like.07:18
nashthat bites07:18
nashThat isn't fatal for what it is worth07:19
mithrotim@ultraslim:~/oss/tp/galaxie$ make07:19
mithromake: Nothing to be done for `TARGETS'.07:19
mithro?07:19
nashweird07:19
nashyou updated?07:20
mithromaster 93f1a9a3e784~ Don't crash with no Home, and start to handle Resource new.07:20
mithrostill same problem07:21
mithro(after make clean; make07:21
* nash looks07:21
tuna-fishso I figured that perhaps I could whip up something that would create a BSP tree for all objects that can potentially be scanned for each player, then each scanner of that player recursively walks the tree, If it comes upon an object it can see, it adds it to the seen objects list, and removes it from the tree. also, the walker function can stop walking the tree when it knows it's too far from the scanner.07:29
nashmithro: cd ~/blah/galaxie ; grep ResrouceNew *07:36
mithrotim@ultraslim:~/oss/tp/galaxie$ grep ResrouceNew *07:36
mithroBinary file galaxie matches07:36
mithrotpe_gui.c:      tpe_event_handler_add(gui->tpe->event, "ResrouceNew",07:36
mithroBinary file tpe_gui.o matches07:36
nashcg-update then07:37
nashcg-log - what is the last commit you see?07:37
nash   R tp       93f1a9a3e784~ Don't crash with no Home, and start to handle Re...07:38
nash   R web      93f1a9a3e784~ Don't crash with no Home, and start to handle Re...07:38
nashwait07:38
nashweird07:38
CIA-3nash galaxie * r69f9a742f21f /tpe_gui.c: Fix typo in resource name.07:38
CIA-3nash galaxie * rd87ac6fce431 /tpe_comm.c:07:38
CIA-3Fix missing comma in tpe_msg_send_format call, was cauing segfault.07:38
CIA-3Closes bug 172047407:38
CIA-3https://sourceforge.net/tracker/index.php?func=detail&aid=1720474&group_id=132078&atid=72309907:38
tpb<http://ln-s.net/Wrw> (at sourceforge.net)07:38
nashThey didn't push before07:38
nashstrange07:39
*** dmpayton has quit IRC07:57
mithronash: all fixed08:16
nashcool08:16
*** llnz has joined #tp08:37
llnznw14r9b208:38
llnzerrr08:38
llnzglad i don't use that one....08:38
mithrollnz: :P08:42
nashAt least not anymore...08:42
mithronash: umm - how do I login with an @ using galaxie?08:42
* nash notes llnz seems to use reasonable passwords thous08:42
nashmithro: You need to use the full url tp://server/gamename08:43
mithrohrm....08:43
nashOr --game08:43
nash:-)08:43
nashIt's just undocumented at the moment08:43
nashor -g if you prefer08:43
llnznash: what did you fix in the protocolxml2html.xslt?08:48
nashllnz: I'm not sure where that came from.08:49
nashI didn't write that, so I'm not sure whose patch I pulled then pushed08:49
llnzodd08:49
nashVery08:49
nashWay back on May 7th -08:50
llnzahh, a merge commit08:50
* llnz wanders off09:00
llnzlater all09:00
*** llnz has quit IRC09:00
*** Epyon_ has joined #tp11:32
*** tpb changes topic to "Help us finish the game already! :) || http://www.thousandparsec.net/tp/rss.php || cpp-ser"11:53
tpbChanServ has joined on worldforge11:53
tpbmode change by purple.worldforge.org on worldforge: +o ChanServ11:53
tpbChanServ has left on worldforge11:53
*** TBBle has quit IRC11:56
*** Epyon_ has quit IRC12:26
*** Epyon has quit IRC12:27
*** dmpayton has joined #tp15:36
dmpaytonHowdy.15:37
tpbdisconnected from worldforge: Ping sent at 2007-05-17T15:58:27 not replied to.16:00
tpbtpb` has joined on worldforge16:00
tpbtpb has quit worldforge (Ping timeout: 380 seconds)16:02
tpbnick change by tpb` to tpb on worldforge16:02
tpbaloril has quit worldforge (purple.worldforge.org blue.worldforge.org)16:06
tpbaloril has joined on worldforge16:12
*** nash has quit IRC17:46
*** JLP has quit IRC18:16
*** nash has joined #tp19:37
mithromorning people19:48
mithrodmpayton: you about?19:48
* dmpayton abouts19:48
nashheyo mithro19:49
dmpaytonHow're things, mithro?19:49
mithrodmpayton: pretty good19:49
mithrohow are things with you?19:49
dmpaytonmithro, adding to the list of reasons why I'm going to work freelance by the end of summer.19:50
* dmpayton 's not really happy with his current employer19:51
mithroso - I'm assuming that means you havn't had much chance to do any SoC work?19:51
dmpaytonActually... I should be free to do SoC stuff tonight.19:52
dmpaytoni'd like to get setup with GIT tonight19:54
mithrodmpayton: okay20:04
mithrowhen is "tonight" :P20:04
dmpaytonmithro, after dinner, which I'm starting in a few minutes.20:09
mithrodmpayton: so in an hour or two?20:09
dmpaytonmithro, Yep20:09
mithrodmpayton: okay I should be at uni by then20:09
dmpaytonmithro, you gonna be available?20:10
mithrodmpayton: I should be around20:10
mithrootherwise you can pester nash :P20:10
dmpayton:)20:10
dmpaytonWelp, I'm off to deep fry some fries.20:11
*** Epyon has joined #tp20:12
mithrohey Epyon20:30
mithro~seen niphree20:31
tpbmithro: niphree was last seen in #tp 3 days, 1 hour, 16 minutes, and 4 seconds ago: <niphree> hehe - ok, so now I have to do something really cool :D20:31
mithrowell I'm heading off to uni, bblr (about 30 minutes to an hour)20:31
nashhave fun20:32
*** mithro has quit IRC20:49
*** mithro has joined #tp21:04
mithrohowdy21:07
mithroi'm at uni so may be a little in and out21:07
mithronash: ping?21:13
mithronash: galaxie seems to be successfully downloading the universe, but it doesn't seem to be actually displaying anything21:16
nashback now21:21
nashmithro: zoom out?21:21
nashIt there the background image?21:21
mithroyes there is a background inch21:22
nashI assume inch == image there21:22
nashIs there something up the top left - the message button?21:23
mithronash: yes21:24
mithronash: no21:24
mithrobut that could be because boards are a little broken at the moment21:24
nashOkay21:27
nashZoom out a bit21:27
nashI just pick a random point for the 'unioverse'21:27
nashIf tpserver-py uses a different positioning algorithm the stars will be off the map21:27
*** dmpayton has quit IRC21:29
mithrohow do I zoom? :P21:29
nashZoom is - and + (actually equal should work - on your main keyboard)21:31
nashmithro: I need to get 'Home Planet' working properly21:32
*** dmpayton has joined #tp21:32
nashAlso I'm happy to support better heuristics for the initial map show - unfortunately the size of the galaxy has little to do with the positions of the stars21:33
mithroi don't have any home planet indication21:34
dmpaytonBack.21:34
nashmithro: Hence why I wanted it as a standard feature of the API ;-)21:35
nashmithro: And I'm always happy to accept patches ;-)21:35
mithrobtw your game stuff is borked21:35
mithrotim@ultraslim:~/oss/tp/galaxie$ ./galaxie --username nash --password password --server localhost --game tp21:36
mithroRegular expression error: No match21:36
mithroRegular expression error: No match21:36
nashmithro: SInce I haven't tested it...21:36
nashstrange21:36
mithroand it just keeps outputing that last line21:36
nashI know what would cause that... give me a moment21:36
mithronash: couldn't you just scale it to fit everything on?21:37
nashI could - but then I need to rescale after I've started drawing hte map21:38
nashwhich I didn't want to do ...21:40
nashhowever I'm happy to zap to home when I see it21:40
nashmithro: Weird --game uses the same code as everything else...21:41
nashNo... I know the problem21:41
nashmithro: Ahh... I found the issue... I keep trying to parse the argument multiple times21:47
nashHence I see --game tp - and tp looks a bit like a tp:/// URL, that returns an error... yadda yadda...21:48
mithronash: don't you have to change the scale when you zoom anyway?21:48
nashYes, but that is the user doing that21:48
nashNot me rescalling on teh user21:48
nashRemember over a slow link it can take 10 seconds or so before the map is populated21:48
CIA-3nash galaxie * r33b7b132c33f /galaxie.c: Improve parsing of command line.21:49
nashmithro: try that21:52
nashelse try --game <somthingnotbeggining in tp>21:52
* mithro 's wireless is worse then normal today21:54
mithronash: you don't seem to be sending the @tp part?21:57
nashblrge22:00
* nash looks22:00
mithroReceived: 0x54(T) 0x50(P) 0x30(0) 0x33(3) 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x1422:00
mithroReceived: 0x0 0x0 0x0 0x4 0x6e(n) 0x61(a) 0x73(s) 0x68(h) 0x0 0x0 0x0 0x8 0x70(p) 0x61(a) 0x73(s) 0x73(s) 0x77(w) 0x6f(o) 0x72(r) 0x64(d) 0x54(T) 0x50(P) 0x30(0) 0x33(3) 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x19 0x0 0x0 0x0 0x022:00
nashmithro: Fixed22:04
CIA-3nash galaxie * r04bd21fdf801 /tpe_comm.c:22:04
CIA-3Connect with game as well as user/pass.22:04
CIA-3Bug fix, with thanks from mithro.22:04
mithronash: now I get a segfault :P22:09
nashheh22:10
nashBacktrace?22:10
CIA-3nash galaxie * r1680a301205d /tpe_comm.c: Fix bad use of game variable.22:13
nashmithro: Give that a burl22:13
mithrobrb22:14
dmpaytonsynaptic only has git 1.4. Will that be alright, or do I need to compile 1.5?22:14
nashdmpayton: Should be fine.  Somethings are a little different, but it will work22:15
nashTry and move to 1.5 once you can (but get a packaged version, don't screw around compiling one)22:16
dmpaytonnash: yeah, I didn't see any 1.5 packages22:16
nashYou are on ubuntu right?22:17
dmpaytonYeah22:17
nashO22:17
nashWhen mithro gets back... ask him how he got 1.5... but 1.4 is good enough22:17
dmpaytonOkay.22:17
*** mithro has quit IRC22:37
*** mithro has joined #tp22:54
nashmithro: dmpayton payton, git, cogito and ubuntu...22:55
mithroback22:56
dmpaytonwb mithro22:57
mithrohey dmpayton23:01
mithrodmpayton: so where are we at?23:01
dmpaytonmithro, git 1.4 is installed.23:01
dmpaytonand I'm reading over the tutorial23:02
mithrookay23:04
mithrothe tutorial actually refers to 1.5, but 1.4 should still work23:04
dmpaytonbtw, how did you get 1.5 on ubuntu?23:05
mithrodmpayton: I installed the debian unstable packages23:10
mithrodmpayton: it'll probably be in the back ports repository soon enough23:11
* mithro is quite lagged atm :/23:14
mithroping?23:27
dmpaytonpong.23:28
mithrodmpayton: so, hows it going :P23:34
dmpaytonmithro: Going alright. Just grabbed a copy from the server with cg-clone23:34
mithrodmpayton: cool23:34
mithrousing the git:// protocol?23:34
dmpaytonYeah23:34
dmpaytoncg-clone git://git.thous...etc23:35
mithronash: ping?23:35
mithrohow can I commit part of a file?23:35
mithrodmpayton: okay - you will need to be able to clone using the git+ssh:// protocol23:35
mithro(before you can push)23:36
dmpaytonAlright.23:36
nashgit-add --interactive or git-commit --interactive23:37
nashthen use the diff command23:37
nashmithro: that was for you23:37
nashAnd I'm about to go to lunch23:37
mithronash: i can't figure out how to use the interactive mode23:37
mithronone of the commands seem to do anything23:38
nashit's 5 or 623:38
nashthen you select which file, and it starts to show the hunks23:38
mithroahh i see what I'm doing now23:39
mithroyou use git-add to stage stuff then git-commit to commit it?23:39
nashYes23:39
mithroyou should first test sshing23:41
mithrodo a "ssh git.thousandparsec.net"23:41
mithroit should say something like "what do you think I am, a shell"?23:42
mithronash: galaxie doesn't handle the case where the server closes the connection on it23:42
nashthat's correct23:42
nashbug report it23:42
* nash goes to lunch23:43
dmpaytonmithro: can't seem to connect23:45
mithrowhat is it saying?23:45
mithroyou can only login with your ssh-key23:45
mithro-v should get you more verbose output23:46
mithronash: arg - you have a timing issue, the program doesn't segfault in gdb but does outside of it23:46
dmpaytonmithro: s/connect/login/23:49
dmpaytonapparently I'm entering the wrong password23:49
mithrodmpayton: you can't use a password23:50
mithroyou must login with the key you sent us23:54
mithrohrm... someone is trying to login as root on our machine23:54
mithrodmpayton: is this you 200.13.174.122 ?23:54
mithrootherwise I will null route them23:54
dmpaytonHow do I find out my ip in linux?23:55
mithroifconfig23:55
mithroor right click on the little networkmanager box and go "connection info"23:56
dmpaytonAh23:56
dmpaytonnope, s'not me.23:56
dmpaytonI'm 67.x.x.x23:56
dmpayton200.13.174.122 is in Honduras.23:57
mithrookay23:57
mithroyou can't login with a password on that machine - but it's still good to get rid of them23:59

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