*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** llnz has joined #tp | 03:51 | |
*** nash has joined #tp | 04:08 | |
*** mithro has joined #tp | 04:43 | |
mithro | ~seen dmpayton | 04:44 |
---|---|---|
tpb | mithro: dmpayton was last seen in #tp 2 weeks, 0 days, 3 hours, 45 minutes, and 31 seconds ago: <dmpayton> In the mean time... | 04:44 |
*** tuna-fish has joined #tp | 05:46 | |
* llnz wanders off | 10:03 | |
llnz | later all | 10:03 |
*** llnz has quit IRC | 10:04 | |
*** drdevice has quit IRC | 11:40 | |
*** Laibsch has joined #tp | 13:07 | |
*** Laibsch has left #tp | 13:07 | |
*** nash has quit IRC | 17:29 | |
*** nash has joined #tp | 19:08 | |
*** DystopicFro has joined #tp | 20:44 | |
nash | DystopicFro: So how is going | 20:55 |
nash | (ignore my AIM comment ;-) | 20:55 |
DystopicFro | ah >.< | 20:56 |
DystopicFro | see, I saw that and then checked here | 20:56 |
DystopicFro | and didn't see anything >.< | 20:56 |
DystopicFro | so just replied on AIM | 20:57 |
nash | heh | 20:57 |
nash | My timing was ogg | 20:57 |
nash | s/ogg/off/ | 20:57 |
nash | I noticed you on im first, then check irc | 20:57 |
nash | Anyway, so I've got things running, | 20:57 |
DystopicFro | yea...mithro pointed out that a CRLF line ending ruins the shebang...I never knew that | 20:58 |
nash | Little thing BTW... when you commit patches from others it's good practice to include their names in the commit | 20:58 |
nash | In fact really good practice is to include 'thanks to X' even if they just suggested things - you'll get a good rep from it, and that really encourages feedback and patches from people | 20:59 |
DystopicFro | hm...I thought I specified mithro as being the author for the commit of his patch? or did I do that incorrectly? | 20:59 |
DystopicFro | used the --author option on cg-commit | 20:59 |
nash | One you didn't | 20:59 |
DystopicFro | ah | 20:59 |
* nash double checks | 20:59 | |
DystopicFro | ahhh, yeah, didn't give thanks to mithro on the CRLF removal...is there a way to edit commit messages post commit? | 21:00 |
nash | There is, but it's bad practice after you've pushed | 21:01 |
nash | Don't worry about it for this, mithro will live ;-) | 21:01 |
* DystopicFro nods | 21:01 | |
nash | And I had the patch to send as well :-) | 21:01 |
DystopicFro | but I'll be more vigilant in the future | 21:01 |
nash | I was just checkign it wasn't a zsh problem, but a generic one | 21:01 |
nash | That's cool | 21:01 |
nash | Also it's a bit of a limitation of the commit script in use, that it doesn't show it properly. | 21:02 |
nash | I personally always try and mention it in the commit message, so even if the author line gets lost or anything, it's there (and people pay more attention to commit messages). | 21:03 |
DystopicFro | ohhh yes, I see that now, in the email it's shown as me being the author | 21:03 |
DystopicFro | kk, will do in the future | 21:03 |
nash | You pushed, so that's correct as it is. | 21:03 |
nash | urgh... my net connection is as slow as a dog at home | 21:04 |
DystopicFro | >.< | 21:04 |
DystopicFro | I just rearranged the furniture in the house, so I'm currently on wireless with a propensity to drop out at odd times, meh | 21:04 |
nash | heh | 21:05 |
DystopicFro | so, is what I've got so far following along well with what you brought me on for? (aside from missing all the cool stuff like code generation and a TPCL editing feature) | 21:05 |
nash | Looking nice so far.. code generation will be the magic | 21:06 |
nash | How confident are you about a working mtsec are you? | 21:06 |
nash | Add another are you in the question too... just make it more mangled ;-) | 21:07 |
DystopicFro | For the July 9th midterm deadline...hm...I'm certain that code generation will be able to make code that can be easily used as part of a ruleset on a server | 21:07 |
DystopicFro | as to having a working MTSec, I'm not so sure about that | 21:08 |
nash | I need to get a client/AI which can make use of hte code you send however ;-) | 21:08 |
DystopicFro | hehheh | 21:09 |
DystopicFro | I'm planning on getting all of the functionality to make the RDE functional by the end of this week so that I can tear into the servers in earnest for code generation | 21:10 |
nash | Sweet, I'll play again today/tonight and give you some feedback on how it works for me | 21:10 |
nash | It's a reasonably chunky piece of code, and aside from pythons ugly list generators... is fairly readable. | 21:11 |
DystopicFro | awww...I wanted to do at least one list comprehension...the whole neat stuff thing and all that :P | 21:12 |
DystopicFro | thanks, though o.O | 21:12 |
nash | I find it ironic that it reads exactly like perl - which python people always say sucks because of the hard to read syntax... | 21:12 |
DystopicFro | hm... | 21:13 |
nash | BTW: Did you reply to mithros email at all? | 21:13 |
DystopicFro | unless I've missed one I've replied to 'em all, he's given me a lot of good suggestions and direction | 21:14 |
nash | Cool - didn't see it then. Just wanted to check. | 21:14 |
DystopicFro | it's a bit of a blessing and a curse that python doesn't do regex's with the deadly ease of perl...>.< that's where so much of the fun kicks in | 21:15 |
nash | I think you code is probably fine - communication and community are the main two things I'm going to prod you with I think ;-) | 21:15 |
DystopicFro | aye, I'm just a little hesitant about using XRC files for my GUI, but I'll definately be taking a look at it also when I dive into the server code | 21:15 |
DystopicFro | well, like I said, I've got plenty of clutter on my desktop, but I'll be lurking in IRC much more regularly now | 21:16 |
nash | I should show you my old dice-bot email service. The entire system was two regexes. One parsed the email found all [ ] commands in the email, loaded a data file, substituted out the game rules for rolling the dice for the roll (to hit, damage, hit locations, and special effects) and dumped it back in the email | 21:16 |
nash | The regex was an 87 long substitution which ended in something like /eex | 21:17 |
nash | So it executed the output from the substitution twice... | 21:17 |
DystopicFro | hahahah, nice! | 21:17 |
* nash wonders where a copy is | 21:18 | |
nash | Here is rolling an rollmaster style open ended d100: | 21:21 |
nash | $line =~ s/\[OE([HL])?]/ | 21:21 |
nash | my ($total,$let); | 21:21 |
nash | if (defined $1){ | 21:21 |
nash | $let = $1; | 21:21 |
nash | } else { | 21:21 |
nash | $let = ""; | 21:21 |
nash | } | 21:21 |
nash | if ($let eq 'H'){ | 21:21 |
nash | $total = &rollhigh(); | 21:21 |
nash | } elsif ($let eq 'L'){ | 21:21 |
nash | $total = &rolllow(); | 21:21 |
nash | } else { | 21:21 |
nash | $total = &rollboth(); | 21:21 |
nash | } | 21:22 |
nash | "[OE$let = $total]"; | 21:22 |
nash | /ge; | 21:22 |
nash | And a generic die roll: | 21:22 |
nash | $line =~ s/([\[{])\s*(\d+)?\s*[dD]\s*(\d+)\s*(?:\s*([-+])\s*(\d+)\s*)?([ | 21:22 |
nash | \]}])/ | 21:22 |
nash | That's the match: it ends in /gxe after about 100 lines of code | 21:22 |
nash | Anyway... enough unidays evilness | 21:23 |
DystopicFro | heh, who says that isn't readable...just have to keep track of your parentheses, eh? :P | 21:23 |
nash | Have a look at galaxie and how it parses the command line somtime... | 21:25 |
nash | BTW: If I have patches for you - how would you like them? | 21:28 |
DystopicFro | hrm, email is good? I was able to apply the one mithro sent me without too much bungling | 21:29 |
nash | Cool - otherwise I can set up a tree you can pull from | 21:30 |
DystopicFro | that would work just as well if it's easier for you | 21:31 |
nash | cg-push is about as easy as it gets | 21:32 |
nash | :-) | 21:32 |
DystopicFro | hah | 21:32 |
DystopicFro | I could also set up my home server for you to push to it | 21:32 |
nash | Nah, easier for me to just give you a URL to pull from - else I can push to the tpserver on a #nash branch for you or something | 21:33 |
DystopicFro | kk, whatever you end up doing, just pass over the URL and I'll pull or patch as necessary | 21:34 |
nash | okay | 21:34 |
*** tuna-fish has quit IRC | 22:34 | |
CIA-3 | frodough tpruledev * r1a20c3bc99a8 /src/ (6 files in 2 dirs): | 22:41 |
CIA-3 | Add Object Functionality | 22:41 |
CIA-3 | Objects can now be created and empty files initialized for them. They also | 22:41 |
CIA-3 | appear in the object list but insertion in the proper place is still an | 22:41 |
CIA-3 | issue. This also raises the question of whether objects should be saved | 22:41 |
CIA-3 | on an object by object basis, or if the entire project should be saved | 22:41 |
CIA-3 | at one go, hence files should not be created until the project is saved. | 22:41 |
*** JLP has quit IRC | 23:02 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!