VillageScribeAssociation / awarenet

awareNet social learning software for schools needing to save bandwidth/traffic
awarenet.org
8 stars 0 forks source link

KahnLite #370

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Michael,

thank you. great work plan. I agree that it is fine to let KALite handle all 
that it needs itself (e.g. downloads).

On the licence side:
KALite is BY-NC-SA, so it fits well with awarenet. We have to say that this is 
KALite in the background, and make our software freely downloadable to others 
if it is tightly integrated with KALite. We cannot charge money for the 
software.

Looking forward to the progress report.
Best, Ron

On 06/09/2013 10:57, Michael Appelt wrote:
> Hi Anna,
> In terms of work I think if we take doing Khan integration into awarenet 
ourselves as 100% then the amount of work needed to integrate with kalite 
(assuming that it works the way I think it does) would be maybe 20% instead!
> It does not look as if we need permission from anybody to run the server and 
redirect calls to it - Khan is 100% "use as you please" and I think kalite is 
too?
> I think the report/feedback functionality, assuming that it works well - am 
busy testing it locally on my machine would be useful for teachers, they would 
handle this all themselves since working with kalite offline should be quite 
similar to working with Khan online ... let's see what I find out.
> It could be that such a study is an overkill because I have to implement Khan 
lesson creation right now. The requirement to get Khan content into awarenet is 
acute and the question is should I "update" Strix's implementation of 
downloading videos or should we let kalite do this all for us (administration 
of what videos to download, setting pupils lessons for Khan, teacher getting 
reports).
> I will spend time to see how well kalite works, the webpages linking awarenet 
to kalite should be quite easy to do and should not take much time ...
> Will let you know beginning of next week about what my findings are - will 
first check what kalite can do and then try to link to it from awarenet's side 
(makig a prototype page that links to the download functionality). If I see 
that this is a major thing then I will report and not do anything further but 
if I see that it is a simple thing then I should write further prototype pages 
for it and let you, Ron and Strix decide what to do after that.
> Ok?
> Kind regards,
> Michael
>> "Dr. Anna Wertlen" <anna@eKhayaICT.com> hat am 6. September 2013 um 10:26 
geschrieben:
>>
>>
>> Hi Michael,
>>
>> thank you very much for your input. I have to rely on the 3 of you about 
tech details. Then, the cost-benefit analysis will have to be discussed between 
all of us.
>>
>> * How much work will this be and who will do the work/be able to do the work?
>> * Do we need permission from Kahn?
>> * Is it useful for teachers, will we have more independent users/awarenet 
champions/coordinators?
>>
>> I would do a before-after study, perhaps with the help of the volunteers. We 
need to communicate the impact of the awarenet programme.
>>
>> Anna
>>
>>
>>
>>
>> Michael Appelt wrote (05/09/2013 16:13 ):
>>> Dear Anna, Ron, Strix
>>> I think that this co-operative, open source platform offering offline 
access to Khan Academy learning materials could be the answer to Anna's idea of 
integrating the knowledge map of a student and solving our problem of a 
semi-implemented functionality (because we have to switch to the new Khan API) 
that downloads Khan Academy videos into the awarenet context. So in other 
words, I think that this could relieve us from implement our own "knowledge map 
/ feedback student to teacher" functionality as displayed in the video found by 
Anna and also relieve us from maintaining compatibility with the Khan API. Two 
very good "relieves" from my perspective!
>>> Technically we *could* solve it such that we would install this Khan Lite 
Server on awarenet server (all it needs is Phyton 2.6 or 2.7 - I do not know if 
this would contradict our current installation but I think it does not) and 
redirect requests from our pages to it. Using simple words we could create web 
pages on awarenet that in the background call on the Khan Lite Server to get 
its functionality.
>>> I will download and install this Khan lite server today/tomorrow and see if 
its "knowledge map / feedback student to teacher" functionality is similar or 
close in terms of sophistication of what we could see on the video Anna found. 
Ron, what a find if this is so!
>>> Kind regards,
>>> Michael
>>>
>>> > Ron Wertlen <ron@ekhayaict.com> <mailto:ron@ekhayaict.com> hat am 29. 
August 2013 um 21:42 geschrieben:
>>> >
>>> >
>>> > Hi Anna,
>>> >
>>> > +1 awesome!! Khan Academy is just magic.
>>> >
>>> > There's now KA Lite:
>>> > website: http://kalite.learningequality.org/
>>> > code: https://sites.google.com/a/learningequality.org/kalite/
>>> >
>>> > Khan Academy for offline use. Doesn't seem to use a database, so
>>> > probably uses file storage. Which we can use to integrate with awarenet.
>>> >
>>> > This would be a huge drawcard for awarenet.
>>> >
>>> > Best regards, Ron
>>> >
>>> >
>>> >
>>> > On 28/08/2013 13:33, Dr. Anna Wertlen wrote:
>>> > > Hi Strix and Michael,
>>> > >
>>> > > please, have a look at this video.
>>> > >
>>> > > http://www.youtube.com/watch?v=jQQjbq0gMmE&list=TLafMJaPhb7XE
>>> > >
>>> > > Any chance we can cooperate with Kahn in a way that an awarenet user
>>> > > can also make use of this?
>>> > >
>>> > > Thanks for your your recommendation.
>>> > > Best,
>>> > > Anna 

Original issue reported on code.google.com by a...@villagescribe.org on 11 Sep 2013 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by a...@villagescribe.org on 19 Sep 2013 at 8:33

GoogleCodeExporter commented 9 years ago
KA Lite is integrated into Awarenet and needs testing. Tests seem to start next 
week.

Original comment by appiapp...@gmail.com on 21 Nov 2013 at 8:44

GoogleCodeExporter commented 9 years ago
It is probably best if tests be done on mothsorchid.com (our test network) 
instead of laptops and other servers. Will let you know once KA Lite 
integration is available there.

Original comment by appiapp...@gmail.com on 25 Nov 2013 at 2:35

GoogleCodeExporter commented 9 years ago
Please, get in contact with Terri, Antje and Rieke, once it's available on 
mothsorchid and let them test it on mothsorchid. 

It would be good if you do not explain too much, so that we will also get 
feedback on usability.

At the same time, it would be necessary to also remind them quickly how Google 
Code works, so that they can create issues there instead of sending emails or 
similar. I have given all of them an introduction, but reminders are good. Do 
you think you can do that?

Original comment by a...@villagescribe.org on 25 Nov 2013 at 8:16

GoogleCodeExporter commented 9 years ago
testing has started on laptops, do not know when changes are available on 
mothsorchid.

Original comment by appiapp...@gmail.com on 4 Dec 2013 at 6:48

GoogleCodeExporter commented 9 years ago
How is the testing going, and when is KahnLite going to be visible on 
mothsorchid?

Original comment by a...@villagescribe.org on 6 Jan 2014 at 1:14

GoogleCodeExporter commented 9 years ago
Khan Lite should also be ready for the public at SciFest (12/03/14), i.e. 
tested by us and used by the learners in Gtn.

Original comment by a...@villagescribe.org on 10 Jan 2014 at 12:51

GoogleCodeExporter commented 9 years ago
How is testing going?

Original comment by appiapp...@gmail.com on 21 Jan 2014 at 11:00

GoogleCodeExporter commented 9 years ago
Rieke and I discovered an error that played itself out in the reporting part. I 
fixed it and updated the codebase.

Original comment by appiapp...@gmail.com on 25 Feb 2014 at 12:56

GoogleCodeExporter commented 9 years ago
I fixed a further bug. Now a student receives also points while watching a 
video, before completing it.

Original comment by appiapp...@gmail.com on 26 Feb 2014 at 6:07

GoogleCodeExporter commented 9 years ago
Michael, is KhanLite tested well enough that it can be played on mothsorchid on 
Monday, when Strix finished the move?
After uploading and testing it again on mothsorchid, it will have to be put on 
awarenet.eu for SciFest. Are you confident that we will manage that? 

(Sorry that I have not been part of the testing. Ron gave his best to install 
awarenet and KaLite on my laptop, but still hasn't been able to finish it off. 
Different story with Mac.....)

Original comment by a...@villagescribe.org on 7 Mar 2014 at 11:02

GoogleCodeExporter commented 9 years ago
I hope that it is tested well enough, I think so, functionality is quite 
limited. We shall see about uploading it unto Mothsorchid or awarenet.eu, 
because there are system dependencies that need to be satisfied and I am almost 
certain that I might not have enough system privileges to do the 
installing/changes.

It is probably most desirable and I would recommend that Strix will do the 
KaLite installation onto Mothsorchid and awarenet.eu. Whe shall see how he 
fares with the upgrades/updates ...

Would it not be best if you would get a cheapish laptop for the Berlin 
operations in order to be able to test there with your own installation? Are 
there many schools that are customers of us that make use of Macs? I hope that 
Mediamarkt has a good deal for you soon ...?

Original comment by appiapp...@gmail.com on 7 Mar 2014 at 11:36

GoogleCodeExporter commented 9 years ago
Ok, I hope that Strix will have time for that. It is not very trustworthy to 
present something at a conference that does not work when the people want to 
use it from home or their school afterwards. 

The VSA and eKhaya ICT have absolutely no money to buy any additional 
equipment. Personally, I wish I had the money to buy any electronic equipment, 
but I don't. 

Original comment by a...@villagescribe.org on 7 Mar 2014 at 11:53

GoogleCodeExporter commented 9 years ago
I am busy reorganising code according to new handling structure (do404/redirect 
to action) and at the same time am trying to figure out what changed with 
regards to login. 

The problem seems to be that for some reason the user does not stay logged in 
for long, which requires that the code has to automatically login in the 
background again.

Original comment by appiapp...@gmail.com on 18 Mar 2014 at 3:50

GoogleCodeExporter commented 9 years ago
I will get in touch with KA-Lite project and tell them about us. IMHO It is in 
their interest to have us interfacing with their software and they will be glad 
about the collaboration.  Some communication could help with such problems.

Original comment by Ooskapenaar@gmail.com on 18 Mar 2014 at 9:48

GoogleCodeExporter commented 9 years ago
I managed to consolidate the automatic login again. The reason for it to be 
unstable was not a change within KhanLite API it rather was a misunderstanding 
on my side about how Sessions and Cookies work, which came to the forth with 
this new code structure.

I will now continue moving KhanLite integration functionality into the new code 
structure.

Original comment by appiapp...@gmail.com on 24 Mar 2014 at 9:04

GoogleCodeExporter commented 9 years ago
How much work is still required to stabilise KaLite? Can we get some sort of a 
time frame here?

Original comment by a...@villagescribe.org on 28 Mar 2014 at 12:57

GoogleCodeExporter commented 9 years ago
I am still having strange occurrences of the system signing out on me and the 
new code structure introduced a few subtle bugs that I am busy fixing. I hope 
that all will be running smoothly within the next 5 days.

Original comment by appiapp...@gmail.com on 28 Mar 2014 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by appiapp...@gmail.com on 9 Apr 2014 at 11:05

GoogleCodeExporter commented 9 years ago
Kalite is finally ready for tests. See attached Test Guide and "hammer away" 
after the test kick-start!

Original comment by appiapp...@gmail.com on 10 Apr 2014 at 7:51

Attachments:

GoogleCodeExporter commented 9 years ago
It seems that Google Chrome has problems playing the KaLite videos. I have to 
research why and find a remedy ...

Original comment by appiapp...@gmail.com on 15 Apr 2014 at 11:25

GoogleCodeExporter commented 9 years ago
Google Chrome seems to make use of downloading the video in ranges while 
firefox seems to download the whole file in one go. It seems that I have not 
implemented the range downloading of video files yet correctly. Am working on 
it right away.

Original comment by appiapp...@gmail.com on 15 Apr 2014 at 12:24

GoogleCodeExporter commented 9 years ago
I have found the problem and fixed it. I will update code base and package and 
upload onto mothsorchid. Will let you know when this can be tested.

Original comment by appiapp...@gmail.com on 15 Apr 2014 at 2:07

GoogleCodeExporter commented 9 years ago
fix so that Kalite Videos are also played in Google Chrome uploaded onto 
Mothsorchid. Bitte testen!

Mothsorchid is extremely slow, so you will need a lot of patience!

Original comment by appiapp...@gmail.com on 15 Apr 2014 at 2:34

GoogleCodeExporter commented 9 years ago
Bottle neck with Google Chrome seems to be identified. It lies with the single 
threaded nature of the 404 event handling when part of a video file is 
downloaded. All the other calls have to wait until this call is completed.

Original comment by appiapp...@gmail.com on 16 Apr 2014 at 10:36

GoogleCodeExporter commented 9 years ago
Antje and Riekes test report indicate that there might be an issue with how 
points are recorded for students. But it might also be that the video playing 
issue prevents point messages/calls to get to the kalite system in time to get 
recorded properly.

I will write a test guide that tries to identify the issue with the points once 
the video play issue is solved.

Original comment by appiapp...@gmail.com on 25 Apr 2014 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago
I managed to identify the spot in the code where I can have influence over the 
size of the google-chart that displays coachreport no 2 and 3.

I updated lessons package in svn codebase and also updated the package.

Change is testable on Mothsorchid.com.

Original comment by appiapp...@gmail.com on 1 May 2014 at 7:05

GoogleCodeExporter commented 9 years ago
I tested Kalite on mothsorchid quite often in the last few weeks and got a few 
bugs. 
Especially today, I got an error message and couldn't test Kalite at all.

Original comment by rieke.he...@gmail.com on 26 May 2014 at 9:04

Attachments:

GoogleCodeExporter commented 9 years ago
Most of the inconsistencies happen because of slow internet connection from GHT 
office to mothsorchid.com . Certain messages to update points for example are 
not getting through in time, cancelling a download will often not work because 
the command arrives at mothsorchid.com only after the video has been downloaded.

Kalite integration is not working today because Kalite server is for some 
reason not started anymore. I am looking into how best the integration could 
react to this.

Original comment by appiapp...@gmail.com on 26 May 2014 at 10:45

GoogleCodeExporter commented 9 years ago
Sorry, my bad, restarted awarenet.eu over the weekend int he course of running 
some OS updates, didn't realize that kalite had not come back up.  Have set it 
going again.

Original comment by awarenet...@gmail.com on 26 May 2014 at 10:52

GoogleCodeExporter commented 9 years ago
thank you Strix!

I will show a different entrance sceen into Kalite implementation if server
is not available.

It will say something like "Kalite Server not started, please contact your
Awarenet Server Administrator."

Is that ok?

Original comment by appiapp...@gmail.com on 26 May 2014 at 10:58

GoogleCodeExporter commented 9 years ago
I inserted the check.

The Kalite integration menu is now not shown if the Kalite server is not 
responding. Instead you will see a message telling you "Cannot access Kalite 
Server, please ask your awarenet Administrator what the problem might be!"

With this, the user cannot stumble into any problems and knows beforehand that 
Kalite will not work.

Maybe Rieke can ask Stryx to stop kalite server on mothsorchid and test this 
case?

Original comment by appiapp...@gmail.com on 26 May 2014 at 2:31

GoogleCodeExporter commented 9 years ago
Strix stopped the kalite server on mothsorchid for a few minutes and I tested 
this case. Everything worked out perfectly and I could see the message.

Original comment by rieke.he...@gmail.com on 26 May 2014 at 2:45

GoogleCodeExporter commented 9 years ago
Thank you for this fast track testing!

Testing this on Mothsorchid from Grahamstown has its limits due to the 
fluctuations of the internet service (often slow speeds resulting in time outs 
and lost or very late packages). I think we tested what we could test and the 
bugs we witness are very likely results of this fluctuating internet service 
(by the way my access at Charles street is not much better). So it would be 
good if we could test on Mothsorchid from a more stable and high speed internet 
environment, like from Berlin? The test guide can be downloaded a few comments 
earlier ... 

Original comment by appiapp...@gmail.com on 26 May 2014 at 3:02

GoogleCodeExporter commented 9 years ago
I will see what I can do today.

Original comment by a...@villagescribe.org on 27 May 2014 at 6:32

GoogleCodeExporter commented 9 years ago
Please, find attached the test results for test 1-4.

Original comment by a...@villagescribe.org on 27 May 2014 at 12:34

Attachments:

GoogleCodeExporter commented 9 years ago
And here the rest (5-7). 

Please, let me know if I must do more. Thank you. 

Original comment by a...@villagescribe.org on 27 May 2014 at 1:04

GoogleCodeExporter commented 9 years ago

Original comment by a...@villagescribe.org on 27 May 2014 at 1:04

Attachments:

GoogleCodeExporter commented 9 years ago
Tests seem to be inconclusive and not satisfactory. I recommend to not upload 
Kalite to awarenet.eu and to not flag this as done. I will as a 3rd parallel 
task continue testing this. 

What has to be established is if the bugs we see are purely Kalite bugs or if I 
introduced the bugs with the functionality redirection that we have to do 
(request to awarenet and awarenet requests in-turn from Kalite).

I will do the tests on mothsorchid as soon as Internet has improved over here 
(neither Charles Street nor Office have acceptable speeds and stability at the 
moment). I have Telkom coming to Charles Street for the xth time in order to 
fix my connection ... so my tests might happen hopefully within the next few 
days (Telkom has announced their coming tomorrow again).

Original comment by appiapp...@gmail.com on 28 May 2014 at 12:32

GoogleCodeExporter commented 9 years ago
OK, thank you for this, Michael. I will see if we can enhance Internet in the 
office, too. Will talk to Strix. 

Original comment by a...@villagescribe.org on 30 May 2014 at 7:23

GoogleCodeExporter commented 9 years ago
Internet seems to be restored at Charles Street and this means that I can test 
Kalite on Mothsorchid properly. I need to first test Kalite directlly on 
Mothsorchid (port 8008) and then test the Kalite functionality through awarenet 
(port 8000) and see if and what the differences are. I will start testing this 
afternoon.

Original comment by appiapp...@gmail.com on 12 Jun 2014 at 7:12

GoogleCodeExporter commented 9 years ago
Spent time to test Kalite server directly on mothsorchid. Cannot test 
awarenet's Kalite on mothsorchid at the moment due to DNS issues. Have to wait 
until DNS issue is sorted out so that I can establish if there are differences 
between the two.

Original comment by appiapp...@gmail.com on 18 Jun 2014 at 2:37

GoogleCodeExporter commented 9 years ago
I tested "Kalite known issues" on my laptop and as local as this, all works 
well, to the point so to speak. Subtitles also work perfectly.

The valid use case of it is running it on a school network and see how it 
behaves there. I suspect that it will work well. Accessing/testing it through 
Mothsorchid and awarenet.eu will sometimes lead to problems and I suspect that 
the culprit is the Internet Connection with its lag/latency/lost packages/slow 
connection issues. 

My recommendation is to put this issue now to rest, let it run at a school and 
see if any issues arise there, I expect very little, close to none issues. 

Work still to be done is to move Kalite code out of the lessons package into 
its own package and at some stage we might address the multi/school 
installation problems if we need to - as it is at the moment Kalite should only 
be used for a single school set-up as the student data are all stored into the 
same database location/region. The result of this is that any student's data 
can be accessed by any teacher, even those that do not teach at the school the 
student is educated at (again this only applies to multi/school set-ups as for 
example awarenet.eu)! 

Original comment by appiapp...@gmail.com on 30 Jun 2014 at 11:37

GoogleCodeExporter commented 9 years ago
If agreed, I would need to update Kalite on awarenet.eu to have it working the 
same way mothsorchid works.

Original comment by appiapp...@gmail.com on 30 Jun 2014 at 11:38

GoogleCodeExporter commented 9 years ago
This sounds great and very promising to be working at the schools, indeed. 
Please, update KaLite on awarenet.eu as well. 
At the moment, I am not worried that teachers have access to schools other than 
their own. After Festival, I will ask Antje and Rieke to test KaLite with one 
group only, perhaps we can approach a science group in the Joza Youth Hub as a 
pilot group. If problems arise, we can open new issues. 
Once, the multi school setup works 
(https://code.google.com/p/awarenet/issues/detail?id=387), awarenet might 
become more attractive again for KW, which could then be a good time to 
approach them again, but it's ok to give it some time.
Once, KaLite is updated on awarenet.eu, this issue can be closed. Thank you!

Original comment by a...@villagescribe.org on 1 Jul 2014 at 7:31

GoogleCodeExporter commented 9 years ago
I uploaded code to awarenet.eu. Kalite Server is not active/running there at 
the moment. Can therefore not do final checks if all is ok. Will do so once 
Kalite is running again.

Original comment by appiapp...@gmail.com on 2 Jul 2014 at 7:58

GoogleCodeExporter commented 9 years ago
Why is the server not running on awarenet.eu? Is that an error or on purpose?

Original comment by a...@villagescribe.org on 2 Jul 2014 at 8:39

GoogleCodeExporter commented 9 years ago
I updated awarenet.eu with newest Kalite. It seems to work. Could maybe Rieke 
or/and Antje check if all is running ok on awarenet.eu, please?

Original comment by appiapp...@gmail.com on 18 Jul 2014 at 1:24

GoogleCodeExporter commented 9 years ago
Unbelievable, but the tests I specified where not covering all the cases and so 
was it possible that a bug crawled all the way to awarenet.eu!

The bug is that the exercise map in watch&exercise does not work at all.

These were the bad news, the good news are that I managed to find the culprit 
Kalite code that caused this bug and it is now corrected. Exercise map works 
therefore again. Please look at it on mothsorchid and awarenet.eu.

I will mark this issue as fixed as soon as somebody tested it on the two 
servers and confirms that it works.

Original comment by appiapp...@gmail.com on 25 Jul 2014 at 1:40

GoogleCodeExporter commented 9 years ago
We tested successfully on mothsorchid.com and awarenet.eu. :-)

Original comment by antjeh...@gmail.com on 28 Jul 2014 at 7:06