<div dir="ltr"><div>As suggested by you i have gone through sugargame(<a href="https://github.com/sugarlabs/sugargame">https://github.com/sugarlabs/sugargame</a>) and added fix to Math Hurdler activity in the following pull request <a href="https://github.com/sugarlabs/math-hurdler/pull/3">https://github.com/sugarlabs/math-hurdler/pull/3</a> . I have also ported the activity to sugargame v1.2 . Please review and suggest changes as you see fit. </div><div>Thank you </div><div>Ashish Kumar</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 10:20 AM <<a href="mailto:sugar-devel-request@lists.sugarlabs.org">sugar-devel-request@lists.sugarlabs.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Sugar-devel mailing list submissions to<br>
<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:sugar-devel-request@lists.sugarlabs.org" target="_blank">sugar-devel-request@lists.sugarlabs.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:sugar-devel-owner@lists.sugarlabs.org" target="_blank">sugar-devel-owner@lists.sugarlabs.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Sugar-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Math_Hurdle activity keeps getting stuck (James Cameron)<br>
2. Re: Enquiry Regarding Contribution To Write Activity Project<br>
(Ashish Aggarwal)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 28 Mar 2019 13:26:13 +1100<br>
From: James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
To: <a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>
Subject: Re: [Sugar-devel] Math_Hurdle activity keeps getting stuck<br>
Message-ID: <<a href="mailto:20190328022613.GF14264@laptop.org" target="_blank">20190328022613.GF14264@laptop.org</a>><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
You mean the Math Hurdler activity.<br>
<br>
<a href="https://github.com/sugarlabs/math-hurdler" rel="noreferrer" target="_blank">https://github.com/sugarlabs/math-hurdler</a><br>
<br>
No, you're not alone. I saw this too. I'm not surprised, as the<br>
activity was unfinished and had latent problems that were preventing<br>
testing with Sugar. Other activities from the same team had similar<br>
problems.<br>
<br>
Also, the activity uses an older version of Sugargame.<br>
<br>
The Sugargame 1.2 documentation and test activity gives very clear<br>
guidance in how to structure the calls to Pygame while keeping the GTK<br>
events also processed. Please review Sugargame.<br>
<br>
<a href="https://github.com/sugarlabs/sugargame" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugargame</a><br>
<br>
On Wed, Mar 27, 2019 at 10:31:59PM +0530, Ashish Kumar wrote:<br>
> Hi, <br>
> In math-hurdle activity , the activity freezes on startup, one of the reasons<br>
> behind which could have been starting pygame loop before activity constructor<br>
> returns. I have checked that the activity constructor is returned before the<br>
> main pygame loop is run but i am still not able to figure the problem out. Is<br>
> this a problem that i alone am facing ? <br>
> Thank you<br>
> Ashish Kumar<br>
<br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 28 Mar 2019 10:20:32 +0530<br>
From: Ashish Aggarwal <<a href="mailto:ashish09101998@gmail.com" target="_blank">ashish09101998@gmail.com</a>><br>
To: James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>>, <a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>
Subject: Re: [Sugar-devel] Enquiry Regarding Contribution To Write<br>
Activity Project<br>
Message-ID:<br>
<<a href="mailto:CADyDwLDeYkGZU4s9jwW7sbLCTnMKNwP%2BT57cjZ-UwaYF1aA5fw@mail.gmail.com" target="_blank">CADyDwLDeYkGZU4s9jwW7sbLCTnMKNwP+T57cjZ-UwaYF1aA5fw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello James ,<br>
I have a query . The idea page<br>
<<a href="https://github.com/sugarlabs/GSoC/blob/master/Ideas-2019.md#write-activity-for-sugarizer" rel="noreferrer" target="_blank">https://github.com/sugarlabs/GSoC/blob/master/Ideas-2019.md#write-activity-for-sugarizer</a>><br>
refers<br>
to having arrays in the text editor . Is the arrays here stand for arrays<br>
in programming language or something else ?<br>
I have attached screenshot with this mail .<br>
<br>
On Wed, 27 Mar 2019 at 10:01, James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
<br>
> Thanks Ashish.<br>
><br>
> A next step is for coding mentors Michaël Ohayon and Lionel Laské to<br>
> review and comment.<br>
><br>
> You can also work on your proposal.<br>
><br>
> <a href="https://github.com/sugarlabs/GSoC/blob/master/Template.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/GSoC/blob/master/Template.md</a><br>
><br>
> On Tue, Mar 26, 2019 at 02:10:34PM +0530, Ashish Aggarwal wrote:<br>
> > Hello James,<br>
> > I went through the mentioned text editors Quill, TinyMCE, CKEditor,<br>
> webODF as<br>
> > well as SunEditor and Froala.<br>
> > Here is result of the search done by me :<br>
> ><br>
> > Quill : Quill is a free, open source WYSIWYG editor built for the modern<br>
> web.<br>
> > It supports all major modern browsers . It has support on stack and<br>
> github. The<br>
> > major issue I found in it was lack of support for tables.<br>
> ><br>
> > TinyMCE : It is also open source Licensed under LGPL . It has all major<br>
> > features required for editing the content . It has great documentation<br>
> and an<br>
> > active community. It is not completely free and is API key based.<br>
> ><br>
> > CKEditor : It is also open source and an easy to use rich text editor .<br>
> It also<br>
> > has large active community. It has some minor cross browser platform<br>
> issues.<br>
> ><br>
> > WebODF : It is also open source . It has a major drawback the community<br>
> is not<br>
> > active anymore.<br>
> ><br>
> > Reference - [1]here.<br>
> ><br>
> > SunEditor : It is also an open source editor. It has all major features<br>
> > required for the project. The major issue is it has a very thin<br>
> community.<br>
> ><br>
> > I have also contributed to this Editor [2]here.<br>
> ><br>
> > Froala : It is also an open source editor with active and large<br>
> community . It<br>
> > also has all major features required for the project .It has good<br>
> documentation<br>
> > and has a very good performance .It is available for all major<br>
> frameworks.<br>
> > Although it is open source, but the professional support is paid.<br>
> ><br>
> > Conclusion : I feel the best way moving forward is to create our own<br>
> purely<br>
> > javascript based rich text editor without pure reliability on any other<br>
> text<br>
> > editor. Our editor would take inspiration from these editors in terms of<br>
> > frameworks used and coding style. The major advantage of doing it will be<br>
> > having a high scale of customisation as per the needs of the project. It<br>
> would<br>
> > be easier to maintain and do changes to it as per our requirements.<br>
> ><br>
> > I have tried to implement a basic rich text editor with some major<br>
> features [3]<br>
> > here purely based on HTML/CSS and JS .<br>
> ><br>
> > Ref - [4]<a href="https://stackoverflow.com/a/6008195" rel="noreferrer" target="_blank">https://stackoverflow.com/a/6008195</a><br>
> ><br>
> > Export content to printable format : Most major rich text editors uses<br>
> some API<br>
> > or js libraries to convert the data present in PDF format .<br>
> ><br>
> > For example CKEditor and TinyMCE uses [5]Api2Pdf REST API ( We can also<br>
> use<br>
> > the same in our custom editor )<br>
> ><br>
> > Also npm packages such as [6]html-pdf can also solve the problem<br>
> ><br>
> > There is one more way do implement it using [7]this<br>
> ><br>
> > Export content to editable format : Majority of previously existing text<br>
> > editors supports only convert to html format . However we can have<br>
> export to<br>
> > txt , Open XML word documents , HTML.<br>
> ><br>
> > For txt and HTML : Best way to do this is through [8]FileSaver.js and<br>
> [9]Blob<br>
> ><br>
> > A more advanced way would be [10]StreamSaver.js in case of extremely<br>
> large<br>
> > files ( greater than 2gb ) .<br>
> ><br>
> > For doc : We can use jquery word export plugin [11]example .<br>
> ><br>
> > Also we can use [12]MariGold.OpenXHTML<br>
> ><br>
> > For RTF : We can use [13]this type of approach and Blob to get RTF files<br>
> ><br>
> > Regards ,<br>
> ><br>
> > [14]Ashish aggarwal<br>
> ><br>
> > github - [15]ashish0910<br>
> ><br>
> ><br>
> ><br>
> > On Tue, 26 Mar 2019 at 03:57, James Cameron <[16]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
> wrote:<br>
> ><br>
> > Welcome.<br>
> ><br>
> > Third step was to make a study of existing web editors, identifying<br>
> > features of each and ways to export content to editable or printable<br>
> > format. What were your results?<br>
> ><br>
> > On Mon, Mar 25, 2019 at 09:25:18PM +0530, Ashish Aggarwal wrote:<br>
> > > Hello everyone ,<br>
> > > I came across the project Write Activity for Sugarizer [1]here . I<br>
> really<br>
> > liked<br>
> > > the project and would like to contribute to it for gsoc but as the<br>
> > existing<br>
> > > project is based on python and the proposed project is required to<br>
> be<br>
> > made on<br>
> > > javascript, as mentioned in the ideas page, I was not sure<br>
> regarding the<br>
> > right<br>
> > > way towards contributing to this project.<br>
> > > I have already gone through the provided tutorials as well as the<br>
> steps<br>
> > > mentioned and have been contributing towards Sugar Labs for a<br>
> while now.<br>
> > > Please provide me the right approach going forward.<br>
> > > Thanks & Regards<br>
> > > [2]Ashish Aggarwal<br>
> > > Github Link - [3]ashish0910<br>
> > ><br>
> > > References:<br>
> > ><br>
> > > [1] [17]<br>
> <a href="https://github.com/sugarlabs/GSoC/blob/master/Ideas-2019.md#" rel="noreferrer" target="_blank">https://github.com/sugarlabs/GSoC/blob/master/Ideas-2019.md#</a><br>
> > write-activity-for-sugarizer<br>
> > > [2] [18]<a href="http://ashishaggarwal.tech/" rel="noreferrer" target="_blank">http://ashishaggarwal.tech/</a><br>
> > > [3] [19]<a href="https://github.com/ashish0910" rel="noreferrer" target="_blank">https://github.com/ashish0910</a><br>
> ><br>
> > > _______________________________________________<br>
> > > Sugar-devel mailing list<br>
> > > [20]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > [21]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> ><br>
> > --<br>
> > James Cameron<br>
> > [22]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > _______________________________________________<br>
> > Sugar-devel mailing list<br>
> > [23]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [24]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> ><br>
> > References:<br>
> ><br>
> > [1] <a href="https://github.com/webodf/WebODF/issues/947" rel="noreferrer" target="_blank">https://github.com/webodf/WebODF/issues/947</a><br>
> > [2] <a href="https://github.com/JiHong88/SunEditor/pull/84" rel="noreferrer" target="_blank">https://github.com/JiHong88/SunEditor/pull/84</a><br>
> > [3] <a href="https://ashish0910.github.io/Texteditor/index.html" rel="noreferrer" target="_blank">https://ashish0910.github.io/Texteditor/index.html</a><br>
> > [4] <a href="https://stackoverflow.com/a/6008195" rel="noreferrer" target="_blank">https://stackoverflow.com/a/6008195</a><br>
> > [5] <a href="https://www.api2pdf.com/documentation" rel="noreferrer" target="_blank">https://www.api2pdf.com/documentation</a><br>
> > [6] <a href="https://www.npmjs.com/package/html-pdf" rel="noreferrer" target="_blank">https://www.npmjs.com/package/html-pdf</a><br>
> > [7] <a href="https://github.com/MrRio/jsPDF" rel="noreferrer" target="_blank">https://github.com/MrRio/jsPDF</a><br>
> > [8] <a href="https://github.com/eligrey/FileSaver.js/" rel="noreferrer" target="_blank">https://github.com/eligrey/FileSaver.js/</a><br>
> > [9] <a href="https://www.javascripture.com/Blob" rel="noreferrer" target="_blank">https://www.javascripture.com/Blob</a><br>
> > [10] <a href="https://github.com/jimmywarting/StreamSaver.js" rel="noreferrer" target="_blank">https://github.com/jimmywarting/StreamSaver.js</a><br>
> > [11] <a href="https://codepen.io/airpwn/pen/LRZdJo" rel="noreferrer" target="_blank">https://codepen.io/airpwn/pen/LRZdJo</a><br>
> > [12] <a href="https://github.com/kannan-ar/MariGold.OpenXHTML" rel="noreferrer" target="_blank">https://github.com/kannan-ar/MariGold.OpenXHTML</a><br>
> > [13]<br>
> <a href="http://jsfiddle.net/JamesMGreene/2b6Lc/?utm_source=website&utm_medium=embed&utm_campaign=2b6Lc" rel="noreferrer" target="_blank">http://jsfiddle.net/JamesMGreene/2b6Lc/?utm_source=website&utm_medium=embed&utm_campaign=2b6Lc</a><br>
> > [14] <a href="http://ashishaggarwal.tech/" rel="noreferrer" target="_blank">http://ashishaggarwal.tech/</a><br>
> > [15] <a href="https://github.com/ashish0910" rel="noreferrer" target="_blank">https://github.com/ashish0910</a><br>
> > [16] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [17]<br>
> <a href="https://github.com/sugarlabs/GSoC/blob/master/Ideas-2019.md#write-activity-for-sugarizer" rel="noreferrer" target="_blank">https://github.com/sugarlabs/GSoC/blob/master/Ideas-2019.md#write-activity-for-sugarizer</a><br>
> > [18] <a href="http://ashishaggarwal.tech/" rel="noreferrer" target="_blank">http://ashishaggarwal.tech/</a><br>
> > [19] <a href="https://github.com/ashish0910" rel="noreferrer" target="_blank">https://github.com/ashish0910</a><br>
> > [20] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [21] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > [22] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > [23] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > [24] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
> --<br>
> James Cameron<br>
> <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190328/d775bb47/attachment.html" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190328/d775bb47/attachment.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Screenshot 2019-03-28 at 10.16.12 AM.png<br>
Type: image/png<br>
Size: 54193 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190328/d775bb47/attachment.png" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190328/d775bb47/attachment.png</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Sugar-devel Digest, Vol 125, Issue 68<br>
********************************************<br>
</blockquote></div></div>