00:00:00 --- log: started forth/05.12.19 00:04:14 --- join: rsync_ (n=monkey@CPE000c41aac435-CM00111ae4f4cc.cpe.net.cable.rogers.com) joined #forth 01:24:59 --- join: Cheery (i=Henri@a81-197-18-99.elisa-laajakaista.fi) joined #forth 01:26:58 --- join: snowrichard (n=richard@adsl-69-155-177-154.dsl.lgvwtx.swbell.net) joined #forth 01:50:24 --- quit: snowrichard (Remote closed the connection) 02:21:28 --- quit: aum (Remote closed the connection) 02:41:00 --- join: snowrichard (n=richard@adsl-69-155-177-154.dsl.lgvwtx.swbell.net) joined #forth 02:41:41 hi 02:43:03 --- quit: snowrichard (Client Quit) 02:43:10 --- join: snowrichard (n=richard@adsl-69-155-177-154.dsl.lgvwtx.swbell.net) joined #forth 02:47:33 --- quit: snowrichard (Client Quit) 03:31:03 --- quit: rsync_ (Read error: 110 (Connection timed out)) 04:20:16 --- join: aum (n=aum@60-234-156-82.bitstream.orcon.net.nz) joined #forth 05:12:30 --- quit: aum () 05:24:53 --- join: segher (n=segher@blueice3n1.de.ibm.com) joined #forth 05:38:32 --- join: PoppaVic (n=pete@0-1pool66-61.nas22.chicago4.il.us.da.qwest.net) joined #forth 06:13:24 --- join: Ray-work (n=Raystm2@adsl-68-90-192-212.dsl.rcsntx.swbell.net) joined #forth 06:58:07 --- nick: Raystm2 -> nanstm 07:21:48 starting forth is a neat book 07:24:42 Quite dated. "Thinking Forth" is a more decent text. 07:28:10 i'll definitely give that one a read next 07:28:46 in starting forth, it gives an example ' word 24 dump 07:29:30 this always causes pforth to coredump 07:29:37 not suprising 07:30:03 #1) ' can be irksome, #2) dump can also be irksome - if there 07:30:07 could it be that dump expects a memory address, and ' is returning something other than a memory access? 07:30:22 access=address 07:30:34 ' is mandated to work with XT's - not necessarily addresses 07:31:08 as a rule, I would suggest tinkering in gforth and using 'see' a lot. 07:31:26 pforth, like pfe, is pretty specialized. 07:32:22 see noname 07:32:22 : noname 07:32:22 1209300328 1209299616 ! ; 07:32:31 yep 07:33:12 'noname' is used over and over to create words that will never be listed, but rather act as vectors or code-points 07:35:59 what is accomplished by storing 1209300328 at 1209299616? 07:38:39 No idea, you need the source 08:03:21 --- quit: swalters (Read error: 104 (Connection reset by peer)) 08:07:39 --- quit: PoppaVic ("Pulls the pin...") 08:10:22 --- join: PoppaVic (n=pete@0-1pool73-250.nas24.chicago4.il.us.da.qwest.net) joined #forth 08:25:29 --- join: swalters (n=swalters@6532183hfc82.tampabay.res.rr.com) joined #forth 08:30:54 --- join: JasonWoof (n=jason@pdpc/supporter/student/Herkamire) joined #forth 08:30:54 --- mode: ChanServ set +o JasonWoof 08:56:15 --- quit: swalters (Remote closed the connection) 08:57:12 --- join: swalters (n=swalters@6532183hfc82.tampabay.res.rr.com) joined #forth 09:30:21 is there a concise reference for ANS forth, or should the standard itself be sufficient? 09:30:44 the ANS std is just that - some folks obey it. 09:32:10 the std itself is about as concise as you can get 09:32:30 the way it is, yeah 09:33:10 Shit, C can't really organize; Posix is mind-fucked: why should ANS be different? 09:33:28 ans is quite quite nice 09:33:43 it's a good standard 09:34:04 no-one agrees with everything in it, but it's a good compromise 09:34:05 I'd disagree, but then.. I've suffered std for years 09:34:45 you disagree that it is as good as standards come? 09:34:53 umm 09:35:02 I'd have to compare them deeply. 09:35:10 i like having SOME standard 09:35:16 yes 09:35:24 and that means having to compromise 09:35:41 As a rule, I wish to fuck they'd vary in the ABI - with a header - and let us all get along above asm/C 09:35:53 one of the best things about the ans forth standard is that it leaves a whole lot of freedom to the implementer, still 09:36:16 poppavic: that didn't parse? 09:36:32 I think ANS merely "coagulated" a lot of ancient "FORTH Dimensions" issues. 09:36:41 it can help when it comes time to point the terrifying finger of blame 09:36:45 ..I can't really say it thrilled me 09:37:07 otoh, it beats a vaccum 09:37:40 I can't really admit it thrilled me more than FIG-forth did 09:37:46 looks like ANS does have sections that list all the words.. that is what i was looking for 09:38:00 yep 09:38:10 last appendix 09:38:21 now i need to learn some of those words so i can remember which ones to look up 09:38:49 A lot of it is engine-predicated 09:38:57 ..sadly 09:39:21 Worse, it doesn't respect FHS - and, of course, that's typical. 09:39:24 ``The FIG model was placed in the public domain, and was ported to a wide variety of computer systems. Because the bulk of the FIG Forth implementation was the same across all machines, programs written in FIG Forth enjoyed a substantial degree of portability, even for system-level programs that directly manipulate the internals of the Forth system implementation.'' drool! 09:39:52 yeah: they had a fist of asm-words. No more 09:39:52 that is exactly the sort of system i'd like to see.. minimized machine-dependant code, strong portability 09:40:05 well, good luck 09:40:32 I wish so as well, and too many talk-the-talk, and get lost when they promise to walk-the-walk. 09:40:42 my engine is like that -- runs on everything that GCC can target 09:41:02 yeah, but I really try to avoid gcc specifics 09:41:17 i use label-as-value 09:41:23 as a rule, if you can run gcc, you can run my shit, though 09:41:24 and C99 stuff 09:41:36 i don't talk any talk, but i have experienced the walk at the netbsd project 09:41:46 heh 09:41:48 segher: I don't, but then: everytime I see wither I start to gag 09:42:05 it is neat to see the same system run on a bunch of different hardware 09:42:06 erm? again, doesn't parse 09:42:16 bsd has it's own issue, NETBSD has more 09:42:19 "either" 09:42:30 hah 09:42:44 PoppaVic: CSRG said the BSD project is finished.. so what do you mean by BSD? 09:42:48 gcc-specific code or C99 - the later is bad, the former is worse. 09:43:09 you really have no idea what you are talking about, eh? 09:43:16 me? probably not 09:43:21 fbsd, bsd - take yer pick. I can work in all, but it all means tweaks 09:43:34 poppavic: so when you said bsd, you meant freebsd? 09:43:40 segher: yeah, that's why I live in c/gcc 09:44:01 SunDragon: I've worked on other bsd, but yeah - that'd apply. 09:44:20 I *LIKE* them, but they are not "portable" as nice as we'd like. 09:44:31 "something has its own issue, that something could be freebsd, but it could be something else" 09:44:54 SunDragon: whatever. If you can live in autoshit, yer golden. 09:45:06 yes, the portability could be improved for sure.. although i think it rivals java 09:45:34 what is autoshit? 09:45:43 Java is a mess - forth rivals THAT 09:46:09 GNU autotools: the entire panople 09:46:37 ah, got it 09:46:54 the netbsd system build does not use gnu autotools 09:47:04 but nearly everything in pkgsrc does 09:49:01 bsd is nice, but sadly: most distro vary all over and even ignore the FHS 09:49:51 I had a LOT more issues porting to solaris/sun than *bsd - from linux. 09:50:09 ..nowadays, with macosx, I suffer the issues everywhere. 09:50:33 i have much more problems porting random shit from linux to bsd than the other way around 09:50:40 yeah 09:50:49 --- join: virl (i=core@chello062178085149.1.12.vie.surfer.at) joined #forth 09:50:57 linux-specific crap can be ugly as hell: /proc, for example. 09:50:58 mostly because most linux software is f***ing buggy 09:51:13 depends 09:51:40 Maybe it's directional as well as platform? I've not really focussed on those details - just experienced "issues" for years. 09:52:57 I *do* know the more you "wish upon a Posix-star" - the more irked you get as you ponder "wtf" when something is broken... And, that ain't even .ext and FHS. 09:53:34 FHS released 1996, MDIR released years prior, good thing about standards... 09:54:02 Latest Example: is Posix; RH decided to fuck it up AND require a lib. 09:54:13 I dunno "MDIR" - site? 09:54:25 http://en.wikipedia.org/wiki/Mdirs <-- i do not think this information is accurate 09:54:51 the FHS is what we were all supposed to accept - every distro twists it in perverse ways. 09:55:10 SunDragon: thanks, if it ain't "more current", I'll avoid it. 09:55:54 ..and, to make it worse: the FHS is twisted in ways you can't really ascertain via code. 09:56:07 http://netbsd.gw.com/cgi-bin/man-cgi?mtree++NetBSD-current 09:57:24 The least example, (and a worse case): Tell me what libs 'c' will automatically include - and what paths it will look (in order) for the libs, as well as the ".h" files. Portably. Everywhere. 09:58:29 Tell me as well where/order we search for "static/dynamic libaries" and "plugins" 09:58:56 ..granting that dynamicism is extra-support. 10:00:10 kind of like asking what target does the c compiler default to 10:00:13 In what paths should I look for binaries? For ROOT, a member of a group, for a user? At what point do we trust the environment? Why? 10:00:34 bad answer and llama - but yer on the right track ;-) 10:00:46 llama? 10:01:05 what answer were you hoping for? 10:01:10 "bad llama" (The Emperors New Groove) 10:01:31 Not sure, but yer heading that way: mull it for a few days/weeks 10:02:09 oh great now i am a grasshopper 10:02:13 It's nontrivial, and it and the FHS are so abused it makes yer head ache 10:03:38 Near as I can tell, (and I've been over this for months), a lot of it is ABI-level: distro/platform/cpu. And there is just no "Good Way" to ascertain the crap. 10:04:11 i think you are correct, though it does not seem to be holding back linux or bsd developers 10:04:29 I'm not sure why. But, noncommunication/isolation and stupidity seem to be the rule. 10:04:57 right: each works their universe, and adopts posix and standards as they like. 10:05:20 does posix define where dynamic libraries should be? 10:05:29 Have you ever had to deal with a file or three in /etc ? 10:05:49 what do you mean by deal? 10:05:56 read/use 10:06:01 yes 10:06:05 ok.. 10:06:35 One sec, yer feeling you have a grasp on the universe... The next time, you ponder "WTF are you asswipes DOING?" 10:06:49 concrete example? 10:07:17 oh, hell.. I can't anymore: macosx mulches /etc worse than debian did 10:07:31 ..I can't much use those files anymore 10:08:36 i read an article about macosx's replacement for init/inetd/cron 10:08:59 what used to be 1 line in inetd.conf is now a minimum of 25 lines in an xml file 10:09:25 and the cron functionality doesn't work correctly yet, so you still need to have cron running in parallel 10:09:39 yeah 10:09:56 and what's this crap about apple pretending to be open source 10:10:04 I'd also point out the bootstrap under /init is freaky 10:10:11 they open source a piece or two, but as a whole they are drm-happy money-grabbers 10:10:24 oh, it *IS*, but it's mostly ojjc 10:10:27 objc 10:10:47 and, frankly - I'm not impressed 10:10:50 not the whole system.. maybe the kernel and an app or two 10:11:12 what really distinguishes it from next? flashy gui and commercial support? 10:11:21 i said next, i meant rhapsody 10:11:22 whatever 10:11:38 As a rule, I *LIKE* the os checking with the supplier for updates/upgrades to installed materials - and downloading in the background, then asking to install. 10:11:42 next never was unix.. it was an oddball from day 1.. and you expect it to be compatible with open source? 10:12:01 yeah, NEXT was a laugh 10:12:44 Other than a bsd-core, and the auto-upgrade/install: I'd never again buy a mac 10:12:59 i don't buy the pitch that it is a bsd core 10:13:10 maybe there is a bsd network stack in there and a few utilities 10:13:16 Anyway, the FHS and extensions are a major issue 10:13:21 but there are gonzo kernel internals and executable formats 10:13:53 SunDragon: actually, unless I need to build a so/plugin: the sucker is pretty well "standard" 10:14:19 and nt has a posix subsystem 10:14:29 they even target pkgsrc at it 10:14:40 ..and, mind you: I live in termwin/x11, joe and gcc/make 10:14:57 cygwin will do that in windows 95 10:15:06 no 10:15:09 no? 10:15:20 djgg/cygwin will EMULARE *nix 10:15:24 EMULATE, too 10:15:30 ..poorly 10:15:39 I really, truly get gcc 10:15:52 in what way is cygwin gcc fake? 10:15:56 What I don't get is ELF shit 10:15:58 or cygwin xfree86? 10:16:23 they emulate, last I heard: as in "should work, might not" 10:16:43 what might not work? 10:16:58 More often than not, macosx and gcc treat the system as a gcc/bsd bed 10:17:41 only in the goddamned linker does it falter, and the loader - well, I ignore the manpages and use dlopen & friends. 10:18:08 how do i find the most recently defined word in forth? 10:18:09 They'd *LOVE* me to embrace objc 10:18:39 latest @ .word? I use 'words' and break it 10:21:29 having trouble finding latest in dpans 10:21:46 it would be 10:22:07 I just tried after booting gforth 10:22:31 ...you have to remember: most forth embed the name and code - all in 'here' 10:22:51 it works in gforth, i just don't find it in the dpans word lists 10:22:59 ahh 10:23:07 What worked in gforth? 10:23:17 latest @ .word 10:23:44 GForth 0.5.0, Copyright (C) 1995-2000 Free Software Foundation, Inc. 10:23:44 GForth comes with ABSOLUTELY NO WARRANTY; for details type `license' 10:23:44 Type `bye' to exit 10:23:44 latest @ .word 10:23:44 *the terminal*:1: Undefined word 10:23:47 latest @ .word 10:23:47 ^^^^^^ 10:23:49 Backtrace: 10:23:51 $1F150 throw 10:23:53 $291B0 no.extensions 10:24:03 it's NOT promisary. 10:24:32 oh, it is doing that for me as well.. i wonder why i thought i saw it succeed earlier 10:24:51 yeah.. even fails with : foo . ' 10:24:58 er, '/; 10:25:08 Gforth 0.6.2 10:25:15 latest @ .word 10:25:15 *the terminal*:1: Stack underflow 10:25:15 latest @ .word 10:25:15 ^^^^^ 10:25:54 yep 10:26:08 prolly need >name type 10:26:17 anyway: welcome to forth ;-> 10:26:26 I'm gonna' 10:26:42 ..call it a Knight and cogitate this damned code. 10:26:49 Stay well, folks... 10:26:53 good chatting, take it easy 10:27:06 --- quit: PoppaVic ("Stay well, Y'all: time to mull "issues"") 10:57:26 --- join: rsync_ (n=monkey@CPE000c41aac435-CM00111ae4f4cc.cpe.net.cable.rogers.com) joined #forth 11:01:05 how do you tell the size of an array in forth? 11:02:49 what is an "array"? 11:04:16 mayber create v 1 , 2 , 3 , :) 11:04:44 oh, in that case: here v - 1 cells / 11:05:01 or just 3 as you know the size anyway ;-) 11:07:18 create v 10 , 20 , 30 , 40 , ok 11:07:18 : foobar ." foobar" cr ; redefined foobar ok 11:07:37 here v - 1 cells / . 23 ok 11:07:44 well duh, sure 11:08:30 anyway, in forth, you don't normally calculate the size of an array 11:08:45 you either just *know* the size or store it somewhere 11:08:48 in forth, can you grow an array after defining other words? 11:09:29 better not have that array in the normal data space then... got to dynamically alloc it 11:10:59 how do you dynamically alloc an array? 11:12:01 with alloc-mem? 11:12:16 or whatever it is called on your forth system 11:12:29 segher: in the gforth manaul check the tutorial 11:12:43 huh? 11:13:03 dpans defines allocate, i'll see if i have that 11:13:04 segher: sorry 11:13:07 SunDragon: http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Arrays-and-Records-Tutorial.html#Arrays%20and%20Records%20Tutorial 11:13:47 ``Forth has no standard words for defining data structures such as arrays'' 11:13:54 hrm, what about CREATE ? 11:14:14 that doesn't define a data structure 11:14:22 it just names a certain address 11:15:49 the gforth tutorial looks worth a read 11:16:34 yeah, you should 11:25:08 Does really Forth need standard array words? 11:26:19 i am just learning forth, so i don't feel qualified to answer that 11:26:29 it doesn't 11:26:34 the book i am reading has a chapter on arrays, which lead me to believe that forth had arrays 11:26:56 arrays are just consecutive memory locations. we have those, sure 11:27:12 --- quit: Cheery (Read error: 104 (Connection reset by peer)) 11:27:19 --- join: Cheery_ (i=Henri@a81-197-18-99.elisa-laajakaista.fi) joined #forth 11:28:07 --- nick: Cheery_ -> Cheery 11:28:21 Forth has no standard words for defining data structures such as arrays. What about CREATE? that doesn't define a data structure arrays are just consecutive memory locations. we have those, sure 11:28:46 so i guess arrays don't count as data structures 11:29:25 there is no special method in forth to access the nth element of an array 11:42:18 It's easy enough to make one. 11:42:47 it needs to know the size of the data... 12:01:07 --- quit: segher () 12:02:18 --- quit: I440r ("Leaving") 12:21:25 we don't generally consider the heap a "data structure" 12:21:27 it's just ram 12:21:38 you can access it with memory addresses, stores and fetches 12:22:52 Yep. 12:23:50 --- join: Astrobe (n=fred@85.69.106.223) joined #forth 12:46:06 --- quit: rsync_ () 13:01:26 --- quit: Astrobe (Read error: 110 (Connection timed out)) 13:21:27 --- quit: JokeR69 (Remote closed the connection) 13:51:21 --- join: Amanita_Virosa (n=jenni@adsl-69-154-189-66.dsl.hstntx.swbell.net) joined #forth 14:09:41 --- quit: swalters (Read error: 104 (Connection reset by peer)) 14:16:37 hi everyone 14:20:16 hey crc 14:21:05 * crc has been playing with Gtk 14:21:56 * saon doesn't have any gtk experience 14:22:00 how is it? 14:22:10 the api likes long function names 14:22:18 gtk_signal_connect_object 14:22:22 gtk is a pain 14:22:23 ick 14:22:40 I'm wrapping the raw gtk api in forth words to make it tolerable 14:22:47 that seems to be the newest CS fad 14:22:51 Amanita_Virosa: easy to interface to though 14:23:09 double SpeedOfAirplaneGoingToFrance; 14:23:14 and it's not any worse than using raw xlib :) 14:23:16 heh 14:23:35 well no, raw xlib is a tad painful 14:23:44 i wrote my own widget set a couple years back on top of raw xlib 14:24:05 is it freely availible? 14:24:08 * saon has been pondering creating a wm in forth 14:24:12 * crc too 14:24:22 nope, i never released it 14:24:30 ok 14:24:42 crc: what kind of wm would you make? 14:24:53 or rather what do you use now that you would like to replace? 14:25:41 saon: I'm not fully sure yet 14:25:43 i rather like what im using, it's almost perfect. 14:25:54 Amanita_Virosa: what are you using? 14:26:04 vtwm 14:26:18 I'm using Enlightenment DR16 on this box presently; and fluxbox 14:26:20 with a very custom config 14:26:35 i stripped off all window decoration except for a 2-pixel blue border around each window 14:26:42 my desktop normally just contains a bunch of xterms 14:26:45 i usually switch between BadWM and ion 14:26:48 each of which automagically launch screen 14:27:08 mine too 14:27:11 window management is done by a variety of keyboard shortcuts and the touchpad 14:27:21 i have 5 meta keys, all of which i use (i rebound caps lock) 14:27:23 I'd like to do something like ratpoison 14:27:37 have either of you used treewm? 14:27:38 i even built a custom on-screen display system, and set it up to control my mixer 14:28:11 it brings together a whole different way to manage stuff, and it does so fairly cleanly, but needs better keyboard control imo 14:29:41 i like the fact that my consoles are not tied to the xserver 14:29:47 i can log off, and they'll come right back up 14:30:00 i even have a setup that i can select when i log in to keep the whole desktop static 14:30:10 (uses vnc and a whack of scripting) 14:30:22 heheh, cool 14:31:32 --- join: swalters (n=swalters@6532183hfc82.tampabay.res.rr.com) joined #forth 14:31:55 still not as fun as the on-screen display thingie. 14:32:07 when i plug in a usb device, i get a notification on screen 14:32:12 and all sorts of other cool stuff like that :) 14:36:06 http://forthworks.com/blog/?p=198 is the source code for the Gtk bindings and a simple test program 14:40:09 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-133-096.pools.arcor-ip.net) joined #forth 14:40:51 --- quit: Snoopy42 (Nick collision from services.) 14:41:46 --- nick: snoopy_1711 -> Snoopy42 14:46:38 --- quit: Cheery ("Leaving") 15:08:40 --- quit: Amanita_Virosa ("Whooops.") 17:09:33 --- join: aum (n=aum@60-234-156-82.bitstream.orcon.net.nz) joined #forth 18:04:00 --- nick: nanstm -> Raystm2 19:47:09 why would i pick MOVE over CMOVE> ? 19:52:50 excellent question, to which, I too, would like to know the answer. 19:53:18 is CMOVE> a character-move? 19:54:08 Or is it Cell-move. 19:54:19 * Raystm2 goes to the doc's to find out. 20:08:50 dpans: If u is greater than zero, copy u consecutive characters from the data space starting at c-addr1 to that starting at c-addr2, proceeding character-by-character from higher addresses to lower addresses. 20:09:29 i guess cmove> does characters and move does cells 20:10:17 dpans says move uses address units, not sure if those are synonymous with cells 20:39:26 address units would be characters on "normal" computers 20:39:55 iirc the term refers to the smallest amount of memory you can "address" 20:40:24 the amount of memory between memory address x and memory address x+1 20:41:17 the ansi forth standard tryes not to assume that this is 8 bits 21:19:00 imho that is actually cool 21:28:24 --- join: snowrichard (n=richard@adsl-69-155-177-154.dsl.lgvwtx.swbell.net) joined #forth 21:32:43 ho 21:32:46 hi 22:21:12 --- quit: virl (Remote closed the connection) 22:48:21 hi 23:21:22 --- quit: aum () 23:37:28 --- quit: JasonWoof (Remote closed the connection) 23:59:59 --- log: ended forth/05.12.19