• 1 Post
  • 492 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle











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








  • I’m going to guess

    • poor media coverage
    • media is explicitly hostile to protests and pro trump/right-wing-extremism
    • many people are living paycheck to paycheck + we have minimal labor protection
    • years of left-wing organizations being kneecapped (eg: the murder of fred hampton)

    A lot of people are angry but there’s not really much organization. As much as I would love someone to take 50,000 of their closest friends, march down to DC, and shoot every republican in the head, without years of organizing that’s just a fantasy. Unfortunately, the right wing has been doing years of organizing and it’s now bearing fruit for them.