
Tag: Anki
-
At first it appears as a bug of autosyncing, but tongle enabling FSRS helper addon gives the source of the problem …
Bug also submitted in FSRS Helper’s Github:
https://github.com/open-spaced-repetition/fsrs4anki-helper/issues/242
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 23.10 (c2b1ab5e) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: Linux-6.5.4-1-MANJARO-x86_64-with-glibc2.38
Flags: frz=False ao=True sv=3
Add-ons, last update check: 2023-09-21 16:34:38Caught exception:
Traceback (most recent call last):
File “/home/chris/ankidev/qt/aqt/taskman.py”, line 138, in _on_closures_pending
closure()
File “/home/chris/ankidev/qt/aqt/taskman.py”, line 82, in
lambda future: self.run_on_main(lambda: on_done(future))
File “/home/chris/ankidev/qt/aqt/taskman.py”, line 102, in wrapped_done
on_done(fut)
File “/home/chris/ankidev/qt/aqt/sync.py”, line 100, in on_future_done
mw.col.db.begin()
File “/home/chris/ankidev/pylib/anki/dbproxy.py”, line 36, in begin
self._backend.db_begin()
File “/home/chris/ankidev/pylib/anki/_backend.py”, line 100, in db_begin
return self._db_command(dict(kind=”begin”))
File “/home/chris/ankidev/pylib/anki/_backend.py”, line 116, in _db_command
raise backend_exception_to_pylib(err)
anki.errors.DBError: DbError { info: “SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\”cannot start a transaction within a transaction\”))”, kind: Other } -
The amount of changed files …

https://github.com/ankitects/anki/commit/5004cd332bf1514e57f5c48bcbe43cd86f982a7a
-
Just a discrepancy of review dates that I noticed, still not able to reproduce and report a bug.
There is a known bug that has to do with reviewing cards during the rollover hour (set at 4 hours past midnight as default) but it seems it is not the case here…
https://github.com/ankitects/anki/issues/2606

-
With this commit in Github the version system of Anki adopts a new year.month.patch approach. That means that the current version is 23.09. Damien decided this time period as this version brings some major features including FSRS and Image Occlusion


https://github.com/ankitects/anki/commit/ffd392de211d8c107b1927c6755d103b34bbae23
-
Using Anki at the beginning can be pretty unconfortable, as pressing the spacebar and 1,2,3,4 keys a million times can lead to tendonitis and makes reviews not enjoyable 😦
Instead using a PS4, Xbox or PS4 game controller gives a gaming character to your daily reviews, is easy and can be used while connecting your Laptop with an Ultra HDTV
Installing AntiMicroX, a graphical program used to map gamepad keys to keyboard, mouse, scripts and macros in Arch Linux Distros:
> yay -Ss antimicrox aur/antimicrox-git 3.3.3.r2.g7a39dc43-1 (+4 0.05) Map keyboard and mouse actions to gamepad buttons, inspired by qjoypad. Antimicro fork aur/antimicrox 3.3.4-1 (+115 0.26) (Installed) Graphical program used to map keyboard buttons and mouse controls to a gamepad
antimicrox is the stable release while antimicrox-git is the cutting edge, with the latest commits version.


-
For further changes, features and bug fixes visit https://github.com/ankitects/anki/releases/tag/2.1.66
-
- Advanced Browser
- Better Search
- Button Colours Good Again
- Edit field During Cloze Review
- FSRS4Anki Helper
- Highlight Search Results in the Browser
- Hint Hotkeys
- More Overview Stats 21
- Review Heatmap
- Spell Checker
- AMBOSS
- Ankihub
- Image Occlusion
- UpToDate
- Remove Card History
- Custom Background Image and Gear Icon
-
https://github.com/open-spaced-repetition/fsrs4anki/wiki/The-Benchmark

According to the above data FSRS v4 is the most accurate algorithm as it has the lowest Mean absolute error based on 66 group of experiments in 59 collections containing approximately 3 million reviews
-
The new beta-untested version of the FSRS scheduling algorithm is 4.2.1 while the respective stable release is 3.26.2
https://github.com/open-spaced-repetition/fsrs4anki/releases
-
The original commit that produced the following error:
Exception in thread Thread-1:
Traceback (most recent call last):
File “/home/chris/ankidev/out/extracted/python/lib/python3.9/threading.py”, line 980, in _bootstrap_inner
self.run()
File “/home/chris/ankidev/qt/aqt/mediasrv.py”, line 93, in runDevTools listening on ws://127.0.0.1:8080/devtools/browser/27d471d5-c7a4-4890-aa4a-3e6d790323b1
https://github.com/ankitects/anki/commit/d5b5b861e24fccf8248dc9786afa13faea203755
% (self.server.effective_host, self.server.effective_port) # type: ignore
AttributeError: ‘MultiSocketServer’ object has no attribute ‘effective_host

The change that fixed the issue:

-
Ο νέος αλγόριθμος Free Spaced Repetition Scheduler (FSRS) δημοσιεύτηκε για πρώτη φορά από τον Jarrett Ye με username LMSherlock στο Reddit και στα Anki beta forums. Ο Jarrett Ye είναι ένας κινέζος, απόφοιτος πληροφορικής ο οποίος χρησιμοποίησε μια διαφορετική προσέγγιση στη μοντελοποίηση της ανθρώπινης μνήμης, βασιζόμενος στην στοχαστική ανάλυση εκατομμυρίων δειγμάτων (logs).
Τα δείγματα αυτά προέρχονταν από 220 εκατομμύρια χρήστες της εφαρμογής MaiMemo για την εκμάθηση αγγλικών και ξένων γλωσσών. Η στοχαστική ανάλυση προσπαθεί να εκτιμήσει την βέλτιστη πορεία εκμάθησης, δηλαδή καλή ανάκληση με όσο το δυνατόν λιγότερες επαναλήψεις (reviews).
Το νέο αυτό μοντέλο χρησιμοποιεί έναν stochastic shortest path algorithm ο οποίος εισάγει 3 παραμέτρους της μνήμης:
- R = Retrievability (πιθανότητα ανάκλησης)
- S = Stability (σταθερότητα δηλαδή το διάστημα όταν R = 90%)
- D = Difficulty με τιμές στο διάστημα 1 έως 10

Η αρχική σταθερότητα έπειτα από την πρώτη απάντηση δίνεται από τον ακόλουθο τύπο: (το G συμβολίζει το Grade με το οποίο ο χρήστης απαντά σε κάθε κάρτα)

H αρχική δυσκολία δίνεται από τον τύπο:

Για την χρήση του συγκεκριμένου αλγορίθμου απαιτείται έκδοση Anki νεότερη από 2.1.55, καθώς αυτή εισήγαγε δυνατότητα για custom scheduling.

Η εγκατάσταση γίνεται με την αντιγραφή και επικόλληση της εκάστοτε έκδοσης FSRS στο πεδίο custom scheduling. Ο πηγαίος κώδικας βρίσκεται στην ακόλουθη σελίδα: https://github.com/open-spaced-repetition/fsrs4anki/blob/v3.25.4/fsrs4anki_scheduler.js
και η εύκολη αντιγραφή του γίνεται πατώντας το Raw

Στα αρχικά βήματα ίσως θέλει κάποιος να βλέπει τις παραμέτρους της κάθε κάρτας. Για αυτό πρέπει να αλλαχτεί η μεταβλητή display_memory_state από false σε true

Το FSRS είναι τόσο υποσχόμενο που ο δημιουργός του Anki, Damien Elmes (dae) σκέφτεται να το ενσωματώσει σαν προαιρετικό scheduler.
-
For a complete changelog view the following link:







