How to install up-to-date python for a user only?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    1h ago 100%

    As far as I understand, they're not replacements in the same way nix profile replaces nix-env. They seem to serve a different purpose, but I don't know enough to say for certain.

    1
  • How to install up-to-date python for a user only?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    5h ago 100%

    No, it builds on top of nix. But it seems like the only real option for declarative package management.

    Nix shell and nix-shell are different commands

    https://discourse.nixos.org/t/nix-shell-nix-shell-and-nix-develop/25964/4

    Nix run iirc only works with flakes

    So does nix shell

    1
  • Miserabilis
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    3d ago 100%

    It's dark as a dungeon and damp as the dew

    Where danger is double and pleasures are few

    Where the rain never falls and the sun never shines

    It's dark as a dungeon way down in the mine

    4
  • How to install up-to-date python for a user only?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    3d ago 100%

    Home-manager > nix profile

    Also, nix-shell is supposed to be used for debugging, and nix shell/run/develop for using packages without installing them

    1
  • How "out of date" is Debian really?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    1w ago 100%

    Depends on what you do.

    If you're just browsing, and doing casual stuff, it's not really noticeable. It's perfect for the less technically oriented because nothing changes for years.

    I've been using MX for about a year now, but I definitely wouldn't have without flatpak and nix. I need packages that aren't years out of date, so they're all installed through nix home-manager.

    The benefit of this combo is that while user packages might break, the system itself will be predictable for the next few years. That means no new bugs, but also that minor issues won't be solved.

    4
  • Snap bad
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    1mo ago 96%

    Yeah, who'd hate using a package manager that increasingly slows down your boot time with every package installed, or that uses a closed source store to provide you FOSS

    Maybe there's a reason canonical has to force it on their users

    83
  • The IDEs we had 30 years ago... and we lost
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    1mo ago 100%

    I dislike that it takes way too long to boot

    1. Use the Daemon, it starts a new client in a fraction of a second
    2. Improve your config and it'll start in under a second anyways
    2
  • The IDEs we had 30 years ago... and we lost
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    1mo ago 100%

    Emacs had some "premade IDE" project I recall that I tried and wasn't that enthusiastic about.

    Doom Emacs, spacemacs, etc.

    And there are plenty of nvim "distros" like that (lazyvim for example).

    They make getting started pretty easy. I've been using Doom for years and never bothered to make a full config of my own.

    4
  • linux
    Linux 2mo ago
    Jump
    Recommend me a scripting language
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSH
    Shareni
    2mo ago 50%

    if there's something that I can adopt as a default goto solution without having to worry about how each system is packaged/configured.

    Go is probably your best bet. Simple to use, and you can compile it so it runs everywhere

    0
  • cross-posted from: https://programming.dev/post/14020506 > The product of a chat with @QuazarOmega@lemy.lol

    21
    6

    The product of a chat with @QuazarOmega@lemy.lol

    136
    27

    MX Linux, Xfce 4.18 Closing the laptop lid suspends the system, opening it resumes it, but the screen is black. I'm guessing it's related to powerup because suspending through the logout menu and `systemctl suspend` both work as expected. When it's black, switching to a different tty works, as well as C-M-Backspace to logout. Same results with both lightdm and sddm, when replacing suspend with hibernate, and I've tried a few solutions like disabling lock on sleep. Seems like this issue has been around for years, but had a whole bunch of different causes since every other thread has a different solution. [XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon > /tmp/xf.log 2>&1](https://pastebin.com/id45rLkd) [ps -ef | grep -E 'screen|lock'](https://pastebin.com/aVMdv6Bp) [xfconf-query -c xfce4-power-manager -lv](https://pastebin.com/YB7JX7pJ) [dmesg, cleared it before trying to suspend](https://pastebin.com/tpUNKUsM) updates: I'm not seeing a black screen, instead it turns on the display and then turns it off. Additionally, I tried closing and opening the lid a few times, and it woke up correctly. I tried it in i3wm with the xfce power manager to suspend after closing the lid. It woke up correctly 10 times in a row. Solution: start an xrandr config and the monitor turns back on.

    21
    22

    This community is: > A general purpose programming community for English speakers Language specific posts like: - [10 C tricks experts don't want you to know about!!!! (photo, video, neckbeard)](https://programming.dev/post/367201) - [how do I x in python?](https://programming.dev/post/339589) - [should I x in Js?](https://programming.dev/post/302850) - [typescript beta patch notes](https://programming.dev/post/317381) and ide specific posts like: - [intellij and docker are eating my rams, pls help](https://programming.dev/post/364095) are not general purpose. Posts like that ruined /r/programming for me, and this community seems to be going down the same road. I'm here to read about programming concepts that can be applied to any/most languages, not patch notes for 10 different Js frameworks posted by karma farming bots. If I wanted to read posts like that, I'd have subbed to /c/javascript... Do you agree with me that they should be removed from /c/programming, and limited only to their respective communities? Or have I missed the point of this community?

    30
    32