I take my shitposts very seriously.

  • 8 Posts
  • 710 Comments
Joined 2 years ago
cake
Cake day: June 24th, 2023

help-circle
  • Unless I’m terribly misunderstanding the word’s meaning (or anglophones once again redefined a word to reflect their current sensibilities), “conservative” doesn’t automatically imply politics, just that someone is resistant to new ideas. A person who only listens to music produced before the 20th century and goes into a rage when video game music composers are mentioned is a conservative, but not in terms of political views.


  • rtxn@lemmy.worldMtolinuxmemes@lemmy.worldFeature parity or get out
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    12 hours ago

    Yes, the people who refuse to either upgrade to Win11-compatible hardware or move to an OS compatible with their existing hardware will eventually get left behind. Both in terms of security and compatibility. It’s happened many times, from the fall of AGP in favour of PCIE, to every time Intel inroduced a new CPU socket. X11 is the next.




  • rtxn@lemmy.worldMtolinuxmemes@lemmy.worldFeature parity or get out
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    17 hours ago

    It’s more of an “it’s still experimental” kind of issue. They’re releasing the Wayland session into the wild before it’s ready to boost the pace of bug-squashing. X11 remains default, but they allow the people who want to contribute (instead of whine on public forums about missing features) to test the Wayland session on a much greater variety of hardware and OS configurations than could ever be achieved in-house, report bugs, break things, and submit changes.



  • rtxn@lemmy.worldMtolinuxmemes@lemmy.worldFeature parity or get out
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    18 hours ago

    That’s what happens when you use an experimental feature that is actively being developed and receiving improvements over time. Transitioning an X11 stack to Wayland is not as simple as flipping on a build flag.

    Keyboard support has been implemented and will arrive in 22.3:

    Wayland support

    Under the hood, the Cinnamon keyboard handling relied on libgnomekbd and only worked in Xorg.

    This meant that Cinnamon under Wayland could only be used with an English (US) layout.

    This new support is fully compatible with Wayland for both traditional layouts and IBus input methods.


  • rtxn@lemmy.worldMtolinuxmemes@lemmy.worldHow?
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    It looks like GNOME is the only compositor that doesn’t support the wlr_layer_shell protocol, which is anything but surprising. Smithay works (Cosmic and Niri), wlroots works, Kwin and Mir work, Aquamarine (Hyprland) is not listed, but I know that it works.










  • If you have to import a directory structure, you should make each directory a module by creating an __init__.py file in them, and use relative import statements. I usually have one main.py as the entry point, which imports a lib module that contains all of the program logic.

    ├── lib
    │   ├── __init__.py
    │   ├── module_content.py
    │   └── submodule
    │       ├── __init__.py
    │       └── submodule_content.py
    └── main.py
    

    You can import the lib directory as a module:

    main.py:

    from lib import some_fn
    

    Within any module, though, you should use relative import statements to import from files and submodules, and regular import statements to import packages from the system or the venv:

    lib/__init__.py:

    from .module_content import some_fn # import from a file
    from .submodule import some_other_fn # import from a submodule directory
    from os.path import join # import from an installed package
    

    Items that you define in __init__.py or import into it will be available to import from the module: from .submodule import some_fn. Otherwise, you can import an item from a file by specifying the full path: from .submodule.submodule_content import some_fn.

    You can also import an item from a parent package using the .. prefix: from ..some_other_submodule import some_fn.




  • That tells me you don’t understand what a “stable” release branch is. The Debian maintainers do a lot of work to ensure that the packages not only work, but work well together. They don’t introduce breaking changes during the lifecycle of a major branch. They add feature updates between point releases, and continuously release security updates.

    In the real world, that stability is a great value, especially in the server space. You’d be insane to use Arch as a production server, and I’m saying that as an Arch user.

    Something, something, sword of Damocles.