Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hyborg787
· 12y ago · 0 comments
Exercise for the reader, make a quine that still works even if any one character is mutated (by 1 bit or 8?), rather than deleted.
Comments
[–]
jxf
12y ago
That definitely wouldn't work with this strategy (two copies), because you wouldn't be able to tell which copy was the mutated one. Error-correcting codes to the rescue. :)
[–]
ojii
12y ago
couldn't one make 3 copies and take the two that are equal as non-modified?
[–]
eklavya
12y ago
So like above said, error correction for at most one error.
[–]
Guillaume86
12y ago
2 copy + one hash could do the same job?