WYGIWYG

  • 0 Posts
  • 223 Comments
Joined 9 个月前
cake
Cake day: 2024年9月24日

help-circle
  • rumba@lemmy.ziptoPrivacy@lemmy.mlAI to make us more private?
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    13 小时前

    This is a dangerous proposition.

    When the dictatorship comes after you, they’re not concerned about the whole of every article that was written about you All they care about are the things they see as incriminating.

    You could literally take a spell check dictionary list, pull three words out of the list at random and feed it into a ollama asking for a story with your name that included the three words as major points in the story.

    Even on a relatively old video card, you could probably crap out three stories a minute. Have it write them in HTML and publish the site map into major search engines on a regular basis.

    EDIT: OK this was too fun not to do it real quick!

    ~ cat generate.py

    import random
    import requests
    import json
    import time
    from datetime import datetime
    
    ollama_url = "http://127.1:11434/api/generate"
    wordlist_file = "words.txt"
    
    with open(wordlist_file, 'r') as file:
        words = [line.strip() for line in file if line.strip()]
    
    selected_words = random.sample(words, 3)
    theme = ", ".join(selected_words)
    
    prompt = f"Write a short, imaginative story about a person named Rumba using these three theme words: {theme}. The first word is their super power, the second word is their kyptonite, the third word is the name of their adversary.  Return only the story as HTML content ready to be saved and viewed in a browser."
    
    response = requests.post(
        ollama_url,
        headers={"Content-Type": "application/json"},
        data=json.dumps({"model": "llama3.2","prompt": prompt})
    )
    
    story_html = ""
    for line in response.iter_lines(decode_unicode=True):
        if line.strip():
            try:
                chunk = json.loads(line)
                story_html += chunk.get("response", "")
            except json.JSONDecodeError as e:
                print(f"JSON decode error: {e}")
    
    
    
    timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
    filename = f"story_{timestamp}.html"
    
    with open(filename, "w", encoding="utf-8") as file:
        file.write(story_html)
    
    print(f"Story saved as {filename}")
    
    
    
    

    ~ cat story_20250630_130846.html

    <!DOCTYPE html>
    <html>
    <head>
    <title>Rumba's Urban Adventure</title>
    <meta charset="UTF-8">
    <style>
    body {font-family: Arial, sans-serif;}
    </style>
    </head>
    <body>
    
    <h1>Rumba's Urban Adventure</h1>
    
    <p>Rumba was a master of <b>slangs</b>, able to effortlessly weave in and out of conversations with ease. Her superpower allowed her to manipulate language itself, bending words to her will. With a flick of her wrist, she could turn a phrase into a spell.</p>
    
    <p>But Rumba's greatest weakness was her love of <b>bungos</b>. The more she indulged in these sweet treats, the more her powers wavered. She would often find herself lost in thought, her mind clouded by the sugary rush of bungos. Her enemies knew this vulnerability all too well.</p>
    
    <p>Enter <b>Carbarn</b>, a villainous mastermind with a personal vendetta against Rumba. Carbarn had spent years studying the art of linguistic manipulation, and he was determined to exploit Rumba's weakness for his own gain. With a wave of his hand, he summoned a cloud of bungos, sending Rumba stumbling.</p>
    
    <p>But Rumba refused to give up. She focused her mind, channeling the power of slangs into a counterattack. The air was filled with words, swirling and eddying as she battled Carbarn's minions. In the end, it was just Rumba and Carbarn face-to-face.</p>
    
    <p>The two enemies clashed in a spectacular display of linguistic fury. Words flew back and forth, each one landing with precision and deadliness. But Rumba had one final trick up her sleeve - a bungo-free zone.</p>
    
    <p>With a burst of creative energy, Rumba created a bubble of pure slangs around herself, shielding her from Carbarn's attacks. The villain let out a defeated sigh as his plan was foiled once again. And Rumba walked away, victorious, with a bag of bungos stashed safely in her pocket.</p>
    
    </body>
    </html>
    
    

    Interesting that it chose female rather than male or gender neutral. Not that I’m complaining, but I expected it to be biased :)








  • Those cheaper drives scare me.

    What grinds my gears is you can rent enough compute to handle this for $30 a month. That covers redundant internet, staff, fire suppression, generators, air conditioning.

    I want to couple that with a chassis full of sata. Obviously more power and heat but not 16 times that.

    You can get 2u of colocation for about a hundred bucks per month. I’ve been pondering for a few years building out a 4u chassis and doing a friends and fam storage co-op. You could do a 208tb (real 189) z2 with two parity drives for around $4,500 bucks plus 100-130 a month.

    The current pricing is all based on SAS. Even the companies that aren’t using SAS are still charging like it is.




  • Many times throughout my life, what would seem like a reasonably easy question to answer has changed dramatically.

    30 years ago you could look at data collection and go there’s no way that they could store a meaningful amount of data about everyone.

    20 years ago, you could look at data collection and go there’s no way they could have the contents of every phone call It’s just targeted it’s not a big deal

    We are at a point now where everything you ever wrote or said could be thrown into a model with such unimaginable levels of lossy compression that they could simply ask it if you are the kind of person who is into whatever the future administration deems as unacceptable and deny you access to things. All you need is a fascist regime or a dictatorship installed and all of a sudden anything you ever did can be used as grounds to lock you up.

    On a governmental budget, it wouldn’t even be that expensive and we’re just at the beginning of this.

    We have seen that governments can change quickly. We know the data collection is affordable and can be permanent.

    Certainly some people privacy-minded to the point of compulsion. But I can’t say that anyone is wrong to seek extreme levels of privacy based on trends and capabilities.

    The “leave your cell phone at home and make sure somebody opens your apps and uses them” people aren’t anywhere near as crazy as they used to sound




  • The Crux of the standard US problem is that nothing is standard.

    So you’ll have one person in a county that has its shit together swearing that we’re set and another person from a county that doesn’t have potable water asking for advice.

    The capitalist answer is some store have decided there’s money in getting people in to recycle so voluntarily corporate chain stores are the closest we have to a country wide state of handled it.






  • Your character purchased and ate bad fish the night before, and you have uncontrollable gas, which quickly turns to greasy, putrid diarrhea. As the pub bouncer tosses you out the door for smelling like raw sewage, a micrometeorite hits you in the eye and lodges itself into your brain, disrupting your medula. As you lay there struggling to breate, you shake yourself awake. It would seem you fell asleep at the table and had an awful dream.

    Sorry, what were you saying about not wanting to stick around?