bio

  • 69 Posts
  • 105 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle



  • anything I tried getting from their repos was always way further behind the mac OS homebrew or Debian apt versions.

    Nixpkgs are the most up to date of any package respiratory source

    It is likely that you were using the current ‘stable’ channel that does not have the very latest packages. The ‘unstable’ channel does have the very latest packages and is what I think most people use.

    nixOS is really slick in concept, but has a steep learning curve to get it properly customized as a daily driver. The learned skills don’t really translate outside the nix realm either, so I decided it was too much effort for my use case. I love this concept as a way to build reproducable servers or workstations tho, so I’ll def be playing with it again.

    I totally agree, I wish it was easier to learn.




  • Putting aside the speed uv has a bunch of features that usually require 2-4 separate tools. These tools are very popular but not very well liked. The fact these tools are so popular proves that pip is not sufficient for many use cases. Other languages have a single tool (e.g. cargo) that are very well liked.




  • upgrading your base image won’t affect your python packages

    Surely if upgrading python will affect your global python packages it will also affect your venv python packages?

    you can use multi stage builds to create drastically smaller final images

    This can also be done without using venv’s, you just need to copy them to the location where global packages are installed.












  • uthrediitoNix / NixOSNix Release 2.24
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    Stable channels provide conservative updates for fixing bugs and security vulnerabilities, but do not receive major updates after initial release.

    If you want up to date packages then use the unstable channel.





  • object oriented

    Python does have OOP but you are not at all forced to use it. You can write code in a functional or even procedural style.

    typing

    I do hate that python doesent have proper support for typing but I think weakly typed variables will actually help beginners as it is less to think about to start off with.

    indentation

    I think there are pros and cons here. In other languages it is considered good style to use indentation anyway.

    I’m sure it is difficult to teach a large class like that though. It was hard enough for me to learn with a much more favourable teacher to student ratio than you probably have. Sorry but honestly I do sympathise with admin as well.