*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | nash: it appears that your backwards compatible idea doesn't work unless the Object selection argument is the last argument for an order | 00:03 |
---|---|---|
nash | mithro: It's not backwards compat, but it's close too | 00:07 |
nash | It also won't work if there are multiple arguments | 00:07 |
mithro | nash: you can't really be "partially backwards compatible" :P | 00:08 |
nash | No, but there is a little change | 00:11 |
nash | And to be frank, most things are only partially backwards compatible... | 00:11 |
mithro | I guess it depends how you define backwards compatible | 00:13 |
mithro | if you fix a bug you have effectively broken backwards compatibility for things which depended on that bug | 00:14 |
nash | yep | 00:14 |
nash | mithro: But yes, it's not compatible, but it's an easy change to make it basic work | 00:15 |
mithro | nash: agreed | 00:15 |
mithro | well, any change is relatively easy to make at the moment :) | 00:16 |
mithro | thanks to a development team of like 5 people | 00:16 |
nash | mithro: True... | 00:23 |
nash | But I'm thinking things like: | 00:23 |
mithro | and we have no players :( | 00:23 |
nash | if (protocol == 3) getwords(3) else if (protocol == 4) getwords(4); | 00:23 |
mithro | yeah | 00:41 |
mithro | nash: replied with the summary of our discussion earlier | 01:16 |
nash | mithro: Just replied ;-) | 01:17 |
nash | whatcha think? | 01:19 |
mithro | hrm... :P | 01:21 |
mithro | why don't we add tpcl support! ;) | 01:27 |
nash | mithro: Because once again, I'm thinkign that total number is only useful in a limited number of cases, but a weight makes it a common case | 01:29 |
mithro | just have a validate function which checks the arguments are sane | 01:29 |
nash | And it makes RFTS work in just hte client ;-) | 01:29 |
* mithro points to the smiley | 01:30 | |
nash | mithro: :-P | 01:30 |
mithro | the problem with tpcl stuff is that it is pretty impossible for an AI to comprehend | 01:30 |
mithro | I think i'm just going to head home | 01:31 |
nash | mithro: I suppose at this point our most advanced games are RFTS and MTSec, and I think that covers both pretty much | 01:31 |
mithro | yeah, TIM Trader is probably on par (in terms of tp protocol functionality) with Minisec | 01:31 |
mithro | (IE It doesn't require designs or anything else fancy) | 01:32 |
mithro | I think I just need to create a brain recorder device, I would be a 100 times more productive if I could just record my thoughts | 01:32 |
mithro | anyway, see you later! | 01:33 |
nash | Not really... you'd have to filter all the crud out, and it would take ages | 01:33 |
*** greywhind_ has joined #tp | 01:45 | |
*** greywhind has quit IRC | 01:45 | |
*** nash has quit IRC | 01:49 | |
*** mithro has quit IRC | 01:52 | |
*** xdotx has joined #tp | 03:16 | |
*** llnz has joined #tp | 03:17 | |
xdotx | hey llnz | 03:17 |
llnz | hi xdotx | 03:17 |
llnz | thanksgiving holiday? | 03:17 |
* xdotx just found out about Echidnas and thinks they're the coolest/weirdest animals ever | 03:18 | |
xdotx | not yet | 03:18 |
xdotx | one more day | 03:18 |
llnz | cool | 03:18 |
xdotx | er wait, does anybody else even celebrate thanksgiving? | 03:19 |
llnz | not really (it's spring here anyway) | 03:20 |
xdotx | heheh | 03:20 |
llnz | but my fiancee's family does (american heritage) | 03:20 |
*** peres has joined #tp | 03:35 | |
*** greywhind has joined #tp | 03:45 | |
*** greywhind_ has quit IRC | 03:45 | |
*** tuna-fish has joined #tp | 06:05 | |
*** tuna-fish is now known as tuna | 06:05 | |
*** peres has quit IRC | 06:31 | |
* llnz wanders off | 07:30 | |
llnz | later all | 07:30 |
*** llnz has quit IRC | 07:30 | |
*** greywhind_ has joined #tp | 07:45 | |
*** greywhind has quit IRC | 07:45 | |
*** xdotx has quit IRC | 08:35 | |
*** greywhind has joined #tp | 09:45 | |
*** greywhind_ has quit IRC | 09:45 | |
*** greywhind_ has joined #tp | 11:45 | |
*** greywhind has quit IRC | 11:45 | |
*** Erroneous has joined #tp | 12:40 | |
*** greywhind has joined #tp | 13:45 | |
*** greywhind_ has quit IRC | 13:45 | |
*** peres has joined #tp | 14:30 | |
*** greywhind_ has joined #tp | 15:45 | |
*** greywhind has quit IRC | 15:45 | |
*** nash has joined #tp | 16:27 | |
*** mithro has joined #tp | 17:45 | |
*** greywhind_ has quit IRC | 17:45 | |
*** greywhind_ has joined #tp | 17:45 | |
CIA-10 | jezuch libtpproto-java-experimental * r7024984e118b /src/net/thousandparsec/netlib/PipelinedConnection.java: | 17:47 |
CIA-10 | Use correct close() method and try to avoid deadlock when the receiver task is exiting (not tested!) (but rare, I hope for some unlucky guinea pig to hit this ;)) | 17:47 |
CIA-10 | And in the process remove InterruptedException from throws clause of PipelinedConnection.close(). | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * rdb0843cea2ee /build.xml: Compile with debugging information. | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r3c3783718f1f / (5 files in 2 dirs): Publicise parameters' types (ids) in public static final ints of classes representing them. | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r95b14f9fec33 /src/net/thousandparsec/netlib/PipelinedConnection.java: The receiver task's ExecutorService does not need to be stroed in an instance field. | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * rdb0843cea2ee /build.xml: Compile with debugging information. | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r84650ce3a930 /src/net/thousandparsec/netlib/PipelinedConnection.java: final frenzy! | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r7024984e118b /src/net/thousandparsec/netlib/PipelinedConnection.java: | 17:47 |
CIA-10 | Use correct close() method and try to avoid deadlock when the receiver task is exiting (not tested!) (but rare, I hope for some unlucky guinea pig to hit this ;)) | 17:47 |
CIA-10 | And in the process remove InterruptedException from throws clause of PipelinedConnection.close(). | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r84650ce3a930 /src/net/thousandparsec/netlib/PipelinedConnection.java: final frenzy! | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r84650ce3a930 /src/net/thousandparsec/netlib/PipelinedConnection.java: final frenzy! | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r3339c674f883 /src/net/thousandparsec/netlib/PipelinedConnection.java: Barf if the PipelinedConnection's pipeline is closed and someone tries to use it. | 17:47 |
CIA-10 | jezuch libtpproto-java-experimental * r3339c674f883 /src/net/thousandparsec/netlib/PipelinedConnection.java: Barf if the PipelinedConnection's pipeline is closed and someone tries to use it. | 17:48 |
mithro | woah, big push | 17:53 |
mithro | monring people | 17:54 |
nash | heyo mithro | 17:55 |
mithro | how is everything going? | 17:59 |
nash | pretty cool | 17:59 |
nash | replying to lee righ tnow ;-) | 17:59 |
nash | And a double free... | 17:59 |
*** peres has left #tp | 18:13 | |
mithro | nash: you find the double free? | 18:43 |
nash | Not yet | 18:43 |
mithro | yay for manual memory management | 18:44 |
nash | Actually it's the automatic memory management that is the problem | 18:50 |
mithro | oh? | 18:56 |
mithro | tpserver-cpp doesn't have automatic memory management | 18:56 |
mithro | nash: I don't really understand what you and llnz are going on about | 18:56 |
nash | So weighted max thing... | 18:59 |
nash | It limits you on one resource essentially. | 19:00 |
nash | I've just turned it from a single 'cost' into a vector of costs. Then total vector < max vector | 19:00 |
nash | bbs | 19:00 |
nash | mithro: Make sense? | 19:04 |
mithro | kind of | 19:04 |
nash | Thinking about it, it is rather cool | 19:04 |
nash | Although the UI may be tricky ;-) | 19:04 |
* mithro should be really evil and suggest a TPCL function ;) | 19:06 | |
nash | But that is bad for UIs and users | 19:06 |
nash | TPCL can't be displayed to a user, and is opaque to an AI | 19:07 |
nash | Look at my rather long UI example... and it shoudl make sense | 19:09 |
*** greywhind has joined #tp | 19:45 | |
*** greywhind_ has quit IRC | 19:45 | |
mithro | ug I hate forums | 19:46 |
nash | :-) | 19:46 |
nash | Mailing lists are awesome | 19:47 |
mithro | I've been pondering setting up a Thousand Parsec not-for-profit | 20:07 |
mithro | mainly so that I can seperate my own finances from the tp ones | 20:08 |
nash | The cost be painful though | 20:12 |
mithro | actually it doesn't seem to be too bad | 20:18 |
nash | Must have improved it then ;-) | 20:19 |
nash | AGM at LCA each year to get the Quorum up? | 20:19 |
*** Erroneous has quit IRC | 21:20 | |
mithro | ? | 21:27 |
greywhind | mithro: i figured out the cause of the lack of drawing@ | 21:41 |
greywhind | *! | 21:41 |
mithro | yay! | 21:42 |
greywhind | mithro: PieChart doesn't scale the diameter from pixel amount to universe coordinates | 21:42 |
greywhind | so i had to multiply by 10^7 or some such number to actually see anything | 21:42 |
greywhind | in Point, which was the old object drawn, the help text says: "The Diameter is in screen points, not world coordinates" | 21:44 |
*** greywhind_ has joined #tp | 21:45 | |
*** greywhind has quit IRC | 21:45 | |
greywhind_ | hmm... darn internet connection. what did i miss? | 21:45 |
mithro | nothing | 21:45 |
mithro | greywhind_: ahh, there is a version of the PieChart which does | 21:46 |
greywhind_ | mithro; where? | 21:46 |
mithro | or maybe I just thought about such a thing | 21:46 |
mithro | btw, I think it's probably a good idea to move to the floatcanvas version of the PieChart | 21:47 |
greywhind_ | mithro: why? the one we have works better on Mac | 21:47 |
mithro | it does? | 21:48 |
mithro | greywhind_: btw, you should join the floatcanvas list and point out the problem with the piechart which comes with float canvas | 21:48 |
greywhind_ | mithro: yep - pie charts draw perfectly on Mac with the one in ThousandParsec, but they draw like i showed you yesterday in the FloatCanvas one | 21:48 |
mithro | greywhind_: okay | 21:50 |
mithro | greywhind_: the one in floatcanvas is likely to be maintained in the future :P | 21:50 |
greywhind_ | mithro: we can maintain ours, or get ours put back into FloatCanvas, since it seems to work well | 21:52 |
greywhind_ | mithro: so... how do i go about converting reliably from screen coords to universe coords or vice versa? | 21:54 |
mithro | well, I'm sure the floatcanvas PieChart takes a boolean which lets you define the diameter in pixels or universe units | 21:55 |
mithro | or look at point | 22:01 |
greywhind_ | mithro: hmm... well, every _Draw method has a pair of parameters WorldToPixel and ScaleWorldToPixel, but that's the wrong part of the class for the scaling of the diameter. | 22:06 |
mithro | well, it's the only place to scale it | 22:06 |
greywhind_ | mithro: hmm... the only solution i can think of at the moment would involve modifying ArcPoint | 22:09 |
CIA-10 | nash galaxie * rb330238ca822 /ewl/gewl_object.c: Update to try and append widgets at the right place. | 22:10 |
CIA-10 | nash galaxie * rce9bf4592cc3 / (ewl/gewl_object.c gui_list.c gui_window.c gui_window.h): Add title & icon to EWL windows too. | 22:10 |
CIA-10 | nash galaxie * rae0eb1485aa0 /Makefile: make clean removes everything. | 22:10 |
CIA-10 | nash galaxie * r80319e72dc71 /ewl/gewl_object.c: Start of support for submitting orders. | 22:10 |
mithro | greywhind_: how does the FloatCanvas's PieChart do it? | 22:10 |
greywhind_ | mithro: it has its own draw method - it doesn't use ArcPoints | 22:10 |
greywhind_ | mithro: are you sure there's no way to get the world dimensions? | 22:11 |
greywhind_ | and the screen dimensions? | 22:11 |
mithro | not a good way | 22:11 |
mithro | and it changes | 22:12 |
mithro | you can not do it in the constructor | 22:12 |
greywhind_ | mithro: true. | 22:12 |
mithro | greywhind_: I would look into why the floatcanvas's piechart doesn't work | 22:12 |
greywhind_ | mithro: the real problem here is that ArcPoint forces you to give it the center, start, and end points rather than a center point, a diameter, and a number of radians | 22:13 |
mithro | greywhind_: btw, the guy commited the colors.py stuff | 22:16 |
greywhind_ | mithro: ah, excellent | 22:16 |
mithro | the guy who does the FloatCanvas is on a Mac | 22:18 |
mithro | so asking on the mailing list might be a good way to get the right answer | 22:18 |
greywhind_ | mithro; *sigh* i guess | 22:19 |
mithro | greywhind_: you need to learn to get other people to do your work ;) | 22:19 |
greywhind_ | mithro: :P | 22:19 |
greywhind_ | mithro: the colors change works | 22:21 |
greywhind_ | but the geometry still doesn't | 22:21 |
mithro | greywhind_: but still getting cords instead of arcs? | 22:21 |
greywhind_ | mithro: yep | 22:22 |
greywhind_ | it appears the problem is the dc.DrawEllipticArc call on line 128 of PieChart, but i'm not sure if it's a broken function or if it's being passed the wrong parameters | 22:23 |
mithro | greywhind_: find something else which uses DrawEllipticArc? | 22:26 |
greywhind_ | mithro: good idea | 22:26 |
mithro | http://comments.gmane.org/gmane.comp.python.wxpython/52481 | 22:28 |
tpb | <http://ln-s.net/1:Sv> (at comments.gmane.org) | 22:28 |
greywhind_ | mithro: so... no fix for OS X yet? | 22:29 |
mithro | that suggests changing it too "DrawArc" instead of "DrawEllpiticArc" ? | 22:30 |
greywhind_ | mithro: hmm... well, that does change it quite a bit... but i think it needs different parameters | 22:31 |
greywhind_ | wow... this may take some work to change over | 22:33 |
mithro | not as much as you think | 22:34 |
mithro | hold on a sec | 22:34 |
nash | mithro: YOu need to teach greywhind_ to use sed... or vim at least ;-) | 22:35 |
greywhind_ | mithro: i think i might have converted it successfully... not sure though | 22:43 |
greywhind_ | ahah | 22:48 |
greywhind_ | need to convert to radians | 22:48 |
mithro | greywhind_: to use DrawArc? | 22:58 |
greywhind_ | mithro: yeah, because i have to use sin() and cos(), which take radians | 22:59 |
mithro | this was my attempt | 22:59 |
mithro | http://pastebin.ca/793313 | 22:59 |
tpb | Title: general pastebin - mithro - post number 793313 (at pastebin.ca) | 22:59 |
mithro | I think it is all mirrored however | 22:59 |
mithro | it looks pretty ugly on Linux :( | 23:00 |
greywhind_ | mithro: you may eventually have to tell me if what i have is what you see with the original version | 23:01 |
mithro | greywhind_: yeah | 23:01 |
greywhind_ | mithro: i think i did it! | 23:09 |
greywhind_ | mithro: everything looks right now | 23:11 |
mithro | greywhind_: :) | 23:14 |
greywhind_ | mithro: now, the question is how to get it into ThousandParsec's version of wxFloatCanvas | 23:16 |
greywhind_ | just replace the old PieChart? | 23:16 |
mithro | cp :P | 23:17 |
greywhind_ | so we don't update FloatCanvas automatically or anything? | 23:17 |
mithro | nope | 23:18 |
mithro | I manually merge when I get the urge | 23:18 |
greywhind_ | alright then. i'll do that tomorrow. | 23:18 |
greywhind_ | mithro; shall i send you a new screenshot? | 23:19 |
mithro | sure! | 23:19 |
greywhind_ | mithro: i took a slightly different approach to the drawing than you did in your patch because it matched how i think better | 23:20 |
mithro | greywhind_: okay | 23:20 |
greywhind_ | mithro: should be pretty much equivalent in function though | 23:20 |
mithro | yeah | 23:20 |
greywhind_ | mithro: http://free.prohosting.com/whind/stuff/piechartsfixed.png | 23:21 |
tpb | <http://ln-s.net/1:TX> (at free.prohosting.com) | 23:21 |
greywhind_ | mithro: does that look right? | 23:27 |
mithro | yeah | 23:27 |
greywhind_ | mithro: :) | 23:28 |
mithro | want to send me your copy of the PieChart to see what it looks like here? | 23:28 |
greywhind_ | mithro: sure | 23:28 |
greywhind_ | mithro: http://free.prohosting.com/whind/stuff/PieChart.py | 23:29 |
tpb | <http://ln-s.net/1:T_> (at free.prohosting.com) | 23:29 |
mithro | Free ProHosting.com File Type Not Allowed | 23:30 |
greywhind_ | mithro; sigh. | 23:30 |
greywhind_ | i'll e-mail it | 23:30 |
mithro | greywhind_: I need to fix it so that you can also scp files to www.thousandparsec.net | 23:31 |
greywhind_ | mithro: sent | 23:32 |
mithro | greywhind_: looks okay - the sizes seem different? | 23:44 |
*** greywhind has joined #tp | 23:45 | |
*** greywhind_ has quit IRC | 23:45 | |
mithro | could someone send me an email? | 23:52 |
* mithro just installed greylisting and seeing if it works | 23:52 | |
nash | mithro: I won't send you an email... tell if you don't receive it | 23:54 |
mithro | :P | 23:54 |
greywhind | mithro: still need an e-mail? | 23:54 |
nash | And mithro: It doesn't work so well anymore... too many people use it... spammers now deploy bots that resend - botnets solve that problem | 23:55 |
mithro | nash: ahh well, my server is getting overrun by spam | 23:55 |
nash | It may help then... but expect to still get lots | 23:55 |
nash | I just sent two | 23:55 |
nash | You should get message 2 first | 23:55 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!