(_____(_____________(#)~~~~~~

  • 1 Post
  • 91 Comments
Joined 4 years ago
cake
Cake day: April 11th, 2022

help-circle







  • It’s crazy how many people are just OK with running completely proprietary code that monitors everything that happens on the machine and phones home all the time, all with the promise to “catch cheaters”.

    Fortunately every game I’ve seen so far with such malware is just a generic competitive multiplayer dopamine farm that targets the Streamer crowd.

    “But all my friends are playing it!” - Is it really worth it to run omnipresent malware on your machine just to play the currently trending game for a few weeks until you move on to the next?









  • You could spend your limited time and energy setting up an emulator of the powerPC architecture, or you could buy it at pretty absurd prices — I checked ebay, and it was $2000 for 8 GB of ram…

    You’re acting as if setting up a ppc64 VM requires insane amounts of effort, when in reality it’s really trivial. It took me like a weekend to figure out how to set up a PowerPC QEMU VM and install FreeBSD in it, and I’m not at all an expert when it comes to VMs or QEMU or PowerPC. I still use it to test software for big endian machines:

    start.sh
    #!/usr/bin/env sh
    
    if [ "$(id -u)" -ne 0 ]; then
        printf "Must be run as root.\n"
        exit 1
    fi
    
    # Note: The "-netdev" parameter forwards the guest's port 22 to port 10022 on the host. 
    # This allows you to access the VM by SSHing the host on port 10022.
    qemu-system-ppc64 \
        -cpu power9 \
        -smp 8 \
        -m 3G \
        -device e1000,netdev=net0 \
        -netdev user,id=net0,hostfwd=tcp::10022-:22 \
        -nographic \
        -hda /path/to/disk_image.img \
    #    -cdrom /path/to/installation_image.iso -boot d
    

    Also you don’t usually compile stuff inside VMs (unless there is no other way). You use cross-compilation toolchains which are just as fast as native toolchains, except they spit out machine code for the architecture that you’re compiling for. Testing on real hardware is only really necessary if you’re like developing a device driver, or the hardware has certain quirks to it that are just not there in VMs.





  • One time I asked DeepSeek for guidance on a more complex problem involving a linked list and I wanted to know how a simple implementation of that would look like in practice. The most high level I go is C and they claim it knows C, so I asked it to write in the C language. It literally started writing code like this:

    void important_function() {
        // important_function code goes here
    }
    
    void black_magic() {
        // Code that performs black magic goes here.
    }
    

    I tried at least 2 more times after that and while it did actually write code this time, the code it wrote made no sense whatsoever. For example one time it started writing literal C# in the middle of a C function for some reason. Another time it wrongly assumed that I’m asking for C++ (despite me explicitly stating otherwise) and the C++ it produced was horrifying and didn’t even work. Yet another time it acted like the average redditor and hyper focused on a very specific part of my prompt and then only responded to that while ignoring my actual request.

    I tried to “massage” it a lot in hopes of getting some useful information out of it but in the end I found that some random people’s Git repos and Stackexchange questions were way more helpful to my problem. All of my experiences with LLMs have been like this thus far and I’ve been messing with them for 1+ years now. People claim they’re very useful for writing repetitive or boiler plate code but I am never in a position where I’d want or need that. Maybe my use cases are just too niche lol.