Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-24 Thread Sebastian Silva

  
  

El 22/01/14 15:08, Sam Parkinson
  escribió:

Does the activities.sugarlabs.org
  let you search by bundle id? If so that could be used to guide the
  user to what they need (like package kit on gnome). It would be
  really easy to go: launch activities.sugarlabs.org/bundleid/org.this.that
  with the api :)

This is exactly one of the main aspects of what the Sugar Network is
intended to do!
Check this out:

http://network.sugarlabs.org/context/gallery/org.laptop.TurtleArtActivity

With a Sugar Network enabled shell, currently it's possible to
"launch" an activity with clicking in it's icon within the context
info area, in the Sugar Network view.



Click on the center image to "launch".
Icons around it include questions, ideas, problems on the left side,
and reviews, feedback list and artifact list on the right.
This is only the initial implementation that is being used in Peru.
Hopefully we'll begin seeing some more feedback from the field by
this means.

I really hope this year we can promote the Sugar Network among the
upstream community and make it useful for everyone.

Best regards,
Sebastian


  

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] My custom activity-icon renders fine, except in the launched application toolbar

2014-01-24 Thread laurent bernabe
Hello,

in my project LearningChessWeb, I've just changed the activity icon.
It renders fine in journal and activities menu, but it can't be seen in the
application toolbar, once launched.

How could I "patch" it ?

This is where I've been looking :
http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar

I've been designing icon with Inkscape, and added entities from Brackets
IDE  (maybe it isn't the best way to design an activity icon ...)

Regards
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Helping people to get started

2014-01-24 Thread Code Raguet
thanks!


On Fri, Jan 24, 2014 at 2:41 PM, Frederick Grose  wrote:

> On Fri, Jan 24, 2014 at 11:58 AM, Code Raguet  > wrote:
>
>> also, at http://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki
>> there is a link to 
>> http://developer.sugarlabs.org/dev-environment.md.htmlthat, I think, it 
>> should point to
>> http://developer.sugarlabs.org/
>>
>
> Done.
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Helping people to get started

2014-01-24 Thread Frederick Grose
On Fri, Jan 24, 2014 at 11:58 AM, Code Raguet
wrote:

> also, at http://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki
> there is a link to 
> http://developer.sugarlabs.org/dev-environment.md.htmlthat, I think, it 
> should point to
> http://developer.sugarlabs.org/
>

Done.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Fedora repository with snapshots from git

2014-01-24 Thread Code Raguet
Hi there, I have an ARM (QEMUed) slave ready to use thanks @aklis.

Daniel, would you help me to set it up?




On Fri, Jan 10, 2014 at 10:30 AM, Code Raguet
wrote:

> thanks!
>
>
> On Thu, Jan 9, 2014 at 6:38 PM, Daniel Narvaez wrote:
>
>> Thinking again about your cross compilation idea in irc, I remembered
>> that the building is actually relatively fast (because sugar compiled code
>> is so little). What takes time is mock setting up a chroot. Which is nice
>> for build isolation and to support multiple distribution versions on a
>> single machine. Plus we have mockremote which we can reuse.
>>
>> For completeness :)
>>
>> On Thursday, 9 January 2014, Code Raguet wrote:
>>
>>>
>>> On Thu, Jan 9, 2014 at 1:36 PM, Daniel Narvaez wrote:
>>>
 I'd try with the XO first because I suspect that will be pretty fast.
>>>
>>>
>>> yup, it should. It's a good idea.
>>>
>>>
>>
>> --
>> Daniel Narvaez
>>
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Helping people to get started

2014-01-24 Thread Code Raguet
also, at http://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki
there is a link to
http://developer.sugarlabs.org/dev-environment.md.htmlthat, I think,
it should point to
http://developer.sugarlabs.org/



On Thu, Jan 23, 2014 at 6:32 PM, Sam Parkinson wrote:

> Hi,
>
> Just letting you know that sugarbot has launched. You can go and test it
> out by first making sure your nick isn't marked as doesn't need help by
> typing `sugarbot: spam me` and then saying something like `I'm new around
> here`.
>
> **To opt-out of sugarbot butting into your conversations you will need to
> type `sugarbot: I Know` **
>
> As of now sugarbot does not log anything (just letting you know) though I
> would like to setup a log of interactions, a bit like
> http://elsalvador.treehouse.su/Ignacio_Rodriguez/gcibot/ .
>
>
>
>> The only that we might want to add is a list of mentors. I volunteer,
>> anyone else??
>>
>> I think we should move it somewhere more official and link it somewhere
>> on developer.sugarlabs.org. Maybe a more general "Help fixing bugs" page
>> under "Getting started", which would include a link to that?
>>
>
> I'm writing a page for sugar-docs :)
>
>
>> Do you prefer the github wiki or does wiki.sugarlabs.org works too?
>>
>
> I wrote it in markdown so yeah. I'll move it over soon...
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Programming in Python or as a Web Activity ?

2014-01-24 Thread laurent bernabe
Fixed !!!

In fact I should have left the last line in loader.js (something like
require(SUGAR_LIB))

Regards

2014/1/24 laurent bernabe 

> Thank you very much.
>
> I've tried to modify what needed to be modified in my LearnChess project (
> https://git.sugarlabs.org/learnchess/learnchess_web), but it seem that I
> missed something. (Too hurry to get started with CreateJS :=D, sorry).
>
> Regards
>
>
> 2014/1/24 Manuel Quiñones 
>
>> 2014/1/24 laurent bernabe 
>> >
>> > Thank you,
>> >
>> > The most challenging task that I am facing in my development beginning,
>> is to get the libraries easel.js and tween.js work as shim dependencies of
>> require.js. In fact, I think I could read require.js documentation
>> thousands of times, I won't be able to get started.
>>
>> I have created a bootstrap activity for you:
>> https://github.com/manuq/createjs-activity-bootstrap
>>
>> The bad thing with CreateJS is that they don't support AMD yet.  But see
>>
>> https://github.com/CreateJS/EaselJS/wiki/Using-easeljs-and-tweenjs-with-requirejs
>> .
>>  What worked for me:
>>
>> ./osbuild shell
>> volo create my-game ./sugar-web-template
>> cd my-game/lib
>> wget http://code.createjs.com/easeljs-0.7.1.min.js
>> mv easeljs-0.7.1.min.js easeljs.js
>> wget http://code.createjs.com/tweenjs-0.5.1.min.js
>> mv tweenjs-0.5.1.min.js tweenjs.js
>>
>> And see the changes I did:
>>
>> https://github.com/manuq/createjs-activity-bootstrap/commit/79f4e4ed730c71cf42bfa0419f109718fb598fcb
>>
>> > The other problem, is that I need to put a real canvas element inside
>> the  ... but I don't know which size I must give to the
>> canvas in order to fit the sugar Window client area (without the toolbar).
>>
>> CreateJS does that for you.
>>
>> > At last, and for that they are plenty of documentations, Javascript OOP
>> development is a bit trikier than the Python/Java OOP development
>>
>> I have the feeling that I responded this to you already, no?
>>
>> > So, how can I go further, at least with points 1) and 2) ?
>> >
>> > Regards
>> >
>> >
>> > 2014/1/24 Daniel Narvaez 
>> >>
>> >> Try to share the issues you have been having with web activities,
>> someone might be able to help.
>> >>
>> >> Android has probably better API and documentation then gtk, but then
>> it won't run on Sugar.
>> >>
>> >> On Friday, 24 January 2014, laurent bernabe 
>> wrote:
>> >>>
>> >>> Hello everyone,
>> >>>
>> >>> I've started a new Web project (ChessLearning), but it seems that Web
>> development is not my best skills. However, before turning it into a Python
>> app, I am wondering whether I should do my best to fit the Web Activity
>> development.
>> >>>
>> >>> For example, I think of an easier Android port, but am I wrong when I
>> say that it is better than Python for that ?
>> >>>
>> >>> On the other side, Python + GTK3 programming is very hard, as the
>> GTK3 library is not so easy to get used to, and Python version is not as
>> well documented as the C one (Gnome developers fault).
>> >>>
>> >>> So, I know that may be more a decision of mine, but, what do you
>> advise me ?
>> >>>
>> >>> Regards,
>> >>>
>> >>> Laurent Bernabé
>> >>
>> >>
>> >>
>> >> --
>> >> Daniel Narvaez
>> >>
>> >
>> >
>> > ___
>> > Sugar-devel mailing list
>> > Sugar-devel@lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >
>>
>>
>>
>> --
>> .. manuq ..
>>
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Programming in Python or as a Web Activity ?

2014-01-24 Thread laurent bernabe
Thank you very much.

I've tried to modify what needed to be modified in my LearnChess project (
https://git.sugarlabs.org/learnchess/learnchess_web), but it seem that I
missed something. (Too hurry to get started with CreateJS :=D, sorry).

Regards


2014/1/24 Manuel Quiñones 

> 2014/1/24 laurent bernabe 
> >
> > Thank you,
> >
> > The most challenging task that I am facing in my development beginning,
> is to get the libraries easel.js and tween.js work as shim dependencies of
> require.js. In fact, I think I could read require.js documentation
> thousands of times, I won't be able to get started.
>
> I have created a bootstrap activity for you:
> https://github.com/manuq/createjs-activity-bootstrap
>
> The bad thing with CreateJS is that they don't support AMD yet.  But see
>
> https://github.com/CreateJS/EaselJS/wiki/Using-easeljs-and-tweenjs-with-requirejs
> .
>  What worked for me:
>
> ./osbuild shell
> volo create my-game ./sugar-web-template
> cd my-game/lib
> wget http://code.createjs.com/easeljs-0.7.1.min.js
> mv easeljs-0.7.1.min.js easeljs.js
> wget http://code.createjs.com/tweenjs-0.5.1.min.js
> mv tweenjs-0.5.1.min.js tweenjs.js
>
> And see the changes I did:
>
> https://github.com/manuq/createjs-activity-bootstrap/commit/79f4e4ed730c71cf42bfa0419f109718fb598fcb
>
> > The other problem, is that I need to put a real canvas element inside
> the  ... but I don't know which size I must give to the
> canvas in order to fit the sugar Window client area (without the toolbar).
>
> CreateJS does that for you.
>
> > At last, and for that they are plenty of documentations, Javascript OOP
> development is a bit trikier than the Python/Java OOP development
>
> I have the feeling that I responded this to you already, no?
>
> > So, how can I go further, at least with points 1) and 2) ?
> >
> > Regards
> >
> >
> > 2014/1/24 Daniel Narvaez 
> >>
> >> Try to share the issues you have been having with web activities,
> someone might be able to help.
> >>
> >> Android has probably better API and documentation then gtk, but then it
> won't run on Sugar.
> >>
> >> On Friday, 24 January 2014, laurent bernabe 
> wrote:
> >>>
> >>> Hello everyone,
> >>>
> >>> I've started a new Web project (ChessLearning), but it seems that Web
> development is not my best skills. However, before turning it into a Python
> app, I am wondering whether I should do my best to fit the Web Activity
> development.
> >>>
> >>> For example, I think of an easier Android port, but am I wrong when I
> say that it is better than Python for that ?
> >>>
> >>> On the other side, Python + GTK3 programming is very hard, as the GTK3
> library is not so easy to get used to, and Python version is not as well
> documented as the C one (Gnome developers fault).
> >>>
> >>> So, I know that may be more a decision of mine, but, what do you
> advise me ?
> >>>
> >>> Regards,
> >>>
> >>> Laurent Bernabé
> >>
> >>
> >>
> >> --
> >> Daniel Narvaez
> >>
> >
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
>
>
>
> --
> .. manuq ..
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Programming in Python or as a Web Activity ?

2014-01-24 Thread Manuel Quiñones
2014/1/24 laurent bernabe 
>
> Thank you,
>
> The most challenging task that I am facing in my development beginning, is to 
> get the libraries easel.js and tween.js work as shim dependencies of 
> require.js. In fact, I think I could read require.js documentation thousands 
> of times, I won't be able to get started.

I have created a bootstrap activity for you:
https://github.com/manuq/createjs-activity-bootstrap

The bad thing with CreateJS is that they don't support AMD yet.  But see
https://github.com/CreateJS/EaselJS/wiki/Using-easeljs-and-tweenjs-with-requirejs.
 What worked for me:

./osbuild shell
volo create my-game ./sugar-web-template
cd my-game/lib
wget http://code.createjs.com/easeljs-0.7.1.min.js
mv easeljs-0.7.1.min.js easeljs.js
wget http://code.createjs.com/tweenjs-0.5.1.min.js
mv tweenjs-0.5.1.min.js tweenjs.js

And see the changes I did:
https://github.com/manuq/createjs-activity-bootstrap/commit/79f4e4ed730c71cf42bfa0419f109718fb598fcb

> The other problem, is that I need to put a real canvas element inside the 
>  ... but I don't know which size I must give to the canvas 
> in order to fit the sugar Window client area (without the toolbar).

CreateJS does that for you.

> At last, and for that they are plenty of documentations, Javascript OOP 
> development is a bit trikier than the Python/Java OOP development

I have the feeling that I responded this to you already, no?

> So, how can I go further, at least with points 1) and 2) ?
>
> Regards
>
>
> 2014/1/24 Daniel Narvaez 
>>
>> Try to share the issues you have been having with web activities, someone 
>> might be able to help.
>>
>> Android has probably better API and documentation then gtk, but then it 
>> won't run on Sugar.
>>
>> On Friday, 24 January 2014, laurent bernabe  
>> wrote:
>>>
>>> Hello everyone,
>>>
>>> I've started a new Web project (ChessLearning), but it seems that Web 
>>> development is not my best skills. However, before turning it into a Python 
>>> app, I am wondering whether I should do my best to fit the Web Activity 
>>> development.
>>>
>>> For example, I think of an easier Android port, but am I wrong when I say 
>>> that it is better than Python for that ?
>>>
>>> On the other side, Python + GTK3 programming is very hard, as the GTK3 
>>> library is not so easy to get used to, and Python version is not as well 
>>> documented as the C one (Gnome developers fault).
>>>
>>> So, I know that may be more a decision of mine, but, what do you advise me ?
>>>
>>> Regards,
>>>
>>> Laurent Bernabé
>>
>>
>>
>> --
>> Daniel Narvaez
>>
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Programming in Python or as a Web Activity ?

2014-01-24 Thread laurent bernabe
Thank you,


   1. The most challenging task that I am facing in my development
   beginning, is to get the libraries easel.js and tween.js work as shim
   dependencies of require.js. In fact, I think I could read require.js
   documentation thousands of times, I won't be able to get started.
   2. The other problem, is that I need to put a real canvas element inside
   the  ... but I don't know which size I must give to the
   canvas in order to fit the sugar Window client area (without the toolbar).
   3. At last, and for that they are plenty of documentations, Javascript
   OOP development is a bit trikier than the Python/Java OOP development

So, how can I go further, at least with points 1) and 2) ?

Regards


2014/1/24 Daniel Narvaez 

> Try to share the issues you have been having with web activities, someone
> might be able to help.
>
> Android has probably better API and documentation then gtk, but then it
> won't run on Sugar.
>
> On Friday, 24 January 2014, laurent bernabe 
> wrote:
>
>> Hello everyone,
>>
>> I've started a new Web project (ChessLearning), but it seems that Web
>> development is not my best skills. However, before turning it into a Python
>> app, I am wondering whether I should do my best to fit the Web Activity
>> development.
>>
>> For example, I think of an easier Android port, but am I wrong when I say
>> that it is better than Python for that ?
>>
>> On the other side, Python + GTK3 programming is very hard, as the GTK3
>> library is not so easy to get used to, and Python version is not as well
>> documented as the C one (Gnome developers fault).
>>
>> So, I know that may be more a decision of mine, but, what do you advise
>> me ?
>>
>> Regards,
>>
>> Laurent Bernabé
>>
>
>
> --
> Daniel Narvaez
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Programming in Python or as a Web Activity ?

2014-01-24 Thread Daniel Narvaez
Try to share the issues you have been having with web activities, someone
might be able to help.

Android has probably better API and documentation then gtk, but then it
won't run on Sugar.

On Friday, 24 January 2014, laurent bernabe 
wrote:

> Hello everyone,
>
> I've started a new Web project (ChessLearning), but it seems that Web
> development is not my best skills. However, before turning it into a Python
> app, I am wondering whether I should do my best to fit the Web Activity
> development.
>
> For example, I think of an easier Android port, but am I wrong when I say
> that it is better than Python for that ?
>
> On the other side, Python + GTK3 programming is very hard, as the GTK3
> library is not so easy to get used to, and Python version is not as well
> documented as the C one (Gnome developers fault).
>
> So, I know that may be more a decision of mine, but, what do you advise me
> ?
>
> Regards,
>
> Laurent Bernabé
>


-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Programming in Python or as a Web Activity ?

2014-01-24 Thread laurent bernabe
Hello everyone,

I've started a new Web project (ChessLearning), but it seems that Web
development is not my best skills. However, before turning it into a Python
app, I am wondering whether I should do my best to fit the Web Activity
development.

For example, I think of an easier Android port, but am I wrong when I say
that it is better than Python for that ?

On the other side, Python + GTK3 programming is very hard, as the GTK3
library is not so easy to get used to, and Python version is not as well
documented as the C one (Gnome developers fault).

So, I know that may be more a decision of mine, but, what do you advise me ?

Regards,

Laurent Bernabé
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel