-
Hydra's formal data model (Lambda Graph) includes a variant of Hindley-Milner type inference which has been adapted slightly for nominal types (records, unions, and wrappers). However, while λG concei…
-
# Bug report
## What's wrong
I have a model with a many to many field, and a model form pointing to that model.
In the `__init__` on that model I want to override the `queryset` for the m…
-
I'm running into a subtle type-instability with `blocksizes`, which breaks the type-inference of a function I am trying to define further down the line.
```julia
using BlockArrays
x = BlockedArra…
-
Traceback (most recent call last):
File "/home/ubuntu/taoyu/LLaVA-NeXT/llava/eval/model_video_detail_description.py", line 197, in
run_inference(args)
File "/home/ubuntu/taoyu/LLaVA-NeXT/l…
-
We often use queries with a static JSON aggregate, for example
```
SELECT json_agg(json_build_object(
'firstname': firstname,
'age': age
)) as family
FROM persons
GROUP BY lastname
```…
-
Consider this example:
```python
class P(Protocol[T_co]):
def meth(self) -> P[T_co]: ...
class C(Generic[T]):
def meth(self) -> C[T]: ...
def fun(arg: P[T]) -> T: ...
x: C[int]
rev…
-
Technically this does exist in many languages by now, but a lot of (even experienced people) are not aware of it. Since it's a new concept for people, we'll have to add more detail on the how and why …
-
Run the Nullness Checker on the following example:
```java
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
import org.checkerframework.checker.nullness.qual.NonNull;
import o…
-
For fully valid code got:
`error: Argument 1 to "map" has incompatible type overloaded function; expected "Callable[[Iterator[_T], int, None], Iterator[_T]]`.
In `foo.py`:
```python
from typing …
-
I have a very simple example program that produces surprising and (I think...) wrong behavior:
```
foo = 0
foo = 1.0
```
Running mypy against this file yields
```
test.py:3: error: Inc…
aecay updated
4 years ago