• 1 Post
  • 14 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • Geminis answer: LLMs cannot perform the computations needed to find a SHA-512 hash with specific characteristics. This requires specialized hardware and software designed for brute-force calculations.

    ChatGPT: Yes, getting an AI to solve a problem like finding a SHA-512 hash with 12 leading zeros would indeed take a significant amount of computational time and resources. This is because it would require brute-forcing through a vast number of inputs to find one that produces the desired hash, which is a computationally intensive task.

    Finding a SHA-512 hash with 12 leading zeros involves iterating through possible inputs and hashing each one until you find a hash that starts with 12 zeros. This is a classic example of a proof-of-work problem, similar to what is used in cryptocurrency mining.

    Here’s a Python script that demonstrates how one might go about attempting this task:

    import hashlib
    
    def find_hash_with_leading_zeros(target_zeros):
        target = '0' * target_zeros
        nonce = 0
        
        while True:
            input_str = f'{nonce}'
            hash_result = hashlib.sha512(input_str.encode()).hexdigest()
            
            if hash_result.startswith(target):
                return nonce, hash_result
            
            nonce += 1
    
    # Example: Find a SHA-512 hash with 12 leading zeros
    target_zeros = 12
    nonce, hash_result = find_hash_with_leading_zeros(target_zeros)
    
    print(f'Nonce: {nonce}')
    print(f'Hash: {hash_result}')
    

    Running this script can take a very long time, especially as the number of leading zeros increases. The number of possible combinations grows exponentially, making it a time-consuming process.

    To actually implement this in a controlled and efficient manner, specialized hardware (like ASIC miners used in cryptocurrency mining) would be required. This is beyond the capabilities of typical general-purpose CPUs and would indeed tie up computational resources for a significant amount of time.




  • It’s a shitty Synology Nas with extreme slow speeds. That’s only amplified by slow upload speeds when I’m not in my local network.

    The main difference, and that’s also the difference to the way Gnome handles cloud storage like GDrive, is that I don’t want a network storage. I want integration into my file system, and I want automatic upload of what I’m working on. And I want the ability to say: this directory needs to be available offline. Without having to copy it from my nas to local storage and back again.





  • I don’t know, I’m not a political or diplomatic expert. But they took a bunch of hostages, made demands that they know will never be met by the Israeli government and won’t move away from them. On the other hand the Israeli government has been shitting on them for years, invaded their territory, makes impossible demands, and won’t move away from them either. Neither of them is right. But from the outside it doesn’t look like either party is really interested in a ceasefire.

    Note my comment is not about which party is morally right. An issue I, by the way, don’t really feel equipped to give a definite answer to either. But suffice to say I don’t sympathise with the murder of civilians neither by the IDF nor by Hamas.



  • pufferfisherpowder@lemmy.worldtoMemes@lemmy.mlMy wife every two weeks:
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    8 months ago

    If you think cleaning is picking up after yourself you haven’t actually cleaned. If I had just a tiny bit more disposable income I’d love to spend it on someone properly cleaning the apartment.

    Between two full time jobs, commute, and a toddler there is not much time, much less energy, to clean beyond a quick vacuum, and wipe down of the bathroom once a week.