00:00:00 --- log: started forth/02.08.25 00:37:33 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 00:54:06 --- quit: sif (Read error: 110 (Connection timed out)) 00:57:30 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 01:02:16 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 03:20:55 --- quit: marekb (Read error: 113 (No route to host)) 05:24:41 --- quit: Mongrel ("BitchX: now Y2K compatible!") 06:28:20 --- join: tathi (~josh@ip68-9-68-213.ri.ri.cox.net) joined #forth 06:30:51 juuuj, ez mikor a kis kepeket mutatja, mar akkor a nyagyokat szedi le.. 06:31:05 sorry 06:32:29 es most 1 48mega ramos laptopon kinlodok 07:24:39 ? 07:24:49 onetom: good morning 07:24:53 orngetide: you there? :) 07:26:45 hey futhin 07:27:16 hi tathi 07:27:33 what's happening? 07:27:59 check out my forth website (it's new and still being developed) http://sempernity.org/forth/ 07:28:11 messing around with irc log processor 07:28:17 and today i started figuring out postscript in forth 07:28:32 cool 07:28:47 yeah, I was looking at the site a bit the other day when you gave the url for your irc log processor 07:28:54 ah 07:28:57 :) 07:29:24 it _may_ have been updated! you should check every hour on the hour to make sure you catch all the updates! ;) 07:29:31 but I was kind of in the middle of doing 2 other things, so I didn't really form an opinion :) 07:29:45 ahh.. no feedback for me? :(((( :P 07:31:14 not yet... 07:32:19 well the code is still in progress 07:32:30 i haven't actually bothered running it 07:32:39 well, except for fragments of it 07:34:47 I was just reading it, I don't have a normal forth installed on this machine 07:36:05 yeah 07:36:46 hmm, I'd have to disagree with "Virtually all modern CPUs are designed around stacks" 07:37:33 that's just an excerpt from some page 07:37:37 i ripped it out and put it up there 07:37:41 and forgot the page 07:37:55 so i can't give credit until i go find that page again 07:37:55 heh 07:38:17 tathi: x86 asm is a little stackish 07:38:51 forth takes advantage of that, and makes it visible.. forth is close to the metal because it doesn't cover up the stack that's inherent in asm 07:38:52 like 07:38:58 I guess 07:39:00 mov ax, 1 07:39:04 mov bx, 2 07:39:06 add ax, bx 07:39:12 that's kinda rpn/stackish 07:39:35 no, not really... 07:40:03 heh, yes, i think that's what forth really does.. it just reveals the inherent stack 07:40:06 like 07:40:14 you have primitives in forth 07:40:17 and they are just blocks of asm code 07:40:22 and they just get plugged in 07:40:22 I mean, it's not algebraic, but assembly language never is 07:40:24 easiily 07:41:10 --- join: sif (~sifforth@ip68-9-70-120.ri.ri.cox.net) joined #forth 07:41:10 Type sif: (or /msg sif to play in private) 07:41:12 someforthword someotherforthword .. blocks of asm just get cut'n'pasted at the source level.. 07:41:37 well, ok, if you want to look at it that way... 07:41:56 the rpn & stack came about _because_ chuck moore didn't hide the stack nature of asm.. forth takes advantage of it.. 07:42:20 yeah, i have my perspective, and i'm gonna write it all up as clear as possible on the site ;) 07:43:49 I just think modern processors aren't particularly well suited to run forth 07:44:08 they discourage factoring, because a subroutine call isn't a particularly cheap operation 07:45:14 the RISC-like ones (PPC, MIPS, Sparc?) have tons of registers that forth has no easy way to take advantage of 07:45:15 true.. but isn't that why we have ITC and DTC forths? 07:45:35 hm? how many registers does PPC have? or MIPS? 07:46:15 PPC has 32 general purpose registers, plus some special-purpose ones. MIPS I don't know that well 07:46:41 x86 doesn't seem to be too bad for forth, I'll grant you 07:46:42 well the data stack could use a bunch of general purpose registers.. and the return stack too.. 07:46:59 --- join: Herkamire (~jason@ip68-9-70-120.ri.ri.cox.net) joined #forth 07:47:01 that gets complicated though 07:47:12 hi herkamire :) 07:47:40 tathi: yeah, the code gets complicated, but its still faster than putting most of the stack in memory 07:47:44 i would hope :) 07:47:55 yeah 07:47:59 --- quit: proteusguy (Read error: 110 (Connection timed out)) 07:48:26 but whoever is writing the forth system has to do all that extra work 07:48:58 yeah 07:49:02 on a chip that was really suited to forth it would have the stack in registers already, and you wouldn't have to worry about it 07:49:16 you are coding a colorforth for ppc? how many registers are you using for the data stack and return stack ? 07:49:40 I'm just using a stack pointer and top of stack register for the data stack 07:49:47 and just the pointer for the return stack 07:49:57 whoa.. 07:50:09 anything more than that starts getting complicated. get the thing to work first 07:51:07 are you using all the registers available or are some going unused? 07:51:26 a bunch of them are going unused 07:51:43 Linux/C calling standards dictate some of that 07:52:12 first 13 registers already have standard meanings 07:52:43 I think if I use syscalls most of them don't get messed with, but I haven't bothered verifying that yet 07:53:35 I _am_ using registers for a lot of stuff: 07:54:23 data stack pointer, top of stack, return stack pointer, end of heap pointer (HERE), ptr to end of dictionary we're compiling into, ptrs to regular and macro dictionaries to search 07:54:31 linux/c calling standards ?? what does that have to do with colorforth 07:54:49 oh, and address register and source code pointer 07:55:26 ptrs to regular and macro dictionaries? i guess that's a colorforth thing? 07:55:51 yes, colorforth doesn't have immediate words, instead it has two dictionaries 07:56:23 as for calling standards, if you want to call any system services, you have to accept that they have their calling standards, i.e. they may trash a bunch of registers 07:56:43 that's true whether I'm running under linux or booting up under OpenFirmware 07:58:20 if I (as I eventually hope to) wind up burning this thing to a ROM and replacing OpenFirmware, _then_ I can do anything I want with the registers 07:58:33 but until then, have to play by the rules 07:58:50 and I still have 9 or 10 registers I'm not using anyway 08:59:06 --- join: proteusguy (~proteusgu@24-197-147-197.charterga.net) joined #forth 09:15:12 --- join: I440r (mark4@pool-63.52.217.107.ipls.grid.net) joined #forth 09:15:37 --- quit: Herkamire ("leaving") 11:14:29 --- quit: I440r (Connection timed out) 11:14:48 --- quit: sif (Read error: 104 (Connection reset by peer)) 11:14:58 --- join: sif (~sifforth@ip68-9-70-120.ri.ri.cox.net) joined #forth 11:14:58 Type sif: (or /msg sif to play in private) 11:15:20 sif: : evil-virus ." I love you!" ; evil-virus 11:15:21 Robert: I love you! 11:30:19 --- join: tcn (tcn@tc2-login2.megatrondata.com) joined #forth 11:30:56 Hey tcn 11:31:11 hey 11:34:07 well i finally set up to record MP3's 11:34:44 http://tunes.org/~tcn/pub/YankeeSquirrelHunter.mp3 11:35:04 absolutely nothing to do w/ forth :) 11:38:56 --- quit: tcn ("Leaving") 11:56:19 omg! sif loves you robert!!! 11:56:24 it's sentient! 11:56:27 you MUST get married! 12:08:55 sif: :NONAME + . ; 52 48 ROT ROT EXECUTE 12:08:56 OrngeTide: Word not found: :NONAME 12:09:02 bah! 12:09:20 how can you do anything clever without :NONAME ? 12:09:38 sif: 52 48 + . 12:09:39 OrngeTide: 100 12:09:57 sif: 65536 DUP * 12:09:58 OrngeTide: Word not found: DUP 12:10:07 sif: 65536 dup * . 12:10:08 OrngeTide: 0 12:10:15 sif: 65536 . 12:10:16 OrngeTide: 0 12:10:22 a 16bit forth eh? 12:10:43 sif: 65535 dup *D .D 12:10:44 OrngeTide: Word not found: *D 12:10:50 sif: 65535 dup *d .d 12:10:51 OrngeTide: Word not found: *d 12:10:59 * OrngeTide sighs. 12:39:24 futhin: Marry a forth bot? Weee, you really ARE a geek. 12:40:55 OrngeTide: sif is just a toy forth herk was writing. he made it into a bot because that's what we were talking about on the channel at the time... 12:43:24 sif: : self ." I'm a toy." ; self 12:43:25 Robert: I'm a toy. 12:47:02 --- quit: tathi ("leaving") 13:37:00 --- join: tcn (tcn@tc4-login34.megatrondata.com) joined #forth 13:37:41 Hi tcn :) 13:44:04 hey 13:46:29 Hmm... 13:46:40 Is there any standard word to input a string from stdin? 13:47:06 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 13:49:08 expect or accept 13:49:36 accept is the ansi standard 13:49:57 So, of course IsForth uses excpect. 13:50:00 Hrm. 13:50:08 What's the stack diagram for it? 13:50:20 dunno 13:50:43 i think expect reads into the TIB 13:53:33 --- quit: sif (Read error: 110 (Connection timed out)) 14:03:30 hi 14:05:26 tcn: is that u who plays the fiddle? 14:06:18 coz, thats cool 14:10:22 i also would love 2 give u some samples, but can find any 14:10:46 im not so diligent, anyway 14:11:01 u play better than me ithink 14:11:10 heh 14:11:35 howdy :) 14:12:09 yeah, that's me fiddling 14:12:17 tired. a lot. 14:12:24 http://sec.dunasoft.com:9673/forth/ 14:12:41 yup.. same here and it's not even night time 14:13:35 oh cool, our very own wiki :) 14:13:40 im experimenting wikis these days 14:14:17 actually its the property of the company dunasoft im working 4 14:15:10 but im the admin of that machine. its a development box what is a secondary name server otherwise 14:15:41 id like every1 here 2 use that wiki 4 contributing 4th example codes 14:16:51 how do u like that snippet? 14:17:08 im also working on the next example 14:17:39 what also does the same - dumb copying - but line wise 14:18:19 then id like 2 analyze the results 14:20:10 eg, the next program is more factorized 14:20:37 and the naming of the words has changed a bit 14:21:00 cool 14:21:04 id like 2 allow ppl 2 see the flow of sw development 14:21:18 2 see that what chuck always just talks about 14:21:28 but can never show 2 us 14:21:41 he only shows just the result 14:22:08 what is perfect of course but no1 can imagine 14:22:46 who did it look like when it wasnt perfect 14:23:16 --- join: air (~cria-user@12-254-199-50.client.attbi.com) joined #forth 14:23:23 im also try 2 test those ... well 14:23:33 whois adam marquis? 14:23:51 those statements what make many ppl nervous 14:24:38 like: a 4th programmer can solve the problem in 1/10th of the time 14:24:56 heh 14:25:06 air: i dont know. never heard of him. probably u r... ;) 14:25:16 hey, sunsite.unc.edu is back.. it was gone, right? 14:25:24 he said he hangs out here 14:25:26 tcn: i havent experienced that yet.... :) 14:25:50 and he has a 400 byte forth compiler 14:26:13 tcn: it took me roughly a day 2 discover how 2 read ahead in the std input stream 14:26:30 air: really? and? 14:27:01 air: i havent ever seen him here yet 14:27:13 k 14:27:27 don u know his nick by chance? 14:46:15 later.. 14:46:17 --- quit: tcn ("Leaving") 15:16:24 --- join: Speuler (l@62.206.56.189) joined #forth 15:16:37 g'day 15:23:12 --- quit: Speuler (Remote closed the connection) 16:50:45 --- quit: Fractal (Read error: 110 (Connection timed out)) 16:59:05 --- join: CrowKiller (Forther@Ottawa-HSE-ppp3653919.sympatico.ca) joined #forth 17:04:32 --- join: Fractal (qzgp@h24-77-171-228.ok.shawcable.net) joined #forth 17:15:10 http://squeak.org/images/3D_large.gif -- a smalltalk example. the text in bold looks similar 2 4th.. :/ 17:18:54 cant see it, too pixelized ;p 17:20:27 im trying to build myself a cranial electrotherapy stimulator 17:21:14 labeled at some places as the first "digital drug" 17:22:03 saw only one machine for recreational purpose: www.voodoomachines.com, and its reviewed in a canadian underground e-zine 17:22:59 K-1ine? 17:23:14 I've got an article in that zine too. 17:23:38 thats it ;p 17:23:51 Challenge Response Authentication for Dummies. :) 17:23:53 That's mine. 17:23:57 great! 17:24:00 Theclone and I are old pals. 17:24:40 so did you saw "the machine" in action, did you tried it? 17:24:50 The voodoomachine? No, never. 17:25:06 Nor do I have any particular desire to. 17:26:39 kk, anyway I'm glad to know you are part of that zine, the world is a small place 17:27:03 Yeah, no kidding. 17:27:05 You from Canada? 17:29:09 quebec 17:29:19 now im an appartment near Ottawa 17:29:26 Neat. BC, here. 17:29:37 im glad to see canadians can do good ezines ;p 17:29:46 squeak has email, telnet, irc, browser apps and full VM simulation frameworks 4 various OSes.. 17:30:03 we should make sg similar, but in 4th 17:30:12 With a few notable exceptions, the ONLY good e-zines seem to be Canadian. :) 17:31:10 it has a very simple but still attrative gui.. its a good example 2 follow, ithink.. 17:31:15 Well, I'll get right on that... 17:32:05 ah, and it also has an own wiki, named - guess how - swiki 17:33:02 http://www-sor.inria.fr/~piumarta/squeak/devel/telnet2.gif 17:33:06 * CrowKiller is looking at squeak.org 17:33:31 id b so happy if i could reproduce the same interface on top of a forth vm.. 17:34:58 i have a vm hybrid of c18/aha, would be glad if I could develop a good gui on top of it 17:35:21 i only have the compiler, no native editor 17:35:42 i can only do sourceless programming, wich i dont intend to do ;p 17:36:31 1 17:36:38 Ignore that. 17:38:23 they state Slang is a subset of smalltalk, however i always knew its sg like 4th.. 17:43:24 hmm.. it talks about: 17:43:29 What is this "4th" thing you keep talking about? 17:43:50 http://www-sor.inria.fr/~piumarta/squeak/devel/telnet2.gif 17:43:54 oops 17:43:58 One can make changes immediately and without needing to see or deal with any language other than Smalltalk. 17:44:12 bit-identical images 17:45:03 ... manifest in an image file ... extreme portability and sharability. ... 17:45:04 Any image file will run on any interpreter even if it was saved on completely different hardware, with a completely different OS (or no OS at all!). 17:45:55 Hey, it's just like perl, python, java, etc! 17:46:03 these r the features a 4thOS should also know... 17:46:09 Fractal: why? 17:46:22 the aha tokens that my compiler take as "source" can enable you to do exaclty that 17:46:59 Well, the byte code/source is portable across many architectures and OSs. 17:48:26 CrowKiller: i believe u. but this is not a big deal in itself. the big deal is 2 implement a full production environment on top of that. do u have such env? iguess u dont have 17:50:03 Fractal: it is better than all the above, coz it has been written in itself so it can b simulated so analized &debugged inside itself 17:50:21 it seems pretty reflective... 17:51:07 To be honest, properly written C code is probably the best chance at portability anyone has. 17:51:57 That can run on 4 different OSs? What about the other 100 or so? 17:52:24 However, I can't stay. Have to reinstall debian. Again. :( 17:52:33 Lat0r. 17:52:38 --- quit: Fractal ("BitchX is a flavored condom, all the women love its taste") 17:54:34 Official standards and product support are the enemies of change. 18:06:16 wow.. it works immediately. and it just looks like as shown on the pictures. and its small and fast. cant believe.... 18:06:57 :D it also handles the wheel of the mouse somehow 18:17:44 --- quit: proteusguy (Connection timed out) 18:41:44 i only need an editor and my project will be finished 18:42:17 ill try squeak, maybe that the thing i was searching to implement my editor on 18:45:31 maaaaaaaaaaaaaaaaaan...... 18:45:50 this squeak is a miracle.. 18:46:05 air: you probably were looking for crowkiller, he has the 400 byte forth compiler 18:46:13 u can just do everything in it uve ever imagined in ur life.. 18:46:21 u can rotate any apps 18:46:21 that's pretty much what i'm looking for 18:46:51 it has midi and waveform editors 18:47:15 all in source^ 18:47:16 ?? 18:47:21 graphics, desktops, object browser, scripting ... 18:47:25 sure 18:48:02 and its in 16M 18:48:08 or 30M w sources 18:48:24 great! i think im gonna like it very much 18:48:47 the only throwback: its smalltalk :) 18:49:21 but incredibly amusing attractive charming magnificent... 18:49:28 hehe ;p but its a model for my source only system, ill try to put my compiler into the picture 18:49:34 futhin: try it! immediately! now!!!! 18:49:40 and forth by the same way ;p 18:49:49 onetom: i tried squeak a long time ago 18:49:57 don't ping me 18:49:58 i'm not lagged 18:50:01 futhin: then, try it now :) 18:50:04 naw 18:50:18 ok, just i dont get ping replies.. 18:51:46 imean, im not getting replies tho i usually do get 18:53:13 squeak is an ugly language, but it does have lots of nice features.. gui, sockets, etc.. and that's the level we need to get forth to 18:53:24 futhin: now squeak is just definitely the thing we were all dreaming of, ithink 18:53:43 i was dreaming in forth ;p (readable source) 18:53:44 sure! exactly! 18:53:59 thats why we have 2 analyze squeak 18:54:23 CrowKiller: sure sure, the lang itself is not our favourite 18:54:27 but still 18:54:38 the results r astonishing 18:55:15 whoaaaaaaaa!! 18:55:20 LOL 18:55:21 yes? 18:55:28 :) 18:55:35 i clicked the world of squeak 18:55:41 and the music generator 18:55:43 lol 18:55:50 how that can be called?? 18:56:02 ??? 18:56:03 url? 18:56:05 its too much for me already 18:56:18 world of squeak then Music 18:56:18 or u r already running squeak 2? 18:56:23 thats the url ;p 18:56:28 i downloaded it 18:56:42 hrm. i'm bored. i should just write a forthOS. cuz that's what i really need. 18:56:51 ah, yeah, thats it 18:57:14 i think i'll boot into vesa framebuffer mode only on my OS. 18:57:19 i also like LOL when i pressed the play button :) 18:57:38 OrngeTide: have u EVER tried squeak? 18:57:45 orngetide: 18:57:45 that way i can render asian fonts. actually i found GNU Unifont. which is a free unicode bitmap (not vector) font. has almost all the glyphs finished. 18:57:47 try it ;p 18:57:51 onetom, no. is it good? 18:57:54 OrngeTide: if u r boared give it some minutes and try it 18:58:00 onetom, maybe i will. 18:58:41 OrngeTide: now! its just some mins, no more 18:58:45 OrngeTide: awhile ago you said you would probably do a forth os using the microkernel model, but you suggested that the microkernel model goes against the forth philosophy.. i don't think that's true :P 18:58:47 i think it'd be easier to write a forth as it's own kernel than what i'm working on now, which is a forth that is still very forthlike but written in C. :( 18:59:02 onetom, well i don't have a machine i can boot it on. my gf stole my monitor. 18:59:18 OrngeTide: and u gonna fell off the chair, unless u r sitting on the floor, i deliberately sure of it 19:00:02 futhin, well all the cool forths use blocks rather than a filesystem with paths and things.. and directly call things. microkernels use message queues. *shrug* 19:00:15 onetom, i'm sitting on the couch with my laptop:) 19:00:19 OrngeTide: ouch, watta gf 19:00:32 onetom, well her monitor went all funny and stopped working. :( 19:00:36 OrngeTide: what comp do u use 4 ircing now? 19:00:41 laptop. 19:00:50 what kind of laptop? 19:00:55 linux 19:00:58 ram hdd cpu ? 19:01:04 that should also work 19:01:12 how wide is ur net conn? 19:01:18 64Mb ram, 4Gb hdd, 600Mhz cpu. 19:01:22 about 180kbps. 19:01:26 oooo, just like mine 19:01:41 HP Pavilion N5135 19:01:42 except it has 48M ram & 10G hdd 19:01:54 asus 19:01:55 yah. i should upgrade my ram sometime. all my other machiens have at least 512Mb. 19:02:03 --- join: proteusguy (~proteusgu@24-197-147-197.charterga.net) joined #forth 19:02:05 bah 19:02:16 i could be using my iBook instead. :) 19:02:18 i have 32 megs of ram, p133mhz computer, 40 gig hdd 19:02:20 and it's all i need 19:02:28 eh, u gonna forget the upgrade if u try squeak ;p 19:02:30 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 19:02:35 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 19:02:47 futhin, yah. i just bought a bunch of ram cuz the prices dropped for a while. i got 1.5Gb of ram for $90. 19:02:50 i actually have 128 megs of ram, but i'd need to upgrade the mobo, and if i were to do that, i'd buy a new cpu & case 19:03:09 OrngeTide: squeak also has a linux version 19:03:19 ah. 19:03:28 OrngeTide: tryit! tryit! tryit! i beg u! plzplzplz 19:04:03 futhin: yeah yeah the usual stroy ... but try squeak!!! it terribly rox 19:04:25 i'm too drunk to download! 19:04:29 * OrngeTide tips. 19:04:47 squeak is butt ugly too 19:04:55 how did they achieved so much? 19:05:05 easy 19:05:06 they coded 19:05:20 futhin: it also has sg resembling to our imaginary FML... nah? still not interested in it? ;p 19:05:34 forth coders don't really code that much as far as i can tell :/ 19:05:39 only a handful of forth coders code a lot 19:05:46 the rest are just lazy bums or something 19:05:49 CrowKiller: what is ugly about it? 19:06:14 squeak was probably developed by a quite a few people 19:06:16 i'm a C programmer by trade. i don't code much at all. i mostly go to meetings and write design papers at work. 19:07:16 all: all of its sources cm 2 b 14Megz... suspiciously small, isnt it? 19:07:23 hrm. i wish i had another CRT. i want to put something on this 4Mb flash drive i have and devel on that. it'd be pretty fun to code on a machine with no diskdrive:) 19:07:24 14 megs is a lot 19:07:27 it really needs forth ;p 19:07:37 14Mb is enormous! 19:08:20 my forth OS is going to be full of games. cuz that's what makes an operating system succesful. :) 19:08:23 OrngeTide: squeak seems 2 work on top of a single image -- global address space... 19:08:34 i'm going to have asteroids and missle command and solitaire. :) 19:08:58 onetom, oh neat. my friend's lisp OS is like that. global address space and no file system. just a 4Gb "core" 19:09:06 the entire system is like mmaped to disk. 19:09:25 OrngeTide: 14M has the vm, the apps, snd, gfx, net ... so calculate them all.. 19:09:52 sound module is powerful 19:10:21 orngetide: i want to code a general purpose forth os (aka, window & linux replacement), kc5tja wants to code a forth os to make the perfect os for himself, onetom wants to code a forth os too.. you want to code a forth os too.. we all should share our design ideas and try to come up with something we can work on together 19:11:05 futhin, yah. we should. 19:11:22 i have a mailing list server on my box. i can just set that up and we could bounce ideas back and forth and trade code:) 19:11:27 I think I made something to consider: my silly 400 bytes compiler is truly one half of the system 19:12:09 crowkiller, a 400 byte compiler? neat! 19:12:15 you could fix that in the boot sector :) 19:12:16 for x86 19:12:18 s/fix/fit 19:12:25 yeah that was the goal ;p 19:12:29 source is tokenized too 19:12:32 wow. 19:12:44 so i need a >source encoder> or simply a scriptable editor 19:12:47 you should put it up some place so people can check it out:) 19:12:47 to do the conversion 19:12:54 neat:) 19:13:41 its compiling about 30 no operand (where possible) instructions to implement a fully functionnal c18 vm on top of x86 19:14:30 oh. neat 19:14:38 the only drawback is that: The size could be reduced maybe by a clever unpack at runtime system, it can compile one program of 128 referenced words maximum 19:15:07 the dictionary is dynamic and built at compile time only, its not stored in the source 19:15:16 searched at edit time only 19:15:33 makes sense. hrm. 19:15:34 for x86 my goal is to come with a neat editing system 19:16:06 neat, in the abysmatic minimum of bytes sense 19:16:08 ;pp 19:16:29 extreme simplicity is the key objective 19:16:55 i have that to propose for the global forth project ;p 19:17:12 crowkiller, you could be evil and write a regex system and just make it command-line like 'ed' 19:17:14 enhancements are welcome 19:17:54 truly powerful I know ;p 19:18:13 extremely simple for anyone to program using it too 19:19:24 the if are compiled as static "jnz $+7" 19:19:56 OrngeTide: squeak has: samegame tetris crosswords freecell checkers 19:19:58 so the only syntax rule is placing a "call imm32" asm instruction after the if 19:20:26 onetom, woot! what did i tell you. a good OS needs games:) 19:20:55 squeak is fantastic, we can do it if we code on the same project 19:21:06 hrm. squeak.org .. this thing is pretty well established eh? 19:21:16 i mean a similar language based os 19:21:58 wait. squeak is smalltalk-80 ? 19:22:55 OrngeTide: dont worry about its smalltalkness. TRY IT 19:23:09 OrngeTide: wo any forehate 19:23:10 it will inspire you 19:23:13 onetom, i'm happy reading about it. has some neat features. 19:23:47 CrowKiller: u were telling nice things about ur 400B 4th or what 19:23:51 i'm more inspired by AtheOS. it's actually really nice looking and doesn't many drivers. (it uses BIOS32 drivers for most things) 19:24:04 CrowKiller: i still keep on backreading... 19:24:28 onetom: yeah, doesnt matter, since i dont have any editor lol ;p 19:24:39 OrngeTide: thats also nice, but its also just like any other ... well O S ... 19:24:49 while squeak is fully reflective 19:25:24 CrowKiller: dont mind the editor! we gonna solve that problem if u publish the system 19:25:57 onetom, what is reflective? 19:26:27 ok then I can send the source to anyone that can post it somewhere 19:26:46 damn the source is in the other hd! 19:26:57 i i cant deal with that tonight, school tommorow 19:28:17 does squeak have a webserver^ 19:28:18 ? 19:28:26 CrowKiller: tom@linux.gyakg.u-szeged.hu 19:28:37 CrowKiller: mail th e400B 2 there 19:28:55 okidooki 19:29:03 CrowKiller: im gonna publish it on: http://sec.dunasoft.com:9673/forth 19:29:09 i'll try to get it for tommorow 19:29:13 its a ZWiki 19:29:37 * onetom is gonna remind crow about it 19:30:23 never tried it 19:30:32 just registered for thw whole thing though 19:30:48 otherwise, it would b better if u could mail it now 19:31:01 ok i'll get the source by that hour tomorow 19:31:05 tommorow 19:31:05 coz i have time 2 deal w it now 19:31:07 k 19:31:26 that hour? what does it mean? 19:31:45 here its 22:43 19:31:52 registered??? ha? 19:31:54 33 19:32:00 34 indeed ;p 19:32:07 its 04:36am here ;p 19:33:09 lol 19:33:59 ok ill try to send it to you ASAIC 19:35:33 i would admire it :) 19:35:35 thx 19:37:14 futhin got the idea 19:37:19 we need to work togheter 19:39:34 futhin: http://sec.dunasoft.com:9673/forth/ppmcopy <-- this is the current status of my experiment 19:40:23 futhin: u can already draw some conclusions on coding style, word naming concepts, and factorization.. 19:40:59 CrowKiller: a wiki is a very useful and damn simple tool 4 collaboration 19:41:30 yeah the z in the zwiki, didnt know that was used for zope 19:42:43 futhin: i also try 2 keep the sources block sized (64x16) 19:42:54 is he sleeping yet? 19:43:30 naw, i was afk 19:43:57 CrowKiller: im developing a homepage creation automation tool 4 dumb users in zope nowdays 19:44:21 CrowKiller: im paid 4 it so its my main task for the following 2 months 19:45:06 futhin: the last code is incomplete yet 19:45:49 onetom: great! 19:45:50 Q: what text is written on a html coders grave? 19:46:15 CrowKiller: i know :) python is nearly as much fun as 4th 19:46:20 19:46:22 ;pp 19:46:29 CrowKiller: zope is also not a bad piece of construct 19:46:33 CrowKiller: yup :) 19:46:55 i think we should individually write up design documents for the forth os, and then combine them later on, etc 19:47:02 something like that.. 19:47:10 futhin: ABSOLUTELY u r right 19:47:12 some kind of framework to get started & to agree to what it should be 19:47:31 we should figure out the format for the design documents 19:47:34 so that it's consistent 19:47:36 and easy to read 19:47:41 instead of being rambling writing 19:48:04 futhin: w wiki its not a problem at all 19:48:32 wiki doesn't solve formatting & writing style 19:48:34 its the perfect tool 19:48:41 futhin: it does 19:48:45 wiki is great for html coding 19:48:54 i like writting ---- for a horizontal bar 19:49:05 look 19:49:39 CrowKiller: yeah but it didnt worked 4 me somehow.. im just a newbie 2 wikis uknoe 19:50:35 CrowKiller: and 4 the colorful sources i had 2 enable html mode and also had 2 disable STX :( 19:50:52 color wiki would be great 19:50:52 because of the
 tag
19:51:16  transparent wiki color text edition
19:51:19  color wiki would b just an over bloated thing
19:51:21  that would be my editor ;p
19:51:42  forthos design 1:   Well it should have a gui, and be as simple as hell, and have sockets.. and have jpeg viewer for pr0n.
19:51:43  forthos design 2:   
19:51:43  Lets agree that simplicity will result in the better os.
19:51:43  We can develop software metrics to measure the simplicity of the os.
19:51:43  The OS should be extended to provide many of the tools provided by current day oses, such as GUI, Internet, editor, etc  (Create list of tools)
19:51:50  there is html 4 that. thats ugly enough too
19:51:52  look at the two different designs
19:52:00  design 2 is MUCH MORE SPECIFIC
19:52:07  design 1 is more rambling
19:52:26  software metric for speed and size
19:52:31  that are the things that matters
19:52:38  sometimes to the detriemnt of one another
19:52:41  i am saying that each of us writes a design description of the OS, and does it in a specific, clear, and standardized manner
19:52:58  crowkiller:  no, simplicity is much more important than speed and size 
19:53:11  but speed and size are related to simplicity in some ways (not all)
19:53:17  futhin: go ahead and copy ur ideas directly into the wiki. now!
19:53:21  no
19:53:26  how fast is the wiki 4 ya anyway?
19:53:42  i think each of us should write up design descriptions individually, without seeing each other's design
19:53:57  it'll encourage more creativeness
19:54:04  and more originality
19:54:22  onetom:  don't be so obsessed about the wiki
19:54:36  lol, I want to be using colorforth and aha togheter seamlessly
19:54:44  crowkiller: that's fine!
19:54:56  you've got some cutting edge ideas
19:55:19  you've got some really cool ideas with the editor/code frontend for the compiler
19:55:28  i don't fully understand your ideas yet
19:55:35  because you aren't all that clear :P
19:55:37  futhin: http://sec.dunasoft.com:9673/forth/futhin
19:55:48  ok then ill shoot my source to onetom
19:55:50  futhin: thats all. c now how easy is it? ;p
19:55:51  and then ill write docs
19:55:53  ;p
19:55:53  crowkiller:  if you wrote down your ideas as clear as possible
19:56:02  that would be really cool
19:56:07  CrowKiller: wowowow!! that would b great!
19:58:17  that only c18 from chuck moore + aha from jeff fox ;p
19:58:20  lets see. what will i need for a forth bootstrap?
19:58:23  right under our very nose ;p
19:58:38  orngetide: what kind of bootstrap?  metacompiling or just booting up on the comp? :P
19:58:47  bootstrap has multiple meanings :P
19:59:05  futhin: metacompile. most of my bootstrap will be in asm i think.
19:59:23  i have a boot sector
19:59:24  cuz i need to jam the cpu into protected mode. i don't want to bother with silly 8086 addressing.
19:59:40  also laying somewhere in my old hd 
19:59:53  for the forthos, the machineforth virtual machine will be used i think
19:59:56  it was doing 32 bit flat pmode
20:00:38  and when the forthos is developed, the machineforth virtual machine could be modified to better run the forthos,  and then forthchips with the new machineforth would be made ;P
20:00:40  cool:)
20:01:03  futhin, yah! :)
20:01:24  although right now off-the-shelf processors are more cost-effective.
20:01:36  yep
20:01:47  hence the virtual machine
20:01:58  my system's aha inspired source format is truly extensible, you modify each primitives anytime
20:02:03  i'm more into native mode.
20:02:18  machineforth should be implemented in dos and/or linux
20:02:18  native mode?
20:02:27  virtual machines make people think of slow-ass java.
20:02:35  OrngeTide: what about hackin enth/flux
20:02:47  CrowKiller: native code i mean. as opposed to running under a VM.
20:02:57  OrngeTide: it has a so 2 say understandable & clean bootup
20:03:10  the vm we are talking about is the forth operations, you need to do them
20:03:12  onetom: i haven't found a system that meets my needs yet.
20:03:12  OrngeTide: and it also switches 2 graphic mode
20:03:27  i have weird ideas of what makes a good system though.
20:03:29  OrngeTide: but have u tried enth?
20:03:30  OrngeTide:  no, i'm not talking about "bytecode" "java" vms..  forth _is_ a virtual machine.. it's the language of an architecture
20:03:37  onetom, i didn't try it. i just read about it.
20:03:38  maybe my system is buggy
20:03:46  maybe it will need a redesign
20:03:51  OrngeTide:  simply implementing a forth implementation is creating a forth virtual machine!
20:03:54  futhin, oh. that kind of virtual machine. like a unix process is a virtual machine. :)
20:03:54  because i use to compile forth primitives
20:03:56  nothing extra needs to be done
20:04:02  a 6 bit index into a table of code
20:04:18  so maybe im out of bounds here
20:04:19  orngetide: then the forth os runs on top of the virtual machine, using the 27 primitives as the machine language
20:04:48  OrngeTide: eh.. u just read about... 
20:04:57  futhin, i'm aiming for a metacompile where i define like 2 words and the rest are just low-level "bootstrap" into the forth VM.
20:05:10  easy to get past that though
20:05:15  OrngeTide: HAVE a LOOK @THE SOURCES too!
20:05:25  onetom, why bother?
20:05:25  OrngeTide: dont want 2 try 2 reinvent the wheel
20:05:33  onetom, i'm not reinventing the wheel.
20:05:34  anyway i'll take one last look before sending it
20:05:39  nobody has made a wheel i like.
20:05:39  OrngeTide: coz ur life is also finite...
20:05:47  CrowKiller: k
20:05:48  so what i want has not been invented yet.
20:06:09  and half the time people write stuff that is kind of cool and that i could mold into something interesting then they go and make it GPL or something so i can't use it.
20:06:13  OrngeTide: sure but some segments of the wheel is already made well..
20:06:50  onetom, yah. 
20:06:54  OrngeTide: its some times requires less effort 2 fix the drawbacks instead of recreating the not perfect part..
20:07:14  what i really want is to do this on my sparc. but i think it might be wiser to do it on x86 first so more people could actually look at it.
20:07:26  OrngeTide: and the bootloader falls into this category... no need 2 reinvent
20:07:27  onetom, nah. i can bang out stuff pretty quick if i know what i want.
20:08:26  OrngeTide: and the results will b the same what is also written...
20:08:29  forth philosophy (and chucks) is that you should just do it yourself rather than waste the time trying to read out of date documentation and trying to understand code that was written with different requirements than you have.
20:08:44  onetom, nah. my results will be different.
20:09:04  for a bootloader
20:09:06  OrngeTide: CM also talks about code reuse... dont forget about it..
20:09:19  yah. he mostly refers to reusing your own code.
20:09:27  OrngeTide: i doubt it. not bootloader wise @least
20:09:39  CM likes to do everything himself. think of OK CAD and mup21
20:10:02  onetom, well i'll be using GRUB to boot my object files more than likely.
20:10:16  GRUB is nice if you tweak it right it'll even toss you into 32bit mode:)
20:10:28  OrngeTide: no, not just ur own. futhin, am i right? did chuck told about its worth 2 have a look @ others code sometimes then code it 4 urselF?
20:10:38  GRUB is fat.
20:10:54  so for development i'll be using GRUB. it's GPL though so i'll have to replace it eventually. but i hope to design and write my boot loader in my own OS using my own devel tools:)
20:11:13  the bootsector i can write it for you
20:11:16  CrowKiller: GRUB is bigger than some OSes i work on:)
20:11:39  well i have like 2 bootsector projects sitting in CVS someplace i wrote like 5 years ago to. *shrug* 
20:11:49  CrowKiller: well if i get something to work maybe you can write my bootsector:)
20:12:01  http://sec.dunasoft.com:9673/forth/futhin
20:12:06  updated, check it
20:12:28  eeeh... u love 2 argue about licenses instead of concentraing on the main problem...
20:12:51  futhin: hehe much nicer :)
20:13:26  the ONLY reason why i want to code is to create the applications i need, for myself..   but its such a pain in the ass
20:13:37  the languages, all the stuff that i need to code up, etc
20:13:58  i have like 6 personal applications i want to code up for my own personal use
20:14:02  i should be able to do this easily
20:14:13  that's the whole point of personal computers..  they are personal tools!
20:14:17  yeah me too i want to be able to code easly everywhere
20:16:51  my compiler is based on 8 bit tokens, too small to gain any speed, but very portable and capable.
20:17:33  on x86 pmode we would get lot nicer speed if the data was always dword aligned
20:18:16  but 8 bit is so sexy... i cant resist it lol ;p
20:19:17  loll
20:20:10  fucking dosemu thinks it has a right to change my bell frequency in X11
20:20:20  CrowKiller: send it then. hardly can reasist having a look @it
20:20:34  OrngeTide: such is life...
20:21:09  gimme a linux cdrom that got network access and i can get it back for you
20:21:12  oh well. at least it works well enough to code my OS :)
20:21:20  i tried to do that because i got no screens
20:21:32  i got an old system w/o case
20:21:39  i could plug the hd an upload it
20:22:01  i wanted to do that tommorow actually, but i got a fast connection and a burner
20:22:10  OrngeTide: fucking soulseek has decided 2 vanish 3Gigs of mp3 collected and selected carefully by hand by my gf during the last 1&half year..
20:22:19  better than that
20:22:31  ill take a look at it before sending it
20:22:34  ;ppp
20:22:54  CrowKiller: eh, dont mind it!
20:23:01  im sure im out of bounds to compile my different functions
20:23:08  CrowKiller: resend it later or just edit it anytime in the wiki
20:23:15  ill have to put an index table
20:23:22  so maybe the size will grow
20:23:25  no u dont have 2
20:23:33  u have 2 share it ;)
20:24:16  onetom, d'oh!
20:30:56  tommorow you'll have the source along with the partial documentation I wrote at the time; i actualy tried to be as clear as possible writing it
20:31:06  and i CrowKiller: great!
20:31:31  CrowKiller: so i can share it on the wiki, cant i?
20:31:43  CrowKiller: btw im gonna b away 2morrow
20:31:43  yeah sure 100% public domain
20:31:55  k then i ?
20:34:33  email for sure, wiki maybe ;p
20:35:46  CrowKiller: k
20:36:18  CrowKiller: i plan 2 visit my gf @the capital
20:36:51  kk!
20:36:54  CrowKiller: thats 3hrs by train. so i wont have time & wont have net access
20:37:08  CrowKiller: thats why i asked it so much now..
20:37:41  sorry, if i wasnt so lazy i would have unpacked it from the old hd the day i arrived at the appartment
20:43:59  today sucked
20:44:07  i was away from the computer too much to be able to code forth :(
20:44:31  i was gonna mess around with postscript in forth & quicksort algorithm
20:44:39  something very interesting!!!
20:45:03  the fastest quicksort algorithm is an iterative algorithm that USES 2 STACKS!!!
20:45:16  mannn..  it should be beautifully fast in forth
20:47:13  2 data stacks^
20:47:14  ?
20:47:51  CrowKiller: he did say DATA just stacks..
20:48:58  2 stacks
20:49:04  i haven't analyzed the algorithm yet
20:49:08  it's in pseudocode
20:49:12  and i'll try to translate it to forth
20:49:21  and see how it works out
20:49:30  i'm hoping it'll give me an "aha!" reaction ;)
20:49:50  because of the fact that it uses 2 stacks
20:53:11 * onetom looks @ CrowKiller & opens his arms wide..
20:55:56 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth
20:56:41  hehe ;p
20:56:51  i must go to sleep now
20:57:03  school in 6 hours
20:57:23  what is your email again onetom? its lost too far in the backlog
20:58:25  anyway i'll come back on the chan with it tommorow
20:58:29  see ya everybody
20:59:04 --- quit: CrowKiller ("chniak! (finally my compiler's getting some attention ;o)")
21:08:21  ... 5: Write the Smalltalk Primitive Method ...
21:08:46  squeak also has a lot of very nice documentaion...
21:09:21  its obvious we dont have 2 reinvent the wheel
21:09:37  there r a lot of things we can "steal" from squeak
21:10:19  the "7: Add an Entry to the Interpreter's Primitive Table" title
21:10:48  makes me believe that smalltalk is also built upon some kind of 4th actually..
21:15:12  of course
21:15:23  there are many things to "steal" everywhere we look
21:15:39  microkernel, postscript language, squeak, documentations, etc
21:15:41  :P
21:15:59  i'm in the process of stealing the postscript lang for forth ;P
21:16:04  the graphics toosl
21:16:05  toosl
21:16:09  tools*
21:18:50  once i figure out how to draw lines in forth then it'll be easy
21:19:05  but i'll probably delay on figuring that out heh
21:31:21  mmmmm
21:31:33  dont stumble in that obstacle
21:31:43  just simulate a canvas
21:31:47  its pretty easy
21:32:20  and use my ppm output words
21:32:49  200 w ! 200 h ! 255 maxval !
21:34:10  img-size img-alloc
21:36:51  hm, how would i simulate the canvas?
21:37:17  : pxl! ( b g r x y -- ) w @ * + dup dup + + ( 3 *) img +  swap over c!
21:37:34    1+ swap over c!  1+ swap over c! ;
21:37:57  then use pxl! 2 draw
21:38:15  why is w variable in pxl! ?
21:38:24  er
21:38:25  and finally say: img-size img>
21:38:30  nevermind
21:38:56  hmmmmmm
21:39:04  i'm not sure how close to stick to the postscript vocabulary
21:39:05  pixel offset on the canvas = x + y*w
21:39:45  its 2 early 2 think about such issues
21:39:52  just write what u can
21:39:59  onetom
21:40:02  then organize & rewrite later
21:40:08  there is a page space
21:40:09  and a user space
21:40:16  and you can save
21:40:19  the current user space
21:40:22 --- quit: Soap` (Read error: 104 (Connection reset by peer))
21:40:22  its better than doing nothin just dreaming..
21:40:23  and then you can do something like
21:40:32  10 100 rotate
21:40:35  and then draw a line
21:40:41  and then GRESTORE
21:40:49  and you are back to previous user space
21:40:51  without the rotation
21:40:56  right
21:41:04  and whats the question?
21:41:07  this makes it really nice to draw stuff at all sorts of different angles..
21:41:08  well
21:41:21  i'm trying to figure out how to represent the space
21:41:27  & how to save it, restore it, etc..
21:41:37  but mostly how to represent it
21:41:53  (it's not hard to save it or restore it when i know how to represent it..)
21:41:59  well, it depends on what would u expect from a "SPACE"
21:42:20  just create some structure
21:42:30  then a stack of that structure
21:42:54  and here u go, u have draw-space save/restore capability
21:43:02  shall i show it now?
21:43:28  sure
21:43:46 * futhin is reading some postscript pdfs to discover how they deal with the problem
21:43:51  k, then 1st tell me what r those 2 parameters 2 rotate
21:44:23 --- quit: ASau ()
21:44:59  no its just one parameter actually
21:45:06  360 rotate 
21:45:10  270 rotate
21:45:13  k
21:45:15  rotates by those degrees
21:45:21  in clockwise i think
21:45:23  so its an angel in degree
21:46:18  then lets say our "space" has rotation translation and stretch capabilities, right?
21:46:34  scale
21:46:34  yeah
21:46:38  then the structure would look like:
21:46:41  er
21:46:45  yes?
21:46:49  nm
21:47:13  0 constant +deg
21:47:23  4 constant +x0
21:47:25  4 constant +y0
21:47:32  8 constant +y0 *
21:47:46  ?
21:48:11  12 constant +x*
21:48:18  btw, postscript first draws out a path, before actually painting it
21:48:26  16 constant +x/
21:48:36  20 constant +y*
21:48:41  24 constant +y/
21:48:44  like:  100 100 moveto  100 0 rlineto 
21:48:46  doesn't do anything
21:48:57  but you add: stroke
21:48:59  and it gets drawn
21:49:13  and?
21:49:23  u can envision how does it work?
21:49:48  cant*
21:50:10  the path construction words just sets things up..  stroke puts them together
21:50:30  yeah. thats another stack
21:50:52  but i cant explain 2 thing simulteniously, so choose
21:51:00  which 1 would u like 2 hear about
21:51:30  neither
21:51:31  heh
21:51:36  :D
21:51:43  k, lets go 2 bed then
21:51:58  AAAAND dontforget2trysqueak
21:52:00  yeah
21:52:13  iwont talk 2 u until u try it :p
21:53:15  btw, do u know any "winning" strategy for samegame?
21:54:02  i haven't heard of samegame..  is it a clone of some other game?  does it have a different name ?
21:55:19  dunno. other name? doubt it..
21:55:46  but nevemind u gonna b able 2 try that also in squeak :)
22:03:12  hrm, my highscore is 1393
22:04:45  2450
22:08:58  in samegame?
22:12:30 --- join: marekb (~marekb@217.66.164.22) joined #forth
22:14:20  Good morning, #forth! :)
22:14:42  onetom: yeah i'm playing it now
22:15:10  i've got a whole string of interconnected blocks ..  1378 points total
22:15:12  available
22:15:16  i'm working on increasing that lol
22:21:36  nevermind
22:21:37  bedtime
22:22:58  Hah.
22:23:00  Good night.
22:23:05  You're in yesterday >:D
22:47:07 --- part: marekb left #forth
22:57:40  Hrm.
22:57:52  How does "case" work in ANS Forth?
23:59:59 --- log: ended forth/02.08.25