Monday, 2007-02-19

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** tuna-fish- has quit IRC00:08
*** jotham has joined #tp00:40
*** JLP has quit IRC00:42
*** JLP has joined #tp00:42
jothamman food poisoning sucks :\00:47
*** JLP has quit IRC02:45
*** JLP has joined #tp02:45
*** JLP has quit IRC02:52
*** mithro has joined #tp04:12
*** Demitar_ has quit IRC05:59
*** tpb has joined #tp06:00
*** ChanServ sets mode: +o tpb06:00
*** JLP has joined #tp06:58
*** nash has quit IRC07:03
*** mithro has quit IRC07:26
*** mithro has joined #tp08:12
*** llnz has joined #tp09:35
llnzJLP: damn that's odd rwt guile bug on gentoo09:35
*** llnz has quit IRC09:42
*** mithro has quit IRC10:31
*** nash has joined #tp10:48
* nash waves10:49
*** Demitar_ has joined #tp11:00
* nash waves again11:03
*** adhoc has joined #tp11:22
*** mithro has joined #tp11:33
nashhey mithro11:34
mithroheynas11:34
mithrobah11:34
mithrohey nash11:34
nashI worked it out ;-)11:34
mithrowhat?11:34
nashthe 'nas'11:35
mithroi have to beat llnz with a stick11:35
nash?11:35
mithrotpserver-cpp has quite a few memory leaks it appears11:35
nashAhh... I could have told you that ;-)11:35
mithroit was taking up 796mb on my home machine causing the OOM killer to kill stuff11:35
mithroso yeah11:36
nashConsidering all the other bugs... I'd just kill it every hour... ;-)11:37
nashBTW: Is there any reason objects don't have a 'parent' attribute?11:40
* nash didn't think it was that hard a question?11:44
mithrosorry11:44
* nash notes it means you can put things on the map easier ;-)11:44
mithromy gf is here11:44
nashAhh..11:44
mithronash: you should log bugs in the bug tracker11:44
* nash waves to to mithro's SO11:45
nashp.s. mithro's S.O.: Run as fast as you can! ;-)11:45
nashmithro: i'll send it with my request for aligned strings ;-)11:45
nashOr in the same format ;-)11:45
mithronash: bugs in bug tracker are good for annoying Lee :)11:46
nashHow is that?11:46
* nash hopes mithro's gf has a sense of humour... or isn't reading IRC11:50
mithroshe is gone now12:02
nashhope it wasn't anythign I said ;-)12:03
mithroi wonder if running valgrind or similar on tpserver-cpp would be a good idea12:03
nashyes12:03
nashmemprof would be better12:03
mithroi use languages which handle garbage collection for me ;)12:03
mithroonly have to worry about mem usage when I use to much memory :P12:04
nashyep12:04
nashAdvantage of high level languages12:04
nashUnfortunatly I do C all day long... so I do C at home too ;-)12:05
mithroout of intrest, couldn't you use a gabage collecter in C/C++?12:05
nashYou can use one in C++, it's tricky in C.  Problem is the GC doesn't know what is a pointer12:06
mithroyou could forgo bear pointers and use a structure?12:06
jothamhey guys12:07
mithrohey jotham12:07
nashTrust me, you;d not be the first to try... but if you add GC, it's not really C any more.12:07
nashPerformance and Control are the advantages of C.  If you want GC< use a higher level language12:07
nashBTW: tranquillity.nash.id.au/tp/12:08
nashFirst screenshot of my client.12:08
nashAnd I need to go - talk to you later12:08
mithrohey jotham12:08
mithronash: forbidden!12:08
nashBTW: tranquillity.nash.id.au/tp/Screenshot-1.png12:09
nashThat isn't forbidden - directly listing is disabled12:09
nashAnyway - talk to you later12:09
nashGive me your thoughts ;-) (I'll read it later)12:09
nashNot a lot to see however ;-)12:09
mithrodots!12:10
jothamhey mithro12:10
jothamrepeated greatings, serious stuff12:10
mithrojotham: serious stuff?12:11
jothami was being facetious12:11
mithrojotham: i was hoping you ment serious stuff had been done to the battleviewer :)12:11
jothamand misspelling greeting by the looks :\12:12
jothami've been sick (throwing up etc) for the last 3 days12:12
jothamdidn't go to work today12:12
jothamsucks12:12
mithrojotham: damn12:12
jothami have the next bunch of stuff fleshed out on paper actually, just got sick so my brain vacated12:12
mithro:/12:12
mithromaybe the gods are out to get TP developers12:12
jothami watched lots of battlestar galactica though, so it wasn't all bad being be-bedded12:13
jothamgone from not seeing any to ep 7 of season 3 in only a few days =)12:13
jothamanyway, i'm going to get some sleep, i should have some progress in a day or so12:14
*** llnz has joined #tp12:15
mithrohey llnz12:15
llnzlets see if my internet connection holds up12:15
llnzhi mithro12:15
jothamhave you been having problems with telstra?12:15
jothammines been going down every couple of hours12:15
jothamfor a few days now12:15
jothami am also using telstra12:15
mithrollnz: tpserver-cpp was taking up 768mb of ram on my home gateway causing me greef12:15
llnzouch12:16
* llnz check the metaserver12:16
llnz666 objects....12:16
* llnz remembered the number before refreshing12:16
mithro73 on 2 servers12:17
llnzthere were 666 objects on your server12:17
llnzjotham: on telstraclear adsl (telecom lines)12:19
mithroo?12:19
mithrowonder why12:19
llnzdon't know, check the db?12:20
llnz(or just restart the server)12:20
mithroit got killed by the OOM killer12:20
llnzoh dear12:20
nashWhat is the url for the metaserver BTW?12:22
llnznash: metaserver.thousandparsec.net12:22
mithrometaserver.thousandparsec.net12:22
nashthanks12:22
nashand thanks ;-)12:22
*** mithro changes topic to "AI Programming Competition in progress - http://www.thousandparsec.net/tp/comp.php | libtprl release made the front page of Sourceforge | metaserver - metaserver.thousandparsec.net"12:22
mithrollnz: http://tranquillity.nash.id.au/tp/Screenshot-1.png12:27
tpb<http://ln-s.net/J4q> (at tranquillity.nash.id.au)12:27
llnzcool12:27
nashthank you12:27
llnzpitty you didn't use libtpproto-cpp because then i could have clamed i helped you12:28
llnz:-)12:28
nashllnz: Do a C version then ;-)12:28
llnznash: more trouble than it's worth12:29
nashElse wait til I release some code and you can submit a 1 line patch for something...12:29
llnzhehe12:30
nashAnyway - time to handle more data from the server... boards and resources12:32
nashActualy time for bed12:34
nashtalk to you later12:34
*** nash has quit IRC12:34
llnzhummm....12:36
llnzodd12:36
llnzahhhh12:37
llnzhehehe12:37
llnzmy local tpserver-cpp's turn timer it out by 1800 seconds12:38
llnzbecause i used the end turn command 3 times (3 * 600 = 1800), and didn't correctly remove the timers for those three12:39
*** czr has joined #tp12:40
*** bobbens has joined #tp12:40
mithrohello12:40
mithroadhoc: ping?12:40
mithroczr / bobbens: you new here?12:41
czryup12:41
mithroso whats your intrest?12:42
czrI'm just going to lurk aroud a bit in order to see how live this project is :-)12:42
llnzhehe12:42
czrjust read the stuff on the website12:42
mithroczr: you given any of the downloads a try?12:42
czralways liked VGA Planets! ;-)12:42
bobbensi just poked czr to make him get in the AI competition :)12:42
czrnope. don't have the time quite yet12:42
mithrohow did you find us?12:42
* czr blames bobbens12:42
bobbensi read it on linux-gamers or some site like that :)12:43
mithroahh cool12:43
czrmithro, I guess you're one of the main devs, right?12:43
JLPhello all12:43
mithroyes, you just happen on a time when all the main devs are about12:43
mithroMe, llnz and JLP12:44
* czr says hi to all12:44
llnzhi JLP12:44
llnzhi czr12:44
llnzhi bobbens12:44
mithrollnz == tpserver-cpp12:44
llnzhehehehe12:44
mithromithro = tpclient-pywx, *-py*, leader12:44
czrI read somewhere that there is also tpserver-py?12:44
mithroczr: yes, it's currently in a state of "flux"12:45
mithro(my way of saying I broke it horribly :)12:45
czrso I guess the tpserver-cpp is more stable?12:45
czryeah, happens to the best of us. simple changes that shouldn't affect anything ;-)12:45
mithros/stable/usable/12:45
czrheh, fair enough12:45
llnzhehehe12:45
mithrollnz: have you tried running memprof over tpserver-cpp?12:46
llnzmemprof?12:46
JLPllnz: did you see the bug report about guile12:46
mithroso bobbens, whats your intrest? a vga-planets lover too?12:46
mithrollnz: yes, a program to find memory leaks12:46
llnzJLP: yeah, i'll have a look into it12:46
mithroi'm sure there are leaks in the mysql persistant backend12:46
llnzJLP: guile 1.6 works, 1.4 doesn't12:46
bobbensmithro: well i'm more into the AI, but i'm a novice coder unlike czr12:46
mithrollnz: currently building tpserver-cpp on windows to see whats up12:47
JLPllnz: i think i have 1.8.112:47
czrbut bobbens has more spare time, unlike me :-)12:47
mithrobobbens: you know python at all?12:47
czrhe's a C++ lover12:47
llnzmithro: tpserver-cpp doesn't drop data from memory that it has put into persistence (yet)12:47
bobbensmithro: yeah, i can hold my own in python, C++12:47
bobbensbut i'm trying to get my asm skills up these days :)12:47
czrshhh bobbens12:47
czrmithro, is minisec where all dev is concentrated?12:48
JLPllnz: yup, 1.8.1 it is12:48
czror does mtsec actually exist in some form?12:48
JLPllnz: could it be that only 1.6 is OK and others not12:48
llnzJLP: ok, i'll try to find some docs on guile 1.8 and see what has changed12:48
llnzczr: when i get a bit of time, i work on mtsec, but it's not playable yet12:49
czrright. is there any specific area that you people need help in?12:49
czrI could take a look if it's in python/c (I don't touch C++, makes me sick in stomach)12:50
mithrobobbens: if your any good at python, coding an AI shouldn't be to hard12:50
CIA-11Lee Begg <[email protected]> * tpserver-cpp/tpserver/game.cpp :12:50
CIA-11Invalid the Game turn timer incase run from the console:12:50
CIA-11 Should stop the strange bug of my turn time remaining being 1800 second12:50
CIA-11 longer than it should be after I ran "turn end" on the console.12:50
mithroczr: i need quite a bit of help with the main client12:50
czrmithro, tpclient-pywx?12:50
mithroyes12:51
bobbensmithro: i might give a shot at it, when I have a bit more free time :)12:51
czrsome specific problems or in general?12:51
mithroczr: I could also use help "fixing" tpserver-py12:51
mithroi just don't have time to work on both really12:51
czrright12:51
czrthere seems to be missing a grand design document on the site12:51
czrone that would explain how all the different pieces fit together12:52
mithroczr: on the todo list :)12:52
mithroso much todo, so little time12:52
czrwhy is there little time? some of the pages on the site haven't been updated since 2003 ;-)12:52
czror was it 2004. me forgets.12:52
mithroczr: because sadly there are only a few developers and both have real lifes :)12:53
czryeah, I know that feeling all too well12:53
czrhmh. I'll have a smoke and take a look on whether there's some code I could take for a spin12:54
mithroI don't think I would have enough time even if I work on tp full time :)12:54
czrwell, crazy space strategy games are always like that12:54
mithrotpserver-py should start, but turn generation is still borked12:54
czrI designed my first round about 92-9312:54
czrspent 3 months implementing the GUI library12:54
czrand after that the design document for the game had already exploded into silly amounts of text12:54
mithroczr: "minisec" was planned to be finished sometime around 2004 :)12:56
llnzJLP: looks like the functions got renamed12:56
JLPllnz: like int2num -> integer_to_number ?12:56
mithroczr: most of the "problems" with MiniSec come from the lack of people who actually play the game12:56
llnzJLP: from scm_int2num to scm_from_int12:57
JLPllnz: aaa12:57
* llnz really wished the scheme libraries would stop doing that12:57
* czr nods12:58
czrhow would you recommend I start then?12:58
JLPllnz: so it is best to wait for a fix for tpserver-cpp to update to new names before continuing on ebuild12:59
JLPllnz: i hve to wait anyways since there is also another problem with mysql12:59
czrbtw, you might want to add some text on the site about this channel on http://www.thousandparsec.net/tp/gettingstarted.php12:59
tpb<http://ln-s.net/J4s> (at www.thousandparsec.net)12:59
llnzmaybe, or forcing guile 1.612:59
llnzoh, ok12:59
llnzthere could well be a tpserver-cpp 0.4.1 release this weekend13:00
JLPllnz: mysql seams to be using some forbiden kernel stuff that it shouldn't and in the newest kernel headers they have removed the interface and now it is broken13:00
mithroczr: could you log a "feature request"13:00
llnzJLP: ouch13:00
llnzmysql is optional though, btw13:00
llnzand the ai_comp.conf doesn't setup to use it13:01
JLPllnz: yeah i know, i made it that way, and when disabled it i stumbled upon the guile problem13:01
llnzahhh13:01
JLPllnz: i wonder if it works right with laatest drscheme13:01
llnzshould do13:02
JLPllnz: btw, what are the options to disable/enable stuff like avahi, guile and drsheme13:02
czrmithro, done.13:02
mithroczr: cool thanks13:02
llnzJLP: to configure they are standard configure options, such as --disable-avahi, and --enable-mysql=/usr/local/13:03
czrmithro, am I correct to understand that tpserver-py is a parallel implementation of the server for tpserver-cpp?13:04
JLPllnz: for mysql i found enable/disable didn't work, with does13:04
llnzoh, ok13:04
mithrodepends what you mean by parallel13:05
czrwell, what is tpserver-py? :-)13:05
czrmight be easier for you to say what's it's purpose13:05
JLPllnz: i guess avahi and libtls are enable, but i didn't see anything how to control guile / mzscheme13:06
JLPi guess i'll just try :)13:06
JLPllnz: i guess i will just try with guile disabled, mzscheme enabled and just require mzscheme if it work13:07
JLPllnz: at least until support for guile gets fixed, since I would prefer guile because it is already installed on most systems13:08
llnzJLP: is there a pkg-config file for guile 1.8?13:09
llnzn/m, the autoconf marcos provide enough info13:11
czrfor client I should use 0.2.1? (btw, what do you mean by "inplace"?)13:12
llnzczr: "inplace" means you can run it without installing it13:14
mithroand you don't need the thousand parsec dependencies13:15
czrhttp://rafb.net/p/UdY04O71.html (0.2.1)13:16
tpbTitle: Nopaste - No description (at rafb.net)13:16
mithroczr: o13:16
mithrotry replacing requirements.py with http://darcs.thousandparsec.net/repos/tpclient-pywx/requirements.py13:17
tpb<http://ln-s.net/J4v> (at darcs.thousandparsec.net)13:17
czrassuming version string contains only numbers?13:17
czrmithro, works13:18
mithroczr: its fixed in the next release then :)13:18
czralthough obviously the default username@password/server ids fail to connect succesfully :-)13:18
mithropoke Lee about that one13:18
mithroas the default stuff should work13:19
* czr pokes llnz13:19
czrhmm. should I try installing pysco and pyopenssl?13:19
llnzi don't know why it fails on demo1, try llnz.dyndns.org13:19
czrnope13:20
czrusername = 'guest@tp'13:20
llnzodd13:20
czrpassword is unknown, five black circles :-)13:20
mithroguest13:20
czrah :-)13:20
llnzahhh13:21
czrwould a protocol dump help/13:21
czrhelp? even13:21
llnzi know what it is13:21
czrI assume the stuff in green is protocol dump13:21
mithrothe guest account should accept any password?13:21
llnzczr: try llnz.dyndns.org again13:22
llnz:-)13:22
llnztpserver-cpp had a bit of code that checked if the username was guest, and the password was guest, and disallowed the login13:22
llnzjust as a test/hack13:22
czrheh13:23
czrshould the original default server work now as well?13:23
czror it has the same test in it?13:23
llnzdemo1 will still have it until it get restarted next13:24
CIA-11Lee Begg <[email protected]> * tpserver-cpp/tpserver/playermanager.cpp :13:24
CIA-11Removed guest/guest hack:13:24
CIA-11 Was stopping default username working.13:24
czrhmm. let me try this again and post a screenshot13:24
czrbtw, when I exit, it doesn't remember the server that I connected to13:25
czrso that next time I start the client, it doesn't remember about 'llnz.dyndns.org'13:25
czris that normal?13:25
mithroczr: you can add the server in the config dialog13:25
czryeah, but I'd expect it to remember at least a server that I succesfully connected to13:26
mithrotpclient-pywx-dev asks if you want to perminately add it13:26
czrah, ok13:26
mithro(doesn't actually add it yet, but asks :)13:26
czrhehe13:26
czrhttp://koltsoff.com/pub/tp1.png (screen when the client connects to the server)13:27
czris it normal that "Known Universe" is closed when I start and that the red arrow thingy is located on "nothing"?13:27
czrcause when I click on "guest Start System", the universe will expand automatically and such13:28
mithroczr: that screenshot looks okay13:28
mithrothe red arrow is pointing to the center of the universe on startup :)13:28
czrok. the main window control thingy (at the bottom of the screen) doesn't get enough space though13:28
czrno space for the menus for example13:28
czrtook me some time to locate the 'exit' ;-)13:29
czrespecially when the windows behaved the way they did :-)13:29
czrfocusing the "main windows" window doesn't really focus13:29
mithroczr: it's a bit weird, I'm not sure why the menus are at the bottom13:29
czrso the menus are left below the 'messages' and 'system'13:29
czrmaybe because I'm running a multi-screen setup? (not xinerama)13:30
mithroczr: possibly13:30
czrsome problems misbehave if they assume there's only one screen in the x server13:30
czrI know the window manager sometimes does too (kwin)13:30
mithroit's not very good at guessing better position13:30
czrif there any reason for it not to want to focus?13:30
mithrotpclient-pywx-dev uses a slightly different way for screen layout13:31
czrclicking on the titlebar will just raise the window, then it will be lowered automatically and some other window (star-map?) will get focus13:31
czrhmm. where did you get the rotating graphics for the planet?13:31
czrthe gif *cough*13:31
mithroczr: freeorion13:31
czrno pnm?13:31
mithroczr: pnm?13:31
czrargh, not13:31
czrmng :-)13:31
czrthe "png"-version of multi-image gifs13:32
czrthe planet looks nice. rotates way too fast, but nice nevertheless13:32
mithroyou mean mng13:33
czryeah, what I said just above13:33
mithrohttp://darcs.thousandparsec.net/repos/libmng-py/doc/13:33
tpb<http://ln-s.net/INi> (at darcs.thousandparsec.net)13:33
czrthat's a hint that "if you want mng support, you're free to add it?" ? :-)13:34
czrah, I see, it's being added :-) nm13:35
mithroanother one of those things on the todo list :)13:36
czrindeed. please don't mind some of my questions which will undoubtfully seem silly to you13:36
czrtrying to get my bearing around the project first :-)13:36
mithroczr: thats okay13:37
mithromaybe you can help out by adding/creating a "developers getting started page"13:37
mithro:)13:37
mithroi've been meaning to do it for a while13:37
mithrollnz: you still alive?13:37
czrhmm. should document all the questions that I've asked then13:37
llnzyes13:37
czrmight as well13:37
llnzsleepy though13:37
czrhow do I move my fleet?13:37
llnzfixing tpguile for jlp13:37
mithroavacombat.cpp: In member function `bool AVACombat::doCombatRound(Fleet*, Message13:38
mithro*, Fleet*, Message*)':13:38
mithroavacombat.cpp:78: error: call of overloaded `getInRange(unsigned int, unsigned i13:38
mithront)' is ambiguous13:38
mithro../../../tpserver/prng.h:73: note: candidates are: uint32_t Random::getInRange(u13:38
mithroint32_t, uint32_t)13:38
mithro../../../tpserver/prng.h:74: note:  int32_t Random::getInRange(int32_t, int32_t)13:38
mithroproblem when compiling tpserver-py13:38
czrtwo versions that return different signed results?13:39
mithros/py/cpp :)13:39
czrthat's bad :-)13:39
llnzhehe13:39
llnzodd, compiles here fine13:39
mithroso um :)13:39
mithrollnz: forgot to commit something?13:39
llnzmake sure you're up to date with darcs, and that you run ./autogen.sh and ./configure again13:39
mithrohrm, i just ran them13:40
czrseriously though. how do I move my fleet? :-)13:40
mithroadd a move order13:40
mithrothen click the little p13:40
czrhmm. how come it works now13:41
mithrothen click where you want it to go13:41
czrI tried clicking the "new" several times before, nothing happened13:41
czr(in the orders window)13:41
mithromove stuff is getting redone13:41
mithrobut it's another thing I'm yet to finish13:42
czrshould I be looking at the dev version instead then?13:42
czrie, is the dev version very much different code-wise?13:42
mithrodepends13:43
mithrotpclient-pywx is a good thing to "get started with"13:43
mithrotpclient-pywx-dev is currently unusable for "gaming"13:43
czrok. I'll play around with it then13:43
* czr nods13:43
mithrothe major changes in -dev are13:43
mithro * uses XRC instead of code to build screens13:43
mithro * uses new AUI "window manager"13:44
mithrollnz: can i just compile without mtsec?13:44
czrxrc?13:44
mithro * significant changes to the config stuff13:44
mithroit's a way for describing the layout of the window/wigets in a xml file13:45
llnzunfortunately, no (or you can remove mtsec from modules/games/Makefile.am, and rerun autogen.sh and configure)13:45
czrah, ok. similar to guile?13:45
mithroczr: not really :)13:45
czrok :-)13:45
czrthe zooming buttons don't work13:45
mithroczr: you mean glade i think :)13:45
czrindeed :-)13:45
mithroczr: the zoom buttons change you mode to zoom13:45
mithroyou then need to click on the map13:46
llnzJLP: think it's fairly easy to change guile to 1.8, will finish it tomorrow13:46
mithro * rewrite of the starmap code13:46
czrah. seems a bit illogical (imho)13:46
czrI was expecting more like zoom/movement as implemented in most graphics programs (inkscape/etc)13:46
* mithro points to the rewrite of the starmap code13:46
mithrohttp://wx4j.org/documentation/manual/xrc.html13:47
tpbTitle: 8. wxWidgets XML Resources (at wx4j.org)13:47
czrah, ok13:47
mithroactually this is what i was looking for13:48
mithrohttp://wxwidgets.org/manuals/2.6.3/wx_xrcoverview.html#xrcoverview13:48
tpb<http://ln-s.net/J4x> (at wxwidgets.org)13:48
mithrollnz: any idea about the int problem?13:48
llnzi know about, i thought it was fixed13:49
czrstupid question. is there any sense of having the 'System' window rooted with 'Known universe'? I mean, is there going to be support for multiple 'known universes'? why not just have each galaxy as a separate root (assuming multigalaxy support is coming along ;-)13:50
JLPllnz: if it just means changing names of functions i guess i can do it, just tell me where to look for the list of changes13:50
mithroczr: umm because of the limitations of how the tree works :)13:51
czrit only supports one root? ew :-)13:51
czrfair enough.13:51
czrhmm. my fleet doesn't seem to move though.13:52
llnzJLP: I have all the name differences, just need to make the change, and check that 1.6 still works13:52
czrscreenshot-time I guess13:52
czrhttp://koltsoff.com/pub/tp2.png13:53
llnzmithro: just checked, builds for me fine, and i have no changes to check in related to either13:53
czrturn just changed but still the fleet hasn't moved. should the move be indicated somehow?13:53
czrvel: is at least still 0,0,013:53
JLPczr: you have to manualy update the universe13:53
llnzczr: you need to go to the menu->game->Download Universe13:54
JLPczr: it doesn't get automatically updated when the turn ends13:54
mithrollnz: changing to13:54
czrahh13:54
JLPanother thing to add to FAQ I think13:54
mithro    unsigned int r1 = rand->getInRange((uint32_t)0, (uint32_t)40) + 60;13:54
mithro    unsigned int r2 = rand->getInRange((uint32_t)0, (uint32_t)40) + 60;13:54
mithroseemed to work13:54
czrso after each turn I do the download universe?13:55
llnzwhy doesn't "int r1 = rand->getInRange(0U, 40U) + 60;" work?13:55
JLPczr: yup13:55
czrI've heard about downloading the internet, but downloading the universe sounds even more silly ;-)13:55
llnzmithro: is that line what was there before?13:55
llnzmithro: and what is your "g++ --version"13:56
mithro3.313:56
JLPancient :)13:56
czrhmm. isn't that around some c++ abi change?13:57
llnzouch13:57
llnzczr: yeah 3.x -> 4.x13:57
czryeah, those happen every couple of years. on of the reasons why I 'love' c++ :-)13:57
* llnz has g++ 4.1.213:57
* JLP also 4.1.213:58
czrhmph. there are silly little bugs all around :-)13:58
czrlike "milky way galaxy" not opening anymore after I did universe download13:58
czrbut I guess this is all related to the 'startmap'-stuff that is getting redone?13:59
czrhmm. actually all mouse input just froze14:00
czrwindow movement is also impossible14:00
czrwindow manager will refocus the windowses, but that's about it.14:00
czrhmm. I killed the client (ctrl+c), then restarted it, loads fine, but still doesn't want to handle my mouse-generated events14:03
mithroit appears that uint32_t != unsigned int14:03
mithroczr: i've never seen that one14:03
czrare there any keyboard commands I could try?14:04
llnzmithro: it appears that you have an out-of-date g++ version... :-)14:04
czrthe EOT timer decreases, CPU usage is normal (close to none)14:04
czrbut other than seeing that window manager redraws the borders of windows when I focus them, nothing happens14:04
czrneedless to say I cannot select anything from the 'main menu' either14:04
llnzit's 3:06am, i should go14:05
czrsince I can't move the windows at all :-)14:05
* llnz wanders off14:05
llnzlater all14:05
czrlater14:05
*** llnz has quit IRC14:05
mithroczr: your window manager is borked then ;)14:06
czrall other programs work fine14:06
czrand the client used to work fine before too14:06
czrhmm. I wonder how to replicate this properly14:07
JLPczr: any hidden modal dialog open for TP client?14:12
mithrotry going into the config dialog and turn of the raise methods14:12
czrpreferences in connection dialog?14:13
czrI have radiobuttons: individual, all on main (set), all on all, which one?14:14
czrnope. same effect with all of them14:16
czrI also changed the main window X from -1 to 1 and that seems to put it more to the top of screen (not to the bottom as before)14:16
czrI wonder whether the fact that I deleted the only message that I got and now get the "you are unloved!" message each time14:17
czrwhether that affects anything. hmh14:17
czrhow do I reset the cache state?14:18
czrrm -Rf ~/.tp ?14:19
czrweird. that didn't help either14:19
czrllnz, can you reset the 'guest' player at some point?14:20
czralthough I could also try restarting my window manager at some point, but it's always pita14:20
mithroczr: weird, maybe the window manager is "remebering" your settings?14:28
mithroczr: btw -> http://www.thousandparsec.net/svn/media/client/common-2d/foreign/freeorion/planet-small/animation/14:29
tpb<http://ln-s.net/J53> (at www.thousandparsec.net)14:29
mithroreset?14:29
mithrollnz has gone :)14:29
czryeah, I know, but I hope that he'll see the notice at some point :-)14:30
mithronotice?14:30
czrreset as in getting rid of all settings that client remembered14:30
czrmy "message". assuming he's using nick-highlight14:30
mithrollnz isn't even on the channel any more :)14:32
mithrorm -rf ~/.tp/14:32
mithrowill remove all tp remebered settings14:32
czrah, I've disabled join/leave-messages :-)14:33
czrtoo much cruft on most freenode channels :-)14:33
czryeah, I did that too, but it didn't help any14:33
mithroczr: then it's the window manager which is killing you14:36
mithrochanging the "Raise method" to "Individual" and then save (and restart)14:37
czrI tried already all of the choices14:38
czrsame effect with all (and yes, I did save each time)14:38
czrthe config dialog works quite fine btw :-)14:39
mithrodid you restart each time?14:39
mithroi'm not sure the raise method changes without a restart?14:39
czrah. will try14:40
mithrocan you get to blog.mithis.net?14:40
czrusing the client? or what?14:40
mithrono using a web browser :)14:40
czrat least browser opens it ok14:40
czr:-)14:40
czrbtw, the solution to the "swap nice" problem is for the application (deskbar) to use mlockall after it starts14:41
czrthat will force the memory to be in RAM (all future memory as well)14:41
czron some older systems that would require root-privs (locking pages or locking more than certain amount)14:41
mithroczr: but that doesn't actually do what I want - i want to be able to preference applications in the same way a CPU14:42
czryeah, I know what you want :-)14:42
czrthe problem is that it's not technically possible in current linux14:42
czrsince linux doesn't know about applications when it swaps14:42
czrit only swaps pages. and since a single page can/is shared by multiple applications, there's no sure way of doing priorization based on applications per se.14:43
czralso, I'm not sure whether adding it into mm would make sense, doing reverse walking on the page tables would be slow/silly.14:43
czrit's a bit related to a problem that I tried to solve a while back14:44
czrfinding out which applications were swapped and how much of each (for memory usage tool I was working at the time)14:45
czrthat too, unfortunately, is not possible with 2.6 (and older obviously)14:45
czrbtw, if you think I'm pulling all this out of my ass, I disagree :-) this is the stuff that I normally work with. I'm mainly interested in high-performance software and that tends be a bit hairy :-)14:46
czr( http://koltsoff.com/ has some stuff, not all related to high-perf stuff though)14:46
tpbTitle: Aleksandr Koltsoff (at koltsoff.com)14:46
czrcest moi.14:47
czrstupid title now that I think of it, but..14:47
mithroczr: :)14:51
mithrothe memlockd looks intresting to stop ssh/login/bash from being swapped out14:51
czryeah. probably does a walk over /proc/PID/maps and then just mmaps & locks all the files mentioned there14:52
czrproblem being that it's quite difficult to do it reliable since processes will spawn children, do shm stuff, etc14:52
czralthough in sshd:s case, it would just work, assuming one doesn't use heavy PAM modules for authentication (pam_mysql and such)14:53
czrthe only proper solution is to do mlockall() syscall when the daemon starts and after each fork(014:53
czrfork() even14:53
mithroczr: so where are you located?14:55
* JLP going to add Mithro's and llnz's blog to my blogrol14:55
czrmithro, helsinki/finland currently.14:57
mithroczr: cool, i know a few people there14:58
czrit's reportedly a country where people fight off aggressive reindeers and polar bears all the time. although I doubt that :-)14:58
czrwhere you at?14:58
*** _JLP_ has joined #tp15:02
mithroAustralia15:02
czrcool/warm :-)15:03
czrllnz and jlp also there?15:03
_JLP_i'm from Slovenia15:04
mithrollnz and jotham are from New Zealand15:05
*** JLP has quit IRC15:07
*** _JLP_ is now known as JLP15:07
czrah, ok15:08
*** _JLP_ has joined #tp15:12
*** JLP has quit IRC15:13
*** _JLP_ is now known as JLP15:13
mithroanyway I should have been in bed 3 hours ago15:14
czrheh15:16
czrsry :-)15:16
czrI'll take the client for a spin on another host at some point, bit too busy to switch hosts right now.15:17
JLPmithro: i see you had an interview with Open Source on the Air15:25
mithroczr: 3 now infact :)15:26
czrheh, I'm just getting started. woke up way too late today15:26
JLPlet me see if this episode is already on digg.com :)15:26
czr17:28 here, so I guess there's a slight time diff ;-)15:26
mithroonce for the gaming miniconf, once to plug the ai comp and then for the gaming roundtable15:27
mithroanyway really gone now15:30
czrlater mithro nitenite15:30
JLPhttp://digg.com/podcasts/LocalFOSS_Open_Source_On_The_Air_MP3/26205215:32
tpb<http://ln-s.net/J5B> (at digg.com)15:32
*** tuna-fish- has joined #tp17:14
*** adhoc has quit IRC21:05
*** nash has joined #tp21:19
*** adhoc has joined #tp22:00
*** mithro has quit IRC22:21
*** mithro has joined #tp23:24
mithrohowdy people23:25
nashheyo23:27
mithrohow is everyone toda23:28
mithronash: btw do you have a day job?23:29
nashI am there now ;-)23:29
mithrowhat do you do?23:29
nashwww.fst.net23:29
nashI'm a develop (and support) the FancyPants UI platform for linux23:30
mithroon that website I saw the name and thougth the PDA up in the right hand corner was a spider :)23:31
nashheh23:31
nashClick products for fancypants, click about->team for myself23:32
mithroyou use OE at all?23:32
nashOE?23:32
nashOutlook Express?23:32
mithroOpen Embedded23:33
nashRight...23:33
nashNo we don't actually23:33
nashWe use GPE on teh devices23:34
mithronash: any reason why?23:34
nashnormally (or LFS or whatever the customer provides)23:34
nashope.23:34
nashNo particular reason, just don't ;-)23:35
mithrobah23:35
* mithro use to do a lot of work on OE back when I had more spare time23:36
nashWhy?  I cross compile on my desktop by running '. /share/xcompile/<arch>/<platform>/setup.sh '23:36
nashmake23:36
mithronash: because that doesn't work for a large amount of software?23:37
nashmithro: Then large amounts of software are broken and should be fixed, rather then spend more effort maintaing software to work around broken software...23:38
mithroIE anything which wants to test things work23:38
mithronash: why fix the problem 100 times when you can fix it once ;)23:39
nashBecause the 'once' involves a 100 different work arounds...23:39
nashI run cross-compiled apps under qemu, then use NFS to run them natively on the target.23:39
mithroo, and does make build you a image ready to flash to your device ;)23:40
nashno, but make  package does23:40
nashAnd configs take care of dependancies for us...23:40
mithroI'm sure this will go on for a long time, so I'm going to stop now :)23:40
nashgood idea23:41
nashIf I thought OE would help significantly I would advocate it23:41
nashHowever my philosophy has been to fix the broken packages so they 'just work'23:41
nashSet the compiler and appropriate env vars in a xcompile script, then make should just work ;-)23:42
mithroI guess if you already have a toolchain/working image it can be all down hill from there23:42
mithroHave you seen this problem before?23:42
mithrohttps://sourceforge.net/tracker/?func=detail&atid=723099&aid=1663525&group_id=13207823:42
tpb<http://ln-s.net/J6s> (at sourceforge.net)23:42
nashWe do, and don't forget we get the SDKs, toolchains from vendors, so what they look like is pretty random23:42
nashYes.  Any 64bit platform can have the problem23:44
nashOf course in tp code you should never make such assumptions, instead you should pull int32_t and uint32_t from inttypes or similar, and make it a platform issue23:45
nashNot sure if TP has a bug though.23:46
nashIt;s not in tpproto23:46
nashNot in tpserver-cpp-0.4.0, or tprl23:47
nashSo really, it seems irrelevant to me23:47
* nash would respond with a snarky comment along the lines of "that's lovely... So this has exactly what to do with TP?"23:48
* mithro points to the fact that is what causing my compile problems with tpserver-cpp23:51
nash?23:52
nashWhere - how?23:52
nashThis from darcs?23:52
mithronash: because places are using "uint32_t" and "unsigned int" which arn't equal types on many platforms23:52
nashWant me to take a look?23:52
nashAssigning to back and forth is fine as long as the values are appropriate23:53
mithrouint32_t == unsigned long, under cygwin (and a few other platforms)23:53
nashYep, sure23:53
mithroso assigning a uint32_t to a unsigned int causes an error23:54
nashShouldn't23:54
mithrowhy? without a specific cast you loose data23:54
nashNo you don't, not unless sizeof(unsigned int) > 423:55
nashWhich it isn;'t23:55
mithrouint32_t == unsigned long > unsigned int23:56
* nash still doesn't quite follow... 23:57
nashunsigned long >= unsigned int23:57
nashOn cygwin long == int23:57
mithrowell the compile is complaining that you can't assign an unsigned long to an unsigned int23:58
nashWhat are the -W flags?23:58
mithrodunno23:59
nashDon't have the compile line?23:59

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