diablexical

joined 2 years ago
[–] [email protected] 6 points 10 months ago (7 children)

Nope just ran it did exactly as I said.

gpt output

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:

import hashlib
import itertools

def find_hash_with_leading_zeros(prefix, leading_zeros=12):
    target = '0' * leading_zeros
    for nonce in itertools.count():
        text = prefix + str(nonce)
        hash_result = hashlib.sha512(text.encode()).hexdigest()
        if hash_result.startswith(target):
            return text, hash_result

prefix = "your_prefix_here"
result_text, result_hash = find_hash_with_leading_zeros(prefix)
print(f"Text: {result_text}")
print(f"SHA-512 Hash: {result_hash}")

In this script:

  • The find_hash_with_leading_zeros function generates a hash for a string consisting of a prefix and a nonce.
  • It iterates through nonces (starting from 0) until it finds a hash with the specified number of leading zeros.
  • Adjust the 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?

[–] [email protected] 7 points 10 months ago (9 children)

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.

[–] [email protected] 3 points 10 months ago

That’s by intentional design choice though.

[–] [email protected] 16 points 10 months ago (3 children)

This may be helpful from a cost / gram of protein but its a bit misleading on the grams protein/ 100 g axis for beans - those are the dry bean numbers.

[–] [email protected] 13 points 11 months ago (5 children)

Game theory is a tough subject, but it would be worth it for you to study to understand how you are acting against your less preferred candidate and helping what should be your least preferred candidate (assuming your ranked choice has the republican nominee below the democratic nominee).

Keep voting for 99% … gets us to the same place

You make it seem as though your protest vote does not also get us to the same place? Many voters have shared your mentality and voted accordingly for the past 200+ years and it’s not made a difference, what makes you think this time things will change?

[–] [email protected] 16 points 1 year ago (1 children)

When Pubs neglected their constitutional duty to appoint Garland

[–] [email protected] 6 points 1 year ago (1 children)

+1 for obsidian! Have you tried out text generator plugin? Uses GPT api's. Haven't gotten into D&D but seems like it'd be a great tool for DMs to help make content.

[–] [email protected] 2 points 1 year ago

Non-paywalled link?

[–] [email protected] 19 points 1 year ago* (last edited 1 year ago)

Looks like it just matches long term inflation, beats 2023 inflation. Win for workers.

During the observation period from 1960 to 2022, the average inflation rate was 19.0% per year. Overall, the price increase was 1.36 million percent. An item that cost 100 pesos in 1960 costs 1.36 million pesos at the beginning of 2023. For October 2023, the year-over-year inflation rate was 4.3%.

[–] [email protected] 2 points 1 year ago

The author did a poor job of explaining that. He’s referencing the thought experiment of a businessman instructing a super effective AI to make paperclips. Given a terse enough objective and an effective enough AI, one can imagine a scenario in which the businessman and the whole world in fact are turned into paperclips. This is obviously not the businessman’s goal, but it was the instruction he gave the AI. The implication of the thought experiment is that AI needs guardrails, perhaps even ethics, or else it can unintentionally result in a doomsday scenario.

[–] [email protected] 5 points 2 years ago

Congress already passed the budget. This is just the party of “government doesn’t work” trying to prove it can’t work by breaking things.

view more: ‹ prev next ›