Article View: comp.lang.java
Article #450PostScript slander exposed! (hee hee)
From: William J. Evans
Date: Mon, 29 Jan 1996 00:00
Date: Mon, 29 Jan 1996 00:00
42 lines
2531 bytes
2531 bytes
Zenin <zenin@best.com> wrote:
> HTML *is* a language. It's not a "programing" language any more
> then PostScript, but it is a language.
Who says PostScript isn't a programming language? Send the following
to your PostScript printer, and then hold the output page up to a
mirror. Remember that each ^D (the one at the beginning and the one
at the end) is <Ctrl>D, a single character.
%!PS-Adobe-1.0
[ 1 neg 0 0 1 8.5 72 mul 0 ] concat
/Courier findfont 10 scalefont setfont
/s80 80 string def
72 710 moveto
(The square root of 2, computed with the native sqrt function, is ) show
2 sqrt s80 cvs show
(.) show
72 700 moveto
(The square root of 2, approximated so as to maximize ugliness, is ) show
/result 1.0 def
/increment 1.0 def
/madness 100 def
0 1 madness
{
pop
result increment add dup mul 2 lt
{
/result result increment add def
} if
/increment increment 2 div def
} for
result s80 cvs show
(.) show
showpage
-- Captain Nitpick
Bill Evans P.O. Box 4829 Irvine, CA 92716 (714)551-2766 _ /| ACK!
Email-To: wje@acm.org -- PGP encrypted mail preferred. -- \`o_O' /
Finger wje@netcom.com for public key. Key #: 441AFEA5 =( )=
PGPprint: FB D0 1C 1D EF DC 26 BA B3 9E 84 0B 40 D6 59 9C U
Technical Details
Message-ID:
<wjeDLx5Gp.26H@netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4egq8b$6q4@shellx.best.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1051ef,ce4e8a828b88e701 X-Google-Attributes: gid1051ef,public X-Google-Thread: 114813,ce4e8a828b88e701 X-Google-Attributes: gid114813,public X-Google-Thread: f4600,ce4e8a828b88e701 X-Google-Attributes: gidf4600,public X-Google-Thread: f5d71,ce4e8a828b88e701 X-Google-Attributes: gidf5d71,public X-Google-Thread: 10ed7b,ce4e8a828b88e701 X-Google-Attributes: gid10ed7b,public X-Google-Thread: 11488e,ce4e8a828b88e701 X-Google-Attributes: gid11488e,public X-Google-Thread: fe74c,ce4e8a828b88e701 X-Google-Attributes: gidfe74c,public X-Google-Thread: 10da0c,ce4e8a828b88e701 X-Google-Attributes: gid10da0c,public From: wje@netcom.com (William J. Evans) Subject: PostScript slander exposed! (hee hee) Date: 1996/01/29 Message-ID: <wjeDLx5Gp.26H@netcom.com> X-Deja-AN: 136997565 sender: wje@netcom8.netcom.com references: <4egq8b$6q4@shellx.best.com> organization: better, but not good enough yet reply-to: wje@acm.org newsgroups: comp.lang.java,comp.sys.sinclair,rec.humor,talk.bizarre,best.www,comp.infosystems.www.misc,alt.culture.www,comp.infosystems.www.authoring.misc,comp.infosystems.www.users,alt.www.hotjava,comp.infosystems.www.authoring.misc,comp.infosystems.www