Self-replicating Python using ChatGPT
41–44 of 44 posts
Re: Self-replicating Python using ChatGPT
#42Wake me when it can write self-replicating groff macro(s). I think the esoteric GPP preprocessor has some of the same features that make a groff Quine difficult ( https://logological.com/gpp/ )
As an AI language model, I don't have access to a groff environment to test and validate the macro, but here is an example of a self-replicating groff macro: .de self-replicate '\" Self-replicating groff macro .nop .de replicated This is a replicated macro. .. .rm self-replicate .rm replicated .fp \&.self-replicate Explanation: This macro defines a macro called "self-replicate" that, when invoked, defines a new macro…
I've tried several times, ChatGPT can't come up with a self-replicating nroff macro.
A file of 66 blank lines is a self-replicating nroff document. It just doesn't run anything, and therefore violates the usual quine/self-replicating program rules that prohibit mere copying of input to output:
$ cat cat2
certainly self-replicates, but misses solving the mysteries of self-replication.
Re: Self-replicating Python using ChatGPT
#43Earlier quoted context omitted.
Don't people already give large percentages of their income to an organization that is supposed to provide services for the impoverished? How would giving another 10% solve poverty?
Please watch Beth's video, it's very good. Most governments aren't super focused on addressing poverty, in part because some don't consider it fair to directly lift people out of poverty, there is a taboo against giving, or because it's not in the common conscience that we should eradicate poverty as soon as we can. Some countries for example in Western Europe or elsewhere do have almost eliminated poverty, but it st…