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

help-circle

  • 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)
    


  • Hah, jokes on them, I don’t do anything at the office, either.

    In fact I dare say I do less, due to less efficient monitor placement and constant door-knockers. At least at home the only one knocking on my door is a 5yo asking for help in Mario.

    Oh and the pointless meetings where I have to be present in person and actually look attentive, even though realistically there’s no damn reason I even should’ve been invited.













  • I’m vegan and I hate bringing it up out of any context. Obviously there’s context here since we’re talking about it.

    Hell I hate even saying it at a restaurant. Get weird looks ordering pizza without cheese when everyone else is getting mozz sticks and wings. Sure I could get a salad, but have you ever had salad at a pizza place? removeding horrid. And only oil and vinegar to slide it down your throat? Ugh.


  • Ubuntu is great because they have a huge community and an enterprise-class, fully supported product. No shade for using it. It’s not my cup of tea, I often find myself wanting to be more on the bleeding edge, and I’ve found Endeavor (an Arch variant) to be amazingly capable.

    But I’ve also been using Linux on and off since 97 and exclusove (at least in personal life) since like 2015.


  • ….windows 10 came out in 2015. I wouldn’t say it just came out, 8 and a half years ago. Thats a pretty good run for a retail OS. There was only 5 between the release of 3.0 and 95.

    My big gripe with 11 was that it seemed like MS was going to go away from major releases and go to something somewhat closer to a rolling release model. My big gripe with 10 was all the telemetry.

    It’s actually pretty telling that from “insert installation media” to “working web browser”, just about any Linux distro is a faster, easier, and less demanding installation experience than 10 or 11.