*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** mithro has joined #tp | 00:14 | |
*** nash has quit IRC | 02:33 | |
*** nash has joined #tp | 02:40 | |
nash | no luck | 02:40 |
---|---|---|
nash | need an initrd | 02:40 |
jotham | mithro: am going to have to rename the parser.py to battleparser.py | 02:43 |
mithro | jotham: any reason? | 02:43 |
jotham | mithro: right now when i import parser it imports 'built-in module parser' | 02:43 |
mithro | do a darcs mv? | 02:43 |
jotham | hum that shouldn't be happening actually | 02:44 |
jotham | i wonder whats up | 02:44 |
jotham | try import your parser file from another py file in the same directory | 02:46 |
jotham | the class doesn't need renaming, just the module as far as i can tell | 02:46 |
mithro | i bet you don't have a __init__.py ? | 02:47 |
jotham | i don't, that is accurate, but the manual states: | 02:47 |
mithro | hrm... | 02:47 |
mithro | >>> import parser | 02:47 |
mithro | >>> parser.__file__ | 02:47 |
mithro | 'parser.py' | 02:47 |
mithro | >>> dir(parser) | 02:48 |
mithro | ['Parser', '__builtins__', '__doc__', '__file__', '__name__', 'xml'] | 02:48 |
jotham | wonder what is wrong here | 02:49 |
jotham | http://rafb.net/p/OAXq4u82.html | 02:50 |
tpb | Title: Nopaste - No description (at rafb.net) | 02:50 |
jotham | it's a built in module that is getting loaded at my end | 02:51 |
jotham | specifically http://docs.python.org/lib/module-parser.html | 02:51 |
tpb | Title: 30.1 parser -- Access Python parse trees (at docs.python.org) | 02:51 |
jotham | the manual also says not to name things the same as built in modules | 02:51 |
*** nash has quit IRC | 02:51 | |
mithro | weird | 02:52 |
jotham | i am using 2.4.4 | 02:52 |
jotham | using an __init__.py wont change anything because no matter what script it is it wont prefer your parser.py over the built in module | 02:53 |
jotham | unless i mangle sys.path which isn't really good-times | 02:53 |
jotham | unless you know a better way | 02:55 |
jotham | you should tell me what to call the file | 02:55 |
mithro | battleparser is file | 02:58 |
mithro | s/file/fine | 02:58 |
jotham | shame TortoiseSVN doesn't do darcs, wonder if there is a nice win32 client | 02:58 |
jotham | i swear i've spent more time fiddling with version control stuff than actually doing stuff =) | 02:59 |
mithro | bah | 03:02 |
mithro | darcs under windows does suck quite a bit | 03:02 |
mithro | there was some working going on for a tortiose darcs but it didn't get far | 03:03 |
CIA-11 | [email protected] * libmng-py/ (44 files in 4 dirs): First step in creating a C helper module for speed. | 03:19 |
CIA-11 | [email protected] * libmng-py/ (51 files in 4 dirs): C helper now works. | 03:19 |
jotham | mithro: got a minute? | 03:21 |
mithro | jotham: was about to go to lunch, but I can spare a few | 03:22 |
CIA-11 | [email protected] * libmng-py/mng/mnghelper/ (9 files): Only do the checks sometimes. | 03:22 |
jotham | ok | 03:22 |
jotham | so i am going to ditch using svn for this project, and use ssh+darcs and just learn yet another version control system | 03:22 |
jotham | so is this how i should proced: | 03:22 |
jotham | use darcs to get your current version of the repo from darcs.thousand... and work from that local copy | 03:23 |
jotham | when i want to use it from another linux box, create a patch and apply that to a copy of darcs.thousand... on that other linux box? | 03:23 |
mithro | first thing you need to understand - darcs is a distributed revision control, you can push to any darcs repository - so you can push patches around you local network if you want | 03:24 |
jotham | ok | 03:24 |
mithro | IE you could pull directly from the other linux box | 03:24 |
jotham | so i should get a copy of your darcs@tp repo on both machines and just push patches from one to the other over scp? | 03:24 |
mithro | darcs pull ssh://myotherlinuxbox/home/jotham/battleviewer | 03:24 |
jotham | i just want to keep 2 places in sync | 03:24 |
jotham | ok | 03:24 |
mithro | (or darcs push to push patches) | 03:25 |
jotham | ok i am going to try that now | 03:25 |
mithro | darcs will take care of doing all the scp for you | 03:25 |
mithro | you might want to setup passwordless login so you don't have to type your password a hundred times however | 03:25 |
jotham | they arn't secure enough for that, maybe if i set up a vpn...but that's just wasting more time =) | 03:26 |
jotham | i'll read about it, it's been a while since i last configured a passwordless login | 03:27 |
mithro | "passwordless" login with ssh-agent is a good thing to setup and can be quite secure | 03:27 |
jotham | ok | 03:27 |
mithro | IE you only type your ssh's key passphrase once for a session | 03:28 |
mithro | if you are running gnome you probably already have ssh-agent running | 03:28 |
mithro | then just a "ssh-add <path to your key>" | 03:29 |
jotham | ok | 03:29 |
mithro | anyway I'm heading to lunch | 03:29 |
mithro | be back in about 30->1hour | 03:29 |
jotham | ok cheers | 03:31 |
mithro | back | 03:42 |
mithro | hows your ssh-agent adventures going? | 03:42 |
adhoc_ | mithro: pong? | 03:47 |
mithro | adhoc_: yes? | 03:48 |
jotham | libcurl didn't support ssh, saw it was a way old version (i hadn't read RepoViaSSH in the wiki at this point) anyway i am running debian and i tried to upgrade the libcurl, now it's decided it wants to remove the running kernel image before apt will work again, so i am trying to resolve that and figure out why it's magically got out of whack | 03:49 |
mithro | ouch | 03:49 |
jotham | uh huh | 03:49 |
jotham | this box is 4 years old and been abused by 20 or so people, it's probably due a rebuild | 03:51 |
jotham | that and it's a pentium II 350 or so =) | 03:52 |
mithro | he he okay | 04:00 |
mithro | jotham: i could most probably give you an account so you could push to darcs.tp.net | 04:01 |
jotham | ok | 04:01 |
mithro | for that I need you to send me the following details: prefered username, full name, email address, ssh-key | 04:02 |
mithro | I would also prefer a contact phone number incase something goes wrong | 04:04 |
jotham | will email these details now, you want the public key of the linux box i will be pushing from right | 04:05 |
jotham | (i'm a graphics programmer not a sysadmin...) | 04:06 |
jotham | i have /etc/ssh/ssh_host_dsa_key.pub and ssh_host_rsa_key.pub | 04:06 |
mithro | no | 04:08 |
mithro | you need to generate your own key | 04:09 |
jotham | ok | 04:09 |
jotham | will do | 04:09 |
mithro | then send me the .pub | 04:09 |
jotham | *nod* | 04:10 |
jotham | email sent | 04:12 |
*** jotham has quit IRC | 04:16 | |
*** jotham has joined #tp | 04:16 | |
mithro | thanks | 04:17 |
mithro | will setup in about 5 minutes | 04:17 |
jotham | there is a typo in the xml, the mithro side has mng instead of png | 04:25 |
jotham | maybe it isn't a typo, i don't know, but the graphics do not exist | 04:25 |
jotham | mng is the animating PNG eh | 04:25 |
jotham | for now i'll just use the PNG | 04:25 |
mithro | mng is an animated PNG :) | 04:25 |
mithro | just use the png for the moment | 04:25 |
jotham | wonder if pygame supports an MNG | 04:26 |
mithro | it doesn't | 04:26 |
jotham | too bad | 04:27 |
mithro | http://darcs.thousandparsec.net/repos/libmng-py/doc/ :P | 04:27 |
tpb | <http://ln-s.net/INi> (at darcs.thousandparsec.net) | 04:27 |
jotham | cool | 04:27 |
mithro | :P | 04:27 |
jotham | a lot of tongue :\ | 04:28 |
mithro | ahh well, P is easier to type then ) :) | 04:28 |
mithro | jotham: your account should be setup | 04:29 |
mithro | try sshing to darcs.thousandparsec.net | 04:29 |
jotham | hum | 04:31 |
jotham | this is right eh: ssh -i tp-ssh-identify darcs.thousandparsec.net | 04:31 |
jotham | it doesn't like my password | 04:31 |
jotham | but it's the passphrase i used | 04:31 |
jotham | ssh -v doesn't show anything odd | 04:34 |
jotham | today is really a really ungood day :\ | 04:36 |
mithro | Feb 1 04:32:11 verbal sshd[12903]: error: PAM: Authentication failure for jotham from 203-97-254-40.cable.telstraclear.net | 04:37 |
mithro | Feb 1 04:32:13 verbal sshd[12906]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=203-97-254-40.cable.telstraclear.net user=jotham | 04:37 |
mithro | you might need to give it the full path to the key? | 04:37 |
*** nash has joined #tp | 04:38 | |
mithro | ssh -v will give you more information | 04:38 |
jotham | yeah i was, i just abreviated it for the sake of the channel | 04:38 |
jotham | yanqui:12451$ ssh -i ~/.ssh/for-thousandparsec-darcs-identity [email protected] | 04:38 |
jotham | yeah like i said a few minutes ago, ssh -v doesn't show anything odd | 04:38 |
jotham | maybe i didn't create it right, i created it like it is described here: http://darcs.net/DarcsWiki/RepoViaSSH | 04:40 |
tpb | Title: RepoViaSSH - DarcsWiki (at darcs.net) | 04:40 |
jotham | step 6. | 04:40 |
jotham | nevermind, i'll worry about it later, this is just taking up lots of time | 04:42 |
*** zipola has joined #tp | 04:42 | |
jotham | back to battleviewer, i see you have round.number and round.actions, should i make sure the rounds are appended based on 'number' or just take them sequentually in the order they iterate through in the rounds list object | 04:44 |
mithro | s/number/name||id/ | 04:46 |
jotham | <round number="1"> <-- | 04:46 |
mithro | yeah - I'm going to change that | 04:46 |
mithro | it's a name | 04:47 |
jotham | so the order they should occure is the order they show up in the rounds list? rather than me sorting based on that parameter | 04:47 |
mithro | yes | 04:47 |
jotham | ok | 04:47 |
mithro | btw, with regards to your ssh login - it appears you are trying to use password login rather then keyed login | 04:48 |
mithro | if you are getting a "Password:" prompt it's not using your key | 04:49 |
jotham | yeah it says in the verbose output that it's falling back to the key | 04:49 |
jotham | i have to go home from work, i will try again when i get home, does my ssh argument string look wrong? | 04:49 |
mithro | no | 04:51 |
mithro | maybe the mailing mangled the .pub | 04:52 |
mithro | can you resend it as an attachment? | 04:52 |
mithro | actually try again now | 04:53 |
CIA-11 | [email protected] * web/dev/documents/ (7 files): Fixed the component section to be a lot clearer. | 04:54 |
mithro | I need to head off in about 30 minutes | 04:59 |
jotham | sorry was riding home from work | 05:01 |
jotham | it works now | 05:01 |
jotham | question, was i not meant to add a passphrase when i generated the key? | 05:02 |
mithro | you could if you want | 05:02 |
mithro | but you'll need ssh-agent running if you want to not type it a bazillion times on a push | 05:03 |
jotham | roger | 05:03 |
CIA-11 | [email protected] * web/dev/documents/mtsec.ods : Added calculation of maximum number of weapons on each ship. | 05:03 |
mithro | darcs push ssh://[email protected]/var/lib/darcs/repos/battleviewer | 05:03 |
jotham | there are a couple of ways to make it more obvious which way the lasers are going. i'll just go over my thoughts | 05:03 |
mithro | i would recommend having a pass phrase and ssh-agent running - much more secure | 05:03 |
jotham | 1) the lasers could appear to come from multiple points on the hull to one point on the enemy ship (we could define a list of weapon hardpoints for each ship model) | 05:04 |
jotham | 2) the damage animations will show over the ship being hit | 05:04 |
jotham | 3) basic particle effects on the ship being hit | 05:05 |
jotham | 4) laser may animate 'outward' (As if the laser light was traveling far below the speed of light | 05:05 |
jotham | 5) the lasers may be slightly wedge shaped (not very asthetically pleasing) | 05:05 |
jotham | 1, 2, 3 are what i was going to do | 05:05 |
mithro | i'm pondering removing the pixel points in the fire/destination and making it part of the entity description | 05:07 |
jotham | randomising the destination point a bit would look nice as it would appear (if the weapon was many fine fast beams) as if the hull was being straffed | 05:08 |
*** jotham_ has joined #tp | 05:08 | |
*** jotham has quit IRC | 05:08 | |
jotham_ | changed clients, since the kernel upgrade the other machine has been funny | 05:08 |
mithro | jotham_: i'm happy for you to suggest changes to the example1.xml to make life easier :P | 05:09 |
mithro | maybe define "fire points" as part of the entity description and then only have fire from->to rather then the pixel stuff | 05:10 |
jotham_ | yeah i like that idea | 05:10 |
mithro | jotham_: done :P | 05:10 |
*** jotham has joined #tp | 05:15 | |
*** jotham_ has quit IRC | 05:15 | |
mithro | jotham: hows it going? | 05:21 |
jotham | am just getting the parser linked into the battleviewer | 05:22 |
jotham | then i can either work on getting damage to show up, or work on improving the laser effects | 05:22 |
jotham | i would also like that hardpoint stuff added | 05:22 |
mithro | got 5 minutes, I'll do it right now :P | 05:23 |
jotham | it's up to you what you want me to work on next (out of the two things i mentioned) | 05:23 |
mithro | jotham: i would like damage to show up first | 05:25 |
mithro | but ultimately I'm happy for you to work on stuff you want to do | 05:25 |
mithro | progress is progress as far as I'm concerned :P | 05:25 |
mithro | plus it's just something which is a bit of eyecandy so eye candy improvements are definately good | 05:26 |
mithro | o, could you put a delay between rounds too? | 05:26 |
jotham | sure | 05:27 |
jotham | maybe you should make a wish list | 05:27 |
*** zipola has quit IRC | 05:39 | |
CIA-11 | [email protected] * battleviewer/ (21 files): Changed to weaponpoints on the entity. | 05:43 |
*** llnz has joined #tp | 05:45 | |
mithro | jotham: there you go | 05:45 |
jotham | ace | 05:46 |
jotham | damn your y isn't a multiple of 128 :p | 05:46 |
jotham | i'll just do 400+128 for the y height | 05:46 |
mithro | feel free to change the .xml file to make it right :P | 05:47 |
mithro | llnz: can you check that the dtd still matches the file with the weaponpoints changes? | 05:47 |
llnz | shortly, yes | 05:47 |
mithro | llnz: thanks | 05:47 |
mithro | have to run now | 05:48 |
CIA-11 | [email protected] * battleviewer/ (WISHLIST WISHLIST): Added WISHLIST. | 05:48 |
mithro | jotham: there is a WISHLIST for ya :P | 05:48 |
jotham | ok | 05:48 |
mithro | i'm sure there will be more in the near future :P | 05:48 |
mithro | anyway really must fly now | 05:48 |
mithro | be back in about 4-5 hours | 05:48 |
llnz | dtd does not match | 05:50 |
llnz | will fix | 05:50 |
CIA-11 | Lee Begg <[email protected]> * battleviewer/ (6 files): Fixed dtd and xml (again) | 05:54 |
*** tpb has joined #tp | 06:00 | |
*** ChanServ sets mode: +o tpb | 06:00 | |
*** mithro has quit IRC | 06:08 | |
*** llnz2 has joined #tp | 06:31 | |
CIA-11 | Lee Begg <[email protected]> * documents/protocol/ (30 files): | 06:39 |
CIA-11 | Added OrderParameters, fix ups, and empty ObjectParameters: | 06:39 |
CIA-11 | Added readonly attribute to the different types, made enumerations have a style | 06:39 |
CIA-11 | (list, mask or single), added useparameters and descparameter (note plural and lack, | 06:39 |
CIA-11 | only describe one parameter at a time) | 06:39 |
CIA-11 | Removed the Object "subtypes", have a new plan. | 06:39 |
CIA-11 | Uncommented Order frames. | 06:39 |
llnz2 | bbl | 06:41 |
*** llnz has quit IRC | 06:44 | |
*** nash has quit IRC | 07:39 | |
*** llnz2_64 has joined #tp | 09:19 | |
*** llnz2 has quit IRC | 09:35 | |
*** llnz2 has joined #tp | 09:35 | |
*** tuna-fish- has quit IRC | 09:36 | |
*** tuna-fish- has joined #tp | 09:37 | |
*** llnz2 is now known as llnz | 09:38 | |
*** llnz2_64 has quit IRC | 09:39 | |
llnz | back | 09:41 |
llnz | but not for long, not feeling well | 09:41 |
* llnz wanders off | 09:46 | |
llnz | later all | 09:46 |
*** llnz has quit IRC | 09:46 | |
jotham | damn, anyone familiar with darcs around | 10:34 |
CIA-11 | [email protected] * battleviewer/ (7 files): Added round delay | 11:23 |
CIA-11 | [email protected] * battleviewer/ (35 files): battleviewer- parser integration | 11:23 |
jotham | woo it worked | 11:23 |
*** mithro has joined #tp | 11:40 | |
jotham | hey mithro | 12:02 |
mithro | hey jotham | 12:04 |
mithro | just replied to your email | 12:04 |
mithro | jotham: your up a little late? | 12:06 |
jotham | yeah just got up, am feeling sick | 12:07 |
mithro | jotham: thats not good :/ | 12:07 |
jotham | anyway, back to bed - i finally got the bot to give me some love | 12:07 |
jotham | 00:24 CIA-11 | [email protected] * battleviewer/ (7 files): Added round delay | 12:07 |
jotham | =) | 12:08 |
jotham | night | 12:08 |
mithro | yay! | 12:08 |
mithro | have a good night | 12:08 |
JLP | hi all | 12:22 |
mithro | hey JLP | 12:23 |
JLP | mithro: do you by any chance know if lee sent news about the new version to vatious news sites? | 12:27 |
mithro | i doubt it | 12:27 |
mithro | you seem to have become our official news distributor :P | 12:28 |
JLP | hehe, one has to do the promotion, so i'll do it anyway and send the news out | 12:29 |
mithro | JLP: it's been really helpful | 12:29 |
JLP | i know servers are not terribly excited but anyway, there are a lot of changes | 12:29 |
JLP | and yeah every exposure for the project is helpfull | 12:30 |
JLP | i've also been reading about making RPMs for Mandriva and writing Ebuilds for Gentoo | 12:31 |
JLP | so I might give it a try and try to make packages for TP subprojects | 12:31 |
JLP | I also have access to an openSUSE 10.2 box so I will also try this after Mandriva | 12:32 |
JLP | and I've finally got some feedback about my plans about the best way of programming a universe view in qt 4.2 | 12:33 |
JLP | so I'll also start working on this today or tomorrow | 12:33 |
mithro | i've most probably got an openSUSE packager | 12:34 |
JLP | oh great, so i'll have more time to concentrate on mandriva, gentoo an programming | 12:34 |
JLP | what about *ubuntu? | 12:35 |
JLP | debian is probably very much the same? | 12:35 |
mithro | thats coming | 12:35 |
JLP | great to hear, it is very important to make it real simple to install servers and clients | 12:37 |
JLP | btw, i'm also trying to convience my sister if she could draw anything for TP | 12:37 |
JLP | she is a bit into graphic design (heck she started studying it last year) | 12:37 |
mithro | he he that would be cool | 12:38 |
JLP | she just got a wacom graphire 4 tablet yesterday, damn this thing is so much fun, a lot easier to draw than with mouse | 12:39 |
mithro | cool | 12:41 |
JLP | is there anything that would be needed more than anything else when it comes to graphic design? | 12:41 |
mithro | alien pictures are good | 12:41 |
mithro | things which we can put around the website | 12:42 |
JLP | some banners and buttons for TP would also be nice I gues | 12:43 |
mithro | I was thinking more like city scapes | 12:44 |
JLP | ah yes, these would be cool yes | 12:44 |
JLP | something like this maybe : http://www.kde-look.org/content/show.php?content=431 | 12:45 |
tpb | <http://ln-s.net/ION> (at www.kde-look.org) | 12:45 |
JLP | she has this for her background on one of the desktops | 12:45 |
mithro | yes - but less square :P | 13:01 |
*** mithro has quit IRC | 13:27 | |
tpb | aloril has quit worldforge (jasper.worldforge.org blue.worldforge.org) | 15:02 |
*** mithro has joined #tp | 21:05 | |
JLP | hi mithro | 21:29 |
jotham | sup mithro | 21:32 |
*** mithro has quit IRC | 21:33 | |
jotham | is there something like ^a (jumps to the *beginning* of the line in bash) that jumps to the end? | 21:58 |
*** zipola has joined #tp | 22:02 | |
JLP | jotham: Ctrl+E ? | 22:47 |
jotham | yar | 22:48 |
*** nash has joined #tp | 22:52 | |
*** nash has left #tp | 22:52 | |
*** nash has joined #tp | 23:01 | |
*** zipola has quit IRC | 23:43 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!