You are here

Mnemosyne: a flash card program.

7 posts / 0 new
Last post
paradox_fields
Offline
Last seen: 16 years 2 months ago
Joined: 2006-12-20 05:59
Mnemosyne: a flash card program.

I've been lurking on this site for several months, but I didn't really have anything to say or contribute during that time. However, I just recently discovered this:

http://mnemosyne-proj.sourceforge.net

I brought the idea of physical portability (as opposed to system portability, because Mnemosyne already runs on both Windows and Linux) up on the project's forums. Ironically, someone suggested I mention this here. Also, while I've looked at the program's code, my Python programming skills are a bit rusty.

As far as I can tell, all of the program's settings are written to a single folder inside the user's home directory, so I don't think it would be too difficult to make a portable app out of this program.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 7 months ago
Joined: 2006-01-06 21:27
I'll take it up

One question: Any way to set a different folder?
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it.
(Tom Lehrer)

"If you're not part of the solution, you're part of the precipitate."

paradox_fields
Offline
Last seen: 16 years 2 months ago
Joined: 2006-12-20 05:59
I think it's hardcoded.

I didn't find a way (by running the program) to change the directory that the settings go into. I think it's directly hardcoded to save all settings into the ~/.mnemosyne directory.

I also copied Mnemosyne into a folder on my flash drive to test it out there. That copy of it was accessing the settings directory in my home directory.

LinuxPunkkeri
Offline
Last seen: 16 years 6 months ago
Joined: 2006-12-22 04:11
It indeed is hard coded

The base directory variables are located in the source files
mnemosyne\core\mnemosyne_core.py and mnemosyne\core\mnemosyne_log.py (at least)
in variables calles 'basedir'. Each function has its own basedir variable.
I'm not a python expert, but I guess the lines should be changed from:

basedir = os.path.join(os.path.expanduser("~"), ".mnemosyne")

to something like this:

basedir = os.path.join(os.path.abs("..\\Data"), ".mnemosyne")

I can't build it because I don't want to install PyQT and the other stuff required for compilation, but the later line should change the base directory to ..\Data\.mnemosyne.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 7 months ago
Joined: 2006-01-06 21:27
Well

I give up then Sad
I have too many projects at the moment.
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it.
(Tom Lehrer)

"If you're not part of the solution, you're part of the precipitate."

paradox_fields
Offline
Last seen: 16 years 2 months ago
Joined: 2006-12-20 05:59
What about other such programs?

Something recently occurred to me. Rather than asking if anybody was interested in trying to make a certain flashcard program portable, I should just have asked if there were any existing flashcard programs that are already portable (or near-portable) that anyone knows of.

So let me pick the community's brains now. Even a very basic portable flashcard program would be useful to me, but the features I'm really looking for are:

  • Ability to make my own flash cards (even if it's not directly built into the program).
  • Unicode support.
  • Ability to activate and deactivate groups of cards.

As always, free/open-source applications are preferable when available.

As an aside, I'm looking at the source code for a few items such as Wiki on a Stick (particularly for external file or self- load/save operations), to see if I can cobble together a JavaScript-based flashcard program that runs in a browser and does most of what I want.

paradox_fields
Offline
Last seen: 16 years 2 months ago
Joined: 2006-12-20 05:59
I found something else that works.

For the sake of making it available to the search engine, I want to bump this thread with the note of a flash card program that is already close to being portable. It's called Pauker.

http://pauker.sourceforge.net/

At first, I didn't think it could be made portable because it was written in Java. However, the Downloads page has a Windows EXE file that actually constitutes the entire application.

http://sourceforge.net/project/showfiles.php?group_id=40334

Unfortunately, it writes a bunch of settings to a place in the registry. Opening regedit and doing a search for "Pauker" should find the folder (in HKEY_USERS) where they're all stored. After that, Yoda da Coda's RegRap program works perfectly for this application. (Just don't forget to fill in the Settings.ini file before you start it.)

https://portableapps.com/node/4164

Topic locked