Just a humble squid that over produces slime. Buy my slime, its a medical wonder, cures halitosis, weird eye syndrome, bolding.

  • 8 Posts
  • 282 Comments
Joined 6 months ago
cake
Cake day: March 31st, 2024

help-circle




  • squid_slime@lemm.eeMtoLefty Memes@lemmy.dbzer0.comMake it happen
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    2 days ago

    Why are Americans eating so much beef?
    Advertising, paid for by the rich.
    Subsidization, this would have been lobbied for by the rich.
    Health advice. Being British, if I told my doctor I ate beef daily they’d strongly advice against my daily beef eating. In America health care is a for profit system, its not profitable to have healthy citizens.

    There’s probably a bunch more but case and point the issue is out of the hands of most working class American’s.


  • squid_slime@lemm.eeMtoLefty Memes@lemmy.dbzer0.comMake it happen
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    This probably does apply to smart phones, TV, consumer computers. Its hard to look at socialism and answer the question of what would it look like but at a guess: planned obsolescence would be out the window. No one is upgrading to an ai powered refrigerator because their old one is broke. No one is buying the newest smart phone because they’re older model died(Hyperbole), Yet we live in a system of yearly releases of similar tech that we mindlessly consume. This consumption is a by product of the capitalist system. Purely manufactured to make money.

    So in my imagined full communist world. We have phone. Phones that last longer, they are geared to be easily upgraded, dissembleable and actually future proofed unlike what we have now.



  • squid_slime@lemm.eeMtoLefty Memes@lemmy.dbzer0.comMake it happen
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    3
    ·
    3 days ago

    You know ‘dictator’ has a different meaning in socialist rhetoric. The ‘dictatorship of the proletariat’ is tongue-in-cheek, as in, the dictatorship of the proletariat is the reverse of the dictatorship of the bourgeoisie, which is the system we live under. A CIA document even mentioned the misconception of the Western world in regards to the USSR’s dictatorship.












  • this sounds very involved initially but hands off after the fact.

    Script
    #!/bin/bash
    
    cd ~/ || exit
    
    LATEST_KERNEL=$(curl -s https://www.kernel.org | grep -Po 'linux-\d+\.\d+\.\d+\.tar\.xz' | head -1)
    echo "Latest Kernel: $LATEST_KERNEL"
    
    KERNEL_URL="https://cdn.kernel.org/pub/linux/kernel/v6.x/$LATEST_KERNEL"
    echo "Kernel URL: $KERNEL_URL"
    
    DIR_NAME=$(echo $LATEST_KERNEL | sed 's/\.tar\.xz//')
    mkdir -p ./$DIR_NAME
    
    wget -O ./$DIR_NAME/$LATEST_KERNEL "$KERNEL_URL" || exit
    
    tar -xf ./$DIR_NAME/$LATEST_KERNEL -C ./$DIR_NAME || exit
    
    EXTRACTED_DIR=$(tar -tf ./$DIR_NAME/$LATEST_KERNEL | head -1 | cut -f1 -d"/")
    
    cd ./$DIR_NAME/$EXTRACTED_DIR || exit
    
    zcat /proc/config.gz > .config
    echo "Kernel config copied."
    
    if [ -f "drivers/gpu/drm/amd/display/dc/link/link_dpms.c" ] && [ -f "drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c" ]; then
        echo "Files found, proceeding with modifications..."
        
        sed -i 's/#define LINK_TRAINING_RETRY_DELAY 50 \/\* ms \*\//#include <linux\/module.h>\nstatic int link_training_retry_delay = 50;\nmodule_param(link_training_retry_delay, int, 0644);\nMODULE_PARM_DESC(link_training_retry_delay, "Delay between link training retries (ms)");\n#define LINK_TRAINING_RETRY_DELAY link_training_retry_delay/' drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c
        
        sed -i 's/#define LINK_TRAINING_ATTEMPTS 4/#include <linux\/module.h>\nstatic int link_training_attempts = 4;\nmodule_param(link_training_attempts, int, 0644);\nMODULE_PARM_DESC(link_training_attempts, "Number of link training attempts");\n#define LINK_TRAINING_ATTEMPTS link_training_attempts/' drivers/gpu/drm/amd/display/dc/link/link_dpms.c
        
    else
        echo "One or both files not found in the kernel source directory."
    fi
    
    echo "Kernel modifications complete."
    
    make olddefconfig || exit
    #make || exit
    
    echo "Compiling the kernel..."
    make -j16 || exit
    
    echo "Building modules..."
    sudo make modules_install || exit   
    
    echo "Installing the kernel..."
    sudo make install || exit   
    
    echo "Backing up existing kernel files..."
    sudo cp /boot/vmlinuz-linux /boot/vmlinuz-linux.bak
    sudo cp /boot/initramfs-linux.img /boot/initramfs-linux.img.bak
    
    echo "Moving new kernel files to /boot..."
    sudo cp ./arch/x86/boot/bzImage /boot/vmlinuz-fix
    sudo mkinitcpio -k $(make kernelrelease) -c /etc/mkinitcpio.conf -g /boot/initramfs-fix.img
    
    if [ -f /boot/vmlinuz-fix ] && [ -f /boot/initramfs-fix.img ]; then
        echo "Kernel and initramfs moved to /boot successfully."
    else
        echo "Failed to move kernel or initramfs files to /boot."
        exit 1
    fi
    
    echo "Kernel compilation, installation, and file replacement completed successfully."