Simon Willison on Nostr: ChatGPT Code Interpreter has a C compiler (gcc) but doesn't really like using it - ...
ChatGPT Code Interpreter has a C compiler (gcc) but doesn't really like using it - you have to jailbreak it a tiny bit to get it to admit that it can compile code, usually I start by getting it to run "gcc --version" to prove to it that the binary exists and it can execute it
Published at
2024-03-23 16:21:46Event JSON
{
"id": "d18df1674f76f18451ca6251872c8df75d8f5d56a25896ae51f7c2fad6bfee25",
"pubkey": "8b0be93ed69c30e9a68159fd384fd8308ce4bbf16c39e840e0803dcb6c08720e",
"created_at": 1711210906,
"kind": 1,
"tags": [
[
"e",
"ab5d50408b27a9233f1dc436abfdbf1f75cedda6b17ac3dbc8ee2bc8881859fa",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fedi.simonwillison.net/users/simon/statuses/112145917981917130",
"activitypub"
]
],
"content": "ChatGPT Code Interpreter has a C compiler (gcc) but doesn't really like using it - you have to jailbreak it a tiny bit to get it to admit that it can compile code, usually I start by getting it to run \"gcc --version\" to prove to it that the binary exists and it can execute it",
"sig": "1428edf7e28077148c7a72948ee64f88d8f5c7f2da16bb0571f651aa6a229b49be3da55e4b40330940778fb27e51bb0879c3605877e51e66cf85d05572720431"
}