• 1 Post
  • 18 Comments
Joined 9 months ago
cake
Cake day: January 7th, 2024

help-circle






  • Not OP, but look, if someone, let’s say a stranger, has nefarious motives, they have an incentive to fake their mannerisms, this means relying on your empathy and social intelligence alone is a mistake since they may be used as a vector of attack.

    In order to be safe, one must make sure they are not harmed or endangered in any way, this includes avoiding certain situations with strangers.

    Also, don’t just randomly pathologize people just because you don’t understand where they are coming from, even if done with no harm in mind, you will come off as very disrespectful.











  • Good news, On VSCode, with Pylance and Ruff I have both intellisense and new syntax support.

    Meh news, symtax highlighting is fucky for generic functions’ return type.

    Example:

    def add[T](a: T, b: T) -> T:
        return a + b
    

    On my setup the -> is colored red but is supposed to be white, that also happens with only the Python extension, so I’m guessing it will be fixed soon.

    Besides that, I’m actually surprised this was hidden under my nose as Ruff was already installed, but Pylint and MyPy both started reporting errors which gave the impression that none of my installed extensions support the new syntax. kind of a rookie mistake on my part not to check every extension’s website for updates.

    Anyway, thanks for the answer, I’m glad to finally be able to utilize this.