Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-22 Thread Caroline Meeks
Sounds great! Maybe you can do a video showing it off?

Is there an activity guide for Calculate?

How can teachers best understand the power and possibilities of this amazing
tool?

On Wed, Apr 22, 2009 at 6:19 PM, Reinier Heeres  wrote:

> Hi,
>
> I made a new release of Calculate. The most interesting part is that
> there is now support for matplotlib (mpl) as a plotting backend,
> giving much nicer results! This is not a required dependency; if mpl
> is not present Calculate will fall back on it's own built-in
> not-so-nice plotting routines. Give it a try:
> "plot(sinc(x),x=-4*pi..4*pi)"!
>
> On an XO you will need to update the bundle and do a "yum install
> python-matplotlib.i386".
>
> == Source ==
>
>
> http://download.sugarlabs.org/sources/sucrose/fructose/Calculate/Calculate-30.tar.bz2
>
> == Bundle ==
>
>
> http://download.sugarlabs.org/sources/sucrose/fructose/Calculate/Calculate-30.xo
>
> (should also be available soon on a.sl.o)
>
> == Fixed tickets ==
> * Add support for matplotlib as plotting backend
> * Add support for complex plot ranges, e.g. -2*pi..2*pi
> * Fix superscript display bug
>
> Regards,
>
> --
> Reinier Heeres
> Bleijenburg 64
> 2511 VD Den Haag
> The Netherlands
>
> Tel: +31 6 10852639
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Caroline Meeks
Solution Grove
carol...@solutiongrove.com

617-500-3488 - Office
505-213-3268 - Fax
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-22 Thread Aleksey Lim
On Thu, Apr 23, 2009 at 12:19:45AM +0200, Reinier Heeres wrote:
> Hi,
> 
> I made a new release of Calculate. The most interesting part is that
> there is now support for matplotlib (mpl) as a plotting backend,
> giving much nicer results! This is not a required dependency; if mpl
> is not present Calculate will fall back on it's own built-in
> not-so-nice plotting routines. Give it a try:
> "plot(sinc(x),x=-4*pi..4*pi)"!

I guess we should include matplotlib to SugarPlatform-0.84
(seems it doesn't brake distro releases schedules)

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


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-23 Thread Tomeu Vizoso
On Thu, Apr 23, 2009 at 02:38, Aleksey Lim  wrote:
> On Thu, Apr 23, 2009 at 12:19:45AM +0200, Reinier Heeres wrote:
>> Hi,
>>
>> I made a new release of Calculate. The most interesting part is that
>> there is now support for matplotlib (mpl) as a plotting backend,
>> giving much nicer results! This is not a required dependency; if mpl
>> is not present Calculate will fall back on it's own built-in
>> not-so-nice plotting routines. Give it a try:
>> "plot(sinc(x),x=-4*pi..4*pi)"!
>
> I guess we should include matplotlib to SugarPlatform-0.84
> (seems it doesn't brake distro releases schedules)

Any idea how big is this added dependency and its own dependencies?

Thanks,

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


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-23 Thread Martin Dengler
On Thu, Apr 23, 2009 at 09:57:52AM +0200, Tomeu Vizoso wrote:
> On Thu, Apr 23, 2009 at 02:38, Aleksey Lim  wrote:
> > On Thu, Apr 23, 2009 at 12:19:45AM +0200, Reinier Heeres wrote:
> > I guess we should include matplotlib to SugarPlatform-0.84
> > (seems it doesn't brake distro releases schedules)
> 
> Any idea how big is this added dependency and its own dependencies?

rpmdepsize on F10 shows me 14MB for python-matplotlib, and the size of
the major dependencies (including *their dependencies*) are approx:

numpy ~50 MB
coreutils ~190 MB
gtk2 ~25 MB
python ~25 MB

> Thanks,
> Tomeu

Martin


pgplJZUwsh2u1.pgp
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-23 Thread Aleksey Lim
On Thu, Apr 23, 2009 at 09:57:52AM +0200, Tomeu Vizoso wrote:
> On Thu, Apr 23, 2009 at 02:38, Aleksey Lim  wrote:
> > On Thu, Apr 23, 2009 at 12:19:45AM +0200, Reinier Heeres wrote:
> >> Hi,
> >>
> >> I made a new release of Calculate. The most interesting part is that
> >> there is now support for matplotlib (mpl) as a plotting backend,
> >> giving much nicer results! This is not a required dependency; if mpl
> >> is not present Calculate will fall back on it's own built-in
> >> not-so-nice plotting routines. Give it a try:
> >> "plot(sinc(x),x=-4*pi..4*pi)"!
> >
> > I guess we should include matplotlib to SugarPlatform-0.84
> > (seems it doesn't brake distro releases schedules)
> 
> Any idea how big is this added dependency and its own dependencies?

Oops.. I thought about pure python(+pygtk) library and Gentoo confirmed
it(it doesn't install redundant features) but matplotlib has several gui
backends - for gtk qt3 qt4 tk wxwindows. And at least on Mandriva it
requires wxPythonGTK(+82M) - sounds like overmuch for SugarPlatform :(

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


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-23 Thread Reinier Heeres
Hi,

Are those things not mostly already present? Even on my XO with 767
(F9), installing matplotlib 0.91.4-1.fc9 only drags in python-dateutil
and pytz for a total download of 4.7MB. From a quick inspection I
can't find any new dependencies (except for dejavu-sans-fonts (F11) or
dejavu-fonts (F10)). Also, perhaps many of those things would be
interesting to ship anyway (like numpy).

I don't have a running SoaS, but I think it would be useful to see how
many new things are actually pulled in by installing this. Could
anybody do this?

Regards,
Reinier

On Thu, Apr 23, 2009 at 12:12 PM, Martin Dengler
 wrote:
> On Thu, Apr 23, 2009 at 09:57:52AM +0200, Tomeu Vizoso wrote:
>> On Thu, Apr 23, 2009 at 02:38, Aleksey Lim  wrote:
>> > On Thu, Apr 23, 2009 at 12:19:45AM +0200, Reinier Heeres wrote:
>> > I guess we should include matplotlib to SugarPlatform-0.84
>> > (seems it doesn't brake distro releases schedules)
>>
>> Any idea how big is this added dependency and its own dependencies?
>
> rpmdepsize on F10 shows me 14MB for python-matplotlib, and the size of
> the major dependencies (including *their dependencies*) are approx:
>
> numpy ~50 MB
> coreutils ~190 MB
> gtk2 ~25 MB
> python ~25 MB
>
>> Thanks,
>> Tomeu
>
> Martin

-- 
Reinier Heeres
Bleijenburg 64
2511 VD Den Haag
The Netherlands

Tel: +31 6 10852639
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-23 Thread Gary C Martin
On 23 Apr 2009, at 22:47, Reinier Heeres wrote:

> Hi,
>
> Are those things not mostly already present? Even on my XO with 767
> (F9), installing matplotlib 0.91.4-1.fc9 only drags in python-dateutil
> and pytz for a total download of 4.7MB. From a quick inspection I
> can't find any new dependencies (except for dejavu-sans-fonts (F11) or
> dejavu-fonts (F10)). Also, perhaps many of those things would be
> interesting to ship anyway (like numpy).

FWIW: I think numpy is already in (replaced numeric if I remember).

> I don't have a running SoaS, but I think it would be useful to see how
> many new things are actually pulled in by installing this. Could
> anybody do this?

Just yum installed python-matplotlib on Soas-beta:

python-matplotlib 4Mb
dejavu-fonts-common 61k
dejavu-sans-fonts 2.4Mb
fontpackages-filesystem 6.2k
python-dateutil 249k
pytz 37k

Total 6.8M

Not too painful I think.

Regards,
--Gary

> Regards,
> Reinier
>
> On Thu, Apr 23, 2009 at 12:12 PM, Martin Dengler
>  wrote:
>> On Thu, Apr 23, 2009 at 09:57:52AM +0200, Tomeu Vizoso wrote:
>>> On Thu, Apr 23, 2009 at 02:38, Aleksey Lim  
>>>  wrote:
 On Thu, Apr 23, 2009 at 12:19:45AM +0200, Reinier Heeres wrote:
 I guess we should include matplotlib to SugarPlatform-0.84
 (seems it doesn't brake distro releases schedules)
>>>
>>> Any idea how big is this added dependency and its own dependencies?
>>
>> rpmdepsize on F10 shows me 14MB for python-matplotlib, and the size  
>> of
>> the major dependencies (including *their dependencies*) are approx:
>>
>> numpy ~50 MB
>> coreutils ~190 MB
>> gtk2 ~25 MB
>> python ~25 MB
>>
>>> Thanks,
>>> Tomeu
>>
>> Martin
>
> -- 
> Reinier Heeres
> Bleijenburg 64
> 2511 VD Den Haag
> The Netherlands
>
> Tel: +31 6 10852639
> ___
> 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] [RELEASE] Calculate 30

2009-04-24 Thread Tomeu Vizoso
On Fri, Apr 24, 2009 at 00:32, Gary C Martin  wrote:
> On 23 Apr 2009, at 22:47, Reinier Heeres wrote:
>
>> Hi,
>>
>> Are those things not mostly already present? Even on my XO with 767
>> (F9), installing matplotlib 0.91.4-1.fc9 only drags in python-dateutil
>> and pytz for a total download of 4.7MB. From a quick inspection I
>> can't find any new dependencies (except for dejavu-sans-fonts (F11) or
>> dejavu-fonts (F10)). Also, perhaps many of those things would be
>> interesting to ship anyway (like numpy).
>
> FWIW: I think numpy is already in (replaced numeric if I remember).
>
>> I don't have a running SoaS, but I think it would be useful to see how
>> many new things are actually pulled in by installing this. Could
>> anybody do this?
>
> Just yum installed python-matplotlib on Soas-beta:
>
>        python-matplotlib 4Mb
>        dejavu-fonts-common 61k
>        dejavu-sans-fonts 2.4Mb
>        fontpackages-filesystem 6.2k
>        python-dateutil 249k
>        pytz 37k
>
>        Total 6.8M
>
> Not too painful I think.

Yeah, and python-matplotlib has great educational value so I guess
makes a lot of sense to add to the Sugar platform. Aleksey, what do
you think?

Regards,

Tomeu

> Regards,
> --Gary
>
>> Regards,
>> Reinier
>>
>> On Thu, Apr 23, 2009 at 12:12 PM, Martin Dengler
>>  wrote:
>>> On Thu, Apr 23, 2009 at 09:57:52AM +0200, Tomeu Vizoso wrote:
 On Thu, Apr 23, 2009 at 02:38, Aleksey Lim
  wrote:
> On Thu, Apr 23, 2009 at 12:19:45AM +0200, Reinier Heeres wrote:
> I guess we should include matplotlib to SugarPlatform-0.84
> (seems it doesn't brake distro releases schedules)

 Any idea how big is this added dependency and its own dependencies?
>>>
>>> rpmdepsize on F10 shows me 14MB for python-matplotlib, and the size
>>> of
>>> the major dependencies (including *their dependencies*) are approx:
>>>
>>> numpy ~50 MB
>>> coreutils ~190 MB
>>> gtk2 ~25 MB
>>> python ~25 MB
>>>
 Thanks,
 Tomeu
>>>
>>> Martin
>>
>> --
>> Reinier Heeres
>> Bleijenburg 64
>> 2511 VD Den Haag
>> The Netherlands
>>
>> Tel: +31 6 10852639
>> ___
>> 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
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-24 Thread Aleksey Lim
On Fri, Apr 24, 2009 at 10:09:04AM +0200, Tomeu Vizoso wrote:
> On Fri, Apr 24, 2009 at 00:32, Gary C Martin  wrote:
> > On 23 Apr 2009, at 22:47, Reinier Heeres wrote:
> >
> >> Hi,
> >>
> >> Are those things not mostly already present? Even on my XO with 767
> >> (F9), installing matplotlib 0.91.4-1.fc9 only drags in python-dateutil
> >> and pytz for a total download of 4.7MB. From a quick inspection I
> >> can't find any new dependencies (except for dejavu-sans-fonts (F11) or
> >> dejavu-fonts (F10)). Also, perhaps many of those things would be
> >> interesting to ship anyway (like numpy).
> >
> > FWIW: I think numpy is already in (replaced numeric if I remember).
> >
> >> I don't have a running SoaS, but I think it would be useful to see how
> >> many new things are actually pulled in by installing this. Could
> >> anybody do this?
> >
> > Just yum installed python-matplotlib on Soas-beta:
> >
> >        python-matplotlib 4Mb
> >        dejavu-fonts-common 61k
> >        dejavu-sans-fonts 2.4Mb
> >        fontpackages-filesystem 6.2k
> >        python-dateutil 249k
> >        pytz 37k
> >
> >        Total 6.8M
> >
> > Not too painful I think.
> 
> Yeah, and python-matplotlib has great educational value so I guess
> makes a lot of sense to add to the Sugar platform. Aleksey, what do
> you think?

Agree about python-matplotlib but it has several gui backends
and distributions are free to link python-matplotlib to some/most/all of
them. I think its not a good idea to link SugarPlatform to qt/wx/tk.

Anyway distros are free to add it to SP package - for example
SoaS (moreover it seems that matplotlib package from fedora requires only
gtk backend)

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


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-24 Thread Tomeu Vizoso
On Fri, Apr 24, 2009 at 12:32, Aleksey Lim  wrote:
> On Fri, Apr 24, 2009 at 10:09:04AM +0200, Tomeu Vizoso wrote:
>> On Fri, Apr 24, 2009 at 00:32, Gary C Martin  wrote:
>> > On 23 Apr 2009, at 22:47, Reinier Heeres wrote:
>> >
>> >> Hi,
>> >>
>> >> Are those things not mostly already present? Even on my XO with 767
>> >> (F9), installing matplotlib 0.91.4-1.fc9 only drags in python-dateutil
>> >> and pytz for a total download of 4.7MB. From a quick inspection I
>> >> can't find any new dependencies (except for dejavu-sans-fonts (F11) or
>> >> dejavu-fonts (F10)). Also, perhaps many of those things would be
>> >> interesting to ship anyway (like numpy).
>> >
>> > FWIW: I think numpy is already in (replaced numeric if I remember).
>> >
>> >> I don't have a running SoaS, but I think it would be useful to see how
>> >> many new things are actually pulled in by installing this. Could
>> >> anybody do this?
>> >
>> > Just yum installed python-matplotlib on Soas-beta:
>> >
>> >        python-matplotlib 4Mb
>> >        dejavu-fonts-common 61k
>> >        dejavu-sans-fonts 2.4Mb
>> >        fontpackages-filesystem 6.2k
>> >        python-dateutil 249k
>> >        pytz 37k
>> >
>> >        Total 6.8M
>> >
>> > Not too painful I think.
>>
>> Yeah, and python-matplotlib has great educational value so I guess
>> makes a lot of sense to add to the Sugar platform. Aleksey, what do
>> you think?
>
> Agree about python-matplotlib but it has several gui backends
> and distributions are free to link python-matplotlib to some/most/all of
> them. I think its not a good idea to link SugarPlatform to qt/wx/tk.
>
> Anyway distros are free to add it to SP package - for example
> SoaS (moreover it seems that matplotlib package from fedora requires only
> gtk backend)

True, maybe we should enter tickets for the distros that bundle all
backends together?

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


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-24 Thread Tomeu Vizoso
On Fri, Apr 24, 2009 at 13:32, Aleksey Lim  wrote:
> On Fri, Apr 24, 2009 at 12:43:05PM +0200, Tomeu Vizoso wrote:
>> On Fri, Apr 24, 2009 at 12:32, Aleksey Lim  wrote:
>> > On Fri, Apr 24, 2009 at 10:09:04AM +0200, Tomeu Vizoso wrote:
>> >> On Fri, Apr 24, 2009 at 00:32, Gary C Martin  wrote:
>> >> > On 23 Apr 2009, at 22:47, Reinier Heeres wrote:
>> >> >
>> >> >> Hi,
>> >> >>
>> >> >> Are those things not mostly already present? Even on my XO with 767
>> >> >> (F9), installing matplotlib 0.91.4-1.fc9 only drags in python-dateutil
>> >> >> and pytz for a total download of 4.7MB. From a quick inspection I
>> >> >> can't find any new dependencies (except for dejavu-sans-fonts (F11) or
>> >> >> dejavu-fonts (F10)). Also, perhaps many of those things would be
>> >> >> interesting to ship anyway (like numpy).
>> >> >
>> >> > FWIW: I think numpy is already in (replaced numeric if I remember).
>> >> >
>> >> >> I don't have a running SoaS, but I think it would be useful to see how
>> >> >> many new things are actually pulled in by installing this. Could
>> >> >> anybody do this?
>> >> >
>> >> > Just yum installed python-matplotlib on Soas-beta:
>> >> >
>> >> >        python-matplotlib 4Mb
>> >> >        dejavu-fonts-common 61k
>> >> >        dejavu-sans-fonts 2.4Mb
>> >> >        fontpackages-filesystem 6.2k
>> >> >        python-dateutil 249k
>> >> >        pytz 37k
>> >> >
>> >> >        Total 6.8M
>> >> >
>> >> > Not too painful I think.
>> >>
>> >> Yeah, and python-matplotlib has great educational value so I guess
>> >> makes a lot of sense to add to the Sugar platform. Aleksey, what do
>> >> you think?
>> >
>> > Agree about python-matplotlib but it has several gui backends
>> > and distributions are free to link python-matplotlib to some/most/all of
>> > them. I think its not a good idea to link SugarPlatform to qt/wx/tk.
>> >
>> > Anyway distros are free to add it to SP package - for example
>> > SoaS (moreover it seems that matplotlib package from fedora requires only
>> > gtk backend)
>>
>> True, maybe we should enter tickets for the distros that bundle all
>> backends together?
>
> I've creted a bug for Mandriva
> but I guess its a bit late for SP-0.84

Yeah, I guess it can get into SP-0.86 and just make sure for now that
Soas and other distros where we have more control have matplotlib in.

Thanks,

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


Re: [Sugar-devel] [RELEASE] Calculate 30

2009-04-24 Thread Aleksey Lim
On Fri, Apr 24, 2009 at 12:43:05PM +0200, Tomeu Vizoso wrote:
> On Fri, Apr 24, 2009 at 12:32, Aleksey Lim  wrote:
> > On Fri, Apr 24, 2009 at 10:09:04AM +0200, Tomeu Vizoso wrote:
> >> On Fri, Apr 24, 2009 at 00:32, Gary C Martin  wrote:
> >> > On 23 Apr 2009, at 22:47, Reinier Heeres wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> Are those things not mostly already present? Even on my XO with 767
> >> >> (F9), installing matplotlib 0.91.4-1.fc9 only drags in python-dateutil
> >> >> and pytz for a total download of 4.7MB. From a quick inspection I
> >> >> can't find any new dependencies (except for dejavu-sans-fonts (F11) or
> >> >> dejavu-fonts (F10)). Also, perhaps many of those things would be
> >> >> interesting to ship anyway (like numpy).
> >> >
> >> > FWIW: I think numpy is already in (replaced numeric if I remember).
> >> >
> >> >> I don't have a running SoaS, but I think it would be useful to see how
> >> >> many new things are actually pulled in by installing this. Could
> >> >> anybody do this?
> >> >
> >> > Just yum installed python-matplotlib on Soas-beta:
> >> >
> >> >        python-matplotlib 4Mb
> >> >        dejavu-fonts-common 61k
> >> >        dejavu-sans-fonts 2.4Mb
> >> >        fontpackages-filesystem 6.2k
> >> >        python-dateutil 249k
> >> >        pytz 37k
> >> >
> >> >        Total 6.8M
> >> >
> >> > Not too painful I think.
> >>
> >> Yeah, and python-matplotlib has great educational value so I guess
> >> makes a lot of sense to add to the Sugar platform. Aleksey, what do
> >> you think?
> >
> > Agree about python-matplotlib but it has several gui backends
> > and distributions are free to link python-matplotlib to some/most/all of
> > them. I think its not a good idea to link SugarPlatform to qt/wx/tk.
> >
> > Anyway distros are free to add it to SP package - for example
> > SoaS (moreover it seems that matplotlib package from fedora requires only
> > gtk backend)
> 
> True, maybe we should enter tickets for the distros that bundle all
> backends together?

I've creted a bug for Mandriva
but I guess its a bit late for SP-0.84

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