Active Topics

 



Notices


Reply
Thread Tools
Posts: 9 | Thanked: 30 times | Joined on Jan 2016 @ Finland
#1
Hello fellas! I need help with modifying (M)Nemosyne. In case you are busy, there is a TL;DR at the end

So, I was looking for apps that I could use on my Jolla to aid me at learning foreign languages. I found Nemosyne which is a port of Mnemosyne.

Well, the UI felt a bit... unfinished and it had some bugs (for example the next answer was visible after rating). It doesn't support the vocabulary category nor notes. The deal breaker for me was that it has no tag support, which means all my foreign words from different languages get mixed up since everything is in the same database, sorted by tags which don't exist in Nemosyne.

So, since I have some (read: barely any) coding skills, I decided to fork it. First I couldn't compile it, but after contacting the developer I managed to get it running (you needed to add a build step to copy some pre-compiled libraries).

Okay, so what's the catch? Why couldn't I modify it to fit my needs? (Obvious answer: I ain't got dem skills.)

Well, the thing isn't documented, has shortened-out-few-letter variable names and uses Sailfish Widgets, a set of ready-made (in my opinion not so finished) additional UI bits which make reading the code slower and harder. I have no idea how to add the missing features and re-porting the whole Mnemosyne project doesn't sound too fun either.

TL;DR
Nemosyne is missing feature, source code is absurd and missing documentation.

I can do the UI bits, but I can't understand the logic for reading and modifying the card database. Can you help me?

Update:
I changed some emails with Nemosyne's developer and he helped me out with some stuff & added documentation. Great!
I'll see what I can do about the missing features when I find the time.

Last edited by jollailija; 2016-01-15 at 15:34.
 

The Following 4 Users Say Thank You to jollailija For This Useful Post:
Posts: 1 | Thanked: 2 times | Joined on Feb 2018
#2
I'm also disappointed with nemosyne. The reply buttons are somehow strangely situated (either pull list or sliders). Why not normal buttons to touch them?!

I've tried original mnemosyne as Android app and it seems not to launch at all (insufficient memory on original Jolla can be the reason), have you tried it?

I can help you with the fork, but I have little experience with mobile ui.
When I have a few free hours I'll try to install the sdk and launch it.

What about the competition. Anki also has been ported to Sailfish.
Have you tried it?
https://github.com/loljimmo12/sailfish-anki
 

The Following 2 Users Say Thank You to hkt For This Useful Post:
Posts: 134 | Thanked: 161 times | Joined on Apr 2012 @ Austria
#3
Originally Posted by hkt View Post
I'm also disappointed with nemosyne. The reply buttons are somehow strangely situated (either pull list or sliders). Why not normal buttons to touch them?!

I've tried original mnemosyne as Android app and it seems not to launch at all (insufficient memory on original Jolla can be the reason), have you tried it?

I can help you with the fork, but I have little experience with mobile ui.
When I have a few free hours I'll try to install the sdk and launch it.

What about the competition. Anki also has been ported to Sailfish.
Have you tried it?
https://github.com/loljimmo12/sailfish-anki
i tried it now, but the anki folder seems to be empty :/
 

The Following User Says Thank You to smatkovi For This Useful Post:
Posts: 134 | Thanked: 161 times | Joined on Apr 2012 @ Austria
#4
Originally Posted by smatkovi View Post
i tried it now, but the anki folder seems to be empty :/
it works if you clone the anki repo from the developer
 

The Following User Says Thank You to smatkovi For This Useful Post:
Posts: 134 | Thanked: 161 times | Joined on Apr 2012 @ Austria
#5
Originally Posted by jollailija View Post
Hello fellas! I need help with modifying (M)Nemosyne. In case you are busy, there is a TL;DR at the end

So, I was looking for apps that I could use on my Jolla to aid me at learning foreign languages. I found Nemosyne which is a port of Mnemosyne.

Well, the UI felt a bit... unfinished and it had some bugs (for example the next answer was visible after rating). It doesn't support the vocabulary category nor notes. The deal breaker for me was that it has no tag support, which means all my foreign words from different languages get mixed up since everything is in the same database, sorted by tags which don't exist in Nemosyne.

So, since I have some (read: barely any) coding skills, I decided to fork it. First I couldn't compile it, but after contacting the developer I managed to get it running (you needed to add a build step to copy some pre-compiled libraries).

Okay, so what's the catch? Why couldn't I modify it to fit my needs? (Obvious answer: I ain't got dem skills.)

Well, the thing isn't documented, has shortened-out-few-letter variable names and uses Sailfish Widgets, a set of ready-made (in my opinion not so finished) additional UI bits which make reading the code slower and harder. I have no idea how to add the missing features and re-porting the whole Mnemosyne project doesn't sound too fun either.

TL;DR
Nemosyne is missing feature, source code is absurd and missing documentation.

I can do the UI bits, but I can't understand the logic for reading and modifying the card database. Can you help me?

Update:
I changed some emails with Nemosyne's developer and he helped me out with some stuff & added documentation. Great!
I'll see what I can do about the missing features when I find the time.
which build step did you add exactly?
 

The Following User Says Thank You to smatkovi For This Useful Post:
Posts: 134 | Thanked: 161 times | Joined on Apr 2012 @ Austria
#6
i just extracted SailfishWidgets_1_4_2.tar.bz2 in thirdparty/sailfish-widgets/release/ and copied the .so files to a path on the phone i then added to ld_library_path
 

The Following User Says Thank You to smatkovi For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:15.