00:00:00 --- log: started forth/06.12.15 00:12:50 --- quit: virsys (Read error: 104 (Connection reset by peer)) 00:40:40 --- quit: neceve (Remote closed the connection) 01:02:21 --- join: virsys (n=virsys@or-71-53-68-17.dhcp.embarqhsd.net) joined #forth 02:08:39 --- quit: virsys (Read error: 104 (Connection reset by peer)) 02:08:54 --- join: snowrichard (n=richard@12.18.108.162) joined #forth 02:09:00 hello 02:12:22 --- quit: snowrichard (Remote closed the connection) 02:25:29 --- join: virsys (n=virsys@or-71-53-68-17.dhcp.embarqhsd.net) joined #forth 03:30:13 --- join: snowrichard (n=snow_ric@12.18.108.162) joined #forth 03:30:19 hello 03:51:43 hi 03:52:55 --- part: snowrichard left #forth 03:58:59 --- join: snowrichard (n=snow_ric@12.18.108.162) joined #forth 03:59:02 hello 03:59:06 anybody up? 04:08:23 --- quit: virsys (Read error: 104 (Connection reset by peer)) 04:09:20 http://schizophrenicprogrammer.info just updated 04:17:07 --- part: snowrichard left #forth 04:26:01 --- join: virsys (n=virsys@or-71-53-68-17.dhcp.embarqhsd.net) joined #forth 04:56:20 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 04:56:21 --- mode: ChanServ set +o tathi 05:22:40 --- join: snowrichard (n=snow_ric@12.18.108.162) joined #forth 05:22:43 hi 05:29:27 hi 05:56:24 hey tathi 05:56:30 you have sound? 05:56:42 winamp or realplayer? 05:56:58 I have a new radio station 05:57:54 http://schizophrenicprogrammer.info is the web site. There's a play link on it 06:04:14 --- join: timlarson_ (n=timlarso@65.116.199.19) joined #forth 06:06:32 --- part: snowrichard left #forth 06:08:24 --- quit: timlarson_ (Client Quit) 06:10:50 --- join: Ray_work (n=Raystm2@199.227.227.26) joined #forth 06:12:14 --- join: timlarson_ (n=timlarso@65.116.199.19) joined #forth 06:14:12 Friday! 06:16:40 --- join: snowrichard (n=snow_ric@12.18.108.162) joined #forth 06:17:10 hi 06:22:37 --- part: snowrichard left #forth 06:24:09 bleh. I wouldn't be caught dead with winamp or realplayer. 06:24:42 I've only used mplayer for years now, except for an OSX phase. 06:25:41 actually, I don't really do sound on my computer at all. 06:30:05 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 06:31:53 I remember winAmp as a collossal resource hog. 06:37:57 I remember Ray_work as a collossal donut hog. 06:45:18 they must have 'improved' winamp over time, then. 06:45:25 they must have 'improved' Ray_work over time, then. 06:52:54 --- join: jackokring (n=jackokri@static-195-248-105-144.adsl.hotchilli.net) joined #forth 06:58:42 anyone have an mp3 player in forth? 07:00:22 I don't have any experiance with winamp after win3.1 I suppose, and Ray_work lost 70 some odd pounds, both improvements, I believe. 07:00:28 NAFAIK. 07:17:10 --- quit: tathi ("bbl") 07:53:20 --- quit: virsys (Read error: 104 (Connection reset by peer)) 08:11:08 --- join: PoppaVic (n=Poppa@0-3pool157-81.nas22.chicago4.il.us.da.qwest.net) joined #forth 08:11:28 --- join: virsys (n=virsys@or-71-53-68-17.dhcp.embarqhsd.net) joined #forth 08:13:52 --- join: jackokring[1] (n=jackokri@static-195-248-105-144.adsl.hotchilli.net) joined #forth 08:16:35 --- quit: jackokring (Read error: 113 (No route to host)) 08:16:35 --- quit: jackokring[1] (Read error: 104 (Connection reset by peer)) 08:20:30 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 08:20:30 --- mode: ChanServ set +o tathi 08:21:03 --- join: jackokring (n=jackokri@static-195-248-105-144.adsl.hotchilli.net) joined #forth 08:59:35 --- part: PoppaVic left #forth 09:02:28 --- join: snowrichard (n=snow_ric@12.18.108.162) joined #forth 09:02:33 --- join: neceve (n=claudiu@unaffiliated/neceve) joined #forth 09:02:43 hi 09:02:47 neceve 09:03:34 hi snowrichard 09:03:44 do you have sound? 09:03:54 like winamp or xmms, 09:04:00 yes 09:04:03 xmms 09:04:13 care to test my radio station? 09:05:09 ok 09:05:13 http://schizophrenicprogrammer.info has a link to the listen.pls 09:06:41 it's working 09:06:56 thanks 09:07:31 does the donate button show up? I was having some trouble with that 09:20:25 sorry, I was out 09:20:33 yes, there is 09:20:56 (the button) 09:25:52 thanks 09:25:54 again 09:28:38 --- quit: snowrichard () 09:35:57 --- nick: Raystm2 -> nanstm 09:42:37 --- quit: neceve ("Leaving") 09:51:38 --- quit: jackokring (Read error: 104 (Connection reset by peer)) 09:57:20 --- join: jackokring (n=jackokri@static-195-248-105-144.adsl.hotchilli.net) joined #forth 09:57:57 --- quit: segher (Read error: 104 (Connection reset by peer)) 10:01:17 * tathi wonders if snowrichard will ever get his radiostation working reliably 10:01:38 Will his great work ever be complete? :) 10:01:55 seems like all he ever does is come in here and asks people to check if it's working :) 10:02:22 Well, if it were, he'd have nothing to say, then. :) 10:02:30 :) 10:05:21 --- join: segher (n=segher@dslb-084-056-164-245.pools.arcor-ip.net) joined #forth 10:11:25 --- part: zpg left #forth 10:11:31 --- join: zpg (n=user@user-514fca8b.l3.c4.dsl.pol.co.uk) joined #forth 10:12:08 --- join: I440r (n=mark4@70.102.202.162) joined #forth 10:12:37 --- mode: ChanServ set +o I440r 10:14:41 --- join: snowrichard (n=richard@12.18.108.162) joined #forth 10:14:48 hi 10:17:00 hello 10:17:36 I've set up an account on a shoutcast server last night. The web interface is really easy to use. 10:18:21 that is once I found out why it was trashing my uploads (wrong sample rate) 10:19:16 I see. 10:19:37 it emailed me with the error 10:21:11 heh 10:22:38 updated my web site to reflect this new endeavor: http://schizophrenicprogrammer.info 10:24:09 getting some coffee brb 10:25:37 mobile presently. 10:25:38 k 10:25:51 on your cell? or laptop 10:31:55 --- join: earth| (n=sqrt@82-35-248-212.cable.ubr06.dals.blueyonder.co.uk) joined #forth 10:32:18 blackberry 10:34:50 I've seen those on TV ads. pretty cool looking thing 10:39:13 handy, to be sure. 10:40:08 is there a tiny Qwerty keyboard? 10:40:20 I hated typeing on the cell phone 10:41:36 there is. Thumb keyboard. 10:53:01 they ren't called crackberries for nothin' 10:53:31 lol 10:57:26 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-134-119.pools.arcor-ip.net) joined #forth 11:03:58 Helps me stay in touch with customers. 11:05:14 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 11:05:32 --- nick: snoopy_1711 -> Snoopy42 11:11:24 --- quit: snowrichard (Remote closed the connection) 11:12:59 still working on starting forth, absentia? 11:14:40 no 11:14:45 read 3 books... need another. 11:15:04 what 3? 11:15:30 starting, thinking and one other. the stuff from the #forth topic 11:15:42 I'm going to lookat the retro wiki... 11:16:08 what do you feel you still need to find out? 11:16:14 nothing. 11:16:18 just need to write something in it 11:16:29 I want to write a translation of a program... from kbyter from '83 11:16:44 kbyter? 11:18:39 ya 11:18:40 just a sec 11:20:04 --- quit: I440r (Read error: 110 (Connection timed out)) 11:20:15 ok, back. 11:20:41 what is kbyter? 11:20:46 basically, I need to simulate peek and poke (peek_screen and poke_screen) 11:21:01 I could then sumulate a full screen refresh with vt100 codes... such as gotoxy. 11:21:10 with those 3 items, I can do basic ascii games inforth 11:21:17 and with that, I can see how I like the language. 11:21:32 but learning forth is good... for mindstorms -- it has forth and nqc 11:21:37 a magazine, I think 11:21:47 it's a program that I used that taught me how to program.... 11:21:48 there's at-xy in Forth. If you tracked everything you wrote, you could simulate a screen peek. 11:22:01 right, I want to use an 80x24 array 11:22:15 sure. 11:22:25 that's why peek_screen = array[x+y*wid] .. and poke screen, then gotoxy, and emit 11:22:35 a wrapper around at-xy and emit would do the trick. 11:22:43 right, I didn't know about at-xy 11:22:54 but that's the same as knowing the terminal type (vt100, etc) 11:22:57 standard word 11:23:10 I don't nkow what the standard words are yet -- I haven't read the ans stuff 11:23:12 gforth has at-xy 11:23:25 anyway, just wanted something that was small enough that I could hope to finish it without much time (I don't have much time) 11:23:29 and get something somewhat useful out of it 11:23:45 does gforth have the boot off floppy to forth thing? 11:24:12 what I really want is boot from floppy + some basic obs/libs... ilke wifi/ethernet/tcpip dhcp... etc 11:24:18 Q u a r t u s. H o w a r e y o u t o d a y? 11:24:27 hi ray. 11:24:38 I don't recall a native Gforth. 11:25:07 maybe a tiny live-cd of linux would suit you. 11:25:09 I'm torn between forth appearing to be just what I want -- and its apparent lack of support/libs and c++ being huge, but widely recognized and yet still very damnfast. 11:25:17 :-< 11:25:21 too many dialects of forth 11:26:00 I did find a lisp in forth -- was only 300+ lines... so, a 1K forth (whatver) ... a boot floppy, plus the lisp... and things seem really good (cept for no libs) 11:26:05 there are a fair number of fringe dialects, but the Standard exists and is widely used. As you can see, Standard layers can be written, as for rf. 11:26:22 true 11:26:42 If you want to access shared libs, most forths allow straightforward ffi. 11:27:06 :-) 11:27:12 that's what I'm debating 11:27:18 --- quit: earth| (Read error: 110 (Connection timed out)) 11:27:33 whether I gain anything implementing in forth and using (u)ffi to get to c libs, or just to code in c in the first palce. 11:27:53 I can get an interactive c and c++ shell... so that's not really different than forth then. 11:28:02 (in terms of assembling immediately) 11:28:12 well, if you have a project to complete, use the tools and language you know best. 11:28:15 forth may be lower, in the end... 11:28:23 no, nothing to complete. 11:28:40 forth is quite unlike C, even interactive C. 11:28:44 just trying to find one language I can move to that's not interpreted -- I use a lot of shell, perl, php, python, etc. 11:28:51 I want a compiled (or assembled) language. 11:29:18 so I went to c++ (because I wanted to do gui.. and there's Qt -- I started with python qt, but the start up was too slow -- took 45+ seconds, etc ... c++ +qt is subsecond) 11:29:30 now looking into lisp and scheme to design my own ai and language 11:29:54 and then came across forth -- as a minimal .. but still comparing to lisp.... but a forth boot base (is what I need/want) and then adding a lisp ontop of that in under 300 lines... is what I want 11:30:00 the forth is also public domain -- not even gpl 11:30:37 http://www.spy.org/tmp/bwb1.png 11:30:50 http://www.spy.org/tmp/poker2.png 11:31:00 those are my second and third programs ever written in c++ 11:31:39 both run on my laptop and pda unmodified.. the code actually checks the pda for orientation (and size) and will rotate the screen when the thing is flipped.. 11:32:16 those cards are public domain -- and the "widget" to display them was my first qt display widget. 11:32:27 I'm surprised how easy it was to write it and how well it worked. 11:33:06 of course, Iw as doing this a two years ago -- when I had more time. 11:33:31 but for forth, I could do a little adventure game... 11:33:34 oh, I had one question. 11:33:35 you there? 11:34:02 you are not alone. :) 11:34:28 in forth -- I need to be able to check for input... from, say, a keyboard.. but not block on that. 11:35:18 check out the ANS word KEY i believe. 11:35:21 key? is the standard word, or ekey? 11:35:33 yup. that's all I need. 11:35:42 I'll give it a show here in about 90 minutes. 11:36:00 I'll scan the program that I'm talkking about 11:36:09 those ? words return available event status. 11:36:09 :) 11:36:14 i have the original magazine page... from .. .I think.. .april 1983. it's all wrinkled and stuff 11:36:24 Quartus: on the stack or in flags? 11:36:26 I'll get up a list of standard words here in a sec. 11:36:42 on the stack. 11:36:49 * Ray_work does his own home work. 11:36:59 No i don't. 11:37:00 laugh. I hate it when I use google to look up something and it refers me back to my own site 11:37:07 hahaha :) 11:37:14 there are no status flags in a standard forth. 11:37:15 I just tried to look up kbyter adventure in google, and it referred me to one of my own conversations. 11:37:26 AH okay thanks for that Quartus. 11:37:37 from 2003 11:37:40 :) 11:37:50 You've been talking along time about it. :) 11:38:08 s/along/a long/ 11:38:11 well, just the same story... different channel, etc. 11:38:38 TreyB: thankyou :) 11:38:49 Really changes the meaning of the sentence :-) 11:39:46 funny. in that archive I talk about makind scans of ths tuff... I still haven't done it 11:40:05 now I was just about ready to start two weekends ago, so I looked for my pics -- and I discovered that I lost 30 years worth of photogarphs. 11:40:25 :-< I still want to scan some of the documents, though. get them in electronic form and then send copies out all over. 11:40:41 i can't wait for blu-ray anymore... or hdvd. it's taking too long, and I 'm losing stuff 11:41:28 I had 90% of all my computers stolen a few years back -- that was bad enough. 11:43:13 --- join: Quartus_ (n=Quartus_@209.167.5.2) joined #forth 11:43:14 --- mode: ChanServ set +o Quartus_ 11:45:33 --- quit: Shine (Nick collision from services.) 11:45:37 --- join: Shine_ (n=Frank_Bu@xdsl-81-173-176-82.netcologne.de) joined #forth 11:45:51 --- nick: Shine_ -> Shine 11:48:12 --- join: earth| (n=sqrt@82-35-248-212.cable.ubr06.dals.blueyonder.co.uk) joined #forth 11:55:38 --- quit: Quartus___ (Read error: 104 (Connection reset by peer)) 11:57:06 are you fmiliar with SDL ? 11:57:12 a forth interface to SDL would be nice. 11:58:37 gforth has ffi 11:58:46 it's not hard to use :) 11:59:15 true.. and it's probably worth it for sdl, then with forth + sdl you could probably get a pretty dan good emulator base. 12:00:51 yeah, one guy who used to hang out here was building a 65816-based computer, and he used gforth+SDL to do an emulator for writing the firmware 12:08:51 yup 12:09:21 as long as I can go from a forth to sdl, I should be able to do decent things... and then if I get better with low level stuff, I could drop the sdl. I think sdl is gpl. 12:10:47 ah, simple forth.. leo wong. 12:12:19 --- quit: earth| ("\") 12:12:24 --- join: jackokring[1] (n=jackokri@static-195-248-105-144.adsl.hotchilli.net) joined #forth 12:16:44 --- quit: jackokring (Read error: 113 (No route to host)) 12:21:24 --- quit: timlarson_ ("Leaving") 12:33:02 Learning Forth means learning a different set of skills than, say, C. It's not apples-apples. 12:34:42 how so ? 12:36:18 Like the difference between Texas BBQ and Cordon Bleu chefs: you get to eat the results, but you get there in very different ways. 12:36:29 :-) 12:36:46 seriously, I've seen enough languages -- they're all basically the same. 12:37:21 they're just set up to express ideas (algorithms) in a different base/concentional way. 12:37:35 in fact they are not, and you'll be missing out if you stop your analysis there. 12:43:15 they achieve the same goal, that of describing a process to a computer. 12:43:33 yes 12:44:44 that doesn't make them the same, however. 12:45:20 I find that in just about all my programming experience, you end up only with syntax getting in the way. 12:45:33 grammar boils down to only a few items -- mostly function calls. 12:46:14 sounds like you've only ever used algol-derived languages. 12:46:52 whetner I s x(y(z(a(b,c)))); or I (x (y (z (a b c)))) or I c b a z y x 12:48:42 it is possible to write the same kind of code you'd write iin C, in Forth. It makes the most horrible code you can imagine. 12:49:00 ya, don't want to do that. 12:49:24 but on the other hand, you could write the code you write in forth in c, and it would probably improve the c 12:49:25 :-) 12:49:28 in order to not do that, you have to understand that Forth is not yet another Algol derivative. 12:50:22 factoring is a key skill, as is naming and abstraction, and learning to properly use and manage the stack. 12:50:46 These skills will improve you as a programmer in any language. 12:51:28 yup 12:52:26 I look at forth as what I Wanted from assembly. 12:52:43 let me assure you, as someone with many years experience in both Algol-derived and non-Algol-derived languages -- it's not all about the syntax. A language like Forth is actually different. 12:52:57 assembly annoyed me that my labels were ... only labels (and not words, if you follow my drift... ) 12:54:08 have you ever seen a 4bit forth? 12:54:17 assembler is one (or so) level of abstraction away from machine code. A good macro assembler adds some additional power. Forth is more than that, though. 12:54:52 I have seen 4-bit efforts. Clumsy environment to work in. 12:54:56 right, but forth is what I *wanted* assembly to be. 12:55:12 but I know why assembly is what it is -- it's pure and 1:1 12:59:58 machine code is 1:1. Assembly commonly moves away from that, though usually not too far. 13:01:12 er, I guess so.. with things like defining strings and stuff... 13:02:27 and instruction selection. 13:02:39 and directives. 13:03:35 branch optimization, etc. 13:03:45 hmm. true. 13:04:31 Forth is definitely not 1:1. It's a high-level language. 13:04:49 right. you define the words. 13:06:02 The dictionary is a substantial abstraction, and the code generated during compilation can be at any required level of abstraction; it isn't one instruction per word. 13:06:53 Optimizing native-code Forth compilers translate Forth into optimized native-code, just as, say, gcc does for C. 13:08:30 right 13:08:53 I like the fact that see word... in gforth is showing me assembly for built in words -- although I don't know x86 assembly 13:09:18 for my own defs, it is showing me my def (although it would be great to see the resulting assembly.. with another command 13:09:43 In Gforth, there is no resulting assembly for your words. It's a threaded system. 13:09:50 it *feels* like I'm typing (single) words -- and gettting assembly out. that's very nice -- although I"m sure I could do the same for C ... C seems larger and more distant from the hardware. 13:10:24 threaded -- but it jumps to your code when your code is running. it's not interpreted at that time. 13:10:39 Depends on what you mean by 'interpreted'. 13:10:47 pcode 13:10:50 byte-code 13:10:55 non-machine-code 13:10:56 RetroForth, with or without the ANS layer, is a native-code compiler. It lays down actual machine instructions. 13:11:31 how do I see those? 13:11:44 Gforth doesn't; it lays down subroutine addresses, effectively. There's more to it than that, but it isn't native code. 13:11:55 : sq dup * . ; 13:11:55 The machine instructions under RetroForth? You'd need to run a disassembler. 13:12:02 in rf... no view, see, dis .. 13:12:17 --- join: Raystm2 (n=NanRay@ppp-70-243-217-63.dsl.rcsntx.swbell.net) joined #forth 13:12:19 see sq 13:12:19 ( $513790 ) mov dword ptr FC [esi] , eax \ $89 $46 $FC 13:12:19 ( $513793 ) lea esi , dword ptr FC [esi] \ $8D $76 $FC 13:12:19 ( $513796 ) call * \ $E8 $35 $21 $FF $FF 13:12:19 ( $51379B ) call . \ $E8 $60 $5C $FF $FF 13:12:20 ( $5137A0 ) ret near \ $C3 13:12:27 ya, in gforth 13:12:31 That's under RetroForth, using the 386 disassembler from Gforth. 13:12:49 On top of my ANS layer. 13:12:54 ah 13:13:08 In Gforth, 13:13:09 see sq 13:13:09 : sq 13:13:09 dup * . ; 13:13:39 yup 13:13:53 It isn't native-code in GForth. GForth is not a native-code compiler. 13:14:15 Interestingly, GForth is considerably faster than RetroForth. 13:14:22 oh, I see what you mean. 13:14:37 sorry. yes, I agree with you. 13:14:59 ya, that is interesting. 13:15:09 (especially considering) 13:15:43 What you can see here is that the correspondence between the internal machine representation and the original Forth source is compiler-dependent, and is semantic in nature; there's no other required correspondence. 13:17:07 --- quit: virsys (Read error: 104 (Connection reset by peer)) 13:20:01 --- quit: nanstm (Read error: 110 (Connection timed out)) 13:30:31 probably because RetroForth doesn't have separate code/data spaces 13:30:42 that's part of it. 13:32:47 --- join: earth| (n=sqrt@82-35-248-212.cable.ubr06.dals.blueyonder.co.uk) joined #forth 13:32:51 --- quit: earth| (Remote closed the connection) 13:33:15 --- join: earth| (n=sqrt@82-35-248-212.cable.ubr06.dals.blueyonder.co.uk) joined #forth 13:33:50 --- join: virsys (n=virsys@or-71-53-68-17.dhcp.embarqhsd.net) joined #forth 13:36:10 have any idea what else might be contributing? 13:36:45 It wasn't written with an eye toward speed. There are a number of primitives that could do with some wirebrushing. Code-alignment also helps. 13:36:57 Simple optimization would take it yet further. 13:39:23 ah. I assumed it was built with that stuff in mind, had all the basic look-back optimizations and so on. 13:39:53 I think freeforth triesd some of those things on top of rf 13:40:08 It inlines short sequences, but that's it. 13:41:04 I thought it did more than that 13:42:44 I've climbed all over it while building the ANS layer. 13:44:14 hmm. 13:45:30 I thought I raid somewhere about tail recursion 13:45:52 huh. I wonder where along the line that stuff disappeared. 13:46:17 The one I have here doesn't optimize tail-calls. 13:46:48 I bet he dropped it when he rewrote it with Rx as a separate piece. 13:47:27 Back at 7.x (I think) it was more similar to colorforth inside and had tail-call and other lookback optimizations. 13:48:09 I tuned in later than that. 13:49:21 or...maybe I'm just imagining things. 13:52:49 I think you may be right, I vaguely recall crc discussing that there were earlier optimizations that didn't stay in. 13:52:57 ok 13:53:06 strange. 13:53:10 yeah...I don't know anymore. 13:53:15 I thought I remembered seeing it 13:53:18 Anyway optimization doesn't have to be a design goal. 13:53:30 but I just looked back through a few versions and didn't see it anywhere. 13:53:50 ya, modern computers are plenty fast enough anyway :) 13:54:07 That depends on the task at hand. 13:54:40 * absentia coughs. 13:54:58 --- quit: virsys (Read error: 104 (Connection reset by peer)) 13:55:28 Don't get me wrong, I'm pro-optimization, to a point. 13:57:38 hi 13:57:55 Hey. 13:59:22 hi 14:06:29 hey guys 14:06:50 Quartus: btw, although £50 (dear!!) would you highly rate the Aho Compilers book? 14:08:09 If you're looking for the best book from the Temple of Complex Compilers, it's the one to get. 14:12:18 --- join: virsys (n=virsys@or-71-53-68-17.dhcp.embarqhsd.net) joined #forth 14:15:45 * zpg nods 14:15:47 thanks 14:26:57 --- quit: jackokring[1] (Read error: 110 (Connection timed out)) 14:32:14 hah! ok... after I finish this book/doc -- I'm definitely gonna have to read the ANS standard :-> 14:36:28 --- quit: earth| ("\") 14:55:11 --- join: earth| (n=sqrt@softbank220041108120.bbtec.net) joined #forth 14:56:02 --- quit: tathi ("gone singing") 14:59:52 The Forth standard, particularly the appendix, is good to read. 15:16:42 absentia: stick with it. 15:20:49 yup. 15:20:58 plan on it 15:22:55 good schtuff 15:23:48 Meanwhile I make toys. 15:23:58 toys? 15:24:13 Currently building a Crow T. Robot. 15:24:18 nice 15:24:29 I have to convince my wife to let me get a mindstorm2 for christmas 15:24:38 lego? 15:25:26 yup 15:25:34 there's a low level forth -- and nqc for it 15:25:34 I should sell off my original Mindstorms, I don't use it. 15:25:38 the mindstorm2 is awesome. 15:25:48 I've met Ralph Hempel, the pbForth guy. Nice guy. 15:25:50 ya, the original was kinda limited... in comparison 15:25:55 how much do you wanna sell'm for? 15:26:20 I have only the original kit, all the bits & pieces + the brick & interface. I don't know what's a fair price. 15:26:49 me either 15:26:56 I'd probably hit ebay or something. 15:27:04 but I'm mostly interested in ms2 15:27:04 I'll do that in a bit. Painting presently. 15:27:09 man 15:27:12 you have free time 15:27:15 you are lucky. 15:27:20 Free? No, this is work. 15:27:23 I aven't had free time since.... august 2005 15:27:32 making toys -- painting? 15:27:35 Right. 15:27:38 I sell these. 15:27:48 ah 15:27:52 nice 15:28:13 http://nealbridges.com/gallery 15:30:13 that's a lot of work 15:30:37 Fortunately I enjoy it. When I'm not working on Quartus Forth, I can work with my hands. 15:32:23 Quartus, what features does your free Quartus download have? 15:33:26 All the features of the purchased version, with two limitations -- smaller codespace, and no turnkey executables. 15:33:47 Thanks. That's pretty nice! 15:33:51 There's no timeout. The console screen has 'Unregistered' on it. 15:34:26 Very nice. 15:34:35 I've a friend who wants to hack his phone's ROM. 15:34:43 And if you were hell-bent on removing the 'unregistered', you could do that. :) 15:34:52 Hehe. 15:35:54 A Treo? 15:36:34 I believe so. 15:37:07 I offer a discount for studnets. 15:37:11 students, too. :) 15:37:32 Ahh, too bad. ;) 15:38:32 I think my friend is too afraid of the Forth way, heh. 15:38:46 (even though he's dabbled in it with my work projects) 15:39:21 Ah well. Not everybody is up to the challenge of becoming a better programmer. 15:39:46 Amen brother! 15:47:31 --- quit: Ray_work (Read error: 131 (Connection reset by peer)) 16:17:34 re 16:21:03 --- quit: earth| (Remote closed the connection) 16:32:55 re 16:36:14 --- join: ttuttle (n=tom@unaffiliated/ttuttle) joined #forth 16:36:29 Quartus: Is it normal for a laptop battery to lose 37% of its capacity in 3 months? 16:43:13 ttuttle, doesn't sound too good. 16:43:27 do you leave it plugged in all the time? That can hurt it. 16:44:10 Quartus_: Can it? The manual says it has a circuit to prevent overcharging. 16:44:32 Quartus_: (I do leave it plugged in most of the time.) 16:46:50 I suggest charging it only when it's drained. You might want to run through a reconditioning cycle now. 16:47:03 Quartus_: I tried that, discharging it almost completely and recharging. 16:47:11 Quartus_: It didn't seem to help. 16:47:42 Quartus_: Pfft, Dell thinks a BIOS upgrade will help. 16:47:50 Quartus_: (Luckily I'm already up to date.) 16:50:10 Studnet discount. I'm for that. http://studnet.com/ 16:50:17 Don't go there. 16:51:39 Quartus: let us do the "deed" tomorrow. I've finally got it all saved up, but I have to deposit it and I missed the bank tonight. 16:52:15 Raystm2: Whassat? 16:52:49 hi ttuttle. 16:53:06 earlier Quartus misspelled Student. 16:53:15 He spelled it studnet. 16:53:16 oh. 16:53:19 lol. 16:53:31 I was supprised to find a site about men with that name. 16:53:44 Not too supprised. 16:53:56 Any way, the "deed" is ... 16:54:32 I want Quartus to unlock my bondage from his QuartusForth, but at the student rate, being that i am his lowliest studnet. 16:54:41 or is that stednut? 16:54:53 Quartus_: "Naveen_01130413" at Dell says that the BIOS upgrade will magically recondition the battery. 16:55:49 Quartus_: I think he/she is making it up. 16:59:23 Quartus_: What do you think? 17:04:15 can't hurt to run the bios reconditioning routine, newest version. Maybe the old one is buggy. 17:06:27 Quartus_: There isn't one, I don't think. 17:06:38 could be the power levels are being misreported. 17:07:25 Quartus_: Nah, the battery itself says that it's below 80% of rated capacity. (The charge indicator lights show current charge if you press the button, and capacity if you hold it for 3 seconds.) 17:07:54 ok. 17:08:06 Quartus_: And the runtime is actually shorter. 17:11:46 a recondition can't hurt. If I'm going to leave a laptop plugged in, I remove the battery. 17:27:14 * ttuttle tries to think of ways to drain the battery faster. 17:28:56 Hmm, constant Bluetooth scans, constant find / -type f -exec cat \{\} \; > /dev/null, plus two cores of folding@home. brightness at full, music playing. oh, and constant cat /dev/sr0 (cdrom) > /dev/null 17:29:37 Ooh, up to 4.339 amps. 17:29:55 4.551! 17:30:03 I don't think I've ever seen it use that much before. 17:30:05 4.645. 17:30:28 Oh, and rev the fan to full speed. 17:31:16 And constant WiFi scanning as well. 17:31:38 Whoa, 4.929 A! 17:35:00 And constant blanking of a CD-RW disc. 17:35:38 Give is a couple of swapping while loops. 17:35:52 swapping? like swap partition? 17:35:57 or you mean burning and reading? 17:36:17 I certain that's better then what I was thinking. 17:36:26 I didn't know what you were thinking. 17:36:34 Well constant burning is better than alternating, 'cause burning uses more power. 17:36:37 Which was to right a couple apps the do nothing but swap the stack for ever. 17:36:52 Meh, I have Folding@Home to waste CPU. 17:36:58 write even. 18:03:39 good evening 18:03:59 crc: hello 18:07:12 hi crc. 18:11:54 --- quit: Shine (Read error: 131 (Connection reset by peer)) 18:22:28 i 18:22:29 hi 18:22:52 Quartus_: Alright, the battery is thoroughly drained. I'm going to give it a few minutes to cool off and then recharge it. 18:25:44 does anyobody know of any resources (tutorials?) dealing with using SDL from/with forth? 18:35:09 Wasn't somebody fiddling with that a while back? 18:35:38 it's just an ffi thing, so make with i'ing the ff's. 18:52:31 --- quit: segher ("Reactor leak") 18:53:22 --- quit: ttuttle ("leaving") 19:13:50 --- join: nighty_ (n=nighty@sushi.rural-networks.com) joined #forth 19:16:58 hmm, I think it was Cherry sending floating-point numbers through to OpenGL, actually. 19:17:11 From rf. 19:17:25 That's what I'm remembering. He was hampered by a lack of floating-point in rf. 19:25:29 hmm 19:39:59 anyone here? 19:40:02 got a q... 19:40:10 sure, ask it. 19:41:53 http://www.rafb.net/paste/results/BzW3WU88.html 19:41:56 sorry, was pasting. 19:42:09 I'm confused... shouldn't that "find" be "word" ? 19:42:17 according to the english at the bottom ? 19:42:30 line 15 19:42:36 yeah, that's broken. Where did you find that? 19:43:05 http://home.claranet.nl/users/mhx/sf11/sf11.html 19:43:05 It's also hideously out of date, it's describing an implementation model about 20 years old. 19:43:40 Ok. Looks like that chapter could use some additional updating. 19:43:42 leo brodie -- starting forth, chap 11. 19:44:11 well, for an overview.. it's ok.. just a few more typos are creeping in. i've seen a few other code errors.. but this one .. I wanted to make sure 19:44:40 That's not Brodie; it's a reworking of Brodie by somebody else. 19:44:59 Updated in places, but that bit is apparently not. 19:45:16 k 19:45:24 Anyway SF itself is quite old, and is specific to an antique implementation model 19:45:54 I'd recommend gforth's tutorials as a better introduction if you already program. 19:46:02 In modern systems, for instance, ] is not a loop. 19:48:07 I'm not overly worried 'bout the exactness ... mostly getting an overview. 19:48:13 I'll look at the gforth tutorials next. 19:50:15 actually, about 50% through programforth ... gonna finish that first. 19:50:37 what is programforth? 19:52:20 http://www.mpeforth.com/books.htm 19:52:30 Oh. Programming Forth. 19:53:15 this is my forth dir so far: 19:53:18 bochs keyboard.jpg thinking-forth-color.pdf 19:53:18 chuck05-jg5.tar.gz lisp-in-forth.gz thinking-forth.pdf 19:53:18 fasm-1.67.tgz parallel_forth.pdf thinking-in-forth.url 19:53:18 fasm-info ProgramForth.pdf urls-freenode 19:53:18 forth.html retro 19:53:19 gforth-0.6.2.tar.gz RetroIRC.tar.gz 19:54:26 --- quit: Crest (Read error: 60 (Operation timed out)) 19:55:15 --- join: Crest (n=crest@p5489793D.dip.t-dialin.net) joined #forth 20:01:49 im confused by "create" 20:02:01 ask a question about it. 20:03:26 well, still trying to figure itout...itseems to grab a location, do someting that that location, increase that location pointer ... but not sure what it leaves on the stack (if anything) or if it consumes... etc 20:03:56 It's not that complex. create foo aligns HERE, and makes a new word FOO that returns that value. 20:04:40 So create foo 23 , foo @ . -> 23 20:05:00 : field create immediate over , + does> @ state 20:05:00 @ if postpone literal postpone + else + then; 20:05:18 Ok, so you want to leap right in to a fantastically funky implementation of FIELD. 20:05:36 Take it in smaller steps. 20:08:22 what would this do? create foo [ here U. ] 23 , [ here U. ] 20:08:56 jumps 4 bytes. 20:10:21 all by itself, you mean? 20:10:36 or is that part of a definition? 20:10:55 If it's by itself, you don't want the [ and ] 20:11:01 wll, I asked before I thype it in.. assuming it would give me here-mem and then here-mem+4.. which it did.. but it also gives me strange effects of saying "compiled" after everything I type following it 20:11:08 And if it's in a definition, it's going to give you useless information. 20:11:30 create foo here . 23 , here . will show a difference of one cell-size 20:11:35 well, ya, I thought about that... putting it in a def, but then [ is immediate, I want postponed 20:11:51 I guess the , is throwing me 20:11:54 You don't want it postponed. You don't want it at all. See above. 20:11:57 it doesn't use anything from the stack? 20:12:02 , is a very simple word, stores a value at HERE. 20:12:12 Yes, it uses a value from the stack. In the example above, it uses 23. 20:12:28 I meant... addr value 20:15:29 ah. 20:15:30 ah 20:16:35 state smart words are evil. :-) 20:16:49 the addr is HERE. 20:17:29 right -- got it now. :-) 20:18:03 can : XXXX be where XXXX is blank or nothing? 20:18:49 :noname is the word you're looking for. 20:19:41 I just see in this book a : name word1 : word1 word word; ; 20:19:47 confused me. 20:20:08 looks like a procedure in a procedure. 20:20:15 rather, word in a word. 20:21:39 http://www.rafb.net/paste/results/q6D8T317.html 20:27:39 You can do that. It's taking its input, in the second case, from the command-line at the time 'name' executes. 20:27:53 : is not a syntactic marker. It's a word. 20:31:05 --- quit: timlarson ("Leaving") 20:32:49 ha 20:32:56 the asm for "ms" is huge 20:51:09 --- join: timlarson (n=timlarso@user-12l325b.cable.mindspring.com) joined #forth 20:59:04 In Gforth, it appears to be a select() call with a timeout, so the assembler for it is whatever gcc generated. 21:03:20 it makes sense. 21:09:11 New werties! But they're not insane enough to be funny. 21:11:16 heheh 21:11:26 I'll take a break later for that. 21:17:41 --- part: zpg left #forth 21:37:27 --- join: jdrake (n=jdrake@CPE00045afdd0e8-CM0012254195d6.cpe.net.cable.rogers.com) joined #forth 21:40:36 --- quit: jdrake ("Leaving") 22:59:47 --- quit: JasonWoof ("off to bed") 23:03:36 --- quit: Quartus_ (Read error: 104 (Connection reset by peer)) 23:17:46 --- join: Shine (n=Frank_Bu@xdsl-81-173-176-82.netcologne.de) joined #forth 23:30:17 --- quit: nighty_ (Remote closed the connection) 23:59:30 --- quit: Shine (Nick collision from services.) 23:59:35 --- join: Shine_ (n=Frank_Bu@xdsl-213-196-231-170.netcologne.de) joined #forth 23:59:50 --- nick: Shine_ -> Shine 23:59:59 --- log: ended forth/06.12.15