00:00:00 --- log: started forth/04.03.07 00:00:56 actaully, IF removes the bool from the stack, not THEN 00:01:48 huh? Who said it was THEN that popped? 00:02:32 hm 00:02:58 and whats the forth equivalent of pascal/c "FOR" ? 00:03:55 DO ... LOOP 00:04:19 how it works ? 00:04:35 http://www.xmission.com/~georgeps/var/Forth_Notes-5.txt 00:04:46 ok 00:04:50 thanks 00:04:54 Those are my notes from when I was going through a Forth manual. I still have a lot to learn, but that code may help. 00:07:06 --- quit: slava (Read error: 54 (Connection reset by peer)) 00:07:53 looks like a esoteric book 00:07:54 :P 00:08:15 the universe was written in forth :P 00:09:29 ' life execute 00:09:30 ;p; 00:09:32 lol 00:14:51 :P 00:28:19 --- join: fridge (~fridge@dsl-203-33-164-240.NSW.netspace.net.au) joined #forth 00:29:14 oh man 00:29:18 I am sooo good lol 00:59:45 tathi is gonna be happy when he sees this ^_^ 01:03:59 slava - oh, nothing, but sometimes I find perversity amusing. 01:17:39 --- quit: jdrake ("Oops. This machine just fell asleep") 02:36:47 --- join: Mark4 (~Mark4@66.147.207.131) joined #forth 02:40:19 --- nick: Mark4 -> I440r 02:40:33 --- mode: ChanServ set +o I440r 03:03:59 --- quit: imaginator ("sleep") 03:10:32 --- quit: I440r (Read error: 113 (No route to host)) 03:50:40 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 03:51:42 --- quit: IfThenElse ("Finalizando Cliente") 04:18:02 --- join: networm (~networm@L0627P05.dipool.highway.telekom.at) joined #forth 04:35:25 --- quit: fridge ("Client exiting") 04:39:49 --- quit: networm ("Client exiting") 05:25:22 --- join: niklaus (~niklaus@210-210-75-119.lan.sify.net) joined #forth 05:25:43 i am having errors with cmove 05:26:01 i did 100 200 10 cmove and it is saying invalid memory address 05:26:28 Maybe it is. 05:26:35 What system are you using? 05:26:57 gforth 05:27:26 Robert: can you give me an example of cmove ? 05:27:31 Hmm... 05:27:43 Is it cmove ( source destination size -- ) ? 05:28:19 The thing is that in Linux, address 100 isn't where you have any data, so you're not allowed to access it. 05:28:28 You have to move data inside your program. 05:28:31 Example: 05:28:39 create block1 10 allot 05:28:45 create block2 10 allot 05:28:50 --- join: fridge (~hovil@CommSecureAustPtyLtd.sb1.optus.net.au) joined #forth 05:28:50 block1 block2 10 cmove 05:30:14 Robert: how do i view the memory address of block1 and block2 05:30:56 start address 05:31:42 block1 . 05:31:45 block2 . 06:20:03 --- join: snowrichard (~richard@adsl-068-209-159-248.sip.shv.bellsouth.net) joined #forth 06:25:35 Dobryjj vecher! 06:26:40 It seems I have need to support delays. 06:27:32 How would you call an object that counts down and runs something when it reaches zero? 06:27:36 Timer? 06:27:39 Counter? 06:35:51 sleep system call? 06:36:47 Sorry? 06:36:52 never mind 06:37:01 I've not understood. 06:37:21 is this an stand alone forth or running under an os? 06:37:33 That's for stand alone. 06:37:36 ok 06:38:22 I need it for some inertia in device control. 06:38:34 E.g. is disk spinning. 06:42:20 Hi 06:42:55 Privet! 06:47:31 Privet :) 06:51:23 hi robert 06:52:30 Hi snowrichard 06:52:35 How's your Forth? 06:52:57 someone pointed out a few minor bugs but the code they sent to fix it would not compile. 06:53:27 snowrichard, and what is your Forth? 06:53:30 I think the ROT word actually only swaps 06:53:37 Sorry, I can't recall. 06:53:40 I will look at it soon 06:53:51 http://veteransinaction.org/michael 06:55:29 now that i have a 20 Gig hard drive that actually works I can do some more work on stuff 06:55:49 Neat 06:55:49 I lost a bunch of stuff when my 40 gig went out 06:55:55 :( 06:56:04 What consumes so much space? 06:56:14 it wasn't full :) 06:56:19 Ah. 06:56:21 sound files 06:56:50 Wah! 06:56:55 I was trying to program a recording studio control panel 06:57:07 It seems I'm the only one lazy here. 06:57:23 I never wanted to write such a huge sources. 06:57:29 Especially in C. 06:57:45 ASau: Are you implying I'm not lazy? Hrm! 06:58:03 Larry wall says Hubris is a virtue :) 06:58:11 (perl book) 07:00:20 going to church in about an hour 07:01:52 Okay, enjoy. I'm having visitors here.. 07:15:49 --- quit: snowrichard ("Leaving") 07:26:08 ASau, you'll find I am far lazier than any of you 07:26:38 well, not true really 07:26:43 I'm good at starting things 07:26:48 really bad at finishing them 07:26:49 =( 07:32:13 fridge, start using "permanent revolution" ideology. :) 08:00:23 fridge: Actually, I'm good at finishing things but not starting them. 08:04:41 Robert + fridge = the best team ever. :) 08:05:15 Or the worst team ever, if we pick the wrong roles. 08:05:47 "Do not do it." 08:06:04 The Universal Answer of Mikhail Gassanenko. 08:06:10 Er, OK. 08:06:17 Sounds like good advice! 08:07:40 It's a variant of Occam's Razor. 08:07:53 --- join: chris-cyg (~Chris@wbar8.lax1-4-11-099-104.dsl-verizon.net) joined #forth 08:08:06 Terve! 08:08:16 :) 08:08:23 Hallo 08:08:29 I'm just switching clients, thats all :) 08:08:39 --- quit: chris-xp ("Leaving") 08:16:24 oh yay 08:16:28 I'm so good 08:16:59 It means, there's something you're not aware of. 08:17:09 (Murphy's Law.) 08:17:24 Yesterday, I took josh's (tathi) Frapiar code (which only had row widgets), and changed it into a Container type with support for both rows and columns 08:17:39 the first time it compiled (i had some spelling mistakes :P), it worked! 08:17:58 terve ASau 08:18:04 hey i was thinking 08:18:11 Expect unknown bugs there, chris-cyg. :) 08:18:26 if the basis of a forth system on dos/windows is built on assembly language 08:18:30 Zdravstvujj, mur! 08:18:42 isnt it possible to compile a binary executable from a forth program? 08:18:57 qFox, I'm working on it. 08:18:59 or was this an obvious comment 08:19:00 :p 08:19:08 It's possible, of course. 08:19:17 k, because i couldnt find much on the subject 08:19:27 nothing about forth > exe anyways 08:19:43 Search for FORTHCMP 08:20:05 You'll find Forth compiler 08:20:09 got it 08:20:12 GP-Forth. 08:20:31 SP-Forth, IIRC, also has such an option. 08:20:58 qFox: or, you can turnkey and DEFER BOOT with pygmy, which'll give you a COM file 08:21:08 no i cant... ;) 08:21:26 (thats beyond my knowledge i'm afraid) 08:22:59 Hrm. Now, I get to implement Windows 08:23:03 but tnx, thats what i meant :) 08:23:07 :) 08:23:38 i already got a struct Window down, and its huge lol 08:23:59 From my source (working example): 08:24:01 SAVE WHOLE IMAGE TO IMAGE.COM 08:24:15 Natural language processing. 08:24:17 :))) 08:24:48 lets see ... i got 8 flags, 2 SDL_Rect's, and 5 pointers ... o.O 08:41:24 LETS TALK EVERYBODY 08:42:49 chris-cyg, if you have nobody to talk to 08:42:49 talk to 08:42:49 M-x doctor 08:43:01 :) 08:43:51 BTW, I've not heard any proposition. 08:44:26 How would you call counter-down for delayed action? 08:45:11 I've got a need for an object, that counts down on pulsed signals and performs a given action. 08:45:40 How would you call this? 08:46:31 EMACS IS EVIL 08:46:33 EMACS IS EVIL 08:46:34 EMACS IS EVIL 08:46:34 EMACS IS EVIL 08:47:20 "See figure 1." 08:49:11 --- join: Herkamire (stjohns@h000094d30ba2.ne.client2.attbi.com) joined #forth 08:49:42 Dobryjj vecher, Herkamire! 08:50:01 ASau: ola amigos 08:50:31 mmmmm.... I can't spell forign languages 08:51:12 chris-cyg, Q20. Doesn't Emacs suck? 08:51:33 chris-cyg, A20. That's not the reason for not upgrading it. 08:51:50 (Translated from RU.OS.CMP FAQ.) 08:54:35 Herkamire, to continue "blocks" talk. 08:54:36 --- quit: qFox (Read error: 104 (Connection reset by peer)) 08:55:03 You are to FORGET defined words when recompile. 08:55:40 chris-cyg, what editor do you use? 08:56:01 I've been trying out emacs 08:56:34 but it appears you need to learn elisp for it to be of any use 08:56:40 That's why you always do : TASK ; as first sentence of your block chains. 08:56:54 I want a non-modal editor 08:57:17 fridge, actually you need only a _slight_ knowledge what Lisp is. 08:57:25 that is threaded and can execute bg tasks and display the results in a new frame/window 08:57:40 without freezing the entire application while it is running 08:57:47 And, of course, non-modal editor is better than modal. 08:58:54 I went from vim->emacs for writing reports & emails 08:58:55 That's a hell always pressing "Esc" to assure you know what mode you're running currently. 08:58:59 but I'm not content with it 09:00:57 fridge, I don't see why you need to learn Elisp. 09:01:35 You've sources handy and you can look there any time you need. 09:02:08 well, trying to rewrite emacs to be threaded has already been discussed to death I think 09:02:15 All you need is a basic knowledge what's Lisp and how does it work. 09:02:20 --- quit: niklaus ("Client exiting") 09:02:31 yeah, that statement was a bit overzealous 09:02:40 but certain things like configuration files 09:03:33 My .emacs is 63 lines long. 09:03:52 ASau: I don't really know what you're supposed to do with blocks. I know what I do with them mostly. 09:04:26 ASau: I don't have forget in my forth. I have a key that recompiles the whole forth and runs this new copy. This does not take any noticable time 09:04:36 ASau: I think I'm just not 'getting it' 09:05:19 fridge. How long do you use Emacs? 09:06:18 Herkamire, you do plain "compile-run" cycle. That's not classic Forth way. 09:06:38 what? 09:07:24 Herkamire, when you read Forth advocacy, you'll find that one of main points is interactivity. 09:07:36 ASau: I know it's unusual to do a meta-compile on a keypress 09:07:55 right. my forth is interactive 09:07:57 ASau: a couple of months now, I've written a few macros and rebound various things using elisp 09:08:03 Herkamire, interactivity is opposed to "edit-compile-run". 09:08:43 ASau: I guess. it can be a fine line though. 09:09:16 the difference between command line editing, followed by hitting return, to entering text in the editor, and hitting a key to have it executed 09:09:31 basically nothing 09:09:44 except with the editor, your text is saved in a block 09:09:58 fridge. Really I don't see strong need to learn Elisp. 09:10:01 I wouldn't say one is more interactive than the other 09:11:08 BTW, I'm not against command lines. in my forth you can enter a word and press ENTER and it will be executed immediately without modifying the current block 09:11:57 Herkamire, I think that's because you Forth is not self-contained. 09:12:47 Herkamire, as you have fast recompile, you have no concern of interactivity. 09:13:02 ...It seems to me. 09:13:58 Fast recompile is kind of black magic, that holds you off interaction. 09:15:37 You are to work in stand alone Forth to feel it. 09:15:57 ASau: what the hell are you talking about? 09:16:09 fast compile makes it more interactive 09:16:41 Herkamire, how do you test your words? 09:17:15 by trying them or writing a word to test them 09:17:40 my forth is completely contained within an ELF file. 09:17:59 when it runs it runs within the memory that Linux loads the ELF into 09:18:16 Do you use Forth-written editor? 09:18:22 yes 09:18:27 the entire thing is written in forth 09:18:41 Ah! You're colored. 09:18:52 IIRC. 09:18:57 you press S and it recompiles it's self (kernel, editor etc) writes that to a new ELF file, and then starts executing it. 09:19:00 yes colored 09:21:15 We speak different languages. 09:21:16 You can't avoid editor. 09:21:16 I can. 09:21:35 if you don't have an editer, than you can't modify the forth interactively 09:21:48 Herkamire, I can. 09:21:57 how? 09:22:22 SAVE WHOLE IMAGE TO IMAGE.COM 09:22:44 Natural language processing. 09:23:35 Everything I feed through input stream I can write directly. 09:23:57 yes. you can add to the system, but I mean modify an existing part 09:24:18 like say changing emit to convert all letters to upercase before printing. 09:24:41 Herkamire, I've vectored my EMIT. 09:25:26 : (-LF) BEGIN [ ' KEY @ , ] DUP 10 = WHILE DROP REPEAT ; ' (-LF) CFA ' KEY ! 09:25:34 That's from my sources. 09:26:07 I need to eat LF's as my Forth accept the single CR as the end of line. 09:26:21 whatever. modify some core feature. like adding command line history or something 09:26:34 LF is a regular char. 09:26:45 ASau: that's what you get for using dos/win 09:27:52 Herkamire, if I'm not short of memory, I can intercepe words. 09:28:14 what's that? 09:28:25 Self-modifying code is not a mystery. 09:29:02 Actually I have block editor for such complex tasks. 09:29:20 hehe 09:30:24 Herkamire, does your interactive mode allow new words to be created? 09:30:25 "We like peace, but our armoured train stays on reserved railway track." 09:30:34 I should admit that I still haven't switched over to using my forth editor as my main dev platform. 09:31:46 madgarden: not as easily as I'd like. I have a plan for this, but I want to do it with graphic capabilities that I don't have on the tty 09:32:13 definitions have to be put into a block. 09:32:23 otherwise, they don't persist. 09:32:37 Herkamire, that's why you can't avoid editor. 09:32:54 ASau: I know I have to have an editor. 09:33:01 madgarden, that depends on your system persistancy. 09:33:07 ASau, does your Forth save full fource code? 09:33:13 ASau: and so do you, unless you are going to use an editor in some other system 09:33:25 source=fource 09:33:49 madgarden, I'm able to live without source. 09:34:02 madgarden, "sourceless programming" 09:34:03 madgarden: right, if you could define words without them going into a block, then the definition would disapear when you recompiled the system 09:34:26 ASau: what do you use, a hex editor? 09:34:33 OK. It's been a big puzzle for me... how to make interactively-defined words persist as source. 09:34:54 madgarden: you save user input into a block 09:34:58 madgarden, provide logging in your Forth. :) 09:34:59 Herkamire, though that would be fine for interactive testing. 09:35:12 You may not want those test words to persist as source. 09:35:50 madgarden: here's what I plan to do: the editor starts off with a scratch block. you type stuff in, it goes into the block every time you hit space. (this much I have implemented already.) 09:36:34 madgarden: everything you type comes in highlighted. if you are happy with it, then hit the execute key 09:36:44 if not, you can delete or edit 09:37:09 after execute, it will still be highlighted so you can delete. 09:37:19 if I find it useful, I'll have a key that will execute and delete 09:37:37 madgarden, you are able to delete unneeded stuff any time you want. 09:37:55 oh, also, if after executing you like it so much you want to use it, you can easily copy it (as it's selected) and paste it into some useful block. 09:37:59 madgarden, noone forbids doing this. 09:38:24 madgarden: I want them to persist for a while usually 09:38:34 I generally use my test words more than once 09:38:37 Herkamire, sounds usable, though I'd be worrying about overlooking some entered word. 09:38:39 and in more than one session 09:39:12 madgarden: this is not a solution that will stop you from making programming errors :) 09:39:32 but it will make it so you can easily fix them most of the time 09:40:01 ASau, sure, FORGET... but intermixing interactively-defined words with block-defined ones can delete the stuff you're testing. 09:40:06 ASau: what sort of "sourceles programming" do you do? what did you mean by that? do you program with a hex editor? 09:40:58 Herkamire, I've experimented with programming using persistancy. 09:41:27 I've FORGET, so I can erase words I don't need. 09:42:26 madgarden, that's why you have to forget testing words. 09:43:01 It's Forth short cycle: write a word, test, forget, rewrite. 09:46:13 So, purely discipline then. 09:46:42 ASau: what if you need to change something towards the begining? 09:47:23 In BASIC, this was simple: 09:47:23 10 09:47:23 10 if a=1 then goto 20 09:47:23 :) 09:48:06 Herkamire, if I understand you right, you don't need to change. 09:48:13 "Do not do it." 09:48:16 :) 09:48:48 Anyway, you do know how you system is done, so you're able to hack it any way you want. 09:49:50 ASau: my system is programmed with sources. I can change the sources. I would not get much done trying to alter the native PPC code by hand. 09:51:06 I don't expect I'll get everything right the first time. 09:51:12 is there a way for a linux based forth to spit out ELF compatible binaries? 09:51:15 Herkamire, I've compiling words. 09:51:27 It's important to me that I can completely transform my forth into a different system without going back to Linux/vim 09:51:41 fridge: mine does 09:51:53 which forth is yours? isforth? 09:51:55 fridge: when you press shift-S 09:52:06 fridge: herkforth. native ppc. runs under linux 09:52:10 fridge, Herkamire is _colored_. 09:52:22 * Herkamire feels colorful 09:52:39 http://herkamire.com/jason/herkforth 09:52:51 I'm colorblind 09:53:03 hopefully the hues aren't too similar 09:53:05 ;) 09:53:26 Herkamire, cool! 09:53:35 Use underlines. 09:54:03 fridge: I'm sure I could modify the hues/intensities/fonts etc so you could read it eventually, but right now I'm just using xterm for my display. 09:54:29 I wonder if it'll work under openbsd's linux emulation 09:54:34 I'll try it when I get home 09:54:57 I only use 5 colors 09:55:24 The whole Newtonian set. :) 09:55:37 fridge: I'm sure it would if it's ppc. I only use a few syscalls. (I think it's just read write, and if you save then open/close) 09:55:41 ...palette. 09:55:53 must be ppc though 09:56:16 Mr. Woofenden, do you have a screenshot of some coloured herkForth code? 09:56:29 madgarden: I will in a sec 09:57:53 Herkamire, I've noticed color based linux games such as pathological and frozenbubble have a tendency to have at least one pair of colours too similar for me to distinguish between them 09:58:04 I should submit a patch 09:58:12 "Woofenden" sounds almost like a Hobbit surname... 09:58:31 ;) 09:58:41 fridge: I use red green and yellow. and just a very little white and magenta. 09:58:56 madgarden: hehe 09:59:20 Herkamire, red/green doesn't seem like the best combo for some people... ever considered changing one of those to blue or cyan? 10:00:00 it is usually light green/yellow and blue/purple that stumps me 10:00:57 Nuts, bbl. 10:04:27 there are a few different types of colourblindness... I find the best thing is to vary brightness as well as hue 10:07:36 extra clues means the vast majority of colorblind people can at tell they're not the same 10:07:37 fridge: I would like to pick a deeper green when I go graphical 10:07:57 ok, screenshot at herkamire.com/jason/herkforth 10:08:05 thumbnail looks kinda stupid, but oh well 10:08:48 hmmm. I should show the history there. 10:09:01 above the cursor at the bottom it shows the last few lines of input, and any output they generated 10:10:21 do you use any of chucks cf ideas? 10:10:31 such as color assignment or kb layout? 10:11:25 I use a lot of chuck's ideas 10:11:28 a register 10:11:30 most of the colors 10:11:37 I use straight dvorak keyboard myself 10:11:55 it just uses tty for input, so you can use whatever 10:12:40 this may be an issue once it boots, but I'll make it accessible to QWERTYers somehow 10:13:32 yep 10:15:08 I feel the kb idea is a bit overdone, and would prove more a hinderance than a help to all but the most dedicated full-time CF'ers. It does fit in with chucks 'factor,factor,factor' mantra 10:15:39 I agree. 10:15:45 for him it makes sense. 10:16:07 other people made a querty version 10:16:52 I think making people relearn a new KB layout would be akin to making them learn a new language for the sake of efficiency. Sure, you CAN communicate meaningful messanges from a computer to a human using nothing but a single LED pumping out morse code, but it isn't very pleasant 10:16:55 I've learned so much from chuck's ideas 10:18:25 I understand not going to great lengths to support peoples habbits from crappy computer interfaces, but I think if you want people to try your software, you should make a qwerty version. 10:18:39 I don't think chuck is very concerned about many people liking it 10:18:54 he left that job for others 10:19:03 I'm not colour blind, but I don't like many colours presented. 10:19:13 right. other people will make a qwerty version, he doesn't have to worry about that. 10:19:18 someone even ported it to windoze 10:19:55 Roman Pavljuk, AFAIR. 10:20:23 We have our men everywhere. :) 10:20:49 same with the colorblind thing. chuck says he's not trying to exclude them, he's just working with concepts. the concept is visually distictive. other people can code alternative fonts and/or intensities etc. he's not going to worry about that. 10:22:08 Herkamire, it should be good to use traditional *bold* or _underline_ for definitions. 10:23:03 Underline preferred. 10:23:44 And italic for numbers. 10:27:03 it can also be displayed with symbols for those who can't see, or don't like the colors 10:27:45 it's easy enough to put in a : before red words [ before yellow words and ] before green words 10:28:15 I'm going to write a utility that converts the source to ascii source like that anyway 10:33:09 numbers use the same colors as words (yellow for execute and green for compile) 10:35:11 yeah, I could do font styles 10:35:16 or textures 10:39:17 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 10:41:40 oh, I hate it when I get thinking about all the cool graphical interface stuff I want to do 10:42:06 I've really gotta finish up the existing editor, and get this thing to boot 10:42:29 then I can play with the graphics card 10:43:53 Zdravstvujj, qFox! 10:44:03 u ook goedendag 10:44:34 ook? is that a word in german? 10:44:47 Hm. "Goedendag" is understandible. 10:44:53 What's "ook" and "u"? 10:45:06 too, you 10:45:24 goodday to you too, basicly 10:45:46 I see german roots. 10:45:53 there are similiarities yes 10:46:15 it'll sound a bit the same to you too, i think 10:46:55 although i find the german language more.... hm, that g (ch) sound of theirs, and the z, are sounds you hear frequent in their language 10:47:00 not so much in ours 10:47:22 oh dont confuse that g for a "djee" 10:47:23 Are there any relations between "god"-"Got" and "good"-"Gute"? 10:47:30 but that throathclearing sound 10:47:46 yes that's the translation.. 10:47:53 allthough 10:48:04 we say "god" for god too 10:48:10 just a different g sound 10:48:12 :) 10:48:29 one you probably cant do unless you can already speak german 10:48:47 qFox, I mean "god" <-> "good" (Engl.) and "Got" <-> "Gute" (Deutsch)? 10:48:55 oh 10:49:01 eum, 10:49:11 good is "goed" in dutch 10:49:24 i'm not sure what you mean with got... 10:50:00 See relations "bog"(Rus.) <-> "buh" (Cestina) <-> "Bug" (Rus.) as river in Belorussija. 10:51:08 well there are alot of similarities between german and dutch 10:51:38 both derived from.... ehm, ok i dont know the proper word for this in english, but we call it "germaans" 10:51:49 a very old german language, i believe 10:51:53 german-like 10:52:14 oh and i hate german, but thats just me :p 10:52:19 "Buh uhovej" (Czeck) is for "god, save me". 10:52:33 i can read it, and understand if if spoken not too fast. but i dont like it much 10:52:54 "god, help me", would be a literal translation 10:52:55 Bug (river) was sacral. 10:53:24 although if someone would say that, it would imply someone was actually praying to god, rather then the meaning of the general expression in english 10:54:13 It reminds me our volley-ball team. 10:54:43 Bulgarian-Russian mixed teams on sea shore. 10:54:43 i fail to see the relation :p 10:54:46 oh 10:54:55 :) 10:55:06 Maybe there were other nations present. 10:55:49 Play should have been interested to look, it seems. 10:56:06 Everyone shouted his language. 10:56:17 hehe 10:56:34 And everyone understood each other. :) 10:58:26 It seems your "g" is similar to soft "g" as in Ukrainian or Czeck. 10:58:36 I mean Check "h". 10:58:49 well, you know the german ch? its a softer version of that 10:59:10 also depends on where in the netherlands you are, in the south its VERY soft, and in the north its very hard 10:59:18 going up as you get higher :p 10:59:33 You mean it is "deaf" variant. (I don't know how it should be in En.) 10:59:40 hmmm no not deaf 10:59:45 its more like 10:59:56 well there's no english equilivant for the sound 11:00:06 hm 11:00:12 like if you go "grrrrr" ? 11:00:18 hm 11:00:26 no you'd probably use the g from good for that 11:00:33 It's something between Deutsch "h" and "g". I think. 11:00:51 try to do the throathclearing g, do grrrr, and loose the r.... that sounds about it 11:01:00 Yes. 11:01:18 It should sound like. 11:01:30 you'll find most english/american ppl having a tough time creating the sound :p 11:02:07 and afaik the germans cant speak dutch just like that, there's one or two sounds they cant really make 11:02:15 although i dont remember which right now 11:02:48 but they pronounce two sounds different from ours. and for some reason we have no problem with theirs, but they do with ours :) 11:02:54 I think practically every language has its own pecularities in pronounsation. 11:03:00 oh yes 11:03:13 Even more. 11:03:44 Some languages have variant pronounsation. 11:04:20 I can name three different pronounsations in Russian. :) 11:04:40 the chinese is kinda funny 11:04:41 Those're not dialects. 11:04:57 4 pronounciations for each word, all 4 have a complete different meaning 11:05:02 The words are the same. And grammar is the same. 11:05:38 The only thing that (slightly) differs is pronounsation. 11:05:54 well the words are the same, just different sounds. lets see if i remember.... a mono tone, going up then down, hmmm going down up, and another one 11:06:44 In Russian, there're "a" speach, "o" speach and "soft g" speech. 11:07:45 Also, there're Petersburg "ts" and Volga "singing". 11:08:47 i have little experience with rusian or rusian type of languages 11:08:53 except from movies, but.. 11:09:14 Slavic languages differ from German. 11:09:22 ye 11:09:30 heh, sean connery isn't a very good example of a russian accent 11:09:47 there are similiarities between our language and nordic languages though... not so much in pronouncing, but in spelling 11:09:58 not that a russian speaking english is russian anyway... but I thought it funny 11:10:00 Though you should find more similarities in Russian to German, than to English. 11:10:28 could be, i have no idea 11:10:36 enemy at the gates was another flick with appalling russian 'accents' 11:11:07 it was like, you didn't even try! 11:13:01 In articulation German is somewhat similar to Siberian or Uralic Russian. 11:14:03 Short vowels and sharp consonants. 11:27:55 ? 11:28:15 I think I'm silently disconnected. 11:28:25 i think not 11:28:25 :p 11:29:07 Sometimes I become disconnected without any messages. 11:29:28 I've not found why it goes. 11:29:29 --- join: I440r (~mark4@66.147.207.131) joined #forth 11:29:39 Dobryjj vecher, I440r! 11:29:47 :) 11:31:44 Privet, I440r. 11:31:58 hi robert 11:31:59 How does it feel when we greet you in commie-lang? ;) 11:32:11 lol 11:32:22 im bulletproof 11:32:23 :) 11:32:28 Hehe 11:32:31 besides yer not commies no more :P~ 11:32:32 Got any new job? 11:32:44 im in california for a few weeks 11:32:45 i must say i actually dont mind living in a non-english country that doesnt use voicesynch in movies and tvshows. the subtitles are sometimes a very welcome addition, and dnot really annoy me otherwise 11:32:52 I'm not russian either. 11:33:03 like when there's alot of background noise, in the movie, or in the room 11:33:08 im working for the company that does the security systems for the white house, fbi building, smithsonian institute etc 11:33:16 qFox: Yeah, they're great. 11:33:20 and sometimes they translate foreign languages, not translated in the movie as well 11:33:33 like when someone speaks 2 lines of chinese or something 11:33:39 qFox: I often read the subtitles when there's an English or Swedish movie 11:33:45 speaks 2 lines of chinese ? 11:33:50 or whatever 11:33:56 qfox do you speak chinese ? 11:33:59 no 11:34:03 thus i like the subtitles? 11:34:04 :) 11:34:04 ok :) 11:34:40 And I don't like subtitles. 11:34:41 oh i get it, the chinese is translated in the subtitles but wouldnt be in the overdub 11:34:50 overdub? 11:35:10 like in king-fu movies 11:35:13 where they say 11:35:15 oh right 11:35:16 heh 11:35:20 so you ......... wanna ........... fight ? 11:35:28 :) 11:35:31 i hate dubbed movies 11:35:39 seriously annoys me 11:35:58 for that matter i dont really like translated german or french or actually just any non-english/dutch movie 11:36:31 some things are just lost in the translation, it also requires me to keep watching because i cant understand the language 11:37:00 qFox, it seems you have no good traditions in translation. 11:37:59 Well, some things are lost, other ones appear. 11:38:14 That's called "artistic translation." 11:38:17 well when the chinese in the movie is translated into english by a CHINESE person instead of a chinese AND an english person.... 11:38:28 well thats just my experience with english to dutch subs 11:39:02 I watched Bowling for Columbine with dutch subtitles. Nasty! 11:39:10 We've many American English to Russian translated movies. 11:39:37 I can't say it's unnatural. 11:39:52 i dont mean its like that all the time 11:40:02 but its simply a fact that not everything can be translated 11:40:18 Conversation goes in good concordance with picture. 11:40:21 some things are so subtle they'd need an essay to be written on them 11:40:28 in order to convey the correct meaning 11:40:43 and I think that would be rather distracting 11:40:57 In that case, you have to read book after movie. 11:41:56 I've read Chekhov's "Chajjka" ("The Seagull") in Russian and in English translation. 11:42:03 Rather good. 11:42:22 I've read Majakovskijj in English translation. :) 11:42:32 That's worse. 11:42:41 well, another thing is that you have to keep watching the tv or you wont know what they're saying, i usually tend to do other stuff while watching a movie 11:43:04 ohye, and dutch movies suck generally 11:43:05 :p 11:43:13 lol 11:43:24 as a result there arent many 11:43:26 I prefer apply Occam's Razor in such cases. 11:43:34 it comes from living below sea level :P 11:43:39 must be 11:44:09 If you start doing something in parallel, it means you better should stop watching movie. 11:44:18 nope 11:44:29 like i'm watching true lies right now, and still chatting and coding at the same time :p 11:44:36 ok, bad example :p 11:45:19 my mom can watch tv, listen to radio, read a book and SING all at the same time 11:45:22 she is weird 11:45:31 Hah 11:45:35 qFox, I don't consider such movies as artistic work. So I don't want watch them. 11:45:56 You don't like Arnold, ASau? ;) 11:46:27 the govinator !!!!! 11:46:29 I440r, actually women are able to procede this way. They succede more times than men. 11:46:46 Robert, I hate Arnold. :) 11:46:59 If you mean Schwarzneger. 11:47:06 ASau: Good boy! 11:47:49 One time of its "Terminator" is sufficient for not having to bother any more. 11:47:57 well its the best thats on tv atm 11:48:03 better that then nothing i guess 11:48:17 --- quit: I440r (Read error: 60 (Operation timed out)) 11:48:19 qFox, become real. 11:48:26 no sir me likes this life 11:48:39 There're many interesting things except TV. 11:48:48 Wow. 11:49:14 name one i can do while behind a computer and is not related to a radio/stereo 11:50:26 Read 11:50:29 IRC 11:50:36 i am doing that 11:50:49 and i'm even eating! 11:50:50 :D 11:50:54 And that isn't enough? 11:50:58 Go build something 11:51:11 that would mean i'd have to get away from the pc 11:51:56 Get away of computer. 11:52:01 Not if your desk is close to the computer. 11:53:23 my computer is on my desk, and i have no room to build something, plus then i'd have to stop eating too 11:53:36 See: http://www.photocenter.ru/myphoto/films/58Jri73NrvDHRTw0P62tVw/ceuEZSTy8XHEFWOQW8amKw.html?picnum=21 11:53:37 Poor qFox 11:53:42 face it, tv is the only real thing i can do besides what i'm already doing, and the best thing on tv is unfortunatly true lies 11:54:15 http://www.photocenter.ru/myphoto/films/58Jri73NrvDHRTw0P62tVw/ceuEZSTy8XHEFWOQW8amKw.html?picnum=23 military chicks? :p 11:54:48 That's on Russian-Georgian border. :) 11:55:51 http://www.photocenter.ru/myphoto/films/58Jri73NrvDHRTw0P62tVw/ceuEZSTy8XHEFWOQW8amKw.html?picnum=24 11:56:03 It's gun of 1942. 11:56:10 German one. 11:56:51 shall we discuss the fact that true lies might be the best movie ever? 11:56:57 :D 11:57:44 I haven't seen it. 11:57:54 omg! you dont know what you're missing! 11:58:00 (which is true, i guess) 11:58:31 The best movie ever is "Raznye sud'by". 11:58:57 What do you have against? 11:59:32 nottinghill, the matrix (1..) and basic 11:59:33 :) 11:59:41 i'd have to go with those 12:03:38 I liked the city of lost children 12:04:22 'Shine' is pretty good, I think. 12:06:38 --- join: slava (~slava@CPE0080ad77a020-CM.cpe.net.cable.rogers.com) joined #forth 12:06:38 yo 12:06:47 Hi 12:07:08 Zdravsvujj! 12:07:19 ...Zdravstvujj 12:07:19 :) 12:07:37 How's you compiler? 12:07:51 ...your... 12:10:30 i'm stuck on a little issue... 12:10:53 in my language i use the term 'immediate' words to refer to words that cannot be compiled stand-alone 12:11:03 because they take code quotations (think XTs) off the stack 12:11:27 they are inlined into words that call them, as far up as necessary so that the quotations are known and can be substituted into the immediate word. 12:11:39 the problem is compiling recursive immediate words. 12:11:53 since they are inlined, the recursive call is made to -- what? 12:12:05 instead, i'm going to try a different approach. 12:12:28 instead of inlining, i will compile 'specialized' words, which consist of . then this can recurse on itself. 12:12:52 the reason I cannot directly compile a call to an arbitrary piece of code is that the JVM does not allow passing function pointers. 12:33:21 --- join: Teratogen (~leontopod@intertwingled.net) joined #forth 12:33:26 I have returnethed 12:33:30 let us rejoiceth. 12:34:01 hi 12:34:22 Hi, Minix guy. 12:34:34 MINIX! 12:34:42 --- join: MarkT (mark@63.121.115.182) joined #forth 12:34:50 Teratogen: Write a Forth for Minix. 12:35:02 Dobryjj vecher, Teratogen, MarkT! 12:35:38 hi :) 12:36:32 what exactly does Dobryjj vecher mean? (I assume a greeting) 12:36:47 haha 12:36:53 MarkT, good evening 12:37:00 ahh ok cool 12:37:02 "Dobryjj" means "good" or "kind", depends on context. 12:37:14 "Vecher" means "evening." 12:37:14 ok 12:37:58 doesn't gnu forth work on minix 12:38:03 isn't minix compiled with gcc? 12:38:09 come on, get real, ro_bert! 12:38:17 O! It depends on CONTEXT value. 13:14:17 --- quit: MarkT (Read error: 60 (Operation timed out)) 13:28:04 --- quit: fridge ("Leaving") 13:42:00 : >title ( str -- str ) 13:42:01 1 str/ [ >upper ] dip >lower cat2 ; 13:42:04 convert a string to title-case 13:42:06 i think it looks neat :) 13:42:37 Oh yea? Well I can post Forth code too! :P 13:42:45 : string 13:42:45 create dup c, allot 13:42:45 ; 13:42:58 : =string 13:42:58 count create dup c, 13:42:58 0 do dup c@ c, 1+ loop drop 13:42:58 ; 13:43:09 : =" 13:43:09 dup c@ [char] " parse 13:43:09 rot swap tuck ( astr addr c2 c1 c2 ) 13:43:09 - dup 0< ( astr addr c2 c1-c2 ) 13:43:09 if + ( astr addr c1 ) 13:43:09 else drop then 13:43:11 -rot swap 1+ rot cmove 13:43:13 ; 13:43:15 : print count type cr ; 13:43:19 So there! 13:43:23 rot swap tuck? 13:43:33 Just felt like messing around with some string ideas last night. 13:43:41 A B C -- B C A C 13:43:44 hmm 13:43:56 What's wrong with rot swap tuck? 13:44:31 just hard to understand that's all 13:44:54 Yes, it is. 13:45:04 That's why I needed comments. 13:45:13 I should probably factor that code out. 13:45:52 Anyway, you can do this: 13:46:08 c" test" =string test$ 13:46:14 test$ print 13:46:24 test$ =" blah" 13:47:42 I was thinking that a re-usable string should have a buffer length byte, and a count byte for the string itself. 13:58:32 madgarden, consider using TIMES ... REPEAT instead of 0 DO ... LOOP 13:58:54 Sounds like FOR/NEXT? 13:59:13 I don't know FOR/NEXT :) 13:59:35 10 FOR ... NEXT 13:59:45 It's what I normally use. 13:59:54 However, I wrote that string code in FICL. 13:59:58 I wrote it for my Forth and tested on Gforth. 14:00:21 It works nice. 14:01:19 It uses begin/while/repeat? 14:02:44 In unoptimized case. 14:03:09 Something like... : times begin dup 1- swap while ; immediate 14:04:10 >R BEGIN R> -DUP WHILE 1- >R everything COMPILEd and [COMPILE]d 14:04:40 So, that's a lot like my FOR/NEXT, really. 14:04:58 My FOR/NEXT just decrements/increments a count on the return stack until it is 0. So, -10 FOR .. NEXT or 10 FOR ... NEXT 14:05:28 I use unsigned comparison. 14:05:39 You see. 14:06:38 What's -DUP? 14:07:26 : -DUP DUP IF DUP THEN ; 14:08:00 --- join: cr3 (~marc@209.71.234.197) joined #forth 14:08:22 Zdravstvujj, cr3! 14:08:31 Same as ?DUP 14:08:42 asau: yeah, Zdravstvujj to you too ;) 14:08:58 madgarden, I don't know. 14:09:08 I'm not aware of ?DUP 14:09:15 I think it's ANS. 14:09:43 madgarden, why you don't use CMOVE instead of loop? 14:10:23 CMOVE ALLOT should be better than DO C, LOOP 14:10:46 Or: ALLOT CMOVE 14:11:32 Yea, it probably would be. 14:13:01 What does =" do? 14:13:11 It's long and I'm lazy... 14:13:36 Copies a parsed string to a string variable. eg. 14:13:36 test$ =" hello!" 14:14:17 And truncates if it's longer than allocated memory? 14:14:24 Yep. 14:14:41 Why not use MIN ? 14:14:59 Because I didn't know of MIN. :) 14:15:04 Haven't actually written much Forth code. 14:15:12 So, just playing around mostly. 14:15:44 It seems ANTI-standard influences badly. 14:16:29 Nah, I think it's mostly just my own ignorance. 14:16:35 I have 26503 bytes Forth source for my environment with _variants_ of code. 14:16:43 But thanks for pointing out my bad code. ;) 14:17:06 _variants_ of code? 14:17:25 I have several variants for many of words. 14:18:00 why? 14:18:01 I've written LIT BRANCH 0BRANCH in Forth. 14:18:25 It's half the way for meta compiler. 14:18:35 my game has 922 words already. 14:19:24 I have no more than 232 words. 14:19:42 I mean base environment. 14:20:37 my base is around 300 words. 14:20:38 I'm going to exclude some words and rewrite some others. 14:20:48 some words from the game will move to the base; some words from the base will move to the game. 14:25:33 --- join: phobos (~d@68.82.100.120) joined #forth 14:25:43 Dobryjj vecher, phobos! 14:26:20 excuse me 14:26:26 Good evening. 14:26:29 i need a good forth runtime environment for my Sharp Zaurus 14:26:36 CPU? 14:27:58 DragonBall zx55 14:28:21 Search for dsForth. 14:28:43 IIRC, it's written for DragonBall. 14:28:51 Or DragonForth... 14:29:39 http://dragonforth.sourceforge.net/ 14:30:33 "S plamennym privetom iz Rossii." :) 14:45:51 Dragonball Z!? 14:46:39 I don't know. 14:47:02 I have no access niether for Dragons nor for Balls. 14:47:16 That's what I know. 14:47:27 so are you saying you don't have any balls? 14:48:14 Aristocracy has been kicked in 1918. :) 14:48:25 If it survived in 1914. 14:49:18 --- quit: cr3 ("Leaving") 15:35:17 I was listening to an older Rush tune, and it sounded like Geddy said "Baby robots aren't so bad!" 15:55:34 --- join: jdrake (~uniq1@CPE00045afdd0e8-CM014410113717.cpe.net.cable.rogers.com) joined #forth 15:56:53 madgarden, see the code: 15:57:07 : STRING 15:57:08 [COMPILE] CHAR WORD HERE COUNT 15:57:09 DUP 1+ ALLOT SWAP C! 15:57:09 DOES> 1+ ; 15:57:10 ( STRING C@ --> MAX. STRING LENGTH ) 15:57:10 ( STRING 1+ C@ --> CURRENT ... ) 15:57:12 ( STR -- ) 15:57:14 : !" COUNT CHAR " WORD HERE SWAP 15:57:16 OVER C@ OVER C@ MIN 15:57:18 >R 1+ R> 1+ CMOVE ; 15:57:54 That's (approx.) what you want. 15:59:58 Major flaws: 1) need to save max. len of string; 2) COUNT or !" but not both. 16:00:44 3) ' str !" string" 16:02:55 It can be fixed so, that you will have string with decreasing length _only_. 16:03:44 (Actually, it's what I wanted to avoid.) 16:07:28 I think, next is better: 16:07:41 : STRING ; 16:08:07 : STRING ; 16:08:17 : STRING ; 16:08:46 The second one contains error. 16:09:53 Usage: STRING name / string of pearls/ 16:17:27 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 16:51:01 --- join: blockhead (default@dialin-97-tnt.nyc.bestweb.net) joined #forth 17:06:49 --- join: crc (crc@1Cust80.tnt3.levittown.pa.da.uu.net) joined #forth 17:29:57 --- quit: crc () 19:29:38 --- log: started forth/04.03.07 19:29:38 --- join: clog (nef@bespin.org) joined #forth 19:29:38 --- topic: 'A channel dedicated to the Forth programming language, its implementation, its application, and its philosophy. kc5tja: http://216.239.57.104/search?q=cache:cWNnp2m5yzAJ:dec.bournemouth.ac.uk/forth/euro/ef99/chapyzhenka99.pdf+Transport+Triggered+Architecture&hl=en&ie=UTF-8' 19:29:38 --- topic: set by warpzero on [Tue Feb 10 23:23:11 2004] 19:29:38 --- names: list (clog imaginator jdrake phobos Teratogen slava qFox Herkamire chris-cyg @ChanServ skylan Robert ASau ayrnieu cmeme madgarden warpzero OrngeTide ianp scope TreyB chandler mur) 19:43:06 --- quit: qFox ("if at first you dont succeed, quit again") 20:05:39 --- part: phobos left #forth 20:06:53 "phobos has left #forth"... guess he was scared. 20:06:59 * madgarden har hars. 20:07:20 my console is coming together 20:08:12 jdrake - what do you build it for? 20:08:37 i am planning on integrating ficl into it, then providing graphics functions 20:09:19 so that you can develop graphical applications in the same thing you do the running of the graphical stuff 20:09:42 jdrake, logo forth? 20:09:56 what is this logo forth? 20:10:11 jdrake, turtle graphics in forth right 20:10:24 i don't see why it wouldn't be possible 20:10:28 but that isn't my target 20:10:34 what's your target? 20:10:42 regular graphics functions 20:10:51 not a logo attempt 20:10:51 but simple and easy to use right? :) 20:10:59 hey, this is forth right? 20:11:00 I actually think the logo-style relative drawing would be more efficient. 20:11:09 stackwise you are probably right 20:11:52 yahoopops is sooooo sloooow 20:12:45 And from there, you could create your absolute drawing words. 20:13:26 madgarden, being that you are familiar with allegro, would you be interested in taking a look at the console code and see if you can spot any booboos and other things that could be better 20:13:47 as I need this pretty solid or else people would yell at me if they used it and it crashed a lot :p 20:13:55 relative drawing would more closely map to vt102 control codes -- but jdrake has already thrown vt102 away, it seems. 20:14:12 i need a linux tester too 20:14:43 jdrake - make up a testsuite, and I can tell you what it says on OpenBSD =) 20:14:43 what is the include for va_list and stuff like that/ 20:14:58 hmm, i don't really do test suits much :p 20:15:11 but yes, I should probably do something up 20:15:17 Forth code should make a perfect test suite. 20:15:21 ANd sure, I can take a look at it. 20:15:23 this isn't forth 20:15:26 this is C 20:15:39 Yea, but once it's hooked into FICL you can make a test script in Forth. 20:15:54 what I could use is somebody to try to crash it :-) 20:16:00 i have already squashed a few booboos 20:17:12 Well I'll run it on my system when it's all ready. :P Don't have time to do a lot of testing though. 20:17:20 k 20:17:23 what system have you? 20:18:56 Win2k 20:19:08 * madgarden ducks. 20:19:15 so it is basically like my cousin's system (his is xp) 20:19:37 Basically, though there are differences between XP and 2000, as far as Allegro's operation goes. 20:20:27 madgarden: interesting, how so? 20:20:56 I dunno, you'd have to search the alleg.sourceforge.net developer's list for the details. 20:21:16 k 20:21:20 i do have certain colour conversion problems at 24/32 bpp, but fine at 15/16 20:21:22 I guess I won't. :) 20:24:46 chris-cyg, I think there were just some differences with video switching when a window was alt-tabbed, etc. Nothing exciting. 20:28:48 Ah, ok. 20:30:13 --- join: kc5tja (~kc5tja@66-91-231-74.san.rr.com) joined #forth 20:30:23 --- mode: ChanServ set +o kc5tja 20:30:33 YAY! Internet works again! 20:30:52 kc5tja: YAY!!!! 20:30:54 kc5tja: :) 20:30:56 kc5tja: i missed you! 20:30:57 kc5tja: :) 20:31:00 kc5tja: glad you're back! 20:31:04 kc5tja: we all are! 20:31:10 We had a 1.5 second long black out yesterday which *smoked* our cable modem. 20:31:12 kc5tja: Hail Sam, Supreme F0rth3r! 20:31:19 kc5tja: :( 20:31:25 We just got the new cable modem installed now. 20:31:33 suxx0rs 20:31:38 california power sucks. 20:31:52 Yeah. 20:31:57 Precisely why I want off this grid. 20:32:02 That, and I want off the Internet too. 20:32:08 ? 20:32:16 I want to develop an all amateur radio internetwork that is wholesale independent of the commercial Internet. 20:32:28 heh 20:32:33 that would be hella cool 20:32:39 * kc5tja nods 20:32:48 do you guys know a solution to the problem where my cousin doesn't have vasprintf because he is on windows? My forth console is in peril without :p 20:32:56 ethernet card, connect to a little battery-less sender, which finds a "Internet Access Point" :) 20:33:25 jdrake: write vasprintf if it doesn't exist. Its quite trivial. 20:33:41 i am afraid I do not know how 20:33:47 kc5tja: heh, I received tathi's existing Frapiar code, and I already expanded it :) 20:33:51 why does your forth need C library functions? 20:33:55 jdrake: No, but one could write a dummy version of one that over-allocates memory in most cases. 20:34:13 jdrake: int vasprintf(char *s, va_list v); or something like that 20:34:19 its the graphical console text output function 20:34:32 i need it for, I am going to be running ficl inside it 20:34:38 jdrake: one thing you can do is download the glibc sources for it --- it'll just be a wrapper for sprintf, anyway 20:34:59 hmm, what exactly is the difference between vsprintf and vasprintf? 20:34:59 * kc5tja is also installing Windows XP on my roommate's new computer. 20:35:01 he has vs 20:35:25 jdrake: vsprintf() requires that YOU allocate the string. vasprintf() allocates the string FOR you. :) 20:35:54 ah 20:35:59 vsprintf will work then 20:36:08 how will i be able to find out how large the string will be? 20:36:38 Heuristics is the easiest method. 20:36:44 kc5tja: ? 20:37:00 eh? 20:37:01 It's going to be the length of the format string, plus, for each %-code, you need to figure out the expected number of characters they expand to. 20:37:03 kc5tja: can I msg paste you my window definition? :) 20:37:10 kc5tja, hi! 20:37:37 eh... 20:37:54 jdrake: I would just take the glibc vasprintf :) 20:37:59 For example, if you see a %d in the format string, and you know the number passed to fill that format slot is between 10000 and 99999 inclusive, then you know it'll take five characters, etc. 20:38:03 i don't have glibc 20:38:08 or the source 20:38:13 it is rather big isn't it? 20:38:18 rather messy too 20:38:25 me and ASau had a good laugh at some code duplication the other day. 20:38:28 ok, i will get it 20:38:41 jdrake: you can download it, find it, then delete it :) 20:38:55 --- quit: Herkamire ("not even midnight an I'm really tired") 20:38:59 chris-cyg: done it several times before 20:39:00 :) 20:39:35 kc5tja: anyway, tathi's code had only row container widget, so i rewired it to be a general Container widget which can be either a row or a column. 20:40:02 hopefuly I can find it inside 20:40:14 kc5tja: Actually, they're still separate widgets --- They are considered different widgets internally, but they share the same struct, functions, etc. 20:40:20 kc5tja: except for a few select things 20:40:25 kc5tja: cool, eh? :) 20:40:52 int vasprintf(char **presult, char *fmt, va_list *arglist ) 20:40:52 { 20:40:52 int length = 0; 20:40:52 *presult = (char *)(malloc( 1024 )); 20:40:52 if( *presult ) 20:40:54 { 20:40:57 length = vsprintf( *presult, fmt, arglist ); 20:40:59 } 20:41:02 20:41:04 return length; 20:41:07 } 20:41:10 Or you can use a dummy function like this (untested, but the structure is essentially correct). 20:41:52 chris-cyg: That's how GTK handles things. 20:42:01 kc5tja: wow 20:42:18 kc5tja: I don't know anything about GTK, and I did this like it lol 20:42:47 kc5tja: I'm currently working on Windows right now 20:42:57 * kc5tja prefers a more table-like layout widget though. Horizontal layouts would be tables of shape (N,1), while vertical layouts would be tables of shape (1,N). 20:43:38 But I also realize, too, that it might actually just be easier to special-case the N,1 or 1,N cases. 20:44:01 kc5tja: yeah, tathi says he's gonna start working on a table widget 20:44:21 kc5tja: which makes things nicer ^_^ 20:44:39 kc5tja: My struct Window definition is huuuge :) 20:44:46 chris-cyg, what is struct Window for? 20:44:55 chris-cyg: How huge is huge? 20:45:03 well, not _that_ huge... 20:45:10 16 members, 8 of which are :1 20:45:20 That's not huge. :) 20:45:28 kc5tja, i think i will take your version :-) 20:45:29 AmigaOS had something like 30 or so members, NONE of which were :1. :D 20:45:46 on 32-bit arch, it takes up 57 bytes 20:46:00 is that alot? :) 20:46:02 http://rafb.net/paste/results/Tr744376.html <-- this is glib's 20:46:13 chris-cyg: HAHAH! struct Window on AmigaOS took up close to double that, and that's not counting support data like menus and gadgets. 20:46:28 (And AmigaOS STILL managed to run 4 tasks comfortably in only 128KB of RAM, so go figure). 20:46:57 jdrake: o.O worse than I expected :P 20:47:01 kc5tja: well, its not done yet :) 20:47:14 and the bitch of it is, it can go over it multiple times :p 20:47:21 so it could really be slow 20:47:26 if it was a large string 20:47:53 jdrake: Yeah. I sacrifice generality for succinctness and relative speed. 20:47:57 kc5tja: right now, its got name, parent, current dimensions, preferred dimensions, titlebar widget, content widget, container used for combining titlebar and contents for displaying, surface for rendered image, then 8 flags 20:48:14 their's can run in smaller spaces though 20:48:20 That's all it really should need. 20:48:37 jdrake: Yes. But my computer has 640MB of memory on it. I'm not too concerned. :) 20:48:44 kc5tja: flags being withTitlebar, isTransparent, isFullTitlebar, isShy, isIntrusive, isShaded, isMaximized, isMinimized 20:48:50 kc5tja, only 640mb? 20:49:12 jdrake: only!? thats alot, if you think about it. 20:49:33 i have 768 20:49:52 jdrake: 40MB for X, dunno how much linux takes, but not much ... leaves _lots_ of room for other apps :) 20:50:07 funny thing - if I had a g5 like I want I *could* have upto 8gb 20:50:25 i have seen X upto 80mb 20:50:36 gnome / kde would put a lot up there too 20:50:43 jdrake: it depends on the window system and the graphics card. 20:51:11 jdrake: part of the X amount is the graphics card. 20:51:35 jdrake: if you got a 32MB card, it'll start out with mmap()ing those 32MB :) 20:51:38 it doesn't shadow video ram does it? 20:52:38 dunno... 20:53:02 All I know is that Unices will count the Video memory as part of the allocated memory. 20:53:17 Rush - Vital Signs <--- :) 20:55:09 Quote: " 20:55:11 The other thing to be careful of is top and other memory reporting utilities report X as taking up far more RAM than it actually uses. This is because X mmaps your video card memory. So if you had 128 megs of video RAM, your X would look pretty huge." 20:57:50 how can I declare a restrict keyword char pointer? const char * restrict format seems to be invalid as is in vsnprintf 20:58:02 restrict const char * 20:58:21 don't use restrict tho, as its C99 only, and most compilers _STILL_ don't support that (even though its been 5+ years) 20:58:47 i need to use it 20:59:07 because otherwise it will say an incompatible pointer type 20:59:42 aah 20:59:43 ok 20:59:46 I see what you're saying. 21:00:14 then, what you want to do is say #if !(see if C99 compatible) #define restrict #endif 21:00:54 In file included from /Users/jeffreydrake/Phurth/main.c:13: 21:01:04 Users/jeffreydrake/Phurth/Console.h:55: error: invalid use of `restrict' 21:01:10 void writef(restrict const char * format, ...); 21:01:34 apparantly it should be void writef(const char * restrict format, ...); 21:01:39 i just didn't have c99 set 21:01:45 something like that 21:01:59 damn strict that gcc 21:02:26 chris-cyg, still listening to the Rush shoutcast? 21:03:25 madgarden: not right now, online telephone conference :) 21:03:33 madgarden: but once thats done, i will once again 21:03:39 madgarden: thanks alot ... let kc5tja have that link 21:04:08 why do I dispise making conditionals in my source code to support a microsoft compiler 21:04:10 Sure I'll let kc5tja have it... for 5 bucks! 21:04:34 kc5tja, you can pay me later: http://205.188.234.65:8012 21:04:36 :P 21:08:49 i have this pain in the ass problem, text keeps wrapping when it should just be going to a new line, and i am scrolling up 21:09:14 ? 21:09:21 Allegro problem? 21:09:25 textprintf()? 21:10:31 my problem 21:10:46 Tom Sawyer! 21:10:47 pic: http://homepage.mac.com/wackysteak/Picture5.png 21:11:43 That is indeed a wacky steak. 21:12:21 notice on the right of the window it is "% " instead of "%i" (except for bottom line) 21:12:59 Strange. Wel... fix it! 21:13:02 :P 21:13:08 i can't figure out the problem 21:13:36 actually it has to be this: goto_xy(0, index_to_row(console_index)+1); 21:13:46 because of my debug line: y > rows 21:18:11 madgarden, are you an msvc user or gcc user 21:19:47 Mostly MSVC, but I do use gcc. 21:19:55 ok, just checking 21:20:05 i will get the project file my cousin uses 21:54:35 --- join: fridge (~fridge@dsl-203-33-164-240.NSW.netspace.net.au) joined #forth 22:50:12 --- join: Nutssh (~Foo@gh-1081.gh.rice.edu) joined #forth 23:56:57 hey guys, talk to me :) 23:57:52 chris - build a complete and powerful networking library on top of gforth for me. 23:58:13 chris - you can use fflib.fs =) 23:58:27 guess how allegro handles the quit menu on osx 23:58:34 ayrnieu: do it yourself! 23:58:41 raise(SIGTERM); 23:58:44 brilliant! 23:58:45 chris - no! 23:58:52 ayrnieu: gforth already has sockets.fs or such --- it'd be easy to expand it 23:59:06 jdrake: :) 23:59:27 first thing I said when I actually found the code to find out what it was doing was 'bastards' 23:59:59 no now I am going to think about the best way to handle it... 23:59:59 --- log: ended forth/04.03.07