As suggested by you i have gone through sugargame(
https://github.com/sugarlabs/sugargame) and added fix to Math Hurdler
activity in the following pull request
https://github.com/sugarlabs/math-hurdler/pull/3 . I have also ported the
activity to sugargame v1.2 . Please review and suggest changes as you see
fit.
Thank you
Ashish Kumar

On Thu, Mar 28, 2019 at 10:20 AM <sugar-devel-requ...@lists.sugarlabs.org>
wrote:

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

Reply via email to