3 ms·
Have you verified this hypothesis of yours? In my experience GPT4 especially can definitely "think through" what a program does and arrive at the result. Even
by jiggawatts 3y ago
Have you verified this hypothesis of yours? In my experience GPT4 especially can definitely "think through" what a program does and arrive at the result.
Even the significantly dumber ChatGPT can do this: https://chat.openai.com/share/3ee29c5e-6cb4-485f-b0b4-29e982463687 https://chat.openai.com/share/3ee29c5e-6cb4-485f-b0b4-29e982...
People mistakenly think that it's just regurgitating what it has seen on the web, but even if you don't prompt it in English it'll still a) solve the problem correctly, and b) do it in the target language: https://chat.openai.com/share/5b4e6e99-3fd8-4316-811c-2a9dec776f63 https://chat.openai.com/share/5b4e6e99-3fd8-4316-811c-2a9dec...
If that's not impressive enough, the ability to round-trip from script-to-poem and then poem-to-script should blow your mind:
What might have been the original PowerShell script snippet that inspired this poem?
Be as terse as possible, using aliases where possible.
In the realm of numbers, a tale begins,
Where $x is a 7, with a smile it grins.
From one to ten, the journey we thread,
Adding 7 to $x, step by step we tread.
$x grows and grows, like a tree so tall,
With every step, it doesn't fall.
Once the journey ends, not a moment we relax,
Triple the fun, we do with $x.
In this dance of digits and the arithmetic song,
With $x as our guide, we whirl along.
From start to finish, through each complex,
This is the tale of our friend, $x.
Here's a terse PowerShell script snippet that inspired the poem:
```powershell
$x = 7
1..10 | % {$x += 7}
$x *= 3
```