• 3 Posts
  • 1.08K Comments
Joined 3 lata temu
cake
Cake day: 20 czerwca 2023

help-circle


  • I’m absolutely struggling with a sense of professional ennui as well. I feel simultaneously furious and horrified that so many engineers have so wantonly discarded any real ethical considerations from how they conduct themselves and what work they do. And I know why, too: because for the most part, it’s just become a constant rat-race to stay ahead of layoff waves. And the roof cause of that is the profit über alles mentality, exacerbated by fucking finance and business types running everything under the sun these days, and those people answer to VC and PE for the most part.

    I don’t have a constructive answer for you. In fact, if you figure one out, let me know.














  • You do multiline strings with 3 quotes, e.g.:

    some_var = “string”
    s = f"""
    This is a very very very very very very very very very
    very very very very very very long {some_var}.
    """
    

    If you don’t want line breaks, you can also do

    some_var = “string”
    s = (
      f”This is a very very very very very very very very very”
      # note the leading space here
      f” very very very very very very long {some_var}.”
    )
    

    But doing it the way shown will render the string something like:

    This is a very very very very very very very very very      very very very very very very long {some_var}.
    

    That big block of white space in the middle is not desired.