Liste des Groupes | Revenir à c theory |
Ben Bacarisse <ben@bsb.me.uk> writes:There is self-reference and then there is pathological self-reference.Richard Heathfield <rjh@cpax.org.uk> writes:There's a program called "cksum" that computes a checksum of its inputOn 04/05/2025 23:34, Mr Flibble wrote:>The function is neither computable nor incomputable because there is no>
function at all, just a category error.
It's a point of view.
It's a point of view only in the sense that there is no opinion so daft
that it's not someone's point of view. The technical-sounding waffle
about it being a "category error" is simply addressed by asking where
the supposed category error is in other perfectly straightforward
undecidable problems. For example, whether or not a context-free
grammar is ambiguous or not, or the very simple to pose Post
correspondence problem.
(not a very secure one, but that's irrelevant). I wonder if Mr Flibble
would consider applying cksum to its own source code, or to its own
executable file, would be a "category error". (The second number is the
size in bytes of the input.)
$ cksum /usr/bin/cksum
1102087032 104984 /usr/bin/cksum
$ cksum src/cksum.c
1844242843 7449 src/cksum.c
Les messages affichés proviennent d'usenet.