• 0 Posts
  • 33 Comments
Joined 11 months ago
cake
Cake day: August 13th, 2023

help-circle




  • Not chmod related, but I’ve made some other interesting mistakes lately.

    Was trying to speed up the boot process on my ancient laptop by changing the startup services. Somehow ended up with nologin never being unset, which means that regular users aren’t allowed to log in; and since I hadn’t set a root password, no one could log in!

    Installed a different version of Python for a project, accidentally removed the wrong version of Python at the end of the day. When I started the computer the next day, all sorts of interesting things were broken!








  • This is likely because docker runs Linux in a VM on MacOS right?

    We’ve had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate “file not found”-error but say falls back to a default config because the provided one has the wrong casing.


  • Well completion-ignore-case is enough to solve this particular problem, the other options are just sugar on top :)

    I’m going to add completion-prefix-display-length to these related bonus tips (I have it set to 9). This makes it a lot easier to compare files with long names in your tab completion.

    For example if you have a folder with these files:

    FoobarSystem-v20.69.11-CrashLog2022-12-22 FoobarSystem-v20.69.11.config FoobarSystem-v20.69.12 FoobarSystem-v20.69.12-CrashLog2023-10-02 FoobarSystem-v20.69.12.config FoobarSystem-v20.69.12.userprofiles

    Just type vim TAB to see

     ...1-CrashLog2022-12-22   ...1.config   ...2   ...2-CrashLog2023-10-02   ...2.config   ...2.userprofiles
    $vim FoobarSystem-v20.69.1
    

    GNU Readline (which is what Bash uses for input) has a lot of options (e.g. making it behave like vim), and your settings are also used in any other programs that use it for their CLI which is a nice bonus. The config file is ~/.inputrc and you’d enable the above mentioned options like this

    $include /etc/inputrc
    
    set completion-ignore-case on
    set show-all-if-ambiguous on
    set completion-map-case on
    set completion-prefix-display-length 9
    




  • Here I was thinking they would tone it down for the sequel because a lot of the DLC for the first game was pretty worthless. Who buys a dozen songs for 4€ when you can just play spotify/youtube/mp3s in the background?

    I guess this is to get you to pay for their subscription to enjoy the full game. But unless they are going to make the base game free it just feels like a ripoff.



  • I’m honestly really pleasantly surprised that Nexus Mods are willing to take this fight head on. That they are willing to tell these potential customers to sod off, and that they have the tact and understanding to tell the difference between a superficially benign mod with a malicious purpose like this, and the many vulgar mods that they do allow on the site. (Shout out to Schlongs of Skyrim, you magnificent beast)

    Gamers, in the general, being the worst people I don’t have high expectations from gaming companies but it all seems to be moving slowly in the right direction, even as gamers gnash their teeth and waddle their fingers.


  • But that post is Mozilla clearly speaking out against SREN because they do not want to be compelled to block certain sites.

    Are you then talking about Google Safe Browsing? Which is enabled by default in Firefox, but which does not “monitor your activities”. It compares the site you are about to visit to a downloaded list of known bad ones and warns you if it’s on the list. Hardly an Orwellian nightmare. Just turn it off or ignore the warning if you do not want it. I keep it on because I’ve never seen a false positive on that list and I understand that even I’m vulnerable to attack.

    We should be free to customize programs, free to block what we don’t need

    And you are. If you don’t want to use safe browsing, turn it off, is right there in the menu. They have given you a default that’s best for most people and the option to customize.

    Further, since it’s free software there’s really no limit to your power to customize or get rid of what you don’t need. (I understand that this is not possible for most people, but that’s why you have the menu options, this is just a final line of defense.)