00:00:00 --- log: started retro/13.01.11 02:59:18 --- quit: harrison (Ping timeout: 255 seconds) 06:21:58 --- quit: yiyus (Ping timeout: 240 seconds) 08:35:37 --- join: harrison (~quassel@li89-226.members.linode.com) joined #retro 10:04:18 --- join: impomatic (~digital_w@46.208.50.63) joined #retro 11:22:20 --- join: ncv (~quassel@89.35.216.197) joined #retro 11:22:20 --- quit: ncv (Changing host) 11:22:20 --- join: ncv (~quassel@unaffiliated/neceve) joined #retro 12:24:40 --- quit: ncv (Remote host closed the connection) 12:43:06 hi all 12:45:15 hello :) 12:45:41 hi tangentstorm 12:46:17 so I completed the rewrite of the ngaro but it is not load the image 12:58:09 why not? :) 12:59:00 checking on the now, finishing the coding last night. now we are going to see what is wrong 12:59:22 do you have a repo online somewhere? 12:59:34 < i get the impression you're not a big fan of version control > 13:00:24 I am a fan but I was just doing this for fun and to learn some tcl 13:01:24 once I get the partial ngaro running then I will start to try to make it a complete vm and add it to the repo 13:01:37 cool :) 13:02:29 i was just asking because i'm willing to take a look if you want a second pair of eyes :) 13:02:51 I can pastebin the code 13:03:17 ok 13:03:49 get me a minute I am doing the first pass in the debugger 14:00:59 tangentstorm: ok are you still around 14:16:40 yeah, hey :) 14:20:00 I gave it a once over and the code looks like it should run the image fine. My last coding of the vm loading the image fine but didn't do much else. Now the code is a lot cleaning and its not working at all (sad face) 14:21:48 tangentstorm: well here it is: http://pastebin.com/ABqffatS 14:22:42 that's pretty 14:24:14 tangentstorm: in the debugger it looks like the ram is getting the image in fine 14:24:23 very clean looking syntax i mean 14:24:32 I am not getting any errors 14:24:52 but it will not get to the listener 14:25:02 like the old code could 14:26:09 at least the old code gave me errors :-( 14:26:32 tangentstorm: do you want the old code too? 14:27:06 nah 14:27:57 ok but that one gets to the listener 14:29:19 but you don't know what's different? 14:30:04 The difference in the code is that I made the stack and return stack dynamic, so they are not initialized, space is allocated as needs and clean up when the action is done 14:30:04 so: we can either try and analyze the two side by side and figure out what the difference is 14:30:33 needed... 14:30:40 ... or we can get it under test and see what the tests have to say 14:34:16 tangentstorm: here is the old code too: http://pastebin.com/TcesbsbE 14:34:33 also, if need be, we could use the protocol to have retro.c / retro.js dump every n ticks and compare, to try and isolate where two implementations diverge 14:36:43 erider: what is the difference between stack and $stack ? 14:37:48 stack is variable and $stack is the value 14:38:39 $ deferences 14:39:29 oops deref 14:42:23 tangentstorm: I am game lead and I will follow 14:43:02 wild guess though: your stack pointer is off by 1 14:43:25 tangentstorm: I fulling believe the tcl can be a complete implementation of ngaro vm 14:43:26 in -5 { lset ports 5 [llength $stack] } 14:43:51 vs -5 { lset ports 5 $sp } 14:43:57 on line 76/78 14:44:06 of course it can :) 14:45:07 my guess is those differ by 1 and now retro gets confused when it does the introspection 14:45:44 i don't know where or why it does introspection... i tried stepping through in my debugger and it's a LOT of code. 14:46:00 ( and my debugger doesn't let you step over things ) 14:46:06 but is the the length of the stack or the stack pointer 14:46:41 but the stack is dynamic in the new version there is no need for a stack pointer 14:46:51 this is just a guess. 14:47:57 hmm 14:48:12 i mean i think retro actually uses the query device in the bootup process, and it's getting a value that makes it go haywire 14:49:45 I wonder... 14:51:13 Do it have to a static stack 14:52:14 i don't see how it would know :) 14:54:00 ok. 14:54:29 i'm installing tcl on my server so I can try it out, and we can share a screen if you want 14:55:59 how do you code the protocol 15:03:12 do you still have the link i showed you the other day? 15:03:26 well it doesn't matter because it'll be in the repo 15:07:56 which repo are you guys pulling from? github 15:14:04 the length of the stack == sp 15:14:55 the sp always points at the top of the stack 15:18:26 bzr / launchpad is the main repo, but i have a working copy already set up on my account from when we were doing the js one 15:18:52 do you want to share a screen? i just got tcl and all the config stuff set up 15:19:14 okay, so not a good theory then. we'll figure it out :) 15:20:35 "screen" the program? 15:21:08 tmux 15:21:13 but same concept, yeah 15:21:44 I have used tmux /me is looking at the manpage 15:22:09 No manual entry for tmux 15:22:48 anybody else want to join? 15:25:02 everyone is idle 15:25:17 :) 15:25:47 did you get the message with the password? you can just ssh in and type tmux attach 15:25:59 if you want. i won't be sad or anything :D 15:26:56 oh tiny screen 15:27:31 i always know when people connect because the screen changes size :) 15:38:15 okie doke 15:40:24 lol 15:42:35 is tclsh not the right way to start tcl? 15:42:51 that is rigth 15:43:18 what version are you using 15:43:19 but you don't get this error 15:43:37 8.4 i guess 15:44:52 I am using 8.5 15:45:39 your image is bigger than mine 15:47:07 92108 is the size but that is better 15:54:31 do I take the screen when I type at the prompt 15:54:46 yeah. 15:55:02 there's a way to make it not do that but i don't remember how it works 15:55:19 i was going to make it so we could switch back and forth. one sec 15:55:50 ah ok some if there are two prompts you can't type at one and someone at the other 15:55:58 actually you can use ^R d to detach and start a new session i think 15:56:52 sorry... i didn't have my configs installed on this account so it's weird to use :) 15:57:09 we can switch between the panes with ^r o 16:00:06 okay. so we need to implement --dump and --image 16:00:17 ok 16:00:21 (the actual parameter checking) 16:00:43 and then we need to port this dump() command 16:01:56 any idea how to do the argument stuff? 16:02:13 yeah 16:02:28 feel free to take over :) 16:03:23 sorry. i have nested tmux sessions :) 16:03:41 there we go. all yours. 16:04:00 i will look up how to write those ascii control codes 16:04:24 ok 16:06:50 [format %c 97] makes character 97 16:09:22 ergh.. i'm being called away. feel free to do whatever you want on the machine 16:09:44 tangentstorm: are we doing old or new 16:10:04 it's my box. you can also see the stuff at http://lpmc.ne.sabren.com/ i think 16:10:26 yeah http://lpmc.ne.sabren.com/retro-language/ is the directory we're in 16:10:49 take your pick. we can apply the changes to both. 16:10:59 i gotta go. sorry :/ back in a bit 16:11:35 detached so you could have your whole screen :) 16:11:56 --- nick: tangentstorm -> tangentaway 16:13:31 what do we need to have? 16:13:40 dump and what else 16:15:10 I am going to code it here the dump it into the file, my vi is setup the way I like it 16:34:03 --- quit: impomatic (Quit: impomatic) 16:47:21 tangentaway: what is --dump doing 17:11:31 --- nick: tangentaway -> tangentstorm 17:11:43 back. sorry about that 17:12:40 --dump simply sets a flag that calls that dump function after the vm exits 17:13:53 I have a scope issue 17:14:22 you found the problem? 17:14:26 I am going to try it a different way 17:18:59 I am coding a solution now 17:19:51 ok 17:20:05 sorry for disappearing. 17:20:20 should i just shut this down then? 17:22:28 well i'll leave it up in case you want it. i think i'm going to go to sleep. i've been up since like 1am 17:26:37 ok I think I can get the scope to work 17:32:00 --- join: kumul (~kumul@173.215.194.228) joined #retro 17:36:36 --- quit: kumul (Ping timeout: 248 seconds) 17:45:48 --- join: kumul (~kumul@173.215.194.228) joined #retro 17:47:21 I had to go simple until I can learn the scope rules of the language 17:47:45 --- quit: kumul (Read error: Connection reset by peer) 22:11:58 --- quit: beretta_ (Ping timeout: 256 seconds) 23:59:59 --- log: ended retro/13.01.11