00:00:00 --- log: started forth/08.11.17 00:00:19 --- join: ygrek (i=user@gateway/tor/x-cd4dc08032d608da) joined #forth 00:18:20 --- quit: ygrek (Remote closed the connection) 00:31:32 --- quit: sunwukong ("bye") 00:34:46 --- quit: ASau (Read error: 113 (No route to host)) 01:15:34 --- join: qFox (i=C00K13S@132pc222.sshunet.nl) joined #forth 01:40:54 --- join: ygrek (i=user@gateway/tor/x-d896672d35c0defc) joined #forth 02:04:29 --- quit: nighty__ (Read error: 104 (Connection reset by peer)) 02:06:51 --- quit: ygrek (Remote closed the connection) 03:01:27 --- join: jewel (n=jewel@dsl-242-150-142.telkomadsl.co.za) joined #forth 03:36:24 --- quit: proteusguy (Read error: 113 (No route to host)) 03:39:07 --- join: proteusguy (n=proteusg@61.7.144.97) joined #forth 03:48:55 --- quit: neceve (Read error: 110 (Connection timed out)) 03:58:36 --- quit: jewel (Connection timed out) 04:28:52 --- join: jewel (n=jewel@dsl-242-128-129.telkomadsl.co.za) joined #forth 04:50:10 --- quit: jewel (Operation timed out) 04:57:41 --- quit: mathrick (Read error: 110 (Connection timed out)) 04:58:41 --- join: TreyB (n=trey@74.203.168.157) joined #forth 05:05:56 --- join: jewel (n=jewel@dsl-242-187-119.telkomadsl.co.za) joined #forth 05:26:17 --- quit: TreyB (Read error: 113 (No route to host)) 06:11:47 --- quit: jewel (Connection timed out) 06:25:41 --- join: jewel (n=jewel@dsl-242-174-236.telkomadsl.co.za) joined #forth 06:29:42 --- join: TreyB (n=trey@74.203.168.157) joined #forth 07:00:04 --- quit: ramkrsna ("Leaving") 07:34:28 --- join: iano (n=iosgood@076-076-146-052.pdx.net) joined #forth 07:34:44 --- quit: iano (Remote closed the connection) 07:55:23 --- join: ASau (n=user@193.138.70.52) joined #forth 08:01:33 --- join: magdor (n=magdor@dhcp-077-250-110-175.chello.nl) joined #forth 08:11:15 Can I ask some advice on implementing a function (polynomial) in Forth? Any takers? 08:13:27 --- quit: ASau` (Read error: 110 (Connection timed out)) 08:14:09 what function would that be? 08:15:08 Newtons second law: a body of mass being subjected to a force 08:15:29 I want to calculate the position (and display it) 08:15:54 a simple example would be that apple falling from that proverbial tree 08:16:54 x = x0 + v0* t + 1/2*g*t-square 08:18:31 given t, that would be rather straight forward to implement. Correct? 08:19:02 But what if g ( the force) is not a constant? 08:20:18 That's where I get stuck... 08:22:00 : newton ( t g -- n ) >r (do regular stuff and get g from TOR) r> drop ; 08:22:08 is one way 08:22:21 you can also swap your way through, i guess 08:23:33 That is indeed straight forward, in case of g being constant over time. 08:24:02 Would I need to start sampling if g varies over time? 08:25:13 either that, or solve the equation 08:25:30 What is the problem? 08:25:36 --- join: xjrn (n=jim@c-69-181-213-99.hsd1.ca.comcast.net) joined #forth 08:25:55 t @ t @ g ( calculate "g" ) newton 08:27:21 Ok, the idea forming now, is since I plan on plotting x anyways, that I could compute the deltas. 08:33:55 ok, off to implementing it. Thanks 08:42:42 varies over time? you mean mid-function? 08:43:13 then yeah, fetching it is probably the best solution 08:43:31 same function fingerprint applies though, g is just an address containing g instead 08:43:31 yep indeed, mid-function variations 08:43:56 sounds a bit silly tbh, but i'm sure you have your reasons :) 08:45:23 uh, help me here, before I start making assumptions: does the whole idea seem silly or the implementation of g referring to an address? 08:45:48 the idea of varying g over time, i believe 08:47:14 a little background information might help then :-) 08:47:45 the idea of varying g mid-function, actually 08:48:13 it is all part of a game implementation, in which a free falling body 08:48:14 there would be a handfull of executions from the start of that word to the requiring of the value of g 08:48:38 so the odds of a change of g between the start and that point is rather very small 08:48:53 that's why i found it strange, but like i said, i'm sure you have your reasons 08:49:29 so when would g change? 08:49:54 asuming its gravity 08:49:54 has to move to a side scrolling obstacle terrain. 08:50:25 The body can be lifted by applying rocket boosters with a limited capacity. 08:50:31 ah 08:51:00 i would probably still have neglected it ;) 08:51:13 :-D 08:51:37 --- quit: TreyB (Read error: 60 (Operation timed out)) 08:52:01 So in this case the resulting force is the combination of indeed gravity and the application of the boosters 08:52:51 When not in use, the boosters get replenished 08:53:03 yeah but i asume the change is applied in certain steps, eg. once per frame max 08:53:23 correct 08:53:38 so there is little to no chance of g changing mid-function 08:54:56 Ah, meaning there are only two possible values for g: 08:55:24 gravity or (gravity-boost) 08:56:05 --- join: Quartus` (n=Quartus`@74.198.12.7) joined #forth 08:57:55 no i mean there is just one time at which g changes, which is static within one frame computation. at any other time g remains the same 08:58:19 so unless you actually think the newton function gets called within that window of time 08:58:29 there's no real point taking a possible change of g into account 08:58:38 and it just makes your life harder 08:59:20 but if you want a changing g, make a word that gets the current g and puts it on the stack, then call that word at the time you need g 08:59:30 (ok, not that much harder, i guess :) 08:59:54 qFox: gravity is equivalent to inertial force. 09:00:00 Relativity theory. 09:00:15 Thus it _may_ vary over the time. 09:00:19 sure, how does that change anything to what i said? 09:00:39 in his game model, the gravity changes at most once per frame 09:00:53 so at any computation, you know g will change at only one point 09:01:19 i'm going to asume threads are used, otherwise this discussion is completely pointless 09:01:55 and i'm sorry if i'm dragging this out ;) 09:07:18 --- join: mathrick (n=mathrick@users177.kollegienet.dk) joined #forth 09:35:53 --- join: neceve (n=ncv@dyn-89.136.41.150.tm.upcnet.ro) joined #forth 10:18:08 and back again. Sorry, it was dinner time over here in Europe :-) 10:24:53 qFox: threads as in multitasking? 10:26:55 aye 10:27:23 i mean, if there are no multiple threads, the entire thing is serial and it would be _impossible_ for g to change mid-function by definition 10:30:39 a simple sequence: 10:31:06 the spacepod is free falling 10:31:24 to prevent it from hitting the bottom 10:31:34 the user presses the booster button 10:31:56 I don't see any problem again. 10:32:14 You perform Euler integration of diff. eq. with some control function. 10:32:26 the motion downward is slowly stopped and eventually reversed 10:32:53 Aaah, ok: That are exactly the skills I am lacking now :-) 10:33:36 So my question boils down to doing an Euler integration in Forth. 10:34:00 Now atleast I know what I asked :-D 10:34:08 I don't see any problem. 10:34:28 Except that you lack some skills in math or physics. 10:34:34 correct 10:34:47 and has been quite a while since... 10:35:18 You know, I can't help you, unless I want to write the whole stuff myself or teaching you. 10:35:20 Guess I'll have to open the books again 10:36:20 Maybe wikipedia can help you better. 10:36:45 (By reducing the amount of text to look through.) 10:38:51 will do 12:27:33 --- join: GoNoGo (n=GoNoGo@cro34-3-82-236-93-215.fbx.proxad.net) joined #forth 12:42:23 --- join: ncv (n=ncv@dyn-89.136.41.150.tm.upcnet.ro) joined #forth 12:42:41 --- quit: neceve (Read error: 54 (Connection reset by peer)) 13:15:46 --- quit: magdor ("Leaving") 13:18:51 --- quit: jewel (Read error: 113 (No route to host)) 13:48:09 --- quit: ncv (Remote closed the connection) 14:00:47 --- quit: GoNoGo ("ChatZilla 0.9.84 [Firefox 3.0.4/2008102920]") 14:16:14 --- nick: mark4 -> I440r 14:16:21 --- mode: ChanServ set +o I440r 14:35:55 --- join: Rodo12 (i=Bob@v-209-98-172-120.mn.visi.com) joined #forth 14:36:39 --- quit: Rodo12 (Client Quit) 14:42:01 --- quit: qFox ("Time for cookies!") 16:06:25 --- nick: Def -> Deformati 16:08:42 --- join: nighty__ (n=nighty@210.188.173.245) joined #forth 16:13:57 --- join: Al2O3 (n=Al2O3@c-75-71-187-102.hsd1.co.comcast.net) joined #forth 16:25:46 --- quit: Al2O3 (Read error: 54 (Connection reset by peer)) 16:26:15 --- join: Al2O3 (n=Al2O3@c-75-71-187-102.hsd1.co.comcast.net) joined #forth 16:27:38 --- quit: I440r ("Leaving") 16:52:13 --- join: hencyt (n=cht@host86-136-158-179.range86-136.btcentralplus.com) joined #forth 16:56:46 --- join: forther (n=forther@207.47.34.100.static.nextweb.net) joined #forth 17:02:42 --- quit: forther ("Leaving") 17:15:06 --- join: mark4 (n=mark4@wsip-68-14-227-113.ph.ph.cox.net) joined #forth 17:23:26 --- quit: Al2O3 () 17:51:11 --- join: edrx (i=edrx@189.25.9.192) joined #forth 18:22:54 --- join: Al2O3 (n=Al2O3@c-75-71-187-102.hsd1.co.comcast.net) joined #forth 18:32:03 --- join: aguaithefreak (n=chatzill@118-169-171-86.dynamic.hinet.net) joined #forth 19:44:55 --- part: edrx left #forth 20:25:00 --- join: LOOP-HOG (n=jasondam@97-115-94-113.ptld.qwest.net) joined #forth 20:25:10 :) 20:26:12 I went to Forth Day and it was great 20:51:14 --- join: Discordian (n=clive@chills.demon.co.uk) joined #forth 20:52:46 hail eris 20:53:49 hail bolocknor 20:56:08 hi 20:58:54 hi 20:59:03 are you a forth programmer 21:01:30 yeah amongst other languages 21:01:36 cool 21:01:42 I went to Forth Day 21:01:50 in Silicon Valley 21:01:55 it was last weekend 21:02:13 i used to go to the london uk fig group 21:02:26 forth interest group 21:02:35 yes, FIG 21:02:46 there was about 50 people in attendance 21:03:01 I am going to post some images, and notes up onto a website in a day or two 21:03:28 I was in the middle of copying my notes from paper to text file when you hopped on IRC 21:04:43 cool 21:04:49 what have you used Forth for? 21:05:20 mostly on the old bbc micro for speech stuff 21:05:32 ok 21:05:51 and on the avr butterfly 21:06:12 I have used it to create my own text editor with which I keep my journal/log 21:06:17 what is the avr butterfly? 21:06:24 I have not heard of that before 21:07:15 it's a little board with an avr microprocessor, small lcd and a speaker 21:07:29 i see 21:07:35 it costs around 15 ukp 21:07:53 I got Chuck's autograph when I was at Forth Day! :^) 21:09:09 heh that's pretty good 21:09:36 yeah 21:11:02 I also saw real Forth hardware 21:11:22 the 40C18 is real. I saw the latest dev system 21:11:33 there are 10,000 forth chips in existance right now 21:11:45 with 60,000 more in production 21:12:54 hmm only ever seen forth in software myself 21:13:09 Chuck was describing the C18 instruction set 21:13:13 it is very minimal 21:13:36 I only once before saw a real Forth chip, when Greg Bailey was waving it infront of my face 21:13:47 that was before he moved out of Portland 21:15:04 --- join: forther (n=forther@c-24-5-187-203.hsd1.ca.comcast.net) joined #forth 21:15:09 I would like to try to program it some day soon 21:15:49 hi 21:15:52 the 40c18 looks interesting 21:15:52 I must come up with some good code on the simulator and then figure out a clever project so that they will send me a Forth Thumb drive 21:16:00 hi forther 21:16:40 Is that still their business model? Awarding chips one at a time to supplicants? 21:17:24 no, you can buy a 40C18 devkit for $500 21:17:33 my my. 21:17:51 if you wanted to do serious development, you would want a devkit 21:18:07 I think it's cool 21:18:21 or you can buy a chip and build the board yourself 21:18:34 can you buy a single chip? 21:19:20 after second thought ... probably not. but you can buy, say, 1K 21:19:36 probably must buy them in lots of 1K 21:19:43 but I'd ask if I was serious 21:20:27 Does a Quadrillion come after a Trillion? 21:21:44 I think so. why? 21:22:43 Because if each 40C18 chips executes 25 billion Forth ops a second 21:22:57 and you have 12,000 forth chips in a single box 21:23:10 then that equates to 3 quadrillion Forth operations per second 21:27:15 alot, but pointless 21:27:35 * Discordian builds pfe for linux 21:29:27 I'm going to log now, take care 21:29:31 --- part: LOOP-HOG left #forth 21:31:06 He sleeps in a log? :) 21:31:49 like a log 21:32:01 unawakable 21:46:42 --- quit: forther (Read error: 60 (Operation timed out)) 21:47:08 --- join: forther (n=forther@c-24-5-187-203.hsd1.ca.comcast.net) joined #forth 22:05:37 --- join: ramkrsna (n=ramkrsna@unaffiliated/ramkrsna) joined #forth 22:25:34 --- quit: forther ("Leaving") 22:57:34 --- join: qFox (i=C00K13S@132pc222.sshunet.nl) joined #forth 23:11:53 --- quit: Discordian (Read error: 113 (No route to host)) 23:13:13 --- join: ASau` (n=user@host129-230-msk.microtest.ru) joined #forth 23:54:10 --- quit: foxLapto1 (Read error: 104 (Connection reset by peer)) 23:56:53 --- quit: ASau` (Read error: 104 (Connection reset by peer)) 23:57:06 --- join: foxLaptop (i=flash@123.113.217.145) joined #forth 23:59:59 --- log: ended forth/08.11.17