From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: f8362,6acc1b7b08ef1c27 X-Google-Thread: 109d8a,6acc1b7b08ef1c27 X-Google-Thread: 1094ba,6acc1b7b08ef1c27 X-Google-Thread: 1164f8,6acc1b7b08ef1c27 X-Google-Thread: 108f76,6acc1b7b08ef1c27 X-Google-Attributes: gidf8362,gid109d8a,gid1094ba,gid1164f8,gid108f76,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Gib Bogle Newsgroups: comp.theory,sci.math,comp.lang.fortran,comp.sys.dec,rec.arts.sf.written Subject: Re: The Helsinki Code, Part 3 Date: Mon, 19 Dec 2005 12:26:55 +1300 Organization: Ihug Ltd Message-ID: References: <1134912359.751859.157810@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: 203.118.188.94 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1134948278 10045 203.118.188.94 (18 Dec 2005 23:24:38 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Sun, 18 Dec 2005 23:24:38 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.theory:4371 sci.math:104429 comp.lang.fortran:11811 comp.sys.dec:1481 rec.arts.sf.written:95115 Soren Kuula wrote: > James Giles wrote: > >> Well, define "easily". Unless it's a lossy compression >> algorithm, you would have to compare the input to the >> Bible in order to verify that a Bible-like document >> doesn't get accidentally compressed to the same >> value as the bible itself. Probably this would involve >> having a copy of the Bible in the compression/decompression >> algorithm itself. Since any other person later decompressing >> the compressed text would need the program, and the program >> contains an uncompressed Bible (or, one compressed by >> some other non-lossy technique), in what way have you saved >> any space? > > > If it's the Bible, output a 0. Stop. > > If not, output a 1, followed by the input (possibly compressed in some > other way, doesn't matter). OK, we have compression. Now decompression?