00:00:00 --- log: started retro/13.01.12 00:13:00 --- join: ncv (~quassel@89.35.216.197) joined #retro 00:13:00 --- quit: ncv (Changing host) 00:13:00 --- join: ncv (~quassel@unaffiliated/neceve) joined #retro 02:11:13 --- join: impomatic (~digital_w@46.208.50.63) joined #retro 03:38:16 --- quit: tangentstorm (Ping timeout: 264 seconds) 03:42:35 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #retro 04:10:33 morning 04:13:07 Hi erider :-) 04:13:45 hi impomatic 04:13:49 how have you been 04:14:43 Fine thanks. And you? 04:17:23 pretty good 04:19:22 Hmmm... no 2013 #retro IRC logs yet... 04:21:47 weird 04:51:55 dun dun dun 04:52:09 happy new year, impomatic 04:52:17 hi tangentstorm 04:52:30 hey erider. sorry again for disappearing last night. did you figure anything out? 04:53:28 its dirty but yeah I got something, I am trying to make something a little cleaner now 04:54:19 I keep getting caught on tcl's weird scope for commands 04:56:07 that 'upvar' thing is wacky :) 04:56:47 Hi Tangentstorm :-) 04:56:57 yeah I have to look a the manpages for the stuff I don't know 05:35:32 --- quit: tangentstorm (Ping timeout: 248 seconds) 05:40:13 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #retro 06:53:21 Impomatic: 2013 logs will be visible in a couple of days 06:53:40 Thanks crc :-) 07:02:16 hi crc 07:07:08 Hi erider 07:10:17 crc did you get the code off pastebin 07:12:06 I did a couple of nights ago 07:18:00 did you get the newest version that doesn't do anything but looks nice :-( 08:10:16 tangentstorm: ok I think I have the protocol ready 08:12:16 :) 08:13:21 do you want to test it on the server? 08:17:24 lets do it 08:21:10 tangentstorm: not too sure about the dump but I guess the py script is a wrap and is going to catch stdout 08:28:29 tangentstorm: are you going to run this thing 08:31:22 hey! sorry. on my way now. 08:31:30 all the wrestling and I only needed upvar #0 08:32:16 :) 08:34:12 hmm. it's not going to like that. 08:34:13 that is the state of memory 08:34:45 not sure how to implement the dumpstate then 08:34:57 08:35:24 i'm making the assumption that the image size is constant based on the size of the image you load 08:35:24 in the py script it looks like stdout of the variables 08:35:33 yes 08:35:50 but i suppose that isn't a requirement in ngaro. 08:35:55 well yes in the old version 08:36:42 unless crc says otherwise, i'd say the tests can safely ignore that 08:37:21 so... i'll just hack the test runner to truncate that array to the expected size 08:39:05 the py script doesn't grab stdout from the vm 08:44:19 ? 08:44:28 what do you mean? 08:45:08 so dumpstate command dumps the list of stack, address and memory to the stdout 08:45:24 yeah 08:45:30 memory list has 1000000 elements 08:45:35 right 08:46:02 that's why it's going slow, but i thought the change i just made would make it ignore the changes 08:46:06 the size difference i mean 08:46:23 hmm 08:46:26 but 08:46:29 so is the ngarotest take the stdout from dumpstate is testing it 08:46:34 yes 08:46:53 the problem is that it expects the values to be at the front 08:46:59 and testing it... 08:47:19 yeah, see the error code there? 08:47:33 si 08:47:35 yes 08:47:38 the assertionerror about in the middle of the screen 08:47:57 it's expecting a 2 cell vm [1,2] and getting a big long one. 08:48:15 i didn't truncate it apparently, so that's a mistake i just made 08:48:49 but: even though your array is padded with zeros, the first two cells should still be 1,2 08:48:53 and they're not 08:49:12 so it's not dumping correctly, or it's not writing to ram correctly 08:49:35 ok 08:51:42 i mis-spoke. this one isn't testing the vm array but the stacks. 08:52:04 i don't think i can fix that from the tests 08:52:08 does it need to be an string or a list 08:52:23 a string 08:52:30 you have the right format. it's parsing your output 08:53:04 i can't trim your output for the stacks like i did with the ram though 08:53:39 because there's no way to tell extra zeros on the top of the stack from the padding 08:54:36 tangentstorm: I can try to make the protocol to the new version where the stack is dynamic 08:55:02 erider: okay. looks like you just need to cut it off at $sp 08:57:58 http://tmml.sourceforge.net/doc/tcl/lrange.html maybe? 08:59:40 what do I need to trim 09:04:31 you need to pass at least --image 09:08:39 yeah, the test runner's doing it 09:09:03 the IOW one passes, (in/out/write) 09:09:06 wait 09:09:12 i mean (in/out/wait) 09:09:31 but that's weird, so it might be a bad test :) 09:10:04 it looks like the stack is coming up as all zeros 09:10:59 hmm. 09:11:01 that is weird 09:11:17 so somehow that range thing is giving us [0] every time 09:11:31 is the stack actually a list? 09:11:47 yest 09:11:48 i don't understand the list vs string thing in tcl 09:11:50 yes 09:11:51 ok 09:15:58 you can use "end" as index 09:16:39 instead of sp? 09:16:40 let in python foo[-1] == [lindex $foo end] 09:17:18 that should work in retro.tcl but it's not going to work in retro_old, is it? 09:17:37 i don't know how to do subtraction though ;D 09:18:36 interesting language :) 09:20:15 yeah 09:22:18 we could speed this up considerably by truncating the ram dump on the tcl side 09:25:54 retro_old.tcl is showing Retro but not the ok 09:26:26 i suspect it actually is a problem with the stack handling in the vm 09:27:03 was it showing the "ok" before? 09:28:36 yes 09:28:39 i don't see anything in the diff that would have broken it there 09:28:46 the old was not the nex 09:28:48 new 09:29:04 could be a tcl8.4 vs 8.5 issue? 09:30:12 when i ran stash, it reverted to the code you initially uploaded last night 09:30:43 you may have to try this on your machine or else i need to compile and install the newer tcl 09:31:38 I have no clue why the new version doesn't run 09:32:00 well, the old one doesn't run either on this machine :) 09:32:37 true but at least I get some errors to look for 09:32:59 i mean the "ok" prompt not coming up 09:34:33 i have no ideas here. 09:35:03 do you want me to push the changes to github so you can download them locally? 09:35:44 yes 09:35:49 ok 09:36:10 thanks 09:38:23 tangentstorm: I will have crc take a look as well, the more the merrier 09:41:44 The code I would like to test is the new version 09:41:48 i don't know why i'm doing this all carefully... the learnprogramming git repo is going to get wiped out next time i sync 09:42:01 i'll just push all of it 09:46:24 argh.. pain in the butt to upload to that repo 09:46:43 i need to make a fake user or something for this account 09:53:07 tangentstorm: I am add the protocol to the new version 09:53:57 ok 09:54:23 i'm going to go create a fake lpmc-pair user at github so i can do push this 09:54:51 did you push it 09:55:12 no i'm having all kinds of permission problems 09:55:27 oh wait hang on. that's why it's under the web 09:55:31 the web is world readable 09:55:31 oh 09:55:36 the web dir. one sec. 10:00:41 grr... it was giving me an error but it actually did go through to github already https://github.com/LearnProgramming/retro-language/commits/tcl 10:00:46 something is off 10:03:16 ? 10:03:22 fatal: https://github.com/LearnProgramming/retro-language/commits/tcl/info/refs not found: did you run git update-serfatal: https://github.com/LearnProgramming/retro-language/commits/tcl/info/refs not found: did you run git update-server-info on the server?ver-info on the server? 10:03:51 maybe it didn't go through 10:04:49 something is off with the ngaro 10:05:03 I am going to try to write it 10:05:03 wait.. the link i gave was a web page, not a git link. try : git://github.com/LearnProgramming/retro-language.git 10:05:14 rewrite it 10:05:39 git clone that, then git checkout tcl 10:06:34 afk 10:07:07 ok that is good 10:07:53 me too (afk) 10:59:00 --- quit: ncv (Remote host closed the connection) 11:01:22 --- join: ncv (~quassel@89.35.216.197) joined #retro 11:01:22 --- quit: ncv (Changing host) 11:01:22 --- join: ncv (~quassel@unaffiliated/neceve) joined #retro 13:57:20 --- quit: ncv (Remote host closed the connection) 14:46:54 --- quit: obobo (Ping timeout: 256 seconds) 16:33:49 --- join: arescorpio (~arescorpi@190.55.121.30) joined #retro 18:24:16 --- join: beretta (~yaaic@cpe-107-8-120-84.columbus.res.rr.com) joined #retro 18:47:30 good night all 18:47:43 --- quit: erider (Quit: ChatZilla 0.9.89 [Firefox 18.0/20130107224926]) 19:54:58 --- quit: beretta (Ping timeout: 276 seconds) 20:07:46 --- quit: arescorpio (Quit: Leaving.) 20:17:26 --- quit: impomatic (Quit: impomatic) 23:59:59 --- log: ended retro/13.01.12