Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)PU
Posts
87
Comments
89
Joined
2 yr. ago

  • You are overcomplicating the issue by suggesting a "favorite" option when there is already a "subscribe" option. At the very least, consider proposing something distinct that helps users discover more of the small communities they are subscribed to, rather than suggesting something that has already been implemented.

  • Although there were some proposed solutions for this issue, when scaled sort was implemented, @nutomic@lemmy.ml closed all related issues, even when they weren't being solved by scaled sort. So, it's clear that since there are no longer any open issues about this, no one is going to care about solving it. Therefore, it seems like the only option is to accept this fact and learn to cope with it. At this point, I've come to terms with the fact that Lemmy is mainly a platform for shitposts, while Reddit is for everything else. When I look at the feed, I mostly see memes, US politics, and some tech.

    Custom feeds may not be the most efficient solution due to scalability concerns. However, an alternative approach could be to make the metadata about the posts (votes, comments, etc) available through an API call. This would enable users to develop their own algorithms for content discovery and potentially create a more personalized experience. Users could then implement, share and install these algorithms using tools like Tampermonkey or other userscript managers.

  • It certainly doesn't help that Lemmy had and still has absolutely no sensible way to actually surface niche communities to its subscribers. Unlike Reddit, it doesn't weigh posts by their relative popularity within the community but only by total popularity/popularity within the instance. There's also zero form of community grouping (like Reddit's multireddits) - all of which effectively eliminates all niche communities from any sensible main view mode and floods those with shitty memes and even shittier politics only. This pretty much suffocated the initially enthusiastic niche tech communities I had subscribed to. They stood no chance to thrive and their untimely death was inevitable.

    There are some very tepid attempts to remedy this in upcoming Lemmy builds, but I fear it's too little too late.

    I fear that Lemmy was simply nowhere near mature enough when it mattered and it has been slowly bleeding users and content ever since. I sincerely hope I'm wrong, though.

    source

  • While yay doesn't have a direct --needed option like pacman, you can still achieve a similar result using a loop. Here's how you can install packages from a list, skipping those that are already installed:

    1. First, export the list of installed packages from the source system:
     bash
        
    yay -Qqe > installed_packages.txt
    
      
    1. Transfer the "installed_packages.txt" file to the new Manjaro system.
    2. On the new system, use the following bash script to install packages:
     bash
        
    #!/bin/bash
    
    # Function to print a separator line
    print_separator() {
        echo "========================================"
    }
    
    # Function to handle Ctrl+C
    ctrl_c() {
        echo
        echo "Skipping current package..."
        return 1
    }
    
    # Set up trap for Ctrl+C
    trap ctrl_c INT
    
    # Read the file line by line
    while IFS= read -r package; do
        print_separator
        echo "Processing package: $package"
        print_separator
    
        if ! yay -Qi "$package" &> /dev/null; then
            echo "Installing $package..."
            echo "Press Ctrl+C to skip this package."
            print_separator
            if yay -S --noconfirm "$package"; then
                echo "Installation of $package completed."
            else
                if [ $? -eq 130 ]; then
                    echo "Installation of $package skipped."
                else
                    echo "Installation of $package failed."
                fi
            fi
        else
            echo "$package is already installed. Skipping."
        fi
    
        echo  # Print an empty line for better readability
    done < installed_packages.txt
    
    # Remove the trap
    trap - INT
    
    print_separator
    echo "All packages processed."
    print_separator
    
      

    This script does the following:

    • It reads each package name from the "installed_packages.txt" file.
    • For each package, it checks if it's already installed using yay -Qi.
    • If the package is not installed, it installs it using yay -S --noconfirm.
    • If the package is already installed, it skips it and prints a message.

    Save this script as "install_packages.sh" and make it executable:

     bash
        
    chmod +x install_packages.sh
    
      

    Then run the script:

     bash
        
    ./install_packages.sh
    
      

    Important considerations:

    • This method will install packages one by one, which may be slower than installing them all at once.
    • The --noconfirm option is used to avoid prompts, but be cautious as it will automatically accept all default options.
    • Some AUR packages might still require manual intervention during the build process.
    • Be aware that not all packages may be compatible with the new system, especially if there are significant differences in hardware or software versions.
    • This method only installs packages, not their configurations. You'll need to transfer configuration files separately.

    By using this approach, you can replicate the functionality of the --needed option while using yay to install packages from both official repositories and the AUR[2].

    Citations: [1] https://www.hostzealot.com/blog/how-to/installing-yay-aur-helper-on-arch-linux-a-step-by-step-guide [2] https://www.reddit.com/r/archlinux/comments/jtaraj/is_there_a_way_to_automate_pkg_install_with_yay/ [3] https://linuxcommandlibrary.com/man/yay [4] https://stackoverflow.com/questions/53921707/loop-in-order-to-load-or-install-packages-does-not-work-what-am-i-doing-wrong [5] https://forum.manjaro.org/t/force-yay-to-rebuild-aur-package-s/141726 [6] https://es.hostzealot.com/blog/how-to/instalacion-de-yay-aur-helper-en-arch-linux-guia-paso-a-paso [7] https://xerolinux.xyz/posts/install-yay-paru/ [8] https://bbs.archlinux.org/viewtopic.php?id=281104

  • Asklemmy @lemmy.ml

    What do you like to do in your free time?

    No Stupid Questions @lemmy.world

    What future AI applications are you most excited about?

    Food and Cooking @beehaw.org

    Andalusian olive oil cake

    Reddthat Community and Support @reddthat.com

    How do I block an instance?

    No Stupid Questions @lemmy.world

    Seeking Assistance to Download and Listen to a Complete Fanfic from FicWad

    No Stupid Questions @lemmy.world

    What are the best features of Lemmy that aren't available in Reddit?

    No Stupid Questions @lemmy.world

    What is the best way to clean burnt-on splatters from a chrome oven without damaging the chrome?

    ShareGPT @reddthat.com

    List best teeth whitening tips, does uv light work?

    No Stupid Questions @lemmy.world

    How long do you think until AI writes and debugs code better than the average programmer?

    No Stupid Questions @lemmy.world

    How can I prevent some Android apps from updating when I update all apps using Google Play Store?

    No Stupid Questions @lemmy.world

    Is there something that helps digest a cheese pizza?

    No Stupid Questions @lemmy.world

    What Are Your Favorite Hidden Gem Android Apps?

    Random @reddthat.com

    Bulletproof Hot Cocoa

    No Stupid Questions @lemmy.world

    Is it safe to use pans with peeling nonstick coating?

    Android @lemmy.world

    Is there an Android app for sharing grocery lists with household members?

    ShareGPT @reddthat.com

    Best way to freeze and thaw bread dough for later use

    No Stupid Questions @lemmy.world

    How can I search content from websites I visit with full-text search and tags?

    ShareGPT @reddthat.com

    Best browser or Firefox extensions for many tabs and tab management (grouping, stacking, etc)

    No Stupid Questions @lemmy.world

    Is there a discussion platform between Reddit and image boards that uses tags instead of subreddits?

    Asklemmy @lemmy.ml

    Why isn't everyone talking about AI generated audiobooks?