00:00:00 --- log: started forth/02.03.27 00:09:55 --- join: davidw (~davidw@ppp-25-6.25-151.libero.it) joined #forth 02:11:43 good mornin 02:50:33 --- nick: Soap` -> SoapSleep 03:19:17 --- quit: rob_ert (carter.openprojects.net irc.openprojects.net) 03:19:17 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 03:20:10 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 03:20:10 --- join: onetom (tom@adsl52070.vnet.hu) joined #forth 06:42:34 create foobar 100000 cells allot 06:42:43 how come this gives me an overflow? 06:42:47 it's not that much memory... 07:23:22 Hehe 07:23:29 Might depend on what system :P 07:23:50 Minix and DOS aren't really known to give you a lot of memory to play with. 07:27:32 hi 07:28:00 davidw: what 4th do u use? 07:29:01 Hi onetom. 07:31:43 gforth on linux 07:32:39 then u have 2 give enough dictionary size via 07:33:02 command line switches 07:33:12 rob_ert: hello. wb from school :) 07:33:36 Thanks >:) 07:33:37 coz allot allocates space on the dictionary 07:33:47 aha 07:34:01 if u wanna allocate mem from the system 07:34:15 (imean, claim some mem from the OS) 07:34:26 then u should use the word "allocate" 07:34:30 aha 07:34:37 lunch time! 07:34:45 it calls the malloc func from libc 07:35:06 allot simply adjusts dp (dictionary pointer) 08:03:40 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 08:03:40 --- quit: rob_ert (carter.openprojects.net irc.openprojects.net) 08:05:16 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 08:05:16 --- join: onetom (tom@adsl52070.vnet.hu) joined #forth 08:17:53 so how do you create a named array/variable/create whatever and attach it to a bunch of heap space? 08:31:24 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 08:34:04 good morning all 08:36:24 hi 08:39:43 http://www.pigdog.org/auto/electro_diddle/link/915.html 08:41:34 damn the gforth tutorial 08:41:46 what I would give to have powell's nearby:-( 08:42:46 futhin - maybe you know - so how do you create a named array/variable/create whatever and attach it to a bunch of heap space? 08:45:27 --- quit: davidw (Read error: 104 (Connection reset by peer)) 08:45:29 --- join: davidw (~davidw@ppp-25-6.25-151.libero.it) joined #forth 08:46:24 damn 08:53:10 davidw: nu, me here 08:55:10 hi 08:57:49 okay, let me show u some bits&pieces 08:58:40 I mean, I guess I could do something like 10 allocate 08:58:44 then put that in a variable 08:58:48 but... yuck 08:59:03 isn't there any better way? 08:59:21 like what? 08:59:39 how would u like 2 handle 08:59:39 dynamic mem? 08:59:50 show me the style u prefer 08:59:52 in C, I would do this: 09:00:05 & i will code it in 4th 4 u 09:00:08 things[100][1000] 09:01:25 .oO("portable assember" is a good description...) 09:01:28 aaand? 09:01:45 and then I want to put values into my 2 dimensional array 09:01:49 yes, thats a pretty good aspect 09:01:49 but I think I can handle that 09:02:15 c does pointer handling very nice 09:02:31 I'm used to working with languages like Tcl;-) 09:02:33 in a more highlevel way than asm 09:02:53 coz it also considers data types 09:03:29 in 4th u dont have such constructs by default 09:03:41 u have 2 create them 09:03:58 so they could highly suite 2 yr need 09:04:28 u have several choices here 09:04:49 create a 2d array defining word 09:05:17 a, that could handle arbitrary data chunks 09:05:21 no, because I just need one of these arrays 09:05:45 b, can handle that size u need 4 yr current task 09:05:59 but how do I match it up with a word? 09:06:29 eeer, cant understand. ask it again in a full sentence plz 09:06:30 CREATE text-buf 80 chars allot 09:06:44 is an example of how to do what I need, but it uses the dictionary space 09:06:48 which isn't big enough 09:07:36 & whats wrong w enlarging dict? 09:07:51 because I don't want to? 09:08:55 it doesn't seem like the right thing 09:08:58 I need a lot of space 09:09:06 so I should get it from the heap 09:10:41 hrm 09:10:46 I can just use a constant, I guess 09:11:18 right 09:11:18 then u only have 2 do 09:11:18 1232344353487679 chars allocate throw constant buffer 09:11:47 sure 09:12:08 varibale is also a kind of constant 09:12:25 hrm... 'throw'? 09:12:28 it stores its value implicitly 09:12:30 I'll look that up 09:13:03 namely its stores the addr of the top of the dict 09:13:03 throw is just like drop 09:13:35 but raises an exception if 09:13:44 oops, I have to free the phone like 09:13:46 the num on the top of the stack is not 0 09:13:48 thanks, and be back in an hour or so! 09:13:54 ah, perfect 09:13:58 k 09:19:43 davidw: it seems like a hack to create a variable (which is basically an item in the dictionary) and allocate it the size you need, and then start using that. but you'll get over it :) 09:19:54 it isn't a hack after you get used to it 09:19:58 it's the way forth is.. 09:20:06 you can abstract it out 09:20:14 you can create a word that creates the array for you 09:35:28 --- quit: davidw (Read error: 110 (Connection timed out)) 09:53:53 --- join: davidw (~davidw@ppp-211-17.25-151.libero.it) joined #forth 09:56:55 [10:16:17] davidw: it seems like a hack to create a variable (which is basically an item in the dictionary) and allocate it the size you need, and then start using that. but you'll get over it :) 09:56:56 [10:16:27] it isn't a hack after you get used to it 09:56:56 [10:16:32] it's the way forth is.. 09:56:56 [10:16:39] you can abstract it out 09:56:56 [10:16:47] you can create a word that creates the array for you 09:57:48 no, what I was saying was a hack was to put the return of 'allocate' inside a variable 09:57:56 so that to get the actual address, you would do foo @ 09:57:57 which sucks 09:58:07 instead, using a constant looks like the right thing for me 09:59:17 eh? 09:59:29 foo returns the address 09:59:39 then you do @ and fetch from that address 10:00:19 yes, but I want that address associated with a name 10:01:36 associated with what name ? 10:02:26 one I choose 10:02:29 myarray 10:02:36 I did it like onetom suggests 10:02:52 x y * cells allocate throw constant myarr 10:03:35 so you have: variable myarray x y * cells allocate throw constant myarr ? 10:04:38 no 10:04:40 just the above 10:04:40 if you know the length of the array 10:04:43 you can just do 10:04:50 foo lenghth + 10:08:08 no, you don't understand 10:08:20 I don't think, at least 10:08:26 I just wanted the above line of code 10:08:58 heh 10:10:57 i understand, sort of.. and i'm not sure that associating the address with a name is good coding practice ( it is ultimately a variable ) 10:11:38 but it doesn't really matter 10:11:44 as long as you code :P 10:11:59 get something working, learn, etc 10:19:43 yeah, it also seems a bit strange 4 me, but still... it must b the solution 10:20:20 coz its just the synonyme of the other, static solution 10:21:08 well, I will use this a lot, so having a name attached to it makes sense 10:21:44 but if u free it, the constant will b nonsense 10:22:05 and u cant even change it to some kinda NULL 10:22:29 but thats not a problem in yr case, coz u dont wanna free it, iguess 10:22:48 only @ the end of the prg 10:22:53 you can change the constant's value 10:23:05 i440r uses constants instead of variables because constants are faster 10:23:30 and he treats them like variables :) 10:38:13 haahaa 10:38:18 but its nonstandard 10:38:57 and its implementation dependent wheather constants r faster then vars 10:39:46 nonstandard is the only way to go :) 10:40:08 but these kind of thing is also a wellknown construct 10:40:17 they r the VALUEs 11:20:43 is there a way to go from an execution token to it's name? 11:20:48 what does find-name do? 11:26:53 why do you want to go from an execution token to the word's name ? 11:27:09 (what are you trying to do?) 11:27:28 i assume you don't want: (execution token on stack) execute 11:36:41 well, I can do that already 11:36:50 I'm just curious if I can go the other way, too 11:37:11 davidw: there is no standard way of doing it, ithink 11:37:18 ok, thanks 11:37:23 coz its always implementation dependant 11:37:38 and gforth has a very weired structure 11:37:48 and its also undocumented :( 11:37:54 check the src 11:38:17 i also did it when i had 2 use such things 11:38:20 well, I don't want anything wierd 11:39:00 think so 11:39:51 >name ? 11:40:05 i use fwords 4 such researches 11:40:11 fwords: 11:40:27 if [ $# -gt 0 ] ; then 11:40:28 (gforth -e 'words bye') | awk 'BEGIN{RS="[ \t\n]+"} 1' | grep $@ ; 11:40:28 else 11:40:28 (gforth -e 'words bye') | awk 'BEGIN{RS="[ \t\n]+"} 1' ; 11:40:28 fi 11:41:13 : asd ; ok 11:41:13 ' asd >name name>string type asd ok 12:11:10 good god this is slow... I think I need to find a C harness to put this stuff in 12:11:57 slow? lol 12:12:02 what is slow? 12:12:57 writing the code 12:13:21 it runs fast:-) 12:13:41 maybe I just need more than 1 day of experience;-) 12:14:22 read some forth books :) 12:14:43 got a good one I should buy? 12:14:54 you can download Forth Programmer's Handbook.pdf 12:15:13 the gforth tutorial is enough to drive one crazy 12:15:19 the pforth one is good, but pretty basic 12:15:49 if you download swiftforth from forth.com it comes with Forth Programmer's Handbook.pdf as well as a manual 12:15:54 a forth manual 12:15:55 might be good 12:18:55 I would spend all my money on books if I could;-) 12:21:39 hrm, downloading 12:27:04 davidw: whats wrong w gforth tutorial? 12:28:01 anyway, i have 2 hungarian books on 4th ;) 12:28:18 and also have poor photocopy of starting 4th 12:28:40 the gforth tutorial is...hrmmm bad writing 12:28:44 thats a very nice piece of work i think, tho 12:29:02 havent read it yet just overviewed 12:29:55 i also recommend Forth: An Underview by Peter Knaggs 12:30:05 Thinking Forth by Leo Brodie was very good 12:30:47 it talks about the internals (about those few 1s :) 12:31:21 futhin: i wish i have it :) 12:32:01 --- join: I440r (~mark4@11Cust188.tnt3.bloomington.in.da.uu.net) joined #forth 12:34:21 Hej 12:34:36 hi 12:35:15 this is fast, though, which is pretty cool 12:35:42 I'm so used to working with high level things, though, where i can just say 'sort it!' 12:35:47 and it does it...poof 12:36:51 forth will eventually be extended more 12:37:01 as soon as some of us get off our asses ;) 12:38:01 I think it makes sense to write languages on top of it, maybe 12:38:06 something like a Tcl-like language would be neat 12:39:39 forth has been a very popular language to copy for script languages. there is PostScript, MUF (TinyMUCK's online programming language), there are some other scripting languages that i can't remember the names of 12:43:43 and not one of them has the power or beauty of forth :P 12:49:05 i gtg 12:49:14 ill be back on l8er tho if i can 12:49:16 --- quit: I440r ("Reality Strikes Again") 12:51:15 --- join: Soap- (flop@203-96-105-55.dialup.xtra.co.nz) joined #forth 12:55:51 --- quit: SoapSleep (Read error: 104 (Connection reset by peer)) 12:57:14 if forth were extended more high-level 12:57:28 it would be more like some of the popular scripting languages that borrow from forth 12:57:33 like postscript 12:58:05 nah... don't bother extending it 12:58:11 write other languages with it 12:58:51 who cares though... back to hacking;-) 13:03:05 --- quit: futhin (carter.openprojects.net irc.openprojects.net) 13:03:14 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 13:03:32 --- quit: futhin () 13:46:54 --- join: Fare (fare@samaris.tunes.org) joined #forth 13:47:23 hi 13:50:07 Hi :) 13:55:01 --- join: MrReach (~mrreach@209.181.43.190) joined #forth 13:56:11 Hi :) 13:56:32 hihi! how are you? 13:59:03 Fine :) 13:59:15 My gravity simulator changed its mind. 13:59:22 oh? about what? 13:59:28 First it said that the earth was leaving the solar system. 13:59:48 Now it claims that a year is about 365 days and 8 hours... 13:59:56 (Yes, I fixed a bug) 14:00:34 hte 2nd sounds good, the first sounds quite undesirable 14:00:43 :)) 14:00:44 --- join: Etaoin (~david@ljk2-14.sat.net) joined #forth 14:00:49 Hi 14:00:49 wow 14:00:50 at least until we figure out how to get *WAY* more power 14:00:56 :D 14:01:00 grand gathering? :) 14:01:04 onetom: ??? 14:01:36 almost every1 is present 14:01:59 I440r & futhin is missing mainly 14:02:05 wnat I440r here? he's online. 14:02:07 Even little rob_ert is here. 14:02:13 heh 14:02:36 --- quit: onetom (SendQ exceeded) 14:02:46 --- join: onetom (tom@adsl52070.vnet.hu) joined #forth 14:02:58 --- quit: onetom (SendQ exceeded) 14:03:04 --- join: onetom (tom@adsl52070.vnet.hu) joined #forth 14:03:20 want I440r here? he's online. 14:03:28 eh, my client went insane 14:03:37 gakuk 14:04:01 [@ChanServ ] [ clog ] [ davidw ] [ Etaoin ] [ Fare ] [ MrReach ] [ onetom ] [ rob_ert ] [ Soap- ] 14:04:10 i c only these ppl 14:07:42 I440r *IS* online, but he's not on IRC 14:08:57 he's on his way 14:09:03 --- join: I440r (~mark4@11Cust232.tnt1.bloomington.in.da.uu.net) joined #forth 14:09:26 hi :) 14:09:28 hi mrreach 14:09:30 im doing an n^2-1 puzzle solver in isforth 14:09:48 actually, the main part is done already - just the brains to do now 14:09:49 greets 14:10:01 A planet has its max. orbital velocity in perihelion, right? 14:10:03 wrote it in one day - twiddled what i got for a day - now i do the brains :) 14:10:15 I'm updating M$ activeSync on this machine, which will probably entail a reboot shortly 14:10:20 if thats whyen its closest yes 14:10:32 --- quit: Fare ("Connection reset by pear") 14:10:42 doh fare went afk :( 14:10:46 OK, thanks. 14:10:53 rob_ert: no, epihelion I think ... whichever point is closest to the sun 14:11:04 im trying to remember whose law that is 14:11:15 the planets sweep out equal areas in equal time 14:11:50 yes 14:12:08 the guy that died of a rutured bladder? 14:12:16 grr i cant remember whose law that is heh 14:12:17 aphelion = far away from the sun 14:12:30 Kepler's law 14:12:34 yes 14:12:36 thats him 14:12:42 Kepler :) 14:12:52 did he die of a ruptured bladder ? 14:12:54 ouch! 14:13:00 what's that? 14:13:01 I don't know 14:13:07 ok, thanks rob_ert, I've always gotten the two confused 14:13:22 I haven't studied orbital stuff formally 14:13:47 I440r: yes, he was having dinner with an astromer who was jealous of him, and refused to excuse him from the table 14:13:53 Formal education teaches you...non-interesting things :) 14:14:18 and he stayed ? 14:14:26 eh, it's been getting better lately 14:14:44 i never had any "formal" education 14:14:48 sometimes it shows heh 14:15:00 but mostly it shows in my code 14:15:34 Etaoin: Yes, it's good, too. 14:15:43 Etaoin: But certainly not enough-. 14:15:51 The personal interest must be there. 14:17:36 formal education seems nonsense 4 yrs, but 14:17:40 anyone want to see my n2-1 puzzle solver? 14:17:44 it doesnt solve yet tho heh 14:18:05 l8r 1 could recognize the usefulness of it.. 14:18:23 er hang on - ive introduced a bug :P 14:18:23 I440r: id b happy 2 have a look @ it 14:18:29 it b0rks heh 14:18:32 brb 14:18:32 I440r: what is it exactly? 14:18:48 plz introduce that bug also 2 me ;) 14:18:52 I440r: it sometimes shows in your language ... you sometimes don't have names for concepts in computer science 14:19:06 (although you seem to have 'stack' down pat @:^) 14:19:09 mrreach i know - but i have the concepts :) 14:19:18 which are all self realised 14:19:25 yep 14:19:31 ya! i know that word :) 14:19:39 heh 14:19:55 i know the OOP word too - thas as much as i want to know about it :P 14:20:04 * MrReach makes no comment 14:20:11 I440r: so, where can i dl the puzzle solver from? 14:20:19 * Etaoin makes a comment 14:20:37 * onetom sad about it 14:21:01 sad about no formal education? don't be, for heaven's sake 14:21:21 *HUGE* waste of money, except for the people you meet 14:21:33 * onetom sad about he doesnt want 2 know more about OOP 14:21:48 in which case, people should pay all that money for GEs ... which nobody will, of course 14:21:55 ah! ok 14:21:57 hehe - its almost 4 free in hungary :) 14:22:03 Where do you live, MrReach? 14:22:03 ok guyys 14:22:06 look in my ftp 14:22:08 get nn 14:22:11 thats the executable 14:22:17 I'm in Spokane, Washington, USA right now 14:22:20 ill release the sources once i got the brains done 14:22:24 should maybe be 2 dzays 14:22:28 3 at the most :) 14:22:31 will be in Seattle region by this upcoming winter 14:22:37 Hmmm. How expensive is university in the US? 14:22:47 plenty 14:22:54 about $15,000/yr 14:23:01 Jebus. 14:23:22 heh, by the time you count *ALL* your expenses 14:23:47 an apartment, electricity, meals, etc 14:24:17 eh, who cares about the executable!? wheres the code? 14:24:37 you can have that in 2 or 3 days :P 14:24:55 anyway, its any eyecandy ;) 14:24:59 * MrReach wonders what he was doing before he got distracted thinking about college 14:26:17 You were in the process of giving me all your worldly posessions, I believe. 14:26:24 lol 14:26:29 he doesnt have any :) 14:26:32 Bah. 14:26:36 It was worth a try :/ 14:26:37 heh, not quite 14:27:31 but you can't have my things ... I *LIKE* them 14:27:49 Level 3 Move 47 Undo 0 14:27:53 Disance 0 14:28:02 it should b Distance iguess 14:29:11 oopts 14:29:17 i thunked i had corrected that one 14:29:19 doh 14:29:26 in fact i distinctly remember doing so heh 14:29:42 the menu items are all shifted except - and = 14:29:52 unshifted keypresses mean move that piece 14:30:04 ill make a better movement interface later using cursor keys heh 14:30:41 arg! I have to download PowerToys for CE 14:30:42 * onetom :) really likes it! he thinks its magnificent ;) 14:31:38 what is magnificent? 14:31:47 nn is 14:32:09 heh 14:32:30 if ur on an x86 linux box mrreach its in my ftp 14:32:31 im doing the brains to it now 14:33:02 and ill have it do benchmarking too - seed the random number generator - do N random moves - always reaches same point 14:33:09 * onetom begs 4 the srces 14:33:18 then see how long it takes the computer to solve the 3x3, 4x4 5x5 and 6x6 puzzles 14:33:25 ill release it in a cpl of days 14:33:27 * onetom is curious about the terminal stuff 14:33:30 its not top secret shit :) 14:33:36 oh thats eash stuff heh 14:33:57 if its that EZ, plzplzplz share it! 14:34:02 i will 14:34:24 *INTERESTING* ... delosoft dsforth comes with microsoft power toys 14:34:41 i definitely would like 2 do some simulations on char screen 14:34:41 lol 14:34:50 its a well known fact that m$ uses forth 14:35:25 dsforth is pretty broken 14:35:33 in what way ? 14:35:45 no console, for one ... all batch driven 14:35:53 ugh 14:36:15 u know the old forth buletin board system was coded ENTIRELY in batch? 14:36:16 the rest I don't know, I chose not to play with it if no console 14:36:20 broken... into pieces? :) 14:36:42 I440r: are you talking about The Snail's Place ??? 14:37:06 not sure - it went defunked YEARS ago - it was a whole ring of BBS's dedicated to forth 14:37:09 all coordinated 14:37:12 sort of like fido 14:37:15 oh! ok 14:37:18 but written ENTIRELY in dos batch 14:37:23 it was probably WWIV then 14:37:45 my dad was a sysop back then and was going to join them 14:37:53 offered to rewrite their system in FORTH for them 14:38:01 but they were in LOVE with the batch 14:38:02 duh 14:38:24 The Snail's Place was the only bulletin board written *IN* Forth ... I knew the author in Sacramento 14:38:58 she was one of the total wierdos I told you about 14:39:04 lots of fun, though 14:39:15 she ??? 14:39:24 she wouldnt be "dianora" would she ? 14:39:28 erm no 14:39:30 she is in canada 14:39:44 no, Lady Bacardi 14:39:52 real time embedded control applications software engineer, also one of the MAIN coders on the dalnet ircd 14:40:08 oh? that's cool! 14:40:40 yes. but she is a cook heh 14:40:45 a DAMNED good coder tho 14:40:59 when i first got interested in doing bots i grabbed the ircd soruces for dal 14:41:03 they were a MESS 14:41:23 the ONLY code in there that didnt look hacked on by 400 different people was all signed dianora 14:41:39 they have tidied it up alot since then tho heh 14:42:13 hm, cool story :) 14:42:28 she also used to code forth 14:42:38 i asked her if she wanted to help with isforth 14:42:48 she couldnt understand why i was even considering isforth heh 14:42:51 I440r: was her real first name "Mary"? 14:42:58 not sure 14:43:10 i know her real name but i cant remember it 14:44:50 onetom quit nn - restart it - hit shift R and see how many moves it takes you to solve from that position 14:44:53 i can do it in 23 moves 14:45:19 doesnt it depends on the actual 14:45:25 randomization? 14:46:05 its a psudo random number generator 14:46:13 aha 14:46:13 so if you start with the same seed you randomize identically 14:46:17 close ennuff 14:46:24 well it took 47 steps 4 the 1st time 14:46:27 and i wanted to be able to start from a KNOWN random location 14:46:42 press - till you undo all moves and try again 14:46:56 if you have randomized since then you need to restart the game to get to that position 14:47:12 ill add a "zero seed" option later 14:47:46 sure, but how can i extract the srces from it? ;) 14:47:58 http://www.db.net/~db/ 14:48:09 heh 14:48:32 actuallym about 2k of that executable is the game code heh 14:48:36 the rest is the forth kernel :P 14:49:41 davidw: shes a guy w a long hair :I 14:50:36 she has a 'partner' 14:50:37 hrm 14:50:41 thats here 14:50:46 dianne somethig or other 14:50:48 is this a foto of her ? 14:50:55 ya 14:51:04 i think she has showed me this foto 14:52:04 'partner'? umean, an other gal? 14:52:16 she is married 14:52:19 and has a daughter 15:04:00 --- quit: rob_ert (Remote closed the connection) 15:05:03 winamp.com - skins - Hand Written 15:09:18 no, this lack of temp variables is enough to drive one insane 15:09:47 why ? 15:09:56 u mean locals ? 15:10:01 just use the stack :P 15:10:53 yes, but trying to remember in your head all the locations is a pain in the ass 15:10:58 it's unproductive 15:11:58 davidw: its not that inproductive 15:12:32 while u had a headache because of it 15:13:06 u dont compose yr code in a 4thish way enough 15:13:18 david once you get used to it it becomes natural! 15:13:20 realy does 15:13:26 and you would never want to go back 15:13:30 (as the average 4th programmer would say :) 15:14:04 davidw: if u show us yr problem, probably we could enlighten u 15:14:21 (and we also do some practice @ least :) 15:15:07 som phun: http://www.engrish.com/ 15:29:06 I440r: http://home.earthlink.net/~neilbawd/calencal.html 15:29:14 some calendar stuff 15:29:59 cool :) 15:37:26 whats the diff between I and R@ ? 15:37:37 depends on the forth 15:37:45 on isforth i has to do a calculation to get the index 15:38:08 because of the way do loops fudge the start and end index 15:38:30 ah, got it 15:39:59 any way to break out of loops? 15:40:03 yes 15:40:06 undo 15:40:34 undo doesnt exit the loop tho, it just removes the indicies from the return stack 15:41:04 fucking hell... ugh 15:41:10 this is insane 15:41:47 what is ? 15:41:57 you would do 15:42:07 Spock to Kirk -- "I am attempting to make a mnemonic memory circuit using stone knives and bearskins" 15:42:10 : foo 10 0 do i 5 = if undo exit then loop ; 15:42:28 spock could do it :) 15:42:38 mcgyver eat your heart out :P 15:42:39 spock would use scheme 15:42:41 no questions 15:43:06 and emacs 15:43:40 ugh 15:43:53 spock would have invented forth if it didnt exist already :P 15:44:42 no way, he is a scheme kind of dude 15:45:22 er a forther would know different :) 15:45:24 spock was a forther 15:45:27 very logical heh 15:46:53 logical yes - he would skip these low level things to concentrate on the logic of the problem instead of bit-twiddling 15:47:03 leaving that to the computer, which is good at it 15:47:15 spock twiddles bits in his brain :P 15:47:30 bit twiddling to a logic master is second nature :) 15:56:28 davidw: some example of handling lots of data on stack 15:56:29 : Fetch-Message-Digest ( -- e d c b a ) 15:56:29 4 CELLS Message-Digest + ( addr) 15:56:29 DUP @ SWAP CELL - ( e addr) 15:56:29 DUP @ SWAP CELL - ( e d addr) 15:56:29 DUP @ SWAP CELL - ( e d c addr) 15:56:31 DUP @ SWAP CELL - ( e d c b addr) 15:56:33 @ ; ( e d c b a) 15:56:37 15:56:46 : Add-to-Message-Digest ( e d c b a -- ) 15:56:47 Message-Digest ( e d c b a addr) 15:56:47 TUCK +! CELL+ ( e d c b addr) 15:56:47 TUCK +! CELL+ ( e d c addr) 15:56:49 TUCK +! CELL+ ( e d addr) 15:56:51 TUCK +! CELL+ ( e addr) 15:56:53 +! ; ( ) 15:56:55 15:57:30 i would use do loops ( addr ) 4 0 do i over + @ loop 15:57:42 erm make that i 4 * over + @ 15:57:42 heh 15:57:48 or cell * 15:57:50 if you insist 15:58:20 cell * is cells 16:09:20 i know 16:09:29 and i dont define cell or cell+ or cell* 16:09:35 its must more politicaluy correct bullshit 16:11:00 it aims compatibility & portability 16:11:11 but iknow u dont care of those 16:11:21 like i said - political bullshit :) 16:11:47 the overhead for writing it for the specific target is insignificant in forth 16:16:15 eh, u always think in small projects... 16:16:52 no 16:16:53 but, anyway, i some1 wants 2 run a 4th prg on other platforms 16:17:04 if its a LARGE project it needs to be redesigned 16:17:31 he probably dont want 2 rewrite or even understand it 16:17:52 eeh, dont b stupid, man! 16:18:06 there ARE large projects 16:18:28 exist 16:19:26 yea. and they all need to be redesigned heh 16:19:39 you break big problems down into lots of small problems 16:19:59 just think of a game, eg 16:20:07 thats a large prj 16:29:07 --- quit: davidw (Read error: 113 (No route to host)) 16:51:05 heh 16:51:31 sometimes opinion gets in the way of truth 16:51:31 hi 16:51:47 u mean what i was saying 16:51:58 it is opinion but im basing it on experience 16:52:18 there are a hell of alot of projects i have worked on that I could have coded in a 10th of the code 16:52:24 usually, it doesn't matter ... but sometimes it's disasterous 16:56:38 I think it amusing that you logged onto IRC and then immediately started disparaging OOP 16:57:03 because I had spent the entire morning mapping out classes for the PDA software 16:57:12 heh 16:57:30 oop isnt bad. not always 16:57:39 there are some parts of oop that i like 16:57:44 but i cant THINK oop 16:57:54 I just thought it amusing that you chose when you did to bring it up 16:58:20 heh 16:58:52 this channel often goes 4-6 months w/o mentioning OOP 16:59:07 I440r: tho, its worth learning OOP... 16:59:08 hehe 16:59:30 i tried. but i had the same reaction to it that ihad to c 16:59:35 the more i read, the less i knew 16:59:40 and the more i disliked what i read 16:59:45 i stopped reading 17:00:26 anyway - im gona go code the brains for my n^-1 thingie 17:00:29 I like the idea of a software entity that has it's own identity outside of the program in which it is placed 17:00:32 then i can release the sources heh 17:00:37 ok 17:00:53 been browsing for job 17:00:56 its depressing me 17:01:11 heh, don't lose heart 17:01:12 "real time embedded control applications visual basic programmers wanted" 17:01:13 ugh 17:01:25 HA! an oxymoron! 17:01:26 im starting to 17:01:31 definatly 17:01:42 i say OOP and real time are mutually exclusive 17:01:58 i even say embedded and C are mutually exclusive 17:02:02 never mind c++ 17:02:07 neway 17:02:15 yoiu should call them, "It's *REALLY* hard to do real-time programming until you dump microsoft windows." 17:02:24 off to cry over no job and code some useless bullshit :) 17:02:48 ive written plotter motor control program in 17:02:52 oop 17:03:04 sometimes im tempted to write these people some realy long detailing exactly how far up their asses they have their heads :) 17:03:09 i wrote, imean :) 17:03:17 :) 17:03:18 neway 17:03:22 nite nite :) 17:03:29 be well, I440r 17:03:37 but i think we should do some "contest" 17:03:41 --- quit: I440r ("abort" gotta code :)"") 17:03:42 in this area... 17:03:43 oh? 17:03:58 OOP vs. nonOOP? 17:04:00 :)) he has run away 17:04:01 in Forth? 17:04:06 yes 17:04:08 he was off-color 17:04:41 well, the non-oop stuff often ends up looking like OOP stuff w/o the encapsulation 17:05:03 * MrReach writes a book, "The care and feeding of your data structures." 17:05:27 aha, thats right :) 17:05:40 so its oop actually 17:06:05 no, encapsulation is a prerequisite of OOP 17:06:11 wo the help of any simplifing constructs 17:06:51 in regular forth, one has a data structure that is filled in, and then consulted 17:07:11 in OOP, that same structure still exists, but you can't get at it directly 17:07:32 hence you can't put garbage in it 17:07:46 (in theory) 17:10:00 --- nick: MrReach -> MrGone 17:19:45 --- join: qless (~cerberus@clgr000977.hs.telusplanet.net) joined #forth 17:21:13 --- part: qless left #forth 18:09:09 --- quit: Etaoin (Read error: 110 (Connection timed out)) 18:09:48 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 18:37:30 --- join: qless (~cerberus@clgr000977.hs.telusplanet.net) joined #forth 18:37:42 heya forthers 18:46:52 --- join: aaronl (aaronl@vitelus.com) joined #forth 18:47:04 --- part: aaronl left #forth 18:53:10 forthers? where?! 18:53:12 * futhin runs and hides! 18:53:40 * qless the Forth Column marches into openprojects and decrees a new law 18:55:22 The Forth Source LAW: Ye must code in blocks! 18:56:28 The Forth King: I am king of kings, look upon my works ye mighty and despair! 18:56:47 blah blah ozymandias blah blah 18:57:02 the Forth Estate 19:09:47 i don't know why i come on here 19:09:52 i'm just distracting myself! 19:09:54 heh 19:09:56 --- quit: futhin ("byebye") 19:48:29 --- join: TheBlueWizard (TheBlueWiz@ip-216-25-205-146.vienna.va.fcc.net) joined #forth 19:48:29 --- mode: ChanServ set +o TheBlueWizard 19:48:35 hiya all 19:48:57 --- nick: MrGone -> MrReach 19:49:06 hihi! 19:49:18 hiya MrReach! 19:49:22 whassup? 19:50:15 trying to get tcl/tk running on my pocketpc 19:50:40 what's new for you? 19:50:49 pocketpc is a WinCE thingie, right? 19:50:55 yup 19:51:13 otherwise prob wouldn't be able to run that language 19:52:06 I think I found a working packet sniffer for Win95...I tried windump, and it bombed...tried dasniff, seems to be working...plan to download onto relevant Win95 box now 19:52:37 heh, what a PITA for such a simple program 19:52:43 * TheBlueWizard nods re: pocketpc....he doesn't trust anything from M$ ;) 19:53:02 of course, embedding yourself into the OS so as to interecpt packets is anything but simple 19:53:49 well, it's been very reliable so far 19:53:59 yeah...but I'm desperate...I need to determine WTF the email client is sending out on one Win95; it is the only one that is working; the Linux version (fetchmail) doesn't work and I need to find out why 19:54:09 only crashed once, and that was when I ran some funky third-party software 19:54:18 (like I'm about to do now) 19:54:47 what's it connecting to??? 19:54:51 heh...yeah...M$ products tend to destabilize when third party software are added 19:54:54 POP3? 19:55:04 a POP3 server, yeah 19:55:23 what's not to work? the protocol is incredibly simple 19:55:49 heh, I can check POP3 by hand 19:56:04 I set up a test machine with Win95 installed, IE4 installed...could connect to Internet and browse alright just like my other Win95, but the email, configured the same way, doesn't work 19:56:27 I'm stumped at the moment (actually for months) 19:57:01 you're sure it's not trying to talk IMAP? 19:57:10 (is that the name of the other protocol?) 19:57:35 what is the server running on? 19:58:35 definitely not IMAP (the IE option panel clearly shows a POP selection versus IMAP) 19:58:53 no idea what ISP server runs on.... 19:59:18 I was thinking it might be an oddity at the server 19:59:39 funny that one machine can read it while others running the same software can't 20:00:04 you say one win95 can collect mail, and the win95 machine sitting next to it can't?? 20:00:42 yeah....I'm surprised...at first I thought it might be M$-related "trick"...but apparently it isn't that M$-specific stuff...hence the need for sniffing 20:00:51 erm ... might it be that the server is only allowing once connection from your IP ?? 20:00:51 that's right 20:01:21 I only have phone connection; no local networking at all (yet ;) 20:01:41 oh, so two at once is unlikely 20:01:41 so to use the other machine I must move wires around 20:01:58 that's WIERD 20:02:15 thank god I don't have that problem @:^> 20:02:17 yup...weird is the operative word 20:02:32 heh...but at least I'm learning!!!! 20:02:58 yeah, learning that M$ networking is short on tools 20:03:03 nothing forces one to learn a lot like encountering an unusual and weird problem! 20:03:36 that's true 20:03:48 yup...M$ tools are pretty lame...that's why third party tools are on market... :P 20:04:09 I'm learning that software installation on HP Jornada's is not as straightforward as on Win98 or Linux machines 20:04:09 * qless hears the name of the Beast and spits 20:04:29 by the way, I can't use Ethereal on the test Win95 box cuz it got only 256 color video...hehe 20:05:03 heh....that's why I'm avoiding M$ products like plague ;) 20:05:24 I like the pretty windowing 20:05:35 but it crashes all the time 20:05:48 so I use Linux on critical tasks 20:06:57 heh...there's a saying: "The best lies are gift wrapped ones" :) 20:07:04 I'd like to hear MS say "For Win02, the goal is to put the core OS in two megabytes of disk space" 20:07:51 anyway, dinner time 20:07:58 good luck with the mail thing 20:08:03 --- nick: MrReach -> MrGone 20:08:15 put that on just one floppy....hey, QNX pulled off this stunt (go to www.qnx.com, and somewhere there is a demo image) 20:08:41 qnx = scaleable. doze = disposable 20:08:52 HAHAHA! 20:09:00 :-) 20:10:39 hehe 20:49:04 gotta go...bye all 20:49:13 see ya bluewiz 20:49:18 bye qless 20:49:24 --- part: TheBlueWizard left #forth 21:14:31 * qless looks around 22:39:31 --- part: qless left #forth 22:39:54 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 23:26:49 --- join: _MrReach_ (~mrreach@209.181.43.190) joined #forth 23:27:02 --- quit: MrGone (Read error: 104 (Connection reset by peer)) 23:45:42 --- quit: onetom (Read error: 110 (Connection timed out)) 23:59:59 --- log: ended forth/02.03.27