Re: [Sugar-devel] Porting sugar activity to sugarizer

2020-03-11 Thread James Cameron
The board is not random in the beginning. When creating a game to play Implode starts with an empty board state and injects transformations to confuse that state. The type of transformations are the exact inverse of those the player requests in a winning move sequence. The code is in

[Sugar-devel] Porting sugar activity to sugarizer

2020-03-11 Thread Abhishek Tanwar
I am porting Implode activity to sugarizer . I read the code a few times and I partially understood its working . One thing that I am not able to understand is the logic that the game always have an answer despite of random board formation in the beginning . Is it that the initial state of board

Re: [Sugar-devel] Porting Activity to Sugarizer

2020-03-11 Thread James Cameron
Sound is captured from microphone or line input, expressed as digital audio samples, resampled at a frequency congruent with the display, and then drawn as a graph. Some time is then allowed to elapse before doing it again. Where possible, the calculations for capture, resampling, and formatting

[Sugar-devel] Porting Activity to Sugarizer

2020-03-11 Thread Abhishek Tanwar
I am porting the Measure activity of Sugar to Sugarizer. Can anyone please help me understand the logic used in measure Activity . I would be very thankful to you. Thank You ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

Re: [Sugar-devel] Measure activity not working

2020-03-11 Thread Abhishek Tanwar
Thanks for the help. It worked . Sorry for sharing the image I'll keep that in mind next time. On Thu, Mar 12, 2020 at 5:28 AM James Cameron wrote: > Yes, that won't work. > > By following the instructions on ubuntu.md#using-sugar-on-ubuntu you > will have installed Sugar 0.106, which is Python

Re: [Sugar-devel] Measure activity not working

2020-03-11 Thread James Cameron
Yes, that won't work. By following the instructions on ubuntu.md#using-sugar-on-ubuntu you will have installed Sugar 0.106, which is Python 2 only. That's why you saw "sugar-activity3: command not found". Measure activity has been ported to Python 3, and requires Sugar 0.116 or later. You have

Re: [Sugar-devel] Issue in Installation of Sugar-live-build

2020-03-11 Thread James Cameron
Saumya; unless you have a requirement I'm not aware of, you should not be trying to rebuild the image, you should instead be trying to _use_ an already built image. You can use my image, or Ibiam's image. The image is an ISO-9660 filesystem. Jui is correct; issue 13 and the "Failed getting

Re: [Sugar-devel] Query Regarding GSOC

2020-03-11 Thread James Cameron
Hello Vishal, Thanks for asking. We have a proposal template https://github.com/sugarlabs/GSoC/blob/master/Template.md Google has a guide to Writing a Proposal https://google.github.io/gsocguides/student/writing-a-proposal And we have a list of what we are looking for in a perfect student

Re: [Sugar-devel] Idea Discussion for Improve and Maintain 25 sugar activities

2020-03-11 Thread James Cameron
Hello Ayush, You are correct in your assessment of the activities; there are many with good learning values that are no longer available because of insufficient maintenance. You can certainly refer to those three pull requests in your proposal, for context, or in a list of pull requests you

Re: [Sugar-devel] Measure activity not working

2020-03-11 Thread Abhishek Tanwar
I installed sugar on my ubuntu 16.04 using https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md#using-sugar-on-ubuntu . On Thu, Mar 12, 2020 at 12:44 AM Chihurumnaya Ibiam < ibiamchihurumn...@sugarlabs.org> wrote: > How did you install sugar? > > Also you can send the output next time

Re: [Sugar-devel] Measure activity not working

2020-03-11 Thread Chihurumnaya Ibiam
How did you install sugar? Also you can send the output next time instead of an image. On Wed, Mar 11, 2020, 8:09 PM Abhishek Tanwar wrote: > I have clone the measure activity from > https://github.com/sugarlabs/Measure/tree/master in my > /usr/share/sugar/activities directory on my linux

Re: [Sugar-devel] Issue in Installation of Sugar-live-build

2020-03-11 Thread Chihurumnaya Ibiam
You can get the live build image here http://people.sugarlabs.org/ibiamchihurumnaya/ On Wed, Mar 11, 2020, 5:14 PM Saumya Mishra <2017...@iiitdmj.ac.in> wrote: > As suggested by you I tried installing sugar-live-build. But on > running build script I am getting error- > P: Executing auto/build

[Sugar-devel] Measure activity not working

2020-03-11 Thread Abhishek Tanwar
I have clone the measure activity from https://github.com/sugarlabs/Measure/tree/master in my /usr/share/sugar/activities directory on my linux 16.04 . When I run Measure activity it does not start . Logs are also clear ,no error appears in logs. When I try to run the activity using terminal this

Re: [Sugar-devel] Issue in Installation of Sugar-live-build

2020-03-11 Thread Jui Pradhan
Hi, I faced a similar issue before. However, you can get sugar-live-build working on a virtual machine. Get it working by directly downloading the .iso file, no need to rebuild it on your own. (please correct me if I am wrong) Maybe this might help -

Re: [Sugar-devel] M-V-C model for MusicBlocks

2020-03-11 Thread Walter Bender
Noted. On Wed, Mar 11, 2020 at 12:00 PM Bottersnike wrote: > It is worth noting that the module loading method MusicBlocks uses, > requirejs, is particularly susceptible to race conditions. From testing, at > the moment is it currently just at the limit of the number of files it's > able to

[Sugar-devel] Issue in Installation of Sugar-live-build

2020-03-11 Thread Saumya Mishra
As suggested by you I tried installing sugar-live-build. But on running build script I am getting error- P: Executing auto/build script. [2020-03-11 21:37:44] lb_build noauto [2020-03-11 21:37:44] lb_bootstrap P: Setting up cleanup function [2020-03-11 21:37:44] lb_bootstrap_cache restore P:

Re: [Sugar-devel] M-V-C model for MusicBlocks

2020-03-11 Thread Bottersnike
It is worth noting that the module loading method MusicBlocks uses, requirejs, is particularly susceptible to race conditions. From testing, at the moment is it currently just at the limit of the number of files it's able to load without this being an issue, however I suspect if each widget

Re: [Sugar-devel] M-V-C model for MusicBlocks

2020-03-11 Thread b18050 b18050
This is very helpful for beginner developers also if we maintain individual directories for every widget. Different widgets work differently. So, there must be some differences in them i.e. a change in one of the widget can affect only that widget. If we want to add any facility to multiple

Re: [Sugar-devel] M-V-C model for MusicBlocks

2020-03-11 Thread Walter Bender
Sounds good to me. We should probably make an individual directory for each widget with its model and controller js files. On Wed, Mar 11, 2020 at 11:22 AM b18050 b18050 < b18...@students.iitmandi.ac.in> wrote: > Hello everyone, > This is regarding model - view - controller model of Music

[Sugar-devel] M-V-C model for MusicBlocks

2020-03-11 Thread b18050 b18050
Hello everyone, This is regarding model - view - controller model of Music Blocks. As suggested by respected mentor , there is a need to separate controller and model of widgets. I think it will be good if for every widget, we can have two files controller.js and model.js. In model.js , we can

[Sugar-devel] Query Regarding GSOC

2020-03-11 Thread Vishal Chaudhary
Hello, I am VIshal Chaudhary wanted to participate in GSOC 2020 with your organization. I have gone through the project list from which I think the below three interests me the most: Sugar app store for Python 3 activities (aslov4) Debian advocacy for Sugar Fedora advocacy for Sugar If I am to

[Sugar-devel] Idea Discussion for Improve and Maintain 25 sugar activities

2020-03-11 Thread ayush nawal
G'day, As I was going through activities selection for my proposal, I am facing some doubts while planning for the issue to work on in a particular activity. In my opinion, Along with fixing bugs and adding new features, upgrading all the required dependencies of the 25 proposed activity to the

Re: [Sugar-devel] Contribution through GSOC

2020-03-11 Thread Saumya Mishra
Thanks James! sudo gsettings set org.gnome.desktop.interface cursor-theme 'whiteglass' this command worked for me. I will take care of things so that I do not make such mistakes in the future. On Wed, Mar 11, 2020 at 2:28 AM James Cameron wrote: > Thanks. That sequence explains the cause. You