Re: Module loading problem in joyride?

2008-11-24 Thread Daniel Drake
On Mon, Nov 24, 2008 at 5:32 AM, Deepak Saxena [EMAIL PROTECTED] wrote:
 There is CONFIG_JFFS2_RTIME option. Will re-enable it and and push to
 master.  I agree that ideally we should just disable it but as per Daniel's
 experience this will break unless we change the mkfs.jffs2 option.
 Even if we do the later, it will lead to issues if someone tries to
 mix and match new kernels with older builds.

I have disabled rtime compression in the mkfs.jffs2 call in pilgrim
used to build our images.

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


Re: [sugar] Differents behaviours of my application

2008-11-24 Thread Morgan Collett
On Sat, Nov 22, 2008 at 17:43, Aleix Palet [EMAIL PROTECTED] wrote:
 Ok, but which command do you use to create the wrapper?? I don't know what
 to put in the:
 python buildskel.py -n JClic -t JClic -t JCLic -m (what should i put
 here??)
 Because i unferstand it when you create a game with a main funcion, but
 when there is no main?? (only __init__, read_file, write_file as a sugar
 activity)
 and in the activity.info file, do I have to put som special line?? like the
 class line?? or the exec line??
 Thanks!

Take a look at the source of Productive:
http://wiki.laptop.org/go/Games/Productive - this was written by Mike
Fletcher who most recently maintained the pygame olpcgames wrapper, so
it should be the most up to date example of using it.

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


New joyride build 2565

2008-11-24 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2565

Changes in build 2565 from build: 2564

Size delta: -0.66M

+ssmtp 2.61-11.6.fc10.1
-exim 4.69-7.fc10

--- Included ssmtp version 2.61-11.6.fc10.1 ---

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Conundrum - XO connected to AP + Mesh?

2008-11-24 Thread Ricardo Carrano
Hi,

2008/11/24 Ian Daniher [EMAIL PROTECTED]:
 Hello all,
 I've been asking on #olpc-devel the last few days, trying to figure out how
 to connect my XO simultaneously to both a mexh network and to an AP.
 My goal is to have the same XO able to surf the internet and ssh into meshed
 XOs. Whether or not this XO acts as an MPP, providing other XOs with
 internet, is irrelevant. I hope to do this as simply as possible via
 terminal. I'm guessing there's some magic recipe of ifconfig and iwconfig
 commands, but no one seems to know what it is.
 My goal is to do this without network manager.
 Any help you're able to give me would be wonderful.
 Many thanks!
 --


It should work. Please check if the other XO (not connected to the AP)
is in the same channel of the AP.
Say your AP is in channel 6, the other XO should be set to mesh 6.

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


Re: x11vnc and vncviewer for classroom

2008-11-24 Thread scott
Hi Mitch,

On Sun, 23 Nov 2008, Mitch Bradley wrote:

 
  [discussion about LTSP and PXE and Etherboot and wired ethernet adapters]

 Why is PXE necessary for LTSP?

Its not, but if one wants to boot some of the time as a thin client, and
some of the time as as a standalone computer, then it becomes very handy.
It also allows thin-clientness without altering the filesystem on the
XO, preserving all the good work done on that software environment.  What

I was thinking of with the original question was the following scenario:

An XO user runs the stock onboard software stack most of the time.  The
same user visits a location with an LTSP server.  He wants to take
advantage of the additional computing power available on that LTSP server,
so he plugs into the ethernet, and boots disklessly as a LTSP thin client,
w/o any reconfiguration necessary on his part, or any reconfiguration of
the LTSP server.  I happen to make solar powered LTSP servers that are
being deployed in many of the same areas as the XO.  I want to know what I
need to support on the server side to allow this functionality.  PXE
requires no alteration to either system... hence my original question.

 From the LTSP web site, I get the
 impression that it can run inside several distros, including Fedora and
 Debian.  There are Fedora- and Debian- derived distros for XO.

There are LTSP packages for many distros.  One could build from source for
others.


 XO's OFW firmware can load kernels and initramfs's over either USB
 Ethernet adapters or the built-in wireless, using TFTP or HTTP or NFS.

OK, but that requires some user interaction with OFW, correct?

You are saying that OFW can behave like PXE, by pulling a dhcp address via
wireless then TFTPing a kernel/initrd?  If so, that probably solves my
problem, enumerated above.

 It's also possible to boot diskless with root on NFS.  In fact that's
 how the manufacturer runs their Linux-based burn-in diagnostics.

LTSP uses a NBD for root filesystem in recent releases, iirc.


 What you can't do is run an absolutely stock distro, because you need a
 kernel that supports the OLPC-specific hardware.

Which devices in particular?  Can these device drivers be merged into the
upstream kernel tree, or are we still dealing with a binary blob
somewhere?

Enjoy,
Scott



 ___
 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: Conundrum - XO connected to AP + Mesh?

2008-11-24 Thread pgf
erik wrote:
  On Mon, Nov 24, 2008 at 12:07:03AM -0500, John Watlington wrote:
   
   With release 8.2, the mesh interface is still up and available when  
   connected to an AP.
   Address the laptops on a mesh network on the same channel via their  
   self-assigned
   addresses (169.254.x.x) and you can ping and ssh them from an AP  
   connected XO
   without problems.

but can the zeroconf'ed machines access what's behind the AP?  i.e.,
how do they learn of a default gateway?  i assume this is the real
intent behind the question.

  
  I for one would very much like to understand the dependencies of this
  setup...
  
  For instance, where are the self-assigned IP addresses coming from?  How

RFC 3297

paul

  do you get a list of XOs - IPs in the mesh neighborhood from the
  command line?  (There was a script floating around the ml to do the
  latter but I can't find it now.)
  
  Erik

=-
 paul fox, [EMAIL PROTECTED]
 give one laptop, get one laptop --- http://www.amazon.com/xo
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Conundrum - XO connected to AP + Mesh?

2008-11-24 Thread Ian Daniher
On 11/24/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 erik wrote:
   On Mon, Nov 24, 2008 at 12:07:03AM -0500, John Watlington wrote:
   
With release 8.2, the mesh interface is still up and available when
connected to an AP.
Address the laptops on a mesh network on the same channel via their
self-assigned
addresses (169.254.x.x) and you can ping and ssh them from an AP
connected XO
without problems.

 but can the zeroconf'ed machines access what's behind the AP?  i.e.,
 how do they learn of a default gateway?  i assume this is the real
 intent behind the question.

  
   I for one would very much like to understand the dependencies of this
   setup...
  
   For instance, where are the self-assigned IP addresses coming from?  How

 RFC 3297

 paul

   do you get a list of XOs - IPs in the mesh neighborhood from the
   command line?  (There was a script floating around the ml to do the
   latter but I can't find it now.)
  
   Erik

 =-
  paul fox, [EMAIL PROTECTED]
  give one laptop, get one laptop --- http://www.amazon.com/xo
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
Hi all,
Do you think this is possible to do without network manager and the
standard sugar interface? I'm running debxo. I got standard mesh
(without NM) working fine, but so far I haven't had any luck
associating to an AP and to a MeshNW simultaneously.
Thanks!
-- 
Ian Daniher
--
OLPC Support Volunteer
OLPCinci Repair Center Coordinator
--
[EMAIL PROTECTED]
Skype : it.daniher
irc.freenode.net: Ian_Daniher
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: x11vnc and vncviewer for classroom

2008-11-24 Thread Mitch Bradley
[EMAIL PROTECTED] wrote:

 Its not, but if one wants to boot some of the time as a thin client, and
 some of the time as as a standalone computer, then it becomes very handy.
 It also allows thin-clientness without altering the filesystem on the
 XO, preserving all the good work done on that software environment.  What

 I was thinking of with the original question was the following scenario:

 An XO user runs the stock onboard software stack most of the time.  The
 same user visits a location with an LTSP server.  He wants to take
 advantage of the additional computing power available on that LTSP server,
 so he plugs into the ethernet, and boots disklessly as a LTSP thin client,
 w/o any reconfiguration necessary on his part, or any reconfiguration of
 the LTSP server.  I happen to make solar powered LTSP servers that are
 being deployed in many of the same areas as the XO.  I want to know what I
 need to support on the server side to allow this functionality.  PXE
 requires no alteration to either system... hence my original question.
   

Network boot is part of the normal sequence but it's after the other 
choices.  The order is  USB, then SD, then NAND, then USB wired 
ethernet, and finally wireless LAN.  The reason for that order is 
because net boot is rarely used in our target customer scenario and the 
act of checking for network connectivity is time consuming.  On most OFW 
systems, you could change that order simply by changing a configuration 
variable in non-volatile storage, but on OLPC, that ability is disabled, 
because I wanted the machine to really be like a toaster as far as the 
firmware is concerned - no knobs to turn to the wrong setting, and 
therefore no support calls resulting from incorrect settings.

But there is a solution.  OFW boots by loading a Forth script name 
/boot/olpc.fth .  That script can be as short as a single boot 
command, but normally it does a few other things such as setting the 
Linux cmdline arguments to device-specific values (e.g. NAND booting 
requires root=mtd0 rootfstype=jffs2) and perhaps checking for firmware 
updates.  That script can contain arbitrary Forth/OFW commands, so in 
the general case it can do anything that you want.

You could modify /boot/olpc.fth on the NAND to perform some network 
operation to determine whether to go the network boot route, and if that 
operation fails, proceed with the normal boot Linux from NAND code.  
One quick test would be to see if a wired USB ethernet adapter is 
present; that can be done rather quickly, whereas actually going out 
onto the network and doing a DHCP operation can take several seconds, 
especially in the failing case where it has to retry several times.

As an alternative to TFTP, you could also load the file via HTTP.  That 
has advantages over TFTP in some network environments.


   
   
 XO's OFW firmware can load kernels and initramfs's over either USB
 Ethernet adapters or the built-in wireless, using TFTP or HTTP or NFS.
 

 OK, but that requires some user interaction with OFW, correct?
   

As indicated above, that interaction can be automated by adding it to 
the /boot/olpc.fth script .

 You are saying that OFW can behave like PXE, by pulling a dhcp address via
 wireless then TFTPing a kernel/initrd?  If so, that probably solves my
 problem, enumerated above.
   

It could be as simple as changing the boot-device configuration variable 
in olpc.fth, the re-executing boot .  But that would slow down the boot 
in the non-network case.   It would be better if you could find some 
quick way to check.

Wireless net boot has several steps that are reasonably quick in the 
success case, but rather long (due to timeouts and retries) in the 
fail case, including:

* Downloading the wireless firmware to the WLAN chip (no timeout, but 
takes a second or two)
* Scanning for and associating with an access point
* Interacting with a DHCP server
* Interactingn with a TFTP server

   
 It's also possible to boot diskless with root on NFS.  In fact that's
 how the manufacturer runs their Linux-based burn-in diagnostics.
 

 LTSP uses a NBD for root filesystem in recent releases, iirc.
   
That would be up to the Linux kernel to take care of that.  You might 
have to set the cmdline properly or something in the olpc.fth script.

OFW can load from an NFS server, but that ability is not necessary.  The 
kernel and initramfs can be loaded from anywhere, then it can worry 
about the root fs for itself.

   
 What you can't do is run an absolutely stock distro, because you need a
 kernel that supports the OLPC-specific hardware.
 

 Which devices in particular?  Can these device drivers be merged into the
 upstream kernel tree, or are we still dealing with a binary blob
 somewhere?
   

There is an effort to get everything upstream, but I'm not sure about 
the status of that.  There are several OLPC-specific devices - DCON, 
CaFe NAND, some audio GPIO tweaks - plus startup tweaks for interacting 

Screen burn in question (XO B4 ~10 months use)

2008-11-24 Thread Gary C Martin
Hi list,

Just a quick ping on the expected behaviour regarding 'screen burn  
in'. I'm starting to notice ghost image burn in across the top of the  
screen (XO B4** ~10 months use), where the standard toolbar dark grey  
usually sits. It's clear enough I can make out the search area,  
spyglass icon and input cursor line. It's not too visible when the  
screen is showing 100% white, but quite noticeable when a grey fill is  
being used.

I can take a photo if anyone needs a reference.

It suggests that having the actual lcd display power off (and not just  
backlight screen dimming) is important for more than just energy saving.

** BTW B4s lost most of their power saving feature support about the  
time I received mine for development work, so this one has had a life  
of screen on for most days.

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


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Samuel Klein
Ben,

This is brilliant!  Definitely brightened my day.
I just converted it to an xol bundle which you can try downloading...

http://wiki.laptop.org/go/Image:Yay-Bee-See-2.xol

You should create a page about it (and tell this story!) on our wiki...

http://wiki.laptop.org/go/Yay-bee-see  (page not created yet :)

--SJ


On Mon, Nov 24, 2008 at 12:21 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 http://xent.com/~bsittler/yay-bee-see.html

 an archive of the application (ZIP, ~15 MiB) including all images:

 http://xent.com/~bsittler/yay-bee-see.zip

 blog post about it:

 http://bsittler.livejournal.com/15244.html

 background:

 My daughter (who turns two this week) has been enjoying her OLPC from
 last year's G1G1 program much more than I expected she would
 (originally I intended to wait until she was older and literate to
 introduce her to the OLPC, but she seemed to treat it as a favorite
 toy starting around the age of 18 months.) She likes the Record
 activity (she calls it Waving hand and uses it like a mirror-image
 mirror,) Skype (not bundled, but she uses it to talk to and see
 far-away family,) and listening to music (theclassicalstation.org).
 She also likes pressing buttons, rotating the ears and screen, and
 opening and closing the laptop. However, she seems somewhat frustrated
 by not being able to do things on it for herself (or as she puts it,
 do it self!,) so I thought I might write a small program where her
 keypresses give some feedback, and help reinforce her interest in the
 digits and letters of the alphabet (she loves being read to and
 recognizes many letters and digits, but does not seem to understand
 reading yet.)

 -Ben
 ___
 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: Yay!, Bee, See (ABC) software

2008-11-24 Thread Sebastien Adgnot
In a same spirit, a friend of mine created jLearn:
http://domosays.net/jlearn/.

JLearn (JQuery learn) is a simple program that allows you to learn anything
(if a quizz has been written of course!).
From japanese alphabet to maths, passing by world capitals, anything can be
learnt.
JLearn interface is pretty simple: one box showing you the question, and one
box to enter the answer.
If you don't know the answer, just press the [space key] and it will be
shown.
Quizzes are submitted by the community, you can find some here or even write
your own!

He won a contest with OLPC France.

Sebastien

On Mon, Nov 24, 2008 at 9:15 PM, Samuel Klein [EMAIL PROTECTED] wrote:

 Ben,

 This is brilliant!  Definitely brightened my day.
 I just converted it to an xol bundle which you can try downloading...

 http://wiki.laptop.org/go/Image:Yay-Bee-See-2.xol

 You should create a page about it (and tell this story!) on our wiki...

 http://wiki.laptop.org/go/Yay-bee-see  (page not created yet :)

 --SJ


 On Mon, Nov 24, 2008 at 12:21 PM, Ben Wiley Sittler [EMAIL PROTECTED]
 wrote:
  Hi,
 
  I have just joined this list and read through the archives, but could
  not find anything similar. I also didn't find mention of anything
  similar on the OLPC Wiki.
 
  I recently wrote some software for use by my daughter on her OLPC. It
  runs inside the Browse activity, either locally using a file: URI or
  over the network. I don't know whether it will be of interest to
  anyone else, but I have released the software to the public domain and
  packaged it along with scaled-down (1600x1200 or less) copies of some
  public-domain images and some copyrighted-but-free-to-redistribute
  images under GFDL, and various Creative Commons Attribution-Share
  Alike, Attribution, and Share Alike licenses. Individual attribution
  for each image is included in the application source code.
 
  overview:
 
  I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
  help learn letters and numbers, and is intended to be used with adult
  supervision and involvement. It is fairly easy to customize it to use
  different images and support different alphabets simply by editing the
  contents of the style element in the HTML file.
 
  The software is very, very, very simple — it just echoes typed letters
  and numbers in a large, colorful font and shows a somewhat-relevant
  background image for each one. The images are various freely-usable
  ones I found on Wikipedia or in the Wikimedia Commons. View source
  code for full copyright information for the associated images.
 
  online version of the Yay!, Bee, See application:
 
  http://xent.com/~bsittler/yay-bee-see.htmlhttp://xent.com/%7Ebsittler/yay-bee-see.html
 
  an archive of the application (ZIP, ~15 MiB) including all images:
 
  http://xent.com/~bsittler/yay-bee-see.ziphttp://xent.com/%7Ebsittler/yay-bee-see.zip
 
  blog post about it:
 
  http://bsittler.livejournal.com/15244.html
 
  background:
 
  My daughter (who turns two this week) has been enjoying her OLPC from
  last year's G1G1 program much more than I expected she would
  (originally I intended to wait until she was older and literate to
  introduce her to the OLPC, but she seemed to treat it as a favorite
  toy starting around the age of 18 months.) She likes the Record
  activity (she calls it Waving hand and uses it like a mirror-image
  mirror,) Skype (not bundled, but she uses it to talk to and see
  far-away family,) and listening to music (theclassicalstation.org).
  She also likes pressing buttons, rotating the ears and screen, and
  opening and closing the laptop. However, she seems somewhat frustrated
  by not being able to do things on it for herself (or as she puts it,
  do it self!,) so I thought I might write a small program where her
  keypresses give some feedback, and help reinforce her interest in the
  digits and letters of the alphabet (she loves being read to and
  recognizes many letters and digits, but does not seem to understand
  reading yet.)
 
  -Ben
  ___
  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

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


Greg S Weekly Report Week Ending November 21

2008-11-24 Thread Greg Smith
Weekly report for Greg Smith.

***
User link of the week (English):
http://blog.stone-head.org/olpc-peru-a-silent-revolution/

Includes a review of XOs in rural Peru with insightful comment on the 
cultural context. On the technical side, the teacher and kids completely 
missed the XO's Collaboration capabilities! Worse, he assumes that our 
collaboration allows users to easily move files from one XO to another, 
something that is not available in the GUI right now.

**
Status of last weeks goals:

1 - Update roadmap page: http://wiki.laptop.org/go/Feature_roadmap
Follow up with deployments to verify priorities. Get a second level of
detail from deployments on what they need.

GS - Partially done. Lots more to go.

Reordered and tweaked my top suggestions for next release:
http://wiki.laptop.org/go/Feature_requests#Greg.27s_Top_9_Feature_Requests

Added some details to the following requirements:
- Copy file form one XO to another requirements
http://wiki.laptop.org/go/Feature_roadmap#Object_transfer

- Run any linux app on XO
http://wiki.laptop.org/go/Feature_roadmap#Easy_.22Sugarization.22

- Updated activation lease security one more time with details from
Ethiopia
http://wiki.laptop.org/go/Feature_roadmap#Activation_lease_security

-UI section of the performance requirement 
http://wiki.laptop.org/go/Feature_roadmap#General_UI_sluggishness

2 - Listen to ideas and plans from Sugar camp and integrate them in the
Feature roadmap page as needed.

GS - Done. Sat in on most meetings from Tuesday to Friday. Made a few 
updates to the Roadmap page based on discussions.

3 - Start process and operations page for 9.1 release. Come up with Trac
conventions and other tracking systems for execution of a quality release.

GS - Not done.

4 - Update school server wiki pages and documentation. Add links to
Readme files to 0.5 release notes. Mark older pages obsolete and try to
make it crystal clear what the server supports now.

GS - Not done yet. Prepared edits to only include supported features in 
http://wiki.laptop.org/go/School_server

***
Goals for next week
1 - Build 9.1 project page and select top high level feature requests
and layout rough schedule.

2 - Define Trac usage and Trac scrub plan for 9.1

3 - Fill in requirements definition for top 9.1 features and engage
engineers.

4 - Update School Server documentation.



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


New joyride build 2566

2008-11-24 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2566

Changes in build 2566 from build: 2565

Size delta: 0.00M

-kernel 2.6.27-20081124.1.olpc.8894c7ce0e33d87
+kernel 2.6.27-20081124.2.olpc.a47f7144dd2fd0a
-sugar 0.83.2-3.20081014git7b4fb9054d.olpc4
+sugar 0.83.3-1.olpc4
-sugar-presence-service 0.83.1-1.olpc4
+sugar-presence-service 0.83.1-2.olpc4
-sugar-toolkit 0.83.1-3.20081014git6dfff85f9f.olpc4
+sugar-toolkit 0.83.2-3.olpc4

--- Changes for sugar 0.83.3-1.olpc4 from 0.83.2-3.20081014git7b4fb9054d.olpc4 
---
  + fix uninstalling activities from the home view
  + Make sugar control panel support selection of multiple languages d.l.o
  + #8876 add saving and loading of the nm connections and support for WPA
  + Implement a global handler for the view source key
  + Initial implementation of activity notifications
  + d.s.o #9 wireless network frame device.
  + #8876 Make sugar control panel support selection of multiple languages
  + d.s.o #7 update Icon in the AP palette
  + #8131 Control Panel needs to list wireless firmware version

--- Changes for sugar-toolkit 0.83.2-3.olpc4 from 
0.83.1-3.20081014git6dfff85f9f.olpc4 ---
  + add the sources actually
  + rebuilt
  + Fixed misformed plural equation (russian po)
  + Add view-source-related methods HandleViewSource and GetDocumentPath

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Gary C Martin
On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

Seems a great addition for the younger age range :-)

I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram,  
broadband connection) the background image was very slow to display  
(until it had been cached locally).

One suggestion, 1600x1200 seems a bit large (even as a max size). For  
the XO, 800x600 (max!) would seem to be a fair max image size to save  
nand space and keep image quality. The XO screen is capable of  
1200x900 in black/white, and 800x600 seems a reasonable number for  
it's colour resolution abilities:

http://wiki.laptop.org/go/Display

--Gary

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 http://xent.com/~bsittler/yay-bee-see.html

 an archive of the application (ZIP, ~15 MiB) including all images:

 http://xent.com/~bsittler/yay-bee-see.zip

 blog post about it:

 http://bsittler.livejournal.com/15244.html

 background:

 My daughter (who turns two this week) has been enjoying her OLPC from
 last year's G1G1 program much more than I expected she would
 (originally I intended to wait until she was older and literate to
 introduce her to the OLPC, but she seemed to treat it as a favorite
 toy starting around the age of 18 months.) She likes the Record
 activity (she calls it Waving hand and uses it like a mirror-image
 mirror,) Skype (not bundled, but she uses it to talk to and see
 far-away family,) and listening to music (theclassicalstation.org).
 She also likes pressing buttons, rotating the ears and screen, and
 opening and closing the laptop. However, she seems somewhat frustrated
 by not being able to do things on it for herself (or as she puts it,
 do it self!,) so I thought I might write a small program where her
 keypresses give some feedback, and help reinforce her interest in the
 digits and letters of the alphabet (she loves being read to and
 recognizes many letters and digits, but does not seem to understand
 reading yet.)

 -Ben
 ___
 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


x11vnc and vncviewer for classroom

2008-11-24 Thread Anna
From the original email by Arjun Sarwal:

The idea is that in a classroom, teacher wants to have these
intermediate sessions where he just wants to explain to kids by doing
things on his screen - mainly go through specific pages of a pdf while
simultaneously explaining something orally. There are ~30 kids in the
classroom.

Another option to accomplish this is to stream the screen of the
Ubuntu machine as ogg and then the XOs can simply play the stream via
totem.

On my Ubuntu box, I installed Istanbul, changed my screen resolution
to 800x600, then did this to stream my entire desktop to the icecast
server on my XS 0.4 test box:

 gst-launch-0.10 oggmux name=mux ! shout2send ip=myip port=port
password=secret mount=ubuntu.ogg istximagesrc name=videosource
use-damage=false endx=800 endy=600 ! video/x-raw-rgb,framerate=5/1 !
videorate ! ffmpegcolorspace ! videoscale method=1 !
video/x-raw-yuv,width=800,height=600,framerate=5/1 ! theoraenc ! queue
! mux.

The stream looked really good on the XO - very clear and legible.  The
settings probably need tweaking, though, to scale up to ~30 users.

I haven't tried setting up icecast on Ubuntu, but it should be
possible to stream and broadcast on the same machine.  At any rate,
this doesn't require anything extra to be installed on the XOs
themselves.

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


Re: x11vnc and vncviewer for classroom

2008-11-24 Thread Anna
*My previous post turned up blank for some reason.  Sorry about that.
Hopefully this works*

From the original email by Arjun Sarwal:

The idea is that in a classroom, teacher wants to have these
intermediate sessions where he just wants to explain to kids by doing
things on his screen - mainly go through specific pages of a pdf while
simultaneously explaining something orally. There are ~30 kids in the
classroom.

Another option to accomplish this is to stream the screen of the
Ubuntu machine as ogg and then the XOs can simply play the stream via
totem.

On my Ubuntu box, I installed Istanbul, changed my screen resolution
to 800x600, then did this to stream my entire desktop to the icecast
server on my XS 0.4 test box:

 gst-launch-0.10 oggmux name=mux ! shout2send ip=myip port=port
password=secret mount=ubuntu.ogg istximagesrc name=videosource
use-damage=false endx=800 endy=600 ! video/x-raw-rgb,framerate=5/1 !
videorate ! ffmpegcolorspace ! videoscale method=1 !
video/x-raw-yuv,width=800,height=600,framerate=5/1 ! theoraenc ! queue
! mux.

The stream looked really good on the XO - very clear and legible.  The
settings probably need tweaking, though, to scale up to ~30 users.

I haven't tried setting up icecast on Ubuntu, but it should be
possible to stream and broadcast on the same machine.  At any rate,
this doesn't require anything extra to be installed on the XOs
themselves.

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


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Ben Wiley Sittler
yeah, i added a 1200x900 version with more agressive JPEG compression
which looks good both in color mode and in monochrome mode and is only
4 MiB or so:

http://xent.com/~bsittler/yay-bee-see-olpc.zip

hosted version:

http://xent.com/~bsittler/yay-bee-see-olpc/index.html

does that seem any faster?

On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 Seems a great addition for the younger age range :-)

 I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, broadband
 connection) the background image was very slow to display (until it had been
 cached locally).

 One suggestion, 1600x1200 seems a bit large (even as a max size). For the
 XO, 800x600 (max!) would seem to be a fair max image size to save nand space
 and keep image quality. The XO screen is capable of 1200x900 in black/white,
 and 800x600 seems a reasonable number for it's colour resolution abilities:

http://wiki.laptop.org/go/Display

 --Gary

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 http://xent.com/~bsittler/yay-bee-see.html

 an archive of the application (ZIP, ~15 MiB) including all images:

 http://xent.com/~bsittler/yay-bee-see.zip

 blog post about it:

 http://bsittler.livejournal.com/15244.html

 background:

 My daughter (who turns two this week) has been enjoying her OLPC from
 last year's G1G1 program much more than I expected she would
 (originally I intended to wait until she was older and literate to
 introduce her to the OLPC, but she seemed to treat it as a favorite
 toy starting around the age of 18 months.) She likes the Record
 activity (she calls it Waving hand and uses it like a mirror-image
 mirror,) Skype (not bundled, but she uses it to talk to and see
 far-away family,) and listening to music (theclassicalstation.org).
 She also likes pressing buttons, rotating the ears and screen, and
 opening and closing the laptop. However, she seems somewhat frustrated
 by not being able to do things on it for herself (or as she puts it,
 do it self!,) so I thought I might write a small program where her
 keypresses give some feedback, and help reinforce her interest in the
 digits and letters of the alphabet (she loves being read to and
 recognizes many letters and digits, but does not seem to understand
 reading yet.)

 -Ben
 ___
 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: Yay!, Bee, See (ABC) software

2008-11-24 Thread Sameer Verma
On Mon, Nov 24, 2008 at 4:31 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 yeah, i added a 1200x900 version with more agressive JPEG compression
 which looks good both in color mode and in monochrome mode and is only
 4 MiB or so:

 http://xent.com/~bsittler/yay-bee-see-olpc.zip

 hosted version:

 http://xent.com/~bsittler/yay-bee-see-olpc/index.html

 does that seem any faster?

Correct URL: http://xent.com/~bsittler/yay-bee-see-olpc/yay-bee-see.html

Sameer


 On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 Seems a great addition for the younger age range :-)

 I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, broadband
 connection) the background image was very slow to display (until it had been
 cached locally).

 One suggestion, 1600x1200 seems a bit large (even as a max size). For the
 XO, 800x600 (max!) would seem to be a fair max image size to save nand space
 and keep image quality. The XO screen is capable of 1200x900 in black/white,
 and 800x600 seems a reasonable number for it's colour resolution abilities:

http://wiki.laptop.org/go/Display

 --Gary

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 http://xent.com/~bsittler/yay-bee-see.html

 an archive of the application (ZIP, ~15 MiB) including all images:

 http://xent.com/~bsittler/yay-bee-see.zip

 blog post about it:

 http://bsittler.livejournal.com/15244.html

 background:

 My daughter (who turns two this week) has been enjoying her OLPC from
 last year's G1G1 program much more than I expected she would
 (originally I intended to wait until she was older and literate to
 introduce her to the OLPC, but she seemed to treat it as a favorite
 toy starting around the age of 18 months.) She likes the Record
 activity (she calls it Waving hand and uses it like a mirror-image
 mirror,) Skype (not bundled, but she uses it to talk to and see
 far-away family,) and listening to music (theclassicalstation.org).
 She also likes pressing buttons, rotating the ears and screen, and
 opening and closing the laptop. However, she seems somewhat frustrated
 by not being able to do things on it for herself (or as she puts it,
 do it self!,) so I thought I might write a small program where her
 keypresses give some feedback, and help reinforce her interest in the
 digits and letters of the alphabet (she loves being read to and
 recognizes many letters and digits, but does not seem to understand
 reading yet.)

 -Ben
 ___
 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

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


Re: x11vnc and vncviewer for classroom

2008-11-24 Thread scott
Hi Mitch,

Thanks for the very complete response.

  You are saying that OFW can behave like PXE, by pulling a dhcp address via
  wireless then TFTPing a kernel/initrd?  If so, that probably solves my
  problem, enumerated above.
 

 It could be as simple as changing the boot-device configuration variable
 in olpc.fth, the re-executing boot .  But that would slow down the boot
 in the non-network case.   It would be better if you could find some
 quick way to check.

I concur, that is probably the best solution.  No need to waste time in
the boot sequence.  If I had an XO here, I would be coding as we speak.
The original G1G1 machine(s) I was supposed to get through a third party
got borked with the paypal thing, so I have none, and do not want to bug
my donor for another try.

 There is an effort to get everything upstream, but I'm not sure about
 the status of that.  There are several OLPC-specific devices - DCON,
 CaFe NAND, some audio GPIO tweaks - plus startup tweaks for interacting
 with the OFW device tree to get the system configuration, embedded
 controller interaction for battery status, and fast non-ACPI power
 management code.

ack.


 The only binary blob component is the firmware for the wireless LAN module.

iirc, that is a full SOC device from marvell, correct?  any progress on
that front?

Thanx,
Scott

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


Packet loss during wireless scans (Testing needed)

2008-11-24 Thread John Ferlito
Hi,

I've been debugging a packet loss issue with the VideoChat application
for the last few days. After a fair bit of fiddling I discovered the
packet loss is being caused by network scans being performed by
Network Manager. We are seeing 0.4-0.8 second losses of network
connectivity when these occur.

I've filed a bug here https://dev.laptop.org/ticket/9048

The problem is easily reproducible by doing the following

ping -i 0.1 GATEWAY_IP
iwlist eth0 scan

You should see two lots of 4 packets drop and the antennae light on
the XO should flash.

My testing has been on
Build: 767
Firmware: Q2E18
Marvel Firmware: 5.110.22.p18

Could others with other builds please test to see if this has been
around for a while. Email me privately and I'll summarise in the
ticket.


Cheers,
John

-- 
Bloghttp://www.inodes.org/blog
OLPC Friends http//olpcfriends.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Ben Wiley Sittler
thanks, i forgot to create the index.html symlink on that web server :)

http://xent.com/~bsittler/yay-bee-see-olpc/

should work now.

On Mon, Nov 24, 2008 at 4:47 PM, Sameer Verma [EMAIL PROTECTED] wrote:
 On Mon, Nov 24, 2008 at 4:31 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 yeah, i added a 1200x900 version with more agressive JPEG compression
 which looks good both in color mode and in monochrome mode and is only
 4 MiB or so:

 http://xent.com/~bsittler/yay-bee-see-olpc.zip

 hosted version:

 http://xent.com/~bsittler/yay-bee-see-olpc/index.html

 does that seem any faster?

 Correct URL: http://xent.com/~bsittler/yay-bee-see-olpc/yay-bee-see.html

 Sameer


 On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 Seems a great addition for the younger age range :-)

 I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, broadband
 connection) the background image was very slow to display (until it had been
 cached locally).

 One suggestion, 1600x1200 seems a bit large (even as a max size). For the
 XO, 800x600 (max!) would seem to be a fair max image size to save nand space
 and keep image quality. The XO screen is capable of 1200x900 in black/white,
 and 800x600 seems a reasonable number for it's colour resolution abilities:

http://wiki.laptop.org/go/Display

 --Gary

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 http://xent.com/~bsittler/yay-bee-see.html

 an archive of the application (ZIP, ~15 MiB) including all images:

 http://xent.com/~bsittler/yay-bee-see.zip

 blog post about it:

 http://bsittler.livejournal.com/15244.html

 background:

 My daughter (who turns two this week) has been enjoying her OLPC from
 last year's G1G1 program much more than I expected she would
 (originally I intended to wait until she was older and literate to
 introduce her to the OLPC, but she seemed to treat it as a favorite
 toy starting around the age of 18 months.) She likes the Record
 activity (she calls it Waving hand and uses it like a mirror-image
 mirror,) Skype (not bundled, but she uses it to talk to and see
 far-away family,) and listening to music (theclassicalstation.org).
 She also likes pressing buttons, rotating the ears and screen, and
 opening and closing the laptop. However, she seems somewhat frustrated
 by not being able to do things on it for herself (or as she puts it,
 do it self!,) so I thought I might write a small program where her
 keypresses give some feedback, and help reinforce her interest in the
 digits and letters of the alphabet (she loves being read to and
 recognizes many letters and digits, but does not seem to understand
 reading yet.)

 -Ben
 ___
 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


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


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Samuel Klein
 Ben --

When you're zipping up the directory, if you add a metadata file in
this subpath:
  library/library.info

and give the resulting zip file the extension .xol, you'll have an XO
library bundle.

Here is a sample info file, with all required fields :
http://wiki.laptop.org/go/Image:Yay-bee-see-library.info
Note that the 'name' field in the info file should match the name of
the root directory.

Our standard is to increment the version # in the metadata every time
you make a change; that allows tools like Sugar's software updater
know when there are newer versions of packages available to install.

SJ

On Mon, Nov 24, 2008 at 7:31 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 yeah, i added a 1200x900 version with more agressive JPEG compression
 which looks good both in color mode and in monochrome mode and is only
 4 MiB or so:

 http://xent.com/~bsittler/yay-bee-see-olpc.zip

 hosted version:

 http://xent.com/~bsittler/yay-bee-see-olpc/index.html

 does that seem any faster?

 On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 Seems a great addition for the younger age range :-)

 I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, broadband
 connection) the background image was very slow to display (until it had been
 cached locally).

 One suggestion, 1600x1200 seems a bit large (even as a max size). For the
 XO, 800x600 (max!) would seem to be a fair max image size to save nand space
 and keep image quality. The XO screen is capable of 1200x900 in black/white,
 and 800x600 seems a reasonable number for it's colour resolution abilities:

http://wiki.laptop.org/go/Display

 --Gary

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 http://xent.com/~bsittler/yay-bee-see.html

 an archive of the application (ZIP, ~15 MiB) including all images:

 http://xent.com/~bsittler/yay-bee-see.zip

 blog post about it:

 http://bsittler.livejournal.com/15244.html

 background:

 My daughter (who turns two this week) has been enjoying her OLPC from
 last year's G1G1 program much more than I expected she would
 (originally I intended to wait until she was older and literate to
 introduce her to the OLPC, but she seemed to treat it as a favorite
 toy starting around the age of 18 months.) She likes the Record
 activity (she calls it Waving hand and uses it like a mirror-image
 mirror,) Skype (not bundled, but she uses it to talk to and see
 far-away family,) and listening to music (theclassicalstation.org).
 She also likes pressing buttons, rotating the ears and screen, and
 opening and closing the laptop. However, she seems somewhat frustrated
 by not being able to do things on it for herself (or as she puts it,
 do it self!,) so I thought I might write a small program where her
 keypresses give some feedback, and help reinforce her interest in the
 digits and letters of the alphabet (she loves being read to and
 recognizes many letters and digits, but does not seem to understand
 reading yet.)

 -Ben
 ___
 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

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


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Ben Wiley Sittler
Thanks!

A few questions, though:

1. Is there any reason I shouldn't start with your version 2 .xol as
my baseline? I'd like to update it to use the new lower-resolution,
lower-quality images (which still look just fine on the XO-1 even in
greyscale high-resolution mode zoomed out to the 1px = 1px scale.)

2. Is there some way to install the .xol more user-friendly than just
unzipping it into the ~/Library directory?

3. I notice that in the description on the wiki for the bundle you
wrote fdl text, pd, cc-by and cc-sa images. Some of the images are
cc-by-sa and fdl, too. Also, the HTML text is actually pd (or at least
it was in the version I released — of course you are welcome to
license copyrighted derivative versions however you like.)

4. And finally, is there some reason the OLPC wiki does not work right
when viewed from an XO-1? I had to go through URL-hacking contortions
to open that page in Browse (it just said the page was empty
otherwise.)

Thanks, (and please pardon my ignorance!)
-Ben

On Mon, Nov 24, 2008 at 8:43 PM, Samuel Klein [EMAIL PROTECTED] wrote:
  Ben --

 When you're zipping up the directory, if you add a metadata file in
 this subpath:
  library/library.info

 and give the resulting zip file the extension .xol, you'll have an XO
 library bundle.

 Here is a sample info file, with all required fields :
 http://wiki.laptop.org/go/Image:Yay-bee-see-library.info
 Note that the 'name' field in the info file should match the name of
 the root directory.

 Our standard is to increment the version # in the metadata every time
 you make a change; that allows tools like Sugar's software updater
 know when there are newer versions of packages available to install.

 SJ

 On Mon, Nov 24, 2008 at 7:31 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 yeah, i added a 1200x900 version with more agressive JPEG compression
 which looks good both in color mode and in monochrome mode and is only
 4 MiB or so:

 http://xent.com/~bsittler/yay-bee-see-olpc.zip

 hosted version:

 http://xent.com/~bsittler/yay-bee-see-olpc/index.html

 does that seem any faster?

 On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 Seems a great addition for the younger age range :-)

 I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, broadband
 connection) the background image was very slow to display (until it had been
 cached locally).

 One suggestion, 1600x1200 seems a bit large (even as a max size). For the
 XO, 800x600 (max!) would seem to be a fair max image size to save nand space
 and keep image quality. The XO screen is capable of 1200x900 in black/white,
 and 800x600 seems a reasonable number for it's colour resolution abilities:

http://wiki.laptop.org/go/Display

 --Gary

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 http://xent.com/~bsittler/yay-bee-see.html

 an archive of the application (ZIP, ~15 MiB) including all images:

 http://xent.com/~bsittler/yay-bee-see.zip

 blog post about it:

 http://bsittler.livejournal.com/15244.html

 background:

 My daughter (who turns two this week) has been enjoying her OLPC from
 last year's G1G1 program much more than I expected she would
 (originally I intended to wait until she was older and literate to
 introduce her to the OLPC, but she seemed to treat it as a favorite
 toy starting around the age of 18 months.) She likes the Record
 activity (she calls it Waving hand and uses it like a mirror-image
 mirror,) 

Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Gary C Martin
On 25 Nov 2008, at 04:55, Ben Wiley Sittler wrote:

 2. Is there some way to install the .xol more user-friendly than just
 unzipping it into the ~/Library directory?

Hi Ben, on an XO, Browse will recognise .xol bundles and will download  
and hand them to Journal which installs and adds them (if the bundle  
is correctly formed) to the default Browse home page (linked in the  
right tool bar, auto unzipped into the library area).

At least last time I tested :-)

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


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Samuel Klein
Yes, that's a fine baseline.   As you point out, I had a hard time
with the license field; enter what you like but please do include a
full LICENSE file in the bundle that provides specific licenses (and
attribution where required), image by image.

If you download an xol file onto your xo from a webserver that has
mimetypes set properly (such as w.l.o) it should automatically install
itself into your Library/ directory.

I don't know about that page not rendering properly on an XO; what
version of Browse are you running?

SJ

On Mon, Nov 24, 2008 at 11:55 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 Thanks!

 A few questions, though:

 1. Is there any reason I shouldn't start with your version 2 .xol as
 my baseline? I'd like to update it to use the new lower-resolution,
 lower-quality images (which still look just fine on the XO-1 even in
 greyscale high-resolution mode zoomed out to the 1px = 1px scale.)

 2. Is there some way to install the .xol more user-friendly than just
 unzipping it into the ~/Library directory?

 3. I notice that in the description on the wiki for the bundle you
 wrote fdl text, pd, cc-by and cc-sa images. Some of the images are
 cc-by-sa and fdl, too. Also, the HTML text is actually pd (or at least
 it was in the version I released — of course you are welcome to
 license copyrighted derivative versions however you like.)

 4. And finally, is there some reason the OLPC wiki does not work right
 when viewed from an XO-1? I had to go through URL-hacking contortions
 to open that page in Browse (it just said the page was empty
 otherwise.)

 Thanks, (and please pardon my ignorance!)
 -Ben

 On Mon, Nov 24, 2008 at 8:43 PM, Samuel Klein [EMAIL PROTECTED] wrote:
  Ben --

 When you're zipping up the directory, if you add a metadata file in
 this subpath:
  library/library.info

 and give the resulting zip file the extension .xol, you'll have an XO
 library bundle.

 Here is a sample info file, with all required fields :
 http://wiki.laptop.org/go/Image:Yay-bee-see-library.info
 Note that the 'name' field in the info file should match the name of
 the root directory.

 Our standard is to increment the version # in the metadata every time
 you make a change; that allows tools like Sugar's software updater
 know when there are newer versions of packages available to install.

 SJ

 On Mon, Nov 24, 2008 at 7:31 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 yeah, i added a 1200x900 version with more agressive JPEG compression
 which looks good both in color mode and in monochrome mode and is only
 4 MiB or so:

 http://xent.com/~bsittler/yay-bee-see-olpc.zip

 hosted version:

 http://xent.com/~bsittler/yay-bee-see-olpc/index.html

 does that seem any faster?

 On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 Seems a great addition for the younger age range :-)

 I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, broadband
 connection) the background image was very slow to display (until it had 
 been
 cached locally).

 One suggestion, 1600x1200 seems a bit large (even as a max size). For the
 XO, 800x600 (max!) would seem to be a fair max image size to save nand 
 space
 and keep image quality. The XO screen is capable of 1200x900 in 
 black/white,
 and 800x600 seems a reasonable number for it's colour resolution abilities:

http://wiki.laptop.org/go/Display

 --Gary

 overview:

 I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to
 help learn letters and numbers, and is intended to be used with adult
 supervision and involvement. It is fairly easy to customize it to use
 different images and support different alphabets simply by editing the
 contents of the style element in the HTML file.

 The software is very, very, very simple — it just echoes typed letters
 and numbers in a large, colorful font and shows a somewhat-relevant
 background image for each one. The images are various freely-usable
 ones I found on Wikipedia or in the Wikimedia Commons. View source
 code for full copyright information for the associated images.

 online version of the Yay!, Bee, See application:

 

Touch pads

2008-11-24 Thread David Leeming
Some feedback on touch pads. I returned to the PNG trials school of Giare
last week to do some training, and noticed several of the XO-1s (received in
June 08) and running version 8.2 suffering very badly from the touchpad
problem. One boy's laptop was almost unusable. We tried chalk, the 4 finger
salute, rebooting, etc. Despite this, he managed to do the attached with
Paint in the morning when it was cooler. During the afternoon the
temperature must have been 35 deg C and 90% humidity.

 

Is this problem  likely to be solved with software updates?

 

David Leeming

Solomon Islands, South Pacific

 

attachment: Tau-1.png___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Yay!, Bee, See (ABC) software

2008-11-24 Thread Ben Wiley Sittler
Hi, I just uploaded (after several botched attempts) a new version
which adds a LICENSE file with attribution and licensing information
for each image. Does this look sufficient?

http://wiki.laptop.org/go/Image:Yay-Bee-See-5.xol

I'm not sure what I was doing wrong before, but it seems to work with
the new version.

As for the Wiki problem, the XO-1 can't access the following Wiki page
(it gets a message about the page being empty:)

http://wiki.laptop.org/go/Yay-bee-see

However the following URL works fine:

http://wiki.laptop.org/index.php?title=Yay-bee-see

This happened both in Browse and in Firefox on the XO-1. Lynx and
ELinks on the OLPC had no problem displaying either page, and neither
did Firefox on a Mac.

Thanks,
-Ben

On Mon, Nov 24, 2008 at 9:08 PM, Samuel Klein [EMAIL PROTECTED] wrote:
 Yes, that's a fine baseline.   As you point out, I had a hard time
 with the license field; enter what you like but please do include a
 full LICENSE file in the bundle that provides specific licenses (and
 attribution where required), image by image.

 If you download an xol file onto your xo from a webserver that has
 mimetypes set properly (such as w.l.o) it should automatically install
 itself into your Library/ directory.

 I don't know about that page not rendering properly on an XO; what
 version of Browse are you running?

 SJ

 On Mon, Nov 24, 2008 at 11:55 PM, Ben Wiley Sittler [EMAIL PROTECTED] wrote:
 Thanks!

 A few questions, though:

 1. Is there any reason I shouldn't start with your version 2 .xol as
 my baseline? I'd like to update it to use the new lower-resolution,
 lower-quality images (which still look just fine on the XO-1 even in
 greyscale high-resolution mode zoomed out to the 1px = 1px scale.)

 2. Is there some way to install the .xol more user-friendly than just
 unzipping it into the ~/Library directory?

 3. I notice that in the description on the wiki for the bundle you
 wrote fdl text, pd, cc-by and cc-sa images. Some of the images are
 cc-by-sa and fdl, too. Also, the HTML text is actually pd (or at least
 it was in the version I released — of course you are welcome to
 license copyrighted derivative versions however you like.)

 4. And finally, is there some reason the OLPC wiki does not work right
 when viewed from an XO-1? I had to go through URL-hacking contortions
 to open that page in Browse (it just said the page was empty
 otherwise.)

 Thanks, (and please pardon my ignorance!)
 -Ben

 On Mon, Nov 24, 2008 at 8:43 PM, Samuel Klein [EMAIL PROTECTED] wrote:
  Ben --

 When you're zipping up the directory, if you add a metadata file in
 this subpath:
  library/library.info

 and give the resulting zip file the extension .xol, you'll have an XO
 library bundle.

 Here is a sample info file, with all required fields :
 http://wiki.laptop.org/go/Image:Yay-bee-see-library.info
 Note that the 'name' field in the info file should match the name of
 the root directory.

 Our standard is to increment the version # in the metadata every time
 you make a change; that allows tools like Sugar's software updater
 know when there are newer versions of packages available to install.

 SJ

 On Mon, Nov 24, 2008 at 7:31 PM, Ben Wiley Sittler [EMAIL PROTECTED] 
 wrote:
 yeah, i added a 1200x900 version with more agressive JPEG compression
 which looks good both in color mode and in monochrome mode and is only
 4 MiB or so:

 http://xent.com/~bsittler/yay-bee-see-olpc.zip

 hosted version:

 http://xent.com/~bsittler/yay-bee-see-olpc/index.html

 does that seem any faster?

 On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:

 Hi,

 I have just joined this list and read through the archives, but could
 not find anything similar. I also didn't find mention of anything
 similar on the OLPC Wiki.

 I recently wrote some software for use by my daughter on her OLPC. It
 runs inside the Browse activity, either locally using a file: URI or
 over the network. I don't know whether it will be of interest to
 anyone else, but I have released the software to the public domain and
 packaged it along with scaled-down (1600x1200 or less) copies of some
 public-domain images and some copyrighted-but-free-to-redistribute
 images under GFDL, and various Creative Commons Attribution-Share
 Alike, Attribution, and Share Alike licenses. Individual attribution
 for each image is included in the application source code.

 Seems a great addition for the younger age range :-)

 I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, 
 broadband
 connection) the background image was very slow to display (until it had 
 been
 cached locally).

 One suggestion, 1600x1200 seems a bit large (even as a max size). For the
 XO, 800x600 (max!) would seem to be a fair max image size to save nand 
 space
 and keep image quality. The XO screen is capable of 1200x900 in 
 black/white,
 and 800x600 seems a reasonable number for it's colour 

Re: [Server-devel] ejabberd tests with old and new TLS code

2008-11-24 Thread Guillaume Desmottes
Le samedi 22 novembre 2008 à 13:17 +1300, Douglas Bagnall a écrit :
 Actually hyperactivity does create fake activities, though I am not
 sure to what extent it really shares them. Hopefully someone from
 Collabora can explain it better (I'm interested too).

Yes, it does. Fake activities are created, joined used and left
randomly.


G.

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] XS-0.5 xs-activity-server mis-sorts activities.

2008-11-24 Thread Douglas Bagnall
Jack Zielke discovered that xs-activity-server was sorting activities
versions lexically, so that version 2 would appear newer than version
10.  This is fixed in git and in the following rpm, but is broken in
XS-0.5.

http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/xs-activity-server-0.2.11.g52cd2c8-1.xs9.noarch.rpm

(this is #9030).

douglas
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel