*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** antum has joined #tp | 01:27 | |
antum | Hi, anyone familiar with how to configure sftp on debian for multiple users? | 01:27 |
---|---|---|
*** tuna-fish- has joined #tp | 01:50 | |
*** antum has left #tp | 01:52 | |
nash | quiet here today | 04:08 |
*** Demitar has quit IRC | 05:24 | |
*** Demitar_ has quit IRC | 05:24 | |
*** Demitar__ has joined #tp | 05:24 | |
*** Demitar_ has joined #tp | 05:25 | |
*** Demitar has joined #tp | 05:28 | |
*** Demitar__ has quit IRC | 05:44 | |
jotham | hey | 05:57 |
*** tpb has joined #tp | 06:00 | |
*** ChanServ sets mode: +o tpb | 06:00 | |
*** adhoc has quit IRC | 06:00 | |
nash | hey | 06:02 |
mithro | howdy people | 06:05 |
mithro | i'm so stiff today | 06:05 |
nash | heyo | 06:05 |
mithro | nash: so how goes everything? | 06:10 |
nash | getting there | 06:11 |
jotham | hey mithro | 06:11 |
nash | Have nice informational displays when you mouse over stars | 06:11 |
mithro | hye jotham, any news? | 06:11 |
nash | I start working on orders next, and then I can actually get the AI to do something | 06:12 |
nash | It currently generates a list of things to do..."Colonise X" mostly... and a hell of a lot of things it needs to do that. | 06:13 |
nash | Should make another screenshot or something to show the popups | 06:14 |
mithro | nash: that would be cool | 06:14 |
nash | Screenshot or AI progress? | 06:15 |
nash | Actually - can I ask a silly question about minisec? | 06:15 |
nash | Is there a point in playing? Essentially for for 2 players, I can't see how you can really win unless you do something monumentally stupid. | 06:16 |
nash | Since all resources are equal, unless someone gets a better starting location (closer to more planets for instance) everything else looks too balanced without a clear way to get ahead | 06:17 |
nash | Plus perfect knowledge means surprise and general information management go out the window | 06:18 |
jotham | mithro: just got home from work, am feeling better today, am working on it now | 06:24 |
mithro | jotham: cool | 06:25 |
mithro | nash: kind of | 06:25 |
mithro | nash: minisec battles are very strange | 06:25 |
mithro | so it's about knowing the odds correctly | 06:26 |
nash | Yeah, but only a fool goes into an even battle - unless you want to force a result | 06:26 |
mithro | (which is what computers should be good at) | 06:26 |
mithro | nash: playing with the battle simulater, I found that uneven battles need to be very uneven to have good odds | 06:27 |
nash | That makes it even worse. | 06:29 |
nash | It reduces teh strategic element even more. | 06:29 |
nash | So basically the game is a massive land grab, if one side gets a big advantage there, they want to build as long as possible to get a significant fleet, then go and hammer the other player | 06:30 |
mithro | nash: i've yet to play a game against humans - but I'm pretty sure there is at least a little bit of stratergy :) | 06:30 |
nash | mithro: Who have you played a game against then? | 06:30 |
nash | SInce there are no complete AIs? | 06:30 |
* mithro points to the "yet to" | 06:30 | |
nash | Okay - can I ask - where you see the strategy? | 06:31 |
* nash thinks it looks more like monopoly in space | 06:31 | |
mithro | nash: well, going after a players planets early? | 06:32 |
nash | They can see it coming | 06:33 |
nash | Ships are too slow and in teh early game the 2 ship colony advantage is too big | 06:33 |
nash | If I see an early build up, just respond appropriately | 06:33 |
mithro | 2 ship colony advantage? | 06:34 |
nash | A planet counts as 2 battleships right? | 06:34 |
mithro | ahh yeah | 06:34 |
mithro | nash: ultimately minisec wasn't suppose to be around long :) | 06:35 |
mithro | nash: what about using scouts in your fleets? | 06:35 |
nash | Scouts - why do I need scouts? | 06:35 |
nash | Scouts tell me about planets - I know about planets. | 06:36 |
mithro | Scout ships allow your fleets to escape harm. When your ships win a combat round they will have a chance to escape. | 06:36 |
nash | When I win, I don't want to escape.... | 06:36 |
mithro | you do if it's your colonisation frigates | 06:36 |
nash | Send multiple fleets. | 06:37 |
mithro | frigates are the "slowest" ship as well | 06:37 |
mithro | nash: fleets are merged if they are at the same location for battle | 06:37 |
nash | mithro: Take different paths... | 06:37 |
mithro | a battleship sitting around a planet will aways get a chance to fight the frigate before colonisation can occur | 06:38 |
mithro | nash: we'll find out what stratergies work when we have some AI however :) | 06:39 |
nash | True. | 06:39 |
mithro | i'm just currently speculating | 06:39 |
mithro | I would love to see the percentages if somebody did up rusty's battle calculation matrix thing | 06:40 |
nash | I'm just thinking about AI strategies, and I can't see the real game - the strategy against the AI will be work out what it doesn't understand and take advantage | 06:40 |
nash | Shouldn't be too hard - it's only a 1d vector for each side | 06:41 |
mithro | nash: i agree the game is very simple, and is primarly about grabing land as fast as possible | 06:42 |
mithro | (and stopping the enemy from getting land too) | 06:42 |
mithro | MTSec is going to be a much more intresting game stratergy wise | 06:43 |
mithro | as it has resource management and designing of ships - and possibly Fog of War | 06:43 |
mithro | it will also be intresting to see how MiniSec changes when servers impliment Fog of War | 06:44 |
nash | Actually I don't see the stopping hte enemy aspect as a major thing in minisec | 06:44 |
nash | Why bother - building warships takes too long, you are better off just building another coloniser | 06:46 |
nash | You want growth as fast as you can as your build rate == # planets | 06:46 |
nash | Don't build a warship anywhere except a colony where someone is sending a warship too ( | 06:47 |
nash | counter-act buildups - but feel free to grow another turn or 10 before you do as the ship speed is quite slow) | 06:47 |
nash | Anhway - I need to go | 06:47 |
nash | MTSec looks a lot more interesting ;-) | 06:48 |
mithro | nash: on a side note, ship speed is given in units | 06:48 |
mithro | IE how units relate to star distances is server/config specific | 06:48 |
nash | Talk to you later | 06:49 |
*** nash has quit IRC | 06:49 | |
mithro | nasokay | 06:49 |
mithro | jotham: so what you working on today? | 06:59 |
jotham | the event stuff so i can queue and display animations in the right time sequence, then i need to look at caching the animation effects in ram (means faster runtime but more memory usage) | 07:00 |
jotham | once the event stuff is in i can also add the play/pause/fwd/back widgets | 07:01 |
jotham | what about you? | 07:02 |
mithro | jotham: getting tpserver-cpp to compile and run under windows correctly | 07:12 |
jotham | cool | 07:13 |
*** czr has quit IRC | 09:01 | |
*** jasmine has quit IRC | 09:01 | |
*** czr has joined #tp | 09:01 | |
*** jasmine has joined #tp | 09:01 | |
*** tuna-fish- has quit IRC | 09:30 | |
*** tuna-fish- has joined #tp | 09:30 | |
*** czr has quit IRC | 09:37 | |
*** jasmine has quit IRC | 09:37 | |
*** czr has joined #tp | 09:39 | |
*** jasmine has joined #tp | 09:39 | |
JLP | morning all | 10:32 |
mithro | morning JLP | 10:56 |
mithro | JLP: we now have a working server package for windows | 10:59 |
*** nash has joined #tp | 10:59 | |
mithro | wb nash | 11:01 |
mithro | JLP: do you recommend any plugins for wordpress? | 11:02 |
JLP | mithro: yeah, i've read on your blog that you are working on it | 11:02 |
nash | heyo | 11:02 |
mithro | nash: can you check/update your metaserver bug thing? | 11:02 |
JLP | mithro: i tried to compile it with guile 1.8 but it still fails with 2 functions | 11:02 |
*** CIA-11 has quit IRC | 11:03 | |
nash | mithro: What about it? My system talks to the meta server every N minutes, it doesn't appear on the metaserver, apparently because the metaserver realises it's a bogus address. | 11:04 |
nash | As for setting psudeo addresses and such garbage.. well my feeling is if it talks to the meta server it shoudl just work, I shouldn't have to screw around with other settings. The metaserver has all the inforamtion it needs | 11:05 |
mithro | nash: you assume symetrical outcome | 11:06 |
nash | ? | 11:06 |
mithro | IE the address you are publishing from is the one you can connect on | 11:07 |
mithro | eventually I guess the metaserver should try a connection to the server too... | 11:09 |
nash | Seems to cover 99% of cases. It's a routable address from the server | 11:09 |
*** CIA-20 has joined #tp | 11:09 | |
nash | s/server/metaserver/ | 11:09 |
nash | If not the metaserver can't send a response. | 11:09 |
mithro | nash: you need to port forward the address back inside | 11:10 |
nash | The metaserver should also try and connect to make sure the port is not blocked yes | 11:10 |
nash | but just giving up because there is 10.0 at the address is silly. And telling the person setting up the server to dive through aconfiguration file to find some magic config variables to get it to work is silly | 11:11 |
nash | When you consider dynamic IPs it is even sillier | 11:11 |
mithro | nash: you need to do the same for apache etc? | 11:12 |
nash | mithro: I really hope that comment is being made in jest | 11:13 |
mithro | nash: hrm? apache complains if you don't set a valid servername and such? | 11:14 |
nash | This is indeed correct. But your argument is thus "Well software X is broken, so we can be too. Why try and be better then anything else?" | 11:16 |
nash | Hence my question - is this being in jest? | 11:16 |
mithro | nash: well it more was, "It's an accepted part of setting up most popular servers for public access" | 11:18 |
nash | Well - no, not really | 11:19 |
nash | It's an accepted part of setting up apache. | 11:19 |
mithro | and postfix | 11:19 |
nash | My ircd involed me installing | 11:19 |
nash | exim didn't require it | 11:19 |
mithro | specially when you have like 6 interfaces | 11:19 |
nash | And they aren't doing the same thing. There is a procedure which will discover the address 99% of the time if it wants to. | 11:20 |
nash | Look, if you don't think it's a bug, I'm not going to bother arguing it is. | 11:21 |
nash | It's not worth my effort. | 11:21 |
mithro | nash: he he, i don't think it's a bug in the metaserver ;) | 11:21 |
mithro | i've assigned it back to tpserver-cpp | 11:21 |
nash | Well I think both products have a problem | 11:22 |
nash | tpserver shouldn't keep talking to the metaserver | 11:22 |
nash | it only needs to do it once and be told that the address is invalid. | 11:22 |
nash | not once a turn or whatever | 11:22 |
nash | BTW: You also need to deal with the fact that tpserver is talking to the metaserver WITHOUT ASKING THE USER | 11:23 |
mithro | nash: that is a bug you probably mention to Lee | 11:24 |
mithro | i never thought about it from that side | 11:25 |
mithro | nash: there is a problem that there is no defined return types from metaserver | 11:27 |
mithro | nash: maybe it should default to no? | 11:29 |
nash | Probably | 11:29 |
*** czr_ has joined #tp | 11:31 | |
*** czr has quit IRC | 11:35 | |
mithro | nash: btw it's helpful to have these comments | 11:43 |
nash | mithro: It isn't helpful to get responses back like "IPv6 will fix this" | 11:48 |
mithro | nash: ipv6 is pretty much DOA ;) | 11:48 |
nash | You guys need to be careful. After reading the metsaserver responses my first reaction is to say "fuck it" | 11:49 |
nash | Why bother reporting any more bugs? | 11:49 |
mithro | nash: well, I wasn't clear if you where complaining that the metaserver was publishing a private server or something else | 11:50 |
mithro | talking to you now, it's clear you where complaining about the fact it didn't automatically find the correct address | 11:51 |
nash | Well the response from the metaserver says it is seeing 10.0.0.1. | 11:52 |
mithro | nash: thats why I responded with the code and such | 11:53 |
nash | okay | 11:54 |
nash | my apologies then | 11:54 |
nash | But the two response seemed very dismissive to me. | 11:54 |
nash | And you have quite a few other bugs in the tracker with responses like "not my bug' | 11:54 |
nash | Which as a public project are not helpful | 11:54 |
mithro | nash: urls? | 11:55 |
*** czr_ is now known as czr | 11:55 | |
nash | https://sourceforge.net/tracker/index.php?func=detail&aid=1621165&group_id=132078&atid=723099 | 11:56 |
mithro | nash: regarding http://sourceforge.net/tracker/index.php?func=detail&aid=1665152&group_id=132078&atid=723099 | 11:56 |
tpb | <http://ln-s.net/J$L> (at sourceforge.net) | 11:56 |
tpb | <http://ln-s.net/J$M> (at sourceforge.net) | 11:56 |
mithro | are you asking for a frame from the server? | 11:57 |
mithro | or that tpclient-pywx puts up a message? | 11:57 |
nash | From the server (hence agaisnt 'protocol') | 11:58 |
mithro | nash: how would you respond to https://sourceforge.net/tracker/index.php?func=detail&aid=1621165&group_id=132078&atid=723099 (assuming Lee is correct and it's a guile-config bug?) | 11:58 |
tpb | <http://ln-s.net/J$L> (at sourceforge.net) | 11:58 |
nash | Never with "Because the libs for guile are provided by guile-config, this isn't a | 11:59 |
nash | tpserver-cpp bug." | 11:59 |
nash | I don't fully follow the conversation to be honest. | 11:59 |
nash | But there is aproblem so where the problem is needs to be explained, and sent upstream to whoevers problem it really uis | 12:00 |
nash | If the build system can't detect the libraries correctly I woudl argue it is a problme in the build system however | 12:00 |
nash | But any response of "this isn't <our software> bug" like the first response is a guaranteed way to piss of the reporter | 12:01 |
mithro | nash: I'm still learning how to herding cats (and not be such a cat myself) ;) | 12:01 |
nash | I realise in this case it was at you... but still others read the trackers, and bug trackers are a great way to find out about a projects... | 12:02 |
nash | However I need to go. I need to et up early tomorrow. | 12:02 |
nash | If you want me to suggest/bitch some more.. I'll be online tomorrow ;-) | 12:02 |
nash | Have a good night | 12:03 |
mithro | nash: you too | 12:03 |
*** nash has quit IRC | 12:04 | |
mithro | JLP: ping? | 13:42 |
JLP | mithro: pong | 13:42 |
JLP | mithro: i just submited a Gentoo ebuild for libtpproto-cpp | 13:44 |
mithro | yay! | 13:44 |
JLP | now on C++ side only the server is waiting | 13:44 |
mithro | what about the python libraries? | 13:44 |
JLP | now i'm going to create ebuilds for Python client | 13:44 |
mithro | they should all be pretty easy to package (apart form the client) | 13:44 |
mithro | when I do another release tpclient-pywx will have an enviroment variable so it can be packaged properly | 13:45 |
JLP | so for Python I need : libtpproto-py, libtpclient-py, tpclient-pywx | 13:47 |
mithro | JLP: yes, package libtp*-py will be very easy | 13:49 |
JLP | does Python stuff also have any special folders where it installs files, like /usr/lib for C++ | 13:50 |
mithro | JLP: I don't know how gentoo packages python | 13:52 |
mithro | but normally it's something like /usr/lib/python/site-packages/<tp>/<netlib|client> | 13:52 |
mithro | just copy other pure python packages | 13:53 |
mithro | which will be something like "python setup.py install" | 13:53 |
JLP | ok, will look at other python ebuilds and ask on gentoo channel | 13:54 |
mithro | they are pure python - which should make them very easy | 13:54 |
JLP | ok I think I got it how to handle Python in Gentoo, now let's try one and see :) | 14:20 |
mithro | JLP: howd it go? | 14:37 |
JLP | not yet finished | 14:37 |
JLP | mithro: is setup.py something like configure? | 14:39 |
mithro | yes it's a python "equivalent" | 14:43 |
JLP | mithro: is libtpproto-py diferrent than libtpproto-cpp in that py is for both clients and servers? | 14:48 |
mithro | yes | 14:49 |
JLP | so my description od -cpp is OK when I only say that i is for clients | 14:49 |
mithro | JLP: yes | 14:49 |
mithro | JLP: i'm thinking changing the domain to rants.mithis.com :) | 14:50 |
JLP | mithro: whatever you like ore :) | 14:51 |
mithro | ore? | 14:51 |
JLP | mithro: btw it is advised to use mod_rewrite and set up WP so that it usses article titles in URLs | 14:52 |
JLP | hes/ore/more | 14:52 |
JLP | using actual titles in URLs make Google more happy :) | 14:52 |
JLP | and well it generally looks nicer to humans :) | 14:53 |
mithro | you mean like this | 14:55 |
mithro | http://blog.mithis.net/archives/thousand-parsec/12-compiling-tpserver-cpp-under-windows-part-2 | 14:55 |
tpb | <http://ln-s.net/J$W> (at blog.mithis.net) | 14:55 |
JLP | yup yup | 15:00 |
mithro | :) | 15:00 |
mithro | anything else I should add? | 15:00 |
JLP | some anti-comment-spam filter | 15:01 |
JLP | like Spam Karma 2 | 15:01 |
mithro | JLP: which ones? | 15:02 |
JLP | http://unknowngenius.com/blog/wordpress/spam-karma/ | 15:02 |
tpb | <http://ln-s.net/J$Y> (at unknowngenius.com) | 15:02 |
JLP | I use this one, and it work very well, no problems so far | 15:02 |
JLP | 5640 Spams eaten and counting... | 15:02 |
mithro | http://unknowngenius.com/blog/wordpress/spam-karma/ | 15:03 |
tpb | <http://ln-s.net/J$Y> (at unknowngenius.com) | 15:03 |
mithro | opps | 15:03 |
JLP | mithro: is there a list of required python packages for libtpproto-py, i can't find it in readme | 15:23 |
mithro | hrm, nothing outside the standard python library | 15:24 |
JLP | i get an error about setuptools | 15:26 |
mithro | o, yes you need setuptools :) | 15:26 |
mithro | only to install | 15:27 |
mithro | http://peak.telecommunity.com/DevCenter/setuptools | 15:28 |
tpb | <http://ln-s.net/J$a> (at peak.telecommunity.com) | 15:28 |
mithro | not to run | 15:28 |
JLP | ok, then i'll add it to dependencies� | 15:29 |
mithro | JLP: now I just need some comments :) | 15:31 |
JLP | what options do I have tlo pass to setup.py | 15:34 |
mithro | none | 15:35 |
JLP | mithro: ok, looks like it works | 15:41 |
JLP | mithro: http://pastebin.com/885895 | 15:44 |
JLP | mithro: i just hope this error about setup.py is nothing serious | 15:46 |
mithro | python setup.py install | 15:47 |
JLP | is this setup.py some standard Python stuff | 15:48 |
mithro | yes | 15:48 |
mithro | it appears it's doing it already | 15:48 |
JLP | maybe the gentoo scripts/functions already do all that is needed and you don't have to explicitly call it | 15:48 |
mithro | # | 15:49 |
mithro | running install | 15:49 |
mithro | # | 15:49 |
mithro | running build | 15:49 |
mithro | # | 15:49 |
mithro | running build_py | 15:49 |
mithro | # | 15:49 |
mithro | running install_lib | 15:49 |
mithro | they are all standard setup.py commands | 15:49 |
JLP | ok, then i'll just remove the call | 15:49 |
JLP | now on to libtpclient | 15:52 |
JLP | mithro: I get this error for libtpclient | 16:08 |
JLP | Traceback (most recent call last): | 16:08 |
JLP | File "setup.py", line 3, in ? | 16:08 |
JLP | from tp.client import version | 16:08 |
JLP | ImportError: No module named client | 16:08 |
mithro | that means you don't have setuptools installed normally | 16:09 |
mithro | can you give me the context around it? | 16:09 |
JLP | mithro: not much else around it except normal emerge stuff like | 16:12 |
JLP | >>> Unpacking source... | 16:12 |
JLP | >>> Unpacking libtpclient-py-0.2.1.tar.bz2 to /var/tmp/portage/dev-games/libtpclient-py-0.2.1/work | 16:12 |
JLP | >>> Source unpacked. | 16:12 |
JLP | >>> Compiling source in /var/tmp/portage/dev-games/libtpclient-py-0.2.1/work/libtpclient-py-0.2.1 ... | 16:12 |
JLP | ... | 16:12 |
JLP | !!! ERROR: dev-games/libtpclient-py-0.2.1 failed. | 16:12 |
mithro | hrm... | 16:13 |
mithro | can you go to /var/tmp/portage/dev-games/libtpclient-py-0.2.1/work | 16:14 |
mithro | and check what is in the ./tp/__init__.py file? | 16:14 |
JLP | just got the same error, when runing python setup.py manualy with archive unpacked somewhere lese | 16:15 |
JLP | witll check that file | 16:15 |
JLP | try: | 16:15 |
JLP | __import__('pkg_resources').declare_namespace(__name__) | 16:15 |
JLP | import modulefinder | 16:15 |
JLP | for p in __path__: | 16:15 |
JLP | modulefinder.AddPackagePath(__name__, p) | 16:15 |
JLP | except Exception, e: | 16:15 |
JLP | import warnings | 16:15 |
JLP | warnings.warn(e, RuntimeWarning) | 16:15 |
mithro | hrm.... | 16:15 |
mithro | run python | 16:16 |
mithro | and then do a | 16:16 |
mithro | import setuptools | 16:16 |
mithro | >>> setuptools.__version__ | 16:16 |
JLP | '0.6c5' | 16:17 |
mithro | hrm.... | 16:18 |
mithro | hrm... | 16:19 |
mithro | it's working here.... | 16:19 |
mithro | okay try changing the line | 16:21 |
mithro | __import__('pkg_resources').declare_namespace(__name__) | 16:21 |
mithro | to | 16:21 |
mithro | import pkg_resources | 16:21 |
mithro | pkg_resources.declare_namespace(__name__) | 16:21 |
mithro | also in te python prompt | 16:21 |
mithro | try a "import pkg_resources" | 16:21 |
mithro | is there anything above "[02:40] <JLP> Traceback (most recent call last):" | 16:22 |
JLP | nope nothing above that | 16:22 |
JLP | will try to change lines now | 16:22 |
mithro | a python version would be good too | 16:23 |
mithro | you will need to change | 16:23 |
mithro | /usr/lib/python2.4/site-packages/tp/__init__.py | 16:23 |
JLP | import pkg_resources in python prompt worked | 16:24 |
mithro | hrm.... | 16:26 |
mithro | can you give me a ssh login to the machine? | 16:28 |
JLP | replaced the line with two new lines in tp/__init__.py in unpackaged archive folder but still get error | 16:28 |
JLP | sure | 16:30 |
JLP | use jlp : mithro2007 at 89.212.91.146 | 16:30 |
mithro | umm, public channel :) | 16:30 |
JLP | oh no wait, i forgot, i'm behind a router which I have no control over | 16:30 |
mithro | reverse ssh | 16:31 |
JLP | how does that work | 16:31 |
mithro | ssh darcs.thousandparsec.net -R 1022:localhost:22 | 16:32 |
JLP | and then | 16:33 |
mithro | in theory I should be able to login | 16:34 |
mithro | actually try this | 16:35 |
mithro | ssh darcs.thousandparsec.net -R 10022:localhost:22 | 16:35 |
mithro | with a -v too | 16:35 |
JLP | done | 16:37 |
mithro | Password: | 16:38 |
mithro | Last login: Mon Feb 19 07:59:00 2007 | 16:38 |
mithro | jlp@phoenix ~ $ | 16:38 |
JLP | the unpacked libtpclient is in Downloads | 16:39 |
mithro | hrm something is wrong | 16:39 |
mithro | this hasn't install libtpproto-py right at all | 16:41 |
mithro | there is no file in here | 16:42 |
mithro | /usr/lib/python2.4/site-packages/tp/__init__.py | 16:43 |
mithro | so, the question is where did it go | 16:50 |
mithro | can you put in paste bin a successful build of libtpproto-py? | 16:51 |
JLP | http://pastebin.com/885895 is the one that worked, except for the setup.py error | 16:52 |
mithro | pastebin is slow :/ | 16:55 |
mithro | Skipping installation of /var/tmp/portage/dev-games/libtpproto-py-0.2.1/image/usr/lib/python2.4/site-packages/tp/__init__.py (namespace package) | 16:58 |
mithro | why oh why!? | 16:58 |
mithro | http://mail.python.org/pipermail/distutils-sig/2007-January/007081.html | 16:59 |
tpb | <http://ln-s.net/J$j> (at mail.python.org) | 16:59 |
mithro | http://mail.python.org/pipermail/distutils-sig/2007-January/007081.html | 17:03 |
tpb | <http://ln-s.net/J$j> (at mail.python.org) | 17:03 |
JLP | hm no idea, i've also asked on gentoo-python what this is all about | 17:06 |
mithro | can you add in an extra command to the package? | 17:08 |
JLP | yeah I guess, they are basically bash scripts | 17:09 |
mithro | add in a command in the install stage to copy the init | 17:13 |
mithro | debian does this | 17:14 |
mithro | install-python%: | 17:14 |
mithro | dh_testdir | 17:14 |
mithro | dh_testroot | 17:14 |
mithro | dh_clean -k | 17:14 |
mithro | dh_installdirs | 17:14 |
mithro | python$* setup.py install --root=$(CURDIR)/debian/python-tp-netlib \ | 17:14 |
mithro | --single-version-externally-managed | 17:14 |
mithro | # This is code for testing the library, shouldn't be in the release | 17:14 |
mithro | rm $(CURDIR)/debian/python-tp-netlib/usr/lib/python2.4/site-packages/tp/netlib/test.py | 17:14 |
mithro | # This piece of magic makes the tp module seperation work | 17:14 |
mithro | cp tp/__init__.py $(CURDIR)/debian/python-tp-netlib/usr/lib/python2.4/site-packages/tp/ | 17:14 |
mithro | JLP: you might want to change your password too :) | 17:30 |
mithro | anyway should be in bed | 17:43 |
mithro | night | 17:43 |
JLP | night | 18:02 |
*** tuna-fish- has quit IRC | 19:25 | |
*** zipola_ has quit IRC | 21:27 | |
*** nash has joined #tp | 22:01 | |
*** mithro has quit IRC | 22:21 | |
*** mithro has joined #tp | 22:50 | |
mithro | morning nash | 22:55 |
mithro | did http://sourceforge.net/tracker/index.php?func=detail&aid=1665152&group_id=132078&atid=723099 solve your problem? | 22:55 |
tpb | <http://ln-s.net/J$M> (at sourceforge.net) | 22:55 |
nash | Heyo | 22:56 |
* nash will look | 22:56 | |
nash | I haven't been receiving email for the past 13 hours... so I haven't seen the sourceforget messages | 22:56 |
nash | yep. | 22:57 |
nash | All good | 22:57 |
nash | thank you | 22:58 |
mithro | I assumed you ment what I said in that bug report (you could have been possibly reporting the bug in tpclient-pywx which doesn't pop-up a new turn is ready message) | 23:01 |
nash | No, I try to report against hte correct component :-) | 23:03 |
nash | Don't really care about the python client either ;-) | 23:03 |
mithro | nash: i figured as much ;) | 23:04 |
mithro | so where are those screenshots you promised? :P | 23:04 |
nash | Soon ;-) | 23:04 |
nash | Okay I've spotted a bug, but I'm not sure if it's my bug or the server's bug... | 23:05 |
nash | I used the aicomp conf file which has a non-trivial number of stars, and I am seeing duplicate star names? | 23:05 |
nash | Is this correct? | 23:05 |
nash | Can teh system generate the same star name, or am I screwing up somewhere? | 23:06 |
nash | ie. Is this a bug at my end, or your end ;-) | 23:06 |
mithro | nash: i have no idea :) | 23:06 |
nash | okay, I'll dump a bit more info and find out | 23:07 |
mithro | my guess is that duplicate names are "fine" - technically there is nothing "wrong" with them | 23:07 |
mithro | nash: if you wanted to do a quick check just login with the python client :) | 23:07 |
nash | There is pratically - it means humans need to use OIDs to refer to objects... | 23:07 |
mithro | nash: hence the quotes :) | 23:08 |
nash | This map has two dups, and two stars on top of each other... | 23:09 |
nash | Okay - server is generating duplicate names... | 23:10 |
* nash reports it as a bug | 23:10 | |
mithro | static char const * const systemNames[] = { | 23:10 |
mithro | "Barnard's Star", "Gielgud", "Ventana", | 23:10 |
mithro | "Aleph Prime", "Ventil", "Sagitaria", | 23:10 |
mithro | "Drifter", "Ptelemicus", "Centanis", | 23:10 |
mithro | "Mendelis", "Cassious' Shadow", "Llentim", | 23:10 |
mithro | "Redoubt", "Kelper", "Cemara", | 23:10 |
mithro | "Cilantarius", "Kya", "Lanternis", | 23:10 |
mithro | "Illatis", "Rintim", "Uvaharim", | 23:10 |
mithro | "Plaetais", "Denderis", "Desiderata", | 23:10 |
mithro | "Illuntara", "Ivemteris", "Wetcher", | 23:10 |
mithro | "Monanara", "Clesasia", "RumRunner", | 23:10 |
mithro | "Last Chance", "Kiuper Shadow", "NGC 42059", | 23:10 |
mithro | "Ceti Alpha", "Surreptitious", "Lupus Fold", | 23:10 |
mithro | "Atlantis", "Draconis", "Muir's Gold", | 23:10 |
mithro | "Fools Errand", "Wrenganis", "Humph", | 23:10 |
mithro | "Byzantis", "Torontis", "Radiant Pool"}; | 23:10 |
mithro | :) | 23:11 |
* nash waits for mithro to be kicked for flooding | 23:11 | |
mithro | we have a liberal flooding policy here :) | 23:11 |
mithro | which will remain in place till we hit ~30 users :P | 23:11 |
mithro | anyway that would require me to figure out the kick command and kick myself :P | 23:12 |
mithro | nash: btw did you just not notice the EOT message arriving when turns finish? | 23:13 |
mithro | it picks a name by doing | 23:14 |
mithro | unsigned int thx = rand() % 45 + 1; | 23:14 |
mithro | star->setName(systemNames[thx-1]); | 23:14 |
nash | 45? | 23:14 |
mithro | which I guess is rather annoying | 23:14 |
nash | Blerg :-( | 23:14 |
nash | First bug: | 23:14 |
mithro | yay for magic numbers too!? | 23:14 |
nash | Yeah - especially when it's C idiom to write (sizeof(systemNames) / sizeof(systemNames[0])) | 23:15 |
nash | Can you fix that one first... | 23:15 |
mithro | which one? | 23:16 |
mithro | the magic number? | 23:16 |
nash | The magic numberr | 23:16 |
nash | snap | 23:16 |
mithro | bblr meeting | 23:17 |
nash | have fun | 23:17 |
mithro | back | 23:54 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!