00:00:00 --- log: started forth/19.05.20 00:37:57 --- join: pierpal (~pierpal@host103-244-dynamic.55-79-r.retail.telecomitalia.it) joined #forth 00:45:12 --- join: xek_ (~xek@user-5-173-137-10.play-internet.pl) joined #forth 00:53:19 --- quit: pierpal (Quit: Poof) 00:53:39 --- join: pierpal (~pierpal@host103-244-dynamic.55-79-r.retail.telecomitalia.it) joined #forth 02:03:56 --- quit: ashirase (Ping timeout: 255 seconds) 02:11:57 good morgning 02:12:01 late for work 02:12:06 :^) 02:12:08 ))) 02:33:17 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 02:34:32 re 02:59:08 --- quit: gravicappa (Ping timeout: 246 seconds) 03:00:20 --- join: gravicappa (~gravicapp@h109-187-203-93.dyn.bashtel.ru) joined #forth 03:10:33 --- quit: siraben (Ping timeout: 250 seconds) 03:10:52 --- join: siraben (sirabenmat@gateway/shell/matrix.org/x-akbgmesitxgmdwbm) joined #forth 04:31:37 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 04:35:59 --- quit: ashirase (Ping timeout: 244 seconds) 04:36:58 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 04:48:43 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 05:22:43 --- join: yrm (~yrm@KD182251060101.au-net.ne.jp) joined #forth 05:24:05 Hi all. 05:25:46 I made a tiny PC, tiny OS and tiny FORTH-engine for kids to learn programming. 05:26:14 https://yrm006.wordpress.com/?p=9171 05:29:39 I have exhibited this in the MakerFaire BayArea this week, this was very populer in there. 05:29:54 Please check this if you like, thank you. 05:30:12 this looks great! 05:34:30 thanks! 05:34:42 sounds awesome 05:35:04 Oh you're the guy from the Forth facebook page 05:35:10 cool 05:36:13 yes, i’ve also joined facebook group. ;) 05:36:44 I like FORTH language. 05:37:37 do you ever use kana for Forth words 05:38:55 This FORTH-engine can use kana. 05:39:04 do you like kana? 05:41:31 I learned all my hiragana and katakana preparing for JLPT 1 05:41:44 but school got in the way of my language learning. 05:43:47 oh you nice 05:47:54 What's PCN? 06:26:56 PCN is Programming Club Network. 06:27:27 Circle activity for kids programming. 06:50:58 * pointfree got a forthy IchigoJam computer on Friday https://twitter.com/yrm__/status/1129534208416681984 06:51:52 that is awesome 06:58:37 yrm's booth was near the svfig booth (and right next to the mountain view reverse engineering booth, also a great meetup group) 07:39:00 --- quit: tabemann (Ping timeout: 246 seconds) 08:04:27 --- quit: cheater (Ping timeout: 268 seconds) 09:24:56 https://www.nimblemachines.com/symmetric-division-considered-harmful/ 09:27:15 lol I just posted that to lobsters 09:47:05 --- quit: jedb (Ping timeout: 245 seconds) 09:56:20 --- join: jedb (~jedb@2a0a:b640:1:16::1e) joined #forth 09:56:50 --- quit: pierpal (Quit: Poof) 09:57:07 --- join: pierpal (~pierpal@host103-244-dynamic.55-79-r.retail.telecomitalia.it) joined #forth 10:06:19 what is symmetric division? 10:12:00 https://www.microsoft.com/en-us/research/publication/division-and-modulus-for-computer-scientists/ 10:12:39 i used it as a reference to implement floored division in Forth... fm/mod 10:16:36 I am mostly familiar with /% from eForth. It gives back the reminder and quotent. 10:17:21 Zarutian: it goes into it where you divide negative numbers 10:18:08 if all your numbers are positive there's no problem, everything is the same 10:18:36 if there's negative numbers invlolved you get different answers 10:19:52 --- join: rdrop-exit (~markwilli@112.201.166.63) joined #forth 10:20:24 if the dividend is negative and divisor is positive then the quotent is also negative, right? 10:20:28 0 preamble Arithmetic - Division - Signed 2|3 10:20:29 1 10:20:29 2 Truncated Floored Euclidean 10:20:29 3 dividend divisor quot rem quot rem quot rem 10:20:29 4 -------- ------- ---- --- ---- --- ---- --- 10:20:31 5 7 3 2 1 2 1 2 1 (a) 10:20:33 6 -7 3 -2 -1 -3 2 -3 2 (b) 10:20:36 7 7 -3 -2 1 -3 -2 -2 1 (c) 10:20:38 8 -7 -3 2 -1 2 -1 3 2 (d) 10:20:41 9 ---- --- ---- --- ---- --- 10:20:43 a (e) (f) (g) 10:20:46 Zarutian: yeah, same as mul - any one neg the whole is. 10:20:46 b 10:21:18 2 Footnotes: 10:21:18 3 (a) All three are equivalent if the dividend and the divisor are 10:21:18 4 both positive. 10:21:18 5 (b) Floored and Euclidean are equivalent for positive divisors. 10:21:18 6 (c) Truncated and Euclidean are equivalent when the dividend is 10:21:20 7 positive but the divisor is negative. 10:21:20 if both dividend and divsor are negative then the quotent is positive, yes? 10:21:23 8 (d) Truncated and Floored are equivalent when both the dividend 10:21:25 9 and the divisor are negative. 10:21:28 a (e) Truncated remainder has the same sign as the dividend. 10:21:30 b (f) Floored remainder has the same sign as the divisor. 10:21:33 c (g) Euclidean remainder is always non-negative. 10:21:41 rdrop-exit: hey, how about codepad or something less channel-flooding-without-formatting 10:22:13 Isn't it formatted? 10:22:33 I have no idea - it garbled the window neatly. 10:22:42 there is code in the pdf on converting symmetric to floored or euclidean (symmetric or truncated is how most cpu's do signed division) 10:22:44 rdrop-exit: it worked for me 10:23:00 If you widen your window perhaps 10:23:13 rdrop-exit: or, perhaps a link to a pastebin ;-) 10:23:51 I've never tried pastebin, I figured at least here it makes it to the channel logs 10:24:06 so be it. 10:24:53 usually I do not use any division or modulus instructions in my code, no idea on what the cycle timing is for them nor if those instructions are interruptable or not (they usually arent) 10:25:44 <# # #> divides by base 10:26:07 but it's not signed... i think it's um/mod 10:27:06 yebb, https://www.nimblemachines.com/symmetric-division-considered-harmful/ talks about IDIV instruction from legacy x86 10:31:32 bedtime 10:31:45 sleep tight 10:32:13 --- quit: dave0 (Quit: dave's not here) 10:34:56 Look ok in the log: http://tunes.org/~nef/logs/forth/19.05.20 10:36:30 Gotta hit the sack, goodnight guys 10:36:38 --- quit: rdrop-exit (Quit: Lost terminal) 10:36:47 Given the argument that symmetric division yields “intuitive” answers <- there is no such thing as 'intuitive' anything only famliar 10:48:11 --- join: dys (~dys@tmo-110-75.customers.d1-online.com) joined #forth 10:55:06 s/famliar/familiar/ 11:06:24 --- quit: xek_ (Remote host closed the connection) 11:06:41 --- join: xek_ (~xek@user-5-173-137-10.play-internet.pl) joined #forth 11:21:41 --- quit: yrm (Read error: Connection reset by peer) 11:24:57 --- quit: xek_ (Remote host closed the connection) 11:31:38 --- join: yrm (~yrm@KD182251060101.au-net.ne.jp) joined #forth 11:46:48 --- join: john_metcalf (~digital_w@host86-139-60-58.range86-139.btcentralplus.com) joined #forth 11:56:50 --- join: cheater (~cheater@unaffiliated/cheater) joined #forth 12:00:21 --- quit: gravicappa (Ping timeout: 258 seconds) 12:02:53 --- join: mtsd (~mtsd@94-137-100-130.customers.ownit.se) joined #forth 12:55:51 --- quit: yrm (Quit: yrm) 12:57:34 --- quit: mtsd (Remote host closed the connection) 14:19:35 --- quit: dys (Ping timeout: 245 seconds) 14:29:10 --- join: yrm (~yrm@KD182251060101.au-net.ne.jp) joined #forth 14:29:17 --- quit: yrm (Client Quit) 15:31:37 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 15:34:06 hi 16:30:25 "Considered harmful" considered harmful. 16:31:54 "Settled Science" 16:37:30 --- quit: john_cephalopoda (Ping timeout: 258 seconds) 16:51:01 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 17:24:28 --- join: tabemann (~tabemann@rrcs-162-155-170-75.central.biz.rr.com) joined #forth 18:13:20 --- quit: tabemann (Ping timeout: 258 seconds) 18:14:03 --- quit: dave0 (Quit: dave's not here) 18:19:01 --- join: jedb_ (~jedb@147.10.221.98) joined #forth 18:19:29 --- quit: jedb (Ping timeout: 259 seconds) 18:21:50 --- join: jedb__ (~jedb@103.57.72.31) joined #forth 18:24:24 --- quit: jedb_ (Ping timeout: 258 seconds) 18:29:34 --- join: jedb (~jedb@147.10.221.98) joined #forth 18:30:25 --- quit: jedb__ (Ping timeout: 245 seconds) 18:31:20 --- join: jedb_ (~jedb@185.128.24.51) joined #forth 18:34:25 --- quit: jedb (Ping timeout: 258 seconds) 18:45:41 Anyone wrote a recursive descent parser in Forth? 19:24:17 --- join: tabemann (~tabemann@2600:1700:7990:24e0:b944:a349:56b9:12fb) joined #forth 19:31:20 --- quit: dddddd (Remote host closed the connection) 19:32:02 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 19:33:05 re 20:33:48 --- join: gravicappa (~gravicapp@h109-187-203-93.dyn.bashtel.ru) joined #forth 20:44:35 --- quit: proteusguy (Ping timeout: 245 seconds) 21:34:39 What are your views on using values vs. variables? 21:34:52 i.e. 10 VALUE FOO vs VARIABLE FOO 21:40:27 depends on if Value is a prim or secondary, I suspect 22:43:44 --- join: rdrop-exit (~markwilli@112.201.166.63) joined #forth 22:46:54 --- join: dys (~dys@tmo-103-172.customers.d1-online.com) joined #forth 23:31:34 --- join: proteusguy (~proteusgu@cm-58-10-208-71.revip7.asianet.co.th) joined #forth 23:31:34 --- mode: ChanServ set +v proteusguy 23:32:17 --- quit: dys (Ping timeout: 255 seconds) 23:45:17 siraben: IMHO obviously there should be a word "at" that results in the address as "to" results in data. 23:59:59 --- log: ended forth/19.05.20