Hernan Grecco

Results 267 comments of Hernan Grecco

We now use uncertainties as the numerical class underlying Pint's Measurements (ufloat + units). All simple things work as charm (simple arithmetic, string formatting, etc). I will soon implement string...

Just for clarity, let me say that when I say support numpy functions I mean that if `o` is your object of class `O`, `numpy.cos(o)` does the right thing. In...

Pint transfers the task to the underlying numerical type. If the user wants `numpy.cos(o)`, Pint takes care of the units and then calls `numpy.cos()`. So if you create numerical type...

Take your time. I am really happy about how the collaboration between Pint and uncertainties is working. We find a common interest, we agree on a few things and then...

Thanks for the reference. It is roughly the direction I was proposing, right?

I might be wrong but this seem be refreshing the whole page and thereby bypasses push.js

@cvrebert I could, but I have a working frontend and backend to which I only need to add this feature. I was hoping that you could do a refresh via...

@garee76 This works. Thanks a lot. My only problem now is that I need to cancel the timeout when I navigate out because it keeps refreshing to the same url.

We actually use appdirs (https://github.com/ActiveState/appdirs) under the hood for this. See https://github.com/hgrecco/pint/blob/37a61ede6fbd628c7dc160eb36278cf41c96484c/pint/facets/plain/registry.py#L236 Maybe you can open an issue there, referencing to this.

You can find the rationale here: https://github.com/hgrecco/pint/commit/185ec6b81c1c6f57263733571face3ef672c4afd If there is a better solution, we would accept a patch