TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: mdj
date: 2009-02-01 23:24:48
subject: Re: one-line programs

On Feb 1, 12:12=A0pm, "Michael J. Mahon"  wrote:

> > I remember typing in one example that rendered the Mandelbrot set in
> > hires, then waiting the 5-6 hours for it to render, just because of
> > found it ingenious :-)
>
> A direct evaluation of the Mandelbrot set at hires takes about seven
> hours whether it's a one-liner or not. =A0;-) =A0I use it as a demonstrat=
ion
> of "embarrassing parallelism" for the AppleCrate--in fact, I
used it at
> KansasFest (though the demo was interrupted by my zapping it with ESD!).

Yikes! I hope the zap only interrupted the network or reset a host;
I'd not enjoy the job of replacing a shift register on slave 10 :-)

> With 16 processors running it, and "jobs" assigned by line number, it
> get linear speedup, and runs in about 26 minutes--so the plan was that
> it would finish by around the middle of my talk. =A0;-)

Fun to watch it render too, I bet!

> > These days we havehttp://en.wikipedia.org/wiki/The_International_Obfusc=
ated_C_Code_Contest
> > which carries on 'spirit' of the exercise. I however always thought it
> > would be far more fun to have an International self-documenting code
> > contest ;-)
>
> Hear, hear!
>
> I think that Knuth's Literate Programming was the best example of
> code documentation that I've ever seen. =A0Dijkstra used to say that
> any functioning code was like the tip of an iceberg in comparison to
> the large amount of documentation required to justify it. =A0That sounds
> about right, and would translate to 250-500 lines of commentary for
> every 50 lines of code.

Sounds right to me too. I've not had a change to look much at Literate
Programming, but it's on that heap-based back burner somewhere ...

Matt
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 128/2 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.