• 0 Posts
  • 10 Comments
Joined 8 months ago
cake
Cake day: January 16th, 2024

help-circle
  • I’d been meaning to try out atomic distros. I’m not an expert on Linux by any means but I’ve been using it on-and-off for about 25 years, and exclusively (at home, at least) for about 7. So I’m a bit more than a noob.

    I do worry if I’d feel restricted inside of an atomic distro. Might throw kininite on a laptop I’ve been meaning to give to my kid, tho.




  • This is bad practice.

    More accurately it should look something like this:

    # Load sys library for exiting with status code
    import sys
    
    def sayHelloWorld(outPhrase: str="Hello World"):
        # Main function, print a phrase and return NoneType
        print(outPhrase)
        return None
    
    if __name__=="__main__":
        # Provide output and exit cleanly when run from shell
        sayHelloWorld()
        sys.exit(0)
    else:
        # Exit with rc!=0 when not run from shell
        sys.exit(1)
    





  • My primary laptop is a Lenovo T495s. I’m a big fan because my requirements for a laptop aren’t particularly demanding, but while a 5 year old Ryzen 7 is a bit aged, I’d hardly consider it underpowered, at least for my (and many others) needs. Laptops like this can easily be found in great condition and under $200. I spent a little more after a new nvme and maxing out ram.