Peter Hill

Results 535 comments of Peter Hill

Good point. This one is smaller: ``` ::::::::: :::::::: ::: ::: ::::::::::: :+: :+: :+: :+: :+: :+: :+: :+: :+: +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+...

This never actually made it in! A couple of other choices? ``` oooooooooo. .oooooo. ooooo ooo ooooooooooooo `888' `Y8b d8P' `Y8b `888' `8' 8' 888 `8 888 888 888 888...

It seems that contexts aren't taken into account for mixed units. Here's an even simpler example using the built-in definitions and contexts: ```py import pint ureg = pint.UnitRegistry() (1 *...

I have a bit of a brute-force method for this, that I was able to implement using the new facets system: ```python def _try_transform(self, src_value, src_unit, src_dim, dst_dim): path =...

Maybe? Looking at an example: ```python >>> src = 1 * ureg.kelvin / ureg.metre >>> dst = ureg.eV / ureg.m >>> src.dimensionality # >>> dst.dimensionality # ``` We'd be able...

I'm trying to do something similar, but it seems the context parameter is only used for dimension transformations, and isn't passed to unit conversions. @hgrecco I am a bit confused,...

Tree-sitter certainly seems like it has significant upsides, as it's designed to be very fast and fault tolerant -- ideal for things like syntax highlighting and LSP. The downside might...

Ah, I didn't realise there was a Fortran parser already implemented, thanks @freevryheid! While it's not as complete as any of the parsers discussed here (`fortls`, `ford`, `fparser` or `lfortran`),...

Do you know if this is still a problem with the latest version?

Ah, yes, of course, that will be it. Unfortunately, it's a hard limitation of Docker that only subdirectories of the Dockerfile are able to be imported or copied into the...