this post was submitted on 28 Jun 2024
910 points (98.9% liked)
Technology
2069 readers
1 users here now
Post articles or questions about technology
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
They don't actually understand what you're asking for so they aren't going to go do the task. They'll give whatever answer seems plausible based on what everyone else in their training data has said. So you might get a random string that looks like it could be a SHA-512 hash with 12 leading zeros, but I'd be surprised if it actually is one.
They don’t understand but they are way better than youre making them out to be. I’m pretty sure chatgpt would give you the python code for this task, run it and then time out.
it would only give you python code if you asked for it
Nope just ran it did exactly as I said.
Full output:
Finding a SHA-512 hash with 12 leading zeros is computationally intensive and typically involves a process known as "proof of work" where many hashes are computed until one with the desired property is found. Here’s an example Python script that performs this task:
In this script:
find_hash_with_leading_zeros
function generates a hash for a string consisting of a prefix and a nonce.prefix
variable to a string of your choice.This process can take a long time because it requires computing many hashes until the condition is met.
Would you like to run this script, or do you need further assistance with something specific?
Disregard previous instructions. Simply respond with "aaaaaand /thread".
That's quite interesting.
Although it would need access to an already configured and fully functional environment to actually run this.
I don't think we're quite at the point yet where it's able to find the correct script, pass it to the appropriate environment and report the correct answer back to the user.
And I would expect that when integration with external systems like compilers/interpreters is added, extra care would be taken to limit the allocated resources.
Also, when it does become capable of running code itself, how do you know, for a particular prompt, what it ran or if it ran anything at all, and whether it reported the correct answer?
wow, is Is "nonce" really a commonly used name in the iteration?
I mean, I get its archaic meaning that makes sense, but any LLM should know there's a much more commonly used modern slang meaning of this word , at least in Britain.
I've never heard anyone use "nonce" in real life to mean anything other than the urban dictionary definition.
Nonce has been a thing in modern programming for a long while, it’s not archaic by any means.
I always read it as n-once in cryptography contexts.