Re: simple datastore replacement, take two

2008-09-27 Thread Tomeu Vizoso
On Fri, Sep 26, 2008 at 11:27 PM, NoiseEHC [EMAIL PROTECTED] wrote:

 The Datastore can then provide two accessor functions:
 get_by_value(key) and get_by_reference(key).  get_by_value() returns the
 contents of the file as a bytestring in memory.  get_by_reference()
 returns the path to the metadata file, or another path linked (soft or
 hard) to that file.  This provides all the needed functionality for large
 and small metadata entries.


 That sounds interesting. I guess that with a POSIX-like API
 implemented with FUSE we would get equivalent fucntionality?


 What is the plan on Windows compatibility of Sugar? I mean, is there a
 version planned which can run on Windows? I ask this because if there is a
 plan like this then probably you should forget everything FUSE related since
 it will be impossible to implement that on Windows as I barked about here
 (there is a lot of inlined text in the message):
 http://lists.laptop.org/pipermail/devel/2008-April/013330.html
 http://lists.laptop.org/pipermail/devel/2008-April/013345.html

I don't know of any effort (planned or ongoing) to port Sugar to
Windows, but if anyone is interested, can make here his/her API
proposals and we can try to find a common solution.

Regards,

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


Re: Signed candidate-765 and gg-765-2 builds available for testing.

2008-09-27 Thread S Page
Michael Stone wrote:
 I have decided to publish 8.2-765 as a signed Candidate 

So IIUC you should be promoting candidate-765?


I re-enabled security on my XO running 8.2-763 by renaming
/security/developer.sig to developer.sig.MOVED

Then
   sudo olpc-update 8.2-765
led to
   WARNING: You seem to be attempting to download an unsigned
development build, but you don't have a developer key.  This will
probably fail.

/usr/sbin/olpc-update prints this warning if there's a - in the build
name and the build name doesn't start with candidate.

I killed and retried and
   sudo olpc-update candidate-765
is updating without complaint on my un-security-disabled XO.


So I think you could or should change
http://wiki.laptop.org/go/Template:Latest_Releases/rc to
candidate-765, and update Friend_in_testing to replace 1. Get a
developer key for your XO laptop. with Anyone with a mass production
XO can upgrade to this candidate release (you don't need a developer key).

 I have also published gg-765-2, a signed G1G1 candidate
 composite image, created by Scott. gg-765-2 is similar to what we hope
 to put into manufacturing next week. 

This doesn't work using olpc-update, right?
   sudo olpc-update gg-765-2
gave
   @ERROR: unknown module 'build-gg-765-2': bad build identifier: gg-765-2.

--
=S Page

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


Re: gcompris activities regression

2008-09-27 Thread Marco Pesenti Gritti
On Sat, Sep 27, 2008 at 12:57 AM, Marco Pesenti Gritti
[EMAIL PROTECTED] wrote:
 Hello,

 I managed to track it down to this change in joyride 2421:

 -libxml2.i386 0:2.6.32-3.fc9
 +libxml2.i386 0:2.7.1-1.fc9

 I cannot say without debugging it further if it's gcompris or libxml2
 fault. I added Bruno in cc, which might know better.

 More info and a trace in the ticket:

 http://dev.laptop.org/ticket/8641

 Unless someone find time to track it down I guess we will have to:

 1 Downgrade libxml2
 2 Rely on a gcompris fix/workaround.

Given Bruno feedback on the ticket I think it's safe to do 2. Thanks
for the quick response!!!

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


Re: X2O activity being considered for G1G1

2008-09-27 Thread Morgan Collett
Hi Alex

On Sat, Sep 27, 2008 at 01:58, Alex Levenson [EMAIL PROTECTED] wrote:
 Hello,

 I've tested / updated x2o for 8.2.

 I filled out a test case: http://wiki.laptop.org/go/Tests/Activity/x2o but
 for some reason it doesn't get propagated into
 http://wiki.laptop.org/go/Test_cases_8.2.0#Activities

No idea, taking this on-list.

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


Memory pressure (Re: Signed candidate-765 and gg-765-2 builds available for testing.)

2008-09-27 Thread Marco Pesenti Gritti
Since everyone major concern is memory pressure especially with
Browse, I did some comparison tests with Update.1. The results are
somewhat surprising:

os711 + g1g1 activity pack

Startup: free 127 mb
Min Browse: free 91 mb
Max Browse: free 61 mb

gg-765-2

Startup: free 129 mb
Min Browse: free 91 mb
Max Browse: free 63 mb

Notes:

* I have not repeated the tests yet (I intend to do so), so there is
the possibility of measurement errors. From my experience so far I'd
say +/- 5 mb.
* Free memory is measured with free, after having dropped the caches
with echo 3 /proc/sys/vm/drop_caches
* Min Browse is free memory just after having started browse, no navigation.
* Max Browse is the maximum amount of memory I could get Browse to use
while navigating randomly inside wikipedia (starting from Moon).
Browse memory usage normally grows up quickly when you load the first
few pages and then it stabilizes and does not grow anymore.
* I tested on clean copy-nand installations of both images, without any reboot.

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


Re: [sugar] Memory pressure (Re: Signed candidate-765 and gg-765-2 builds available for testing.)

2008-09-27 Thread Eduardo H. Silva
Don't forget cpu pressure, I've had freezes which need a forcefull
shutdown because of it. One example is installing Scratch from the
wiki. When it reaches the point of unzipping, it makes the system
slow. If you happen to have some activity also doing something
intensive (like a Browse instance rendering a complicated webpage) the
UI freezes. Sometimes waiting works, other times it doesn't.

Eduardo

2008/9/27 Marco Pesenti Gritti [EMAIL PROTECTED]:
 Since everyone major concern is memory pressure especially with
 Browse, I did some comparison tests with Update.1. The results are
 somewhat surprising:

 os711 + g1g1 activity pack

 Startup: free 127 mb
 Min Browse: free 91 mb
 Max Browse: free 61 mb

 gg-765-2

 Startup: free 129 mb
 Min Browse: free 91 mb
 Max Browse: free 63 mb

 Notes:

 * I have not repeated the tests yet (I intend to do so), so there is
 the possibility of measurement errors. From my experience so far I'd
 say +/- 5 mb.
 * Free memory is measured with free, after having dropped the caches
 with echo 3 /proc/sys/vm/drop_caches
 * Min Browse is free memory just after having started browse, no navigation.
 * Max Browse is the maximum amount of memory I could get Browse to use
 while navigating randomly inside wikipedia (starting from Moon).
 Browse memory usage normally grows up quickly when you load the first
 few pages and then it stabilizes and does not grow anymore.
 * I tested on clean copy-nand installations of both images, without any 
 reboot.

 Marco
 ___
 Sugar mailing list
 [EMAIL PROTECTED]
 http://lists.laptop.org/listinfo/sugar

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


Odd occurance when installing 764

2008-09-27 Thread Aaron Konstam


After installing 764, in circle mode I had an icon for the calculator
activity, but it would not run successfully. Switching to line mode I
found the calculator had not been designated as a favorite. When I made
it a favorite I had two calculator icons in circle mode of the home
page. The second (new one) ran successfully. When I erased the first one
I had one calculator icon that ran correctly. A similar experience
occurred for me in 757 with a different Application.

I don't know why I seem to have all the really strange experiences. Just
lucky I guess:-)
-
--
===
mathematician, n.: Some one who believes imaginary things appear right
before your _i's.
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

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


Pycon'09 CFP

2008-09-27 Thread Michael Stone
Folks,

The Pycon'09 calls for proposals and tutorials have just gone up!

   http://us.pycon.org/2009/conference/proposals/
   http://us.pycon.org/2009/tutorials/proposals/

What are we going to propose?

Regards,

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


Re: Odd occurance when installing 764

2008-09-27 Thread Gary C Martin
On 27 Sep 2008, at 21:30, Aaron Konstam wrote:

 After installing 764, in circle mode I had an icon for the calculator
 activity, but it would not run successfully. Switching to line mode I
 found the calculator had not been designated as a favorite. When I  
 made
 it a favorite I had two calculator icons in circle mode of the home
 page. The second (new one) ran successfully. When I erased the first  
 one
 I had one calculator icon that ran correctly. A similar experience
 occurred for me in 757 with a different Application.

 I don't know why I seem to have all the really strange experiences.  
 Just
 lucky I guess:-)

I've not seen this myself after an upgrade, what did you upgrade from?  
Is it possible you had (some) activities installed in the 'system'  
place** rather than /home/olpc/Activities? I've seen 2 activity icons  
for what looks like the same application in that situation.

** /usr/share/sugar/activities/ is the current 'system' place (Journal  
should now be the only activity there I think).

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


Re: Another pass through some basic Activity test results

2008-09-27 Thread Gary C Martin
On 26 Sep 2008, at 19:31, Arjun Sarwal wrote:

 Hi,

 2008/9/26 Gary C Martin [EMAIL PROTECTED]:
 Here's a set of basic Activity test results for build 8.2-763, hope  
 the ASCI
 art doesn't get too mangled by the list server (need to view with a  
 fixed
   Measure-20 . . - . x x x . x Doesn't sleep when Activity is  
 in the
background (eats 75% cpu). Can't  
 seem to
record anything. Keep error when

 -- When Measure is in background and some other Activity comes in
 foreground, then Measure releases sound device - you can record sound
 using any other program/application. In this state Measure also
 doesn't hog CPU.

Just testing with Measure-21 and 8.2-765, yes I see this now. However  
switching to any of the Neighborhood/Group/Home views does not seem  
count as putting Measure into the background, it still consumes the  
cpu and claims the sound input device. I'm guessing this is a Sugar  
behaviour? Is this a bug or a feature (feels like a Sugar bug that  
would make the UI sluggish for no go reason)?

 -- For recording the waveforms, within 'Sound' in toolbar, if 'Now' is
 selected  and the record button next to it is pressed, it will capture
 the current displayed waveform. If you select an interval and then
 press the record button, it will start saving waveforms at the
 specified interval and the record button will change to a 'stop'
 button. It will record a maximum of 10 waveforms.

 You will be able to see the waveforms as picture files in the Journal

Ahhh, thanks Arjun, so that's where they go to. I was expecting some  
visual representation within Measure, perhaps like Record does, where  
there is a tray at the bottom of the screen, or Browse and its  
bookmark thumbnails.

Is there a way to capture waveform images without the entire UI also  
appearing in the  screen shot?

 --For recording sensor values, within the 'Sensors' context , when one
 presses the record button it will start writing the sensor values (of
 the sensor connected at Analog Input) at the specified interval.
 You can have multiple recording sessions,i.e. stop it and then resume
 it and stop it again and resume it.

 You can see the logged sensor values in the Journal.  They are saved
 in csv format.
 (I am waiting for the spreadsheet activity to come soon! :) )

Thanks, I understand this now as well. I had not noticed that new  
entries were silently being entered in to the Journal. BTW: you can  
resume the CSV file and Write will display the list of values. I also  
tried copying the CSV to the clipboard, but it generated a blank  
clipboard icon and would not paste anywhere (probably a Sugar issue,  
the clipboard isn't very robust yet).

Some quick suggestions:

- The Start Recording text could say Start Recording to Journal,  
that would have pointed me to check in the Journal after clicking  
record.

- The time section menu could say Every 30 seconds, Every 2  
minutes etc. Before you explained, I believed that the times were the  
duration of the sample to be recorded, not the interval between each  
sample. The little toolbar interval icon makes more sense now that I  
know what the menu does ;-)

 Lastly, thanks for the feedback, its really useful. It helped me
 figure out a minor problem in sensor values recording (#8683) and I
 released ver21 that corrects that!


Glad it was of use! I'm a bit of an electronics type, so I'm really  
glad Measure is up and working again.

--Gary

P.S. Any chance of solving the keep error bug every time Measure is  
closed? I'm not quite sure what causes them.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: X2O activity being considered for G1G1

2008-09-27 Thread S Page
 On Sat, Sep 27, 2008 at 01:58, Alex Levenson [EMAIL PROTECTED] wrote:
 I've tested / updated x2o for 8.2.

 I filled out a test case: http://wiki.laptop.org/go/Tests/Activity/x2o but
 for some reason it doesn't get propagated into
 http://wiki.laptop.org/go/Test_cases_8.2.0#Activities

It's there now.  MediaWiki probably cached the query for activity test 
cases.  To force a query to update, you can edit and save the page, 
and/or change the action=edit in the URL to action=purge.

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


Etoys supports the DC input

2008-09-27 Thread Yoshiki Ohshima
  Hello,

  It's been available for a while, but I'd like to announce that Etoys
running on XO supports the DC input.

  To try it:

  - Launch Etoys.
  - Drag out the Object Catalog from the Tresure Box.
  - Go to Multimedia category in the Object Catalog.
  - Drag out WorldStethoscope.
  - Right click on the instantiated WorldStethoscope and click on the
light blue eye icon to open its viewer.
  - Click on basic category header to get a menu, and choose sound
to go to sound category.
  - Press Start in the WS.  Some of the numbers in the viewer start
changing.  Whisle into the microphone.
  - Press Menu of WS, and choose add a graph  May be pick
sonogram.
  - You can open more than one graph on the same data.  Press Menu of
WS, and choose add a graph  May be pick spectrum.  You can
see sonogram and spectrum graph (and signal if you open it) at the
same time.
  - Connect a sensor to the jack.  Press AC button to switch to
DC.
  - The tiles can be used in the Etoys tile scripting, so kids can
make stuff with them.

etc., etc.

The UI needs one more face lift, but it works ok.  If you don't have
XO, you can still buy the WorldStethoscope hardware
(http://www.academianetwork.co.jp/service/) that converts the sensor
output to audio and do effectively the same thing on any computer with
a sound input.

The version in 764 has a little bug so that it leaves the mic LED on
even after quitting Etoys (it is fixed in the latest Joyride).  But it
is usable.

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