https://git.dkl9.net/memoire/tree/4d8e6bf445a35b3270d611f7914bd56faad5f41bRecent commits to memoire (4d8e6bf445a35b3270d611f7914bd56faad5f41b)2021-12-24T12:38:04-05:00tag:gitlist.org,2012:commit/4d8e6bf445a35b3270d611f7914bd56faad5f41bFix error with percent signs (%) in answer text2021-12-24T12:38:04-05:00John Smith
<pre>Lua's `str:gsub(pattern, repl)` interprets `%` as a
sort of escape character in `repl`, so the presence of a `%`
in answer text would cause an error or undefined behaviour.
</pre>
tag:gitlist.org,2012:commit/4ceac060a85e2bd1125df7704ea7dab72c6ac834Fix breaking typo in `prompt.lua`2021-12-24T12:33:22-05:00John Smith
<pre></pre>
tag:gitlist.org,2012:commit/c21b9ac91646db187d5cd7a16b298a1fb2d3a2cfAdd `Created` field to card records2021-12-24T12:24:35-05:00John Smith
<pre>Each record in Memoire's Rec serialisation, representing a card
(set of prompts), may now have a `Created` field -- the timestamp
of the card's creation.
The `Created` value is only read and written for new records
or records that have it, so this should be backwards-compatible.
</pre>
tag:gitlist.org,2012:commit/d1285d11b12db8b8ff7ca1b6f078c5d87982bdc6Shuffle prompts when reviewing2021-12-22T23:09:26-05:00John Smith
<pre>Before this, prompts from the same card that all needed review
would be reviewed right after each other, tempting the user
to remember parts of the card in working memory, rather than recalling
from long-term memory.
</pre>
tag:gitlist.org,2012:commit/15dbfadea6ecd027223b2efd3efff91b8cc3b9b7Allow user to limit prompts reviewed per session2021-12-22T22:57:54-05:00John Smith
<pre>Whenever a review session starts, the user is prompted
for a number of prompts to review, which limits the scale of the review.
</pre>
tag:gitlist.org,2012:commit/ee7e35344eeb68bef3d22136fc10c30e5b03aa3cAllow user to select repository file2021-12-22T22:15:38-05:00John Smith
<pre>Whilst a hardcoded default remains, the second command-line argument
is now read as a repository path.
Errors in loading decks are now handled with error messages.
</pre>
tag:gitlist.org,2012:commit/fa19e88352219b7de39ef9772eb15adaa65a9180Update and "lock" `example.rec`2021-12-20T21:26:02-05:00John Smith
<pre>I had added (not tracked in Git) many personal cards to `example.rec`;
`example.rec` will now contain only a small set of examples;
my personal deck will be in another file.
</pre>
tag:gitlist.org,2012:commit/b75c890b561bba26775f1980cdd7246a0a32266eSplit Recfile reading/writing out from `main.lua`2021-12-16T21:53:44-05:00John Smith
<pre>`main.lua`'s `loaddeck` and `savedeck` functions
have been moved out into `loader.lua`.
</pre>
tag:gitlist.org,2012:commit/920c809ad302387a653647e96013a806f68f2dcfChange scheduling algorithm2021-12-16T21:29:44-05:00John Smith
<pre>Instead of simply doubling the delay from the previous review,
the scheduler adds an extra delay of up to 40 kiloseconds
(linearly decreasing) to prevent new cards
from being reviewed mere minutes later.
</pre>
tag:gitlist.org,2012:commit/2049c8812e474feea02aa7174cb431f3d27b5e78Improve interface messages2021-12-16T21:28:52-05:00John Smith
<pre>Trivial improvements to the interface text:
adding a `\n` and `s/cards/prompts/`
</pre>