nickwitha_k (he/him)

  • 1 Post
  • 243 Comments
Joined 3 years ago
cake
Cake day: July 16th, 2023

help-circle



  • First, I would like to give you some major props. Installing Arch, in itself, is a big deal. It is not a beginner-friendly distro. It is a very power-user friendly distro and has an incredible wiki that is helpful, at least to some degree, for many distros.

    For a beginner distro, I would recommend Linux Mint for its easy transition and great focus on user experiences or Bazzite if you really want to install and get gaming.

    When taking drivers in Linux, most are provided as either kernel modules (integrated into the kernel, so you don’t have to worry about installing anything) or packaged for the distro, in which case, once installed via package manager, they’ll auto-update whenever you update system packages. They are so much easier to deal with than Windows drivers (for the end user). For example, to use a Wacom drawing tablet, all one has to do is plug it in.





  • I was meaning how they behave in when copying and similar behavior. One basically just needs to remember that assignment of a Python primitives var to another will copy the value, whereas doing the same thing with a collection will generally make a reference instead.

    As for this:

    >>> b = 65535
    >>> a is b
    False
    

    I’d expect that behavior in must programming languages. It effectively translates to:

    Allocate a variable "a" and assign it the value 65535
    
    Allocate a variable "b" and assign it the value 65536
    
    Is variable "a" literally the variable "b"? No
    

    One could test with == to see if the values are equivalent but, unless “b” is assigned as “a”, a is b should evaluate as false because they are two different variables.