James Clark

Results 508 comments of James Clark

I should also mention that I tried a wide variety of USB C cables, both with and without eMarkers. The PSU_MAX_CURRENT workaround works with iPad Pro M4, MacBook Air M3...

Here's another report confirming that things don't work on the iPad Pro M4 https://github.com/verxion/RaspberryPi/issues/1

This problem can't possibly occur with the CM4 IO board, since it uses a 12V barrel connector for power rather than USB PD, and the connector for the dwc2 is...

This can also be useful in conjunction with automated data mapping. `@validate` is perhaps the wrong word, given that validation is now only one use case. Maybe `@constrain` would be...

This is potentially relevant to GraphQL. Simple types with validation constraints can be exposed as user-defined scalars.

I think we should perhaps do this in a more first-class way using refinement types #238.

@shafreenAnfar mentions JSR 303 https://beanvalidation.org/1.0/spec/

It would be nice not to have to repeat the type name, but I don't see this as related to the contextually expected type concept. `` in an expression means...

The general philosophy is that the only kind of shadowing allowed is for a local variable to shadow a global variable. So I would say this should not be valid.