<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">Le 24/08/2014 14:56, Inge Wallin a
écrit :<br>
</div>
<blockquote cite="mid:1901478.9SQ71Y6vh3@linux-yik5.site"
type="cite">
<meta name="qrichtext" content="1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">On Wednesday, August 20, 2014 11:23:02 Bruno
Coudoin wrote:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> Hi,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> On the GCompris side we are also working
on defining a new dataset</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> format for the new Qt Quick based
version.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> While we are not specifically addressing
language or grammar</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> application, we found the need to define
a way to create, distribute,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> share and play datasets for specific
activities.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I think it would be a good thing if we could
share at least container format and parts of the library to
access it.</p>
</blockquote>
Hi, I agree. We clearly have an opportunity here.<br>
<br>
<blockquote cite="mid:1901478.9SQ71Y6vh3@linux-yik5.site"
type="cite">> Also we have not mentioned it in this wiki page
but we are already
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> distributing in the new GCompris voice
files as Qt qrc files. They are</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> Qt specific but very easy to manage
because you can load them</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> dynamically and then access their
content through qrc:// url anywhere in</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> Qml. To us, 'qrc' is good candidate for
the container of the datasets as</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> it is Qt native.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">I read up a little on qrc, and it seems that
these files are hard-coded resources that are part of the source
code. A resource compiler, rcc, is then used to create C source
files that are later compiled using the normal C/C++ compiler
and becomes part of the executable. </p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">This is a good way to collect parts of the
application like icons and similar. But it is not what the
discussion about the new file format is about. We are talking
about external data files that can be downloaded or created
after the program is already installed.</p>
</blockquote>
Yes, it must be external binary files. In fact there is 2 use cases
for the rcc technology, internal or external. Please read the
chapter "External Binary Resources" here:<br>
<a class="moz-txt-link-freetext" href="http://qt-project.org/doc/qt-5/resources.html#external-binary-resources">http://qt-project.org/doc/qt-5/resources.html#external-binary-resources</a><br>
<br>
Like I said, this is already the way we distribute voices in the Qt
version of GCompris. It is easy to generate rcc files with the rcc
tools that comes with Qt. It is easy to register an rcc file with
QResource::registerResource and then we can just access the
resource with a qrc: protocol.<br>
<br>
<blockquote cite="mid:1901478.9SQ71Y6vh3@linux-yik5.site"
type="cite">
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> Some feedback on your proposal, I am
confused by the 'confidence level'.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> If it is a student mark, it may not be
desirable to put it in the</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> dataset itself because it make sense to
have it on a read only storage</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> area (most distros will do that). On
this topic at GCompris we are</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> interested in a teacher specific tool to
help them in their daily usage,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">> we starting specifying it there :</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">>
<a class="moz-txt-link-freetext" href="http://gcompris.net/wiki/Administration_design">http://gcompris.net/wiki/Administration_design</a></p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Yes, confidence level is not the ideal term
but so far we haven't found anything better. What it is is the
level of confidence that the student has for a particular word.
This tries to capture how strongly the word is put into the
memory of the student, or loosely put how long it can be
expected to be before they forget it. If you are not familiar
with the term 'spaced repetition training', I urge you to look
it up on Wikipedia, they have an excellent article about it.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">This used to be known as 'grade' in Parley
but we are providing a tool for learning and training, not for
testing so grade is not applicable. Besides, grades also have a
negative connotation in that you are a bad person if you have a
bad grade. Since any low confidence level is a necessary step to
the higher confidence levels we wanted to get rid of the grade
connotations and that was the best we could come up with. I
guess 'mark' is vaguely similar to grade in this case.</p>
</blockquote>
This is clear now and it is what I understood. Then I don't think it
is appropriate to put this data in the container for several
reasons:<br>
- may be on a read only storage<br>
- may be hard to centralize the student data to let a teacher review
it<br>
- an update of the file would overwrite the student data.<br>
<br>
<blockquote cite="mid:1901478.9SQ71Y6vh3@linux-yik5.site"
type="cite">
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Would you be interested in sharing the
container format with us if we can agree on how we store the
internal data?</p>
<br>
</blockquote>
<br>
Sure, we have to continue the discussion and hopefully find the path
that will satisfy all the needs.<br>
<br>
Bruno.<br>
</body>
</html>