00:00:00 --- log: started forth/12.08.10 00:03:56 --- join: epicmonkey (~epicmonke@188.134.41.211) joined #forth 00:03:56 --- mode: ChanServ set +v epicmonkey 00:36:49 --- quit: epicmonkey (Ping timeout: 240 seconds) 01:42:58 --- join: epicmonkey (~epicmonke@host-224-60.dataart.net) joined #forth 01:42:59 --- mode: ChanServ set +v epicmonkey 02:38:38 --- quit: fantazo (Remote host closed the connection) 03:06:36 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 03:06:36 --- mode: ChanServ set +v MayDaniel 04:28:11 --- join: fantazo (~fantazo@213.129.230.10) joined #forth 04:28:11 --- mode: ChanServ set +v fantazo 05:11:11 --- quit: jyfl987 (Quit: leaving) 06:21:17 --- quit: obobo (Remote host closed the connection) 06:36:46 --- join: nighty- (~nighty@static-68-179-124-161.ptr.terago.net) joined #forth 06:36:46 --- mode: ChanServ set +v nighty- 07:10:37 --- quit: fantazo (Ping timeout: 276 seconds) 08:10:52 --- join: fantazo (~fantazo@91-119-220-48.dynamic.xdsl-line.inode.at) joined #forth 08:10:52 --- mode: ChanServ set +v fantazo 08:54:12 --- quit: ttmrichter (Quit: Leaving) 09:11:03 --- quit: epicmonkey (Ping timeout: 240 seconds) 10:07:55 --- join: phao (phao@177.146.131.63) joined #forth 10:07:56 --- mode: ChanServ set +v phao 10:27:57 --- join: epicmonkey (~epicmonke@188.134.41.211) joined #forth 10:27:57 --- mode: ChanServ set +v epicmonkey 11:03:13 Hi 11:03:17 anyone on gforth herE? 11:04:25 It depends. 11:04:35 Better ask the actual question. 11:04:45 yeah, sorry 11:04:59 I downloaded gforth from here http://bernd-paysan.de/gforth.html 11:05:01 (Besides, it is rather strange to see lispnik on forth channel.) 11:05:03 a windows version 11:05:14 but when I try to run gforth, I get this 11:05:19 gforth: cannot open image file gforth.fi in path .:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.7.0-20090215:/usr/local/share/gforth/0.7.0-20090215 for reading 11:05:36 I am not sure why it's trying to find something on a unix-ish path on my windows system 11:05:47 I think you need to run it from Cygwin. 11:05:56 ok 11:05:58 Because it is unix-based first of all. 11:05:59 thx ASau 11:06:26 sadly, I will have to download cygwin 11:06:41 It's good to have anyway. 11:06:46 My internet connection is too slow 11:06:57 that's all the problem, honestly. I will try to stick with Win32Forth 11:06:58 Well... 11:07:08 I don't understand forth at all 11:07:11 That's the least problem actually. 11:07:17 but for example, I got this... 11:07:22 (on my win32forth) 11:07:27 if I type "if" and enter 11:07:36 I get Error: if compilation only 11:07:43 Sure. 11:07:47 that looks strange, somehow 11:07:58 ASau, is it normal? 11:08:00 Yes. 11:08:06 that's good ! 11:08:15 well, I will stick to it then 11:08:29 Wait a minute, I'll try to find something analogous from Lisp. 11:08:37 ok 11:10:29 The closest thing off top of my head is the absence of top-level semantics of some constructs. 11:10:40 Or REPL semantics. 11:10:55 hmm 11:10:59 Something like declaim, I think. 11:11:02 I understand 11:11:16 so it's as if I was in the top level there 11:11:23 and if is not available in that "context" 11:11:29 Exactly. 11:11:53 could you give me a code (small thing) that could paste it in there, showing a context in which if would be available? 11:13:01 : test-1 ( compilation context here ) 2 2 = if ." got here" cr else ." not here" then cr ; 11:14:03 ( interpretation context here ) :noname [ ( interpretation context here ) 2 ] literal 3 = if ." not here" then ; execute 11:14:41 Basically, the following words don't have interpretation semantics: 11:14:56 cool! =) 11:14:57 if else then begin again while repeat until ; 11:15:04 case of endof endcase 11:15:20 I just started reading starting forth 11:15:33 I hope it explains all this stuff 11:15:36 Better find some modern book. 11:15:46 SF is about obsolete dialect. 11:16:02 Just like Maclisp or Interlisp vs. Common Lisp. 11:16:48 damn 11:16:51 which is a good book? 11:17:00 Honestly, I don't know the current state. 11:17:07 heh 11:17:16 thinking forth? 11:17:17 As you can easily find here, Forth is way more dead than CL. 11:17:28 TF is about the same age. 11:17:43 well, but this old age 11:17:55 does it really "disturbs"? 11:17:56 These are about early eighties. 11:18:02 Well... 11:18:19 ANS-94 dialect differs significantly. 11:18:20 I mean, SICP is from 85 afaik 11:18:26 it's still very good 11:18:43 In particular, it introduced this separation between compilation and interpretation semantics. 11:18:50 It didn't exist before. 11:19:15 When using some implementations, you may not understand error messages. 11:19:55 ASau, lemme ask you something 11:19:59 Scheme and CL world is fundamentally different. 11:20:05 ahhh 11:20:07 ok. 11:20:23 I came to forth stuff because the books are kind of famous. People recommended me Thinking Forth and POL 11:20:31 Well... 11:20:44 I'd suggest not to waste your time. 11:20:47 haha 11:20:49 why is that? 11:21:17 TF and POL are basically about do-it-all-yourself approach. 11:21:40 I noticed that in POL 11:21:44 They bear the smell of those times when you didn't have good compilers. 11:22:01 And when you didn't have machines powerful enough. 11:22:37 Thus they imply that by doing significant part of work by hand 11:22:40 but what about the programming technques and concepts in those books? 11:22:51 you can achieve better results than letting your compiler do it. 11:23:03 Well... 11:23:06 I read like 20 pages of pol, I got the same impression 11:23:39 You can convert your "loop for e in l..." into more efficient loops with "do" or "do*". 11:23:57 Or you can leave it as is and let SSC resolve these issues. 11:24:17 Or you can leave all such optimizations to some later stage of your project. 11:25:06 I don't understand... 11:25:32 how does this relate to the programming techniques and concepts from these books/? 11:25:43 The main idea in TF and POL is approximatly this: 11:25:58 the code you write is meant to be run on some particular system, 11:26:16 thus you must think the way that system operates 11:26:30 or else your program will not run efficiently or not run at all. 11:27:00 This is the opposite what you do in modern times, 11:27:11 yeah, I agree 11:27:14 and even back then 11:27:15 when you write code so that it is to be read by humans rather than machines. 11:27:19 afaik 11:27:36 unix and C spread the idea of being portable, which goes against this 11:27:42 and these ideas were getting famous.. 11:29:52 The huge drop in Forth usage in late eighties and early nineties proved that something is wrong. 11:30:00 Either in Forth itself or around it. 11:30:53 The common old-timer's attribution of that to dialect shift seems wrong, 11:31:14 since dialect shifts in C and C++ did no comparable harm. 11:31:43 Or in Lisp and Scheme. 11:32:01 sometimes language changes is for the better also 11:32:28 but that sounds unrelated =D 11:33:10 The dialect of 1994 has less hardware dependencies like bit width. 11:33:29 I have no clue what that is 11:33:38 when I came to here, I thought forth was higher level 11:33:59 Previous dialects assume that it is implemented on 16-bit 2-complement machine. 11:34:06 No. 11:34:16 Forth is as high-level as C. 11:35:18 hmm 11:35:21 ASau, thx for helping 11:35:47 If you want to check it, type something like "0 0 !" in your REPL. 11:35:52 ok 11:36:04 got ok 11:36:10 Hm. 11:36:11 what does that mean? 11:36:20 Then try something like "0 -1 !". 11:36:28 It means "store 0 at address -1". 11:36:28 exception 11:36:39 access_violation 11:37:16 I got a dump of register status I think 11:37:19 Note that even in C you have to cast it to address type first. :) 11:37:27 yes 11:53:34 By the way, you should have said that you prefer Scheme. 11:53:44 I'd find better examples from there. :) 11:54:34 hehe 11:54:46 I like scheme a lot 11:54:53 I just wrote a DFA to C compiler in schem 11:54:55 scheme* 11:55:05 it's really cool, but idk... I liked it more. 11:55:09 call/cc has bad semantics in top level, 11:55:19 thus it is sensible to forbid it there. 11:55:20 bad is a compliment 12:02:18 today, I am not sure which is the language I like. 12:02:24 scheme is good 12:02:32 but feels clumsy 12:02:53 mainly when my code is not purely function, which is frequent 12:03:02 even though it's "mostly" function 12:03:04 functional* 12:11:37 Personally, I don't like Scheme due to the way it enforces writing loops. 12:11:53 I agree that "map" and "fold" are cool, 12:12:12 but in many cases the most natural way of iteration is simple loop. 12:12:17 I agree with you 12:12:23 the most clumsy parts are the loopy ones 12:12:30 which is, sort of everywhere 12:12:46 it's not that you can't do a for-loop 12:12:53 but it's weird 12:13:03 Or better, CL:LOOP. 12:13:48 I never used CL... I head this loop thing is cool 12:20:11 Last time I used Scheme in production instead of CL. 12:20:30 And my impression wasn't good enough, honestly. 12:20:49 --- quit: Nisstyre (Quit: Leaving) 12:23:00 ASau, which languages you like? 12:24:19 Russian. :) 12:24:30 programming languages =) 12:26:11 CL, mostly. 12:26:37 Perhaps, I'll try those quirky Racket modes with types and stuff. 12:34:45 ASau, I am wondering here 12:35:01 I wanna learn a language that is more easily useful for doing useful stuff 12:35:13 and "useful" stuff is sort of I/O stuff 12:35:24 like GUI, 2d graphics, 3d graphics, dealing with files 12:35:31 being able to tell what went wrong, when something goes wrong 12:36:11 I've been programming for a while, but mostly on things that are silly, or do not require a "useful system" 12:36:28 I was wondering about java 12:36:34 what do you think is a good choice? 12:41:36 If you want a language for profession, java is very good choice. 12:42:16 profession is one of the goals, yes 12:42:20 Otherwise, well... 12:42:25 I'd not mind if it was fun too 12:42:31 Java is really really heavy-weight. 12:42:40 heavy weight? 12:42:47 Sure. 12:42:55 what do you mean? 12:43:53 It is rather rigid in order to enforce industrial-grade code style. 12:44:42 If you come from Scheme, it will require some effort to get used to its ways. 12:45:02 hmm 12:45:03 Understanding "design patterns" is a must here. 12:46:27 You should find the famous Norvig's presentation on triviality of a good deal of "design patterns" in functional languages. 12:46:35 You'll learn a lot from it. 12:47:11 where is that? 12:47:15 If you understand how closures and objects are equivalent, 12:47:20 it will give some insight too. 12:47:55 Search for "Norvig design patterns". 12:49:02 Both two give you some insight about what you have to change in your mind to be successful with Java. 12:49:55 it takes so much to learn a language 12:49:58 ok again the same ASau pattern. dimishing the people who might interest about forth as a language. 12:50:04 it's troubling to "choose on" 12:50:22 I wanna learn java, but I wanna learn python and ruby too. 12:50:24 also C#. 12:50:38 I guess what troubles me most is that I have no reason to want that =D 12:50:52 ASau is our small hero of depression in this channel. singing the old song of how much forth sucks. I think I should write a song about such assholes. 12:51:05 fantazo, don't worry 12:51:06 C# pays off well too. 12:51:12 we do the same in ##c all the time 12:51:50 phao, a reason not to join ##c 12:51:58 =) 12:52:02 even given that I like C 12:52:04 phao: this channel is mostly populated by geeks that don't have CS education to understand how Forth really sucks. 12:52:18 did that too for a living for a time, now ruby. 12:52:19 phao: you can safely ignore their rants. 12:53:03 I would really love to kickban you. 12:53:21 fantazo, you're right; don't go to C 12:53:33 if ASau bothers you, you won't be able to live there 12:55:01 phao, I know, that's the reason why I'm not at such places. 12:55:19 it's funny there, though 12:55:23 if you can take things not personally 12:55:27 and have a sense of humor 12:55:37 I gathered some passings from there 12:55:41 check out: (wait) 12:55:46 There's one fundamental difference between there and here. 12:55:55 There most people do understand that C sucks, 12:55:56 I have a sense of humor, but such things aren't what I think is funny. 12:56:10 and accept it for pragmatic reasons. 12:56:28 Here most people think that Forth really rocks 12:56:35 and they do not accept any critical thinking. 12:56:44 every language sucks. every designer of a language thinks, that he did it wonderful but actually he doesn't. 12:56:46 http://personalphao.wordpress.com/from-irc/ 12:57:39 I'm so sick of people who brag with no references of backing up their claims that a specific language feature makes things more productive. 12:57:46 or whatever. 12:58:52 forth is atleast, even when it is like C too low level coherent in its design. fucking simple. and it is easily to bootstrap, compared to other languages. 13:01:35 fantazo, take a look at the passings form ##c that I've gathered =D 13:01:39 they're tons of fun 13:03:36 ok, not my type of humor. 13:03:49 =( 13:06:23 I see recorded assholes. Not anything funny. 13:07:00 I laughed so much at these things 13:11:40 I like more things about work as a programmer. Or from a computer science perspective, which I studied for a time, before I changed my study. as I disliked the people and a couple of other things there. 13:12:35 different places have different people 13:12:36 --- quit: nottwo (Ping timeout: 252 seconds) 13:12:43 #scheme people are quite friendly 13:12:49 same for #sml people 13:13:02 and most people in there have a CS degree 13:13:06 I guess 13:13:16 in my opinion are most of those people idiots, who eat their own shit and then brawg about what good design makes out from their own perspective. 13:13:32 --- join: nottwo (~trannie@nottwo.org) joined #forth 13:13:35 --- mode: ChanServ set +v nottwo 13:13:40 its all about opinions, no science actually just stupid opinions. 13:14:15 layered with 1000 inches of self loving machoism. 13:14:49 so and this is the end of my brawling now. I could continue with this for hours. 13:15:15 I just don't want such assholes in this channel. 13:15:44 Well, noone wants who we consider assholes around 13:15:44 --- quit: fantazo (Quit: Verlassend) 13:18:27 --- quit: MayDaniel (Read error: Connection reset by peer) 13:23:38 That's another lie that's common here. 13:24:12 You always tend to tell that something is unscientific and the rest, 13:24:33 when you cannot sustain any critical opinion about it. 13:50:46 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 13:50:46 --- mode: ChanServ set +v Nisstyre 13:55:32 --- join: Speedster159 (70cc96f0@gateway/web/freenode/ip.112.204.150.240) joined #forth 13:55:32 --- mode: ChanServ set +v Speedster159 13:58:27 --- join: Speedster159_ (70cc96f0@gateway/web/freenode/ip.112.204.150.240) joined #forth 13:58:34 --- mode: ChanServ set +v Speedster159_ 14:00:35 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 14:00:35 --- mode: ChanServ set +v MayDaniel 14:02:02 --- quit: Speedster159 (Ping timeout: 245 seconds) 14:06:37 --- quit: Speedster159_ (Ping timeout: 245 seconds) 15:26:34 --- quit: epicmonkey (Ping timeout: 276 seconds) 15:43:23 --- quit: karswell_ (Remote host closed the connection) 15:53:43 --- join: karswell_ (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 15:53:43 --- mode: ChanServ set +v karswell_ 15:54:56 --- join: jdpo (~joe@71-11-208-63.dhcp.ftwo.tx.charter.com) joined #forth 15:54:57 --- mode: ChanServ set +v jdpo 15:56:24 --- quit: jdpo (Client Quit) 16:00:06 is there anyone in this channel, besides ASau himself, that actually wants ASau here? 16:02:20 --- quit: MayDaniel (Read error: Connection reset by peer) 16:09:04 --- join: fantazo (~fantazo@91-119-220-48.dynamic.xdsl-line.inode.at) joined #forth 16:09:05 --- mode: ChanServ set +v fantazo 16:15:30 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 16:15:30 --- mode: ChanServ set +v MayDaniel 16:29:18 --- quit: MayDaniel (Read error: Connection reset by peer) 16:52:18 --- quit: nighty- (Remote host closed the connection) 17:34:36 --- quit: cataska (Ping timeout: 260 seconds) 17:35:01 --- join: cataska (~cataska@210.64.6.233) joined #forth 17:35:02 --- mode: ChanServ set +v cataska 17:47:01 --- join: phao_ (phao@177.174.104.99) joined #forth 17:47:01 --- mode: ChanServ set +v phao_ 17:49:56 --- quit: phao (Ping timeout: 256 seconds) 17:51:52 --- quit: ASau (*.net *.split) 17:58:21 --- join: ASau (~user@95-26-148-61.broadband.corbina.ru) joined #forth 17:58:21 --- mode: wolfe.freenode.net set +v ASau 18:16:27 --- quit: segher (Quit: This computer has gone to sleep) 18:18:11 --- join: segher (~segher@5ED3C8DF.cm-7-4d.dynamic.ziggo.nl) joined #forth 18:18:11 --- mode: ChanServ set +v segher 18:23:38 --- quit: phao_ (Quit: Not Here) 18:57:48 --- quit: Onionnion (Quit: Leaving) 19:10:41 --- join: ttmrichter (~ttmrichte@222.242.224.75) joined #forth 19:10:41 --- mode: ChanServ set +v ttmrichter 23:59:59 --- log: ended forth/12.08.10