00:00:00 --- log: started forth/04.02.22 00:16:34 --- join: snowrichard (~richard@adsl-068-209-159-248.sip.shv.bellsouth.net) joined #forth 00:36:48 --- quit: snowrichard ("Leaving") 01:01:33 --- quit: networm (Remote closed the connection) 05:00:48 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 05:12:42 --- join: networm (~networm@L0634P01.dipool.highway.telekom.at) joined #forth 07:08:47 * warp0b00 is away: Lights on, lights off, lights on, lights off, lights on, lights off... 07:32:43 --- join: Nutssh (~Foo@gh-1081.gh.rice.edu) joined #forth 09:42:39 --- quit: ASau (Read error: 60 (Operation timed out)) 09:43:49 --- quit: networm ("Client exiting") 10:59:34 hi 10:59:46 hi 10:59:52 what's up :) 11:02:34 nothing :) 11:28:12 --- quit: Nutssh ("Client exiting") 11:35:43 --- quit: proteusguy ("Leaving") 12:31:27 --- join: wossname (wossname@HSE-Sherbrooke-ppp79647.qc.sympatico.ca) joined #forth 12:38:22 hi wossname 12:39:15 hello 12:42:44 :) 12:44:01 hi arke~ 12:46:14 :) 12:47:11 terve 12:49:28 terve mur :) 12:49:43 --- join: shockwave (~hawzee65@163.167.138.65) joined #forth 12:49:59 --- part: shockwave left #forth 13:01:09 --- join: Nutssh (~Foo@register.rice.edu) joined #forth 13:05:56 I hate writing resumes. 14:05:20 --- join: proteusguy (~proteusgu@216.27.161.121) joined #forth 14:58:47 --- join: fridge (~fridge@dsl-203-33-160-69.NSW.netspace.net.au) joined #forth 15:14:29 --- quit: Nutssh ("Client exiting") 15:23:54 --- join: Nutssh (~Foo@register.rice.edu) joined #forth 15:36:29 --- join: killaweb (~giddet@pD9ED778D.dip.t-dialin.net) joined #forth 15:43:13 --- part: killaweb left #forth 15:52:41 --- quit: wossname (Read error: 104 (Connection reset by peer)) 15:58:02 --- join: wossname (wossname@HSE-QuebecCity-ppp80546.qc.sympatico.ca) joined #forth 16:01:10 --- join: blockhead (default@dialin-500-tnt.nyc.bestweb.net) joined #forth 16:11:03 kc5tja: hi :) 16:13:18 --- quit: Nutssh ("Client exiting") 16:50:23 --- join: Nutssh (~Foo@gh-1177.gh.rice.edu) joined #forth 17:14:45 hi arke and kc5tja 17:36:16 Crap, I left my terminal running again. 17:46:42 eck :) 17:54:44 --- quit: proteusguy ("Leaving") 18:14:46 --- quit: wossname ("let reason take hold, the truth to be told") 18:50:46 --- join: networm (~networm@L0662P13.dipool.highway.telekom.at) joined #forth 19:12:16 --- quit: networm (kornbluth.freenode.net irc.freenode.net) 19:12:17 --- quit: Herkamire (kornbluth.freenode.net irc.freenode.net) 19:12:17 --- quit: mur (kornbluth.freenode.net irc.freenode.net) 19:12:50 --- join: networm (~networm@L0662P13.dipool.highway.telekom.at) joined #forth 19:12:50 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 19:12:50 --- join: mur (~mur@mgw2.uiah.fi) joined #forth 19:13:46 hi Herkamire 19:16:13 Wow, not much Forth talk going on in here the past couple days. 19:16:55 i'm writing some factor code right now ;) 19:17:02 showing speech bubbles when characters in the game talk 19:17:20 and factoring the conversation words to make code that uses them more clear 19:19:07 Screenshot! 19:19:29 in a few mins 19:19:40 factor is a game written in forth? 19:19:56 factor is a language 19:20:06 oh, heh 19:20:08 yes, the language for scripting the game 19:20:27 networm is writing a forth right now. 19:20:37 as is everyone else :) 19:20:45 :) 19:20:46 Heh, yep. Best way to learn though eh? 19:20:55 yes 19:21:08 Actually, I am not writing a Forth right now. I'm playing Nethack. :P 19:21:33 madgarden: that brings back memories :) 19:21:44 although I played moria more than nethack 19:22:05 my forth already can execute words! :) 19:22:07 Yea, I played Moria first... on the AMiga. 19:22:22 Actually, played Sword of Fargoal on C64 first before any other roguelike. 19:22:27 i played "hack" on the amiga, before they prepended "net" 19:22:40 networm, do you mean EXECUTE? Or execute dictionary words? 19:23:03 well, both, since internally the latter uses the first 19:23:49 and i just realized that i can name another internal word to ' 19:25:21 is this allowed in forth-83: : recword ... recword ; ? or do i need something special to make recursive words? 19:25:24 Though, ' should use PARSE or WORD, FIND... 19:25:53 Not sure recursion is even allowed in F83. 19:26:09 networm: I think you use the "recruse" word to make a word all itself. 19:26:16 "recurse", I mean 19:26:27 yes, madgarden told me so.. but it's not in forth-83 19:26:36 * blockhead nudges a "c" in front of that "all" 19:27:33 well, it's a useful word to have anyway 19:27:34 oh 19:28:32 hm, yeah. guess there's no point seeing forth-83 as some guidelines to base this on 19:28:39 *as anything but 19:31:03 Well, it's nice to implement F83, but don't restrict yourself from going further. 19:41:26 madgarden, slava.kicks-ass.org/slava/snap.png 19:41:36 madgarden, doing some illegal stuff in the suburbs :) 19:42:11 here's another one: slava.kicks-ass.org/slava/game2.png 19:42:15 burgling a house :) 19:43:17 and here's another one: slava.kicks-ass.org/slava/game3.png going nuts with the plasma gun :) 19:44:27 Haha, cool stuff. 19:44:39 game2.png isn't working though. 19:44:59 fixed 19:45:08 note the flock of birds in game2.png 19:45:30 hi 19:45:37 hi arke 19:45:41 :) 19:46:38 heh, yea. Looks like you got a ton of stuff going on. 19:46:44 The poor cows! 19:50:15 --- join: proteusguy (~proteusgu@216.27.161.121) joined #forth 19:51:17 --- quit: proteusguy (Read error: 54 (Connection reset by peer)) 19:51:43 --- join: proteusguy (~proteusgu@216.27.161.121) joined #forth 20:00:26 --- quit: qFox ("if at first you dont succeed, quit again") 20:20:04 --- join: ASau (~asau@158.250.48.196) joined #forth 20:20:42 Dobroe utro! 20:21:00 hi ASau 20:21:04 Slava: Den' RKKA! 20:21:16 Happy holiday! 20:21:32 dobryjj vecher 20:34:29 --- quit: ASau () 20:37:23 'night all 20:37:25 --- quit: blockhead ("Client Exiting") 21:05:46 --- quit: chandler (Nick collision from services.) 21:07:23 --- join: chandler (~chandler@chandler.registered.freenode) joined #forth 21:30:24 --- join: hovil (~hovil@CommSecureAustPtyLtd.sb1.optus.net.au) joined #forth 21:40:26 kc5tja: C++ evil, no? 21:41:04 booyah 21:41:05 Depends on how you use it. 21:41:22 Any tool that man has made can be used as a weapon -- even armor. 21:42:05 C++ is a fine language. please don't bash it. its different in purpose than 4th. 21:42:30 Its ok, just weird to me, as I'm more of a C-y guy 21:42:36 proteusguy: can you help me out with something? 21:42:44 what's that? 21:43:02 void CRegister::SetWriteTrigger(tfn_v_2_rCRegister f) 21:43:02 { 21:43:05 [snip] 21:43:09 syntax error on ) 21:43:20 tfn_v_2_rCRegister = pointer to function type 21:44:37 syntax error? hmm... I think your error is elsewhere perhaps? what is the definition of tfn_v_2_rCRegister? 21:45:02 typedef void (*tfn_v_2_rCRegister) (CRegister& , CRegister&); 21:45:47 actually 21:45:49 Looks like some nasty MSoft naming conventions! :P ok the typedef looks ok. What happens if you just block comment out the entire function? 21:45:50 I see that now 21:46:00 it gives me an error on ',' on the typedef 21:46:22 oh? 21:46:27 actually, its me going overboard on hungarian notation :P 21:46:34 CRegister is a class... 21:46:42 yes HN *is* evil. :) 21:46:55 arke, rewrite in 4th :) 21:47:02 actually, I think its OK if not overused :) 21:47:10 (like I'm doing there, but I don't wanna change it) 21:48:20 HN may have some place in C code but in C++ it is actually quite detrimental. Correct C++ code is a completely different animal than C. C is best used as a platform-independent assembly language. 21:48:53 --- join: ASau (~asau@158.250.48.196) joined #forth 21:49:03 er, :) ok 21:49:11 ASau: dobryjj vecher! 21:49:13 I'm back. 21:49:18 proteusguy: got any idea whats wrong though? 21:50:05 No - nothing wrong with a function ptr type that takes a reference to a class instance. CRegister is already declared at the time of the typedef definition, right? 21:51:44 erm, is it bad if it follows right after? :P 21:51:56 i guess its not, but they're dependent of each other 21:52:07 Could be a compiler goof. Try giving the parms names like a and b. I still say to remark out the whole SetWriteTrigger method and see if you really don't have a syntax error from somewhere else. 21:52:57 nope, same thing... 21:53:06 It seems that CRegister isn't defined yet.. 21:53:10 typedef void (* tfn_v_2_rCRegister) (CRegister&, CRegister&); 21:53:11 class CRegister 21:53:11 { 21:53:16 [snip] 21:53:42 so, the actual class declaration follows after the typedef, but the typedef is needed in the class declaration... 21:53:47 you need to have class CRegister { ... }; completed before that typedef. 21:53:59 but CRegister needs that typedef 21:54:24 hmm... you can pass a pointer instead of a reference in that funtion pointer? 21:55:16 lemme see... 21:55:17 --- quit: Nutssh ("Client exiting") 21:55:27 pass by value and reference require a full definition (for stack size allocation purposes), pass by pointer doesn't. Can just have a forward declaration. 21:55:40 nope, same deal. 21:55:54 But you can still pass references to your class in your class methods so that shouldn't be your problem actually. 21:56:11 I'm gonna try placing the typedef after the class 21:56:21 yeah - you got some other problem beyond what you've posted. 21:57:06 I'd be glad to look at your header file content. 21:57:06 ugh 21:57:14 /msg paste? 21:57:24 sure how big is it? 21:57:45 10-15 lines 21:57:50 np go for it 22:02:28 HN is also not necessary in C if you choose your names properly. 22:02:49 I've posted all too many times tips on writing self-documenting code in any language, not just C or Forth. 22:02:58 I agree. HN is never necessary. 22:02:59 Every time, I've been met with ridicule and derision. 22:03:34 kc5tja: examples? :) 22:03:39 It reminds me of the socialist parties of this country, who are routinely ridiculed for the utter failures that are USSR and Cuba. 22:03:41 * arke has to go to bed in -20 seconds :( 22:03:51 arke: Write what you mean. 22:04:05 I've posted all too many times tips on writing self-documenting code in any language, not just C or Forth. 22:04:12 You asked for an example. 22:04:14 I just posted one. 22:04:17 but, er, I do have to go to be now :) 22:04:17 Write what you mean. 22:04:22 oh 22:04:25 i meant code example 22:04:34 Give me a context. 22:04:51 nevermind actually, gotta sleep, bye 22:04:55 * kc5tja shrugs 22:04:58 Me too actually. 22:05:04 College tomorrow, then work. 22:07:08 --- nick: kc5tja -> kc-sleep 22:07:56 * proteusguy believes socialist parties should be ridiculed everywhere... :P 22:08:42 Ha-ha! 22:09:04 Better learn what do they speak about. 22:09:33 You're just ignorant. 22:10:50 BTW, what do you think about GPL? 22:10:52 No I'm very aware. 22:11:13 What are you aware of? 22:11:45 I believe in Open Source but don't go for the GPL too much. I'm libertarian. But anyone should be able to use any license they like for their own code. 22:12:16 I'm aware of what socialist parties speak about - or at least the basis for their positions. 22:12:17 What license do you prefer? 22:13:00 Hm. And what's the basis? 22:13:01 LPGL is ok, as is BSD or other common "approved" licenses. 22:13:51 OK. So you say that you agree with stealing your code? 22:14:37 You're really aching for the political debate eh? :P OK - socialism presumes that other people have rights to the individuals private property. 22:14:38 You've written code for free and you never will be able to use this code. 22:16:29 --- quit: fridge (Remote closed the connection) 22:16:38 huh? I believe in IP rights and don't demand all code be open source. Just prefer it and think it has its own economic value. 22:18:38 And what's IP? 22:19:07 I think it's like a math formulae. 22:19:24 Anyway, what's algorithms? 22:19:34 Inellectual Property. 22:19:42 except I can't spell it! :P haha 22:19:47 i agree with ASau. 22:19:50 evidently I lost mine. 22:20:19 imagine of pythagoras tried to patent sqrt(sum(i=0..n,x[i]*y[i])) 22:21:35 Don't confuse current screwed up situation of patent office with correct IP protection! 22:21:37 --- quit: networm ("Client exiting") 22:22:00 proteusguy, what is correct IP protection? 22:23:54 Read the US Constitution and you'll see a correct purpose and justification for IP protection. You'll also see our USPTO has gone far outside of that scope (as has the rest of the US govt). 22:24:36 Friends - I really love debating IP and politics but I gotta wrap up some work before tomorrow (which it nearly is). To be continued... 22:25:28 OK. Let us patent "the way to calculate hypotenuse of triangle." 22:26:18 Nevermind it is clearly based on math. formula. 22:27:05 intellectual property ey 22:27:14 not my cup of tea. 22:45:34 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 22:46:10 --- join: proteusguy (~proteusgu@216.27.161.121) joined #forth 23:42:08 --- join: chandler_ (~chandler@64-145-60-36.client.dsl.net) joined #forth 23:59:59 --- log: ended forth/04.02.22