00:00:00 --- log: started forth/04.09.11 00:44:34 --- join: mur_ (~mur@smtp.uiah.fi) joined #forth 00:55:50 --- quit: mur (Read error: 110 (Connection timed out)) 01:04:26 --- join: Topaz (jonny@spc1-horn1-6-0-cust217.cosh.broadband.ntl.com) joined #forth 01:24:14 --- quit: kazuya ("leaving") 01:49:28 --- join: crc (crc@65-pool1.ras11.nynyc-t.alerondial.net) joined #forth 02:53:22 --- join: crc_ (crc@36-pool1.ras11.nynyc-t.alerondial.net) joined #forth 03:03:19 --- quit: crc (Nick collision from services.) 03:03:25 --- nick: crc_ -> crc 03:12:10 --- join: mur (~mur@mgw2.uiah.fi) joined #forth 03:22:20 --- quit: mur_ (Read error: 110 (Connection timed out)) 03:34:38 --- quit: crc ("Time for bed... Goodnight!") 03:44:42 --- join: crc (crc@55-pool1.ras11.nynyc-t.alerondial.net) joined #forth 03:54:26 --- join: saon (Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 03:55:32 mornin' forthers 03:57:15 Good morning 04:02:05 --- quit: Topaz (Remote closed the connection) 04:21:12 --- join: qFox (C00K13S@82-169-140-229-mx.xdsl.tiscali.nl) joined #forth 04:21:34 --- join: mur_ (~mur@kyberias.uiah.fi) joined #forth 04:28:58 --- join: Tomasu (~moose@S010600045a4c73cc.ed.shawcable.net) joined #forth 04:32:19 --- quit: mur (Read error: 110 (Connection timed out)) 04:58:17 --- nick: Tomasu -> Tomasu- 04:58:29 --- nick: Tomasu- -> Toma 04:59:16 --- nick: Toma -> Tomasu 05:16:11 --- quit: mur_ (Remote closed the connection) 05:16:44 --- join: mur (~mur@smtp.uiah.fi) joined #forth 05:46:30 --- quit: saon ("Leaving") 06:47:33 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 07:01:16 --- join: saon (Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 07:04:53 --- join: mur_ (~mur@kyberias.uiah.fi) joined #forth 07:13:18 * Tomasu is away: dlrrp 07:16:03 --- quit: mur (Read error: 110 (Connection timed out)) 07:35:05 --- quit: saon ("Leaving") 07:58:20 --- quit: crc ("Time for bed... Goodnight!") 08:11:42 --- quit: mur_ (Remote closed the connection) 08:12:44 --- join: mur (~mur@mgw2.uiah.fi) joined #forth 08:29:27 sc 08:35:20 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 08:35:20 --- mode: ChanServ set +o Herkamire 08:43:54 --- join: zruty (~chuck@64-121-15-14.c3-0.sfrn-ubr8.sfrn.ca.cable.rcn.com) joined #forth 08:46:52 hi 08:47:05 --- quit: tgunr (Excess Flood) 08:48:58 --- join: tgunr (~davec@vsat-148-63-4-107.c001.g4.mrt.starband.net) joined #forth 09:56:27 --- quit: tathi ("Lost terminal") 10:11:03 --- join: mur_ (~mur@smtp.uiah.fi) joined #forth 10:13:52 --- quit: mur (Read error: 60 (Operation timed out)) 10:23:11 --- quit: zruty ("Lost terminal") 10:26:17 --- join: zruty (~chuck@64-121-15-14.c3-0.sfrn-ubr8.sfrn.ca.cable.rcn.com) joined #forth 10:36:13 anyone here familiar with collection logic? 10:37:46 whussat ? 10:37:54 {a,b,c} 10:38:46 i need to know whether the result of a "power" collection (i dont know whether thats proper) of P{a,{a}} is equal to {{a},{a,{a}},0} or {a,{a},{a,{a}},0} 10:45:35 o.O no idea 10:48:49 you lost me a { 10:48:51 hehe 10:52:30 whats easier, software or hardware protection? 10:54:08 the answer was neither 10:54:22 it was {{a},{{a}},{a,{a}},0} 10:54:40 * qFox makes note not to trust classmate again 10:54:46 he told me {{a}} wasnt allowed 10:55:54 hehe 10:57:41 arg. 10:58:03 anybody know html/css well enough to tell me how to make a table cell that contains an image and absolutely no space around it 10:58:12 cellspacing=0 10:58:18 cellpadding=0 10:58:27 i believe you want the first one, perhaps you want both. 10:58:40 (as part of the tag) 10:58:58 I have cellspacing="0" cellpadding="0" 10:59:26 css for the table cell says: margin: 0; padding: 0; border: 0; line-height: 0; 10:59:39 it works fine in firefox 10:59:56 but Safari shows a space below the images 11:00:09 (line-height required for it to work in firefox) 11:00:12 if it works in ff, and you have the w3 engine any browser _should_ display teh same 11:00:16 get's rid of the little gaps below the images 11:00:52 * arke offers gmail invites to anyone interested 11:01:52 Herkamire> you run that page in the w3 engine? 11:01:54 * arke should join #gentoo and say FREE GMAIL INVITE TO THE FIRST 6 PEOPLE TO MSG ME CHILD PR0N lol 11:01:57 doctype thing 11:02:17 except that im not into child pron 11:02:19 Safari uses khtml to render 11:02:34 but it would be interesting to see how many sick perverts are hanging out in #gentoo :) 11:02:38 IE 5.1 on the mac renders it without spaces 11:03:20 "ie5.1 on the mac", i find it funny every time i see it (at my university they have that too) 11:03:50 first time it's been opened in months I think 11:03:59 I've always hated IE 11:04:31 well as far as i know, all browsers _should_ display html pages in a certain doctype the same, also in a faster engine (not that that matters anything to html, but still) 11:04:51 but i am aware that this theory is slightly flawed with certain browsers so.. 11:06:02 qFox: you don't really know what you're talking about 11:06:12 ... 11:06:16 you can be quite specific with css 11:06:31 but browsers are allowed to (and have) different defaults for everything 11:06:41 yes but there will always be browserincompatibility, as you see yourself... 11:07:07 but its my understanding that a website rendered in a certain doctype, _should_ always be displayed the same in any browser supporting that mode 11:07:23 that's not true at all 11:07:44 maybe it's true if you specify the exact size for every attribute on everything 11:07:48 which basically nobody does 11:07:57 and if they have all the fonts you specify 11:08:13 and you have to specify things in certain ways 11:08:31 eg specifying fonts in point sizes is relative, and displays differently on different systems 11:09:52 html/css was not designed to specify exactly what things look like. 11:09:53 --- join: goofygurl (~agrzw@ip68-224-208-118.lu.dl.cox.net) joined #forth 11:09:54 that's PDF 11:10:03 i found u I440r 11:10:06 yes, but should it not display table marges equally? 11:10:13 PDF was designed to get something to look exactly the same on different systems, and in print 11:10:25 qFox: it's not the table margins 11:10:32 the cellspacing. 11:10:34 whatever 11:10:44 I think it's trying to align the bottom of the images with the bottom of normal letters like M 11:10:57 and leaving space below it for the tails of pgjy etc 11:11:18 line-height: 0px; fixes that for firefox, but not in Safari 11:11:43 maybe I just have to tell it to align the image with text differently (even though there's no text in there 11:16:36 hi 11:25:08 --- quit: goofygurl (Read error: 60 (Operation timed out)) 11:45:39 grrrrr 11:45:57 I removed the DTD (html 4.01 Strict) and it displays properly in Safari 11:46:13 hi slava 11:47:17 try xhtml strict :) 11:50:13 arke, i see you've been in #squeak lately :) 11:54:56 arke, be careful, you might upset AlonzoTG and he'll come in here as 'water' and yell at you :) 11:57:35 --- join: Robert__ (~snofs@c-bf5a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #forth 11:57:41 --- quit: mur_ (Remote closed the connection) 11:58:14 --- join: mur (~mur@mgw2.uiah.fi) joined #forth 12:02:36 well he wont as such ;) 12:05:37 --- quit: Robert (Read error: 60 (Operation timed out)) 12:09:42 --- join: saon (Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 12:16:27 --- join: Topaz (~top@spc1-horn1-6-0-cust117.cosh.broadband.ntl.com) joined #forth 12:16:32 --- join: mur_ (~mur@mgw2.uiah.fi) joined #forth 12:18:45 --- quit: mur (Read error: 60 (Operation timed out)) 12:20:33 --- quit: zruty ("Lost terminal") 12:22:26 --- quit: saon ("Leaving") 12:36:15 --- join: imaginator (~George@georgeps.dsl.xmission.com) joined #forth 12:46:53 arke: good idea, but that didn't fix it 13:23:09 --- quit: tgunr (Excess Flood) 13:24:57 --- join: tgunr (~davec@vsat-148-63-4-107.c001.g4.mrt.starband.net) joined #forth 13:50:49 --- quit: mur_ (Remote closed the connection) 13:51:37 --- join: mur (~mur@uiah.fi) joined #forth 14:16:56 --- join: mur_ (~mur@mgw2.uiah.fi) joined #forth 14:17:56 --- join: TheBlueWizard (TheBlueWiz@modem-041.nyc-tc03b.fcc.net) joined #forth 14:17:56 --- mode: ChanServ set +o TheBlueWizard 14:21:16 --- join: madgarden (~madgarden@Kitchener-HSE-ppp3575808.sympatico.ca) joined #forth 14:21:51 hi madgarden 14:21:56 hi ya 14:24:32 --- join: saon (~Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 14:25:22 i'm trying to come up with the best way to parse wiki pages 14:25:23 --- quit: saon (Client Quit) 14:25:28 --- quit: madgarden_ (Read error: 60 (Operation timed out)) 14:25:31 --- join: saon (Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 14:25:58 hi saon 14:26:06 hey slava 14:26:52 --- quit: mur (Read error: 238 (Connection timed out)) 14:31:45 --- quit: qFox ("this quit is sponsored by somebody!") 14:35:04 whoa i had a great idea 14:35:10 WikiWords should actually be words 14:35:16 that display that wiki topic 14:38:15 : (wiki-parser) ( text -- ) 14:38:15 [ 14:38:15 scan dup wiki-word? [ 14:38:15 write 14:38:15 ] [ 14:38:16 write 14:38:18 ] ifte " " write 14:38:20 ] with-parser ; 14:39:21 ahhhhhhh... 14:39:34 this page describes the html rendering problem I'm having, and how to fix it: http://devedge.netscape.com/viewsource/2002/img-table/ 14:40:39 except that the virtical-align thing didn't seem to work for me. 14:40:42 I tried that 14:40:49 display: block; works great 14:41:07 hmm i'm not happy with the above wiki parser either since it munges whitespace 14:41:11 except of course that it's sometimes inconvenient to have it be a block level element 14:41:20 eg I had to make an extra two tables in my design 14:42:53 google to the rescue again 14:47:36 --- quit: TheBlueWizard (Nick collision from services.) 14:48:26 --- join: TheBlueWizard (TheBlueWiz@modem-008.nyc-tc03b.fcc.net) joined #forth 14:48:26 --- mode: ChanServ set +o TheBlueWizard 14:53:05 --- quit: saon ("Leaving") 14:59:07 --- quit: TheBlueWizard (Nick collision from services.) 14:59:31 --- join: TheBlueWizard (TheBlueWiz@modem-147.nyc-tc03a.FCC.NET) joined #forth 14:59:31 --- mode: ChanServ set +o TheBlueWizard 15:45:06 --- quit: mur_ (Remote closed the connection) 15:45:56 --- join: mur (~mur@uiah.fi) joined #forth 15:53:46 --- nick: Robert__ -> Robert 15:57:26 all bye 15:57:42 --- part: TheBlueWizard left #forth 16:19:02 * Tomasu is back (gone 09:05:44) 16:49:16 --- quit: Topaz ("Leaving") 16:52:36 --- join: mur_ (~mur@mgw2.uiah.fi) joined #forth 17:01:52 --- quit: mur (Read error: 238 (Connection timed out)) 17:16:44 --- quit: mur_ (Remote closed the connection) 17:17:44 --- join: mur (~mur@mgw2.uiah.fi) joined #forth 17:18:00 --- join: saon (Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 17:20:29 * Tomasu is away: foed 17:52:21 --- join: Falala (~lala@207.140.211.88) joined #forth 17:54:26 * arke is away: work 18:13:13 --- quit: saon ("Leaving") 18:18:44 rrrrrr perl 18:21:48 mmm. never mind 18:21:52 perl is cool again 18:24:35 perl == linenoise 18:32:45 he 18:32:46 heh* 18:36:36 --- join: saon (Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 18:38:16 seriously 18:38:25 have you ever seen clean perl? 18:38:34 maybe in a jewelry store, but that's it 18:39:04 slava: you develop JEdit, right? how old are you? 18:40:54 yes i do 18:40:55 i'm 20 18:41:08 whoa 18:41:17 you must have started writing jedit when you were like, 15? 18:41:22 14 18:41:40 was it your first major project? 18:41:57 yes 18:44:40 how did you manage to create something on such a large scale at such a young age 18:44:46 was it tough in the early stages? 18:45:16 it started off small and simple 18:45:39 did you have help? 18:45:50 i wrote most of it mysef 18:46:59 --- quit: saon ("Leaving") 18:47:23 what did your CS teachers in high school think? :) 18:47:47 i never did well in high school 18:48:12 shocking 18:51:42 man, i wish i could throw together something as cool as jedit 18:51:55 my comp sci teacher would really worship the ground i walk on 18:58:58 --- nick: Falala -> iolairesliver 18:59:08 --- nick: iolairesliver -> falala 18:59:24 falala, are you doing a CS degree? 19:01:26 slava: i'm 15 19:01:29 in high school 19:02:06 cool 19:02:09 you're interested in forth? 19:02:34 i wanna learn it 19:02:46 do you know other languages? 19:02:55 i've already mastered C++, C, perl, java, and ppc & x86 asm 19:03:01 and some python and ruby 19:03:17 that's a lot. when i was 15 all i knew was java 19:03:29 you should learn forth 19:03:33 and some dynamic language 19:03:47 give me an example of a dynamic langauge you'd recommend 19:03:57 lisp, scheme, smalltalk, dylan 19:04:11 take a look at www.squeak.org. a nice free smalltalk implementation 19:04:37 i'm making my own language, but its not fully ready yet. factor.sourceforge.net 19:04:37 i talked to my cs teacher about lisp before and he said it isn't worth my time 19:04:42 why did he say that? 19:04:47 no one gets paid to write lisp anymore 19:04:51 a lot of people do 19:04:53 he said to focus on the newer stuff 19:05:00 and the ones that do get paid much more than a java programmer 19:05:01 what is newer? 19:05:16 slava: java, c++, python, xml, html, etc 19:05:16 * Tomasu is back (gone 01:44:47) 19:05:33 the latter two are not programming languages, and arguably c++ is less advanced than lisp 19:06:02 well, my teacher calls them skillsets 19:06:26 anybody can learn html or xml its not a special skill 19:06:40 he's like, "in today's IT world if your skillset is older than 5 years it is worthless" 19:06:50 that's definately true 19:06:59 so you have to learn the newest languages as soon as they become popular 19:07:07 Why? 19:07:13 imaginator: to make money 19:07:17 the thing is, lisp nowadays is totally different from lisp in the 60's. 19:07:21 employers aren't going to want to hire some crusty old lisp hacker ;) 19:07:32 saying that lisp is 'old' is like saying taht java is old because its similar to algol 60. 19:07:34 i mean, lisp is only good for like AI work, and that's all dried up 19:07:43 not 19:07:46 falala, like i said, a lot of people get paid a lot to program lisp. 19:07:57 falala, you just don't hear about it because java's being hyped 19:07:58 There are companies that sell commercial lisp systems that are still in business. 19:08:16 falala, in a few years java will totally disapper and be replaced by some other 'new' technology 19:08:21 but lisp will still exist 19:08:58 slava: i don't think so. java's been growing exponentially since its introduction in like 94(?) 19:08:59 slava - for ANY given problem... what is THE best solution ? 19:09:09 oh yeah, i forgot to mention, C# 19:09:20 my teacher told me that's the most important one to learn right now 19:09:21 falala, if you haven't noticed, java and c# are basically 70's style languages 19:09:30 because he said in a few years, EVERYTHING is going to run on .Net 19:09:32 falala, i doubt C# will overtake java any time soon 19:09:46 like, there won't be a computer allowed to connect to the internet that doesn't run .NET 19:09:50 falala, do you realize your teacher is only an HS teacher because he couldn't get a real job? so his opinion is not really worth listening to. 19:09:53 microsoft is going to make sure of it 19:09:57 i don't doubt it either 19:10:04 falala, they can't do that, its impossible 19:10:04 slava: ........ 19:10:10 falala, think about it 19:10:16 if this teacher was a genious programmer or CS researcher 19:10:19 he wouldn't be teaching HS 19:10:21 he'd be at university at least 19:10:31 any windbag can read a VB book and go teach HS 19:10:53 but if you're clueless and teaching at university you'll be in a situation where the students know more than you. 19:10:53 did you show this same attitude to YOUR hs teachers? :P 19:10:57 falala, yes 19:11:10 slava: and you must have been proven wrong tiem and again in class 19:11:41 this guy used to write VB databases for like, local banks and law firms 19:11:43 falala, C# and java are great for solving easy problems. there's many IDEs, a lot of developers willing to work for low wages, a lot of pre-built APIs, etc. 19:11:44 i think he knows his stuff 19:11:59 falala, writing business code in VB is not the hallmark of programming 19:12:14 falala, has he ever solved any hard problems? like writing compilers, speech recognition, 3d graphics...? 19:12:53 slava: he wrote a little game in VC++ once, it's on his site, it's pretty neat, it does simple DOOM-style graphcis in a 500kb binary 19:12:55 --- join: kc5tja (~kc5tja@66-74-218-202.san.rr.com) joined #forth 19:12:55 --- mode: ChanServ set +o kc5tja 19:13:22 slava: why would anyone write a compiler if we already have GCC & Visual Studio? :) 19:13:39 falala, BECAUSE they are not good enough 19:13:43 nuff sed 19:13:45 falala, if you want to follow in his footsteps and be mediocre, stick to the current 'next big thing', like c#, java, etc. that is a good set of skills to have but it shouldn't be your only skill. 19:14:02 slava: if C# is going to be unimportant why is MS pushing it so hard 19:14:19 falala: Because they want it to be important. 19:14:21 seriously, everyone i've talked to about programming (alot of smart ppl) are like, "C# is going to be the biggest language ever" 19:14:24 Why does any business push anything? 19:14:30 falala, C# will be popular no doubt. 19:14:34 When Windows first was introduced, it was wholesale *rejected* by the industry. 19:14:36 it makes sense too. have you ever tried programming for .net? 19:14:44 falala, lets try a thought experiment :) 19:14:49 it's a trusted compiler type system i think and it allows for really rapid prototyping 19:14:51 falala, you're writing a program in C#, or C++, or whatever 19:14:56 you can toss together an app for windows in record time 19:14:59 falala, you run your program 19:15:04 falala, there's a bug -- the program crashes 19:15:08 falala, what do you do? 19:15:21 uh, fire up the debugger? 19:15:22 falala, a C# developer starts making changes to the source, recompiles, restarts the app, tests again, repeat cycle 19:15:23 falala, no dood. dragging and dropping gra[phical blobs where you want them is not coding 19:15:35 falala, a lisp or smalltalk developer fixes the bug, and resumes execution at that point to test the fix 19:15:42 falala, there is no recompile/restart cycle 19:15:58 I440r: well it's easier to do that than like, enter all the values for the windows and widgets etc by hand 19:16:00 I440r, that is not the point here 19:16:05 I440r, gui builders are a valid technology 19:16:08 yeah 19:16:21 slava i didnt say they werent. i said it wasnt coding 19:16:30 falala, the fundamental problem with C# (and not specifically C#) is it doesn't support iterative development. 19:16:48 falala, you're stuck with a 'black box' compiler. you feed it your source, it spits out either errors or an exe 19:16:49 slava: huh? i think it does. it's actually partly based on smalltalk 19:16:51 falala, you run the exe 19:16:55 falala, it crashes 19:16:57 falala, repeat... 19:16:59 most c coders mix their pre-coded ingredients and stuff em in the easy bake oven and out pops 400 megs of hello world 19:17:02 slava: i read some interview with the guy behind C# and he said they use a VM like Smalltalk 19:17:11 falala, yes but do you know how development is done with smalltalk? 19:17:17 falala, you code, test and debug at the same time 19:17:20 falala: A VM does not a Smalltalk make. 19:17:23 although i don't know much about smalltalk or lisp.... but i think that's how it goes 19:17:34 falala, you can update the code, inside a running program. 19:17:41 kc5tja: but in this case, like, the benefits slava's describing are part of C# because of the vm 19:17:54 C# is based firmly in the C/Java camp, where there is a discrete edit-time, compile-time, run-time, debug-time, and the cycle continues. 19:17:55 slava: why are you focusing on this little detail, is it really that important? 19:17:57 falala, c# and java do support some dynamic features 19:18:12 falala, however, its not developed to such an extent as a truly dynamic language 19:18:13 With Smalltalk and Forth, all those times are integrated (or, at least, overlapped so heavily that they're inconsequential). 19:18:32 falala, also, about the gui builder thing 19:18:37 falala, in VS.net, you make your forms in a 'form editor' 19:18:39 slava: microsoft says C# is going to be the next-generation development environment. they have BILLIONS to spend on R&D. do you think that like, they would let these features of LISP/smalltalk fall by the wayside? 19:18:41 falala, THEN run your app and test it 19:18:45 if they are truly important? 19:18:50 falala, in smalltalk, the gui builder *is* the app 19:18:55 falala, you can tweak your GUI while the app runs 19:19:09 falala, you've fallen victim to marketing. 19:19:16 falala, what MS ads say, and what reality is, is quite different 19:19:35 uh 19:19:46 but seriously, i think my claim is correct 19:19:52 (but i don't want to have a debate on MS being evil or not, etc, i don't really care about that) 19:19:53 can you say anything that would dispute that 19:19:59 which claim? 19:20:02 the R&D 19:20:28 they could spend a lot on r&d, but the fact is, lisp and smalltalk exist *today*, not 10 years later when MS implements feature X Y and Z etc. 19:20:59 sc 19:21:05 also, a good programming environment is based on a small set of well-designed principles 19:21:19 10 billion dollars worth of features is not the central concept 19:21:39 hey I440r, what are your opinions on commenting? what style of commenting is best? :) 19:22:07 falala, first write self documenting code... then write comments to describe non-obvious interactions and side effects. 19:22:08 falala read my sources... they say all 19:22:17 falala, don't write comments like: i++; /* add 1 to i */ 19:22:20 lolol 19:22:30 my cs teacher PENALIZES us if we miss even one comment 19:22:36 we have to write a comment next to every line of code 19:22:43 because your CS teacher is thick 19:22:45 good man 19:22:47 Which is bullshit. 19:22:48 its overkill 19:22:51 like 19:22:54 but it makes you comment 19:22:58 int c; // counter variable for second loop 19:23:02 /* blank line; does nothing */ 19:23:02 gets you into the mode of "comment this code" 19:23:04 falala, hmm 19:23:09 falala, its better to have: int counter; 19:23:17 falala, that's self-documenting. 'c' is opaque 19:23:18 LATER you can find a happy medium 19:23:25 falala, 'counter' means what it says 19:23:28 slava: no. you're wrong. counter variables must be short and succint 19:23:34 falala, why? 19:23:36 "Must" be? 19:23:37 Why? 19:23:40 Says who? 19:23:40 falala, doesn't your editor have abbrev expansion? :) 19:23:41 God? 19:23:46 kc5tja, the CS teacher, clearly 19:23:50 using 'counter' is like redundant 19:23:56 falala, how is it redudant? 19:24:01 falala, it can avoid having to write a comment 19:24:02 i mean, if they're one-shot variables, what's the point of an expansive name 19:24:04 falala, compare 19:24:08 int counter; 19:24:08 look at this: 19:24:09 with 19:24:13 int c; /* a loop counter */ 19:24:15 They're only one-shot variables -- what's the point of a comment? 19:24:16 cleraly #1 is simpler 19:24:25 http://www.joelonsoftware.com/articles/fog0000000073.html 19:24:31 that should clear up your thought process a bit 19:24:44 we did a discussion of that aritcle in class a while back, i think ti's brilliant 19:24:50 can you point a specific part of the article? 19:24:52 i'm not reading the whole thing 19:25:12 Some signs of a good programmer: good programmers have a habit of writing their { and then skipping down to the bottom of the page and writing their }s right away, then filling in the blank later. They also tend to have some kind of a variable naming convention, primitive though it may be... Good programmers tend to use really short variable names for loop indices. If they name their loop index CurrentPagePositionLoopCounter it is sure sign that they have not w 19:25:30 well clearly CurrentPagePositionLoopCounter is excessive! 19:25:38 however, 'pagePos' is better than, say, 'p'. 19:25:54 as for writing { and writing the } straight away, that is a matter of taste 19:25:56 only if the variablle is to be used more than just a few times 19:26:00 i don't do that, because i know how many outstanding } i have 19:26:16 falala, when iterating through an array, i'd use 'int i' not 'int arrayIndex' 19:26:27 falala, beacuse the 'i' has no further meaning, it *is* the loop index 19:26:37 falala, however, 'int pagePos' might be a loop index, but it has another meaning -- the page position. 19:26:52 also 19:27:00 variables should be preceded by the type 19:27:07 like a string should be szMyString 19:27:11 no 19:27:12 falala: You should be kickbanned for something like that. 19:27:15 ufg fuck no 19:27:16 kc5tja: ??? 19:27:18 kc5tja: the article? 19:27:22 kc5tja, don't make threats like that... 19:27:25 it's called Hungarian Notation 19:27:29 falala, not everybody likes it 19:27:33 falala, we know what its called 19:27:33 our teacher says it is the proper way to name variables 19:27:40 it is the way MS coders do it 19:27:42 Hungarian notation is UNIVERSALLY accepted across the ENTIRE computer science and non-Microsoft industrial fields as being wholesale redundant and a continual source of code maintenance issues. 19:27:45 falala, your teacher claims that his opinions are fact. 19:27:45 and it does NOTHING except fill your sources with bullshit visual clutter 19:27:49 !!!! 19:27:58 falala, sure, listen to and respect his opinions but don't take it to heart 19:28:03 falala, there's more than one right way of coding 19:28:09 falala, your teacher is not the ultimate expert in the field 19:28:11 MICROSOFT uses it in all their code! how will you get a job coding if your variables don't conform to MS's guidelines???? 19:28:19 its a microsoft invention 19:28:21 falala, who cares about MS? 19:28:23 of corse they use it 19:28:23 slava: he probably knows more than any of you guys... 19:28:34 slava: he used to write databases for like, doctor's offices and stuff 19:28:38 falala, that's easy work 19:28:38 he's actually been in the fieled 19:28:40 field 19:28:41 falala: Microsoft requires it. Nobody else does. I highly encourage you to find a job that actively encourages Hungarian. You won't find a one. 19:28:43 falala, i've wokred in the field 19:28:49 Hint: I've been coding for 20 years. :) 19:28:51 falala, i've written a lot of open source as well 19:28:51 slava: like waht? 19:29:04 falala, like, stuff much more complex than your HS teacher's 'databases' :) 19:29:09 kc5tja: why would it be so bad, if Microsoft encourages it 19:29:15 falala, its not bad per se 19:29:17 they are the biggest most important software company in the world 19:29:17 falala, its just redundant 19:29:20 that makes NO sense 19:29:37 falala, if MS is so good, why is windows so unsecure? :) 19:30:02 slava: he wrote a file index system and jpg thumbnail system on his website in PHP 19:30:05 I suppose since China is the largest country I should become Chinese. 19:30:14 falala: Because (a) MIcrosoft isn't God, and (b) lpsz is meaningless in a 32-bit environment, where "long pointers" mean nothing. Long pointers were important in the 16-bit x86 architecture days when segments had to be explicitly handled. Not anymore. Consequently, achFoo and pszFoo both refer to the same base kind -- which is correct? 19:30:15 slava: it's not 19:30:24 falala, right now i'm writing a *web server*... 19:30:35 slava: it's just there are so many copies of Windows in the world, many are bound to be installed improperly, or unsecure due to admin failure 19:31:09 kc5tja: hey, my cs teacher *forces* us to write "lp" before all our pointers.... 19:31:18 I suppose since China is the largest country I should become Chinese. 19:31:19 he marks off 5 points for each misnamed var 19:31:21 ^-- lol 19:31:29 falala, i mark your CS professor down 100 points :) 19:31:38 i'm going to be coding this way for at least 4 more years in hs 19:31:44 falala: Your teacher is a moron. Obviously sold by false facts. Instead of reading Microsoft Press books on the subject, he should be reading Computer Science academia papers and journals. 19:31:46 falala, tell your cs teacher he is destroying any possability you will ever be a good coder 19:31:49 how am i going to break the habit then 19:31:55 slava: glad you're amused :) 19:31:59 hjeh 19:31:59 falala: However, I note you still didn't answer my question. :) 19:32:19 slava: wait, you didn't tell me what kind of PAID coding you did 19:32:41 what am i going to say... "some dudes in a forth channel on irc told me everything you (and microsoft and all the textbooks) is completely wrong" 19:32:44 heh 19:32:54 falala, most recent is serial port work (credit card verification), various business apps (gui forms talking to databases) 19:33:05 falala, what text books? 19:33:12 slava: you got paid real money for that? not, like, monopoly money? 19:33:43 falala, if you want to end up on /ignore, keep being dumb 19:34:01 jeez 19:34:05 it was a joke 19:34:10 so was mine :) 19:34:20 slava: so like, were these contracts, or what 19:34:21 falala: why did you venture into #Forth? You said you had mastered C++, C, PPC and x86 asm correct? 19:34:29 just stop being so damn "i'm right and you're wrong" when you're clearly quite inexperiened compared to everyone else here 19:34:33 imaginator: i'm thinking of trying to learn forth 19:34:38 imaginator: to broaden my horizons 19:34:46 falala: with your experience you should be able to create your own language. 19:34:52 imaginator: uhhhhhh no 19:34:55 falala, when i was 15 i was quite arrogant too 19:35:02 falala, and i made my own languages when i was 15 :-P 19:35:22 slava: how'd you get those jobs writing code for money, were those internships or what 19:35:29 --- join: snowrichard (~richard@adsl-068-209-159-248.sip.shv.bellsouth.net) joined #forth 19:35:39 slava: i doubt you wrote your own compilers at 15..... 19:35:44 falala, people saw my work online -- emailed me -- we negotiated terms -- i sent them code they sent me money 19:35:44 my TEACHER can't even do that 19:35:44 falala: so what does "mastered" mean to you? 19:35:48 falala, interpreters not compilres 19:35:52 falala, and i'm writing a compiler right now 19:36:00 falala, its not hard at all if you know what you're doing 19:36:07 falala, and *optimizing* compiler can be quite hard 19:36:12 imaginator: well, you know, i learn all the different commands in the language, like "switch" and "if" and stuff in C, "mov" "add" etc in asm 19:36:18 falala, that's not mastery 19:36:25 falala, to master a language, you have ot know how to code algorithms 19:36:33 falala, could you produce a quicksort without looking at a book? 19:36:36 slava: so Jedit got your footin the door? 19:36:41 slava: did you make ALOT of money doing this or what 19:36:46 falala, yes 19:37:03 now i'm getting into x86 assembly and C, and hope to get work doing embedded and such 19:37:17 slava: yes to the "alot of money"? 19:37:20 yes 19:37:27 like, >$10k? 19:37:32 yes 19:37:36 whoa 19:37:46 for like, a week's worth of work? 19:37:48 or what 19:38:04 falala, the contracts i've done were between 30 and 50 dollars an hour US 19:38:08 falala, which is not much 19:38:22 falala, compared to what some consultants get (100$/hour etc). 19:38:26 my goal is to make as much money as possible 19:38:34 falala, mine is not. 19:38:38 falala, i want to be a good programmer, foremost. 19:38:41 so forgive me if i like, disregard stuff that seems worthless 19:38:52 falala, and hint: you won't make a lot of money by listening to your CS teacher and emulating him 19:39:08 slava: well i won't make money writing LISP compilers or wahtever 19:39:14 falala: Forth compilers and interpreters are trivially easy to write. I did write my first Forth environment when I was 17 years old. It didn't work all that great, but it did work. :) 19:39:15 falala, if you want to make money, instead of following the current big thing (C#, windows, spyware, etc) make the NEXT big thing 19:39:23 i only want to learn forth and lisp briefly just so i get more ideas about programming, just to say i know something about em 19:39:47 falala, you won't make money writing a lisp compiler, but then you won't make money writing a C# compiler either. but you could make money making a 'killer app' that everybody wants to have 19:39:53 but my teacher says you gotta follow the latest and greatest 19:39:55 like C# 19:39:55 falala: It's better if you learned them in-depth. Learning them "briefly" will only show you how to do what you already know in those languages -- which defeats the purpose of learning them. 19:40:13 falala, C# is not the greatest like i already explained 19:40:16 falala, can i ask you something? 19:40:21 yes? 19:40:30 falala, whats the best. THE latest and "greatest" or "tried and true" 19:40:30 have you ever done any substantial programming? not counting HS assignments 19:40:43 slava: well, i wrote a game in VB 19:40:45 and some web stuff 19:40:55 but i'm 15 and i figure i have time still 19:40:57 falala, how many lines of code in the game? 19:40:58 How many thousands of lines of code have you written? 19:41:07 slava: it was like a tile-based RPG kind of thing 19:41:19 slava: maybe around... hmmm.. a few thousand? 19:41:23 falala, i know lines of code is a very imprecise metric, but a lot of people in this channel have clocked millions of lines 19:41:47 and that's WITHOUT the copy and paste you usually see in VB programs :) 19:41:53 slava: so by the time you were 15, how many "millions" of lines had you written? :P 19:42:26 falala, i didn't claim to know everything there is about programming when i was 15. 19:42:43 --- quit: snowrichard ("Leaving") 19:42:56 when i was 15, i think my finished projects were a few interpreters, a GUI scientific calculator, and maybe the first jedit release 19:43:06 not much else 19:43:18 * kc5tja did make his first home-made CPU implementation when he was 13 years old though. THAT was fun! 19:43:25 kc5tja, cool! 19:43:26 * kc5tja wishes he could invest the time to make something again. 19:43:42 It was a piece-of-crap 4-bit CPU that could barely add 2+2. :) But it did do it. 19:43:55 Had all of 128 bytes of memory (organized 256 words of 4-bits each). 19:43:56 kc5tja, 4004 clone? :) 19:44:04 slava: No. 4004 would have run circles around this thing. 19:44:06 that wouldn't even run forth :) 19:44:12 my cs teacher actually didn't start writing stuff until he was a junior in college 19:44:20 and he's like 29 now 19:44:35 falala, i'm not doign CS in college 19:44:41 slava: why not? 19:44:53 falala, because i'd rather do math for my undergraduate 19:44:59 lame 19:45:04 falala, and do my masters (or if i do it) PhD in CS 19:45:04 falala: I'll tell you what. If you really want to learn to program, here is what you need to do. Write some kind of code. Any code. Print it out on real, honest to goodness, dead-tree paper. File it away for about 1.5 years. 19:45:14 slava: you sound like a professional academic 19:45:17 Then, go back, and look at the code again. Upgrade/improve the code. 19:45:26 falala, no, i don't want to be in academia once i graduate 19:45:39 falala, however a masters degree or PhD is essential if you want non-trivial programming work 19:45:51 uh, really? 19:45:51 falala, in my opinion, anyway 19:46:07 falala, how do you think advanced algorithms work? magic? no, its all math and hard theretical CS. 19:46:12 is that because employers demand it or the skills you learn are important in themselves? 19:46:17 falala, the latter. 19:46:31 falala, suppose you're asked to code a program that simulates the flow of air aroudn the wing of an aircraft. 19:46:41 Employers actually kind of prefer bachelors because they get paid less. They do more medial work too. Ask me. I know. :) 19:46:43 falala, *that* is much harder than doing GUI forms in vs.net 19:46:45 And I don't even have a degree. 19:46:57 math is not my strong suit 19:46:58 ok, I think I'm finished with my new website design. 19:47:02 http://herkamire.com/w/services.html 19:47:06 falala, you'll need to brush up. 19:47:09 i kind of suck at math to be honest 19:47:15 can somebody with windoze send me a screenshot of that page please? 19:47:31 but most of the math geniuses in school aren't even good programmers 19:47:38 Herkamire, in konqueror there's a rendering flaw 19:47:40 so i think the two must be like diametrically opposed 19:47:42 BTW, I know the "Contact" link is broken 19:47:45 falala, because they're math geniuses, not good programmers 19:48:00 slava: oh dear. can I see a screenshot? 19:48:02 falala, what about games -- everybody loves games. games are 50% graphics/sound, 50% math 19:48:05 Herkamire, sure hang on 19:48:05 slava: i thougth as a programmer/hacker all you needed to realy know was boolean algebra and logical induction 19:48:24 falala, ugh, graph theory, discrete math at least 19:48:29 falala, calculus, linear algebra too 19:48:31 no way 19:48:34 falala, abstract algebra 19:48:35 etc 19:48:37 they're all useful 19:48:47 i read some interview with ESR online and he was like "as hackers we rarely use hard math such as calculus" 19:48:54 ESR == Eric S raymond 19:48:55 falala, because ESR is mediocre 19:49:00 falala, what did he write? 19:49:01 fetchmail? 19:49:01 lol 19:49:04 slava: he's one of the top linux hackers 19:49:12 do you need calculus to hack the linux kernel? 19:49:14 i'm curious 19:49:17 falala, no 19:49:20 but most people don't hack the kernel 19:49:34 do you need to calculus to do embedded work"? 19:49:42 to write web databases 19:49:43 depends on what kidn of work 19:50:07 you aren't likely to use calculus unless you do some serious simulations of phisics or electronics or something 19:50:08 Herkamire: It looks good! Although I'm on Linux, not Windows. :) 19:50:13 Herkamire, factor.sf.net/foo1.png 19:50:18 slava: thanks 19:50:21 Herkamire, its near the bottom of the window 19:50:27 slava: If you ask madwork, he'll say it's a lot more than 50% math. :) 19:50:28 Herkamire, or graphics of course 19:50:30 kc5tja: cool :) 19:50:41 generally speaking hard math is only a prerequisite when the work involves some kind of scientific application in which the code is a means and not an end in itself 19:50:51 falala, is the code ever an end in itself? 19:50:57 falala, isn't that 'masturbatory programming'? 19:51:05 slava: i think if you look at things like the linux kernel... in a way, yes 19:51:06 falala, your code must always do something useful otherwise its useless, cleraly. 19:51:26 falala, yes but the linux kernel still involves math. 19:51:30 my cs teacher says for most things math is useless, and we shouldn't worry about it 19:51:31 falala, eg, you know the O(1) scheduler? 19:51:34 falala, how do they prove its O(1)? 19:51:40 like if you go for the MCSE, you won't need calculus 19:51:45 falala, here's news 19:51:49 MCSE will get you a shitty job 19:51:50 no more 19:51:58 dude you're a moron!! MCSE's make the big bucks 19:52:00 nope 19:52:04 falala: ESR is a decent programmer and technician, and I certainly don't claim to be an expert at anything myself. But one thing is for sure, until you start doing fluid dynamics math in computers, and making them go *fast*, then you're unwashed. :) (BTW, so am I, although I did do a pseudo-simulation of the Wankel rotary engine once) 19:52:06 where have you been living 19:52:15 falala: Where I work, we don't hire MCSEs. 19:52:18 if you keep going for PhDs and MS's in super fancy math and algorithms you're not going to make jack! 19:52:25 falala, actually, you're wrong 19:52:41 employers don't want fancy algorithms that can iron their cat.... 19:52:49 falala, depends on the employer. 19:52:59 falala, if all you want to be is a web monkey, you have the right attitude 19:53:07 falala: We've found, repeatedly, that employees who have MCSEs have ego issues and therefore are incompatible with the remainder fo the workforce here. Moreover, we also find that their solutions to problems work only temporarily; they are never permanent solutions. 19:53:21 kc5tja, i guess MCSE gives them a false sense of security 19:53:22 wtf.... 19:53:27 kc5tja, like "yeah i know this, i'm MCSE..." 19:53:32 slava: Yeah, exactly. 19:53:36 my teacher says MCSE is the top of the food chain among programming 19:53:39 They have a ton of book knowledge, but no *practical* knowledge. 19:53:53 falala, if you say one more like that begins with 'my CS teacher' i'll start ignoring you 19:53:58 Your teacher has been proven wrong on this very channel no less than four times that I recalled. This will be the fifth. 19:54:01 falala, you're well aware i'm not interested in your teacher's opinions 19:54:02 he's like, "as soon as you can get MCSE and go into the workplace and make tons of money" 19:54:06 falala, he is wrong 19:54:16 falala: Sorry, that's patently wrong. 19:54:18 slava: i think you should talk to him face to face and you'd see how wrong you are 19:54:31 maybe i could even get him into this irc chan... hmmmm 19:54:37 You can get a lot of money if (a) you're hired at a MS-certified work place, and (b) your manager is really benign. 19:54:43 falala, that would be quite entertaining, please try to get him here 19:54:54 actually 19:54:54 I get paid $10/hour to do Linux technical support -- a job *no* MCSE could ever do with their level of training. 19:54:58 maybe you can look at his website 19:55:01 BTW, I also support Windows boxes too. 19:55:17 let me msg you the webiste slava 19:55:19 k? 19:55:21 We are a CIS-certified data center facility too. 19:55:22 why not paste it here? 19:55:32 i think this channel is logged and i don't want any trouble 19:55:54 kc5tja: $10/hour? 19:55:58 Yep. That's it. 19:56:08 THe IT industry is *severely impacted*. 19:56:10 kc5tja: wait, you're one of these fancy programmers in here and that's all you're making? 19:56:15 Yep. 19:56:17 Get used to it. 19:56:21 falala, don't insult people based on income 19:56:29 uh, slava over there just said he's raking in the big bucks 19:56:30 I don't consider it an insult. 19:56:32 falala, i have friends that live in public housing projects 19:56:37 The truth hurts sometimes. 19:57:11 I should easily be making a good $16/hr at the very least for what I'm doing. But alas, nobody else was hiring at the time I got the job. Some people are moving to greener pastures now, but they aren't reporting everything is all rosy either. 19:57:23 slava said he is making $50/hour 19:57:23 Unless you have that degree, you get *nothing* for pay. 19:57:28 and he even said that's *low* for him 19:57:32 falala, contracts are different 19:57:34 falala, you work for a few hours 19:57:37 falala, and you're done 19:57:38 falala, its not 9-5 19:58:02 kc5tja: so you recommend going to college and getting that degree? 19:58:13 Strongly. 19:58:25 * kc5tja is himself saving up to go back to school for a compsci degree. 19:58:26 even when your'e a l33t hax0r and you know it 19:58:31 falala, except you're not 19:58:36 Even a bachelors will get me into jobs that I just have no chance in competing in right now. 19:58:43 * kc5tja has no certs, no degrees at the moment. 19:58:46 And I'm 29 years old. 19:58:55 kc5tja: despite the fact that you've taught yourself everything you would learn at a compsci class...? 19:59:03 Half my working lifetime is spent without certs/degrees, and I am below poverty line. It's not a coincidence. :) 19:59:09 Yep. 19:59:23 so , why? 19:59:28 i mean, it's not like you don't know the stuff 19:59:33 does the piece of paper really mean all that much 19:59:42 falala, its a filter 19:59:46 falala, they look at 50 resumes 19:59:54 It's not what you know, it's what you're certified to know. MCSE is a nice certification to have, but it isn't everything. There's also Cisco certs, Novell certs, and of course, college degrees. The more you have, the more you learn, the better off you are. 19:59:55 falala, the ones without degrees or experience get thrown away 19:59:59 Oh, and the Linux certs too. 20:00:26 Linux is growing like a fungus in the IT industry. 20:00:41 * kc5tja also wants to get experience with IBM mainframes too. I hear those are great to have on the resume. 20:00:43 MS says it grows more like cancer 20:00:44 so why is it that i go to like guys' websites and look at their resume and i see like "1996-1999 Sr. Server Programmer, D&E SHaw" etc 20:00:48 Anyway, I have to go check up on a server. I'll be right back. 20:00:52 and he was 18 in 1996 20:00:58 than fungus 20:01:05 fridge: Not my problem. :) 20:01:13 falala, beacuse he got hired out of sheer luck 20:01:41 and what about like John Carmack 20:01:46 he dropped out of college his freshman year 20:02:03 just because some smart guy dropped out doesn't mean its smart to drop out 20:02:08 he didn't get smart by dropping out 20:02:27 i think the rules don't apply for l33t hax0rs like us 20:03:17 look at JWZ (Jamie Zawinski) he doesn't have any degrees, and he made millions at Netscape 20:03:26 he's one of the best hackers around 20:03:31 falala, there's only a handful of people in that situation 20:03:39 falala, is there hordes of college dropouts becoming millionares? 20:03:47 falala, most do to mcdonalds etc 20:04:13 like i said, rules don't apply to special people 20:04:26 what makes you think anybody here (you included) is "special"? 20:04:34 why not? 20:04:43 you can code as well as John Carmack, can't you 20:04:48 from the way you speak, i'd assume that 20:04:50 i never claimed that 20:05:06 so you never gave me that CS teacher's home page 20:05:24 --- quit: warpzero (Client Quit) 20:05:43 anyway, my plan is, i'm going to drop out of high school when i'm like 17, maybe, and get a job working for some local MCSE shop 20:05:47 and make loads of money 20:05:51 hahaha 20:06:00 your plan just won't work 20:06:06 what kind of job are you hoping to get? 20:06:12 i'm goin to be Director of IT 20:06:17 doing what? 20:06:24 whatever they do :P 20:06:31 what will make them hire you? 20:06:35 and not somebody with a degree and experience? 20:06:55 slava: because i'm l33t 20:07:04 falala, how will they know? 20:07:14 they can tell by the way i talk 20:07:21 and the penny arcade tshirts i wear 20:07:28 :P 20:07:59 falala, first, note that your teacher has a masters degree in math *AND* education 20:08:03 falala, so he's not a HS dropout 20:08:16 lol 20:08:21 i didn't know about that 20:08:30 it's probably just on their to pad the resume 20:08:31 i don't see any programming on his resume at all 20:08:33 he probably made it up 20:08:41 that's illegal and people *do* check 20:08:58 all i see is this: 20:09:04 "Maintained Pascal program and dBase III database, which were used to test and track college freshmen for library research aptitude. " 20:09:07 did he make that up too? :) 20:09:13 what's MCSE? 20:09:21 Herkamire, it teaches you how to reboot windows boxes 20:09:23 Microsoft Certified Snot Engineer 20:09:30 Herkamire: Microsoft Certified Systems Engineer 20:09:43 hell 20:09:44 There is also MCSD -- Microsoft Certified Software Developer too. 20:09:46 falala, http://www.minich.com/portfolio/mathmsthesis.pdf 20:10:12 I was afraid the M stood for Micro$oft 20:10:23 falala, that's his master's thesis. 20:10:42 falala, so... 20:10:46 your CS teacher is a snot-nosed academic 20:10:51 who has never done programming in the industry 20:11:02 except for some dbase III one liners on a green screen PC in the 1840's 20:12:21 in fact, he seems to specialize in web design 20:12:26 wait i have a theory 20:12:30 falala IS the cs teacher 20:12:31 lol 20:13:18 I won't go so far as to partake in ad hominem attacks against either the CS teacher or falala -- but the evidence does speak heavily against CS teacher's credentials for coding expertise. 20:15:04 --- join: warpzero (~warpzero@dsl.103.mt.onewest.net) joined #forth 20:15:08 hi warpzero 20:15:47 I bet dropping out of highschool would make it harder to get any technical computer job 20:15:58 hey hey 20:17:05 warpzero, what's new? 20:17:07 it doesn't 20:17:23 not much, you 20:17:29 warpzero: really? 20:17:34 really 20:17:39 warpzero: Since I never dropped out of highschool, I can't tell. 20:17:44 well i did 20:18:03 But I did drop out of college four times because I couldn't afford it each time. And I can tell you, it's all but impossible for someone to hire me. Without a degree, I'm virtually unhirable. 20:18:08 I asumed they would question 1) your intelligence 2) your tendancy to stick to things 20:18:12 * kc5tja was damn lucky to find my current source of employment. 20:18:22 Anyway, I'll be right back again -- I ahve to perform facilities monitoring. 20:18:23 Herkamire: well im at college so 20:18:35 Herkamire: they don't really care 20:19:00 warpzero: oh. skipping ahead isn't so bad 20:19:35 yeah 20:19:42 i just couldn't take highschool anymore 20:19:42 warpzero: falala was considering dropping out of highschool at age 17 to become a MCSE 20:19:45 it was horrible 20:21:03 and while I suspect that there is a certain amout of "hire anybody who is willing to do it", I suspect that employers would choose people who didn't bail on school before the end of highschool 20:21:23 okay so do you guys think name[type]value is better or maybe something like name:type=value 20:21:34 type name = value 20:21:41 that doesn't work 20:21:53 whitespace is list delimeter 20:23:32 is anybody familiar with SSA form? 20:30:30 back 20:31:20 slava: Sort of. 20:31:35 kc5tja, i wonder if it can be applied to a concatenative language 20:32:16 It can, and if you're thrifty enough, you can even optimize out all the SWAPs DUPs and whatnot. 20:32:31 The problem is, you need to know how many arguments a word takes, and what it produces. 20:32:41 that's what i'm interested in. not as much optimizng out SWAP and DUPs, but redundant type checks. 20:32:48 Knowing that, you can almost directly convert the concatenative format to a tree, and from there, to SSA. 20:35:32 interesting. 20:36:17 --- join: saon (~Ecoder@c-24-129-95-254.se.client2.attbi.com) joined #forth 20:36:26 hi saon 20:36:42 hello 20:37:11 anyway 20:37:30 if you want to make money, you gotta learn C# 20:37:32 bottom line 20:37:48 look at kc5tja , he's a l33t forth coder, lisp guru or whatever, but he said it himself, he's living on the poverty line 20:37:54 falala: Umm...no...sorry. Sure, C# is a nice language to know, but it is far from the bottom line. 20:37:56 get an MCSE, and you're golden! 20:37:56 falala, if all i was interested in was money, i'd be a drug dealer 20:38:03 falala, an MCSE isnt even about programming 20:38:05 falala, its sysadmin stuff 20:38:08 slava: yeah right, that's a dangerous job 20:38:16 slava: you couldnt' be a drug dealer, you're a nerd 20:38:25 you need the right contacts, you need to avoid being arrested/shot at 20:38:26 etc 20:38:29 falala: Behave yourself, or you WILL be kick-banned. 20:38:36 falala, i'll just take tips from you 20:38:39 kc5tja: chill dude 20:38:48 slava: ?? 20:38:53 slava: seriously, do you think you could be a drug dealer? 20:38:54 falala, on the drug dealing 20:38:56 falala, no 20:39:02 falala, i was just making a point 20:39:08 slava: if money *was* your main prerogative 20:39:11 The point is, C# is a neat language. As far as I can see, it is exactly like Java. It was introduced to compete with Java, and yet, Java still rules the Internet coupe. And it always will. 20:39:28 kc5tja: you're a MORON!! 20:39:33 kc5tja: C# is completelyu different 20:39:34 falala, be polite. 20:39:35 it's revolutionary 20:39:39 falala, how so? 20:39:40 falala: Prove it to me. 20:39:41 look at any Microsoft Press clippings 20:39:45 they even SAY SO 20:39:46 RIGHT THERE 20:39:47 IN PRINT 20:39:50 falala, name some revolutionary C# features 20:39:58 Bill Gates talkks about the revolutionary C# features in his KEYNOTE SPEECHES 20:40:09 falala, can you answer my quesiton please? 20:40:09 falala: Name me ONE non-Microsoft press clipping that supports the "revolutionary" claims of C#. 20:40:15 szLinePtr = REVOLUTIONARY; 20:40:26 --- part: falala left #forth 20:40:27 falala: Don't you think it odd that you're only seeing Microsoft's side? 20:40:29 lol 20:40:43 --- mode: kc5tja set +b falala*!*@* 20:40:46 End of discussion. 20:40:47 lol 20:41:11 i bet he'll be in here tomorrow with another nick 20:41:18 Probably. 20:41:23 If so, I'll ban his entire domain. 20:41:36 in efnet #java they ban aol 20:41:37 I don't care. 20:42:07 Well, I suppose I could ban all of att.net -- that's where he's coming from. 20:42:27 i notice our friend alonzo is still in the ban list ;) 20:42:39 And he always will be, as long as I'm chanop here. 20:43:02 If I find out it's no longer here, and that someone here removed him, and it's not I440r (since this is technically his channel), I'll ban them too. 20:43:16 I440r, this is your channel? 20:43:21 I440r, when did you start it? 20:44:28 oh my god 20:44:35 yes? 20:44:39 i dont own it now 20:44:46 everyoen here owns it and futhin manages it 20:44:50 just reading some of what falala said 20:44:51 the channel 0wnz j00! 20:44:58 Herkamire, not the sharpest knife in the draw? 20:45:08 I thought everybody know that gates was full of #*$#" 20:45:23 i started it like a year before the first release of isforth 20:45:54 * kc5tja never, ever thought he'd have to ban people from this channel. 20:46:04 I never had to before. 20:46:17 And as I440r knows, when things start getting irrational, I usually just leave. 20:46:21 But this is bullshit. 20:46:43 kc5 is not one to kick/ban ppl without cause 20:48:30 that was rediculous 20:49:14 yelling, calling kc5tja a moron because he doesn't believe MS's media hype 20:49:27 lol 20:49:28 I can't help but somehow feel dirty. 20:49:33 i missed the rukus ? 20:49:38 whow won ? 20:49:51 falala thinks he won because he left #forth first. 20:50:03 i said i thunked he was a troll 20:50:07 even if he is only 15 20:50:18 After he left, I promptly banned him from ever coming back. 20:50:23 slava: I like your line "falala, if all i was interested in was money, i'd be a drug dealer" 20:50:26 At least with the nick of falala. 20:50:37 :) 20:50:53 If you want to make money, offer Internet hosting solutions to porn providers. 20:50:55 Seriously. 20:51:02 You make more money that way than selling drugs. 20:51:34 yeah, just gotta find a colo facility that allows it 20:51:49 yup 20:51:51 they'll use your bandwidth though 20:52:06 Herkamire: Precisely why colo facilities love pornsters. They pay through the nose for the bandwidth. 20:52:27 We actually host about 15 to 20 ISPs that in turn host porn providers. 20:52:54 Not a one of them has an ugly car, that's for sure. :) 20:56:24 weird... 20:56:36 just looked at my bandwidth usage graphs for the first time in quite a while 20:56:42 hey guys i got to the bottom of the falala mystery 20:57:12 i portscanned him and found a huge number of unpatched services on his windows box -- i threated to hack him in /query, and he confessed to being a troll: 20:57:32 slava: Hahah! 20:57:33 ok, look, i was just trolling you 20:57:33 honestly i don't mean to insult you 20:57:33 i'm not insulted 20:57:33 please don't hack me 20:57:45 no, i'm just a troll, i don't even go to HS 20:58:24 It's good to have a "troll" on *our* side. >:D 20:58:34 (and that's meant in a good way) 21:00:20 no, he's just a dumbass trying to piss people off. we get a lot of those in #java 21:02:02 Ahh 21:02:14 Well, he really didn't piss a whole lot of people off here. 21:02:14 :) 21:02:28 I rather politely dealt with him -- I'm proud of myself. 21:02:34 Now if only I can do things that way in real life... :) 21:02:46 kc5tja: :) 21:04:16 --- quit: saon ("Leaving") 21:11:17 That was so strange. 21:11:40 imaginator: Yep. 21:11:43 I suspected he was a troll, and someone from here that was playing a game. 21:14:45 weird... looks like the bandwidth to my server dropped about a month ago from about 80Kbps to about 7Kbps. 21:15:11 it's stayed down for three weeks 21:15:33 and it looks like it was up around 60-80 for at least 8 months 21:16:24 I really should get around to installing some sort of apache log analizer thing 21:16:45 Heheh :D 21:17:11 it dropped in the middle of my vacation too 21:17:24 DOS maybe? 21:17:28 I still have all my customers afaik 21:17:34 slava: not on me. 21:17:47 perhaps I have a virus that's helping pull one on others 21:18:06 north korea tests nuke 21:18:11 http://www.reuters.com/newsArticle.jhtml?type=topNews&storyID=6211081 21:21:46 I'm starting to think that the kind of programmer I aspire to be, is not terribly well suited to working in the business world 21:21:56 why not? 21:21:58 and good programming in general 21:22:19 most programming problems are simple because the tools to solve them already exist, and this covers most business programming 21:22:36 but this doesn't mean its bad to do 21:22:39 you're such a java head 21:22:47 sorry 21:23:01 thing is that the existing tools generally aren't perfectly suited to the task 21:23:03 there's nothing *wrong* with the fact that its easy to make an online shopping cart, etc. 21:23:23 what's "wrong" is all the crappy crappy carts out there 21:23:52 I think the path to making really good software often involves starting over and doing it right 21:24:12 the thing is, for a shopping cart or whatever, it doesn't matter of it uses 10mb of memory or 10kb, or how elegant the code is 21:24:16 I HATE STORESENSE!!!! 21:24:20 Oh, I'm sorry, did I say that out load? 21:24:30 roger that 21:24:40 I hate StoreSense and the Java horse that it rode in on. It's been nothing, let me repeat this -- NOTHING, but trouble for us. 21:24:42 If it uses less memory, it probably is simpler, and that probably means it has fewer bugs. 21:25:21 imaginator: Not necessarily true. I have nothing against garbage collected systems, which usually consume about 2x the amount of memory during a typical run than a non-GC program of the same kind. 21:25:30 But if it uses less *code*...I'll agree to that. 21:25:32 imaginator, how many bugs can there really be in a shopping cart? 21:25:37 too many 21:25:41 we're not talking about a space probe here 21:25:41 slava: many 21:25:57 slava: Enough to offer our customers non-stop issues. *sigh* 21:25:59 slava: memory and CPU are not the only costs of crappy code 21:26:07 User clicks back, the browser doesn't handle some HTML properly, the browser sends crap or non-standard crap. 21:26:46 User clicks on items to purchase, gets proper shipping charges on the screen, clicks "Order Now!", order comes through, and only 1/3rd the required shipping is actually billed to the customer. 21:26:48 imaginator, the issues with HTML generation and HTTP request handling are taken care of by the application server, not the shopping cart. 21:27:17 But only for ONE customer, and therefore, is next to impossible to track down why it's doing it only for him, and not anyone else. 21:27:22 slava: great, now you have two huge buggy programs to deal with 21:27:42 --- join: crc (crc@175-pool1.ras11.nynyc-t.alerondial.net) joined #forth 21:28:02 Herkamire, would you rather everybody duplicated the same functionality over and over again? 21:28:24 Then add cookies into the mix. And people that turn them off. 21:28:26 code reuse is a *good* thing, especially for the business apps we're discussing here. 21:28:50 slava: it's good to reuse code for what it's good for 21:29:05 managers tend to tell you to keep using code you have instead of write something similar 21:29:45 here comes the mythical manager, the bugbear of all programmers world-wide! 21:30:05 sometimes it's clear that in the long run it will be easier to re-implement something, or change the way you do something, but there isn't time in the schedule to change things around, so it never happens 21:30:12 Hey, if it is anything like the managers I've had to deal with, they are. :) 21:30:16 the stuff you're reusing just gets slowly more and more complex 21:30:22 impossible to maintain 21:30:30 the fact is, if you're doing web apps or whatever in a business, they're not paying you to code for the sake of coding -- they're paying you to implement a solutoin which will directly lead to the business's profitability (or lack thereof) 21:30:46 slava: the manager isn't mythical. I've had one for 3 years 21:30:53 if your manager is incompetent, writing better tools won't help 21:31:01 slava: The problem is, StoreSense is coding a finished, commercial, OTS product. 21:31:18 That is, if anything, one of the key areas where a fully customized solution is required for maximum quality control. 21:31:23 kc5tja, i was never defending storesense 21:31:25 my manager isn't incompetant 21:31:36 he runs a successful web development company 21:32:01 I'm just saying that business invirenmonts don't lend themselves to producing excelent software 21:32:02 well, its sucessful in part because of the programming at least, right? so its not all wasted 21:32:15 sometimes, "good enough" is all that's needed 21:33:18 actually, thinking about it, that guy knew ALL the wrong answers 21:33:33 I've programmed for them for about three years, and tathi for about two. I learned a lot from it, but I don't think there's very little code we created there that I care to keep. 21:33:41 maybe a couple KB. 21:33:51 herk for what? 21:33:56 the thing is, it doesn't matter if your shopping cart is 700 lines of beautiful Haskell or 10000 lines of ugly java, as long as it *works* 21:34:44 slava: until you have to fix a bug in it. The more lines of code, the more difficult it becomes. 21:34:49 I440r: we had some neat code to handle passing requests to another script and for displaying with a sort of template system so pages look allike 21:35:09 slava: that's not true. 21:35:16 imaginator, its possible to have a code base that's both large, and well debugged 21:35:19 :) 21:35:23 slava: next week the client complains about some little thing and you have to fix it 21:35:34 slava: no it's not 21:35:43 :) 21:35:52 do you find the linux kernel unbearably buggy? 21:36:04 there is no bug-free 10,000 line java program. no way in hell 21:36:13 my computer crashed last week 21:36:21 I was Pissed 21:36:26 Code can only be certified as perfect if it provides the proper result/effect with ALL possible inputs, without corrupting outside states. 21:36:49 and again, there's the distinction between 'bug free' and 'good enough' 21:36:58 NO program is bug free unless its trivial 21:37:02 imaginator: OR, if it can be proven to be correct for all possible inputs, hence the appeal of formal design methods. 21:37:33 slava: I don't understand what you're getting at 21:37:54 that 'perfect code' is an unpractical ideal in a business environment 21:37:54 in my experience working for a web development company, most of the work was maintaining code. 21:38:01 adding little things, and fixing little things 21:38:09 slava: exactly 21:38:14 and how do you propose to avoid this? 21:38:23 code is never a done work 21:38:29 I'm not. 21:38:31 slava: If all programs can be broken into smaller units that are trivial in and of themselves, then by definition, a large program can be bug-free too. 21:38:40 That's the principle of unit testing, and the principle of formal methods. 21:38:41 kc5tja, you neglect interactions between the units 21:38:50 I'm saying the value of good code (especially in business) is that it's easy to maintain 21:38:54 and change 21:38:55 slava: Again, that's where unit testing and/or FMs come into play. 21:39:30 holy fuck 21:39:30 Herkamire, yes, but its a case of diminishing returns after a while 21:39:39 guys check out the news about north korea 21:39:41 slava: what is? 21:39:44 Herkamire, in a business environment, you're not expected to spend 3 weeks perfecting 25 lines of code to the fullest 21:40:00 slava: yep. that's sorta my point 21:40:11 I want to create a great OS 21:40:24 but I figure it'll probably take 10 years 21:40:31 to do it right and make it really great 21:40:38 that's too long for the business world 21:40:50 then work jobs in the meantime. you'll find it easy. 21:41:04 they need to see a return in a year or two or have it be huge returns and a guarantee 21:41:13 that's what I'm doing 21:41:13 warpzero: what about it? Has it reached google's news? 21:41:36 Herkamire, so what's the problem? :) 21:42:00 no problem. 21:42:14 imaginator: well North Korea might have just done a yield test 21:42:15 you sound like you believe business programming simply shouldn't exist 21:42:18 imaginator: yahoo has it 21:42:18 I'm just saying I'm slowly coming to the opinion that the business world is not terribly conducive to writing good code 21:42:35 Herkamire, yes, its a known fact that this is true 21:43:08 and i don't think clean code should be the #1 priority of a business 21:43:21 I do 21:43:26 otherwise they'd spend 3 years perfecting every little component, and go bankrupt in the meantime because they have nothing to offer 21:43:29 mmmm... actually maybe not 21:43:44 quick ugly hacks tend to make more money 21:43:50 you need to be cheap up front 21:44:02 a quick ugly hack can be refactored over time. 21:44:21 and if it get's logerithmically harder to work on then that's fine, because you work hourly. 21:44:55 and the more money you get out of them, the less they will even think of having somebody do it over, because they are painfully aware of how much money they've poured into it already. 21:45:25 the client doesn't want to pay a bunch of money for you to do it over. they figured they already payed for it. 21:45:50 your bos doesn't want you to spend all that time doing it over when he get's lots of money from any little change because it takes you too long 21:46:06 if you mean for money then I agree. 21:46:14 if you mean ethically, then I dissagree. 21:46:25 ethically, clean code should be your #1 priority 21:46:40 Well engineered software keeps customers for the long term doesn't it? 21:46:45 not to the point of being anal-retentive about it. 21:47:17 if I spend 10 years designing a web frontend to a local gift card store, then I'm not performing my ethical responsibility 21:47:20 slava: I didn't say you have to be anal-retentive about it. 21:47:33 slava: why would it take 10 years? 21:47:41 for it to be 'perfect' 21:47:49 imaginator: IBM still has mainframe customers from 30 years ago. :) 21:47:49 imaginator: not really. that's the thing. 21:47:51 when i could spend a week or two cooking up some simple .jsps 21:48:11 even though they might not be perfectly factored etc 21:48:48 if you make really good software that works perfectly, does everything people want in that domain... then you probably won't do so well 21:49:04 you need to sell upgrades... 21:49:15 that's not the issue 21:49:38 the thing is, if somebody using 'uncool' tools like prebuilt libraries, Java, etc can do a 'good enough' equivalent in 30% of the time, he'll get the job 21:49:39 There are dozens of tools for the web that do the same thing. People reinventing database accessors, and databases, and protocols, and ... 21:49:41 you need to sell services 21:50:22 If there was one perfect tool for each solution it would be easier to move forward, but now we have different language bindings, different operating systems ... 21:51:51 And the motivation is to outdo the next guy, and not to improve societies access to information. 21:53:03 But now as it is, we have debates over the design of an API, the protocol it uses, and on and on. 21:53:25 Maybe there just isn't a perfect solution. :/ 21:53:50 maybe the people that do good research don't code it 22:01:18 slava: does your Forth-like language use garbage collection? 22:01:26 imaginator, yes 22:02:00 For everything or just strings? 22:02:15 for all heap allocated objects, which includes strings. 22:03:09 I've decided my idea of having 'foo' push each character onto the %esp stack with a length doesn't make life easier, so I'm thinking about writing a garbage collector. 22:03:25 Did you use any books to implement your GC? Do you use the Boehm-GC? 22:03:37 i implemented a traditional copying collector. 22:03:48 using online resources, and bugging #lisp :) 22:04:15 heh 22:04:23 its quite simple, 200 liens of C or so 22:04:34 I wrote this http://www.xmission.com/~georgeps/engineering/prototype/garbage_collector-2.c a while ago, but moving beyond that has been difficult. 22:04:43 wow, just 200? 22:04:53 yes 22:05:07 yours looks like a reference counter? 22:05:29 All variables that use an object need to specifically state that they use it. 22:05:33 i think copying gc is actually simpler... 22:05:44 What's the theory behind it? 22:05:56 ok, the fundamental operation is 'allot' 22:06:03 it increments a pointer in the heap, by the requested size 22:06:07 one problem with reusing code, is it takes a long time to figure out how to use it. and often you later find out that it doesn't do what you need. 22:06:11 eventually, the pointer reaches the end of the heap 22:06:13 then you collect: 22:06:26 so you really should spend a long time researching to find what to use. 22:06:35 first, you swap the 'current' heap with an unused one the same size 22:06:39 I figure if I'm going to spend a long time, I'd rather use that time to write it myself 22:06:40 (so yes, this has 2x memory overhead) 22:06:47 then, you copy the root objects from the old heap to the new heap 22:06:59 this includes anything referenced by stacks, global variables, and so on 22:07:13 so, your new heap looks like this so far: 22:07:22 | roots | empty space | 22:07:26 ^ 'here' pointer 22:07:32 ^ 'here' pointer 22:07:34 :) 22:07:41 now, you set a 'scan' pointer to 0 22:07:46 and, while scan < here 22:08:02 copy all objects referenced by object in newheap at 'scan' 22:08:08 increment 'scan' by size of object at 'here' 22:08:34 so 'here' grows and 'scan' chases it, until all objects reachable from the roots have been copied from the old heap to the new heap 22:08:40 now there is one implementation detail 22:08:53 if an object is referenced more than once, you have to make sure you don't copy it more than once 22:09:06 the first tiem you copy an object, you overwrite it in the old heap with a 'forwarding pointer' that is tagged as such 22:09:24 subsequent times this object is referenced, you don't copy it, you simply fixup the reference with the forwading pointer's address 22:11:33 This assumes that the heap is linear right? What if my heap is from the system's malloc, and may be spread out? Would I need to implement a private heap and then realloc as needed? 22:12:07 imaginator, yes, it implies managing your own heap 22:12:33 imaginator, in factor, i just mmap two 'large enough' private mappings, and at any time one of them is in use 22:12:47 here is the source http://cvs.sourceforge.net/viewcvs.py/factor/Factor/Factor/native/gc.c?rev=1.18&view=auto 22:12:51 My forth isn't traditional. Everything gets compiled into an IC and then run (by jmp'ing into it), and next returns from a run(). 22:13:18 does your data have runtime tags? 22:13:25 copying gc relies on total knowledge of heap structure 22:13:32 runtime tags? 22:13:35 it must know what is a pointer, what is not, and if its a pointer, how large is the object its pointing to. 22:14:19 if this canot be guaranteed (eg, if at runtime an integer looks like a pointer) you must use a conservative collector which does not move objects 22:14:25 no, a pointer just gets pushed onto the stack, like numbers, and anything else (except for floating point (which I haven't implemented)). 22:14:59 ok. there's theory to conservative gc's (how to do it safely, etc) but i'm not familiar with it 22:15:04 you'll have to do mark/sweep collection 22:15:24 in factor, each 32-bit value has a 3-bit tag, in the least significant bytes 22:15:30 tag 0 means the rest of the bits are an integer value 22:15:36 other tags are pointers to various object types 22:15:39 That's clever. 22:15:57 the advantage is that some objects don't need a header in the heap at all 22:16:02 like a linked list cell only uses 8 bytes 22:16:07 Now that I think about it, I recall reading about a Lisp system or maybe ML with 30-bit integers, because it used a similar scheme. 22:16:14 because all pointers to it have the same tag so its size is implicitly known 22:16:21 imaginator, yeah, its a standard lisp technique 22:16:58 another thing tagging allows is a relocatable image 22:17:17 How so? 22:17:18 when its reading an image, it can determine which values are pointers, and safely update them with the base address 22:17:33 ah, that's neat. 22:17:55 gforth simply writes two images at different base addresses and looks for differences but i think that's a gross hack 22:18:14 Hack as it may be, it works. 22:18:20 sure. 22:18:48 slava: did you implement your own bignum library? 22:18:52 imaginator, the downside of all this is that it is not possible to have pointers to the inside of an object, etc. 22:18:56 imaginator, no pointer arithmetic, etc 22:19:01 imaginator, no, i used scheme48's 22:19:25 http://cvs.sourceforge.net/viewcvs.py/factor/Factor/Factor/native/s48_bignum.c?rev=1.6&view=auto 22:19:32 hmm, well I definitely planned on pointers. 22:19:55 then you'll need a conservative gc 22:20:08 That code looks like Lisp, but it's C. Strange. 22:20:12 if this is just for strings, i'm sure a simpler solution is possible 22:20:19 imaginator, it was written by MIT people, what do you expect ) 22:20:21 :)* 22:20:48 hmm you could do a conservative gc that allows pointers inside objects 22:20:52 i think boehm does 22:22:46 slava: I think this is another argument in favor of vector-based languages. :) 22:22:54 why is there space between my
s 22:22:55 how so? 22:23:01 Anyway, I need to get home. I'll be back online in about an hour or so. Thanks. 22:23:23 Do the newer schemes use libgmp? 22:23:36 slava: Because it's not possible to muck with pointers at all -- in order to reference a component you MUST have the base pointer -- ergo, for any one object, at least one base pointer must exist to it. 22:23:43 Anyway, I'm outta here. Peace. 22:23:59 that is not unique to vector languages. any 'safe' language has that property, eg java or smalltalk 22:24:11 later kc5tja 22:24:34 This s48_bignum.c looks pretty good. 22:24:48 And the licensing isn't invasive like libgmp. 22:24:53 imaginator, yeah i was able to adopt it with minimal changes. 22:25:11 imaginator, you might want to get the original instead of using factor's 22:28:21 As I plan to eventually port my Forth-like language to raw hardware (via Bochs or qemu) I'm somewhat concerned that if I depend on Boehm-GC it will be ackward to manage and port. 22:28:54 what language are you implementing it in? 22:29:06 C and GAS (asm) 22:29:13 ok 22:31:33 i'm learning asm at the moment 22:32:15 Do you use a hash table for storage of word addresses and variables? 22:32:22 yes 22:32:38 words are objects, there's a few more fields than just a code address, but yeah 22:32:50 I'm starting to have doubts about my hashing trie. It uses too much memory. 22:33:01 heh 22:33:20 i use a simple hashtable. its quite inefficient, because the number of buckets doesn't increase with load 22:33:23 i have to fix that some day 22:33:25 I used my 4-bit hashing trie in my Smalltick object system and it gobbled up memory, especially with many objects and long method names. 22:33:49 http://cvs.sourceforge.net/viewcvs.py/factor/Factor/Factor/library/hashtables.factor?rev=1.6&view=auto 22:33:56 Knowing when to increase to prevent to many ->nexts via more root buckets is ackward. 22:34:28 And then the hashing attacks take advantage of it, so some people use randomization with keys, but that introduces more checks for a fetch from the association. 22:34:33 to/too 22:34:43 hashing attacks? 22:34:53 if attackers can insert arbitrary words in your dictionary 22:34:56 or define arbitrary variables 22:35:02 you've got bigger problems than a potential DoS :) 22:35:41 yes, there are some people that attack servers by creating strings that hash to the same bucket, and thus you get an endless ->next to ->next and possibly with lots of rebuilding of the table if the code does that. 22:36:42 I guess a length check fixes most of that. 22:38:00 AAAAAAAAAAAARG 22:38:18 when I stick borders on my divs then the background images work right 22:38:24 but when I don't there's gaps 22:38:41 it's not the images. the backgrounds don't meet 22:38:51 but if I stick in: border: 1px solid red; 22:38:59 then there's no space 22:39:00 i hate html 22:39:01 and css 22:39:51 slava: you make a good point about "bigger problems than a potential DoS." 22:40:25 What has Chuck Moore created lately? 22:40:44 change one character so it's: border: 0px solid red; and I get 10 pixel gaps between my divs 22:41:24 Didn't Moore say in some chat (possibly here) that he wanted to build an HTML-like thing in Forth that would be better? 22:44:22 Touchie subject or no one knows? 22:44:42 we're still waiting for the meta-compiled colorforth :) 22:44:43 guide 22:44:48 bah wrong window lol 22:45:07 I wonder if he bit off more than he can chew. 22:45:49 He thinks files are a bad idea, but I disagree. Blocks seem ackward for general apps and users to manipulate. 22:46:51 Then the code for his BMP reader/writer in the videos seems crazy, however short, but he noted that it has a bug. 22:47:12 did he fix it? :) 22:47:23 I don't know. :) And he doesn't like dealing w/ strings, so Forth lacks good string handling. 22:47:40 I think he said "They aren't very useful to me." When someone asked about strings. 22:48:49 I liked seeing Jeff Fox's GUI. The idea that it was so few words appealed to me, but now I wonder if it was inflexible and buggy. 22:48:59 jeff fox's gui? 22:49:19 --- join: slava_ (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 22:49:25 oops 22:49:31 --- part: slava_ left #forth 22:50:22 I'm looking for the link. 22:51:04 http://www.ultratechnology.com/scope.htm 22:51:52 looks cool 22:52:10 This I found introduced more doubt: "It is also because the thermal bug on F21d requires that a lot of the instructions be no-ops, no operation instructions." 22:52:19 (on that same page) 22:52:22 heh 23:00:44 What happened to itv? 23:06:22 The internet archive pages for it make it sound like a panacea. I'm left wondering why Moore, Fox, and others weren't able to do what they set out to do. 23:21:56 imaginator: on colorforth.com he sets his list of priorities for CF. first is TCP/IP support, but theres already several others working on it, so he decided to go with the second one, which is metacompiled CF. 23:22:11 imaginator: i assume he has a job which takes up alot of his time so he doesnt have much time to tinker with CF 23:26:14 The pages at colorforth.com I see haven't been updated in 2 years. 23:27:02 thats true too :/ 23:30:32 http://meme.b9.com/cview.html?channel=forth&date=040812 has some mention of the colorforth that can metacompile itself 23:33:30 --- join: qFox (C00K13S@82-169-140-229-mx.xdsl.tiscali.nl) joined #forth 23:41:27 ok, how's it work now? http://herkamire.com/w/services.html 23:43:45 in ie the line is broken at the top 23:45:00 slava u there ? 23:45:14 http://www.phil.uu.nl/~zee/herk.png 23:45:15 i figured out anotehr eason why 100 million cell sort takes so long 23:45:27 looks ok here (Mozilla 1.6, Windows XP) 23:45:34 thats 400 million bytes allocated for the buffers - damned if it aint mostly in SWAP lol 23:46:02 qFox: thanks 23:46:22 ie6 btw 23:55:02 hi kc5tja 23:59:59 --- log: ended forth/04.09.11