pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Space Based Repetition

TM
Tim Mackinnon
Tue, Sep 29, 2020 9:28 PM

Hi everyone - strange request, but has anyone implemented a “space based repetition” algorithm in Pharo/Smalltalk? Before going and implementing it for a little flashcard program for my daughter, I thought it might be worth checking as while it will be fun to implement I fear I may end up getting distracted on the wrong thing…

I’m after something addressing this: https://en.wikipedia.org/wiki/Spaced_repetition https://en.wikipedia.org/wiki/Spaced_repetition (possibly SuperMemo SM-2)

Tim

Hi everyone - strange request, but has anyone implemented a “space based repetition” algorithm in Pharo/Smalltalk? Before going and implementing it for a little flashcard program for my daughter, I thought it might be worth checking as while it will be fun to implement I fear I may end up getting distracted on the wrong thing… I’m after something addressing this: https://en.wikipedia.org/wiki/Spaced_repetition <https://en.wikipedia.org/wiki/Spaced_repetition> (possibly SuperMemo SM-2) Tim
TM
Tim Mackinnon
Tue, Sep 29, 2020 11:01 PM

Actually - realised that Github search is better than I realised and found: https://github.com/olekscode/Flashcards https://github.com/olekscode/Flashcards

On 29 Sep 2020, at 22:28, Tim Mackinnon tim@testit.works wrote:

Hi everyone - strange request, but has anyone implemented a “space based repetition” algorithm in Pharo/Smalltalk? Before going and implementing it for a little flashcard program for my daughter, I thought it might be worth checking as while it will be fun to implement I fear I may end up getting distracted on the wrong thing…

I’m after something addressing this: https://en.wikipedia.org/wiki/Spaced_repetition https://en.wikipedia.org/wiki/Spaced_repetition (possibly SuperMemo SM-2)

Tim

Actually - realised that Github search is better than I realised and found: https://github.com/olekscode/Flashcards <https://github.com/olekscode/Flashcards> > On 29 Sep 2020, at 22:28, Tim Mackinnon <tim@testit.works> wrote: > > Hi everyone - strange request, but has anyone implemented a “space based repetition” algorithm in Pharo/Smalltalk? Before going and implementing it for a little flashcard program for my daughter, I thought it might be worth checking as while it will be fun to implement I fear I may end up getting distracted on the wrong thing… > > I’m after something addressing this: https://en.wikipedia.org/wiki/Spaced_repetition <https://en.wikipedia.org/wiki/Spaced_repetition> (possibly SuperMemo SM-2) > > Tim
SP
Sean P. DeNigris
Wed, Sep 30, 2020 3:21 PM

Tim Mackinnon wrote

Hi everyone - strange request, but has anyone implemented a “space based repetition” algorithm in Pharo/Smalltalk?... (possibly SuperMemo SM-2)

This has been on my TODO for ages and I'd be happy to collaborate. I am especially interested in SM-2. I'll check out the repo you mentioned. I had also started something basic, but IIRC didn't get far into the algorithm yet...


Cheers, Sean

Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Tim Mackinnon wrote > Hi everyone - strange request, but has anyone implemented a “space based > repetition” algorithm in Pharo/Smalltalk?... (possibly SuperMemo SM-2) This has been on my TODO for ages and I'd be happy to collaborate. I am especially interested in SM-2. I'll check out the repo you mentioned. I had also started something basic, but IIRC didn't get far into the algorithm yet... ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
TM
Tim Mackinnon
Wed, Sep 30, 2020 9:17 PM

Hi Sean - this implementation is Leitner, which would be ok for my needs, although I don’t quite know how you choose or specify the probabilities that are needed for this particularly implementation (and Leitner descriptions don’t mention this, but I can see the intent is to give you a random flashcard favouring new or unlearned cards and occasionally giving a learned card - but I’m not quite sure how you decide what to specify for that… I’m enquiring.

SM-2 always intrigued me… and would be cool to plug that in and compare - but was trying to avoid the inevitable rabbit hole and not get the actual task done (Which it sounds like you thought too…)

Tim

On 30 Sep 2020, at 16:21, Sean P. DeNigris sean@clipperadams.com wrote:

Tim Mackinnon wrote

Hi everyone - strange request, but has anyone implemented a “space based repetition” algorithm in Pharo/Smalltalk?... (possibly SuperMemo SM-2)

This has been on my TODO for ages and I'd be happy to collaborate. I am especially interested in SM-2. I'll check out the repo you mentioned. I had also started something basic, but IIRC didn't get far into the algorithm yet...


Cheers, Sean

Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Hi Sean - this implementation is Leitner, which would be ok for my needs, although I don’t quite know how you choose or specify the probabilities that are needed for this particularly implementation (and Leitner descriptions don’t mention this, but I can see the intent is to give you a random flashcard favouring new or unlearned cards and occasionally giving a learned card - but I’m not quite sure how you decide what to specify for that… I’m enquiring. SM-2 always intrigued me… and would be cool to plug that in and compare - but was trying to avoid the inevitable rabbit hole and not get the actual task done (Which it sounds like you thought too…) Tim > On 30 Sep 2020, at 16:21, Sean P. DeNigris <sean@clipperadams.com> wrote: > > Tim Mackinnon wrote >> Hi everyone - strange request, but has anyone implemented a “space based >> repetition” algorithm in Pharo/Smalltalk?... (possibly SuperMemo SM-2) > > This has been on my TODO for ages and I'd be happy to collaborate. I am > especially interested in SM-2. I'll check out the repo you mentioned. I had > also started something basic, but IIRC didn't get far into the algorithm > yet... > > > > ----- > Cheers, > Sean > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
SP
Sean P. DeNigris
Thu, Oct 1, 2020 11:07 AM

Tim Mackinnon wrote

I don’t quite know how you choose or specify the probabilities… I’m enquiring.

Please report back on your findings!

Tim Mackinnon wrote

SM-2 always intrigued me… but was trying to avoid the inevitable rabbit hole

Yes, same. Although I'm sure I will eventually get pulled in lol. The beautiful thing about flashcards in a dynamic system like Smalltalk is that one could define an API so that any domain object could be turned into a flashcard, like the birthdays of your contacts (silly example but you get the idea). I did extensive reading on the SM-2 creator's website and played with Anki a bit. It's been on my endless TODOs to do something simple like Anki in Pharo...


Cheers, Sean

Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Tim Mackinnon wrote > I don’t quite know how you choose or specify the probabilities… I’m > enquiring. Please report back on your findings! Tim Mackinnon wrote > SM-2 always intrigued me… but was trying to avoid the inevitable rabbit > hole Yes, same. Although I'm sure I will eventually get pulled in lol. The beautiful thing about flashcards in a dynamic system like Smalltalk is that one could define an API so that *any* domain object could be turned into a flashcard, like the birthdays of your contacts (silly example but you get the idea). I did extensive reading on the SM-2 creator's website and played with Anki a bit. It's been on my endless TODOs to do something simple like Anki in Pharo... ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html