00:00:00 --- log: started forth/16.01.02 00:29:34 --- quit: proteusguy (Ping timeout: 250 seconds) 00:30:36 --- quit: proteusguy_satri (Ping timeout: 276 seconds) 00:42:08 --- join: proteusguy_satri (~proteusgu@ppp-110-168-229-159.revip5.asianet.co.th) joined #forth 00:43:06 --- join: proteusguy (~proteusgu@ppp-110-168-229-159.revip5.asianet.co.th) joined #forth 00:43:06 --- mode: ChanServ set +v proteusguy 00:57:23 --- quit: DocPlatypus (Quit: Leaving) 01:01:47 --- join: DocPlatypus (~skquinn@c-73-166-108-48.hsd1.tx.comcast.net) joined #forth 01:08:58 --- quit: bb010g (Quit: Connection closed for inactivity) 01:58:35 --- quit: DocPlatypus (Quit: Leaving) 02:31:09 --- join: karswell` (~user@183.142.114.87.dyn.plus.net) joined #forth 02:33:32 --- quit: karswell (Ping timeout: 272 seconds) 03:03:33 --- quit: resttime (Quit: Leaving) 03:27:35 --- quit: bogdanm (Remote host closed the connection) 03:32:50 --- join: mnemnion (~mnemnion@2601:400:8080:4588:5c58:f18:7330:ab3f) joined #forth 03:37:32 --- quit: mnemnion (Ping timeout: 260 seconds) 03:55:32 --- join: bedah (~bedah@host-091-097-173-151.ewe-ip-backbone.de) joined #forth 04:11:42 --- quit: joneshf-laptop (Read error: Connection reset by peer) 04:12:05 --- join: joneshf-laptop (~joneshf@c-73-220-86-28.hsd1.ca.comcast.net) joined #forth 05:02:01 --- join: Skuzzzy (~Skuzzzy@host-45-118.aztevds.tempe.az.us.clients.pavlovmedia.com) joined #forth 05:02:11 good lord you people still exist 05:14:19 --- quit: proteusguy_satri (Ping timeout: 265 seconds) 05:15:02 --- quit: proteusguy (Ping timeout: 272 seconds) 05:22:58 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 05:30:24 --- join: proteusguy_satri (~proteusgu@ppp-110-168-229-41.revip5.asianet.co.th) joined #forth 05:31:51 --- join: proteusguy (~proteusgu@ppp-110-168-229-41.revip5.asianet.co.th) joined #forth 05:31:51 --- mode: ChanServ set +v proteusguy 06:13:04 --- join: true-grue (~true-grue@176.14.216.104) joined #forth 06:34:24 --- join: mnemnion (~mnemnion@2601:400:8080:4588:5c58:f18:7330:ab3f) joined #forth 06:38:57 --- quit: mnemnion (Ping timeout: 260 seconds) 06:42:19 --- quit: Zarutian (Quit: Zarutian) 07:24:05 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 07:30:31 --- join: Keshl (~Purple@24.115.181.94.res-cmts.gld.ptd.net) joined #forth 07:32:11 --- join: JDat (JDat@89.248.91.5) joined #forth 08:29:39 --- join: nebz (272b126b@gateway/web/freenode/ip.39.43.18.107) joined #forth 08:30:20 Hi! 08:30:40 I'm going through the 'Starting Forth' book on forth.com 08:31:39 Under 'Postfix Practice Problems (Quizzie 2-a)' there's '(0.5 ab) / 100'. We have to convert to infix notation. 08:31:59 It says 'a b * 100 / 2/' or 'a b * 200 /' in the answers 08:32:22 I'm not good at maths. How does 0.5 become 2? 08:35:12 nebz: you mean 2 in 2/' ? 08:35:24 in 2/ rather 08:36:14 lets 'dry' run it 08:37:03 lets say a is set to 6 and b is set to 7 08:37:52 so, the first word 'a' causes 6 to be fetched from it and put on the datastack 08:38:28 next word 'b' causes 7 to be fetched from it and put on the datastack 08:39:25 now the word '*' consumes the two topmost items multiplies them together and puts the result back on the stack 08:40:04 * Zarutian figgures what nebz is really asking about. 08:40:40 nebz: so multiplying a number with 0.5 is equaliant to dividing aforesaid number with two, no? 08:49:34 Zarutian: Oh, that's genius! I never knew about that. I never was good at maths :S 08:49:38 Thanks! 09:01:34 --- join: real-grue (~true-grue@176.14.216.104) joined #forth 09:02:49 Zarutian: BTW, yes I was asking about 0.5 :P 09:05:32 --- join: mnemnion (~mnemnion@c-68-40-49-135.hsd1.mi.comcast.net) joined #forth 09:05:58 --- quit: true-grue (Ping timeout: 264 seconds) 09:19:17 --- quit: real-grue (Quit: Leaving) 09:46:30 I'm confused again... 09:46:51 How does '0.5 ab / 100' become '* 200 /' ? 09:47:10 Specifically, how did 0.5 become 200? 10:14:06 nebz: lets break it down a bit: you change '0.5 a b * *' to 'a b * 2 /', yes* 10:14:20 s/yes*/yes?/ 10:15:29 Oh! I get it! 10:16:09 We take 2 above, it multiplies with 100 and we get 200! 10:16:16 yeb 10:16:27 Thanks, again, Zarutian! 10:17:29 Zarutian: If I'm not being a bother, can you help me out again? 10:17:47 How does a^2 + ab factor out to a * (a + b) ? 10:18:21 a^2 is equiv to a * a, yes? 10:18:51 Yes 10:19:10 I don't get it :/ 10:20:33 so at first step you get: a * a + a * b, yes? 10:20:55 yes 10:21:23 I still don't get it :S 10:22:00 I actually forgot the explanation I got when I was learning this kind of equation manipulation 10:23:03 :| 10:27:21 you notice that both parts of the equation on eather side of the + start with a * 10:28:00 yes 10:29:20 I get it now! I read https://www.mathsisfun.com/algebra/factoring.html 10:29:33 Thanks for the help Zarutian ! 10:30:17 so we get a(a + b) ! 10:32:23 or a * (a + b) 10:32:26 :D 11:32:53 --- quit: Skuzzzy (Quit: Cya Weeaboos) 11:43:45 --- join: docl (~docl@159.203.115.16) joined #forth 12:01:00 --- quit: john_metcalf (Ping timeout: 246 seconds) 12:22:21 --- quit: asagk (Ping timeout: 276 seconds) 12:34:58 --- join: asagk (~asagk@i59F6A7E3.versanet.de) joined #forth 13:12:49 --- quit: karswell` (Remote host closed the connection) 13:25:34 --- quit: nebz (Quit: Page closed) 13:53:44 --- join: resttime (~rest@c-73-44-73-100.hsd1.il.comcast.net) joined #forth 15:11:25 * Keshl hugs people for being nice, shiny and actually helpful. -ω-... 15:15:14 --- quit: mnemnion (Remote host closed the connection) 15:21:27 --- join: mnemnion (~mnemnion@2601:400:8080:4588:208d:6b75:f723:3502) joined #forth 15:27:37 --- quit: mnemnion (Remote host closed the connection) 15:47:30 --- join: mnemnion (~mnemnion@c-68-40-49-135.hsd1.mi.comcast.net) joined #forth 16:04:01 --- quit: mnemnion (Remote host closed the connection) 16:30:31 --- quit: Zarutian (Quit: Zarutian) 16:39:56 --- quit: beretta (Quit: Leaving) 17:04:34 --- join: mnemnion (~mnemnion@c-68-40-49-135.hsd1.mi.comcast.net) joined #forth 17:07:35 --- join: beretta (~beretta@cpe-65-185-42-203.columbus.res.rr.com) joined #forth 17:09:32 --- quit: mnemnion (Ping timeout: 260 seconds) 17:18:08 --- join: mnemnion (~mnemnion@c-68-40-49-135.hsd1.mi.comcast.net) joined #forth 17:21:12 --- quit: mnemnion (Remote host closed the connection) 17:26:13 --- join: Kumool (~kumool@adsl-64-237-234-129.prtc.net) joined #forth 17:40:53 --- join: vsg1990 (~vsg1990@cpe-67-241-148-119.buffalo.res.rr.com) joined #forth 17:42:54 --- join: mnemnion (~mnemnion@2601:400:8080:4588:208d:6b75:f723:3502) joined #forth 17:44:05 --- quit: mnemnion (Remote host closed the connection) 18:17:13 --- join: bedah2 (~bedah@dyndsl-095-033-218-082.ewe-ip-backbone.de) joined #forth 18:17:33 --- quit: bedah2 (Remote host closed the connection) 18:20:08 --- quit: bedah (Ping timeout: 240 seconds) 18:26:54 --- join: mnemnion (~mnemnion@2601:400:8080:4588:208d:6b75:f723:3502) joined #forth 18:30:30 --- quit: mnemnion (Remote host closed the connection) 18:37:07 --- join: mnemnion (~mnemnion@2601:400:8080:4588:208d:6b75:f723:3502) joined #forth 18:37:27 --- join: Skuzzzy (~Skuzzzy@ip72-208-235-130.ph.ph.cox.net) joined #forth 18:37:57 can I pass in dynamic variable names? 18:38:18 : zero-alloc ( num name -- ) swap variable -ROT cells allot ; 18:38:38 I'm trying to give a arraylength and name, and obtain a variable that is initialized to 0 18:38:42 --- quit: mnemnion (Remote host closed the connection) 18:38:59 Oh well, this actually does not initalize to 0, but I was getting caught up on passing in the variable name 18:39:03 Like is there a way to quote it? 18:39:20 say "2 quote array_name zero-alloc" 18:39:23 something like that 18:45:41 --- join: mnemnion (~mnemnion@c-68-40-49-135.hsd1.mi.comcast.net) joined #forth 18:51:05 --- quit: mnemnion (Remote host closed the connection) 19:10:03 --- join: nighty-_ (~nighty@s229123.ppp.asahi-net.or.jp) joined #forth 19:19:01 --- join: tangentstorm (~michal@li1285-84.members.linode.com) joined #forth 19:47:10 --- quit: Kumool (Read error: Connection reset by peer) 19:56:49 --- join: mnemnion (~mnemnion@2601:400:8080:4588:cdf9:b47e:16d1:6419) joined #forth 20:06:35 --- quit: JDat () 20:15:43 --- quit: vsg1990 (Quit: Leaving) 21:14:51 --- quit: resttime (Quit: Leaving) 21:23:10 --- quit: Skuzzzy (Ping timeout: 255 seconds) 22:36:26 --- join: Bahman (~Bahman@188.245.96.131) joined #forth 23:39:16 --- quit: mnemnion (Remote host closed the connection) 23:40:35 --- join: Skuzzzy (~Skuzzzy@ip72-208-235-130.ph.ph.cox.net) joined #forth 23:59:59 --- log: ended forth/16.01.02