Live data from Hacker News

Viewing profile — sinancepel

sinancepel

HN member
Joined
Fri, May 11, 2018, 4:41 PM UTC
HN karma
40
Public activity
12 items

About sinancepel

No profile information was provided.

Recent public activity

  1. comment
    Comment #24095895

    The reasons turn out to be decently boring here. Zoncolan [0] and Pyre [1], which Pysa shares core libraries with, are also written in OCaml, and the language made sense to use fro…

  2. comment
    Comment #24095871

    The article briefly mentions this, although it might not be super clear from the short description - "We regularly review issues reported through other avenues, such as our bug bou…

  3. comment
    Comment #24085231

    Pyre & Pysa try to do a best-effort analysis of Python 2, and supports Python 2 style taint annotations, but most of the code we analyze at Facebook is Python 3.6+.

  4. comment
    Comment #24085151

    For Instagram (millions of LOC), the analysis gives feedback to engineers in about 65 minutes on average - note that this is in the context of a diff run: We compare the results of…

  5. comment
    Comment #24084777

    Pysa will try to analyze all functions regardless of whether they have type hints, but it work better if the function under consideration is typed. Namely, without type hints, it w…

  6. comment
    Comment #24084641

    1. Pysa should work without watchman - it shares some code and infrastructure with Pyre, but doesn't need Watchman to complete its analysis. 2. Hopefully the answer to (1) helps he…

  7. comment
    Comment #24084375

    One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)

  8. comment
    Comment #17051327

    If you're interested in the details of how pyre handles generics, unions, etc., you can take a look at the end-to-end typechecking tests, which provide lots of examples: https://gi…

  9. comment
    Comment #17050990

    You can have multi-threaded OCaml (our server actually has two threads), but only one can run at a time currently. We solve this problem by having a multi-process architecture wher…

  10. comment
    Comment #17049508

    If you're having trouble with pip, I'd recommend trying `pip3.6 install pyre-check`.

  11. comment
    Comment #17048995

    Yes! Pyre adopts types from the typing module, and relies on typeshed[1] to infer types for standard library functions. [1]: https://github.com/python/typeshed

  12. comment
    Comment #17048822

    Exactly - the LSP portion of pyre works for files you have open in an editor, but might miss changes due to a rebase or files you edit on the terminal. The watchman integration is …