00:00:00 --- log: started forth/07.05.02 00:54:27 --- join: ygrek_ (i=user@gateway/tor/x-cbd19530a159abfc) joined #forth 00:58:20 --- join: scope (n=junk@203-97-123-216.cable.telstraclear.net) joined #forth 01:10:15 --- join: warpzero (n=warpzero@208.74.136.138) joined #forth 01:10:31 --- quit: ygrek (Remote closed the connection) 01:13:27 --- quit: ygrek_ (Remote closed the connection) 01:17:23 --- join: ygrek (i=user@gateway/tor/x-8a00ce4e22f1cd54) joined #forth 02:25:41 --- quit: gnomon (Remote closed the connection) 03:19:24 --- nick: ccfg_ -> ccfg 05:10:55 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 05:10:55 --- mode: ChanServ set +o tathi 05:16:41 --- quit: ygrek (Remote closed the connection) 05:48:54 --- join: ygrek (i=user@gateway/tor/x-8b8149cc6792c9b2) joined #forth 05:52:39 --- quit: tathi ("leaving") 07:55:37 --- quit: AndyArmstrong_ () 07:57:09 --- join: gnomon (n=gnomon@CPE0050eb372bdb-CM001692f57b56.cpe.net.cable.rogers.com) joined #forth 08:03:03 --- quit: ecraven ("bbl") 08:18:21 . 08:31:51 --- join: timlarson__ (n=timlarso@user-12l37rb.cable.mindspring.com) joined #forth 08:45:06 --- join: iano (i=me@sub26-46.member.dsl-only.net) joined #forth 08:49:02 --- quit: Shain (Remote closed the connection) 08:52:18 --- quit: timlarson (Read error: 110 (Connection timed out)) 09:06:04 --- join: Shain (i=steve@adsl-75-31-193-165.dsl.pltn13.sbcglobal.net) joined #forth 09:22:45 --- quit: scope (Read error: 104 (Connection reset by peer)) 09:22:48 --- join: scope (n=junk@203-97-123-216.cable.telstraclear.net) joined #forth 10:09:25 --- join: Quartus__ (n=Quartus_@209.167.5.2) joined #forth 10:25:40 --- join: edrx (n=Eduardo@fosforo.k8.com.br) joined #forth 10:33:19 --- part: edrx left #forth 10:57:40 --- join: tgunr (n=davec@70-41-219-171.cust.wildblue.net) joined #forth 11:07:31 --- quit: tgunr () 11:07:52 --- join: tgunr (n=davec@70-41-219-171.cust.wildblue.net) joined #forth 11:38:26 --- join: Crest (n=crest@p5489C3B3.dip.t-dialin.net) joined #forth 12:02:47 --- quit: ygrek () 12:03:43 --- join: yumehito (n=yumehito@b-internet.87.103.254.70.snt.ru) joined #forth 12:04:58 --- quit: tgunr () 12:15:22 --- quit: yumehito_ (Read error: 110 (Connection timed out)) 12:22:38 --- quit: Quartus__ (Read error: 104 (Connection reset by peer)) 12:31:30 --- join: tgunr (n=davec@70-41-219-171.cust.wildblue.net) joined #forth 12:33:24 --- quit: tgunr (Client Quit) 12:33:35 --- join: slava (n=slava@CPE0080ad77a020-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 12:33:35 --- mode: ChanServ set +o slava 12:47:39 --- join: brx (n=brx@p57A7B4A2.dip0.t-ipconnect.de) joined #forth 12:56:50 --- join: vatic (n=cturner@ool-45740b1c.dyn.optonline.net) joined #forth 12:57:59 --- join: jacereda (n=jacereda@220.Red-80-59-211.staticIP.rima-tde.net) joined #forth 12:58:21 hi 12:59:23 any x86 mac user out there willing to test a port of Xcolorforth? 13:04:15 sorry, just PPC for me... 13:09:39 --- quit: scope ("Client exiting") 14:04:49 --- join: segher (n=segher@dslb-084-056-174-166.pools.arcor-ip.net) joined #forth 14:09:46 --- join: ttuttle (n=tom@pdpc/supporter/student/gentoo.contributor.ttuttle) joined #forth 14:09:55 Argh: http://yro.slashdot.org/article.pl?sid=07/05/02/1839251 14:17:23 --- quit: iano () 14:18:03 --- quit: bjorkBSD ("Leaving") 14:20:42 --- quit: segher__ (Success) 14:22:25 ttuttle: that's stupid 14:22:36 the first comment is nice 14:22:39 jacereda: I have a Mini handy. 14:24:08 timlarson__: sorry, I spaced out yesterday... I usually write fractal-ish graphics generators and cgi scripts 14:25:59 well, i'm glad i'm not in high school. 14:27:01 but yeah, that's pretty dumb he got arrested for that. 14:28:48 I could see him getting in trouble if he made NPCs that looked like the teachers or something 14:28:51 but that's rediculous 14:32:53 I say if he did a good job, post screenshots of just the building and praise his art 14:33:53 and initiative. Some kids would know it's a quake level, but most people would just see that someone has digital modeling skills 14:36:22 * ttuttle hates this country so much. 14:36:39 I mean, it's got its benefits, but so many people act like idiots. 14:36:53 there are better reasons to hate your coutnry than some nerd getting arrested 14:36:59 slava: Yeah, I know. 14:37:06 slava: But that one sorta strikes close to home. 14:37:16 slava: I could have been him, if I made Quake levels instead of coding. 14:37:38 slava: I mean, jeez, I might even play Counter-Strike, if I can get it to run under Wine... 14:37:47 Valve = the worst company ever. 14:37:52 in elementary i made a doom map that somewhat resembled my school 14:37:58 slava: Cool. 14:38:00 but dumb people didn't really use computers back then 14:38:24 i've had friends go to jail for offenses that strike closer to home than making quake maps, but i can't discuss that in a logged channel 14:39:30 slava: I see. 14:42:22 slava: See PM. 14:43:52 slava: You there? 14:44:17 i can't talk about it, sorry 14:44:27 slava: Okay. 14:45:26 * ttuttle was all ready to hear an exciting story, too... 14:48:21 --- join: iano (n=iosgood@71-214-99-234.ptld.qwest.net) joined #forth 14:49:07 hey iano 14:49:25 hi 14:49:55 it is pretty cool how there will soon be millions of Forth systems loose in the wide world 14:50:10 what do you mean? 14:50:13 thanks to the #olpc folks using OpenFirmware 14:50:29 oh 14:50:35 well, powerpc macs have used openfirmware too 14:50:39 it's hardly something the user notices :) 14:50:44 what cpu do these machines have anyway? 14:50:53 an AMD Geode 14:50:57 x86? 14:51:12 yep, with some of AMD's flavor of vector ops 14:53:15 i used to think it was ARM for some reason. 14:54:20 the Geode is an all-in-one kind of part. 14:54:25 Heh. The Geodes I worked on had a cheesey embedded graphics adapter with a RLE compression-and-cache scheme to keep the memory bandwidth of the DAC down to a dull roar. 14:54:53 They have definitely chosen to choose "cheap" for most design decisions. 14:55:28 They have a pretty low power budget, and "cheap" usually fits that bill better. 14:55:43 --- quit: jacereda (Read error: 145 (Connection timed out)) 14:55:45 Mitch Bradley is Mr. OFW, and he's a pretty funny guy 14:56:09 today he was finding bugs in X Window's RandR implementation (screen rotation) 14:56:29 so to debug it, he threatened to rewrite X Windows in about 20k of OFW 14:57:10 Mitch is also writing a great Forth/OFW tutorial for the other hardware folks 14:57:35 it is at http://wiki.laptop.org/go/Forth_Lessons 15:02:55 --- join: crest_ (n=crest@84.137.190.34) joined #forth 15:06:39 This is dumb, but in C, is it possible to write a for loop that runs through all the values 0 - 255, in an unsigned char variable? Won't the condition "i < 256" always be true? 15:07:22 ##c 15:07:34 i <= 255? 15:07:41 slava: Nah, that'll always be true too. 15:07:51 oh right 15:08:25 i don't know, i don't devote brainpower to fixed-width integer types these days 15:08:29 I'd use an int; cast down to char when you need it 15:10:16 ttuttle, on systems where the char is 8 bits wide, I believe it'd loop forever, or at least it's allowed to. You'd have to consult a pedantic C language lawyer for the definitive answer. 15:10:32 Quartus: Ooh, I know one of thos... oh wait, he just thinks he is ;-) 15:10:32 --- quit: Crest (Read error: 60 (Operation timed out)) 15:10:40 That's a for(i=0;i<256;i++) deal 15:11:04 too bad C doesn't expose carry/overflow flags 15:11:11 yeah 15:11:30 "thus endeth the lesson." 15:11:51 :) 15:12:27 oh, I see you asked in ##c. And got several wrong answers. 15:12:32 MB's tutorial is nice and short. 15:13:18 anyone know of homebrew computer projects? ie. using something like FPGA's to build the cpu and such. 15:30:10 I don't know anybody personally who's fooling around with that stuff 15:39:28 Sounds cool though. 15:43:44 --- quit: ttuttle ("leaving") 15:47:13 http://www.homebrewcpu.com/ is the closest thing I've found so far. 15:54:01 There's a great homebrew Forth CPU made entirely out of TTLlogic chips somwheres... 15:55:49 --- join: brx` (n=brx@p57a78fbc.dip0.t-ipconnect.de) joined #forth 16:03:19 well the alu of this "great" forth cpu has one 8bit bus 16:03:37 it takes 3 cycles to load an opcode and the operands 16:03:44 --- nick: crest_ -> Crest 16:13:23 --- quit: brx (Read error: 110 (Connection timed out)) 16:13:47 --- join: skas_wk (n=skas@121.127.198.32) joined #forth 16:14:04 --- part: skas_wk left #forth 16:44:34 Crest: and your point is? 16:57:27 --- quit: gnomon (Read error: 110 (Connection timed out)) 17:35:49 --- quit: iano () 17:39:36 zirpu: WOW 17:43:21 that's the best looking case and innards I've ever seen on a computer 17:43:33 love all the switches and leds 17:43:47 looks like you can hald the processor, and it'll display all the registers and stuff and you can change them 17:45:10 halt 18:05:33 --- nick: timlarson__ -> timlarson 18:13:20 yeah, it's pretty neat and retro. :) 18:38:33 ttuttle left, but a C compiler *should* complain about "i < 256" when you've declared i as an unsigned char type. 18:57:15 --- join: AndyArmstrong (n=andy@82.152.157.85) joined #forth 19:00:38 --- quit: yumehito (Read error: 110 (Connection timed out)) 19:06:52 no, it shouldn't complain about it. i can be a useful warning, sure, but it is perfectly legal C code 19:11:46 --- quit: Crest (Read error: 148 (No route to host)) 19:51:29 --- join: iano (n=iosgood@host-226-194.pubnet.pdx.edu) joined #forth 20:02:35 --- join: brx (n=brx@p57A79C5B.dip0.t-ipconnect.de) joined #forth 20:12:50 --- quit: brx` (Read error: 110 (Connection timed out)) 20:14:20 segher: "complaint"/"useful warning"... what's the difference? 20:14:51 my compiler sometimes prints warnings that read something like "comparison always false due to limited range of data type" 20:15:57 ha, just saw that one today 20:26:48 --- join: brx` (n=brx@p57A79382.dip0.t-ipconnect.de) joined #forth 20:28:24 That means you're comparing against a value that the variable can never take. For example you might be doing something like unsigned x; if (x < 0) { blah } 20:28:41 Although it's usually more subtle than that... 20:28:45 Hello by the way :) 20:30:14 I've got gcc 2.95.4 here, and it doesn't let out a peep about it, with -Wall 20:32:00 No, it's a fairly new warning I think. 20:36:08 And actually that example /doesn't/ trigger the warning. But that's what the warning means - "this can't ever happen because the variable won't ever take the value you're testing against" 20:43:31 --- quit: brx (Read error: 110 (Connection timed out)) 20:54:40 main.c:4: warning: comparison is always true due to limited range of data type 20:55:17 #include 20:55:17 int main() { unsigned char i; for(i=0;i<256;i++) { printf("%d\n"); } return 0; 20:55:17 } 20:55:40 what compiler? 20:55:42 oops, chat client merged the lines. but you get teh idea 20:56:00 gcc 4.1.1 20:56:04 ah ok 20:56:24 gcc learns new things to print warnings for every version 20:57:21 oops, I goofed the printf 20:57:24 I was thinking about that earlier. Fine-grained factoring and testing is more difficult in C, I guess 20:58:21 hence the popularity of debuggers 20:58:32 and the plethora of warnings. 21:03:17 Add an interactive Forth test interface to your C applications. 21:03:38 yeah, or cut to the chase and use Forth 21:04:06 If you have the option. Otherwise, C + Forth works. 21:33:44 C is harder to test than forth (partially) because it's difficult to factor it as well 21:33:56 I agree. 21:34:08 Often in C it's a pain to factor something out because you'd have to pass so many variables 21:34:29 the other main reason being of course that forth can be interactive 21:38:10 True. 21:40:00 --- quit: iano (Read error: 110 (Connection timed out)) 21:52:19 --- join: brx (n=brx@p57A785A5.dip0.t-ipconnect.de) joined #forth 22:02:02 --- quit: brx` (Read error: 110 (Connection timed out)) 22:12:32 --- join: brx` (n=brx@p57A782F2.dip0.t-ipconnect.de) joined #forth 22:30:12 --- quit: brx (Read error: 110 (Connection timed out)) 22:38:30 --- join: scope (n=junk@203-97-123-216.cable.telstraclear.net) joined #forth 23:36:28 who cares about C anyway> 23:59:59 --- log: ended forth/07.05.02