00:00:00 --- log: started forth/02.02.23 04:46:26 --- part: aum left #forth 05:07:31 --- join: I440r (~mark4@1Cust236.tnt1.bloomington.in.da.uu.net) joined #forth 05:07:42 hi ppl :) 05:08:33 hi I440r :) 05:13:11 :) 05:13:28 isforth is almost ready to release as pre 0.0000000001 beta :) 05:36:40 --- join: nilsw (00000@ncdial1-103-2-nc.nordcom.net) joined #forth 05:37:37 hi nil 05:39:21 hey I440r :-) 05:39:27 do you program C? 05:39:42 hey nilsw :) 05:40:32 hello Stepan :b 05:43:36 i do a bit 05:43:45 im not a bad c coder - i just dont like c much :P 05:44:12 i would consider myself a good c coder except i consider that a contradiction of terms :P 05:44:12 hhe 05:44:29 hihi.. 05:44:50 yepp one can only be a good coder if one loves the used language 05:46:05 c isnt a bad language - its just over obfuscated all a fucking gazillion libraries with a gazillion function calls that you have to be intimitly familiar with in order to do a "hello world" program :P 05:46:52 hehe 05:46:59 how do you read a string from the user, I440r? 05:47:21 in C 05:47:34 over the console ? 05:47:39 yes 05:47:57 you can use read from stdin 05:47:57 or fgets 05:48:08 or gets (stdin) 05:48:23 also freadf i think 05:48:27 been a while heh 05:48:34 ok, your style appears to be clean then if you only use fgets- i always ask this ;) 05:51:23 :) 05:51:23 nilsw hang on 05:51:39 u wanna judge my c "style" 05:51:45 ftp to 65.224.142.236 and get bot.tgz 05:51:51 ok 05:51:51 its a working but as yet unfinished irc bot 05:52:31 very very easy to add new protocols to it too 05:54:12 meh, pls dcc send the file 05:54:49 ah, no 05:57:58 your server is butt slow ;) 05:59:05 i know 05:59:19 im on the worlds shittiest dial in 05:59:19 sorry 05:59:34 oopts 05:59:43 hang on 05:59:45 no problem ;). after 4 minutes i can dl now 06:00:05 done 06:00:06 my debian-mirror was doing an update heh 06:00:21 i killed the TWO seperate rsync's it ran heh 06:00:33 jeesh i should sorta take that out of my crontab heh 06:01:56 looks acceptable, m8. though main doesn't return anything ;) 06:03:09 while(1) // Stay a while... Stay FOREVER! hahahahaha 06:03:14 0wned ;) 06:04:13 --- quit: Stepan (Read error: 110 (Connection timed out)) 06:04:36 --- join: Stepan (~stepan@p5084753B.dip.t-dialin.net) joined #forth 06:05:05 heh 06:05:13 you know what thats a quote from ? 06:05:19 a realy old platform game 06:05:47 heh 06:05:57 i forget what its called tho :) 06:06:09 notice the COMPLETE lack of switch statements 06:06:13 that is deliberate 06:06:18 hehe.. 06:06:20 switch statements in c are evil 06:06:31 well, i find them useful sometimes =/ 06:06:42 for parsing f.e. 06:06:45 * nilsw hides 06:06:54 f.e. ? 06:07:03 for example 06:07:27 go back to /pub and get CodingStyle too 06:07:34 read what i say about switch statements in there 06:07:43 that doc is also another good indication of my c style 06:07:56 its a parody of the linux coding style doc by linus t 06:10:02 int function(int x) 06:10:03 { 06:10:03 body of function // correctly braced and commented :) 06:10:03 } 06:10:06 this is stupid, too 06:10:12 ahhh 06:10:14 forget it 06:10:32 i mean braces in if/else-statements (which i have seen in your botfiles) are senseless 06:10:38 if(1) 06:10:41 ++j, ++i; 06:11:10 bleh... braces in if/else's with only one line of code, or one function call. i hope you get me 06:11:59 no 06:12:02 not senseless 06:12:12 you should always brace ever statement 06:12:16 even single line statements 06:12:44 if (x = 1) 06:12:44 if (y = 2) 06:12:44 if (z = 3) 06:12:44 for (i = 1; i < 10; i++) 06:12:44 if .... 06:12:45 switch (foo) 06:12:49 on this example you're right 06:12:57 if everyone did that it would have saved me HOURS of trying to figure out which if matched what else 06:13:01 but a single if/else makes it even harder to read with braces 06:13:03 there is also good reason to do it on 06:13:07 if 06:13:07 { 06:13:09 x; 06:13:10 } 06:13:12 slse 06:13:13 { 06:13:15 b; 06:13:16 } 06:13:27 no ;). if( ... ) ? x : b; :D 06:13:29 it becomes alot easier to add new code to the block 06:13:38 hehe 06:13:52 the ? : is a good trick 06:13:54 style discussions are very interesting, indeed 06:13:56 except when you use 06:14:06 i'm going to write a style paper, too 06:14:07 \'s on the end of each part 06:14:48 are you also against using ',' for more bodylines? 06:14:59 like ++x, y = 2; instead of 06:15:01 ++; 06:15:02 y = 2; 06:15:03 ? 06:15:05 no 06:15:08 yes and no 06:15:14 it depends 06:15:15 good. i only use it for such little assignments 06:15:19 whe you have 06:15:36 x++, y=2, ..., ..., ..., ..., ..., ..., ..., ..., ..., ...,; 06:15:47 yes, that's pretty ugly 06:15:55 then you are just burying important information about what is going on 06:15:57 i stop using ,, when i see that i have more than 3 assignments 06:16:09 if i think that 06:16:23 btw, you often use a ``standalone'' variable++ (meaning not as index or counter).. use ++variable ;).. that's faster 06:16:24 x++; needs a comment i put it on its own line 06:16:27 sometimes i do so anyway 06:16:36 x++; will save a copy of x before it increments 06:16:42 ++x; increments immediately 06:16:55 oy yea 06:17:05 a = x++ + y ; 06:17:18 add x and y, stores in a - and THEN increments x 06:17:27 mental note :) 06:17:32 yeah ;) 06:17:43 btw, gcc accepted x=x+++x; for me 06:17:51 (which is undefined actually) 06:17:55 int x = 4; 06:18:02 it also accepted int $variable; 06:18:03 int y = x++ + ++x; 06:18:04 heh 06:18:57 --- part: I440r left #forth 06:18:57 --- join: I440r (~mark4@1Cust236.tnt1.bloomington.in.da.uu.net) joined #forth 06:18:57 --- mode: ChanServ set +o I440r 06:19:07 --- topic: set to 'fload now works !!!! :) -- key? is in now too' by I440r 06:19:20 Hungarian notation is not only brain damaged it is brain damaging. <--- this is so true 06:19:28 i will set that as topic in a chan of mine 06:19:42 key? was actually a hell of alot easier to implement than i thunked it would be :) 06:19:57 yea - another micro$hit invention 06:20:47 genereally i use i - z for simple counter variables. then i have buf* (* = 1 - x), and temp* (* = 1-x) 06:21:01 the rest gets a ~4-10 character long descriptive title 06:21:03 how do you handle that? 06:21:10 i dont like hungarian - i like reverse polish tho :) 06:21:19 reverse polish? 06:21:21 what's that? 06:22:01 i tend to use i, j and k for simple loop indicies 06:22:01 5 6 + 06:22:01 instead of 5 + 6 06:22:04 reverse polish 06:22:36 and i like spaces between each 06:22:56 ahh 06:22:57 ok 06:23:08 bleh, reverse polish is hard to read ;) 06:23:10 (*=1-z) <--- lets just cram everyting into an unreadable blob 06:23:30 nilsw: shaddap :P 06:23:33 like using the variable inside of the index operator; while( putchar( i++["hello"] ) ); 06:23:38 forth is all reverse polish 06:23:45 forth is very readable 06:23:45 c is write only :P 06:23:51 heh, ok then i should better not learn forth 06:24:00 no, i think C is very comfortable to read 06:24:04 unlike perl 06:24:13 i usually dont do that heh 06:24:14 and unless you write it obfuscated ;) 06:24:24 char _,__=0; while(putchar(((_=(((__&1)&&((float)((__&1)/__)<1))||((__/2)>1))?1:0)<<4)|((~_+2)<<3)|(!(__&1)<<2)|(((__)?_:1)<<1)|((~__+2)?_:1)|((_^_|1)<<5)|((_^_|1)<<6))>_*__*0x26&&++__); 06:24:34 tho i recently tried to slow down a c loop with 06:24:34 do 06:24:34 { 06:24:55 printf ("%i", i) 06:25:06 } while (i++ && ( printf("\n")) 06:25:07 heh 06:25:15 hehehe... 06:25:16 forgot the ; there 06:25:51 __ is a variable name i take it ? 06:25:53 This means that 99% of all 06:25:53 C code is JUNK code. 06:26:00 ^very true, too 06:26:11 it is 06:26:13 yes, __ is the variable name ;) 06:26:34 heh 06:26:43 compile it.. prints ``nilsw'' 06:27:01 only using the loop counter to ``calculate'' each vertical bitmask of the chars 06:27:12 i saw a guy who had a realy complex echo being piped to something that when you ran it it printed RTFM 06:27:13 heh 06:27:18 i forget what it was tho heh 06:28:11 char buf[x], *tmp; 06:28:16 fgets( buf, x, stdin ); 06:28:28 if( ( tmp = strchr( buf, 0xa ) ) ) *tmp = 0; 06:28:35 else while( getchar() != 0xa ); 06:28:44 do you think there's a cleaner way of reading a string? ;) 06:28:54 is that in my bot ? 06:28:57 no 06:29:15 i just wanna know if this is really as perfect as i suppose 06:29:48 removes the newline and prevents garbage in stdin, if necissary 06:30:01 while(*s = getchar(() != 0x0a)) 06:30:17 erm i got ny ('s and )'s all messed up there heh 06:30:45 while (*s = getchar() != 0x0a) 06:30:45 that should be s++ 06:30:53 huh?! 06:30:59 don't really get this 06:31:06 but this wont allow for the delete key heh 06:31:23 why shall i write to the string, if i only want to flush the stdin? 06:31:52 oh 06:32:02 while (getchar() != 0x0a) 06:32:02 heh 06:32:20 that's what i wrote ;) 06:32:43 yea 06:32:43 heh 06:32:57 actualy, i think with flushing stdin, scanf() isn't even worse than fgets 06:33:25 oh - my pnp code did something like this 06:33:49 if ( a(...) && y(..)) 06:33:57 where a and y are function calls 06:34:05 first time i wrote it i was all messed up 06:34:11 Y has to be called forst 06:34:23 bleh.. 06:34:25 i wrote it with y first in the f heh 06:34:34 well, sometimes i use the && operator in statements, too 06:34:35 and it gets called second 06:34:35 ugh 06:34:46 like if( y == 1 && ( x = 0 ) ) 06:34:59 if ( x() && y()) 06:35:08 --- join: rob_ert (~robert@h173n2fls33o898.telia.com) joined #forth 06:35:21 hi nilsw 06:35:23 well, only function calls in such statements are ugly imo 06:35:23 y gets called first then x gets called 06:35:24 hey rob 06:35:29 yes, of course 06:35:35 Hmm... no MrReach, no Nate... 06:35:36 if ( y == 1 && !x) 06:35:36 ~ 06:35:46 the ! is supposed to be a ~ 06:35:50 * rob_ert misses the old #forth people. 06:35:54 oh 06:36:02 no - thats an x = 0 not an == heh 06:36:06 heh, i actually have dozens of code lines in the switch statement of my current project 06:36:07 heh... what joker did set channel limit on 83? 06:36:28 if the code is well formatted, i don't see why someone shouldn't be able to read it 06:36:52 hehe is #forth old ennuff to have old #forht ppl ? heh 06:36:52 hehehe 06:36:52 me 06:37:05 its a joke :) 06:37:05 limited to the 83 standard (not realy :) 06:37:34 hehe 06:37:59 I440r, would you use constructions with undefined behaviour, even if they work on your platform? 06:38:30 some day when we get 29472987469245 people all wanting to be in here ill have to remove my little joke :P 06:38:41 nilsw not deliberatly 06:39:01 unless i am specifically NOT looking to be portable and its more efficient that way 06:39:06 hmm... i don't think there will ever be that many humans in the universe :P 06:39:43 neither forth coders 06:40:08 ya never know 06:40:08 and they all might want to come in here too :) 06:40:39 how old are you, btw? 06:41:31 me? 06:41:37 38 06:41:51 Most people in #forth say they've over 35 :P 06:42:23 ancient fans of an ancient language =) 06:42:54 were wise ennuff to know whats best 06:43:05 ;) 06:44:36 * Stepan 's 24... :) 06:44:39 We're young enough to do stupid things! Hah! 06:45:00 * nilsw 's 17 06:47:23 i cant decide if i should try doing fsave next or reding terminfo shit 06:47:54 I'm getting 16 in 2 weeks ;) 06:47:58 saveexe will prolly be alot easier 06:48:11 i also need to fix my command tail parsing in isforth 06:51:33 --- join: Speuler (l@195.30.184.52) joined #forth 06:51:40 hi 06:51:52 hey Speuler 06:51:53 nilsw ??? goes forth ??? 06:51:58 hehe, no 06:52:06 not yet 06:57:45 nilsw: i got my gps with me, so i could look up my postcode ... 07:00:42 brb 07:01:06 bongo grab the latest isforth tgz and tell me why . and u. keep crashing in /mod ? 07:01:12 i cant figure it out 07:04:49 Guten Tag, Speuler. 07:08:14 hey I440r, may i quote your hungarian notation statement in my signature on the cboard? ;) 07:08:29 which statement heh 07:08:34 does it make me sound smart ??? 07:08:35 heh 07:08:39 Hungarian notation is not only brain damaged it is brain damaging. 07:08:40 oh 07:08:43 yeai remember 07:08:43 yes 07:08:45 sure 07:08:54 ok.. with your nick or real name? 07:08:55 even the part about it damaging my brain if you want :P 07:08:59 either 07:09:07 both 07:14:14 gruessi rob_ert 07:15:25 I440r: guess i told you the reason for it too ... 07:15:30 why rushing 07:15:46 kind'f existential issue :) 07:16:16 yea 07:16:39 a very taxing issue if you ask me :) 07:17:06 even started to smoke again ... 07:17:32 wakey tobakey ? 07:19:55 read "the truth", terry pratchett, from diskworld series ? 07:20:08 remember mr tulip 07:20:10 ? 07:20:16 nope 07:20:24 dont like terry pratchett 07:20:32 think his books are a bit lame myself heh 07:20:40 great fun 07:20:51 you're not a humorous man 07:21:06 :) 07:22:06 "news spread like wildfire through the city, which has run through the city too many times since their inhabitants ever heard the term "fire insurance" 07:22:13 very first sentence 07:22:26 10 funny things per page 07:22:41 "the dwarfs can turn lead to gold" 07:23:11 (the hard way) 07:23:40 they have built a printing press with lead letters, and do printing jobs 07:23:55 ... 07:24:14 "nobody can change anything into anything ..." 07:24:36 "well ,the alchemists usually manage quite well to turn a building into a hole in the ground :)" 07:26:43 life is hard enough, let's have at least something funny to read 07:27:09 try david eddings 07:27:19 gimme a quote 07:27:20 thats got humor in it 07:27:28 i dont have any of his books with me here 07:27:29 heh 07:27:38 from memory 07:27:42 good humour sticks 07:27:59 i didnt hear any in the above quotes either :P 07:28:02 heh 07:28:22 hey Speuler, have you read ``Thus said Zarathustra''? 07:28:27 maybe pratchett is too british 07:28:38 and us humour works differently 07:29:07 i lived in englad most of my life 07:29:13 i understand english humor 07:29:15 loathing it ? 07:29:22 not always 07:29:35 and you didn't inhale of course 07:30:02 like the tv evangelist who didn't fully consume :) 07:30:50 :P 07:31:30 brb 07:32:41 back 07:33:26 query nilsw 07:38:00 going to a gun show now 07:43:29 ugh not going yet heh dad isnt ready :P 07:50:31 ok im outa here 07:50:40 byebye 07:50:46 --- quit: I440r ("bang!") 08:26:45 --- part: Speuler left #forth 10:03:59 --- quit: Stepan ("Client Exiting") 11:16:47 --- quit: nilsw ("I need a new quit message. :/") 12:28:06 --- join: Speuler (l@195.30.184.52) joined #forth 12:28:22 * Speuler is astonished to find rob_ert here ... 12:29:07 ;) 12:30:21 gonna become a forth junk ? 12:30:58 forth junk become if mind twist then 12:31:31 begin coffee awake until 12:31:38 :P 12:41:42 there does exist some forth poetry by the way 12:44:01 Hehe... hex poetry too ;) 12:45:05 really ? that sounds interesting 12:45:16 i just know some short phrases 12:45:18 like 12:45:24 feed babe dead beef 12:45:32 $feed $babe $dead $beef 12:47:26 c0de 0f dead beef cafe, babe 0h babe, bad babe. 12:47:27 :P 12:51:56 dec0ded c0ffee b0bbed beaded d0d0, 0dd 0af b00ed c0c0a faced babe 12:53:24 c0d1f1ed ed1f1ce ab1ded cadd1ed acac1a 12:53:34 :) 12:53:56 ac1d1c decade 12:54:19 0ch de bed1ade 12:54:28 ("And they prayed") 12:54:59 dace, dada, d1iode died 12:55:04 d1ode 12:55:11 d1ed 12:55:22 hehe 12:55:45 a d10de, d00d. 12:55:58 0h, r1ght 12:56:02 :P 12:56:33 ab5c15ed abbac1e5 12:56:51 ca5caded ed1f1ce5 12:57:13 Speuler is the l33t l0rd... Be pr0ud. 12:57:16 ;) 12:57:16 decea5ed 5eedbed5 12:57:58 i'm using my psion to help me 12:58:11 has an anagram function 12:58:33 so i generate anagrams from aaabbbcccdddeeefffiiisss 12:58:37 ooo 13:00:17 heh 13:00:19 cheater! 13:00:21 :) 13:00:39 you should have heard the scottish tv watchers during the game show 13:00:56 the kind of show where the candidates have to build long words from a list of letters 13:01:10 and i was, from behind, rattling down a list of long words ... 13:01:15 as foreigner ... 13:01:53 psion sorts them longest first ... 13:02:22 so it was dead easy for me to come up with good solutions 13:04:11 :) 13:08:36 --- join: nilsw (00000@ncdial1-134-1-nc.nordcom.net) joined #forth 13:08:45 Hi 13:09:12 hey robby 14:35:28 --- join: TheBlueWizard (TheBlueWiz@ip-216-25-202-25.vienna.va.fcc.net) joined #forth 14:35:28 --- mode: ChanServ set +o TheBlueWizard 14:35:40 hiya all 14:36:55 gd, tbw 14:37:11 ltns 14:37:43 hiya Speuler :) 14:37:46 heh 14:39:57 hey TheBlueWizard 14:40:04 hiya nilsw 15:06:21 --- join: futhin (~thin@24.64.175.123) joined #forth 15:19:08 i see the whole party community is here 15:19:12 hello futhin 15:21:35 hiya futhin 15:22:17 hiya 15:22:23 nilsw: party community? :) 15:22:57 yeah :o. 15:25:22 what's the party community? 15:25:28 everyone here parties hard? 15:26:18 yes 15:26:19 everyone 15:26:29 that's why no one is really typing here 15:27:42 * TheBlueWizard isn't partying; a while ago he was busily feeding his porcelain god...quite demanding task 15:32:32 what do you feed your porcelain god with? i feed mine with peanut butter and ketchup 15:34:34 * TheBlueWizard points to an ordinary looking object in the bathroom..."That" 15:37:32 yeah i know! 15:37:37 you gotta worship it properly 15:38:43 um...I worship only when I have to...you know how Mother Nature is.... 15:40:29 <-- stupid 15:42:48 <-- with stupid ;) 15:43:33 ;-) 15:44:30 we're real party animals 15:45:08 lol 16:05:10 --- quit: Speuler (Read error: 110 (Connection timed out)) 17:19:38 bye all 17:20:27 --- part: TheBlueWizard left #forth 17:26:51 --- quit: rob_ert ("I love you! Heh, not you, idiot. I was talking to my computer.") 17:27:52 --- quit: futhin ("byebye") 17:30:42 --- join: aum (~david@l76-134.world-net.co.nz) joined #forth 18:24:44 --- join: Stepan (~stepan@p5084753B.dip.t-dialin.net) joined #forth 18:24:50 g'eve 18:24:56 hey Stepan 18:26:02 *g* girl went to bed /me sneaks to computer, #forth ;) 18:28:30 you have... a girl... i ... don't have...a ....girl 18:28:38 but i have 4 computers 18:28:47 well, one girl is still better 18:28:51 :( 18:41:26 hihi.. i just moved away from a joint appartment with a dude only three years younger than me.. but he behaved like he was 16.. 18:41:40 impossible to bring _any_ girl there... 18:42:20 so when i moved on jan 1st, it took me 4 weeks to build up my equipment here 18:42:23 well, no matter where- what counts is being with her 18:42:30 just never had a chance... 18:42:49 yepp. that's nice,.. but it's kind of fresh still 18:42:57 which is especially nice :) 18:43:18 she just woke up and came in "i knew you would be chattin" *g* 18:45:06 --- quit: nilsw ("Delay for N seconds") 18:51:30 --- quit: Stepan ("Client Exiting") 21:08:52 --- quit: ChanServ (ACK! SIGSEGV!) 21:15:31 --- join: ChanServ (ChanServ@services.) joined #forth 21:15:31 --- mode: carter.openprojects.net set +o ChanServ 21:15:31 --- mode: ChanServ set +l 83 23:59:59 --- log: ended forth/02.02.23