Viewing profile — _carljm
_carljm
HN member- Joined
- Tue, Feb 19, 2013, 11:33 PM UTC
- HN karma
- 259
- Public activity
- 43 items
- HN profile
- View on Hacker News ↗
About _carljm
No profile information was provided.
Recent public activity
-
comment
Comment #47449582
We provide this diagnostic in ty ( https://docs.astral.sh/ty/reference/rules/#possibly-unresolv... ), but it's disabled by default because it can have false positives in many scena…
-
comment
Comment #46295551
https://forum.cursor.com/t/newly-published-extensions-appear... suggests that there's some kind of delayed daily update for new VSCode extension versions to become available to Cur…
-
comment
Comment #46295414
I can reproduce this; we're looking into it.
-
comment
Comment #46295360
We'll be adding ourselves to that table soon. We'll have some work to catch up with pyright on conformance, but that's what the time between now and stable release is for.
-
comment
Comment #44130658
There are ways to type invariant generics more precisely that still meet the gradual guarantee. E.g.: x = [] # list[Unknown] x.append(A()) # list[Unknown | A] takes_list_of_a_or_b(…
-
comment
Comment #44116124
ty also implements gradual set-theoretic types, and can represent "ranged" dynamic types (as intersections or unions with Any/Unknown). We don't currently refine dynamic type based…
-
comment
Comment #43929906
This information is already maintained via `if sys.version_info >= (...):` conditionals in typeshed stubs. I don't think this is important enough to justify maintaining the same in…
-
comment
Comment #43923080
I agree that would be nice; probably not near the top of our list right now (and not trivial to implement), but it makes sense. Thanks for the suggestion.
-
comment
Comment #43923073
Yes, thank you for your graciousness and generosity, very much appreciated.
-
comment
Comment #43921769
I knew we left something important out of that onboarding document
-
comment
Comment #43921286
Not the same headline functionality yet, no. At the moment all we support is diagnostics (some of which may be wrong) and go-to-type-definition. More will come.
-
comment
Comment #43921264
Yes, we've talked; I know a number of the pyrefly devs well. Ty had already been months in development when pyrefly development started. We discussed collaboration, but they decide…
-
comment
Comment #43921242
There's a good chance many of the errors we emit are incorrect, at this stage. Lots to do still!
-
comment
Comment #43920802
The current version can handle importing pydantic without error just fine, but it probably can't find your virtualenv, so it doesn't know what third-party dependencies you have ins…
-
comment
Comment #43920769
Yes, red knot was the internal development code name; ty is the actual name.
-
comment
Comment #43920754
We're looking forward to hearing what your experience is! There's a certain amount of roughly-constant overhead (e.g. reading all the files), so generally ty will look relatively f…
-
comment
Comment #43919387
(ty developer here) Currently we default to our oldest supported Python version, in which `datetime.UTC` really doesn't exist! Use `--python-version 3.12` on the CLI, or add a `ty.…
-
comment
Comment #43919324
(ty developer here) This is an early preview of a pre-alpha tool, so I would expect a good chunk of those 3500 errors to be wrong at at this point :) Bug reports welcome!
-
comment
Comment #27050584
"Open it and see if there is interest" is the first step in "offer to work to upstream it." Not sure where you got the idea that it's only the former and not the latter.
-
comment
Comment #27050494
We've been calling it Cinder internally for years, long before we thought about opening it up. If we wanted to make it a big branded thing, we'd work on finding a unique name for t…
-
comment
Comment #27049364
We have contributed quite a few parts of cinder upstream already and will continue to do so. I’m not sure where you got the idea that this is just a dump and we expect core devs to…
-
comment
Comment #27049295
It’s definitely true that there’s stuff a JIT would love to know that the type system can’t tell you. But that doesn’t mean there isn’t useful information available in type annotat…
-
comment
Comment #27049267
Our JIT can use type information when available to improve speed. This is what the Static Python project described in the README is all about.
-
comment
Comment #27049263
With Static Python we use type annotations in compilation, and we require them to be correct (they are runtime checked at boundaries with non-Static code and throw TypeError if wro…
-
comment
Comment #27049215
It was a few years ago and I didn’t work on it directly, so my knowledge is a bit fuzzy, and I think the person who did work on it is no longer at the company. As best I recall the…