00:00:00 --- log: started forth/16.12.18 00:06:27 --- quit: rgrinberg (Ping timeout: 250 seconds) 00:32:19 --- quit: workp (Ping timeout: 240 seconds) 00:34:31 --- join: workp (~workp@host-2-96-68-6.as13285.net) joined #forth 01:21:49 --- quit: X-Scale (Quit: HydraIRC -> http://www.hydrairc.com <- Like it? Visit #hydrairc on EFNet) 02:04:24 --- quit: mnemnion (Remote host closed the connection) 02:07:47 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:9851:12fd:eab7:b642) joined #forth 02:12:34 --- quit: mnemnion (Ping timeout: 258 seconds) 02:22:15 --- join: true-grue (~true-grue@176.14.222.10) joined #forth 02:33:08 --- join: mat4 (~Claude@ip5b4105fd.dynamic.kabel-deutschland.de) joined #forth 02:38:37 --- quit: workp (Ping timeout: 246 seconds) 02:54:06 --- join: ASau (~user@netbsd/developers/asau) joined #forth 03:09:15 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:9851:12fd:eab7:b642) joined #forth 03:13:53 --- quit: mnemnion (Ping timeout: 258 seconds) 03:26:25 --- quit: segher (Ping timeout: 268 seconds) 03:26:33 --- join: segher (segher@bombadil.infradead.org) joined #forth 03:46:58 --- join: neceve (~ncv@unaffiliated/neceve) joined #forth 04:44:19 --- quit: John[Lisbeth] (Ping timeout: 241 seconds) 05:11:11 --- join: proteusguy (~proteus-g@14.207.2.161) joined #forth 05:11:12 --- mode: ChanServ set +v proteusguy 06:08:35 --- quit: dys (Ping timeout: 265 seconds) 06:27:19 --- quit: mat4 (Quit: Verlassend) 06:41:16 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:4dc3:dc63:1162:b5c9) joined #forth 06:45:52 --- quit: mnemnion (Ping timeout: 258 seconds) 06:55:18 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 07:49:58 --- join: workp (~workp@host-2-96-68-6.as13285.net) joined #forth 07:49:58 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:4dc3:dc63:1162:b5c9) joined #forth 07:55:01 --- quit: mnemnion (Ping timeout: 245 seconds) 08:25:03 --- join: rgrinberg (~rgrinberg@24-246-56-85.cable.teksavvy.com) joined #forth 08:36:24 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:4412:6306:9f1c:6ab2) joined #forth 08:40:52 --- quit: mnemnion (Ping timeout: 258 seconds) 08:49:20 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:4412:6306:9f1c:6ab2) joined #forth 08:55:26 --- quit: mnemnion (Ping timeout: 258 seconds) 09:28:52 --- quit: Keshl (Quit: Konversation terminated!) 09:37:18 --- join: nal (~nal@adsl-64-237-233-155.prtc.net) joined #forth 09:37:57 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:4412:6306:9f1c:6ab2) joined #forth 09:42:19 --- quit: mnemnion (Ping timeout: 240 seconds) 09:48:10 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:4412:6306:9f1c:6ab2) joined #forth 10:02:49 --- join: John[Lisbeth] (~user@2601:601:8f01:a6a0:3623:87ff:fe1d:c02d) joined #forth 10:25:54 --- join: X-Scale (~ARM@188.38.43.5.rev.vodafone.pt) joined #forth 10:27:25 --- quit: Zarutian (Ping timeout: 264 seconds) 10:52:32 --- quit: ricky_ricardo (Quit: No Ping reply in 180 seconds.) 10:54:00 --- join: dys (~dys@ip-109-44-3-163.web.vodafone.de) joined #forth 10:57:16 --- join: ricky_ricardo (~rickyrica@2601:240:4203:ecb0:3415:a91:a3b2:7e85) joined #forth 11:05:38 --- join: Kumool (~nal@adsl-64-237-234-195.prtc.net) joined #forth 11:08:51 --- quit: nal (Ping timeout: 258 seconds) 11:37:42 --- join: kumul (~nal@adsl-64-237-233-155.prtc.net) joined #forth 11:40:49 --- quit: Kumool (Ping timeout: 250 seconds) 12:19:11 --- quit: John[Lisbeth] (Ping timeout: 245 seconds) 12:19:27 --- quit: X-Scale (Ping timeout: 256 seconds) 12:19:50 --- quit: ASau (Ping timeout: 268 seconds) 12:23:13 --- quit: neceve (Quit: Konversation terminated!) 12:40:32 --- join: X-Scale (~ARM@188.38.43.5.rev.vodafone.pt) joined #forth 13:06:11 --- quit: kumul (Ping timeout: 250 seconds) 13:27:02 --- join: Mat4 (~claude4@ip5b411249.dynamic.kabel-deutschland.de) joined #forth 13:33:51 --- quit: Mat4 (Quit: Leaving) 14:37:15 --- join: kumul (~nal@adsl-64-237-233-155.prtc.net) joined #forth 14:45:07 --- quit: nighty (Quit: Disappears in a puff of smoke) 14:46:42 --- join: nal (~nal@adsl-64-237-235-17.prtc.net) joined #forth 14:50:06 --- quit: kumul (Ping timeout: 265 seconds) 15:06:12 --- quit: nal (Ping timeout: 260 seconds) 15:13:27 --- join: nal (~nal@adsl-64-237-233-155.prtc.net) joined #forth 15:15:28 --- quit: true-grue (Read error: Connection reset by peer) 15:16:36 --- join: Keshl (~Purple@24.115.181.94.res-cmts.gld.ptd.net) joined #forth 15:23:47 --- quit: mnemnion (Remote host closed the connection) 15:41:17 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:31f6:cd49:dd07:79f9) joined #forth 15:45:37 --- quit: mnemnion (Ping timeout: 258 seconds) 16:06:54 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 16:06:58 --- quit: Zarutian (Read error: Connection reset by peer) 16:07:44 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 16:15:05 --- join: karswell` (~user@151.226.90.146.dyn.plus.net) joined #forth 16:16:51 --- quit: karswell` (Remote host closed the connection) 16:18:25 --- join: karswell` (~user@151.226.90.146.dyn.plus.net) joined #forth 16:42:51 --- quit: workp (Ping timeout: 250 seconds) 16:45:16 --- join: John[Lisbeth] (~user@173-160-167-234-Washington.hfc.comcastbusiness.net) joined #forth 16:51:20 --- join: nighty (~nighty@d246113.ppp.asahi-net.or.jp) joined #forth 17:06:17 --- quit: ricky_ricardo (Quit: No Ping reply in 180 seconds.) 17:11:04 --- join: ricky_ricardo (~rickyrica@2601:240:4203:ecb0:3415:a91:a3b2:7e85) joined #forth 17:17:14 --- quit: ricky_ricardo (Ping timeout: 258 seconds) 17:18:47 --- join: ricky_ricardo (~rickyrica@2601:240:4203:ecb0:904f:5bd8:ad:aa0a) joined #forth 17:19:06 --- nick: karswell` -> karswell 17:46:33 Does GFORTH have an sprintf() analog? 17:46:34 --- quit: ricky_ricardo (Quit: No Ping reply in 210 seconds.) 17:47:59 --- join: ricky_ricardo (~rickyrica@2601:240:4203:ecb0:3067:c99f:80be:ad60) joined #forth 17:53:36 ricky_ricardo: look up "pictured numeric output" 17:55:05 https://web.archive.org/web/20130520210235/http://www.jimbrooks.org/web/forth/forthPicturedNumericOutput.php 17:55:46 https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Formatted-numeric-output.html 17:57:46 --- quit: pointfree (Remote host closed the connection) 17:58:00 --- join: pointfree (~pointfree@c-174-62-81-78.hsd1.ca.comcast.net) joined #forth 18:07:43 --- join: neceve (~ncv@79.114.83.228) joined #forth 18:07:43 --- quit: neceve (Changing host) 18:07:43 --- join: neceve (~ncv@unaffiliated/neceve) joined #forth 18:11:08 --- quit: Zarutian (Quit: Zarutian) 18:43:08 --- quit: John[Lisbeth] (Remote host closed the connection) 18:43:25 --- join: John[Lisbeth] (~user@173-160-167-234-Washington.hfc.comcastbusiness.net) joined #forth 18:53:35 --- quit: John[Lisbeth] (Read error: Connection reset by peer) 18:54:10 --- join: John[Lisbeth] (~user@173-160-167-234-Washington.hfc.comcastbusiness.net) joined #forth 19:03:01 --- join: mnemnion (~mnemnion@71.198.73.193) joined #forth 19:06:02 --- quit: nal (Quit: WeeChat 1.4) 19:08:40 --- quit: dys (Ping timeout: 240 seconds) 19:10:09 --- quit: beretta (Ping timeout: 240 seconds) 19:11:28 --- join: beretta (~beretta@cpe-184-58-116-76.columbus.res.rr.com) joined #forth 19:26:40 --- quit: carc (Ping timeout: 240 seconds) 19:26:48 --- join: carc_ (~carc@2001:41d0:52:cff::f85) joined #forth 19:26:48 --- quit: carc_ (Changing host) 19:26:48 --- join: carc_ (~carc@unaffiliated/carc) joined #forth 19:27:22 --- nick: carc_ -> carc 19:33:21 --- quit: ricky_ricardo (Ping timeout: 245 seconds) 20:19:45 --- quit: John[Lisbeth] (Read error: Connection reset by peer) 20:20:57 --- join: John[Lisbeth] (~user@173-160-167-234-Washington.hfc.comcastbusiness.net) joined #forth 20:41:42 --- quit: proteusguy (Quit: Leaving) 20:54:00 --- quit: John[Lisbeth] (Remote host closed the connection) 20:54:17 --- join: John[Lisbeth] (~user@173-160-167-234-Washington.hfc.comcastbusiness.net) joined #forth 20:57:01 --- join: ricky_ricardo (~rickyrica@2601:240:4203:ecb0:3067:c99f:80be:ad60) joined #forth 20:59:26 --- quit: John[Lisbeth] (Read error: Connection reset by peer) 20:59:55 --- join: John[Lisbeth] (~user@173-160-167-234-Washington.hfc.comcastbusiness.net) joined #forth 21:07:56 --- quit: John[Lisbeth] (Read error: Connection reset by peer) 21:15:14 I tried to write a properly-factored version of a simple RNG (based on http://www.excamera.com/sphinx/article-xorshift.html), which I have here: http://ix.io/1Nip . However, when I try to run rand after setting the seed, I get an 'invalid memory address' error. I'm a bit confused why this is happening - could someone please enlighten me? 21:15:30 (as an aside - ix.io not having highlighting for Forth is sadface) 21:16:01 --- quit: neceve (Quit: Konversation terminated!) 21:30:13 --- quit: ricky_ricardo (Ping timeout: 258 seconds) 22:12:16 --- quit: rgrinberg (Ping timeout: 260 seconds) 22:36:31 koz_: at first glance, these are definitely wrong: 22:36:32 : left 'shift ['] LSHIFT ! ; 22:36:32 : right 'shift ['] RSHIFT ! ; 22:36:47 not sure what you are even trying to do there 22:38:24 ['] compiles an execution token e.g. : foo ['] 2* ; 5 foo execute . 10 ok 22:40:08 so the ! there will be using the xt for lshift and rshift as pointers to store a value in, which is not what you want, but i'm not sure what you do want 22:53:41 koisoke: Yeah, I just realized. Thanks - I'll fix it. 23:15:39 --- join: dys (~dys@ip-109-44-3-163.web.vodafone.de) joined #forth 23:29:46 koisoke: I basically got my parameters the wrong way around. 23:29:51 Still getting used to postfix. 23:35:41 koz_: the rest of your code is unclear to me in intent as well 23:36:16 koisoke: It's an xorshift RNG. 23:36:40 I was merely trying to factor repeated calls like 'DUP n LSHIFT XOR'. 23:36:50 (which I have to do three times with minor variations) 23:41:16 fair enough, but it doesn't do good things for readability 23:45:42 koisoke: I guess so. 23:59:59 --- log: ended forth/16.12.18