Re: Classroom tools

2008-01-15 Thread Yoshiki Ohshima
  One way or another is what I wrote, and letting them cut papers
and weigh is a great idea, I think.

  As you wrote, it is important to have teachers understand, or able
to help, impotant ideas.  And assembling a repository of what are
impotant ideas and techiniques to teach them would be essential
addition to the current OLPC effort.

-- Yoshiki

At Tue, 15 Jan 2008 00:13:58 -0800,
Edward Cherlin wrote:
 
 On Jan 14, 2008 10:06 PM, Yoshiki Ohshima [EMAIL PROTECTED] wrote:
   But let me say one more thing. Making use of constructionism theory
   doesn't means the unnecessity of the teachers, but the role of the
   teachers changes.
 
Yes, I think tools for supporting teacher who want to do the
  traditional style of teaching is eventually necessary.
 
And, even in Learning learning, many subjects that are invented
  are not discoverable by kids' own.  (Alan Kay said Children are not
  going to invent calculus.)  a kid should be helped by teacher(s) in
  one way or another to learn powerful ideas.
 
 Alan Kay has examples of children discovering parts of calculus with
 some assistance.
 
 It is important that teachers know about the really important ideas,
 and about how to introduce children to them without thinking that they
 can simply teach it in language. I started working on a Kindergarten
 Calculus idea a while ago. Show the children that you can put a
 straightedge against any shape to get the direction of that shape at
 that point. Ask why the straightedge is level at the top or bottom.
 Assist them to find the third case in which the tangent can be level.
 That's the essence of differential calculus. The rest is deriving
 formulas and doing calculations.
 
 Similarly for integral calculus. Draw a figure on paper, cut it out
 and weigh it. Now, how can you help children to discover that these
 two operations are inverses? That's the Fundamental Theorem of
 Calculus. (I have a solution, but I am sure that there are others.)
 
 Given that we can teach understanding of the fundamental ideas in
 Kindergarten, we have the opportunity to rethink at what ages the rest
 can be brought in. Traditional thinking is that you can't start until
 the students are capable of understanding all of the subject. This is
 very close to complete nonsense. Weapons-grade bolonium, in fact.
 
  -- Yoshiki
 
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel
 
 
 
 
 -- 
 Edward Cherlin
 End Poverty at a Profit by teaching children business
 http://www.EarthTreasury.org/
 The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: GRUB on OLPC / XO

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 12:31:30PM +0100, Marco Gerards wrote:
 Robert Millan [EMAIL PROTECTED] writes:
 
 Hi,
 
  I've been working for a few hours in a GRUB port to i386/OFW.  There's
  quite a bit of things that need cleanup/fix before it can be considered
  complete, but it's in a stage that boots and lets you do basic things (like
  listing storage devices).
 
 OLPC is OF!?  I didn't expect this :-).  Who made the firmware?

Mitch Bradley (author of Open Firmware).

  I'll be gradually integrating this into official GRUB tree.  In the 
  meantime,
  if you want to try it:
 
- checkout GRUB cvs (grub2 module)
- apply attached patch
- ./autogen.sh  ./configure --with-platform=ieee1275  make kernel.elf
 
 
 Great!  I'll just review the patch! :-)

Please don't.  It's not meant for review, was just a proof of concept.  The
patches I actually intend to get merged are being sent separately (see my later
mails on this).

Oh well, too late.. :-)

  +COMMON_ASFLAGS = -m32 -nostdinc -fno-builtin
  +COMMON_CFLAGS  = -ffreestanding -mrtd -mregparm=3
  +COMMON_LDFLAGS = -nostdlib -static -lgcc
 
 Why mregparm?  I don't think we need this for OF?  Do you call
 assembler functions?

OFW expects %eax to be the first parameter in callbacks.  Other than this,
I assumed -mregparm is a useful size optimization.  Is that not it?  Why
do we have it on i386-pc then?

 /* Load pre-loaded modules and free the space.  */
 grub_register_exported_symbols ();
  -  grub_load_modules ();
  +//  grub_load_modules ();
 
 Why?

I still don't know.  Memory corruption I think.  I'm investigating.

  diff -x '*.mk' -x '*~' -x CVS -x .svn -x configure -x config.h.in -Nurp 
  ../../grub2/kern/powerpc/ieee1275/cmain.c ./kern/powerpc/ieee1275/cmain.c
  --- ../../grub2/kern/powerpc/ieee1275/cmain.c   2007-12-30 
  09:52:05.0 +0100
  +++ ./kern/powerpc/ieee1275/cmain.c 2008-01-12 03:12:01.0 +0100
  @@ -58,7 +58,7 @@ grub_ieee1275_find_options (void)
 grub_ieee1275_finddevice (/options, options);
 rc = grub_ieee1275_get_property (options, real-mode?, realmode,
 sizeof realmode, 0);
  -  if ((rc = 0)  realmode)
  +//  if ((rc = 0)  realmode)
   grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_REAL_MODE);
 
 Ehm?

Nothing to see here.  Move along :-)

  -  while (i  sizeof (available))
  +  while (i  sizeof (available)  available[i])
   {
 grub_uint64_t address;
 grub_uint64_t size;
   
  -  address = available[i++];
  +  address = grub_be_to_cpu32 (available[i++]);
 
 Why do you do this?  Isn't this information available in native byte order?

See my other mail about IEEE-1275 and endianess.

  diff -x '*.mk' -x '*~' -x CVS -x .svn -x configure -x config.h.in -Nurp 
  ../../grub2/term/ieee1275/ofconsole.c ./term/ieee1275/ofconsole.c
  --- ../../grub2/term/ieee1275/ofconsole.c   2007-12-25 12:10:47.0 
  +0100
  +++ ./term/ieee1275/ofconsole.c 2008-01-12 03:09:02.0 +0100
  @@ -369,9 +369,6 @@ static struct grub_term grub_ofconsole_t
   .getwh = grub_ofconsole_getwh,
   .gotoxy = grub_ofconsole_gotoxy,
   .cls = grub_ofconsole_cls,
  -.setcolorstate = grub_ofconsole_setcolorstate,
  -.setcolor = grub_ofconsole_setcolor,
  -.getcolor = grub_ofconsole_getcolor,
 
 Why do you do this?

GRUB still wants to set light-gray/black color when run over serial port
(or OFW terminal which could pipe to serial port).  This is very ugly
when your serial port is mapped to a black/white gnome-terminal.

-- 
Robert Millan

GPLv2 I know my rights; I want my phone call!
DRM What use is a phone call, if you are unable to speak?
(as seen on /.)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 1537

2008-01-15 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1537/

-ohm.i386 0:0.1.1-6.2.20080102git.fc7
+ohm.i386 0:0.1.1-6.3.20080102git.fc7

--- ohm.i386 0.1.1-6.3.20080102git.fc7 ---
- Always reset the idle counter coming out of suspend.

--
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


set_canvas() type

2008-01-15 Thread Victor Lazzarini
Hi everyone,

what is the type expected by Activity.set_canvas(). Is there a
general-purpose canvas widget for structured graphics in
sugar (a la Tkinter canvas) ? Where should I be looking for
reference documentation?

Thanks

Victor
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: set_canvas() type

2008-01-15 Thread Wade Brainerd
Hi Victor, many activities would use a gtk.DrawingArea which can be drawn on
using Cairo.  Or else a container widget like gtk.VBox or gtk.HBox to which
other widgets will be added.

You can find a complete PyGTK reference here:
http://www.pygtk.org/pygtk2reference/

Note that some activities use types referred to as HippoCanvas etc.  The
Hippo widgets are pretty much deprecated in favor of standard PyGTK widgets
(see the Hippo wiki page).

Best,
Wade

On Jan 15, 2008 5:12 AM, Victor Lazzarini [EMAIL PROTECTED] wrote:

 Hi everyone,

 what is the type expected by Activity.set_canvas(). Is there a
 general-purpose canvas widget for structured graphics in
 sugar (a la Tkinter canvas) ? Where should I be looking for
 reference documentation?

 Thanks

 Victor
 Victor Lazzarini
 Music Technology Laboratory
 Music Department
 National University of Ireland, Maynooth

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: GRUB on OLPC / XO

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 01:06:43PM +0100, Robert Millan wrote:
  /* Load pre-loaded modules and free the space.  */
  grub_register_exported_symbols ();
   -  grub_load_modules ();
   +//  grub_load_modules ();
  
  Why?
 
 I still don't know.  Memory corruption I think.  I'm investigating.

Ok, this would explain it:

_start: 0x1, _end: 0x1f804
Using memory for heap: addr=0x10, end=0x40
Using memory for heap: addr=0x2000, end=0x9
Welcome to GRUB!

See how our core image and the second heap chunk overlap.  I'm not sure if this
is a bug in OFW's /memory/available, but in any case it doesn't hurt to add a
generic sanity check in our memory manager to avoid this sort of breakage.

It's also be useful to protect our own stack, etc..

What do you think?

-- 
Robert Millan

GPLv2 I know my rights; I want my phone call!
DRM What use is a phone call, if you are unable to speak?
(as seen on /.)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: xo-get update

2008-01-15 Thread Chris Hager
This sounded like a great idea and I've just implemented it :)

The GCompris activities (currently 105)...

* are added to the database on update
* can be listed with './xo-get.py list gcompris'
* can be installed like any other activity
* can be installed all together with './xo-get.py install gcompris'

- Chris


Walter Bender wrote:
 One could probably use xo-get to install all of the GCompris
 activities as well (See http://laptop.org/go/GCompris).

 regards.

 -walter

 On Jan 15, 2008 10:17 AM, Chris Hager [EMAIL PROTECTED] wrote:
   
 Hey all!

 I have updated xo-get to use http://wiki.laptop.org/go/Activities as
 repository. The tool includes all activities with downloadable .xo
 links, and follows [[Image:...]]-links to the real source. Currently
 there are 43 Activities installable.

 You can install xo-get this way:

 wget xo-get.olpc.at
 chmod u+x xo-get.py

 Started with './xo-get.py', it will first ask for an update :)

 More infos: http://wiki.laptop.org/go/Xo-get

 Thanks for any feedback!

 - Chris
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

 



   

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 1538

2008-01-15 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1538/

-Poll-15.xo
+Poll-16.xo
-dhclient.i386 12:3.0.5-40.fc7
+dhclient.i386 12:3.0.5-42.fc7
-dhcp.i386 12:3.0.5-40.fc7
+dhcp.i386 12:3.0.5-42.fc7
-libdhcp4client.i386 12:3.0.5-40.fc7
+libdhcp4client.i386 12:3.0.5-42.fc7
-libutempter.i386 0:1.1.4-3.fc6
+libutempter.i386 0:1.1.5-1.fc7
+make.i386 1:3.81-6.fc7
+openldap-servers.i386 0:2.3.34-4.fc7
+perl.i386 4:5.8.8-27.fc7
+perl-libs.i386 4:5.8.8-27.fc7

--- Poll-16 ---
  * Fix radio button selection
  * #6022: Fix scrolling
  * Remove default poll creation

--
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New joyride build 1538

2008-01-15 Thread Benjamin M. Schwartz
On Tue, 2008-01-15 at 13:45 -0500, Build Announcer Script wrote:
 +make.i386 1:3.81-6.fc7
 +openldap-servers.i386 0:2.3.34-4.fc7
 +perl.i386 4:5.8.8-27.fc7
 +perl-libs.i386 4:5.8.8-27.fc7 

Perl? Really?

--Ben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New update.1 build 682

2008-01-15 Thread Build Announcer Script
http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/build682/

-Paint-15.xo
+Paint-17.xo
-Read-38.xo
+Read-40.xo
-Record-49.xo
+Record-50.xo
-Terminal-5.xo
+Terminal-8.xo
-Web-83.xo
+Web-84.xo
+bash.i386 0:3.2-19.fc7
-bash.i386 0:3.2-9.fc7
-gnash.i386 0:0.8.1-1.olpc2
+gnash.i386 0:0.8.1-2.olpc2.20071226cvs
-gnash-plugin.i386 0:0.8.1-1.olpc2
+gnash-plugin.i386 0:0.8.1-2.olpc2.20071226cvs
-hulahop.i386 0:0.4.0-1.olpc2
+hulahop.i386 0:0.4.0-2.olpc2
-initscripts.i386 0:8.54.1-15.olpc2
+initscripts.i386 0:8.54.1-17.olpc2
-libabiword.i386 0:2.6.0.svn20071106-1
+libabiword.i386 0:2.6.0.svn20071127-1
-libabiword-plugins.i386 0:2.6.0.svn20071106-1
+libabiword-plugins.i386 0:2.6.0.svn20071127-2
-libxml2.i386 0:2.6.29-1.fc7
+libxml2.i386 0:2.6.31-1.fc7
-libxml2-python.i386 0:2.6.29-1.fc7
+libxml2-python.i386 0:2.6.31-1.fc7
-mingetty.i386 0:1.07-5.2.2
+mingetty.i386 0:1.07-9.olpc2
-ohm.i386 0:0.1.1-6.1.20080102git.fc7
+ohm.i386 0:0.1.1-6.3.20080102git.fc7
-olpc-utils.i386 0:0.63-1.olpc2
+olpc-utils.i386 0:0.63-2.olpc2
-pyabiword.i386 0:0.6.0.svn20071106-1
+pyabiword.i386 0:0.6.0.svn20071127-1
-rainbow.noarch 0:0.7.6-1.olpc2
+rainbow.noarch 0:0.7.8-1.olpc2
-sugar-evince.i386 0:2.20.0-4.olpc2
+sugar-evince.i386 0:2.20.1.1-1.olpc2
-sugar-evince-python.i386 0:2.20.0-4.olpc2
+sugar-evince-python.i386 0:2.20.1.1-1.olpc2
-sugar.i386 0:0.75.7-1
+sugar.i386 0:0.75.8-1
-totem.i386 0:2.18.2-11
+totem.i386 0:2.18.2-12
-totem-mozplugin.i386 0:2.18.2-11
+totem-mozplugin.i386 0:2.18.2-12
-totem-plparser.i386 0:2.18.2-11
+totem-plparser.i386 0:2.18.2-12
-xkeyboard-config.noarch 0:1.1-7.20071130cvs.olpc2
+xkeyboard-config.noarch 0:1.1-8.20071130cvs.olpc2
-xulrunner.i386 0:1.9-0.beta1.9.olpc2
+xulrunner.i386 0:1.9-0.beta2.1.olpc2

--- Paint-17 ---
* Make the fix for #5586 work with security. (tomeu)

--- Read-40 ---
* Fix zoom-to-width (tomeu), #5866

--- Record-50 ---
   * #4525 updates
   * #5899 workaround
   * #5830 fix

--- Web-84 ---
 * Use ellipsis, #5765 (rwh)
 * Implement can_close(), #5493 (rwh)

--
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/update.1-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New update.1 build 682

2008-01-15 Thread ffm
What is stopping http://dev.laptop.org/~bert/update.1-joyride.html from
being nil?

On Jan 15, 2008 3:00 PM, Build Announcer Script [EMAIL PROTECTED]
wrote:

 http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/build682/http://pilgrim.laptop.org/%7Epilgrim/olpc/streams/update.1/build682/

 -Paint-15.xo
 +Paint-17.xo
 -Read-38.xo
 +Read-40.xo
 -Record-49.xo
 +Record-50.xo
 -Terminal-5.xo
 +Terminal-8.xo
 -Web-83.xo
 +Web-84.xo
 +bash.i386 0:3.2-19.fc7
 -bash.i386 0:3.2-9.fc7
 -gnash.i386 0:0.8.1-1.olpc2
 +gnash.i386 0:0.8.1-2.olpc2.20071226cvs
 -gnash-plugin.i386 0:0.8.1-1.olpc2
 +gnash-plugin.i386 0:0.8.1-2.olpc2.20071226cvs
 -hulahop.i386 0:0.4.0-1.olpc2
 +hulahop.i386 0:0.4.0-2.olpc2
 -initscripts.i386 0:8.54.1-15.olpc2
 +initscripts.i386 0:8.54.1-17.olpc2
 -libabiword.i386 0:2.6.0.svn20071106-1
 +libabiword.i386 0:2.6.0.svn20071127-1
 -libabiword-plugins.i386 0:2.6.0.svn20071106-1
 +libabiword-plugins.i386 0:2.6.0.svn20071127-2
 -libxml2.i386 0:2.6.29-1.fc7
 +libxml2.i386 0:2.6.31-1.fc7
 -libxml2-python.i386 0:2.6.29-1.fc7
 +libxml2-python.i386 0:2.6.31-1.fc7
 -mingetty.i386 0:1.07-5.2.2
 +mingetty.i386 0:1.07-9.olpc2
 -ohm.i386 0:0.1.1-6.1.20080102git.fc7
 +ohm.i386 0:0.1.1-6.3.20080102git.fc7
 -olpc-utils.i386 0:0.63-1.olpc2
 +olpc-utils.i386 0:0.63-2.olpc2
 -pyabiword.i386 0:0.6.0.svn20071106-1
 +pyabiword.i386 0:0.6.0.svn20071127-1
 -rainbow.noarch 0:0.7.6-1.olpc2
 +rainbow.noarch 0:0.7.8-1.olpc2
 -sugar-evince.i386 0:2.20.0-4.olpc2
 +sugar-evince.i386 0:2.20.1.1-1.olpc2
 -sugar-evince-python.i386 0:2.20.0-4.olpc2
 +sugar-evince-python.i386 0:2.20.1.1-1.olpc2
 -sugar.i386 0:0.75.7-1
 +sugar.i386 0:0.75.8-1
 -totem.i386 0:2.18.2-11
 +totem.i386 0:2.18.2-12
 -totem-mozplugin.i386 0:2.18.2-11
 +totem-mozplugin.i386 0:2.18.2-12
 -totem-plparser.i386 0:2.18.2-11
 +totem-plparser.i386 0:2.18.2-12
 -xkeyboard-config.noarch 0:1.1-7.20071130cvs.olpc2
 +xkeyboard-config.noarch 0:1.1-8.20071130cvs.olpc2
 -xulrunner.i386 0:1.9-0.beta1.9.olpc2
 +xulrunner.i386 0:1.9-0.beta2.1.olpc2

 --- Paint-17 ---
* Make the fix for #5586 work with security. (tomeu)

 --- Read-40 ---
* Fix zoom-to-width (tomeu), #5866

 --- Record-50 ---
   * #4525 updates
   * #5899 workaround
   * #5830 fix

 --- Web-84 ---
 * Use ellipsis, #5765 (rwh)
 * Implement can_close(), #5493 (rwh)

 --
  This email was automatically generated
  Aggregated logs at 
 http://dev.laptop.org/~bert/update.1-pkgs.htmlhttp://dev.laptop.org/%7Ebert/update.1-pkgs.html
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New joyride build 1538

2008-01-15 Thread Dennis Gilmore
On Tuesday 15 January 2008, Dennis Gilmore wrote:
 On Tuesday 15 January 2008, Benjamin M. Schwartz wrote:
  On Tue, 2008-01-15 at 13:45 -0500, Build Announcer Script wrote:
   +make.i386 1:3.81-6.fc7
   +openldap-servers.i386 0:2.3.34-4.fc7
   +perl.i386 4:5.8.8-27.fc7
   +perl-libs.i386 4:5.8.8-27.fc7
 
  Perl? Really?

 Ive had a look at what happened here  the dhcp update from fedora adds an
 ldap schema that added a dependancy on openldap-servers that pulled in
 perl.  I am working on getting that fixed.

 Dennis

Ive made dhcp go back to the previous version.  so these will fall out of the 
next build.  it was not a security fix but fixed up support for storing dhcp 
data in ldap.  

NetworkManager requires dhcp currently so that an XO can act as a mesh portal.  
This is currently not enabled.  for update.2  we would like to enable it and 
use dnsmasq as the dhcp server. ive opened http://dev.laptop.org/ticket/6028 
to track this.  

It is something that will take some work to get implemented and working 
correctly.

Dennis


signature.asc
Description: This is a digitally signed message part.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Problem running a java/swing application

2008-01-15 Thread Seong-June Kim
Hi, I have created a ticket for this problem
(http://dev.laptop.org/ticket/6026) but I thought there may be
some people here that can give me some insights, and hopefully
also some that are willing to examine the problem,
so I reproduce it below:

I tried a minimal Java/Swing application with the following code
and found that either setLocation() or setSize() must be called
AFTER setVisible(True) for the window to show itself correctly.

Otherwise, if either none of the setLocation() and setSize() were
called or if they were called BEFORE setVisible(), Sugar would hang
with a blank screen. The values for location and/or size didn't
make any difference.

Normally the order of the method calls shouldn't matter. I ran
the matchbox window manager on Ubuntu Linux and it didn't have
the problem there.

I saw this problem with both java 5 and java 6, on build 623
and jhbuild.


import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;

public class SwingTest extends JFrame {
JMenuBar menuBar;

public static void main(String[] args) {
SwingTest viewer = new SwingTest();
}

public SwingTest() {
super();
setTitle(Swing Test);
updateMenuBar();
setJMenuBar(menuBar);

setVisible(true); // works!
setLocation(10, 10);
//setVisible(true); // breaks!
}

public JMenuBar updateMenuBar() {
JMenu fileMenu = null;
if (menuBar == null) {
menuBar = new JMenuBar();
fileMenu = new JMenu(File);
menuBar.add(fileMenu);
} 
else {
fileMenu = menuBar.getMenu(0);
fileMenu.removeAll();
}
fileMenu.add(new ExitAction());
return menuBar;
}

class ExitAction extends AbstractAction {
private static final long serialVersionUID = 1L;

public ExitAction() {
super(Exit);
}

public void actionPerformed(ActionEvent e) {
System.exit(0);
}
}
}

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New update.1 build 682

2008-01-15 Thread Dennis Gilmore
On Tuesday 15 January 2008, ffm wrote:
 What is stopping http://dev.laptop.org/~bert/update.1-joyride.html from
 being nil?

What you pasted was out of date.

joyride has many more activites than update.1

--- update.1/682
 +++ joyride/1538
 +blas.i386 0:3.1.1-1.fc7
blas provides libblas.so.3 which is needed by numpy  in update.1  its provided 
by atlas which is also in joyride  they put it in seperate locations. so they 
do not conflict.  we do not make blas available to update.1 builds.

 -bootanim.i386 0:0.12-0
 +bootanim.i386 0:0.13-0
This wont go in util i have the srpm that created the package

 +CartoonBuilder-1.xo
 +ClockActivity-3.xo
 +Connect-20.xo
Extra Activities

 -dhclient.i386 12:3.0.5-40.fc7
 +dhclient.i386 12:3.0.5-42.fc7
 -dhcp.i386 12:3.0.5-40.fc7
 +dhcp.i386 12:3.0.5-42.fc7
dhcp is getting reverted the update pulled in things we dont need and is not a 
security fix

 +FlipSticks-1.xo
 +Gmail-2.xo
 +JigsawPuzzle-2.xo
 +JokeMachine-6.xo
Extra Activites

 -Journal-82.xo
 +Journal-83.xo
No bug to update the activity

 -kernel.i586 0:2.6.22-20080107.1.olpc.4f7066ad642f673
 +kernel.i586 0:2.6.22-20080110.1.olpc.940c801838dbaf2
will be updating shortly 

 +LearningCenter-3.xo
Extra Activites

 -libdhcp4client.i386 12:3.0.5-40.fc7
 +libdhcp4client.i386 12:3.0.5-42.fc7
New Fedora update to be pulled

 -libutempter.i386 0:1.1.4-3.fc6
 +libutempter.i386 0:1.1.5-1.fc7
New Fedora update

 +make.i386 1:3.81-6.fc7
pulled in as extra

 +MaMaMediaMenu-2.xo
Extra Activites

 -olpccontents.i386 0:1.8-0
 +olpccontents.i386 0:2.0-0
This wont go in util i have the srpm that created the package

 -olpc-library-common.noarch 0:1-15
 +olpc-library-common.noarch 0:1-16
 -olpc-library-core.noarch 0:1-16
 +olpc-library-core.noarch 0:1-17
No request to update the packages

 -olpcrd.i386 0:0.37-0
 +olpcrd.i386 0:0.39-0
 -olpcupdate.i386 0:1.9-0
 +olpcupdate.i386 0:2.1-0
This wont go in util i have the srpm that created the package

 +openldap-servers.i386 0:2.3.34-4.fc7
 +perl.i386 4:5.8.8-27.fc7
 +perl-libs.i386 4:5.8.8-27.fc7
Extra deps going to fall out 

 +Poll-16.xo
 +SliderPuzzle-4.xo
 +WikiBrowse-9.xo
Extra Activites
 +xorg-x11-drv-evdev.i386 0:1.2.0-2norel.olpc2
 -xorg-x11-drv-evdev.i386 0:1.2.0-2.olpc2
I have just removed all of the old handbuilt X rpms from the tree used to 
create the olpc only side of the distro.   the wrong version was getting 
pulled into update 1 because it was considered newer acording to rpm

 +xorg-x11-drv-keyboard.i386 0:1.1.0-3.fc7
 -xorg-x11-drv-keyboard.i386 0:1.2.1-0.olpc2
 +xorg-x11-drv-mouse.i386 0:1.2.1-2.fc7
 -xorg-x11-drv-mouse.i386 0:1.2.2-0.olpc2
These are no longer used im waiting for a ticket from bernie so that they can 
be dropped from the image

I hope this explains things

Dennis


signature.asc
Description: This is a digitally signed message part.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Classroom tools

2008-01-15 Thread Edward Cherlin
On Jan 15, 2008 12:42 AM, Yoshiki Ohshima [EMAIL PROTECTED] wrote:
   One way or another is what I wrote, and letting them cut papers
 and weigh is a great idea, I think.

Thank you. Of course, not every school can afford construction paper.
:-( But there are numerous alternatives, and I have no doubt that the
children will think of more. (One example: Make a shape from clay on a
flat surface, fill it with water to a measured depth, pour the water
into a cup and measure the volume of the water. Or weigh it.)

   As you wrote, it is important to have teachers understand, or able
 to help, important ideas.

Discovery being the most important idea. We can't just tell teachers
that. We have to enable them to discover it. This is the most critical
and neglected part of the Laptop program. If we don't do it, and if
Nicholas keeps saying that teachers are irrelevant, we will get a
ferocious backlash, comparable to the New Math disaster.

I have started the outline of a book under the working title
Discovering Discovery, but I won't be able to write it alone.

Second on my list of important ideas is the difference between
know-how and understanding. This is well illustrated by the difference
between the ferocious rivals Thomas Edison, who simply tried
everything (most famously, over a thousand materials for light-bulb
filaments), and Nikola Tesla, who could visualize three-dimensional
magnetic fields, and believed in calculating likely possibilities
before starting experimentation.

At the schoolroom level, the difference is between knowing rules for
manipulating variables, and understanding what a variable is.
(Basically, a variable name is a pronoun that can refer to a different
number each time it is used.) Caleb Gattegno was particularly good at
inducing understanding of arithmetic and elementary algebra using
Cuisenaire rods. Everybody involved in XO software and content should
read his work. In fact, a Cuisenaire rod activity would be brilliant.

Another example that bit me in grade school: English does not have
vowel quantity, that is, longer and shorter vowels, in the manner of,
say, Latin, Hindi, or Japanese. But in schools we use the terminology
of long and short vowels taken from Latin. In fact, so-called long
vowels in English are not the same vowels spoken longer, but entirely
different vowels (actually diphthongs) that happen to be written with
the same letter (though not always), and marked by a following silent
e (but by no means always).

This is due to the great lack of vowel letters in alphabets descended
from Greek (Latin and Cyrillic mainly). The Greek alphabet was adapted
from a Semitic alphabet that had no vowel letters at all. Some other
alphabets such as Korean Hangeul and the Shavian alphabet for English
have many more vowel letters, and use unique combinations for writing
diphthongs. As though we wrote Ai keim to yur haus, and didn't
pretend that 'ai' was a version of 'i', and 'ei' a version of 'a'.

a ei cap cape
e How would you write this clearly in Latin alphabet? We would have to
just make something up. met meet mete
i ai sit site
o ou for fore four, but not cop cope
u ?? tun (ton) tune, tun (ton) tune, cup coop, but not cut cute /kyut/
but note that book uses 'oo' for a different vowel than in coop.

It took me days to work out that the long and short distinction was
nonsense, and that I could and should ignore the plain meaning of the
words, and just memorize the list.

 And assembling a repository of what are
 important ideas and techiniques to teach them would be essential
 addition to the current OLPC effort.

Yes. Let's think about where and how to do that. There are too many
important ideas for just a Wiki page, but I'll start one and see where
it takes us. No, I won't. There is an Ideas page on the Wiki. See you
there.

 -- Yoshiki

 At Tue, 15 Jan 2008 00:13:58 -0800,

 Edward Cherlin wrote:
 
  On Jan 14, 2008 10:06 PM, Yoshiki Ohshima [EMAIL PROTECTED] wrote:
But let me say one more thing. Making use of constructionism theory
doesn't means the unnecessity of the teachers, but the role of the
teachers changes.
  
 Yes, I think tools for supporting teacher who want to do the
   traditional style of teaching is eventually necessary.
  
 And, even in Learning learning, many subjects that are invented
   are not discoverable by kids' own.  (Alan Kay said Children are not
   going to invent calculus.)  a kid should be helped by teacher(s) in
   one way or another to learn powerful ideas.
 
  Alan Kay has examples of children discovering parts of calculus with
  some assistance.
 
  It is important that teachers know about the really important ideas,
  and about how to introduce children to them without thinking that they
  can simply teach it in language. I started working on a Kindergarten
  Calculus idea a while ago. Show the children that you can put a
  straightedge against any shape to get the direction of that shape at
  that point. Ask why the 

Re: New update.1 build 682

2008-01-15 Thread Tomeu Vizoso
Hi,

On Tue, 2008-01-15 at 16:05 -0600, Dennis Gilmore wrote:
  -Journal-82.xo
  +Journal-83.xo

Please see http://dev.laptop.org/ticket/5984 .

Thanks,

Tomeu

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New update.1 build 684

2008-01-15 Thread Build Announcer Script
http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/build684/

-Journal-82.xo
+Journal-83.xo

--- Journal-83 ---
* #5863 Correctly invalidate icon cache. (tomeu)
* #3092 Change the color of the preview box. (rwh)

--
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/update.1-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


getting 'olpc-update'

2008-01-15 Thread Mikus Grinbergs
Dennis wrote regarding Update.1 build 682:
  -olpcupdate.i386 0:1.9-0
  +olpcupdate.i386 0:2.1-0
 This wont go in util i have the srpm that created the package

I'm getting very confused regarding where 'olpc-update' comes from.

The wiki says to get it from http://dev.laptop.org/~cscott/olpc-update/
but here a new version comes with a new build.

[Further, the wiki says to look at --version.  Every time I use 
'olpc-update', it tells me --version is not a valid parameter.]

mikus

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Testing the Wireless driver changes

2008-01-15 Thread Giannis Galanis
David,

There are a couple of issues i would like to address, mostly related to the
new wireless driver.

First, the netstat command:
About 50% of the time it becomes very slow(practically freezes) and spews a
getnameinfo error.
The result from strace is:
---
.
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(
172.18.0.1)}, 28) = 0
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
gettimeofday({1200442106, 340565}, NULL) = 0
poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(4, \270\227\1\0\0\1\0\0\0\0\0\0\1e\0017\1c\1e\1c\0010\1e\1f\1f\1f...,
90, MSG_NOSIGNAL) = 90
poll( unfinished ...

It seems(according to Bernie)..that netstat makes queries to the DNS server
but it is temporarily down. Still if you execute the command a couple of
time it works again, but is a very regular phenomenon. This should be a
network issue, and not a driver issue, but can you confirm that?

Also, the msh0 interface is named after msh0_rename. Is there a reason for
that? Will this change back to normal in the future? How will it be in
Update1?. This inconsistency causes some issues in the olpc-netstatus
command utility.

Can you also please describe the changes from the user's perspective that
are changed/improved in the new driver. So we know were to start testing
from.
For example,
what is the situation with mesh on or off
is the mesh-start file still in use
are improvements related to 4470

thanx,

yani



On Jan 15, 2008 6:40 PM, Kim Quirk [EMAIL PROTECTED] wrote:

 David,
 Yani is back from his time off and finished with his exams (at least for
 now). Before the new year break, he had been working on testing, documenting
 and debugging issues mostly associated with avahi and telepathy, but also
 with wireless. He and Ricardo have been our wireless test experts.

 Now that he is back, it would be great if you and Michail can provide some
 thoughts on the highest priority testing that we should do here or at
 Michail's house (for a little more controlled RF setting); so we can try to
 find bugs as quickly as possible.

 Also - Ricardo, you might be able to give us some indication of your
 availability for testing and how many laptops you have in Brazil, etc.


 Thanks,
 Kim

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: getting 'olpc-update'

2008-01-15 Thread ffm
then you have the old version

You need to be on update.1 or joyride to get the new one.

On Jan 15, 2008 6:22 PM, Mikus Grinbergs [EMAIL PROTECTED] wrote:

 Dennis wrote regarding Update.1 build 682:
   -olpcupdate.i386 0:1.9-0
   +olpcupdate.i386 0:2.1-0
  This wont go in util i have the srpm that created the package

 I'm getting very confused regarding where 'olpc-update' comes from.

 The wiki says to get it from 
 http://dev.laptop.org/~cscott/olpc-update/http://dev.laptop.org/%7Ecscott/olpc-update/
 but here a new version comes with a new build.

 [Further, the wiki says to look at --version.  Every time I use
 'olpc-update', it tells me --version is not a valid parameter.]

 mikus

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: getting 'olpc-update'

2008-01-15 Thread Mikus Grinbergs
ffm wrote:
 then you have the old version
 You need to be on update.1 or joyride to get the new one.

That's why I posted here.  I have (on G1G1) a very recent update.1 
and a very recent joyride.  Yet BOTH have the 2007-11-02 olpc-update 
module (the one that tells me that --version is not valid) !!

How do I get the new one ?

mikus
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: getting 'olpc-update'

2008-01-15 Thread Mikus Grinbergs
 How do I get the new one ?
 
 http://wiki.laptop.org/go/Olpc-update#Workaround:_updating_olpc-update

Thank you.  The last time I followed the directions on that wiki 
page was some ten days ago.  I did not realize that the builds I 
have installed since then were overriding what my manual upgrade of 
'olpc-update' had put in.


In comparing the versions (from the wiki page, and from several 
builds), I now realize that I was confused by 'olpc-update 
--version' giving an error message in both cases: if the message was 
no such option then it was from the older version;  if the message 
was build number required then it was from the new version.


Thank you, ffm and scott, for clarifying.

mikus

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel