hrdl
hrdl
In my experience ncspot's CPU usage as reported by top is roughly 50% higher than the one of mpv when playing a file with a comparable codec (vorbis, 44100 Hz,...
Running `/usr/lib/electron/electron --disable-dev-mode --ozone-platform=wayland /usr/lib/element/app.asar` (element-desktop 1.11.20-1 from the Arch Linux community repository) reliably gives me the following: stack trace ``` #0 0x00007fbd0a76cba8 in __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:833 833 LOAD_ONE_SET((%rsi),...
I'm moving away from pdf-tools. I'd love to see this one getting merged while I'm still around to fix anything that requires fixing. No pressure though, thanks for putting in...
Thanks. What kind of feedback do you have in mind? Feedback on pdf-tools or why I leave?
Thanks. Feel free to squash and to make any changes you'd like.
This is mostly relevant when reusing the same solver (I've been using BFGS), as reinstantiation creates new references of `_cond_fun` and `_body_fun`, which are static arguments in https://github.com/google/jaxopt/blob/58bac0ac375732dce358cf85583ae7fe3632b8cf/jaxopt/_src/loop.py#L80, I think
```python import time, jaxopt, jax, jax.numpy as jnp def rosenbrock(x): return jnp.sum(100. * jnp.diff(x) ** 2 + (1. - x[:-1]) ** 2) solver = jaxopt.BFGS(rosenbrock) x0 = jnp.zeros(2) _time =...
More generally, what do you think about jaxopt caching all solvers, so recompilation would be reduced automatically when not using nested functions?
At the moment I essentially use jaxopt with https://github.com/google/jaxopt/commit/ed1febef279de5e1120af70dff04261b61175383 reverted and make sure that I cache my solvers: ```python @lru_cache def get_solver(solver, *args, **kwargs): return solver(*args, **kwargs) ``` My suggestion...
Coming from https://github.com/Alexays/Waybar/issues/3029#issuecomment-2112363957: something like ```css #group-power { color: #8a8a8a; background-color: #333333; border-radius: 2px 18px 2px 18px; border-width: 0px; font-size: 1.2em; } #group-power > * > * { padding: 0px...