Peter,

I believe it does. It uses your own process_answer, which I see
includes some log functions. Looking at dlg's gradeAnswer, it looks
like I'm doing everything log related. Though it looks like I should
be catching the interval and including something like:

if get_config("show_intervals") == "statusbar":
            self.statusBar().message(self.trUtf8("Returns in ").append
(\
                str(interval)).append(self.trUtf8(" day(s).")))

The one thing I wasn't sure about was if it's OK to call newQuestion()
and updateDialog() even in cases where I have imported no new scores,
or when the current card does not have a new score. As it stands, I
call these every time I sync, and there doesn't appear to be any
problem.

--Joe



On Sep 30, 12:24 pm, Peter Bienstman <[email protected]> wrote:
> Great!
>
> I was wondering, does it also log the revision data and update the logs when
> you reimport the data?
>
> Cheers,
>
> Peter
>
> On Wednesday 30 September 2009 08:34:15 pm Joseph wrote:
>
> > I've hacked together a means for reviewing and scoring your cards on
> > the web. Basically, the plugin exports the day's cards to xml and
> > transfers them by sftp to a web server (via paramiko). Then a simple
> > php script presents them for grading. The same button that exports
> > your cards first imports them from the server, finds the grades, and
> > runs them through mnemosyne's scheduling algorithm.
>
> > It's basically functional now, though I need to add a few things.
> > First, you only review each card once, even if you fail it. Second,
> > your score doesn't have a date attached to it, so it's best if you
> > sync on the same day before and after you review your cards remotely.
> > There's no image/latex support yet. Users presently need to manually
> > set their data folder/file to 777 permissions. Finally, there's no
> > feedback wrt the sftp process or in the php script wrt file not found,
> > no cards remaining, etc. I plan on adding these features within the
> > next week or so.
>
> > There are also a couple of security issues. Aside from general
> > security of your data on the web server, I'm also presently
> > instructing paramiko to accept all host keys. Users uncomfortable with
> > this policy should remove that line, and establish an ssh connection
> > manually prior to first running this plugin. The final version will
> > query users about unfamiliar host keys.
>
> > Given the above two paragraphs, users of the present version should
> > probably have some tech savvy if they're going to run this. Future
> > versions--within the next week or two--will be more user friendly.
>
> > I haven't used this extensively yet, but it does appear to be working.
> > There may be bugs. I've also only tested this on linux. My intent is
> > to use this on the iPod touch. I won't have one for another few days,
> > but that's what I've got in mind.
>
> > Note that you'll have to install paramiko for this plugin to work. If
> > there's a significant need, it's easy enough to hack together
> > something that syncs via ftp or manual file transfer.
>
> > Note also that the python plugin is a complete hack. It's my first
> > python project.
>
> > I think that's it. I'll upload as a plugin once I've got the above
> > mentioned features, but presently you can download it at:
>
> > php script (right click to download and save) :
> >http://icogsci1.ucsd.edu/~jschilz/memServer/download/memServer.php
> > plugin :
> >http://icogsci1.ucsd.edu/~jschilz/memServer/download/syncRemoteDB.py
>
> > Additionally, you can see a demonstration version of it here:
> >http://icogsci1.ucsd.edu/~jschilz/memServer/demo/memServer.php
>
> > Please read the instructions/warnings in the plugin, and set the
> > required variables
>
> ------------------------------------------------
> Peter Bienstman
> Ghent University, Dept. of Information Technology
> Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
> tel: +32 9 264 34 46, fax: +32 9 264 35 93
> WWW:http://photonics.intec.UGent.be
> email: [email protected]
> ------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to