llama

Results 10 comments of llama

Hello there! Is this still being worked on? It'd be useful to have for anki's new launcher (https://github.com/ankitects/anki/pull/4390#issuecomment-3414268073), which uses uv as an installation tool and already shows a pty...

Thanks for this, it's going to make working on the editor much faster! Noticed a few additional issues as well: 1. The add window now flashes like the stats window,...

This change was proposed before, but rejected: https://github.com/ankitects/anki/pull/4246#issuecomment-3158136028

For context, this fixes an `attempt to subtract with overflow` panic at https://github.com/ankitects/anki/blob/5614d20bedcc4dd268136d389ad796b404a69d2c/rslib/src/scheduler/fsrs/rescheduler.rs?plain=1#L89 when run via `./run` (went unnoticed in release as rust doesn't panic during overflows then)

We could perhaps enable it for new collections only by adding a default here: https://github.com/ankitects/anki/blob/362d09e31f17c234c9635a6836501820dc2b1215/rslib/src/config/schema11.rs?plain=1#L27-L28

I'd need to look into (1) a bit more, but was able to reproduce (2) (the error toast, not the invalid input exception 👀) and will open a pr shortly...

Pushed changes i made over the past week (sorry for the massive diffs!) > Given that, it might be nice if the code for this lived in qt/launcher, as that'll...

It'd be better to move this into `tooltip()` as Abdo originally said, to address the issue for all tooltips

I've just come across this nugget on https://docs.python.org/3/library/site.html > Changed in version 3.14: [site](https://docs.python.org/3/library/site.html#module-site) is no longer responsible for updating [sys.prefix](https://docs.python.org/3/library/sys.html#sys.prefix) and [sys.exec_prefix](https://docs.python.org/3/library/sys.html#sys.exec_prefix) on [Virtual Environments](https://docs.python.org/3/library/sys_path_init.html#sys-path-init-virtual-environments). This is now done...