• 0 Posts
  • 161 Comments
Joined 11 months ago
cake
Cake day: August 3rd, 2023

help-circle















  • Miaou@jlai.lutoProgrammer Humor@lemmy.mlgot him
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    2 months ago

    And I’m going to make you read those blocks because they are there for a damn reason. What are you even reading at this point if you’re not reading the preconditions? That’s how you end up dereferencing null pointers, when you have ten nested ifs you can barely see it on your screen


  • Extremely trivial? Init stuff probably shouldn’t be touched by random user app, systemd cannot always be assumed, login shell can probably do this but syntax will vary by shell, and the only other I can think of is WM dépendent (although I assume the big ones will agree on using desktop files, i3 for example does not, and location might vary there too).

    It’s not difficult but to handle this generically requires some work to handle various scenarios.