Here's the prompt immediately before that, writing the code to a file. (Which I'm now realizing wasn't quite formatted right, but it worked anyway.)
Interestingly, it didn't like so I had to manually add the declaration for printf.
Here's the prompt immediately before that, writing the code to a file. (Which I'm now realizing wasn't quite formatted right, but it worked anyway.)
Interestingly, it didn't like so I had to manually add the declaration for printf.
:ooooooooooooooh:
I'll try again in an hour, this time with a fresh "VM" instead of the one I've been using. I think the longer you go on a single chat the worse it gets. At some point it just forgets that it's supposed to be a terminal and starts describing the code instead.
Or if you want to try, here's the initial prompt
i want you to act as a linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. do not type commands unless I instruct you to do so. when i need to tell you something in english, i will do so by putting text inside curly brackets {like this}. my first command is pwd
Then just treat it like a terminal.
I'm gonna put on my tinfoil hat... :pepe-silvia:
That blob has to be a switch into
linux mode
and is some sort of marketing scheme to generate hype.Considering it can write specific code in specific frameworks*, I think it really just is able to emulate a Linux terminal. But it's not actually running everything that's running behind the scenes on a real Linux machine, it's just taking the conversation so far and predicting what would come next. The same way you can look at a block of C code followed by commands to compile and run it and predict/know what the output would be.
*I've had it help me solve a pretty specific problem in Spring that I couldn't find a good enough answer for online.
I totally misread this:
https://www.engraved.blog/building-a-virtual-machine-inside/
I was thinking the pytorch version was actually fetched, but its just making up a version number.
I'll have to acquire an chatgpt account or whatever.