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/)GB
Posts
9
Comments
457
Joined
2 yr. ago

  • I think your misunderstanding comes from the fact that "wouldn't work" can mean a lot of things, and you didn't know quite what it meant

    If

    1. you're not on an IPv6 network,
    2. you enter the IPv6 address of a website into the address bar and
    3. the browser attempts to load that website (not a search engine),

    then the connection will time out:

    OP never got to step 3, which indicates a problem with the browser

  • What does that have to do with anything?

    It's only once you visit a website that it matters whether you're on an IPv6 network. OP isn't visiting the website at all; they're just typing the address and being taken to their search engine

  • I hope you're donating to the respective libreddit instance hoster, because unlike Reddit, they're not a multibillion corporation with a steady ad income to pay for their traffic

    If you're not, then I suggest you use old.reddit.com with uBlock Origin

  • Neat, thanks for sharing

    Here's the above pseudocode in bash:

     bash
        
    find /home/ -mindepth 1 -maxdepth 1 -type d -exec mount none {}/.cache/ -t tmpfs -o size=16G \;
    
      

    for doesn't work here because it uses spaces to delimit strings, which could cause issues with filenames that contain spaces

    You can also create a systemd user service, which is useful if you don't have root access. The above mount command requires root, but the following doesn't and is more robust than symlinking to /tmp/:

     bash
        
    ln -s $(mktemp -dp /var/tmp/) ~/.config/
    
      
  • You: It's a single user system
    Also you: Tmpfs would have to be done for every user

    And a /tmp/ symlink would have to be created for every user too, so I don't get your point

    Tmpfs is just as easy as making a symlink, but without the filename conflicts between files in ~/.config/ and /tmp/. You just need to add a line to /etc/fstab

  • It's likely. mkdir fails to create a subdirectory such as ~/.cache/mozilla/ if ~/.cache/ doesn't exist, unless -p is explicitly passed to mkdir

    Of course, not everything is a shell script, but I imagine the directory creation functions in many languages work similarly