• 0 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: August 13th, 2023

help-circle
  • The massive negative outcry over this fairly uninteresting change certainly seems oddly overblown, almost as if there are parties trying to turn it into a big political issue to paint Russia as a victim. But idk, nerds freak out over stuff all the time completely on their own.

    Giving them the benefit of the doubt, I think the Linux Foundation has a hard time being clear on the matter because it just isn’t clear. These are new laws and a global open source cooperation run by a non-profit is likely a corner case that the lawmakers did not think about at all when making them.


  • Yes, the sanctions against Russia, as mentioned by Linus. The change also said the maintainers “can come back in the future if sufficient documentation is provided”.

    My guess is that the Linux Foundation must ensure that none of the people they work with are in any way associated with any organisation, person or activity on the sanctions list. And that they preemptively removed all maintainers that might risk violating the sanctions while they work with them to establish whether they might be covered by the sanctions or not.

    Regardless of what you or they think of the sanctions, they are the law, and I don’t think anyone wants the Linux Foundation to have to spend their money on lawyers and fines because they had a maintainer who also worked on a research project funded by a sanctioned entity. (If that is how it works, IANAL)



  • kattfisk@lemmy.dbzer0.comtoScience Memes@mander.xyzAcademic writing
    link
    fedilink
    English
    arrow-up
    41
    arrow-down
    1
    ·
    1 month ago

    I’m still pissed at being forced to write in a passive voice in university. It’s awkward and carries less information, and makes it seem like nobody had any agency, science just kind of happened on its own and you were there to observe it.

    I don’t know why anyone would prefer something like “An experiment was conducted and it was found that…”

    To the much better “We conducted an experiment and found…”


  • Don’t go by any general rules. If you are unsure, take it home and sit down with your mushroom guide book and go through all the ways of identifying it and separating it from similar species until you are sure, or you give up and throw it away.

    Just off the cuff here are a couple of examples that violate the advice given above, golden chanterelle is very spicy but perfectly edible; gyromitra esculenta (“false morel”) does not have lamelles, is supposed to be mildly flavoured, but is deadly toxic.






  • 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