• 0 Posts
  • 109 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle











  • No. Your reading of it is unusual, in most contexts. It almost always means “agreement, and I have nothing of substance to add”.

    It can be rude if the thing you’ve said should warrant a substantial response. Like if you wrote “my brother just died in a car wreck”, a thumbs up (or probably any emoji) would be an inappropriate response. Heavier stuff warrants whole words.

    But if it’s like “Can you get cat food at the store? The kind we always get” then a thumbs up is an acceptable shorthand for "yes, I understand and commit to this request "









  • Depends on how it’s set up. If the setting is going into the env it’s a string, so I’d expect some sort of

    if os.getenv("this_variable", "false").lower() == "true":   # or maybe "in true, yes, on, 1" if you want to be weird like yaml
      this_variable = True
    else:
      this_variable = False
    

    Except maybe a little more elegant and not typed on my phone.

    But if the instructions are telling the user to edit the settings directly, like where I wrote this_variable=True, they’d need to case it correctly there.