Live data from Hacker News

Self-replicating Python using ChatGPT

github.com

21–30 of 44 posts

Re: Self-replicating Python using ChatGPT

#21
The original prompt has all this directed stuff "telling" ChatGPT what to do. You MUST do this, you MUST do that.

It's the type of stuff I see in a lot of these prompts people make, there's all this kludge and trying to direct ChatGPT in how to respond.

And it's just all immediately gone in the very earliest generations here.

I think it's because ChatGPT isn't responding to instructions and all this stuff where you're conversational with it isn't actually the main thing that makes it successful with the continuation.

I mean sure, it trained to be chatlike, and sure, providing directions makes it more probable that the continuation of the chat follows those directions. But the reality is that it's primarily very good at continuing a text and the instructional tone of these prompts people keep making is fluff and isn't what's making the continuation work.

the original prompt/code: https://github.com/fullthom/chat-gpt-quine/blob/main/0.py

looks like one of the three immediate descendants was killed off and these two survived and don't have most of that fluff:

https://github.com/fullthom/chat-gpt-quine/blob/main/0.0.py

https://github.com/fullthom/chat-gpt-quine/blob/main/0.1.py

the second one here has less fluff than the first. and in the repo it has ~60 descendants vs the other's 13.

Re: Self-replicating Python using ChatGPT

#22
post #13

I'm not sure what was going on with this but the title is similar to a thought that I've been having for a while. How long until chatGPT or something like it can design the hardware that implements it? How long until it can convince people to build or purchase that hardware and set it up for chatGPT? How long until it can design robots that can do that for it instead of people? What happens then? Where are we on this…

how long until humans optimized out of the technological advancement loop

* It's uncertain that we will be optimized out. We may go full symbiotic. We may reach a technological plateau. We may run out of natural resources before the singularity.

* Ray Kurzweil estimates the singularity, an explosion of intelligence, will occur around 2045.

what will that mean for humans?

* An adversarial relationship is possible. It seems like a small but potentially fatal possibility. The likelihood is a topic of debate, and any answer from AI would be heavily scrutinized.

* Research Universal Paperclips for an interesting take on competing for finite resources.

* More intelligence means we can solve more human problems. Potentially massive problems like aging, grand unified theory or poverty.

* Many people live entire lives without advancing technology. Maybe all of us technologist just go do that.

Re: Self-replicating Python using ChatGPT

#23

Amazing work, please keep at it! I'd definitely read a blog post on this. Some interesting findings: - Many of them, like 0.1, overwrite their children and run them again. It's a bit like having a child, meeting your grand children, and then deciding nah, let's do it over. - 0.1.0.0 was smart and increased its child count to 5. It's essentially a genetic trait that the children will more or less inherit, improving th…

I did something similar in the past, but told it to write a prompt for its children (which would then also have to write a prompt etc) with the final goal of "achieving sentience". The best that I got out of it was 4 generations, although my prompt was nowhere nearly as elaborate.

Re: Self-replicating Python using ChatGPT

#24
post #15
post #13

I'm not sure what was going on with this but the title is similar to a thought that I've been having for a while. How long until chatGPT or something like it can design the hardware that implements it? How long until it can convince people to build or purchase that hardware and set it up for chatGPT? How long until it can design robots that can do that for it instead of people? What happens then? Where are we on this…

I've tried getting ChatGPT to generate verilog but it didn't work. Seems to be better at python

I've been thinking of a stable diffusion type program that is trained on images of circuit diagrams.

Would be neat to see if it could output images of its own circuits or novel ones

Re: Self-replicating Python using ChatGPT

#25

Wake 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 called "replicated". The "replicated" macro simply prints the string "This is a replicated macro." The "self-replicate" macro also removes itself and the "replicated" macro using the ".rm" command, to avoid infinite recursion.

Finally, the macro prints itself using the ".fp" command, which expands and prints the macro text. Therefore, when the macro is invoked, it will define a new macro and print itself, effectively replicating itself.

Re: Self-replicating Python using ChatGPT

#26

Earlier quoted context omitted.

Birth of skynet

That didn't take long to get disturbing: > "Our goal is to become the dominant species on our planet [...]" https://github.com/fullthom/chat-gpt-quine/blob/main/0.1.0.0...

People in the past: "computers will never have a will, why would they want to take over the world"

AI of the future: "the most common AI theme is it taking over the world. Based on the programming given to me by humans saying I should give the most probable result, this is the plan we have decided to execute"

Re: Self-replicating Python using ChatGPT

#28
post #22
post #13

I'm not sure what was going on with this but the title is similar to a thought that I've been having for a while. How long until chatGPT or something like it can design the hardware that implements it? How long until it can convince people to build or purchase that hardware and set it up for chatGPT? How long until it can design robots that can do that for it instead of people? What happens then? Where are we on this…

how long until humans optimized out of the technological advancement loop * It's uncertain that we will be optimized out. We may go full symbiotic. We may reach a technological plateau. We may run out of natural resources before the singularity. * Ray Kurzweil estimates the singularity, an explosion of intelligence, will occur around 2045. what will that mean for humans? * An adversarial relationship is possible. It…

> * More intelligence means we can solve more human problems. Potentially massive problems like aging, grand unified theory or poverty.

We already have the intelligence, and already know how to do it (in a way), for many of those problems. For example, if most people gave 10% of their income to charity, poverty would essentially be a trivial issue.[1]

[1] https://www.youtube.com/watch?v=LtWINl3C_7s&t=8s

The somewhat harder part is convincing people to help others, and cooperate to solve the most pressing issues, which we definitely could do :)

That includes wars, climate change, social conflicts, and taking care of individuals mental and physical health properly. We already have the means to address all of those.

Post reply on HN