00:00:00 --- log: started forth/04.05.14 03:11:58 --- quit: lalalim (zelazny.freenode.net irc.freenode.net) 03:11:58 --- quit: rsync (zelazny.freenode.net irc.freenode.net) 03:12:31 --- join: lalalim (~lalalim@p508AB108.dip.t-dialin.net) joined #forth 03:12:31 --- join: rsync (~pavel@CPE000c41aac435-CM000a73a75acb.cpe.net.cable.rogers.com) joined #forth 03:18:41 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 07:24:24 --- join: Serg (~z@212.34.52.140) joined #forth 07:46:46 Hi 07:48:20 heya 07:48:30 * Serg is installing W2k AS 07:49:24 server fell ;( one wrong movement - and u're father... err, midnite sysape ;) 07:52:50 Robert: when are u gonna graduate from school ? 07:53:37 4th of June 07:54:07 and take exams into university ? 07:54:20 Hm= 07:54:22 What? 07:54:27 * Serg is 25 old at 3 June ;)) 07:55:00 will u go into hi EDU this year, rite after school ? 07:55:12 Yes 07:55:24 The army just told me they don't want me :D 07:55:29 Because I have glasses 07:55:32 so where u'll go ? 07:55:53 Robert: YA blind sniper ;)) how many dioptries ? 07:56:03 KTH or university of Stockholm 07:56:09 Er, don't remember 07:56:15 nice 07:56:23 what speciality ? 07:56:31 IT ? 07:56:51 and what is KTH ;) ? 07:57:30 * Serg missed hi EDU coz of life circumstances, and seemingly can't rewind life 08:06:28 * Serg shoots self - installing windoze has no RU language ;(( 08:32:25 what do you need as for anyways? 08:32:53 does anyone one know where to get Thinking Forth? 08:32:59 -one 08:33:00 the only reason that i got AS installed on my server is because i didnt have any other 2k lying around at the time of installing 08:33:04 lalalim> tried google? 08:33:13 qFox: yeah 08:33:34 you can get it used from amazon for like $200 08:33:43 very high prices there 08:34:04 oh is that that corp forth 08:34:12 cant help you there. 08:34:13 thinking forth ? 08:34:21 no, it's a book 08:34:27 oh book, heh 08:34:27 i got amateur RU translation 4 free ;)) 08:34:30 by leo brodie 08:34:41 Serg> but what do you need adv serv for? 08:34:45 good translation ;) 08:34:58 it was AS and i put back AS after fall 08:35:11 well still... why? :) 08:35:17 what purpose does the machine have? 08:35:28 i'd prefer a german or french translation :) 08:35:49 i prefer no translation at all. they are always screwy 08:36:01 yeah 08:36:12 original would be even better ;) 08:36:30 qFox: SQL server for all company workflow, money and warehouse 08:36:38 lalalim> well... the book... buy it i guess. very maybe if you're very lucky you'll find it at your library (doubt it...) 08:36:44 or perhaps ebay kind of sites 08:37:06 yeah, no good offer on ebay though 08:37:11 Serg> sql isnt part of AS, so AS is kind of a waste for that imo 08:37:31 lalalim> whats special about that book anyways? 08:37:49 qFox: it's a good book 08:38:05 k 08:38:15 hehe 08:40:48 Serg> basicly the price of AS over PRO differs alot, so if you're not using the extra's that come with AS, its kind of a waste. and its got slightly more unneeded overhead. just mentioning it :p 08:47:43 qFox: they all cost 80 RUB here at warez market, price of CD production 08:49:16 yeah well i dont know about russia, but right here, if you have software running on a company computer, you want it to be legal 08:49:57 cos you're always liable for software checks, and your company getting busted for pirated software.... is no joke 08:58:35 here i asked boss about this, and he said 'no lega crap' 08:58:56 no legal crap? 08:58:58 lol 08:59:20 here i guess bribe is much cheaper than legal soft for all damn 20 boxes 08:59:20 well hey if you arent taking any risks by it then whatever 08:59:24 hehe 09:04:01 software checks here = poor men's asassins ;) 09:04:18 not mine trubble, either 09:04:51 hehe 09:05:03 pay more to 'asassin', and u know who ordered you ;)) 09:07:06 and order him to another 'asassins', maybe tax one 09:37:10 --- quit: Serg () 11:13:46 --- quit: SDO (Read error: 54 (Connection reset by peer)) 12:07:01 --- quit: rsync ("leaving") 14:21:30 --- join: lalalim_ (~lalalim@p508AA72F.dip.t-dialin.net) joined #forth 14:25:29 --- quit: lalalim (Read error: 60 (Operation timed out)) 14:35:16 --- join: Sonarman (~matt@adsl-67-113-235-127.dsl.snfc21.pacbell.net) joined #forth 15:08:11 qFox! 15:08:42 thats me! 15:08:48 I know! 15:08:58 madgarden_work! 15:08:58 Hey, why were you wanting to do nested word definitions? 15:09:06 well 15:09:15 to initiate variables when i invoke a word 15:09:23 rather then having to do so in the file that defined the word 15:09:48 So... you want a defining word. 15:09:59 but i realized that if i didnt define the variables before defining the word, the definition would bork up because the variables dont exist yet 15:10:19 so that was kind of useless in that case, but yes, how do you define a word in a word? 15:10:29 it seems to me, it borks out on the "name" part 15:10:40 Here's the example for constant, using create and does> 15:10:47 : constant create , does> @ ; 15:11:09 but when i try to use create, i get the name error again 15:11:24 At what point do you get the error? 15:12:06 hmmmm 15:12:25 While defining the new word, or while executing it? 15:12:29 defining 15:12:33 hm 15:12:34 wait 15:12:36 no i'm not sure 15:13:02 Well that's important to know. ;) 15:13:42 executing 15:13:53 variable hello 15:13:55 : doe variable hello ; 15:14:03 doe 15:14:03 Error: Need a NAME to create! 15:14:07 doe FOO 15:14:24 Can't create a nameless variable! 15:14:30 oh 15:14:36 it takes the "name" from the input buffer? 15:14:40 Yep. 15:14:41 ic 15:14:48 hmmm 15:14:55 but that still does not help my cause 15:14:57 If you want to create a variable called hello, you'll need to do it differently. 15:15:05 how. 15:15:23 say i want a word that defines 50 variables when invoked, as part of initiation of my program 15:16:02 but for whatever reason i dont want those variables to be initialized (perhaps other then empty shells) ..... hm that wont work either will it 15:16:26 Well, you need to create a dictionary entry using a string in memory somewhere. So, you might have something like this: 15:16:26 : doe " hello" $variable ; 15:16:29 it will compile the xt tokens of the words at that time, re-creating the same variable will cause it to get a different XT, thus not be the same 15:17:13 I need a watch 15:17:17 OK, I gotta go home now... I'll bbl, when I have a Forth available to play on. 15:17:34 hehe 15:17:37 later 15:18:25 but maybe its just me still "wanting" to use c-stylish creations of programs. not initializing variables untill they are needed 15:18:43 but this wont work in forth, since the locations of those variables must be known at compile time 15:18:49 which is part of the power of forth 15:19:00 its kind of hard to make that adjustment, for me, i guess 15:42:42 --- join: blockhead (default@dialin-622-tnt.nyc.bestweb.net) joined #forth 15:52:37 --- quit: Robert ("brb") 15:56:28 --- join: Robert (~snofs@c-bf5a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #forth 16:21:01 --- join: kc5tja (~kc5tja@66-74-218-202.san.rr.com) joined #forth 16:21:39 --- mode: ChanServ set +o kc5tja 16:22:10 --- quit: kc5tja (Client Quit) 16:35:30 --- join: kc5tja (~kc5tja@66-74-218-202.san.rr.com) joined #forth 16:35:39 --- mode: ChanServ set +o kc5tja 16:36:08 hey kc5tja 16:36:11 how is the new job? 16:36:13 yo kc5tja, wassup 16:36:17 ? 16:36:22 I haven't started yet. 16:36:35 I have one week at INO left. 16:36:40 ahh 16:36:45 * kc5tja just compiled amiwm and is now using it on x11. 16:37:10 have you finished that simu for your cpu yet? :) 16:37:24 Man, I can't believe that NOBODY has updated this wm in a long, long, long time. 16:37:34 qFox: The simulator for the raw CPU is done. 16:37:40 The assembler still has a bug or two in it. 16:37:51 I also have yet to produce the frame buffer emulation though. 16:38:09 is it useable and if so can i give it a testspin? 16:38:21 Yes, I meant to put it up on the web by now. 16:38:26 I'll have to do that in a bit. 16:38:34 sure thing 16:38:54 Do you have darcs by any chance? 16:39:04 nope 16:39:11 but if its software i can get it 16:39:13 :) 16:39:34 "David's Advanced Revision Control System" ? 16:39:43 Yes 16:40:23 I was just curious, because I was just thinking of uploading the repository. But if not, I guess I'll have to package it and upload it. 16:40:42 nope, sorry 16:40:55 The nice thing about uploading the repo is that others can "darcs get" from it, make changes, and "darcs send" me patches. :D 16:41:18 (well, obviously, you have to record your changes in your repository first...) 16:41:40 Speaking of which, i should upgrade my darcs too. 16:41:57 never heard of darcs before 16:43:58 It's the most awesome source code management tool I've ever used. 16:44:04 It's still not perfect, of course. 16:44:14 Since it's obviously still pre-1.0, but still... 16:45:57 if i ever design some programming gui for any language, i will implement a option that will save your project with a increasing number every time you save it 16:46:16 its an option i havent encountered so far 16:46:26 You haven't used VMS then. :) 16:46:29 no 16:46:35 VMS is DEC's operating system for the VAX and DEC Alpha boxes. 16:46:48 kc5tja: I was just gonna say that :D 16:46:53 but i sometimes make a change, then save it, only to discover that the change was kind of a fuckup, and i wont have a proper backup 16:46:54 version numebrs were part of the OS 16:46:56 Unfortunately, it's true that even that isn't sufficient for true SCM. 16:47:06 every file had a semicolon and then a number 16:47:20 scm = ? 16:47:29 Source Code Management 16:47:32 ah 16:47:32 made it real easy to fill up a directory if you were type to hit "Save" every minute :) 16:47:54 hmm 16:48:00 yea well, i dont want to have to actually do manual input each "quicksave" i do, but still have the seperated save files for it, you know 16:48:28 Yes. I *like* having version numbers as part of the filesystem automation. But I think I'd rather have an integrated "diff" system, where versions '0..n-1' are "patches" against the most recent version 'n'. 16:48:40 just one of those things to add if i ever come so far as to create such applications myself :) 16:48:57 qFox: No, YOU didn't version the file. VMS did it for you. It was part of the OS. 16:49:04 --- quit: cmeme (Read error: 54 (Connection reset by peer)) 16:49:18 You could override it if you wanted -- e.g., you could save to FOO.TXT;3 and it would store it there. Otherwise, if you left off the semicolon and number, it'd auto-version it for you. 16:49:19 --- join: cmeme (~cmeme@216.184.11.30.unused.swcp.com) joined #forth 16:49:29 ic 16:49:31 qFox, you saved "test.txt" and you ended up with "test.txt;" 16:49:37 qFox, you saved "test.txt" and you ended up with "test.txt;1" 16:49:49 the test.txt;2 the next time you saved 16:49:49 etc. 16:49:58 lots of clutter though 16:50:14 but thats only for dec and vax then? i mean i dont remember ever seeing this in a windows coding environment, not even bigass ones like ms studio 16:50:16 There was a utility to clean the clutter though. I forgot what it was called though. 16:50:26 rm 16:50:32 fridge: no. 16:50:36 somthing like purge or pack, I think 16:50:38 hehe 16:50:42 PURGE. That's what it was. 16:50:49 del *.*;* 16:50:51 qFox: this was before windows existed :D 16:51:04 blockhead> yes but the functionality is still wanted, isnt it... 16:51:07 VMS is *so* vastly superior to Unix it's not even funny. 16:51:15 well, delete woudl delte it all, purge would keep the 1 or 2 most recent versions 16:51:17 VMS has had a direct influence on both Windows NT and on AmigaOS. 16:51:27 blockhead> true 16:51:42 It even had a huge influence on OS/2. 16:51:55 OS/2's and NT's "structured exception handling" services all derive from VMS. 16:52:03 heh: OS/2 made me think of amigados :D 16:52:18 exec.library in AmigaOS, its device driver and library model, it's DOS user interface, and its device/volume lists and naming conventions all also derive from VMS. 16:52:41 It's incredible to see just how isolated Unix really is, despite its ubiquity. 16:53:11 Not that I dislike Unix, mind you. But comparing the two against each other, VMS owns Unix. 16:53:13 is a counted string the one where the first byte is the len, or was that the uncounted string? 16:54:17 kc5tja, seeing that NT was based somewhat off VMS (I think) you have to wonder where it all went wrong 16:54:39 I know precisely where it went wrong. 16:54:46 fridge: yeah! 16:54:49 Programming the NT kernel, at the raw kernel interface, is a dream. 16:54:55 NT == "nice try" 16:54:59 It's super easy, the API makes perfect sense, and things actually *work*. 16:55:11 at the win api level? 16:55:20 qFox: counted is where the first byte is the len 16:55:25 What went wrong was layering Win32 API on top of that, trying to make NT look like a bog-standard 16-bit Windows box, and THEN trying to expand that to 32-bitness. 16:55:29 What a joke. :( 16:56:02 * kc5tja notes that 99% of Windows NT software is NOT written to use the NT core kernel services, but to use Win32 kernel services. 16:56:36 kc5tja: is that so it also runs on non-nt versions of windows? 16:57:01 For the most part, yes. 16:57:34 The other reason is that they already had a hhuuggee body of 16-bit software they wanted to bring to the 32-bit market right away, without having a lot of recoding effort. 16:57:50 thats what I like about linux 16:57:58 they don't cringe away from rewriting it 16:58:03 if its justified 16:58:15 Well, they do in their own way too. 16:58:25 X11 has had TONS of replacements, all of them perfectly suitable to the task. 16:58:29 None of them have succeeded. 16:58:51 don't get me started on object capability security either. 17:04:16 I'd love to see X go away 17:04:36 I would also love to see access control lists go away too. :( 17:04:44 I hate user,group,other permissions. :( 17:04:54 I don't like it either 17:05:05 didn't they have those in VMS? (acls?) 17:05:08 even on multi-user servers I admin 17:05:34 blockhead: Yes, but they were much more flexible; Unix implements what's called "partial ACLs," because the access control list is limited. 17:05:45 VMS had "true ACLs," as it could be configured to include anyone for anything. 17:05:51 are there any X replacements that are alive and well? 17:06:02 Note that NT's ACLs are way more secure than Unix's ACLs. 17:06:46 * kc5tja upgrades to the latest version of darcs, so I can get that sim online... 17:07:12 gotta go. 'night all if I'm not back l8r tonight 17:07:20 goodnight blockhead 17:07:21 OK, laters! 17:07:22 --- quit: blockhead (Read error: 104 (Connection reset by peer)) 17:07:56 any X replacements that implement the X api? 17:08:13 No. But that would defeat the purpose, no? 17:09:01 I don't mean as the normal API, I just mean as an ugly hack to get X software to work until it's ported properly 17:09:48 I doubt they would port it properly if that were the case 17:09:50 That's no different from an X server that, for example, runs under Win32 or MacOS. 17:09:54 It's still an X server. :) 17:10:37 yeah, but I need program ____ to work 17:11:28 Then install an X server that runs under your preferred GUI. 17:11:47 What I'm trying to say is, that X11 is X11 is X11 -- it can't even be a "hack". X11 just "is." 17:11:59 right 17:12:08 largely because it's only a protocol. 17:12:45 right 17:13:02 have any of the x replacents had an x server that would display on them for older apps? 17:13:10 That being said, most other GUIs are architected to just be themselves, and if someone wants to implement X under it, they can. 17:13:31 right 17:13:37 PicoGUI *maybe* 17:14:17 I understand that Fresco had made some headway in getting a GTK application to run inside Fresco, though it did so without using a stub-X11. 17:14:23 could you list a few good x replacements that still have active development? I wanna read up on some and see if they work on my system 17:14:37 VNC for Linux has its own X11 implementation (in fact, that's the only way to use it. :(). 17:14:55 good, I'd say the first thing to do after getting it to run would be to port gtk and sdl 17:14:57 Fresco (aka Berlin) is the most recent. 17:16:05 I read something about VNC a year or two ago 17:16:15 I heard it didn't work right on ppc though 17:16:24 kc5tja: how are literals put on the stack with your processor? 17:16:41 ok, I gotta go 17:16:43 bbl 17:16:50 Sonarman: The # instruction. 17:17:03 Sonarman: # can be thought of as @P+, where P is the program counter. 17:17:16 oh hehe thanks 17:17:16 VNC ought to work just fine. 17:17:38 P+@ would seem proper imo 17:18:00 anyways, how do you enlarge a variable to your needs inside a word? 17:18:08 No, because P+@ implies the sequence "P + @". The stack is empty (or considered to be empty) when + would be executed; hence, a stack underflow. 17:18:16 Semantically, @P+ is correct. 17:18:29 @P+ implies @ P then increas... which is what it does, d'oh 17:18:36 my bad 17:18:55 qFox: I don't understand your second question. 17:19:14 well i want to create a word that returns a token from a string 17:19:27 but this token can obviously be of various length 17:19:38 so... how would i approach such a problem? 17:19:55 I don't know. You still haven't given me enough information. 17:20:16 But to access bit-fields in a word, you would use shift instructions, and mask off unused bits with AND. 17:20:32 Or, to construct a word from smaller quantities, you would shift values into place, and then OR them into the final word. 17:20:33 hi.there.how.are.you say i want the 3rd token, with . as delimiter, and i want to make a word that does this for me 17:20:41 no nothing of that 17:21:08 if i want to create a word, any word, that returns a string, but i dont know before hand how large this string will be, how can i do this 17:21:24 Well, in ANSI Forth, I would just do '. WORD DROP '. WORD DROP '. WORD 17:21:41 gahh!! I'm confused!!! 17:21:59 i'm not sure how else i could explain it though 17:22:06 that doesnt make sense ot me 17:22:17 You're asking two different questions. 17:22:25 hm not really :\ 17:22:31 How do you access the third word in a string of words, and how to return a variable length string. 17:22:39 variable string length question 17:22:50 i know how to find the third word in a string, thats not a prob 17:22:53 hi.there.how.are.you say i want the 3rd token, with . as 17:22:53 delimiter, and i want to make a word that does this for me 17:22:54 17:14 < qFox> no nothing of that 17:23:08 yes i was trying to explain the function of the word i was working with :\ 17:23:19 qFox: would going through the string until you find the nth token, then copying the token into PAD and returning PAD and the length of the token on the stack work? 17:23:36 hm pad 17:23:43 totally forgot about that 17:23:56 Yes, that would work. That's how most string-related words in Forth work, actually. It would be up to the programmer to copy the string to a more permanent location, though, if it's even required. 17:23:58 i think it will... 17:24:10 yeah, tnx :) 17:24:40 n/p 17:25:46 or you could return 1) the address of the beginning of the token in the original string and 2) the length of the token on the stack, and forgo copying alltogether 17:26:13 yeah but i encountered the problem on more occasions, not just this one :) 17:27:32 i keep tripping over the whole define the variables before ever using them thing 17:34:57 Dang, I have only 4GB free on my Linux partition. :/ 17:36:00 Available 17:36:05 267184 17:36:09 quit yer whining :) 17:36:27 Well, the problem is I have no earthly idea what's consuming that kind of space. 17:36:36 exactly. 17:36:44 And the Unix filesystem doesn't make it easy to figure this stuff out. :/ 17:38:35 holy crap, i have 176 .dotfiles/folders in my home directory 17:38:37 Boy, this really does make me want to try out an orthogonally persistent operating system. 17:39:10 * kc5tja may consider resuming work on Dolphin 0.5 -- this is rediculous. :/ 17:54:35 --- quit: qFox ("this is mirc's last attempt of communication...") 18:10:57 --- join: slava (~slava@69.196.155.184) joined #forth 18:10:58 hey 18:14:46 re 18:25:30 --- part: slava left #forth 18:39:28 --- join: snowrichard (~richard@adsl-068-209-159-248.sip.shv.bellsouth.net) joined #forth 18:39:34 hello 18:41:12 --- quit: snowrichard (Client Quit) 19:26:36 kc5tja: can you post what you have so far of the simulator soon please? 19:34:49 Yes, I just finished recompiling darcs, and I'm going to be integrating it into its repository. 19:34:54 I also just got back from eating food 19:42:11 Dang, this stinks -- I don't have a tag for my repository yet. Oh well. I'll just call it version 0.1 for now. 19:42:17 err, 0.1.0. 19:44:18 OK, users of darcs can obtain the most recent version of the kestrel working directory via darcs get http://www.falvotech.com/repos/kestrel 19:44:24 I'm creating a .tar.gz distribution now. 19:45:45 Done. http://www.falvotech.com/downloads/kestrel-0.1.0.tar.gz 19:45:57 NOTE: the make files and whatnot don't do a thing that is useful at all. 19:46:04 So don't bother. :) 19:46:29 The source files of what I have so far are in the cores/cpu directory. 20:11:31 --- quit: fridge ("Client exiting") 20:38:50 --- join: slava (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 20:55:42 --- quit: slava (Read error: 113 (No route to host)) 21:10:54 --- nick: madgarden_ -> madgarden 22:01:31 --- join: kc5tja_ (~kc5tja@66-74-218-202.san.rr.com) joined #forth 22:17:54 --- quit: kc5tja (Read error: 110 (Connection timed out)) 22:43:48 --- join: Sonarman_ (~matt@adsl-64-171-255-39.dsl.snfc21.pacbell.net) joined #forth 22:52:24 --- nick: kc5tja_ -> kc5tja 22:52:28 --- mode: ChanServ set +o kc5tja 22:55:31 I think I'm going to re-write the FTS1001 emulator in C. 22:56:29 --- quit: Sonarman (Read error: 110 (Connection timed out)) 23:15:45 kc5tja: why? 23:16:07 Easier binding to SDL. 23:16:31 write a direct /dev/fb0 interface :) 23:16:36 Umm...no. 23:16:41 hehe 23:16:51 First of all, I don't even have fbcon installed in my kernel. 23:17:39 Unless I can figure out how to bind SDL to gforth, I don't see it happening. 23:18:09 At any rate, it doesn't matter; I have to re-write the CPU emulator anyway; the emulator is inadequately tested. 23:18:21 And it doesn't offer debugging facilities. 23:18:43 Did you look at the CPU emulator source code yet? 23:20:25 i've had it open for the past two hours, but i've barely looked at it because we've been watching a video. and now i'm sleepy and about to take a shower :) 23:21:35 Well, I'm making some changes to it now. Trying to clean up the source code a bit, and make it more hackable. 23:22:12 There is something critically wrong with either the emulator or the assembler. 23:22:20 * kc5tja is going to put in some unit-tests now. 23:23:40 : ddrop 23:23:41 s @ t ! ds @ t ! ds dup cell+ swap 15 cells move ; 23:23:50 what's with the two stores to T in a row? 23:24:12 Ahh, well, that might have something to do with some of the bugs I've been encountering. 23:24:20 I didn't see that until you brought it up. 23:24:44 That's OK though -- the new code is going to completely re-implement ddrop -- no more explicit S and T "registers" -- they've been folded into the data stack structure. 23:51:23 ‰ 23:51:48 OK, program flow control instructions all have been unit tested. 23:51:53 I'll leave the rest for tomorrow. 23:55:02 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR Sk") 23:59:59 --- log: ended forth/04.05.14