Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Aleksey Lim
On Sat, Feb 27, 2010 at 07:17:54AM +, Aleksey Lim wrote:
 Hi all,
 
 Before this moment some binary actitieis on ASLO bundle per architeture
 blobs since binaries didn't weight much. But it doesn't play in case of
 http://www.geogebra.org/ which is Java based application (bundling blobs
 per architecture will mean 50M of dependencies and 5M of geogebra itself).
 
 Since Sugar Platform can't grow endlessly, some dependencies can't be
 included to SP(here Java). But bundling some of them will be pretty
 overkill(Java, Qt etc). At the same time fetching dependencies on
 demand(on first launch) could not fit to some deployment models.
 
 So, the question is - how handle such non SP big dependencies in ASLO.
 Possible answers:
 
 1) hmm.. what are you talking about, sugar is pure python environment
and blobs(not python) is evil, ASLO should handle only python
based activities(or activity should bundle all its dependencies)
 
 2) activities that don't have bundled all dependencies should be
explicitly marked to not mess them w/ fully bundling ones
 
 3) use complicated model when ASLO makes decision for every downloading,
should dependencies be included or not

or less complicated scheme when there will be per architeture bundles,
uploader will push pure 0sugar activity and ASLO will cook .xos with
all dependencies bundled per architeture.

 
 Please suggest your variants and attach your +/-
 
 --
 
 2) +1
 
 -- 
 Aleksey

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


[Sugar-devel] activity.info specification ambiguity

2010-02-27 Thread Aleksey Lim
Hi all,

http://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles#.info_file_format
could be more clear in case of bundle_id value e.g. it doesn't restrict
using _ symbol but some rainbow versions does
http://bugs.sugarlabs.org/attachment/ticket/1760/GC_S_Weight.log

I guess it is right since spec says:

In the Python bindings, the bundle_id is also used as the activity's
default service type when the activity is shared on the network. To
determine this type, the distinct parts (separated by the '.' character)
are reversed, any '.' is replaced by a '_' character, and the type is
prefixed by a '_' character. So in this example, the default service
type would be _BrowserActivity_Sugar_redhat_com.

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


[Sugar-devel] [ASLO] Release GCompris Scalesboard Weight-14

2010-02-27 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4283

Sugar Platform:
0.82 - 0.88

Download Now:
http://activities.sugarlabs.org/downloads/file/26816/gcompris_scalesboard_weight-14.xo

Release notes:
* fix bundle_id to run under recent rainbow versions


Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ASLO] Release GCompris Memory Word Number-14

2010-02-27 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4280

Sugar Platform:
0.82 - 0.88

Download Now:
http://activities.sugarlabs.org/downloads/file/26817/gcompris_memory_word_number-14.xo

Release notes:
* rename bundle_id to run under recent rainbow versions


Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ASLO] Release GCompris Memory Enumerate-14

2010-02-27 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4279

Sugar Platform:
0.82 - 0.88

Download Now:
http://activities.sugarlabs.org/downloads/file/26818/gcompris_memory_enumerate-14.xo

Release notes:
* rename bundle_id to run under recent rainbow versions


Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ASLO] Release Our Music MC-3

2010-02-27 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4227

Sugar Platform:
0.84 - 0.88

Download Now:
http://activities.sugarlabs.org/downloads/file/26815/ourmusicmc-3.xo

Release notes:
# version 3  2/26/10  Additions:
#auto default font sizing for XO's and versions of SoaS through 0.88



Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ASLO] Release Our Music-3

2010-02-27 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4226

Sugar Platform:
0.82 - 0.88

Download Now:
http://activities.sugarlabs.org/downloads/file/26814/ourmusic-3.xo

Release notes:
# version 3  2/26/10  Additions:
#auto default font sizing for XO's and versions of SoaS through 0.88



Sugar Labs Activities
http://activities.sugarlabs.org

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


Re: [Sugar-devel] [math4] Blocku Update

2010-02-27 Thread Greg DeKoenigbserg
On Fri, 26 Feb 2010, Mark DeMayo wrote:

 Our class here at RIT is done, but we are not done developing. We are going
 to continue to work on the project, so if anyone would like to help we would
 be more than happy to give you access to our GIT repo. We now can display
 multiple squares, rotate one of them and we can move them around with the
 mouse. I have changed a lot on our wiki. One thing I did was put up mock
 screenshots. These are not actual screenshots, but what they will hopefully
 look like in the future. As alwalys feedback is appreciated. Thank you and a
 special thanks to the people who have helped us in the past.

Is there a place where all of the RIT projects are listed, including links 
to Git/etc.?

--g

--
Educational materials should be high-quality, collaborative, and free.
Visit http://opensource.com/education and join the conversation.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Walter Bender
On Sat, Feb 27, 2010 at 3:01 AM, Aleksey Lim alsr...@member.fsf.org wrote:
 On Sat, Feb 27, 2010 at 07:17:54AM +, Aleksey Lim wrote:
 Hi all,

 Before this moment some binary actitieis on ASLO bundle per architeture
 blobs since binaries didn't weight much. But it doesn't play in case of
 http://www.geogebra.org/ which is Java based application (bundling blobs
 per architecture will mean 50M of dependencies and 5M of geogebra itself).

 Since Sugar Platform can't grow endlessly, some dependencies can't be
 included to SP(here Java). But bundling some of them will be pretty
 overkill(Java, Qt etc). At the same time fetching dependencies on
 demand(on first launch) could not fit to some deployment models.

 So, the question is - how handle such non SP big dependencies in ASLO.
 Possible answers:

 1) hmm.. what are you talking about, sugar is pure python environment
    and blobs(not python) is evil, ASLO should handle only python
    based activities(or activity should bundle all its dependencies)

 2) activities that don't have bundled all dependencies should be
    explicitly marked to not mess them w/ fully bundling ones

 3) use complicated model when ASLO makes decision for every downloading,
    should dependencies be included or not

 or less complicated scheme when there will be per architeture bundles,
 uploader will push pure 0sugar activity and ASLO will cook .xos with
 all dependencies bundled per architeture.


 Please suggest your variants and attach your +/-

 --

 2) +1

 --
 Aleksey

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


Could we have a scheme where by we make a primary bundle and then
secondary bundles with the arch-dep bits, one per arch. and have a way
in ASLO to grab from both as needed?

-walter

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


Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Aleksey Lim
On Sat, Feb 27, 2010 at 08:32:53AM -0500, Walter Bender wrote:
 On Sat, Feb 27, 2010 at 3:01 AM, Aleksey Lim alsr...@member.fsf.org wrote:
  On Sat, Feb 27, 2010 at 07:17:54AM +, Aleksey Lim wrote:
  Hi all,
 
  Before this moment some binary actitieis on ASLO bundle per architeture
  blobs since binaries didn't weight much. But it doesn't play in case of
  http://www.geogebra.org/ which is Java based application (bundling blobs
  per architecture will mean 50M of dependencies and 5M of geogebra itself).
 
  Since Sugar Platform can't grow endlessly, some dependencies can't be
  included to SP(here Java). But bundling some of them will be pretty
  overkill(Java, Qt etc). At the same time fetching dependencies on
  demand(on first launch) could not fit to some deployment models.
 
  So, the question is - how handle such non SP big dependencies in ASLO.
  Possible answers:
 
  1) hmm.. what are you talking about, sugar is pure python environment
     and blobs(not python) is evil, ASLO should handle only python
     based activities(or activity should bundle all its dependencies)
 
  2) activities that don't have bundled all dependencies should be
     explicitly marked to not mess them w/ fully bundling ones
 
  3) use complicated model when ASLO makes decision for every downloading,
     should dependencies be included or not
 
  or less complicated scheme when there will be per architeture bundles,
  uploader will push pure 0sugar activity and ASLO will cook .xos with
  all dependencies bundled per architeture.
 
 
  Please suggest your variants and attach your +/-
 
  --
 
  2) +1
 
  --
  Aleksey
 
  --
  Aleksey
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 Could we have a scheme where by we make a primary bundle and then
 secondary bundles with the arch-dep bits, one per arch. and have a way
 in ASLO to grab from both as needed?

Yup, I meant the same - developer mentions 0sugar deps in activity.info
and upload bundle only with activity itself w/o any deps bundled,
later ASLO will prepare proper set of bundles e.g. per architecture
for binary dependencies.

The issue with this scheme is that we have a mess anyway since .xos are
not fully bundled and contain blobs only for one architecture e.g. if
someone downloaded .xo from ASLO on x86_64 box then copied it to x86
box.

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


Re: [Sugar-devel] Problem configuring sugar-jhbuild

2010-02-27 Thread Tomeu Vizoso
On Thu, Feb 25, 2010 at 12:55, Sascha Silbe
sascha-ml-ui-sugar-de...@silbe.org wrote:
 On Thu, Feb 25, 2010 at 04:37:07PM +0530,  Yevlempy(Harsh Verma) wrote:

 After doing a make install in (sugar-jhbuidsourcesugar) as per my
 requirement.

 The way to build and install (single) sugar packages inside sugar-jhbuild is
 to run ./sugar-jhbuild buildone -n name_of_package. While you can
 certainly run make install on your own after the first build (but only
 thereafter), I recommend using always sugar-jbhuild as it not only passes
 parameters to configure, but also sets up the environment. Differences in
 the environment can make for some hard to find problems.

 When i again started the sugar-emulator(./sugar-jhbuild run
 sugar-emulator), it gave me an error[1].

 Looks like it cannot connect to your X server. How exactly are you running
 sugar-jhbuild? Please include all steps, including how you logged in
 (xdm/gdm/kdm, text console, ...).

Could sugar-emulator had been ran as root, thus leaving files that
cannot  be overwritten?

Regards,

Tomeu

 CU Sascha

 --
 http://sascha.silbe.org/
 http://www.infra-silbe.de/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iQEcBAEBAgAGBQJLhmUTAAoJELpz82VMF3DarRwH/A34HvxVt2JhF104/Bdq4pZ4
 ESJDuM96iifGrmVC1G1MjYTIWfjji2bUo1yFv30Dq4SZpaan0dNbudCjGG+tcwvT
 VHrn4Pb9WdevuXoKEPjjI/xklSuyJi6mwzJNGA608VPxmrQgX4KceGyNnnH3neCK
 19XIuInEkjgic9+ja/5MZPJqk88gB0+S6zlCtxn+LyvjkZgOJKN+ye3yayn4jEr3
 cJVpSi59rZd3EnsBJ60YNYnjjfOPyN52JGyc2u05vGSQ8yvqwaqiTJ8yGVD7e+AU
 8N+VddX29JuUz43//GzM/RgSNd1zJOZXnFHxBWk93HuwyV1jghNfiNHLgaOaGpM=
 =5x8v
 -END PGP SIGNATURE-

 ___
 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] Keyboard Function-Special Buttons

2010-02-27 Thread Tomeu Vizoso
On Wed, Feb 24, 2010 at 00:17, James Cameron qu...@laptop.org wrote:
 On Tue, Feb 23, 2010 at 01:35:34PM -0500, John Tierney wrote:
 Is it possible to take these functions from F1, F2, F3 and map
 these to special separate buttons?

 Yes.  sugar.git/src/jarabe/view/keyhandler.py connects F1 to zoom_mesh
 for example.  It could easily be changed to some other standard key.
 Changing to a non-standard key that only exists on one keyboard model on
 the planet is difficult but not impossible.

 If possible: How hard of a task technically?

 Given a keyboard, no more than a few hours.  There are several ways of
 doing it.  There are several software layers involved.

 Then you have to figure out how to tell Sugar what sort of keyboard you
 have.  Keyboards don't often identify themselves enough.  That suggests
 the addition of a keyboard chooser.  That's perhaps more than a few
 hours.

 It might be better from an architecture perspective to use a
 standard keyboard mapping and change the key legends and physical
 positions.

Also, have you considered creating keyboard stickers with special keys?

http://www.hooleon.com/menu-stickers.htm?gclid=CLi_rKHhkqACFQRgZwod7j8-eg

Regards,

Tomeu

 --
 James Cameron
 http://quozl.linux.org.au/
 ___
 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] [DESIGN] Showing 3G Connection Errors

2010-02-27 Thread Tomeu Vizoso
On Fri, Feb 26, 2010 at 23:03, Gary C Martin g...@garycmartin.com wrote:
 On 26 Feb 2010, at 15:59, Tomeu Vizoso wrote:

 On Fri, Feb 26, 2010 at 13:30, Daniel Castelo
 dcast...@plan.ceibal.edu.uy wrote:
 I've applied Eben's mockup, I also tried to show the connection errors using
 an alert inside the palette.
 This solution has the problem that Tomeu said: when user clicks connect,
 the palette is hidden and users could miss the notification.
 Is a solution that doesn't look nice, because the palette should resize to
 show the errors.

 We could bring attention to the issue by using a notification, but I'm
 not really seeing a good solution for this. Any ideas?

 Is it possible to override the dismissing of the palette when connect is 
 clicked? User sees a 'connecting' positive feedback message in the palette, 
 with the palette only auto-dismissing after a successful connection?

I think it's pretty doable from the coding side and could work quite
well in this case. About the design side, do we want to introduce this
variation?

Regards,

Tomeu

 Regards,
 --Gary

 Thanks,

 Tomeu


 On Sun, Feb 21, 2010 at 12:27 PM, Tomeu Vizoso to...@tomeuvizoso.net
 wrote:

 On Fri, Feb 19, 2010 at 16:41, Eben Eliason eben.elia...@gmail.com
 wrote:
 On Wed, Feb 17, 2010 at 2:27 PM, Daniel Castelo
 dcast...@plan.ceibal.edu.uy wrote:
 Hi, today we don't show all the 3G connection errors. The unique error
 that
 we show is the Authentication Error when the Pin/Puk Sim
 configuration is
 wrong. In this case we show the error in the connection pallete. When
 users
 clicks over the message, the pallete returns to normal behavior. We
 want to
 display all the connection errors. How is the best way to show this?

 I'd recommend showing one or more buttons for dismissing the error and
 taking any other relevant actions within the palette. Clicking on the
 text label likely won't be very discoverable.  For instance, this
 error might have two normal buttons for Cancel and Show Settings
 (assuming something in settings can be adjusted to improve the
 situation; I don't know enough about what this error means).

 Hmm, but if the error appears in the palette, and the palette is
 hidden when the Connect option is clicked, won't most users miss the
 notification?

 Regards,

 Tomeu


 Eben







 --
 Ing. Daniel Castelo
 Plan Ceibal - Área Técnica
 Avda. Italia 6201
 Montevideo - Uruguay.
 Tel.: 601.57.73 Interno 2228
 E-mail : dcast...@plan.ceibal.edu.uy

 ___
 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




 --
 Ing. Daniel Castelo
 Plan Ceibal - Área Técnica
 Avda. Italia 6201
 Montevideo - Uruguay.
 Tel.: 601.57.73 Interno 2228
 E-mail : dcast...@plan.ceibal.edu.uy

 ___
 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] Problem configuring sugar-jhbuild

2010-02-27 Thread Sascha Silbe

On Sat, Feb 27, 2010 at 03:44:22PM +0100, Tomeu Vizoso wrote:

Looks like it cannot connect to your X server. How exactly are you 
running

sugar-jhbuild? Please include all steps, including how you logged in
(xdm/gdm/kdm, text console, ...).
Could sugar-emulator had been ran as root, thus leaving files that 
cannot  be overwritten?
We tackled this on IRC. It turned out Yevlempy hadn't updated his system 
(Fedora) for quite some time; after doing so it worked fine. I still 
don't understand exactly what was broken (Xephyr worked fine when 
started manually, but not inside sugar-emulator) so let's hope it was 
some obscure Python bug that good fixed for good. :)


CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

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


Re: [Sugar-devel] [IAEP] Turtle Art on Activities.sugarlabs.org

2010-02-27 Thread Aleksey Lim
On Fri, Feb 26, 2010 at 06:50:13PM +0100, Tomeu Vizoso wrote:
 On Thu, Feb 25, 2010 at 19:08, David Farning dfarn...@gmail.com wrote:
  The other day during an infrastructure meeting, Walter brought up some
  thought on how to enable kids to exchange Turtle Art projects
 
  Alsroot has been thinking about how to do this through a.sl.o since he
  became the activities.sugarlabs.org code maintainer.
 
  The high level view is that someone can easily upload Turtle Art creations
  to somewhere and then they, or others, can go to a portal to download other
  Turtle Art creations.
 
  Client side, this would require:
  1. Adding a widget to either the journal or the TA activity to upload the TA
  Bundle.
  2. Adding a TA bundle installer to handler TA Bundle downloads.
 
  Server side, this would require:
  1. A place to accept TA bundle uploads.
  2. A search-able place from which to download TA bundles
 
  We have some similar systems we can look to as examples.
  1. Scratch -- Scratch has an upload button and users can download scratch
  projects from --  http://scratch.mit.edu/galleries/browse/newest
  2. ASLO --  Users upload XO bundles via a web interface and download via a
  web interface.
 
  My initial instinct is to see if ASLO can be adopted to fit this need.
  Primarily because we have it, it works, and it is scalable.  On the other
  hand, if the only tool in one's toolbox is a hammer, everything looks like a
  nail. (How is that for over using clichés and buzzword?)
 
 What about Moodle instead?
 
 When this has come in the past, I have recommended starting small and
 growing one step at a time:
 
 1. set up a webapp that can host user uploads,
 
 2. change the input type=file tag to accept only .xoj bundles, make
 Browse upload the bundle instead of just the file, make the webapp use
 the metadata for displaying the title, comments, preview, etc.,
 
 3. implement uploading of entries in the Sugar UI, if turns out it's needed.
 
 I think a place for uploading and sharing Journal entries can bring a
 lot of power to the Sugar ecosystem, but all tentatives in the past
 have stalled because they wanted to start too big.

we can move in several directions at the same time,

* web hosting,
  I'm more thinking about Moodle because hacking AMO will increase ASLO
  patch which could be wrong way to go since we don't have PHP coders
  involeved to ASLO coding

* sugar UI,
  we already have FileShare activity
  I'm working on Library-2 activity which should support not only server
  model but also per-to-peer sharing model (activity will have thumb
  view to make object browsing more useful)

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


Re: [Sugar-devel] Problem importing hulahop.webview() in sugar emulator

2010-02-27 Thread Tomeu Vizoso
On Fri, Feb 26, 2010 at 20:56, vijit singh vijitthetopco...@gmail.com wrote:
 Hello Tomeu,
 Thank You once again for your guidance. Surely I will keep on posting the
 updates. I was also confused about the use of the statement-
 hulahop.startup(os.path.join(env.get_profile_path(), 'gecko'))
 What is the significance of hulahop.startup? It surely seems to be imp.
 since the absence of this line results into an error.
 Also, gecko folder seems to be containing paths to different xulrunner
 files. Does including the same gecko folder (as is used in sugar) into the
 socialcalc package which we will make for fedora, and referring to this
 folder through the hulahop.startup statement work on fedora as well?
Hi Vijit,

if you look at the source code, you can see it's the path to the
profile directory:

http://git.sugarlabs.org/projects/hulahop/repos/mainline/blobs/master/python/__init__.py#line41

https://wiki.mozilla.org/XULRunner#User_Profiles

 Kindly
 give some pointers.
 Regards,
 VIJIT
 On Fri, Feb 26, 2010 at 8:21 PM, Tomeu Vizoso to...@tomeuvizoso.net wrote:

 2010/2/23 vijit singh vijitthetopco...@gmail.com:
  Hello Tomeu,
  I tried installing hulahop again as you suggested on fedora-11 and it
  got installed properly. Now, the socialcalc and the browse activity are
  running as well. Thank you for your guidance.
  Also wished to discuss that we are planning to port SocialCalc on
  various linux distros starting from Fedora. The first approach which we are
  considering is by using a pygtk based root-level window to embed
  hulahop.webview widget in quite a similar fashion as it has been done in
  Sugar currently. Do you think it would be a feasible approach? Is there any
  other approach which you suggest would be better? Kindly give some pointers
  on the issue.

 This is the approach that I would recommend. Please keep us posted!

 Regards,

 Tomeu

  Regards,
  VIJIT
 
 
  On Tue, Feb 16, 2010 at 12:29 AM, Tomeu Vizoso to...@sugarlabs.org
  wrote:
 
  On Mon, Feb 15, 2010 at 18:56, Vijit Singh vi...@seeta.in wrote:
   Hello Tomeu and Aleskey,
   Thank you for your replies. I will test your suggestions in a day or
   two and
   will let you know about the results since I have been out of town and
   hence
   unable to access net since the last 2 days.
  
   On Sun, Feb 14, 2010 at 1:14 AM, Tomeu Vizoso to...@tomeuvizoso.net
   wrote:
  
   On Fri, Feb 12, 2010 at 23:36, vijit singh
   vijitthetopco...@gmail.com
   wrote:
Hello everyone,
SocialCalc is based upon the use of hulahop.webview widget. While
trying
to
run socialcalc on sugar emulator running on Fedora and Ubuntu,
error
saying
No module hulahop was occurring. So, we tried installing hulahop
on
these
linux distributions.
1. Firstly we tried with ubuntu-8.10, here are the exact steps
taken-
   
 xulrunner was pre-installed. And then I
installed python-support.deb
and
libxul0d.deb which are pre-requistie packages for python-xpcom
package
(other pre-requistie packages were already installed). Then i
installed
python-xpcom. And then I installed python-hulahop and hulahop.
   
Downlaod links for these packages are as follows:-
   
http://packages.ubuntu.com/en/intrepid/python/python-xpcom
http://packages.ubuntu.com/en/intrepid/hulahop
http://packages.ubuntu.com/en/intrepid/python-hulahop
Now, though hulahop was getting imported but while using
hulahop.webview, an
error saying hulahop has no attribute webview occured. However,
when
we
checked the hulahop folder, there was a file named webview.py, so
this
problem might be because of some kind of wrongly set library
paths.
2. Then we tried it with ubuntu-9.10, with similar steps but got
the
same
result.
3. Then we tried it with fedora-11-
Installed hulahop and then xpcom from the following
   
   
link- http://www.rpmfind.net/linux/RPM/mandriva/2009.1/i586/media/main/release/python-xpcom-1.9.0.8-1mdv2009.1.i586.html
  
   This is a Mandriva package. I recommend using the tools available in
   each distro for installing software. In Fedora it would be: yum
   install hulahop
  
   We tried yum install hulahop but it said no package named hulahop,
   our first
   approach on fedora was to use yum and on ubuntu was to use apt get,
   but both
   gave the same results.
 
  In Fedora 11, this is the ouput of yum search hulahop:
 
  [to...@zviratko ~]$ yum search hulahop
  Loaded plugins: fastestmirror, presto, refresh-packagekit
  === Matched: hulahop
  ===
  hulahop.i586 : A pygtk widget for embedding mozilla
 
  Are you sure you wrote the name of the package correctly?
 
  Regards,
 
  Tomeu
 
   Regards,
   VIJIT
 
 


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



Re: [Sugar-devel] [DESIGN] Showing 3G Connection Errors

2010-02-27 Thread Eben Eliason
On Sat, Feb 27, 2010 at 10:07 AM, Tomeu Vizoso to...@tomeuvizoso.net wrote:
 On Fri, Feb 26, 2010 at 23:03, Gary C Martin g...@garycmartin.com wrote:
 On 26 Feb 2010, at 15:59, Tomeu Vizoso wrote:

 On Fri, Feb 26, 2010 at 13:30, Daniel Castelo
 dcast...@plan.ceibal.edu.uy wrote:
 I've applied Eben's mockup, I also tried to show the connection errors 
 using
 an alert inside the palette.
 This solution has the problem that Tomeu said: when user clicks connect,
 the palette is hidden and users could miss the notification.
 Is a solution that doesn't look nice, because the palette should resize to
 show the errors.

 We could bring attention to the issue by using a notification, but I'm
 not really seeing a good solution for this. Any ideas?

 Is it possible to override the dismissing of the palette when connect is 
 clicked? User sees a 'connecting' positive feedback message in the palette, 
 with the palette only auto-dismissing after a successful connection?

 I think it's pretty doable from the coding side and could work quite
 well in this case. About the design side, do we want to introduce this
 variation?

This could be a bit odd. Since the palette is attached to the Frame,
does that also prevent the Frame from hiding? How long does it usually
take to connect? Could it get in the way of the user?

I think in an upcoming release it makes sense to put more time into
the notification system to support this type of thing. (For instance,
upon failure, the 3G icon would appear and blink in the lower right
corner for a bit; It would continue to have a different visual
treatment within the Frame if you didn't click it in time in the
corner; When clicked it would reveal the error and any actions to
take.)

In the short term, I guess we could still use the notification system
to get your attention, though the rest of the behavior wouldn't be as
clean. But, if we're using the usual transformation of the icon from
white to XO colors when connecting, and drop back to white when
connection fails, we're no worse off than wifi connection errors until
we institute a more complete design for notifications.

Eben


 Regards,

 Tomeu

 Regards,
 --Gary

 Thanks,

 Tomeu


 On Sun, Feb 21, 2010 at 12:27 PM, Tomeu Vizoso to...@tomeuvizoso.net
 wrote:

 On Fri, Feb 19, 2010 at 16:41, Eben Eliason eben.elia...@gmail.com
 wrote:
 On Wed, Feb 17, 2010 at 2:27 PM, Daniel Castelo
 dcast...@plan.ceibal.edu.uy wrote:
 Hi, today we don't show all the 3G connection errors. The unique error
 that
 we show is the Authentication Error when the Pin/Puk Sim
 configuration is
 wrong. In this case we show the error in the connection pallete. When
 users
 clicks over the message, the pallete returns to normal behavior. We
 want to
 display all the connection errors. How is the best way to show this?

 I'd recommend showing one or more buttons for dismissing the error and
 taking any other relevant actions within the palette. Clicking on the
 text label likely won't be very discoverable.  For instance, this
 error might have two normal buttons for Cancel and Show Settings
 (assuming something in settings can be adjusted to improve the
 situation; I don't know enough about what this error means).

 Hmm, but if the error appears in the palette, and the palette is
 hidden when the Connect option is clicked, won't most users miss the
 notification?

 Regards,

 Tomeu


 Eben







 --
 Ing. Daniel Castelo
 Plan Ceibal - Área Técnica
 Avda. Italia 6201
 Montevideo - Uruguay.
 Tel.: 601.57.73 Interno 2228
 E-mail : dcast...@plan.ceibal.edu.uy

 ___
 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




 --
 Ing. Daniel Castelo
 Plan Ceibal - Área Técnica
 Avda. Italia 6201
 Montevideo - Uruguay.
 Tel.: 601.57.73 Interno 2228
 E-mail : dcast...@plan.ceibal.edu.uy

 ___
 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] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Aleksey Lim
On Sat, Feb 27, 2010 at 04:05:02PM +, Gary C Martin wrote:
 On 27 Feb 2010, at 07:17, Aleksey Lim wrote:
 
  Hi all,
  
  Before this moment some binary actitieis on ASLO bundle per architeture
  blobs since binaries didn't weight much. But it doesn't play in case of
  http://www.geogebra.org/ which is Java based application (bundling blobs
  per architecture will mean 50M of dependencies and 5M of geogebra itself).
  
  Since Sugar Platform can't grow endlessly, some dependencies can't be
  included to SP(here Java). But bundling some of them will be pretty
  overkill(Java, Qt etc). At the same time fetching dependencies on
  demand(on first launch) could not fit to some deployment models.
  
  So, the question is - how handle such non SP big dependencies in ASLO.
  Possible answers:
  
  1) hmm.. what are you talking about, sugar is pure python environment
and blobs(not python) is evil, ASLO should handle only python
based activities(or activity should bundle all its dependencies)
 
 Sorry, but I'm still a +1 for, Activity should bundle all its needed 
 dependencies, but try to work within the existing platform tool set. I 
 understand it's not always possible, and your 0-install work may provide us a 
 rather graceful way to support random, unexpected architectures or platforms 
 (for the exceptions not the norm); but the last thing Sugar needs is to try 
 and potentially support and run every bit of open source code out there. We 
 should focus on well designed Sugar or Sugarised activities. Otherwise Sugar 
 will loose all useful identity and we would might as well drop it and move 
 over to some other random Linux distro.
 
 For me, what makes Sugar special is its consist, system wide attempt to focus 
 on a child centric, and learning centric design.
 
 Regards,
 --Gary
 
 P.S. FWIW: As a Mac OS X developer and user, I almost never have to worry 
 about dependencies or packaging. Almost all OS X applications are self 
 contained bundles, usually containing 'fat binaries' for 32, 64, PPC Intel 
 architectures, and targeted at perhaps the last 2 or 3 OS X version releases 
 (4-5yrs bit rot life time). I just mention this as a working mainstream 
 example.

btw MacOS geogebra package weights 5M (doesn't bundle jre) :)

I guess we should ask ourself more generic question,

How we should treat ASLO(and sugar itself)
1) education platform
2) python based education platform

Maybe I'm wrong and this question was already answered for others and
this answer is 2) but in my mind it was all time 1).

In case of 2) we will HAVE TO face packaging issues anyway since there
is lots of education software that could be proper sugarized (not only
running but adding Journal support for example).

Possible ways could be:

bundle all dependencies
but bundle 50M(if we include ARM support it will be 75M) for every
java based activity looks overkill

rely only on Sugar Platform
but we can't include all possible dependencies

deployment method when all efforts are concentrated around one(several)
particular sugar distributions like OLPC or SOAS
but I guess more global approach was chosen since organizing SL

using more flexible scheme when we have
* Sugar Platform and majority of fully bundled activities (since
  dependencies were included to SP)
* minority which have non-SP dependencies, such dependencies could be
  * bundled, if they are small
  * installed on demand from native packaging systems
  * fetched on demand

..add your own..

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


Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Aleksey Lim
On Sat, Feb 27, 2010 at 11:36:04AM -0500, Benjamin M. Schwartz wrote:
 Aleksey Lim wrote:
  Please suggest your variants and attach your +/-
 
 All of the above.  ASLO should warn the user if an activity is
 arch-dependent, generate a bundle appropriate to the user's settings, and
 make sure that the generated bundle's name indicates the supported
 architectures. (e.g WatchMe-2.xo.F13-sparc32+Lenny-IA64)

this is intermediate option which could only increase mess,
since from once side activities bundle something, from other side
bundle not all dependencies and use case with download .xo from one box
and run it on other won't work (otherwise we should oblige kids
understand what IA64 and sparc32 is).

 Ultimately, though, I think we need to move 0install into Glucose.  Then
 to share an activity bundle with a friend, all I have to do is transfer
 the package URL.  My friend's Sugar install can then use
 0share/packagekit/0launch to get whatever components are necessary for her
 system... possibly even from me via 0share, or possibly from ASLO.

and I'm all about this, kid just click on download button on ASLO (or
pass link to friends) and all technical stuff (check for deps, arches etc)
will be done by 0install.

Of course as was already mentioned many times there will be net issue.
But are we trying to solve downstream problems on upstream, I mean if
there is only *one* XO laptop somewhere in sahara nothing would be useful,
but more or less big deployments could have school servers that will provide
all useful for this particular dependent dependencies via local network
(and users themselves could be peers in local file sharing network).

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


Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Aleksey Lim
On Sat, Feb 27, 2010 at 07:01:35PM +0100, Sascha Silbe wrote:
 On Sat, Feb 27, 2010 at 04:48:27PM +, Aleksey Lim wrote:
 
  bundle all dependencies
  but bundle 50M(if we include ARM support it will be 75M) for every
  java based activity looks overkill
 IMO the only sane way to handle large dependencies, esp. language ones, 
 is relying on distro packages.
 
  using more flexible scheme when we have
  * Sugar Platform and majority of fully bundled activities (since
dependencies were included to SP)
  * minority which have non-SP dependencies, such dependencies could 
  be
* bundled, if they are small
* installed on demand from native packaging systems
* fetched on demand
 This looks like the way to go, esp. the installed on demand from native 
 packaging systems part. Rely on distro packages as much as possible, 
 you'll avoid quite some trouble the distributors have already gone 
 through for you (e.g. xulrunner paths differ on distros).
 Distro packages are also
 a) easily and transparently cachable on a local server (apt-cacher, 
 squid, ...)
 b) fetched from the widespread mirror network of distributions rather 
 than the few ones hosting Sugar stuff (APT can even use bittorrent or 
 custom P2P software like apt-p2p)
 c) usually more trustworthy than random builds from some more or less 
 anonymous source
 d) actively maintained, including security updates (except for Ubuntu 
 universe/multiverse).

+1024

and 0install is so smart that it will check if required dependency
* already installed
* could be installed from native packages and ask PackageKit to install it
* fallabck to prebuilt blobs
* fallabck to build from sources in users env
* say phew

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


Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Sascha Silbe

On Sat, Feb 27, 2010 at 06:13:22PM +, Aleksey Lim wrote:


and 0install is so smart that it will check if required dependency
* already installed
* could be installed from native packages and ask PackageKit to 
install it

* fallabck to prebuilt blobs
* fallabck to build from sources in users env
* say phew


Sounds great! Sorry I've fallen behind on your 0install/0sugar efforts, 
I definitely need to try it out - I've put it on my growing list of 
things to do next month.


CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

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


Re: [Sugar-devel] [math4] Blocku Update

2010-02-27 Thread Mark DeMayo
Here is the link to the Math4 list, which links to all of RIT's involvement
with OLPC.
http://wiki.sugarlabs.org/go/Math4Team

This link is all of the projects specific to RIT
http://wiki.sugarlabs.org/go/Math4Team/RIT/Projects

Here is the link to Blocku. Which can be found on the sugarlabs activity
page or the Math4 RIT Projects page.
http://wiki.sugarlabs.org/go/Blocku

I don't think there is a specific page that has everyone's Git repo links.
Most groups put the links on their own wiki pages.

Here is Bloku's Git repo link it is located on our development page.
http://git.sugarlabs.org/projects/blocku

Hope this helps. If you need any more info just ask.

On Sat, Feb 27, 2010 at 6:05 AM, Greg DeKoenigbserg g...@redhat.com wrote:

 On Fri, 26 Feb 2010, Mark DeMayo wrote:

  Our class here at RIT is done, but we are not done developing. We are
 going
 to continue to work on the project, so if anyone would like to help we
 would
 be more than happy to give you access to our GIT repo. We now can display
 multiple squares, rotate one of them and we can move them around with the
 mouse. I have changed a lot on our wiki. One thing I did was put up mock
 screenshots. These are not actual screenshots, but what they will
 hopefully
 look like in the future. As alwalys feedback is appreciated. Thank you and
 a
 special thanks to the people who have helped us in the past.


 Is there a place where all of the RIT projects are listed, including links
 to Git/etc.?

 --g

 --
 Educational materials should be high-quality, collaborative, and free.
 Visit http://opensource.com/education and join the conversation.

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


Re: [Sugar-devel] [math4] Blocku Update

2010-02-27 Thread Greg DeKoenigbserg

Perfect... thanks, Mark!

This page:

http://wiki.sugarlabs.org/go/Math4Team/RIT/Projects

...is full of awesome, and should be touted by RIT folks far and wide.

--g

On Sat, 27 Feb 2010, Mark DeMayo wrote:

 Here is the link to the Math4 list, which links to all of RIT's involvement
 with OLPC.
 http://wiki.sugarlabs.org/go/Math4Team
 
 This link is all of the projects specific to RIT
 http://wiki.sugarlabs.org/go/Math4Team/RIT/Projects
 
 Here is the link to Blocku. Which can be found on the sugarlabs activity
 page or the Math4 RIT Projects page.
 http://wiki.sugarlabs.org/go/Blocku
 
 I don't think there is a specific page that has everyone's Git repo links.
 Most groups put the links on their own wiki pages.
 
 Here is Bloku's Git repo link it is located on our development page.
 http://git.sugarlabs.org/projects/blocku
 
 Hope this helps. If you need any more info just ask.
 
 On Sat, Feb 27, 2010 at 6:05 AM, Greg DeKoenigbserg g...@redhat.com wrote:
 On Fri, 26 Feb 2010, Mark DeMayo wrote:

   Our class here at RIT is done, but we are not done
   developing. We are going
   to continue to work on the project, so if anyone would
   like to help we would
   be more than happy to give you access to our GIT repo. We
   now can display
   multiple squares, rotate one of them and we can move them
   around with the
   mouse. I have changed a lot on our wiki. One thing I did
   was put up mock
   screenshots. These are not actual screenshots, but what
   they will hopefully
   look like in the future. As alwalys feedback is
   appreciated. Thank you and a
   special thanks to the people who have helped us in the
   past.
 
 
 Is there a place where all of the RIT projects are listed, including
 links to Git/etc.?
 
 --g
 
 --
 Educational materials should be high-quality, collaborative, and free.
 Visit http://opensource.com/education and join the conversation.
 
 
 


--
Educational materials should be high-quality, collaborative, and free.
Visit http://opensource.com/education and join the conversation.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Blocku Update

2010-02-27 Thread Mark DeMayo
We are using Pygame. I forwarded this email to my lead programmer to have a
look at it. Thanks for the suggestion.

On Sat, Feb 27, 2010 at 2:58 PM, Walter Bender walter.ben...@gmail.comwrote:

 On Fri, Feb 26, 2010 at 5:53 PM, Mark DeMayo mdemay...@gmail.com wrote:
  Our class here at RIT is done, but we are not done developing. We are
 going
  to continue to work on the project, so if anyone would like to help we
 would
  be more than happy to give you access to our GIT repo. We now can display
  multiple squares, rotate one of them and we can move them around with the
  mouse. I have changed a lot on our wiki. One thing I did was put up mock
  screenshots. These are not actual screenshots, but what they will
 hopefully
  look like in the future. As alwalys feedback is appreciated. Thank you
 and a
  special thanks to the people who have helped us in the past.
 
  - Blocku Development Team
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 

 How have you implemented this? With pygame? You may want to take a
 look at cardsort (http://git.sugarlabs.org/projects/cardsort), which
 has a lot of the same functionality implemented for a different game.
 It uses a simple sprite library and is otherwise pure Python and
 Sugar.

 -walter


 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org

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


Re: [Sugar-devel] Blocku Update

2010-02-27 Thread Walter Bender
On Sat, Feb 27, 2010 at 3:01 PM, Mark DeMayo mdemay...@gmail.com wrote:
 We are using Pygame. I forwarded this email to my lead programmer to have a
 look at it. Thanks for the suggestion.

Happy to answer any questions re the sprites library. There is some
documentation in a comment at the top if the file. I use it in Turtle
Art, Sliderule, CardSort, VisualMatch, Erikos, and several other
activities, so there are lots of examples to look at.

-walter

 On Sat, Feb 27, 2010 at 2:58 PM, Walter Bender walter.ben...@gmail.com
 wrote:

 On Fri, Feb 26, 2010 at 5:53 PM, Mark DeMayo mdemay...@gmail.com wrote:
  Our class here at RIT is done, but we are not done developing. We are
  going
  to continue to work on the project, so if anyone would like to help we
  would
  be more than happy to give you access to our GIT repo. We now can
  display
  multiple squares, rotate one of them and we can move them around with
  the
  mouse. I have changed a lot on our wiki. One thing I did was put up mock
  screenshots. These are not actual screenshots, but what they will
  hopefully
  look like in the future. As alwalys feedback is appreciated. Thank you
  and a
  special thanks to the people who have helped us in the past.
 
  - Blocku Development Team
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 

 How have you implemented this? With pygame? You may want to take a
 look at cardsort (http://git.sugarlabs.org/projects/cardsort), which
 has a lot of the same functionality implemented for a different game.
 It uses a simple sprite library and is otherwise pure Python and
 Sugar.

 -walter


 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org





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


Re: [Sugar-devel] [Systems] [IAEP] Turtle Art on Activities.sugarlabs.org

2010-02-27 Thread Bernie Innocenti
On Sat, 2010-02-27 at 15:34 +, Aleksey Lim wrote:
 we can move in several directions at the same time,
 
 * web hosting,
   I'm more thinking about Moodle because hacking AMO will increase ASLO
   patch which could be wrong way to go since we don't have PHP coders
   involeved to ASLO coding

We already have a Moodle instance running here:

  http://schools.sugarlabs.org/

I don't know if anyone is using it, and it may very well be an updated
version at this time. Caroline could tell you more about it.

If you need a development Moodle installation, just let me know.


 * sugar UI,
   we already have FileShare activity
   I'm working on Library-2 activity which should support not only server
   model but also per-to-peer sharing model (activity will have thumb
   view to make object browsing more useful)

Very interesting...

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

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


Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Aleksey Lim
On Sun, Feb 28, 2010 at 12:47:37AM +, Gary C Martin wrote:
 On 27 Feb 2010, at 16:48, Aleksey Lim wrote:
 
  On Sat, Feb 27, 2010 at 04:05:02PM +, Gary C Martin wrote:
  On 27 Feb 2010, at 07:17, Aleksey Lim wrote:
  
  Hi all,
  
  Before this moment some binary actitieis on ASLO bundle per architeture
  blobs since binaries didn't weight much. But it doesn't play in case of
  http://www.geogebra.org/ which is Java based application (bundling blobs
  per architecture will mean 50M of dependencies and 5M of geogebra itself).
  
  Since Sugar Platform can't grow endlessly, some dependencies can't be
  included to SP(here Java). But bundling some of them will be pretty
  overkill(Java, Qt etc). At the same time fetching dependencies on
  demand(on first launch) could not fit to some deployment models.
  
  So, the question is - how handle such non SP big dependencies in ASLO.
  Possible answers:
  
  1) hmm.. what are you talking about, sugar is pure python environment
   and blobs(not python) is evil, ASLO should handle only python
   based activities(or activity should bundle all its dependencies)
  
  Sorry, but I'm still a +1 for, Activity should bundle all its needed 
  dependencies, but try to work within the existing platform tool set. I 
  understand it's not always possible, and your 0-install work may provide 
  us a rather graceful way to support random, unexpected architectures or 
  platforms (for the exceptions not the norm); but the last thing Sugar 
  needs is to try and potentially support and run every bit of open source 
  code out there. We should focus on well designed Sugar or Sugarised 
  activities. Otherwise Sugar will loose all useful identity and we would 
  might as well drop it and move over to some other random Linux distro.
  
  For me, what makes Sugar special is its consist, system wide attempt to 
  focus on a child centric, and learning centric design.
  
  Regards,
  --Gary
  
  P.S. FWIW: As a Mac OS X developer and user, I almost never have to worry 
  about dependencies or packaging. Almost all OS X applications are self 
  contained bundles, usually containing 'fat binaries' for 32, 64, PPC Intel 
  architectures, and targeted at perhaps the last 2 or 3 OS X version 
  releases (4-5yrs bit rot life time). I just mention this as a working 
  mainstream example.
  
  btw MacOS geogebra package weights 5M (doesn't bundle jre) :)
 
 :-b But that's because Mac OS includes the Java runtime as part of its 
 platform...
 
  I guess we should ask ourself more generic question,
  
 How we should treat ASLO(and sugar itself)
 1) education platform
 2) python based education platform
 
 Of course it's a platform for education, but we are where we are with regards 
 python. I'd be quite happy if someone wanted to go out of their way and write 
 in some other supported and available language/tool set – but right now the 
 easiest path is to create native activities using Python  GTK+. There are 
 heaps of example code, wiki pages, books etc for anyone how wants to learn 
 how.

but in case of geogebra we have already existed project

  Maybe I'm wrong and this question was already answered for others and
  this answer is 2) but in my mind it was all time 1).
  
  In case of 2) we will HAVE TO face packaging issues anyway since there
  is lots of education software that could be proper sugarized (not only
  running but adding Journal support for example).
 
 Regarding 'Iots of educational software' I doubt many teams in reality would 
 be willing to properly sugarize, we would end up with a bunch activity 
 carbuncles dotted throughout the user experience. The sugarized successes I 
 see are built on code bases where you can create a separate Sugar friendly UI 
 on top, from scratch (like Write/abiword). I wish I had time to do the same 
 for MatPlotLib and make a nice graphing/charting sand box activity.

and upsterm who are wiling to proper sugarize it (e.g. add Journal
support)

 
  Possible ways could be:
  
 bundle all dependencies
 but bundle 50M(if we include ARM support it will be 75M) for every
 java based activity looks overkill
 
 There was a _lot_ of early discussion over having, or not having, Java as 
 part of the tool set

but the question is not about including java to Sugar Platform but
about having a way to run activities that have non SP deps (here java)

 but (and I'm waving my hands a little here) it was considered too large and 
 too resource intensive for the target hardware. I agree given my experience 
 running Java on a 2.66Ghz dual core cpu with 4Gb of ram, it sucks eggs, 
 memory, cpu, and usually drives the fans on and eats the laptop battery – I 
 don't want to imaging the pain on an XO or netbook type hardware. Sure 
 there's a reasonable amount of free Java OSS stuff out there, but even if it 
 runs vaguely OK on the kind of hardware Sugar is aimed at, it would still 
 need heavy sugarising so as not to pollute the 

Re: [Sugar-devel] [POLL] Non Sugar Platform activities in Activity Library

2010-02-27 Thread Aleksey Lim
On Sun, Feb 28, 2010 at 02:18:39AM +, Aleksey Lim wrote:
 On Sun, Feb 28, 2010 at 12:47:37AM +, Gary C Martin wrote:
  On 27 Feb 2010, at 16:48, Aleksey Lim wrote:
  
   On Sat, Feb 27, 2010 at 04:05:02PM +, Gary C Martin wrote:
   On 27 Feb 2010, at 07:17, Aleksey Lim wrote:
   
   Hi all,
   
   Before this moment some binary actitieis on ASLO bundle per architeture
   blobs since binaries didn't weight much. But it doesn't play in case of
   http://www.geogebra.org/ which is Java based application (bundling blobs
   per architecture will mean 50M of dependencies and 5M of geogebra 
   itself).
   
   Since Sugar Platform can't grow endlessly, some dependencies can't be
   included to SP(here Java). But bundling some of them will be pretty
   overkill(Java, Qt etc). At the same time fetching dependencies on
   demand(on first launch) could not fit to some deployment models.
   
   So, the question is - how handle such non SP big dependencies in ASLO.
   Possible answers:
   
   1) hmm.. what are you talking about, sugar is pure python environment
and blobs(not python) is evil, ASLO should handle only python
based activities(or activity should bundle all its dependencies)
   
   Sorry, but I'm still a +1 for, Activity should bundle all its needed 
   dependencies, but try to work within the existing platform tool set. I 
   understand it's not always possible, and your 0-install work may provide 
   us a rather graceful way to support random, unexpected architectures or 
   platforms (for the exceptions not the norm); but the last thing Sugar 
   needs is to try and potentially support and run every bit of open source 
   code out there. We should focus on well designed Sugar or Sugarised 
   activities. Otherwise Sugar will loose all useful identity and we would 
   might as well drop it and move over to some other random Linux distro.
   
   For me, what makes Sugar special is its consist, system wide attempt to 
   focus on a child centric, and learning centric design.
   
   Regards,
   --Gary
   
   P.S. FWIW: As a Mac OS X developer and user, I almost never have to 
   worry about dependencies or packaging. Almost all OS X applications are 
   self contained bundles, usually containing 'fat binaries' for 32, 64, 
   PPC Intel architectures, and targeted at perhaps the last 2 or 3 OS X 
   version releases (4-5yrs bit rot life time). I just mention this as a 
   working mainstream example.
   
   btw MacOS geogebra package weights 5M (doesn't bundle jre) :)
  
  :-b But that's because Mac OS includes the Java runtime as part of its 
  platform...
  
   I guess we should ask ourself more generic question,
   
  How we should treat ASLO(and sugar itself)
  1) education platform
  2) python based education platform
  
  Of course it's a platform for education, but we are where we are with 
  regards python. I'd be quite happy if someone wanted to go out of their way 
  and write in some other supported and available language/tool set – but 
  right now the easiest path is to create native activities using Python  
  GTK+. There are heaps of example code, wiki pages, books etc for anyone how 
  wants to learn how.
 
 but in case of geogebra we have already existed project
 
   Maybe I'm wrong and this question was already answered for others and
   this answer is 2) but in my mind it was all time 1).
   
   In case of 2) we will HAVE TO face packaging issues anyway since there
   is lots of education software that could be proper sugarized (not only
   running but adding Journal support for example).
  
  Regarding 'Iots of educational software' I doubt many teams in reality 
  would be willing to properly sugarize, we would end up with a bunch 
  activity carbuncles dotted throughout the user experience. The sugarized 
  successes I see are built on code bases where you can create a separate 
  Sugar friendly UI on top, from scratch (like Write/abiword). I wish I had 
  time to do the same for MatPlotLib and make a nice graphing/charting sand 
  box activity.
 
 and upsterm who are wiling to proper sugarize it (e.g. add Journal
 support)
 
  
   Possible ways could be:
   
  bundle all dependencies
  but bundle 50M(if we include ARM support it will be 75M) for every
  java based activity looks overkill
  
  There was a _lot_ of early discussion over having, or not having, Java as 
  part of the tool set
 
 but the question is not about including java to Sugar Platform but
 about having a way to run activities that have non SP deps (here java)
 
  but (and I'm waving my hands a little here) it was considered too large and 
  too resource intensive for the target hardware. I agree given my experience 
  running Java on a 2.66Ghz dual core cpu with 4Gb of ram, it sucks eggs, 
  memory, cpu, and usually drives the fans on and eats the laptop battery – I 
  don't want to imaging the pain on an XO or netbook type hardware. Sure 
  there's a reasonable amount of