*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
CIA-3 | mithro battleviewer * r504c13f2df03 / (battleparser.py run_battleviewer.py): Added excutable bits. | 00:07 |
---|---|---|
CIA-3 | mithro battleviewer * r86a9d299aacf /tests/ (6 files): | 00:07 |
CIA-3 | Updated xml. | 00:07 |
CIA-3 | They should conform to the DTD now.. | 00:07 |
CIA-3 | mithro tpserver-py * r4dcfb29fdcc2 /tp/server/rules/minisec/actions/ (FleetCombat.py tests/run.sh): | 00:08 |
CIA-3 | Output should conform to DTD now. | 00:08 |
CIA-3 | A script to run all the tests is also included. | 00:08 |
mithro | jotham: give that a whirl sometime :P | 00:40 |
jotham | will do | 00:40 |
mithro | can anyone remeber what dmpayton's timezone is? | 02:04 |
nash | nfi | 02:07 |
mithro | sometimes I wonder about the gnome guys | 02:21 |
mithro | how the fsck they not support setting a timezone for each clock on a panel | 02:21 |
mithro | bblr | 02:24 |
*** mithro has quit IRC | 02:46 | |
*** nash has quit IRC | 03:19 | |
*** mithro has joined #tp | 03:41 | |
mithro | wow, my sister is stoned | 03:44 |
*** llnz has joined #tp | 03:59 | |
mithro | hey llnz | 04:08 |
llnz | hi mithro | 04:08 |
mithro | sup? | 04:09 |
mithro | objects are big for history support | 04:09 |
mithro | it would be nice if you could see a history of orders you have issued too | 04:09 |
jotham | stoner sister =o | 04:18 |
*** pschulz01 has quit IRC | 04:25 | |
jotham | hum, did you make those changes mithro? | 04:38 |
jotham | i mean i see them up there | 04:39 |
jotham | but... | 04:39 |
jotham | git is telling me my local is up to date | 04:39 |
*** mithro has quit IRC | 05:24 | |
*** _JLP_ is now known as JLP | 05:45 | |
*** mithro has joined #tp | 06:49 | |
* llnz wanders off | 08:10 | |
llnz | later all | 08:11 |
*** llnz has quit IRC | 08:11 | |
mithro | ~seen jotham | 09:08 |
tpb | mithro: jotham was last seen in #tp 4 hours, 28 minutes, and 52 seconds ago: <jotham> git is telling me my local is up to date | 09:08 |
mithro | jotham: ping? | 09:08 |
mithro | I assume you have probably gone to bed | 09:08 |
jotham | hi | 09:13 |
jotham | it's friday | 09:13 |
jotham | there is something wrong with my git, well i'm using cogito | 09:14 |
mithro | okay | 09:24 |
mithro | you use cg-update? | 09:24 |
mithro | sorry about the delay there is something up with my internet | 09:29 |
jotham | bandcamp:23851$ pwd | 09:36 |
jotham | /home/jotham/battleviewer | 09:36 |
jotham | bandcamp:26577$ ls | 09:36 |
jotham | actions.py BATTLEFORMAT battleview.pyc entities README tests weapons.pyc | 09:36 |
jotham | actions.pyc battleparser-new.py constants.py example1.xml requirements.py TODO WISHLIST | 09:36 |
jotham | battlecontroller.py battleparser.py constants.pyc fonts run_battleviewer.py utility.py | 09:36 |
jotham | battlecontroller.pyc battleparser.pyc doc minisec states.py utility.pyc | 09:36 |
jotham | battle.dtd battleview.py element_test.py out.xml states.pyc weapons.py | 09:37 |
jotham | bandcamp:12465$ cg-fetch | 09:37 |
jotham | Fetching head... | 09:37 |
jotham | Fetching objects... | 09:37 |
jotham | Fetching tags... | 09:37 |
jotham | Up to date. | 09:37 |
jotham | bandcamp:01503$ | 09:37 |
jotham | sorry for the spam | 09:37 |
jotham | but shouldn't your updates have come through? | 09:37 |
jotham | i am reluctant to do anything until i know what's up | 09:37 |
mithro | jotham: okay | 09:40 |
mithro | what does cg-status show? | 09:40 |
jotham | http://rafb.net/p/Sd6etj60.html | 09:41 |
tpb | Title: Nopaste - No description (at rafb.net) | 09:41 |
mithro | cg-branch-ls too | 09:44 |
jotham | ahh that's what i wanted to know | 09:44 |
jotham | origin http://mithro.dyndns.org/repos/git/battleviewer.git | 09:44 |
tpb | <http://ln-s.net/YkY> (at mithro.dyndns.org) | 09:44 |
mithro | okay - well that would be why :P | 09:45 |
jotham | why? | 09:45 |
mithro | cg-branch-chg origin git+ssh://[email protected]/git/battleviewer.git | 09:45 |
jotham | hum | 09:46 |
mithro | mithro.dyndns.org is my home server and not our primary git server :) | 09:46 |
jotham | i didn't know it had changed, ok | 09:46 |
mithro | jotham: ahh, I didn't even know my old repository was still up :P | 09:47 |
jotham | heh, i was only gone for 2 weeks :\ | 09:48 |
jotham | oh well sweet as | 09:48 |
jotham | gonna take a look at that validation stuff now | 09:49 |
mithro | cool! | 09:55 |
mithro | jotham: btw what is your timezone? | 10:00 |
jotham | Sat May 26 02:03:06 NZST 2007 | 10:00 |
jotham | GMT + 12 | 10:00 |
mithro | what do you use for tzset? | 10:02 |
jotham | i don't follow? i have my bios clock set to local time usually (non dst), but these days i tend to just use ntpdate to keep everything in time across my computers | 10:06 |
mithro | jotham: i mean when you set your timezone what do you click on? | 10:08 |
jotham | during a linux install? uh New Zealand isn't often an option, so i tend to use GMT+12 like i said | 10:08 |
jotham | right now we are in NZST like my date said before | 10:08 |
mithro | hrm.... | 10:09 |
jotham | ? | 10:09 |
mithro | jotham: my timezones have gone all wacky | 10:10 |
mithro | it is really 2am? | 10:14 |
mithro | ~seen niphree | 10:18 |
tpb | mithro: niphree was last seen in #tp 4 days, 1 hour, 7 minutes, and 15 seconds ago: <niphree> mithro: brb - another project meeting :]. I'll be back in few hours | 10:18 |
mithro | Epyon: ping? | 10:18 |
JLP | hi all | 10:45 |
jotham | Sat May 26 03:06:59 NZST 2007 | 11:04 |
jotham | that's the time here right now mithro | 11:04 |
jotham | looks like DTD parsing is going to require yet another module dependancy | 11:25 |
jotham | specifically PyXML | 11:33 |
jotham | shame there isn't some validation script i can just throw in the project | 11:34 |
jotham | this being the best reference i found http://www.xml.com/pub/a/2003/09/10/py.html | 11:36 |
tpb | Title: XML.com: The State of the Python-XML Art, 2003 (at www.xml.com) | 11:36 |
mithro | jotham: damn | 11:54 |
mithro | jotham: I guess it could be optional? | 11:54 |
jotham | uh | 11:54 |
jotham | i don't think having consistency in our files should be optional | 11:55 |
jotham | but it's your project | 11:55 |
jotham | anyway, gonna get some sleep | 11:55 |
jotham | i guess the reality is we only need it while we develop stuff | 11:55 |
jotham | since a finished product should be consistent | 11:56 |
jotham | but when is something finished ;-) | 11:56 |
jotham | ..when the artist leaves it alone | 11:56 |
jotham | anyway, bed time | 11:56 |
mithro | jotham: well we can always check with command line tools too | 11:58 |
jotham | but that assumes we will think to check wehn something goes horribly wrong | 11:59 |
jotham | it just doesn't sound like good programming practice | 11:59 |
mithro | jotham: another dependency is probably just as bad | 12:00 |
jotham | ahh well, what i'm gonna do is have it validate if the module is installed | 12:01 |
*** Demitar has quit IRC | 12:01 | |
mithro | jotham: i think thats a good idea | 12:01 |
jotham | but you should make the server do the same | 12:01 |
mithro | when you figure out how I will do so :P | 12:01 |
jotham | because this xml inconsistency thing is really really silly | 12:01 |
jotham | it should never have happend really, especially not with a .DTD file floating around | 12:02 |
mithro | this of course assumes our DTD is correct :P | 12:02 |
jotham | at least if it isn't, validation will ensure changes to it actually take effect in the source code | 12:02 |
mithro | jotham: true | 12:09 |
mithro | jotham: xml made the "mistake" of being plain text - which means nobody really does validation | 12:10 |
jotham | ? | 12:10 |
jotham | ok | 12:10 |
jotham | we validate at work, but maybe we are a utopian oasis | 12:10 |
mithro | jotham: well, its just to easy to get out the old regex :P | 12:11 |
mithro | i'm suprised at the lack of validating xml stuff in python however | 12:11 |
jotham | yeah i am too | 12:11 |
jotham | i would have thought it'd be part of some base library | 12:11 |
mithro | but, I guess python people are used to "duck typing" | 12:12 |
mithro | IE - If it quacks like a duck, then it is a duck | 12:12 |
mithro | what do you use at work? | 12:13 |
mithro | java? | 12:13 |
jotham | language? | 12:13 |
jotham | regularly i would use python, ecmascript (javascript, actionscript), C++, and lingo | 12:13 |
jotham | since we appear to be transforming into a web firm more ecmascript these days | 12:14 |
jotham | which is one of the reasons i'm leaving my job in november | 12:14 |
mithro | so how do you do validation at work? | 12:14 |
jotham | actionscript has a library | 12:15 |
jotham | that's the only place i use xml regularly | 12:15 |
jotham | just to validate that what the CMS is throwing us is the agreed upon format | 12:15 |
jotham | saves having to sanity check my parser too | 12:15 |
jotham | which makes the code cleaner | 12:15 |
mithro | jotham: I don't understand why the parser just didn't die | 12:16 |
jotham | it did here | 12:16 |
mithro | it didn't here | 12:17 |
* jotham shrugs | 12:17 | |
jotham | here it threw the errors you would expect | 12:17 |
jotham | i.e. | 12:18 |
jotham | return getattr(Parser, tag)(**d) | 12:18 |
jotham | TypeError: __init__() got an unexpected keyword argument 'name' | 12:18 |
mithro | maybe wrap that in a "try/except TypeError" - please check the xml is valid? | 12:27 |
jotham | i'd rather we just feed it sane data | 12:28 |
jotham | i'll just make the parser optional | 12:28 |
jotham | but yeah, i guess there needs to be some option for an end user to be told gracefully what went wrong | 12:29 |
jotham | i'll look at how to catch the error nicely in your parser | 12:31 |
mithro | jotham: probably a good idea, because the parser could even be given things which aren't even meant to be battle data | 12:32 |
mithro | ie accidently calling it on a binary or something | 12:32 |
mithro | anyway I think we should probably both be in bed :P | 12:34 |
*** niphree has joined #tp | 12:42 | |
niphree | hello | 12:43 |
JLP | niphree: hi, how's it going | 12:55 |
JLP | niphree: btw mithro was looking for you earlier | 12:56 |
niphree | JLP: hi :] | 12:57 |
niphree | JLP: I realy couldn't be sooner :/ | 12:57 |
niphree | JLP: Now I' | 12:57 |
niphree | I'm instaling everything from the begining | 12:57 |
JLP | niphree: no problem, that's how it is if you live on the other side of our planet | 12:57 |
niphree | JLP: jeah - I sometimes forget that we are on diferent continent :] | 13:00 |
*** niphree has quit IRC | 13:08 | |
*** niphree has joined #tp | 13:15 | |
*** dmpayton has joined #tp | 13:17 | |
*** Epyon has quit IRC | 14:09 | |
*** Epyon has joined #tp | 14:09 | |
*** dmpayton has quit IRC | 15:01 | |
*** dmpayton has joined #tp | 15:39 | |
*** niphree has quit IRC | 15:41 | |
*** xdotx has joined #tp | 16:15 | |
*** Demitar has joined #tp | 18:20 | |
*** llnz has joined #tp | 19:59 | |
* llnz ponders | 20:11 | |
xdotx | hey llnz | 20:34 |
* dmpayton heads to dinner | 20:35 | |
llnz | hi xdotx | 20:37 |
llnz | xdotx: hos is it going? | 20:58 |
llnz | s/hos/how/ | 20:58 |
xdotx | llnz: not bad, was just reading over some of the rfts manual | 20:59 |
xdotx | i'm pretty excited- i've got a 4 day weekend (with all my homework done) to really sit down and devote some good work time | 21:00 |
xdotx | well, with some breaks here and there. i've got a friend coming to visit that i haven't seen in years | 21:03 |
llnz | cool | 21:07 |
*** xdotx has quit IRC | 21:25 | |
mithro | dmpayton: ping? | 23:20 |
mithro | hey llnz | 23:20 |
llnz | hi mithro | 23:45 |
mithro | llnz: sup? | 23:55 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!