Monday, 2010-07-05

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** Agon has quit IRC00:54
*** verhoevenv has quit IRC01:28
*** mithro has joined #tp02:18
*** tansell-laptop has joined #tp02:37
*** nash has joined #tp02:55
*** nash has quit IRC03:19
*** nash has joined #tp04:02
StupidIncarnate mithro?04:12
llnzbbl04:43
*** llnz has quit IRC04:43
mithroStupidIncarnate: pong?05:37
StupidIncarnatemithro: hey, so i looked at the design dialog, but it's kind of buggy still so i'm not sure I get it05:38
StupidIncarnateit displays the stats of the ships and what types of ships you can make I suppose05:38
mithroin what way is it buggy?05:39
StupidIncarnatei tried to create a new design, but when I used the ship hull, it said it was full, and wehn I tried using another hull, it crashed.05:39
mithrowhat crashed? the server or the client?05:40
StupidIncarnatethe client05:41
StupidIncarnatelike when I go to freight, select freight hull and duplicate, it crashes05:42
mithrowhat's the exact reproducable procedure?05:42
StupidIncarnatego to designs. Select the Fright design, select the freight hull, hit duplicate05:44
*** bisc has joined #tp05:45
StupidIncarnateand you can't edit the freighthull?05:45
StupidIncarnateand when you do edit one of the ships, what are you supposed to be able to edit? that's my biggest confusion05:45
StupidIncarnatemithro, i'm using the tp04 version from github05:50
mithroStupidIncarnate: mtsec?05:52
StupidIncarnateya05:52
mithrocan you log a proper bug report please?05:53
StupidIncarnatewait is minisec diff from mtsec?05:53
StupidIncarnatei'm on minisec05:55
mithroyes minisec is different from mtsec05:56
StupidIncarnateand mtsec was the one where designs worked?05:56
mithroyes05:57
StupidIncarnateok I"ll try that out05:57
tansell-laptopand I can't reproduce any crash - it does error out when I try and duplicate a design in Minisec (because you can't create designs in minisec)05:58
StupidIncarnatethe box with a red icon and nothing in it? that's what I got ya. Guess it's not technically a crash, but it does close game window05:59
tansell-laptopbisc, the design window needs some work too05:59
bisctansell-laptop: yes, I have it in mind.05:59
biscmithro, tansell-laptop: need your opinion on http://codereview.mithis.com/78001/show. I need this fix (or anything you suggest instead of it) for my current work on orders.06:01
tansell-laptopI'm not sure what this fix does06:04
bisctansell-laptop: in current version there's a bug: you select a planet in System panel -- and it's not selected in Starmap. I've found out that it's because the father system is not correclty determined at overlay.py:332. And fixed it. It works, but I'm not sure if it's absolutely correct.06:06
tansell-laptopcan you explain further?06:07
bisctansell-laptop: ok, let me refresh my memory about this.06:09
StupidIncarnateare you supposed to be able to create ships on your planet in mtsec?06:11
tansell-laptopyes06:22
StupidIncarnatei seem unable to. the drop menu's blank06:24
bisctansell-laptop: We observe the class SysteLevelOverlay, which is a dictionary objectid -> icon. The cycle at overlay.py:332 is supposed to find the parent (system) for a planet, given the fact that they can be several-level nested. The code assumes that there's no key = universeid. This assumption is incorrest, as self[0] exists and equals to empty list [],06:31
tansell-laptopStupidIncarnate, that is weird06:36
StupidIncarnateya, I load it up, select my planet and can't find anything to build in the order's queue06:38
StupidIncarnatethe ship operations loads up fine06:39
bisctansell-laptop: you should note that self[planetid] equals to empty list as well, that's why we need to check that id != 006:47
tansell-laptophrm....07:21
*** cahirwpz has joined #tp07:27
tansell-laptophello cahirwpz07:38
tansell-laptopyou've been away a long time07:38
cahirwpzhi tansell07:38
cahirwpzyeah - I'm not used to IRC07:39
cahirwpzI mostly communicate by Jabber / e-mail, so in most cases I just forget to lauch IRC client when I start work.07:42
cahirwpztansell, do you have some questions regarding my work and its progress as documented on http://cahir.eisp.pl/doku.php?id=en:gsoc2010 ?07:46
tpbTitle: en:gsoc2010 [Krystian Bacławski Wiki] (at cahir.eisp.pl)07:46
cahirwpztansell-laptop, I reckon our communication looks bad, I have a lot of questions about the code / design that I'm forced to answer myself, do you have any ideas how to improve it ?07:55
tansell-laptopcahirwpz, I have loads of questions07:59
tansell-laptopso where are you up to?08:02
tansell-laptopbasically I have very little idea what you are actually doing08:04
cahirwpzwell... firstly... you probably should read my wiki08:05
cahirwpzthere's a brief summary what I did lately08:06
cahirwpztoday I'm going to document current "sprint"08:06
cahirwpz... so where am I ?08:06
cahirwpzI'm at refactoring rules code, I sorted out things with Object classes and I still need to improve structure of Order classes hierarchy08:07
cahirwpzdatabase has undergone huge changes and I'm still get clues (mosty from rules source code) how it really should be organized08:08
cahirwpz*getting08:09
tansell-laptopcahirwpz, so it worries me that your making large changes without consulting with me first08:09
cahirwpzalso I added and I'm still adding functional tests08:09
cahirwpztansell-laptop, well I tried to contact you a few times, asked questions to llnz, and came to conclusion I cannot wait with every question (and I suppose most of my questions are quite hard to answer)08:11
tansell-laptophow did you try contacting me?08:12
cahirwpzbeing here at #tp between 10-14 CEST ?08:12
cahirwpztansell-laptop, the more important thing for now is to check whether I'm going in good direction08:14
cahirwpzmaybe we should do a code review (but I'm afraid it will be really long) ?08:14
cahirwpzBTW. my plan is to finish refactoring before 12th of July, and implement all features in second phase08:17
tansell-laptopso your wiki page doesn't really give me a great idea what you are actually doing08:19
tansell-laptopcahirwpz, have you seen what bisc has been doing?08:20
cahirwpzwhat should I do to improve its comprehensibility for you?08:20
tansell-laptopso I would like it broken down into chunks discussing each chunk08:22
cahirwpztansell, you understand in this case wiki's maintenance will be a huge overhead and I'm probably not able to explain every idea which is captured in code ?08:25
tansell-laptopTake a look at Bisc's blog http://ruchkin.wordpress.com/08:27
tpbTitle: biscs Blog (at ruchkin.wordpress.com)08:27
tansell-laptophe's also been publishing regluar code reviews at codeview.mithis.com for me to look at08:28
tansell-laptopand comment on08:28
cahirwpzthe problem is my work is more similar to chainsaw / shotgun surgery than doing small changes regularly08:30
cahirwpzI cannot fix one thing without breaking a few others08:30
cahirwpzwhen code refactoring is finished I will get back to usual healthy way of working08:33
tansell-laptopcahirwpz, so what/how are you refactoring08:36
tansell-laptopand you should really be discussing large refactoring with me08:36
*** null_000 has joined #tp08:38
null_000morning all08:38
cahirwpztansell-laptop, I understand that every more serious discussion should be discussed with you - I only hope to make our communication more frequent08:39
cahirwpzhi null_00008:39
null_000hi cahirwpz08:40
tansell-laptopcahirwpz, so what's this refactoring you are doing then?08:41
cahirwpztansell-laptop, well... it's not easy to tell what has undergone refactoring - I suppose tp.server.bases is almost finished (I suppose only Order has left), tp.server.db too, tp.server.rules are partially refactored08:42
cahirwpztansell-laptop, It would be better if I pushed all my changes and we start talking with live code08:42
tansell-laptopyou can push them to github08:43
cahirwpzyeah - I need to cleanup my local repository and push all commits - wait for a while08:44
cahirwpztansell-laptop, wait for a moment longer - my git repo is broken O.o (broken link)08:59
bisctansell-laptop: can you answer a quick question: do we want to place a red arrow at (0, 0, 0) when the Universe is selected in System panel? Or should we leave the arrow in its place? or hide it?09:00
tansell-laptopbisc, I think we should place it at 0,0,0?09:05
tansell-laptopwhat do you think?09:05
bisctansell-laptop: It think that universe is not an interactive object in player's opinion now. We should have consistency about it in client. Two options: 1) If it IS an interactive object, then is should be accessible on common rules with planets and systems 2) If it isn't, then is shouldn't be selected at any time.09:09
bisctansell-laptop: we want the first option09:09
cahirwpztansell-laptop, ok - I pushed changes09:09
bisctansell-laptop: so, we probably should select Universe when player clicks on starmap background (in normal mode) -- that's right?09:10
bisctansell-laptop: and, in that case, place arrow at (0,0,0)09:11
bisc?09:11
cahirwpztansell-laptop, tpserver-py / tp / server / bases / Component.py is good example how code after refactoring will look like09:14
cahirwpztansell-laptop, tpserver-py  / tp  / server  / rules  / minisecplus  / __init__.py - here's cool example how proper SQLAlchemy usage can simplify creating / modyfing game objects09:15
tansell-laptopbisc, I think the first option is probably the best09:20
tansell-laptopbisc, nothing stops the universe from containing useful information09:20
bisctansell-laptop: yes, I agree. What do you think about clicking background and selecting universe on this event? Doesn't it break some of your expectations?09:21
tansell-laptopbisc, not sure - give it a go and see if it makes sense?09:21
tansell-laptopcahirwpz, can you link me to the full url?09:23
tansell-laptopcahirwpz, can you convert to using a daily post on a blog rather then the wiki?09:24
tansell-laptopIt shouldn't take you more then 10-15 minutes a day to write it up09:25
cahirwpzhttp://github.com/cahirwpz/tpserver-py/blob/master/tp/server/rules/minisecplus/__init__.py09:26
tpb<http://ln-s.net/7Bgj> (at github.com)09:26
cahirwpzhttp://github.com/cahirwpz/tpserver-py/blob/master/tp/server/bases/Component.py09:27
tpb<http://ln-s.net/7Bgm> (at github.com)09:27
bisctansell-laptop: okay. will try once. You know, in many strategy games the selection mechanism works in similar way: you click on background and selection is dropped. In our case, it can't drop and most logically sensible choice is selecting universe.09:28
*** llnz has joined #tp09:30
cahirwpztansell-laptop, I'm better at writing code than writing about code - I doubt if I'm able to writing anything reasonable withing 10-15 minutes :/09:30
cahirwpztansell-laptop, upper part of my wiki page works exactly like blog (blog plugin)09:32
cahirwpztansell-laptop, what do you think about the code samples ?09:37
*** Agon has joined #tp09:48
*** nash has quit IRC10:26
*** Agon has quit IRC10:28
*** bisc has quit IRC10:28
* llnz wanders off10:31
llnzlater all10:31
*** llnz has quit IRC10:31
*** Agon has joined #tp10:34
*** bisc has joined #tp10:34
*** bisc has joined #tp10:34
*** accAgon has joined #tp10:52
*** Agon has quit IRC10:54
*** accAgon has quit IRC10:59
*** nash has joined #tp12:38
*** peres has joined #tp13:07
*** Epyon has joined #tp13:08
*** Epyon has left #tp13:08
*** Agon has joined #tp14:03
*** bisc has quit IRC14:10
null_000alanp: ping14:24
*** verhoevenv has joined #tp14:41
*** Epyon has joined #tp15:09
*** Epyon has left #tp15:09
*** Agon has quit IRC15:30
*** Agon has joined #tp15:33
null_000alanp: ping again15:35
*** nash has quit IRC16:29
*** Agon has quit IRC16:30
alanpnull_000: hello16:39
alanpnull_000: sorry i missed you yesterday16:39
null_000alanp: so got any work done?16:40
alanpnull_000: going to take a look at the problems this afternoon, have the day off16:40
null_000playing MTSec without colonisation is kind of boring so please try to get it working16:42
null_000can't do much more work in this state16:43
alanpk16:45
*** null_000 has quit IRC17:08
*** peres has quit IRC17:32
*** Agon has joined #tp18:41
*** llnz has joined #tp20:11
llnzmorning all20:12
Agonhello llnz20:20
llnzhi Agon, how are you going?20:21
Agonfine, I have something to show you, nice (unfinished) selection boxes for objects.20:23
llnzcool20:25
Agonllnz: http://marcelha.wordpress.com/2010/07/05/starmap-got-interactive/21:05
tpb<http://ln-s.net/7Bwt> (at marcelha.wordpress.com)21:05
llnzcool21:07
llnzhow does it look with many planets close together? such as the Sol/Terra system in minisec?21:07
AgonI don't know, I have problems converting and adjusting the int64 position datas to double values. This will be the next thing on my todolist.21:09
llnzok21:10
*** cahirwpz has quit IRC21:53
*** cahirwpz has joined #tp21:59
llnzafk22:00
*** cahirwpz has quit IRC22:19
*** Agon has quit IRC22:27

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