00:00:00 --- log: started forth/04.07.03 00:02:32 --- nick: lalalim_ -> lalalim 00:55:04 --- quit: crc ("Sleeping...") 01:16:02 --- quit: Herkamire ("bed") 02:44:17 --- quit: SDO (orwell.freenode.net irc.freenode.net) 02:44:17 --- quit: ChanServ (orwell.freenode.net irc.freenode.net) 02:44:17 --- quit: Fractal (orwell.freenode.net irc.freenode.net) 02:44:18 --- quit: ianp (orwell.freenode.net irc.freenode.net) 02:44:18 --- quit: skylan (orwell.freenode.net irc.freenode.net) 02:44:18 --- quit: cmeme (orwell.freenode.net irc.freenode.net) 02:44:18 --- quit: arke (orwell.freenode.net irc.freenode.net) 02:44:19 --- quit: Klaw (orwell.freenode.net irc.freenode.net) 02:44:19 --- quit: lalalim (orwell.freenode.net irc.freenode.net) 02:44:19 --- quit: onetom (orwell.freenode.net irc.freenode.net) 02:44:19 --- quit: qFox (orwell.freenode.net irc.freenode.net) 02:44:20 --- quit: slava (orwell.freenode.net irc.freenode.net) 02:44:20 --- quit: Tomasu (orwell.freenode.net irc.freenode.net) 02:45:19 --- join: ChanServ (ChanServ@services.) joined #forth 02:45:19 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 02:45:19 --- join: lalalim (~lalalim@pD95EAF14.dip.t-dialin.net) joined #forth 02:45:19 --- join: Tomasu (~moose@d66-222-216-222.abhsia.telus.net) joined #forth 02:45:19 --- join: slava (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 02:45:19 --- join: skylan (~sjh@vickesh01-4554.tbaytel.net) joined #forth 02:45:19 --- join: cmeme (~cmeme@216.184.11.30.unused.swcp.com) joined #forth 02:45:19 --- join: SDO (~SDO@68.170.20.201) joined #forth 02:45:19 --- join: arke (arke@melrose-251-251.flexabit.net) joined #forth 02:45:19 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 02:45:19 --- join: Fractal (jah@selling.kernels.to.linus.torvalds.at.hcsw.org) joined #forth 02:45:19 --- join: ianp (ian@inpuj.net) joined #forth 02:45:19 --- join: Klaw (~anonymous@ip68-228-92-218.oc.oc.cox.net) joined #forth 02:45:19 --- mode: irc.freenode.net set +o ChanServ 03:46:54 --- join: Robert (~snofs@c-bf5a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #forth 04:44:16 --- join: jdrake (irc_user@CPE00045afdd0e8-CM014410113717.cpe.net.cable.rogers.com) joined #forth 05:28:14 --- quit: jdrake (Read error: 110 (Connection timed out)) 05:50:19 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 07:07:23 --- join: MorgothDc (~morgoth@gw-bdi-3.ticom.pl) joined #forth 07:22:15 * Tomasu is back (gone 08:45:58) 07:23:43 Hi 07:43:22 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 07:50:42 so we're painting the house 07:50:48 and basically the whole house is white 07:51:19 so i was cleaning the new stairs (goddamn it was so dirty, mud and everything) and so i decided to make the stairs red 07:52:30 --- join: wossname (wossname@HSE-MTL-ppp61252.qc.sympatico.ca) joined #forth 08:00:04 --- join: randolm (wossname@HSE-MTL-ppp61911.qc.sympatico.ca) joined #forth 08:03:30 --- quit: wossname (Read error: 104 (Connection reset by peer)) 08:28:38 * Tomasu is away: store 08:43:03 * Tomasu is back (gone 00:14:25) 08:44:44 hi 08:55:28 --- quit: randolm ("!$%") 09:50:55 --- quit: MorgothDc ("the dance is held to the end ... when the shades of darkness transcend ...") 10:22:05 --- join: tathi_ (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 10:39:09 --- quit: tathi (Read error: 110 (Connection timed out)) 10:41:11 argh i wanted to talk to tathi lol 10:41:14 come back! 10:41:21 oh there he is lol 10:41:27 tathi you awake ? 10:41:36 yup, just finished eating. 10:41:49 I didn't quit -- must be issues with my connection grr. 10:42:00 you cant have one isforth word drop through to the next 10:42:15 where'd I do that? 10:42:29 in exec.1 10:42:38 shame on you! 10:42:39 :p 10:42:44 near the top i forget which words - give me the url to your dir and ill show yuoyu 10:42:52 oh. 10:42:53 duh. 10:43:05 i wanted to be able to do that originally but made a design change that made it impossible 10:43:12 yeah, gotcha. 10:43:21 you see where it is ? 10:43:49 yeah, ?exit and exit. 10:43:53 yes 10:43:55 thats it 10:44:00 do you know why that wont work ? 10:44:12 pointer to the nfa before the code 10:44:13 this is something you will need to know so its good that you dod taht :) 10:44:14 plus the bl nest 10:44:15 yes 10:44:28 I do know better. :) 10:44:46 that cfa-4 pointer to the nfa was the only way i could figure out how to get back to the nfa given the cfa 10:45:24 unfortunatly its a waste of list space in a turnkey. theres 4 more bytes used by every definition 10:45:36 but it simplifies the >name definition 10:45:48 right. 10:46:20 oh and im also thinking that i should make MY headers aligned too. that way there will be no difference between yours and mine 10:46:25 not on that level anyway 10:46:48 --- nick: tathi_ -> tathi 10:47:25 well...as long as you use name> it shouldn't matter. 10:47:48 true 10:48:03 Though there is one place in the find code that does it in asm. 10:48:18 if a user makes bad assumptions about my headers he can break if he compiles for your version heh 10:48:28 right 10:48:43 find HAS to have carnal knowledge of the header structure 10:49:29 oh. before I forget. 10:49:47 http://qualdan.com/forth/isforth/does-note 10:50:05 yes i saw that hehe 10:50:35 can you explain it to me? i dont know ppc asm (yet) 10:50:44 oh !!!!!! 10:51:00 your bl does a branch, it doesnt push the return address onto the actual stack! 10:51:05 yeah. 10:51:08 it puts it in the link reg :) 10:51:12 woohoo thats cool :) 10:51:13 yup. 10:51:26 built in top-of-return stack cache :) 10:51:37 i dont think that difference should affect things drastically 10:51:44 code should work in both places 10:51:58 however - theres a problem 10:52:03 maybe 10:52:20 in my x86 version all CFA's are exactly 5 bytes 10:52:28 a call instruction followed by the address 10:52:31 right 10:52:40 you might end up with variable width cfa's 10:52:44 gotta make sure you dont 10:53:18 is the bl xxxx 5 bytes ? 10:53:22 all ppc instructions are 32 bits. 10:53:35 the branch instruction has a 26-bit address field. 10:53:49 ok so your cfa's are all 32 bits ? 10:53:54 yup 10:53:54 4 bytes 10:53:59 ok/. thats NOT a problem 10:54:01 :) 10:54:06 Unless you need to branch farther than 64MB :) 10:54:22 well you DO have 500m of list space you know 10:54:44 and im trying to NOT limit people to 64k 10:54:54 so maybe thers a problem 10:55:20 one of the things on my todo list for when isforth is ready for it is to do a complete console mode web browser 10:55:32 then i want to make it work in a frame buffer the way links will 10:55:39 BUT i want to do ALL the code from scratch 10:55:49 also i want to develop a mud game 10:55:51 yeah 10:56:01 would be good if it could be a multi server mud game and do load balancing 10:56:14 500 MB of list space? 10:56:21 I missed that 10:56:21 look in isforth.asm 10:56:29 Thought you were allocating 1MB 10:56:32 er mo 10:56:37 im lying 500k 10:56:56 so 64m is not unreasonable 10:57:24 OK. 10:57:24 isforth.asm breaks out to 1 meg of space (that will be a metacompile config item tho 10:57:29 right 10:57:33 500k list space and 500k head space 10:57:50 I haven't really worried about the branch length limitation, given that I only have 128 megs of RAM on this machine :) 10:57:56 i might add a view field to head space 10:58:10 i.e. i might add a new field to the header structure 10:58:18 ok 10:58:21 hehe 10:58:26 your limitation is NOT unreasonable 10:58:40 so thes no problem - the problem is my memory lol 10:58:45 not yours :) 10:58:53 500 KILO not MEGA 10:58:54 duh 10:58:55 :) 10:59:46 this machie im on right now is on a very fat pipe. im going to have it on a static soon and ive already installed subversion 11:00:11 im going to put isforth in a privte subversion reposatory and i think the PPC version should go in its reposatory too here 11:00:32 the only ones with access (even READ access) to either one will be us 11:00:51 and ofcorse the released code can go on isforth.clss.net 11:01:20 how long before you have a running kernel ? 11:01:22 why restrict read access? 11:01:36 because there are things in my isforth directory that are as yet NOT released 11:01:39 Subversion is great :) 11:01:46 i want to spring them on people when they are ready hehe 11:01:51 i love subversion 11:02:12 its the only version control system ive ever enjoyed using 11:02:21 speaking of which... Herkamire, are you planning on upgrading yours anytime soon? :) 11:02:41 work was throwing out an old compaq d3eskpro with a p3, 64m of memory and a 10 gig drive 11:02:48 i snagged another 64m from another machine 11:02:55 put my own 30 gig drive in it 11:03:02 installed gentoo (stage 1 install) 11:03:13 then installed subversion 11:03:36 the version control system they use is called starteam (by starbase but now owned by borland) 11:03:48 this version control system has a habit of mashing on its own reposatories 11:03:58 i.e. makes them totally unuseable after a while 11:04:21 im going to maintain two reposatories at work. their starteam and my subversion 11:04:28 im going to subvert them eventually 11:04:59 tathi whats the url to your isforth port ? 11:06:05 I440r: I've been putting stuff at qualdan.com/forth/isforth/ for the moment. 11:06:46 ok cool 11:06:57 i have that bookmarked at work gut wanted it here too :) 11:07:12 i cant give you access to my subversion yet cuz im still on a private net 11:07:23 want to move to static ip ASAP 11:08:01 btw do you want me to explain my case statements to you ? 11:08:07 i see you skipped over docase hehe 11:08:07 Anyway...io.1 is fairly big, and I still have vocabs.1 left. 11:08:18 The rest looks pretty easy. 11:08:21 right. io.1 and compile.1 are the largest 11:08:38 I think I'm ok with docase. I was just being lazy and didn't want to work out register allocations. :) 11:08:45 heheh 11:09:04 your going to know MORE about the internals of isforth than anyone else soon 11:09:07 I left a bunch of the scan stuff (memory.1?) for later too 11:09:13 heh 11:09:22 you can help me rework the isforth.clss.net documentation :) 11:09:26 I'm learning lots of new stuff about the PPC architecture too. 11:09:27 you jsut volunteered :P 11:09:33 :) 11:09:51 yea. i saw that too :) 11:13:17 pick fetches the nth stack item, right? 11:14:24 because your comments say "push" 11:14:35 Oh, duh. 11:14:44 "push _copy_ of nth stack item" 11:14:47 never mind... 11:14:59 pick pushes a copy of the Nth item 11:15:07 1 pick is dup 11:15:09 2 pick is over 11:15:13 3 pick is pluck 11:17:37 OK...where else did I think the comments were wrong? :) 11:18:41 heh 11:19:26 ah, 2swap. think your comments in the code are switched. 11:20:06 2swap ( n1 n2 n3 n4 --- n3 n4 n1 n2 ) 11:20:08 xchg ebx, [esp+4] ;swap n1,n3 11:20:16 mov eax, [esp+8] ;swap n2,n4 11:20:40 xchg eax, [esp] 11:20:40 mov [esp+8], eax 11:21:27 i think your right 11:21:49 duh. n1 is deeper in 11:22:08 no biggie, but I sat there for a minute, going "Huh??" :) 11:22:15 hehe 11:26:04 --- quit: tathi ("Lost terminal") 11:26:29 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 11:29:33 And one more: 11:29:34 ; ( a1 n1 --- a1 a2 ) 11:29:34 code 'bounds', bounds 11:29:34 add ebx, dword [esp] ;get a1 + a2 in 11:29:34 xchg ebx, dword [esp] ;return start add at top of stack 11:29:49 stack comment should be ( a1 n1 --- a2 a1 ) afaict 11:29:59 right 11:30:21 write those down for me cuz i need to break out my laptop to make those fixes to the comments 11:30:27 and ill never remember it all lol 11:30:29 sure. 11:30:54 all my devel is on the laptop currently and im going to import it to subversion later today 11:31:06 i MIGHT remember but probably not heh 11:34:27 --- quit: Fractal (Read error: 110 (Connection timed out)) 12:00:44 --- quit: tathi ("work") 12:02:00 * Tomasu is away: movie (lion king 1 1/2 likely) 12:27:00 donde esta kc5tja? 13:11:16 * Tomasu is back (gone 01:09:16) 13:11:22 --- join: Fractal (jah@selling.kernels.to.linus.torvalds.at.hcsw.org) joined #forth 13:39:01 * Tomasu is away: finish movie 13:53:48 --- quit: SDO (Connection timed out) 14:19:32 --- join: TheBlueWizard (TheBlueWiz@pc97dn1d.ppp.FCC.NET) joined #forth 14:19:32 --- mode: ChanServ set +o TheBlueWizard 14:25:15 tbw!!! 14:25:22 jut stook delivery of my bed 14:25:31 still got no box spring or matress to put on it tho 14:27:01 hiya I440r!!! :) 14:27:28 hehe...my bed now has a couple of springs poking out :) 14:28:18 * Tomasu is back (gone 00:49:18) 15:08:12 ack 15:08:17 where the heck is sam :( 15:09:17 sam? 15:11:27 --- join: SDO (~SDO@68.64.143.12) joined #forth 15:12:10 kc5tja, maybe? 15:12:33 arke: A ham loses his old identity, and becomes his call sign. 15:23:33 well, we know him as kc5tja here 15:25:07 Yes. :) 15:25:31 * Robert is one of the few not using a nickname. 15:25:56 Which is good, because Robert is such a common name. 15:26:17 I'd never get it if everyone else didn't use more or less of nicks. 15:28:21 i'm not using a nickname either 15:29:09 * TheBlueWizard uses a nickname cuz his real name is sooooo boring :) 15:29:27 Is Slava really a name? :) 15:29:40 Maybw that's not a very polite question, but.. I've never heard it. 15:29:40 yes 15:30:01 its a russian name 15:30:07 shortened form of sviatoslav 15:30:33 That's what I'd call a nick name, but sure. :) 15:31:28 hmm :) 15:39:59 Robert: but is a real, a derived nick name not a fictious 1 15:40:11 diferance.. 15:40:12 I know. 15:40:34 I just reacted on the different meanings of "nick" IRC has brought. 15:41:46 "nick" is a broad term...basically meaning any embellishing that isn't identially to the actual name....example, Robert's nick could be Bob...or Rob...or Robbie 15:42:03 identically even 15:42:41 or pig .. or whatever.. (its not identical 2 the orig 1 ;) 15:42:43 Yeah. But I'm Robert, just that. 15:42:53 onetom: Hrmpf! 15:43:04 and nicks can go much farther....like Stone Cold Austin, for example 15:43:06 btw, nick itself is also a name.. the nick of nicolas is nick :) 15:43:30 Hehe. 15:43:34 yep 15:44:03 recursive definition? ;) roughly 15:44:08 Every other Russian seems to be called Nick, Val or Vlad. 16:02:21 --- join: jdrake (irc_user@CPE00045afdd0e8-CM014410113717.cpe.net.cable.rogers.com) joined #forth 16:05:30 --- join: SolarFire (SolarFire@pD9E59462.dip.t-dialin.net) joined #forth 16:06:00 * SolarFire greets 16:07:08 Hi SolarFire 16:07:10 And jdrake 16:08:17 * SolarFire is astonished 16:08:20 hi 16:08:53 Robert is *not* on a party tour? 16:08:59 ;-) 16:09:21 aloha Robert slava 16:10:08 ah, now.. 16:10:50 On a what? 16:11:02 Robert: you want to go to bed earlier from now on, right? ;-) 16:11:12 I do? Why? 16:12:02 don't you sigh lately that having enough sleep is sooo healthy? 16:12:23 s/don't/didn't/ 16:12:41 Hmm.. Not what I can remember, but maybe. I do get enough sleep. 16:12:48 jk nm 16:15:48 what's the latest news? 16:16:07 Some guy came up with a language he calls FORTH. 16:16:26 slava writing asskicking cewl editors, maybe? 16:17:30 Robert: oh. THAT i haven't heard yet.. 16:17:46 i'm trying to write a simple copying gc 16:18:02 gc ? 16:18:05 real coders dont sleep 16:18:07 or eat 16:18:11 \or have girlfriends 16:18:23 Robert: grabage collector 16:18:25 Ah. 16:18:30 and we CHOOSE to do this ??????????? 16:18:32 boggle! 16:18:40 --- join: Topaz (~top@spc1-horn1-6-0-cust217.cosh.broadband.ntl.com) joined #forth 16:19:13 I440r: ey, that's hawt.. 16:19:55 :/ 16:20:30 Some day the coders will take over. 16:20:40 And then the RL people will get what they deserve, FORTH. 16:20:59 god beware 16:21:05 sighs 16:23:31 don't you know about that plane w/ mswin autopilot? ... 16:24:03 oki that's not forth 16:24:44 but where are those decent forth flightsims? 16:25:02 is there any hope they will come at all? 16:29:40 i want a FORTH proc 16:29:57 assembly is so last-century ;D 16:30:13 ting and fox are selling such 16:31:25 are they expensive? 16:32:40 no, but that's relative of course. better have a look 16:34:04 http://www.ultratechnology.com 16:39:44 %$§"%$§" yes of course there is - so i thought 16:39:59 whatever.. cu 16:45:35 well, gotta go...bye all 16:45:39 Bye :) 16:45:52 bye Robert 16:45:56 --- part: TheBlueWizard left #forth 16:47:19 --- quit: jdrake (Read error: 110 (Connection timed out)) 16:52:23 --- quit: slava (Remote closed the connection) 16:53:40 SolarFire> fox? 16:54:02 oh 16:54:16 muh nm 16:57:25 --- quit: qFox ("this.is.not a.real.netsplit") 17:00:47 --- join: slava (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 17:07:50 --- join: lalalim_ (~lalalim@pD95EA9F5.dip.t-dialin.net) joined #forth 17:19:20 --- quit: lalalim (Read error: 110 (Connection timed out)) 17:24:27 what's a good name for a word that takes a word as input, checks if its immediate and executes it, or otherwise compiles a reference to it? 17:26:17 gerhkin 17:27:12 --- join: jdrake (irc_user@CPE00045afdd0e8-CM014410113717.cpe.net.cable.rogers.com) joined #forth 17:29:27 arke, hello 17:31:21 --- quit: Topaz ("Leaving") 19:01:10 --- join: kc5tja (~kc5tja@66-74-218-202.san.rr.com) joined #forth 19:01:15 --- mode: ChanServ set +o kc5tja 19:01:36 hi kc5tja 19:01:41 kc5tja: what's a good name for a word that takes a word as input, checks if its immediate and executes it, or otherwise compiles a reference to it? 19:01:45 Greetings. 19:02:20 What do you mean by "takes a word as input"? From the input stream? 19:02:38 well in a conventional forth, prolly from the input stream; in mine, a string object on the stack. 19:02:51 If I seem to be afk a lot today, more than I usually am, it's because I have a migrane headache, and I'm in a great deal of pain at the moment 19:03:20 I would probably just call it "CompileStep" or something to that effect. 19:03:23 ok. 19:03:51 i don't think there is a very good name for that. 19:11:07 sorry to hear about the headache. 19:11:11 any progress on the kestrel? 19:15:17 No. 19:15:32 I've just plain not had the time to really sit down and code. 19:15:52 And now that I hve this headache, I doubt I'll be up to coding tomorrow. 19:16:20 But we'll see. If the headache abates later today, I might be able to get some coding in later this evening. 19:28:52 --- join: Murrlin (murr@dialup-207-218-229-68.ev1.net) joined #forth 19:48:09 heh http://yumi.bluecherry.net/~knghtbrd/Tiger-preview.jpeg 19:52:57 kc5tja: hey 19:53:16 kc5tja: how do you exoect toi manage memory and fonts and images etc. in dolhpin? 19:53:42 * Murrlin is on the lookout for z80 coding info. namely a disassembler 19:54:10 Dolphin will be a more traditionally organized operating system. 19:54:31 will it be built on top of boxforth? 19:55:10 what's boxforth; dolphin...? 19:55:37 slava: It will be written in Forth, yes. 19:55:39 kc5tja: I was thinking of something like Mac's resource manager. 19:55:44 kc5tja: I would even code it. 19:55:59 arke: What about Mac's resource manager? 19:56:10 * kc5tja will probably manage fonts like the Amiga does. 19:56:20 kc5tja: why not implement a similar one for dolphin? its quite nice the way it does it. 19:56:32 arke: Are you reading what I'm writing? 19:56:55 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 19:57:13 I missed the "is so special" in my question: What is so special about the Mac's resource manager? 19:57:56 kc5tja: nothing 19:58:09 kc5tja: its just a kludge to get around early macos # of files per disk limitations 19:58:37 How so? 19:58:44 * kc5tja knows nothing about MacOS's resource manager. 19:59:22 But the Amiga's method of handling fonts is very nice. I'm probably going to stick with that approach, modified slightly to be a bit more logical in places. 19:59:31 it lets you create 'resource forks' which are basically a filesystem in a filesystem 19:59:34 with a single-level organization 19:59:50 OK, I knew about forks. 19:59:56 instead of a directory of font files, you have a resource file with a bunch of font resources. 19:59:57 kc5tja: macs works by just caching the font if its used. 20:00:07 kc5tja: to be uber-simple about it. 20:00:14 kc5tja: also, something you might wanna consider 20:00:17 And actually, forks exist not because of file limitations, but because meta-data logically goes with files, but are not distinct. 20:00:31 arke: What OS doesn't? 20:00:52 kc5tja: i didn't mean forks, but resources in particular which are a way of placing several objects into 1 file and accessing them using an OS-level api 20:01:26 kc5tja: pointers to pointers for allocated blocks of mem 20:01:45 arke: That often turns out to be a monster to deal with. 20:02:22 hey areke 20:02:30 #noahsarke 20:02:31 arke: I agree with the concept in general, but it really does require hardware-supported segmentation to pull it off transparently in software. 20:02:45 macos handles? 20:02:48 they don't have hardware support 20:02:57 you just write foo** in your C code 20:03:38 slava: Yes, and talk to any MacOS programmer, and ask them about it. They will likely blow their cork. I have yet to meet even *one* programmer who likes dealing with **'s in C. 20:04:11 hehe 20:04:15 Especially when you have data structures that refer to other structures: instead of pointers to pointers, you have pointers to pointers to pointers to pointers. Not cool. 20:04:24 This is where x86 got segmentation right. 20:04:28 it was mostly to a) support heap compaction b) support 'purgeable' blocks which would be freed when memory was low 20:04:35 It's a damn shame that it not only was rejected, but even outright shunned. 20:04:47 :) 20:04:48 slava: I know why it's there. 20:04:52 That's not the point. 20:04:56 Smalltalk uses them exclusively. 20:05:04 (in fact, that's where MacOS got the idea from) 20:06:22 I personally don't see any logical way to manage memory nicely without using them, BUT, there is no easy way (even in Forth!) to deal with them. 20:06:29 "It has been shown in laboratory studies that the average chimpanzee can, with Visual Basic, create a new program which exploits some security hole in Microsoft Outlook within 10-15 minutes of random clicking on pictures. Your results may vary, depending on whether you have learned to use your opposable thumbs. (Visual Basic)" 20:06:46 gahaha 20:08:26 My head feels like someone has beaten me solidly about the head and shoulders with an aluminum baseball bat filled with wet sand. 20:08:59 So if I seem even more cranky than I usually am, that's why. <-- suffering from stress-induced migrane. 20:09:42 kc5tja, maybe you need a back rub 20:12:33 kc5tja: could you elaborate on "This is where x86 got segmentation right"? 20:18:32 tathi: x86 protected mode segments can be located anywhere in memory, and be explicitly sized (so that references to memory beyond the segment gets trapped). 20:19:09 tathi: A single selector value is used to reference a segment, regardless of where the segment actually resides in memory. In fact, the segment can actually be in the process of moving *as* the application is referencing it, without problems. 20:19:42 huh. didn't realize they were that flexible. 20:19:47 From a structural point of view, a segment in protected mode *is* a pointer-to-a-pointer type of handle architecture. 20:20:06 gotcha 20:20:13 "I love deadlines. I love the whooshing sound they make as they fly by. (Douglas Adams)" 20:20:18 thanks 20:20:23 But the details of dereferencing and caching the appropriate pointers is handled by the hardware. 20:20:28 right. 20:20:46 jdrake: heh 20:20:57 jdrake: A back-rub right now will only make it worse. 20:22:22 we'll miss you, Mr. Adams 20:27:27 C++ is like usury on your soul 20:33:53 --- quit: Murrlin ("Mischief managed! ....Nox.") 20:39:36 I440r: you there? 20:39:44 I440r: does isforth's double-cell number math work? 20:40:42 yes 20:40:51 at least i HOPE it does lol 20:40:55 gah. I'm reading the code wrong again. 20:41:02 never mind. 20:41:44 hehe 20:42:13 I440r: can you post screenshots of your ncurses stuff in is4th 20:42:37 slava cant you run it ? 20:42:49 I440r: no, remember that mprotect segfualt in fbsd 20:42:50 ./isforth -fload src/examples/window.f 20:43:04 oh yea. 20:43:13 erm. does anyone have a shell he can use to launch it from ? 20:43:26 id make one for you here but im not on a static yet 20:44:01 I440r: do you plan on metacompiling isforth? 20:44:07 hell yes 20:44:15 thats a very high priority 20:45:08 what else is planned? 20:45:43 writing a MUD game 20:45:49 so ill need multi tasking 20:46:01 need to finish the sockets stuff too 20:46:18 want to do a web browser too 20:46:27 *browser*? 20:46:56 yes 20:46:59 like links 20:47:05 but not using any of their code 20:47:36 why? 20:47:44 why do mountaineers climb mountains 20:47:49 haha 20:47:55 i wrote a web server in my language 20:48:08 server is relativly easy 20:48:12 the aim is to be a nicer web development environment, with 10x less bloat than java :) 20:48:15 browser is very difficult heh 20:48:23 yes 20:48:26 java is horrible 20:52:36 i wish i could permanantly disable java and java script 20:52:44 but way to omany sites use it 20:52:50 javascript is unrelated to java 20:53:05 totally unrelated ? 20:53:12 yes 20:53:16 javascript is more like self than java 20:53:22 then why the common name 20:53:25 prototype OO, dynamic types, etc. 20:53:28 common name is marketing 20:53:37 js used to be livescript but netscape wanted to get on the java hype wagon 20:53:47 ugh 20:53:57 heh 20:53:58 just like sun calls their linux disto java desktop system 20:54:00 netscape is responsible for 98% of whats wrong with the net today 20:54:02 well I still hate both of them so there 20:54:05 i.e. FRAMES 20:54:12 noone uses frames anymore\ 20:54:19 err yes they do 20:54:27 yes they do 20:54:38 try browsing with a browser that doesn't support frames, and you'll find plenty 21:03:48 --- quit: tathi ("bed") 21:04:30 --- join: aum_ (~aum@port-204-54-210.fastadsl.net.nz) joined #forth 21:08:05 Frames are used extensively also by products that are administered by the web -- e.g., routers, firewalls, etc. 21:14:44 I could write a simple browser 21:14:51 However, that being the case, who would you rather blame more for Internet inadequacies: Netscape, for introducing frames and Javascript, or Microsoft, for all but shutting out every other browser in the world from viewing 98% of the Internet's existing content? 21:14:54 Because I wouldn't go off. 21:15:17 kc5tja: CERT said you shouldn't use IE :) 21:15:18 its browser wars and WE pay 21:15:24 kc5tja: DoHS actualy :) 21:16:07 Well, our customers administer their boxen using the web (Plesk, cPanel, etc). IE 6.x doesn't work with these interfaces in most cases. 21:16:42 There's a problem when MSIE can't view bog-standard HTML with *light* Javascript (by light, I mean, less than 1% of the code emitted by the web servers). 21:20:26 Javascript is evil anyway 21:20:38 ;) 21:20:41 hmm 21:20:54 There is nothing really wrong with Javascript. 21:20:56 It's how you use it. 21:21:09 kc5tja: theres too much too javascript 21:21:12 I use Javascript to display proper "last updated" times on my website. 21:21:13 thats what makes it evil 21:21:13 ;) 21:25:39 the evil thing about javascript is that it can pop up windows and dialog boxes 21:26:18 Even that isn't so bad as long as it's used properly and with an eye for the user. 21:26:26 and I'm not sure I like it being able to move stuff around on the page while I'm trying to look at it either. 21:27:03 kc5tja: I agree you can make some great websites with javascript. but it also enables making unmentionably horrid sites 21:27:18 yep 21:27:51 given all the talk about popup blockers, I think I'm not alone in thinking that javascript should not be able to do some of the things it can 21:28:30 If I were to make a browser for the Kestrel, I probably just wouldn't include Javascript at all. 21:28:42 likewise 21:28:54 Java? Maybe. Javascript? No. 21:29:28 Or, at the very least, include a white-list database of which sites to enable it for, but for all other sites, keep it disabled. 21:29:39 except I'd probably put in a hack to use links like 21:30:55 just thinking about trying to make a browser support all the crappy websites out there makes me mad 21:31:38 Hehe -- maybe I should write to the Dillo folks and have them change the name of their browser to "Attitude." 21:32:13 Attitude: Because we're too good for most sites. 21:33:13 you think that's bad, just wait till M$ get all their sycophantic 'webmasters' using patented M$-specific proprietary web protocol 21:33:29 aum_: You mean they aren't already? 21:33:40 kc5tja: hehe :) 21:33:40 it could even end up illegal for Mozilla to render M$-specific components 21:33:46 kc5tja: why do you say that about dillo? 21:33:54 moving forth is good 21:34:07 Herkamire: Because it completely ignores Javascript and has no idea how to handle the hacks like what you talk about above. 21:34:15 are there any forth-powered websites? 21:34:27 kc5tja: iirc it's on their bug list to do what I suggested 21:34:29 aum_: Define "Forth powered." 21:34:49 kc5tja: server-side scripted, with forth as the language 21:34:55 kc5tja: but aside from that (and I'm not even sure about that) they intend to not support javascript 21:35:16 aum_: yes 21:35:18 kc5tja: or even, with the httpd itself written in forth 21:35:26 Herkamire: can u point me 2 any examples? 21:35:33 aum_: There are two that I'm aware of. Bernd Paysan's page is static HTML, but the content is formatted with a Forth script. The other is a certain FIG site, who's link I can't recall at the moment. 21:36:07 aum_: no. I've been to one recently, but last time I looked for it I couldn't find it. 21:36:08 The FIG site uses GForth to process CGI. 21:36:15 lol 21:36:23 kc how do you know that btw ? 21:37:20 http://www.jwdt.com/~paysan/ -- Paysan's website 21:37:33 I440r: Because they wouldn't shut up about it on their website. 21:37:50 oh 21:37:57 that MIGHT be a clue :/ 21:39:25 Hmm, they changed their site. They don't brag about it nearly as much. 21:39:35 http://www.forth.org/programming.html -- Information on using Forth as CGI, and FIG itself uses it. 21:40:06 Oops, I said they used GForth. Sorry, it was pfe. 21:42:05 the so called productivity advances forth is said to provide, does that relate the the interactive environment or including an edit and run cycle like something you might do with python 21:42:28 jdrake: They are the same. 21:42:43 jdrake: Python's rapid development cycle stems directly from its interactivity. Likewise with Forth. 21:43:02 kc5tja, that isn't what I am referring to exactly 21:43:10 I'm listening to "hit the road jack, and don't you come back no more" 21:43:24 jdrake: re-reading the question... 21:43:28 what I refer to is using an editor like subethaedit (or notepad for windows users) 21:43:36 (remember, my vision is affected by this headache, so I can be missing something) 21:43:54 kc5 your getting alot of headaches these days 21:43:59 have you seen a doctor ? 21:44:11 I440r: This is the first headache I've had in at least two or three months. 21:44:19 And yes, I have -- I already said what it was -- migrane. 21:44:41 k 21:45:45 * kc5tja is not familiar with subethaedit -- never even heard of it before, in fact. 21:46:03 kc5tja, you don't know what you are missing :-) although it is mac only 21:46:23 However, here is what I find I like most about Forth, and maybe you can relate this to your question. 21:46:39 it is basically something you can have people edit the document along with you with changes being marked as owned by somebody 21:46:43 I like blocks, primarily because block editors are small and fast, and able to reside 100% inside the Forth environment itself. 21:47:10 try to keep to the forth language rather than forth system 21:47:15 Applications in Forth are overlays, so loading the block editor overlays the last piece of code in the dictionary. 21:47:47 jdrake: I build a Forth system from the Forth language. I'm not entirely sure the two can be 100% distinguished. 21:48:10 the language itself is something like I will be running with ficl 21:48:25 Besides, any editor that embeds and relies on Python is equivalent to Python possessing the editor as an integral component -- thus, you end up with a system. So what's the difference? 21:49:40 * aum_ has embedded the python VM, OO engine and libs within Forth 21:49:52 Then how about this: Forth is more productive for me because I think in Forth. Or, more accurately, programming in Forth more closely models human thought. 21:49:58 Forth dates Python, produces ForPy 21:50:16 kc5tja, i have never witnessed a stack in my mind 21:50:29 jdrake that doesnt mean you dont use one :) 21:50:31 don't think in terms of the stack directly 21:50:37 jdrake: You've never had to put anything "on hold" while you performed some other action? 21:50:42 I440r, shh 21:50:45 lol 21:51:06 kc5tja, can I answer no? 21:51:14 Whether it's putting the phone down to answer the door, or saying, "Shucks, I need to define variable FOO to hold BAR," you're always working with some kind of mental stack. 21:51:42 If you answer no, I'll be highly suspicious of your genuine interest in receiving an answer to the question. 21:51:49 :) 21:51:54 But you are, of course, able to answer no if you wish. 21:52:04 you cant win jdrake, he has you beat and you know it :P 21:52:06 :) 21:52:40 I also find that forth maps better to my thinking style 21:53:00 * jdrake runs away without providing an incriminating answer 21:53:11 Whatever, though -- I give up. jc already violently accused me of being a know-it-all, someone who always has to have his way, and who is not tolerant of other people's thoughts. 21:53:15 jdrake: :) 21:54:01 show me an unopinionated coder and ill show you a bad coder :P 21:54:02 I'm just not made for this world, I guess. 21:54:03 kc5tja, you almost describe the way smerdyakov used to behave like 21:54:07 were all good and we know it :) 21:54:13 I440r: hehe 21:54:16 kc5tja, but I can guarantee you are nothing like that way really 21:54:18 lol 21:55:12 Well, especially yesterday, when he started virtually *ordering* me to use his style of ripping CDs, and when I voiced something to the effect that I'm content with my current approach, he went off on his own little tirade. 21:55:29 Now that I look back on it, it is quite amusing. 21:55:38 But at the time, my feelings were very, very, very badly bruised. 21:57:37 At any rate, I'm going to *try* and see if I can't make some more progress on the Kestrel. 22:11:35 kc5tja: it's not that you suck at explaining things or covincing people... it's just that people are too stuborn to learn the kinds of things we want to teach them. 22:12:17 mostly they have a little curiosity, and are mostly looking for opinions to back up what they've already decided they want to believe 22:13:19 Herkamire: let's put LSD in the water supply 22:13:32 lol 22:13:47 hrm you dknt suppose they already did eh ? 22:13:49 lol 22:14:11 probably not LSD... craploads of chlorine though. 22:14:13 not for 30 years 22:14:25 in hawaii they put in cow manure 22:14:28 or at least, the cows do. 22:16:16 wow, I've gotten so used to using the herkforth editor for the source 22:16:27 time to go zzz 22:16:32 I'm using vim for a sec, and I keep hitting the herkforth keys 22:16:34 unfortunatly not in my new bed :/ 22:18:17 Herkamire: Heheh :D 22:18:26 "Chuck 22:18:26 showed Mike that he had written the core of the CAD application 22:18:26 in about five lines of code. When Mike asked him how long it 22:18:26 had taken, he replied, "Oh, about two years." 22:18:28 Herkamire: That's why my block editor is modeled after VIM. :D 22:18:30 " 22:20:06 Hehe 22:21:09 slava: The core of my editor is about 10 lines. 22:21:30 The rest of the editor is essentially "plug-ins" that are invoked by the core. 22:23:14 does something like a 'cookie' in the webbrowser sense sound like a good storage method for a ficl-based environment for games? 22:23:46 jdrake: Depends on how much stuff you want to store. I think cookies can only store so many bytes. 22:23:55 I'm not sure what the limit is though. 22:24:06 generally they do yes, but this kind of concept doesn't have to have to be too small 22:25:13 kc5tja: =) 22:26:48 how much did games like final fantasy (1) have to store data? 22:26:56 kc5tja: what ideas did pygmy borrow from cmforth? 22:27:07 slava: Almost everything. 22:27:14 grrrrrrr can't find bug 22:27:15 jdrake: I don't know. I never played FF1. 22:28:23 The save-game information for Neverwinter Nights is several megabytes in size though. 22:29:12 is that a modern game? 22:29:31 Yes. :) 22:29:37 heh, found it :) 22:29:45 well, anyways 22:29:47 It's the only RPG I really played to completion. 22:29:52 time to go read then night 22:30:01 okay. Night jdrake 22:30:08 gnight jdrake :) 22:30:16 * kc5tja has to get to bed soon too -- my eye is killing me -- freaking migrane. >:( 22:30:30 kc5tja, go now and get more rest ;-) 22:32:03 good night 22:34:48 Damn it, I can't figure out how to start coding for the text cursor. 22:35:02 * kc5tja sighs 22:35:41 VARIABLE CURSOR-X VARIABLE CURSOR-Y : AT-XY CURSOR-Y ! CURSOR-X ! ; i dunno... :) 22:35:44 * Tomasu is away: night 22:49:38 --- quit: jdrake (Read error: 110 (Connection timed out)) 23:01:57 slava: (1) Kind of hard to do when Forth isn't available on the target platform, and (2) no kidding, wise-ass. :) 23:02:21 But there is much that needs to be done before I can write the OS code it seems. The problem is determining where to start. 23:02:25 Anyway, I'm off to bed. 23:02:30 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR SK") 23:12:06 can i just do 1 BLOCK in gforth without problems? :) 23:13:54 or rather I should say 23:13:59 hey arke :-) 23:14:14 how do I allocate 1 block's worth of memory in ANS and then set a block to it or whatever? 23:14:17 hi slava :) 23:14:28 malloc(1024); 23:14:30 oops 23:14:32 wrong language :-P 23:15:39 ack. 23:15:48 this ANS thing seems so incomplete 23:20:03 kc5tja's VIBE is ANS, right? 23:20:40 VIBE runs under gforth 23:20:49 I don't know if it's ANS 23:21:34 ok 23:21:38 it probably is then 23:21:38 yay 23:21:53 i refuse to work with files when dealing with forth 23:22:00 blocks are the way to go. 23:25:47 :( 23:25:53 doesn't seem to work quite right 23:27:27 gawd 23:27:34 i need a text editor 23:27:35 lol 23:29:45 ask kc5tja about VIBE. 23:30:33 iirc when I tried it it didn't work and he sent me a working version. I don't know if he posted the working version. 23:30:47 it was a while ago, but it's possible this is still the case 23:32:10 :/ 23:32:21 screw it 23:32:24 i'll just write me own 23:33:53 ;) 23:34:02 is there an ANS word to figure out terminal dimensions? 23:35:03 hmm, seems like there isn't. thats fine. 23:36:13 no, that sucks 23:36:31 also that it's such a pain to find them in linux 23:37:35 we should all be doing guis now 23:39:34 since i started playing with forth and related languages, my style of coding has changed completely, even in java. 23:39:44 i look at my older code and cringe at the huge methods etc 23:41:52 slava: that's awesome :) 23:41:55 why guis? 23:42:11 well, vt100 is a very limited paradigm 23:43:12 the keyboard input sucks, but I don't mind the output too much 23:43:58 the question is why isn't there a gui toolkit that makes simple apps as easy to develop as command line ones? 23:44:05 it's worth the hastle of generating silly escape sequences and keeping track of where the cursor is because: I can copy from the terminal 23:44:23 paradigms 23:44:41 there's all these rules about how you're supposed to make guis 23:44:47 and they make it aweful 23:44:54 sometimes, yes 23:45:31 maybe it doesn't exist because it would be trivial to make yourself 23:45:38 it's to simple for anybody to take seriously 23:45:39 heh 23:45:40 80 constant term-w 23:45:41 25 constant term-h 23:45:45 good 'nuff 23:45:52 arke: I440r has ncurses code for this 23:45:59 phht. 23:46:03 you can use SDL a blitting routine and an image of your font and whatever else. a line routine, a box routine. 23:46:12 this is just a real simple dirty hack to make my life simple. 23:46:13 :) 23:46:31 arke: I too have constants for the terminal dimentions. 23:46:34 Herkamire: i'd go with opengl not sdl since opengl will do stuff like lines an fills in hardware 23:46:50 I thought about having a configure script that would fix them... I'm definately not going to detect them in forth. 23:46:55 in fact i plan an opengl binding for factor at some stage 23:47:08 slava: so compile in opengl support to SDL 23:47:12 and writing some kind of keyboard-driven zoomable ui... but maybe not for a long time :) 23:47:22 me too 23:47:31 Herkamire: i thought sdl just gave you a memory buffer to draw pixels in 23:47:35 how would opengl benefit this? 23:48:30 slava: OGL, with HW, draws in that buffer. 23:48:44 slava: SDL and OGL coordinate to find a buffer they can _both) use 23:48:47 I don't know that much about it. The point I was trying to make was that you can get hardware blits in SDL 23:49:03 so why not skip sdl completely and go with ogl 23:49:27 cuz OGL only provides those simple things 23:49:36 SDL gives you input, threads, etc. etc. etc. 23:49:38 SDL has great input stuff 23:49:47 oh. 23:49:51 best I've seen anywhere 23:49:56 i don't need threads but input & audio would be useful. 23:50:33 SDL has extentions to load images, load/play sounds etc 23:52:03 ack 23:52:06 why the hell am i doing this 23:52:25 I only have 4 hours until I have to get ready to go to the airporrt 23:52:26 lol 23:53:47 awesome 23:53:50 debian downloading 23:53:50 lol 23:54:32 oh my god 23:54:41 my computer is processing like old people fuck 23:54:43 slow and sloppy 23:59:59 --- log: ended forth/04.07.03