00:00:00 --- log: started forth/07.02.20 00:02:54 are any of you using or familiar with the Johns Hopkins local code in Ficl (I'm not sure, but I think it originated in another Forth)? I'm slowly going through the code, and wondering if anyone has a patch that would allow for quad cell or n-cell locals. 00:03:20 ASau: oh, thanks for pointing out Gforth. I'll take a look at its fork code and see what else it has 00:03:45 I'd basically like to do something like : word { 4:somelocal } code ; 00:04:53 The reason I need 4-cell locals is for dealing with RGBA colors. I think it might make things much easier, and clearer. Also, if anyone is up for it, how might you handle it otherwise in a Forth without locals? 00:05:30 i use tuples and arrays in factor. 00:05:35 no need for locals 00:06:38 slava: your Factor also has some GC right? so no explicity memory management is required to free the arrays or tuples? 00:07:05 yes 00:07:14 hmm, that would be nice 00:07:17 and gc runs in time proportional to the live object count 00:07:32 so i can have a complex number loop which allocates a new value on every iteration and it runs very quickly 00:07:38 are you still using the copying collector you once told me about? 00:07:41 so really a lot of stuff like locals isn't needed 00:07:46 i'm using a generational collector 00:07:53 imaginator: There's no fork code in Gforth itself. I wrote it. 00:08:21 ASau: ah I see. I thought you might have contributed it to Gforth 00:08:33 I'm basically using this Forth system to script my window system apps 00:08:42 I posted the code to c.l.f. 00:09:28 Keywords: execvp, fork. 00:09:44 Right now I have a bunch of crazy boxes that bounce around the screen when I run S" nx_forth/bouncy_box.f" task-create-from-file in an nx_forth interpreter that connects to my window system. 00:10:02 What I'd like to be able to do is sort of attach to each one 00:10:17 I coded it to use Fork a little earlier, but I don't have the attachment working yet 00:11:17 and nx_forth is basically a custom Ficl shell. I'm sort of trying to do the kind of task that wish does for Tcl/Tk (interactive graphics and so on) 00:11:47 ASau: do you have anything like that, so that you can switch between the forked processes that run unique tasks? 00:12:18 I haven't tried sending signals or IPC. 00:13:22 ok. I'll have to find some way to work this out. 00:14:27 I think there must be a better way to do what I'm doing 00:15:12 right now as it is, each client connects over a socket to a NexX server (very much like X, but only for localhost). 00:16:05 the NexX server has files in /nexx (a RAM-backed file system) and the client and server both mmap these files to access and manipulate the graphics 00:17:15 so say my nx_forth code draws a gradient box that bounces around. I'd like to have the same client to be able to fork a new process and do other things as well. 00:17:53 oh and after the mmaped window contents are changed, a nx_update() request goes over the socket to update the framebuffer (eventually) 00:18:46 so my problem right now is that when I have a socket that is bi-directional, I really need to somehow clone it, or reconnect to the NexX server 00:18:51 any ideas on a better solution? 00:20:01 ideally I picture being able to switch between nx_forth tasks interactively so that I can debug them more easily. 00:21:11 sorry if I'm writing too much. I just don't know who to ask about these more design oriented questions... 00:53:31 well I guess my question made no sense, so here's an image of what I have so far http://www.xmission.com/~georgeps/tmp/nx_forth_task.png 00:53:41 :) 01:05:04 --- quit: JasonWoof ("off to bed") 02:00:51 --- join: arke_ (n=chris@pD9E05A45.dip.t-dialin.net) joined #forth 03:41:56 --- quit: imaginator ("sleep") 03:48:08 --- quit: Baughn (zelazny.freenode.net irc.freenode.net) 03:48:53 --- join: Baughn (n=svein@195134062077.customer.alfanett.no) joined #forth 03:48:55 --- quit: Baughn (zelazny.freenode.net irc.freenode.net) 03:48:59 --- join: Baughn (n=svein@195134062077.customer.alfanett.no) joined #forth 03:50:59 --- quit: Baughn (Connection reset by peer) 03:51:02 --- join: Baughn (n=svein@195134062077.customer.alfanett.no) joined #forth 04:07:24 --- quit: Baughn (zelazny.freenode.net irc.freenode.net) 04:18:42 --- join: Baughn (n=svein@195134062077.customer.alfanett.no) joined #forth 04:42:38 --- join: arke__ (n=chris@pD9E04E84.dip.t-dialin.net) joined #forth 04:47:37 --- quit: Baughn (zelazny.freenode.net irc.freenode.net) 04:49:28 --- join: Baughn (n=svein@195134062077.customer.alfanett.no) joined #forth 04:56:47 --- quit: arke_ (Read error: 110 (Connection timed out)) 05:02:28 --- quit: Baughn (zelazny.freenode.net irc.freenode.net) 05:13:06 --- join: Baughn (n=svein@195134062077.customer.alfanett.no) joined #forth 06:31:09 good morning all 06:42:40 --- part: ASau left #forth 06:53:46 hi 06:54:01 --- quit: Quartus_ ("used jmIrc") 06:54:20 --- join: Quartus_ (n=Quartus_@209.167.5.2) joined #forth 06:54:20 --- mode: ChanServ set +o Quartus_ 06:55:48 hi 06:56:54 hi 06:57:21 how goes it Quartus? 07:13:37 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 07:13:37 --- mode: ChanServ set +o tathi 07:31:20 --- join: edrx (n=Eduardo@201.5.11.178) joined #forth 07:56:36 --- join: ygrek (i=user@gateway/tor/x-ee76491d7a5c5154) joined #forth 08:08:09 --- quit: ygrek (Remote closed the connection) 08:09:00 --- join: ygrek (i=user@gateway/tor/x-b53798453356d2cc) joined #forth 08:20:13 --- join: arke_ (n=chris@pD9E04E84.dip.t-dialin.net) joined #forth 08:21:16 --- quit: tathi ("leaving") 08:24:11 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 08:24:11 --- mode: ChanServ set +o tathi 08:26:21 --- quit: arke__ (Read error: 60 (Operation timed out)) 08:34:05 hi 08:45:31 --- join: Crest (n=crest@p5489634A.dip.t-dialin.net) joined #forth 08:57:58 --- quit: virsys (Read error: 104 (Connection reset by peer)) 09:16:49 --- join: ASau (n=user@62.118.220.74) joined #forth 09:35:24 --- quit: Quartus (Read error: 110 (Connection timed out)) 09:47:02 --- join: mark4 (n=mark4@70.102.202.162) joined #forth 09:47:04 --- nick: mark4 -> I440r 09:48:53 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 09:57:46 --- join: iano (n=iosgood@gw-pdx.extensis.com) joined #forth 10:03:07 --- quit: I440r (Read error: 60 (Operation timed out)) 10:14:48 --- quit: edrx (Read error: 113 (No route to host)) 10:20:24 --- join: virsys (n=virsys@or-71-54-194-74.dhcp.embarqhsd.net) joined #forth 10:31:25 --- join: neceve (n=Clau@unaffiliated/neceve) joined #forth 10:51:42 --- join: edrx (n=Eduardo@200.217.105.9) joined #forth 11:00:19 --- join: JasonWoof (n=jason@c-71-192-30-169.hsd1.ma.comcast.net) joined #forth 11:00:19 --- mode: ChanServ set +o JasonWoof 11:11:27 --- join: Snoopy1711 (i=snoopy_1@dslb-084-058-159-179.pools.arcor-ip.net) joined #forth 11:13:05 --- quit: edrx (Read error: 145 (Connection timed out)) 11:19:42 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 11:19:53 --- nick: Snoopy1711 -> Snoopy42 11:53:55 hey grub. Not bad. You? 11:54:03 --- quit: Quartus_ ("used jmIrc") 11:54:22 --- join: Quartus_ (n=Quartus_@209.167.5.2) joined #forth 11:54:22 --- mode: ChanServ set +o Quartus_ 12:10:32 --- quit: ygrek () 12:45:54 --- join: snoopy_1611 (i=snoopy_1@dslb-084-058-178-189.pools.arcor-ip.net) joined #forth 12:47:38 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 12:47:39 --- nick: snoopy_1611 -> Snoopy42 12:57:12 --- nick: arke_ -> arke 12:57:13 --- mode: ChanServ set +o arke 13:10:50 hi grub, doing ok. You? 13:14:04 hey Quartus_ - not too bad - recovering from a bout of the flu (a gift from my 5 year old - yay!) 13:15:22 the wife and i had it pretty rough over the weekend 13:33:53 --- quit: Quartus_ (Read error: 104 (Connection reset by peer)) 14:05:01 --- quit: erider ("I don't sleep because sleep is the cousin of death!") 14:13:35 --- join: erider (n=erider@unaffiliated/erider) joined #forth 14:19:47 --- quit: arke (Read error: 60 (Operation timed out)) 15:05:31 --- join: vfxIRC (n=mhx@f233149.upc-f.chello.nl) joined #forth 15:05:39 --- quit: vfxIRC (Read error: 104 (Connection reset by peer)) 15:24:58 --- join: vfxIRC (n=mhx@f233149.upc-f.chello.nl) joined #forth 15:29:37 --- quit: vfxIRC (Read error: 131 (Connection reset by peer)) 15:40:14 --- join: edrx (n=Eduardo@201.5.13.221) joined #forth 15:47:52 --- join: vfxIRC (n=mhx@f233149.upc-f.chello.nl) joined #forth 15:53:09 --- quit: vfxIRC (Read error: 54 (Connection reset by peer)) 16:08:15 --- join: Quartus (n=trailer@CPE0001023f6e4f-CM013349902843.cpe.net.cable.rogers.com) joined #forth 16:08:15 --- mode: ChanServ set +o Quartus 16:23:25 --- join: jeberle (n=jeberle@adsl-75-37-13-127.dsl.pltn13.sbcglobal.net) joined #forth 16:30:41 --- quit: grub_booter (Read error: 104 (Connection reset by peer)) 17:21:44 --- quit: jeberle (Read error: 110 (Connection timed out)) 17:29:50 --- quit: tathi ("leaving") 17:48:09 --- quit: iano () 17:58:11 --- quit: slava (Read error: 104 (Connection reset by peer)) 17:58:48 --- join: slava (n=slava@CPE0080ad77a020-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 17:58:48 --- mode: ChanServ set +o slava 18:41:52 --- join: imaginator (n=George@georgeps.dsl.xmission.com) joined #forth 18:50:57 --- join: TreyB_ (n=trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 18:59:27 --- quit: TreyB (Read error: 110 (Connection timed out)) 19:04:21 --- join: Raystm2 (n=NanRay@ppp-70-243-217-79.dsl.rcsntx.swbell.net) joined #forth 19:09:56 --- quit: Raystm2 (Read error: 104 (Connection reset by peer)) 19:10:59 --- join: Raystm2 (n=NanRay@adsl-68-93-43-241.dsl.rcsntx.swbell.net) joined #forth 19:18:13 --- quit: Raystm2- (Connection timed out) 19:19:45 --- quit: Raystm2 (Read error: 145 (Connection timed out)) 19:20:38 --- quit: slava () 19:21:27 --- join: Raystm2 (n=NanRay@adsl-68-95-254-83.dsl.rcsntx.swbell.net) joined #forth 19:27:59 --- join: Raystm2- (n=NanRay@adsl-68-93-123-123.dsl.rcsntx.swbell.net) joined #forth 19:29:03 --- quit: Raystm2 (Read error: 131 (Connection reset by peer)) 19:33:36 --- join: jeberle (n=jeberle@adsl-75-37-13-127.dsl.pltn13.sbcglobal.net) joined #forth 19:34:07 --- join: Raystm2 (n=NanRay@adsl-69-149-34-195.dsl.rcsntx.swbell.net) joined #forth 19:40:20 hey 19:41:55 --- join: Raystm2_ (n=NanRay@adsl-68-95-253-140.dsl.rcsntx.swbell.net) joined #forth 19:45:50 --- quit: Raystm2- (Read error: 110 (Connection timed out)) 19:48:08 --- join: Raystm2- (n=NanRay@adsl-69-149-61-145.dsl.rcsntx.swbell.net) joined #forth 19:49:19 --- quit: Raystm2_ (Read error: 104 (Connection reset by peer)) 19:50:53 --- quit: Raystm2 (Read error: 104 (Connection reset by peer)) 19:54:25 --- join: Raystm2 (n=NanRay@adsl-69-149-54-98.dsl.rcsntx.swbell.net) joined #forth 20:12:05 --- quit: Raystm2- (Read error: 110 (Connection timed out)) 21:16:31 --- quit: jeberle ("leaving") 21:38:12 --- join: slava (n=slava@CPE0080ad77a020-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 21:38:12 --- mode: ChanServ set +o slava 21:41:41 --- quit: gnomon (Read error: 60 (Operation timed out)) 22:10:40 --- quit: Crest ("Leaving") 22:23:53 --- quit: virl ("Verlassend") 23:59:59 --- log: ended forth/07.02.20