More Planning Thoughts

2008-04-16 Thread Michael Stone
Dear devel@,

While I'm still rather far away from done, I may have imposed enough
structure on my present fragmented reflections on our goals to be worth
your review [1].

  [1]: http://teach.laptop.org/~mstone/planning/r1

As always, questions  comments are greatly appreciated. In this
particular email, I'm most interested in thoughts that my commentary
inspires in you and in your contributions toward my represents the
diversity of justified views within the tech community goal. In future
emails, I will be more concerned with your analysis of the quality of
the justifications given and of the appropriateness of the proposed
primary and backup plans.

(Also, this week, particular thanks are due to Greg for his excellent
and intriguing discussion [2] of, in my words, how to avoid painting
your team into ugly corners.)

  [2]: 
http://wiki.laptop.org/go/User:Mstone/August_planning#A_suggestion_on_how_to_reach_a_decision_quickly

Michael

P.S. - (Feel free to wikify if it matters to you; I certainly appreciate
the feedback I've received on [2], particularly Greg's comments [3].
Alternately, would people find something like the FSF's GPLv3 comment
system, the Django Book's comment system, or the Real World Haskell
Book's comment system handy for preparing this sort of planning
document? If so, can anyone volunteer to put up an instance?
Alternately, does TOPP supply anything that addresses the communication
problems posed by documents like this one?)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: More Planning Thoughts

2008-04-16 Thread Asheesh Laroia
On Wed, 16 Apr 2008, Michael Stone wrote:

 Dear devel@,

 While I'm still rather far away from done, I may have imposed enough 
 structure on my present fragmented reflections on our goals to be worth 
 your review [1].

  [1]: http://teach.laptop.org/~mstone/planning/r1

Having just read it, I'll digest it in my sleep tonight.

 P.S. - (Feel free to wikify if it matters to you; I certainly appreciate
 the feedback I've received on [2], particularly Greg's comments [3].
 Alternately, would people find something like the FSF's GPLv3 comment
 system, the Django Book's comment system, or the Real World Haskell
 Book's comment system handy for preparing this sort of planning
 document? If so, can anyone volunteer to put up an instance?
 Alternately, does TOPP supply anything that addresses the communication
 problems posed by documents like this one?)

I'd like to suggest the AGPL-licensed, GPLv3-comment-system-like 
co-ment.net.  I nominate the system, but I require a second before doing 
it; since I'll be asleep, if that second emerges, I suggest acting by just 
doing it. (-:

-- Asheesh.

P.S. I thought it was a proprietary hosted web service, like Flickr, but 
then Michael pointed out to me it's AGPLware!

-- 
I guess you guys got BIG MUSCLES from doing too much STUDYING!
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: How to use Salut?

2008-04-16 Thread Guillaume Desmottes
Le mardi 15 avril 2008 à 20:32 +0200, Morgan Collett a écrit :
 A very quick test for which one is running is: ps ax |grep telepathy
 - if it shows telepathy-gabble, you're on a jabber server. If it shows
 telepathy-salut, you're on salut. If it shows neither, then something
 made salut crash - please log a ticket and attach logs if you have
 them enabled[0]. If it shows both gabble and salut, also log a ticket
 against presence-service with presenceservice.log.
 

... and the needed footnote :)

[0] http://wiki.laptop.org/go/Telepathy-debug


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


Record (was Re: [sugar] VoiceThreads ... a very interesting education service)

2008-04-16 Thread Morgan Collett
On Wed, Apr 16, 2008 at 4:48 AM, Gary C Martin [EMAIL PROTECTED] wrote:
  ** except for the (my opinion) design flaw where you can't share
  existing recordings, only ones you record after  someone else joins a
  shared session – so no point taking a bunch of photos of things and
  then clicking share – no one sees anything. For a test, a while back,
  I set up a Record session, named it 'View out your window', took a
  couple of photos, and turned sharing on. A bunch of folks joined over
  an hour or so and left photos of their view, but they couldn't see my
  photos, and I could only see a thumbnail of their photos (gave a
  network time-out error if I tried to click a thumb). Still a
  fascinating exercise even if it didn't quite go to plan (showed the
  potential).

Record sends the thumbnails as people take photos, and only transfers
the full photo when you click on it. That assumes the XO with that
photo is still around - or that someone else in the shared session has
obtained that photo from the sharer. I've logged #6896 about improving
this.

I've logged #6897 about joiners getting existing content in the
session. I think it depends on #4497, which is a redesign of the
collaboration in Record.

  *** If you could resume a pre-recorded Record activity *AND* then
  share it out, it could be a good way to do photo journal type homework
  or research. Perhaps needs a better playback mode (text notes and
  images shown at once; ability to reorder the items in the bottom pane;
  ability to take a photo, then record audio associated with it).

Feel free to express your opinions in Trac :)

  Maybe if Journal item sharing arrives as some point, this will be a
  practical way of generating and sharing similar content.

Yes - although that's more transfer of content than collaborating
together in the activity (as I understand it).

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


Re: More Planning Thoughts

2008-04-16 Thread Marco Pesenti Gritti
Michael,

 In recognition of our limited measurement and release resources, we
 should concentrate our efforts on two minimally coupled topics...

This seems pretty arbitrary and I'm not sure how you are coming to
that conclusion.

I think Greg provides great suggestions on how to reach consensus on the what.

We need to start by defining the organizational goal and then use it
as the main criterium to evaluate the concrete priorities.
Possibilities from his post on the wiki:

* Make existing customer successful. Learn from them and generate
follow on orders.
* Acquire new customers and expand the user base dramatically.
* Expand the capacity of the organization to develop new software in the future.

I happen to agree with him that we should focus on make existing
costumer successful, if nothing else because I consider it a
prerequisite for the other two goals.

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


Re: [sugar] Record (was Re: VoiceThreads ... a very interesting education service)

2008-04-16 Thread Tomeu Vizoso
On Wed, Apr 16, 2008 at 11:05 AM, Morgan Collett
[EMAIL PROTECTED] wrote:
 On Wed, Apr 16, 2008 at 4:48 AM, Gary C Martin [EMAIL PROTECTED] wrote:
Maybe if Journal item sharing arrives as some point, this will be a
practical way of generating and sharing similar content.

  Yes - although that's more transfer of content than collaborating
  together in the activity (as I understand it).

Perhaps we could distinguish between synchronous and asynchronous
collaboration? Transfer of frozen activities may serve for the
later.

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


Advice on implementing a zooming interface?

2008-04-16 Thread chombee
 I thought this list might be a good place to ask for advice.
  
 I have tested a paper + card version of a prototype story writing tool
with children, and now need to implement a computer version of the
prototype. I don't have my interface mockups handy, but it is card-based
story writing. Imagine looking down at a set of 10, 20 or 30 or so
 story
 cards on a table, you write a bit of the story on each card. The
 interface needs to be able to provide a zoomed-out overview of all the
   cards, and to zoom-in on each individual card, and the cards need to
   have
text entry widgets on them for the user to input their story (they also
need text labels and images).
  
I initially envisioned the 2D cards existing in a 3D scene with proper,
  animated, continuous zooming. This isn't really necessary though, the
   zoom
   is rather used to connect a fixed number of discrete screens, so it
  could
be implemented more like in Sugar, where you don't actually see an
  animation of the zoom happening.
  
   Initially I thought to use pygame for the implementation as I knew I
  could
use this on an XO. But I have looked around, and the GUI toolkits I can
find for pygame seem a bit limited. A text input area widget is missing
   from pgu, for example. And I'm not sure I would be able to place GUI
  widgets onto sprites (the cards) with any of the toolkits I saw, they
   all
 seem to allow a 2D interface to be overlayed on the game scene but not
   integrated *into* the scene, whereas I have been imagining my story
  cards
 as sprites in a game scene and the GUI widgets being on the cards
 themselves.
  
 The most promising, in fact the only workable option I've found, seems
to
 be the 3D game engine Panda3D, and its DirectGUI library. I believe it
  would allow the cards to be implemented as flat objects in a 3D scene
   and
  allow GUI widgets to be placed onto these objects in the scene. But a
   full
  3D engine may be overkill.
  
Does anyone have any advice on how I could implement this, and hopefully
  make it OLPC compatible, either using pygame or something else?
  
 Thanks


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


Re: [Server-devel] [sugar] sugar roadmap

2008-04-16 Thread Tomeu Vizoso
On Wed, Apr 16, 2008 at 2:52 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
 On Tue, Apr 15, 2008 at 8:29 PM, Benj. Mako Hill [EMAIL PROTECTED] wrote:
 On Sun, Apr 13, 2008 at 10:02 PM, Martin Langhoff

  Personally, I have been dreaming of a mix between ion3 and Sugar's
   4-zoom-stages. Talking with some hard-core ion3 friends, they seemed
   to be convinced that it was doable as a special configuration, 
 binding
   the F1-F3 keys to full screen apps, and having a nested X in F4.
  
Yes. This would be pretty simple. I'd be happy to help someone hack
this up. Ion3 is extensible in Lua and a little bit of Lua will get
tihs up and running pretty quickly.

  The whole plan would look like

   - Network-pane visual app on F1
   - Network-local-resources+Friends visual app on F2
   - Desktop mgmt app on F3
   - F4 as an ion3 managed desktop

You mean the zoom levels when you talk about F1, F2, etc, right?

  with the whole concert of things managed by Ion3. Good to know that
  the Ion3 Lua part is doable and relatively easy. The visual apps
  needed for F1/2 are probably a ton of work.

Apps or rather windows created by the shell process?

  H. A weekend project for next time I have a weekend (next one up:
  Feb 2010 I think ;-) ). Maybe next time I'm in Cambridge we can
  explore it together if you have time+inclination...

Can we have some more discussion here? I'm very intrigued about all this.

Thanks,

Tomeu
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: How to use Salut?

2008-04-16 Thread James Simmons

Morgan and Guillaume,

I tried using avahi-browse -a on openSUSE 10.2 last night and it told me 
that the daemon was not running.  I checked the xinted panel in YAST and 
there was no entry for activating avahi, even though I installed avahi 
as part of the SUSE distribution.  In any case, if it isn't running that 
would explain my Salut issue.  I'll have to study up on Avahi and 
resolve this.  In the meantime Avahi *is* working on Xubuntu, and the 
Collabora servers were back up last night.  I got some tests of View 
Slides *almost* working last night.  I noticed it took a *long* time to 
copy a 15 mb or so file, and my theory is that all these debug messages 
are slowing it down.  If you can think of a better explanation I'd love 
to hear it.


Thanks again for your help.

James Simmons


Guillaume Desmottes wrote:


Le mardi 15 avril 2008 à 20:32 +0200, Morgan Collett a écrit :
 


A very quick test for which one is running is: ps ax |grep telepathy
- if it shows telepathy-gabble, you're on a jabber server. If it shows
telepathy-salut, you're on salut. If it shows neither, then something
made salut crash - please log a ticket and attach logs if you have
them enabled[0]. If it shows both gabble and salut, also log a ticket
against presence-service with presenceservice.log.

   



... and the needed footnote :)

[0] http://wiki.laptop.org/go/Telepathy-debug


 



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


Re: How to use Salut?

2008-04-16 Thread Dafydd Harries
Ar 15/04/2008 am 10:18, ysgrifennodd James Simmons:
 Morgan,
 
 Thanks for the information on ejabberd.  I may try that this weekend.  I 
 am still puzzled by salut, though.  I am using sugar-jhbuild on openSUSE 
 10.2 and everything seemed to compile OK, but running two instances of 
 Sugar does not seem to support sharing when the Collabora server is 
 down.  They don't see each other in the Neighborhood view.  So it looks 
 like Salut isn't doing its job.
 
 I know you have a lot on your plate, but information on diagnosing Salut 
 problems would be a good addition to the Wiki.
 
 Speaking of the Wiki, I did a search on Salut and the page I found gave 
 the impression that Salut only works when there is NO internet 
 connectivity.  Since my development machines are always connected to the 
 Internet this could be why I can't share between instances.  The wiki 
 page I found is at: 
 http://wiki.laptop.org/go/Test_Network_Configuration#Salut

If there is an internet connection, the laptop will only try using Salut after
it has tried to connect to the Jabber server. Perhaps connecting to the Jabber
server is taking a long time to time out, so it's not trying Salut?

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


Re: How to use Salut?

2008-04-16 Thread Dafydd Harries
Ar 16/04/2008 am 09:33, ysgrifennodd James Simmons:
 Morgan and Guillaume,
 
 I tried using avahi-browse -a on openSUSE 10.2 last night and it told me 
 that the daemon was not running.  I checked the xinted panel in YAST and 
 there was no entry for activating avahi, even though I installed avahi 
 as part of the SUSE distribution.  In any case, if it isn't running that 
 would explain my Salut issue.  I'll have to study up on Avahi and 
 resolve this.  In the meantime Avahi *is* working on Xubuntu, and the 
 Collabora servers were back up last night.  I got some tests of View 
 Slides *almost* working last night.  I noticed it took a *long* time to 
 copy a 15 mb or so file, and my theory is that all these debug messages 
 are slowing it down.  If you can think of a better explanation I'd love 
 to hear it.

Salut should work on the laptops regardless of whether Avahi works on your
OpenSuSE machine.

If you switch to a terminal on the XO, you should be able to run the
avahi-browse command that Morgan suggested there.

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


Reminder: Software Status Meeting @ 1300 EST in #olpc-meeting on irc.freenode.org

2008-04-16 Thread Michael Stone
Come and share your bugs.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: More Planning Thoughts

2008-04-16 Thread Joshua Minor

On Apr 15, 2008, at 11:16 PM, Michael Stone wrote:

 (Also, this week, particular thanks are due to Greg for his excellent
 and intriguing discussion [2] of, in my words, how to avoid painting
 your team into ugly corners.)

   [2]: http://wiki.laptop.org/go/User:Mstone/ 
 August_planning#A_suggestion_on_how_to_reach_a_decision_quickly


This is an excellent suggestion.  It can also help to consider the  
repercussions of *not* doing each of the three high level goals.   
Specifically, would you choose: don't ensure that the existing  
customer is successful, don't acquire new customers or don't expand  
the capacity of the organization?

-josh

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


[PATCH] support battery-charge-state-dependent battery frame icon

2008-04-16 Thread Martin Dengler
Support battery-charge-state-dependent battery frame icon and upgrade to 
consistency with battery icon design from 
http://wiki.laptop.org/go/Designs/Frame#06.

Controversially (or so I think), this commit includes a very naive algorithm to 
calculate battery time/life remaining, as a principled approach is much more 
complex and this approach is better than what a naive human would do (e.g., 
only misleading to those who should be coming up with better patches :)).  The 
code is very localized and self-contained so it's easy to rip out later.
---
 src/view/devices/battery.py |   51 +++---
 1 files changed, 37 insertions(+), 14 deletions(-)

diff --git a/src/view/devices/battery.py b/src/view/devices/battery.py
index 8a4caf0..eefe631 100644
--- a/src/view/devices/battery.py
+++ b/src/view/devices/battery.py
@@ -19,9 +19,11 @@ from gettext import gettext as _
 import gtk
 
 from sugar import profile
+from sugar.graphics import style
 from sugar.graphics.icon import get_icon_state
 from sugar.graphics.tray import TrayIcon
 from sugar.graphics.palette import Palette
+from sugar.graphics.xocolor import XoColor
 
 from view.frame.frameinvoker import FrameWidgetInvoker
 
@@ -37,7 +39,7 @@ class DeviceView(TrayIcon):
   xo_color=profile.get_color())
 
 self._model = model
-self.palette = BatteryPalette(_('My Battery life'))
+self.palette = BatteryPalette(_('My Battery'))
 self.set_palette(self.palette)
 self.palette.props.invoker = FrameWidgetInvoker(self)
 self.palette.set_group_id('frame')
@@ -48,21 +50,24 @@ class DeviceView(TrayIcon):
 self._update_info()
 
 def _update_info(self):
-name = get_icon_state(_ICON_NAME, self._model.props.level)
-self.icon.props.icon_name = name
+name = _ICON_NAME
+level = self._model.props.level
+xo_color = profile.get_color()
 
-# Update palette
 if self._model.props.charging:
 status = _STATUS_CHARGING
-self.icon.props.badge_name = 'emblem-charging'
+name += '-charging'
+xo_color = XoColor('%s,%s' % (style.COLOR_WHITE.get_svg(),
+  style.COLOR_WHITE.get_svg()))
 elif self._model.props.discharging:
 status = _STATUS_DISCHARGING
-self.icon.props.badge_name = None
 else:
 status = _STATUS_FULLY_CHARGED
-self.icon.props.badge_name = None
 
-self.palette.set_level(self._model.props.level)
+self.icon.props.icon_name = get_icon_state(name, level)
+self.icon.props.xo_color = xo_color
+
+self.palette.set_level(level)
 self.palette.set_status(status)
 
 def _battery_status_changed_cb(self, pspec, param):
@@ -92,13 +97,31 @@ class BatteryPalette(Palette):
 self._progress_bar.set_fraction(fraction)
 
 def set_status(self, status):
-percent_string = ' (%s%%)' % self._level
+lvl = self._level
+secondary_text = ''
+status_text = '%s%%' % lvl
 
 if status == _STATUS_CHARGING:
-charge_text = _('Battery charging') + percent_string
+secondary_text = _('Charging')
 elif status == _STATUS_DISCHARGING:
-charge_text = _('Battery discharging') + percent_string
-elif status == _STATUS_FULLY_CHARGED:
-charge_text = _('Battery fully charged')
+if lvl = 15:
+secondary_text = _('Very little power remaining')
+else:
+minutes = _('m')
+hours = _('h')
+#TODO: make this less of an wild/educated guess
+minutes_left = int(lvl / 0.59)
+if minutes_left  60:
+guess_text = '%s%s' % (minutes_left, minutes)
+else:
+hours_left = minutes_left / 60
+mins_leftover = minutes_left % 60
+guess_text = '%s%s%s%s' % (hours_left, hours,
+   mins_leftover, minutes)
+secondary_text = guess_text + _(' remaining')
+else:
+secondary_text = _('Charged')
+status_text = ''
 
-self._status_label.set_text(charge_text)
+self.props.secondary_text = secondary_text
+self._status_label.set_text(status_text)
-- 
1.5.4.1

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


Re: working version of Watch and Listen?

2008-04-16 Thread Josh Schonstal
The version that is in git should work.  It's working on the emulator,
and as far as I know it should be working on the laptop as well.  You
could download it and test it, but from what I know we haven't done much
to WL after finishing the latest version (that xo appears to be version
10, which is an older version than what is in git).  I've CC'd this
message to the rest of the WL developers to see if they have anything
else to add on this.

Bryan Berry wrote:
 I get 404 not found when I try to access the url listed for Watch and
 Listen on the Activities page:
 http://staff.osuosl.org/~peter/myfiles/Watch%20%20Listen-10.xo   

 Can anyone tell me how stable the version of Watch and Listen is that
 lives in git? 
 http://dev.laptop.org/git?p=projects/watch-listen;a=shortlog;h=master

 thanks

   

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


Re: working version of Watch and Listen?

2008-04-16 Thread Peter Krenesky
The link to version 10 should work now.

the version in git is actually version 12, but it was only minor changes 
to add localization/interationalization.

Josh Schonstal wrote:
 The version that is in git should work.  It's working on the emulator,
 and as far as I know it should be working on the laptop as well.  You
 could download it and test it, but from what I know we haven't done much
 to WL after finishing the latest version (that xo appears to be version
 10, which is an older version than what is in git).  I've CC'd this
 message to the rest of the WL developers to see if they have anything
 else to add on this.

 Bryan Berry wrote:
   
 I get 404 not found when I try to access the url listed for Watch and
 Listen on the Activities page:
 http://staff.osuosl.org/~peter/myfiles/Watch%20%20Listen-10.xo  

 Can anyone tell me how stable the version of Watch and Listen is that
 lives in git? 
 http://dev.laptop.org/git?p=projects/watch-listen;a=shortlog;h=master

 thanks

   
 

 ___
 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


TamTam packaging

2008-04-16 Thread Jani Monoses
Hi Olivier,

I have a few questions regarding the .deb packaging of the four TamTam 
activities.

-why are the cpp sources in the MANIFEST and consequently in the xo?
-which versions do you recommend for packaging. Latest are 48 and 49 , 
depending on the activity

I got them to build and start on Ubuntu but I have no sound

The lib is acsound64 not acsound in debian/ubuntu so the link flag 
needed a change to rebuild the aclient.so instead of using the one in git.

Hardcoded paths starting with /home/olpc were changed too but it still
does not play any sound - the graphics are stunning though! :)

csound is 5.08.0 do you know if that should be OK?

Minor change to get it to build with -Werror with g++ 4.2.3 (Ubuntu 8.04)

thanks
Jani

--- a/common/Util/Clooper/aclient.cpp
+++ b/common/Util/Clooper/aclient.cpp
@@ -549,8 +549,8 @@ struct TamTamSound
  csound = csoundCreate(NULL);
  int argc=3;
  char  **argv = (char**)malloc(argc*sizeof(char*));
-argv[0] = csound;
-argv[1] = -m7;
+argv[0] = (char *)csound;
+argv[1] = (char *)-m7;
  argv[2] = orc;
:

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


Re: TamTam packaging

2008-04-16 Thread Olivier Bélanger
Hi Jani,

First of all, our main goal is to make TamTam runs on the XO. We  
didn't think yet about porting it to others system...

Le 08-04-16 à 17:44, Jani Monoses a écrit :
 Hi Olivier,

 I have a few questions regarding the .deb packaging of the four TamTam
 activities.

 -why are the cpp sources in the MANIFEST and consequently in the xo?

At the beginning we TamTam was only one activity with a welcome  
screen to choose which component to play with. When we were aksed to  
spilt the activities it was the simplest way for us to manage all  
activities from one git tree. But all sounds and common images are  
located only inside TamTamEdit.

 -which versions do you recommend for packaging. Latest are 48 and 49 ,
 depending on the activity

Always the latest... even though i'm on the way to make major changes  
in the way TamTam handle resources (mic recording, synthlab  
sounds...) to respect OLPC security policy. These changes will  
complicate once more the port to others system...


 I got them to build and start on Ubuntu but I have no sound

 The lib is acsound64 not acsound in debian/ubuntu so the link flag
 needed a change to rebuild the aclient.so instead of using the one  
 in git.

I don't think using the aclient is the better way to make it work on  
Debian. This client was build very tight to save cpu cycles on the  
XO. The better way is to use the Python API for Csound... (with the  
API, don't forget to remove -n flag (no sound) in tamtamorc.csd).  
Maybe James can tell you more about aclient.so  
( [EMAIL PROTECTED] )


 Hardcoded paths starting with /home/olpc were changed too but it still
 does not play any sound - the graphics are stunning though! :)

 csound is 5.08.0 do you know if that should be OK?

 Minor change to get it to build with -Werror with g++ 4.2.3 (Ubuntu  
 8.04)

 thanks
 Jani

 --- a/common/Util/Clooper/aclient.cpp
 +++ b/common/Util/Clooper/aclient.cpp
 @@ -549,8 +549,8 @@ struct TamTamSound
   csound = csoundCreate(NULL);
   int argc=3;
   char  **argv = (char**)malloc(argc*sizeof(char*));
 -argv[0] = csound;
 -argv[1] = -m7;
 +argv[0] = (char *)csound;
 +argv[1] = (char *)-m7;
   argv[2] = orc;
 :

Thanks for trying to make it works on Debian!

Olivier



 ___
 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


How do I resart XWindows when running emulation under QEMU

2008-04-16 Thread Steve Lewis
title says is all Crtl-Alt has a special meaning in an emulator and 
Crtl-Alt-Backspace does not work in either windows or linux. On linux
it does some very funky things to the host XWindows
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


QEMU says out of disk space

2008-04-16 Thread Steve Lewis
I am trying to do development on an image in QEMU rinning under windows 
or linux.
I am also mounting the image with sshfs or sftpdrive on linux and 
windows respectively.
I am getting two issues -
sometimes the image insists there is no disk space left - this ofter 
prevents Xwindows from starting at boot.
The image is rendered unusable and even if not you can get nothing done. 
I do not think it is really out of space
but do not know how to check
Any thoughts or bright ideas.

-

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


Building an image of a real OLPC

2008-04-16 Thread Steve Lewis
Is there any way do build a disk image of a physical OLPC for backup and 
development  under an emulator
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Building an image of a real OLPC

2008-04-16 Thread Michael Stone
On Wed, Apr 16, 2008 at 06:20:12PM -0700, Steve Lewis wrote:
 Is there any way do build a disk image of a physical OLPC for backup and 
 development  under an emulator

One method is to mount the NAND over sshfs and to copy the files you
want. Another method is to save a NAND image to a USB key or SD card
with the 'save-nand' OFW word, then to mount this image. The
instructions at 

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

might achieve this or they might not - I've never tried it.

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


Re: How do I resart XWindows when running emulation under QEMU

2008-04-16 Thread Michael Stone
On Wed, Apr 16, 2008 at 06:13:16PM -0700, Steve Lewis wrote:
 title says is all Crtl-Alt has a special meaning in an emulator and 
 Crtl-Alt-Backspace does not work in either windows or linux. On linux
 it does some very funky things to the host XWindows

QEMU has a 'sendkey' command that can be executed from the QEMU Console.
You can use this command to send the restart combination (and to switch
to the virtual terminals, if need be).

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


Re: More planning thoughts

2008-04-16 Thread Jameson Chema Quinn
Here's my POV on the issues...


   issue

affects all users

affects all developers

radical change suggested

tolerability of current state of affairs

how hard to improve

power management

6

2

?

5

3

mesh

6

4

6

4

5

both of the above together




 7

datastore

8

8

10

3

5*

sugar UI

8

4 (many changes are inside sugar)

5

6

3-5*

collaboration

6

6

6

7

3*

compatibility/

interoperability

2

7

4 (mostly clever hacks)

6

3

performance

8

2

4

6

5


* Requires work by activity developers.


... As you can probably see from the above table, I'd vote putting the
datastore first in line, as it is the one issue which causes data loss.

More later,
Jameson
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Severe new bug in firmware Q2D13?

2008-04-16 Thread Mitch Bradley
I have been told that the Uruguay machines are supposed to have good 
battery holders, so my earlier suggestion about coin-cell batteries 
popping out of the holder might be incorrect.  However, we have also 
seen a problem where some of the coin-cell batteries are defective, so 
it would be worthwhile to open the problem machines and inspect their 
batteries.  The defective batteries might have visible corrosion.

Emiliano Pastorino wrote:
 Scott,
 We're having serious problems here in Uruguay with firmware Q2D13. 
 Some laptops, after flashing them, show an Invalid system date error 
 at boot time. The laptop won't boot because after that it shows a 
 Lease expired message and tries to activate. We could activate the 
 laptop, but when you reboot it, the same error message appears.
 In the time between we activate the laptop and before we reboot it, we 
 could check the date, it says mar nov 30 01:35:11 EST 1999. This 
 started to happen after we upgrade the firmware from Q2D07 (which had 
 an activation problem) to Q2D13. It seems that the
 I've attached three screenshots of the boot screen.
 We need someone to check this and solve the problem asap.

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


Re: Severe new bug in firmware Q2D13?

2008-04-16 Thread Hal Murray

[EMAIL PROTECTED] said:
 I have been told that the Uruguay machines are supposed to have good
 battery holders, so my earlier suggestion about coin-cell batteries
 popping out of the holder might be incorrect.  However, we have also
 seen a problem where some of the coin-cell batteries are defective, so
 it would be worthwhile to open the problem machines and inspect their
 batteries.  The defective batteries might have visible corrosion. 

Even if it looks OK, as long as you have it open, you might as well put a 
meter on it.

Mine reads 3.3V.




-- 
These are my opinions, not necessarily my employer's.  I hate spam.



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


Re: Severe new bug in firmware Q2D13?

2008-04-16 Thread John Watlington

That voltage has to be read with DC power and the main battery
removed to be meaningful.   There is a trickle charging circuit in
play if there is any other source of power.

wad

On Apr 17, 2008, at 1:02 AM, Hal Murray wrote:


 [EMAIL PROTECTED] said:
 I have been told that the Uruguay machines are supposed to have good
 battery holders, so my earlier suggestion about coin-cell batteries
 popping out of the holder might be incorrect.  However, we have also
 seen a problem where some of the coin-cell batteries are  
 defective, so
 it would be worthwhile to open the problem machines and inspect their
 batteries.  The defective batteries might have visible corrosion.

 Even if it looks OK, as long as you have it open, you might as well  
 put a
 meter on it.

 Mine reads 3.3V.




 -- 
 These are my opinions, not necessarily my employer's.  I hate spam.



 ___
 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: Building an image of a real OLPC

2008-04-16 Thread Kurt Gramlich
* Steve Lewis [EMAIL PROTECTED] [080417 03:21]:

 Is there any way do build a disk image of a physical OLPC for backup and 
 development  under an emulator

Have a look at our XO-LiveackupCD

http://dev.laptop.org/pub/livebackupcd

Regards/AmicaLinuxement/Saludos/Viele Gruesse!
Kurt Gramlich
Projektleitung skolelinux.de
-- 
[EMAIL PROTECTED]
GnuPG Key ID 0xE263FCD4
http://www.skolelinux.de
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [sugar] sugar roadmap

2008-04-16 Thread Martin Langhoff
On Tue, Apr 15, 2008 at 8:29 PM, Benj. Mako Hill [EMAIL PROTECTED] wrote:
   On Sun, Apr 13, 2008 at 10:02 PM, Martin Langhoff
 Personally, I have been dreaming of a mix between ion3 and Sugar's
 4-zoom-stages. Talking with some hard-core ion3 friends, they seemed
 to be convinced that it was doable as a special configuration, binding
 the F1-F3 keys to full screen apps, and having a nested X in F4.

  Yes. This would be pretty simple. I'd be happy to help someone hack
  this up. Ion3 is extensible in Lua and a little bit of Lua will get
  tihs up and running pretty quickly.

The whole plan would look like

 - Network-pane visual app on F1
 - Network-local-resources+Friends visual app on F2
 - Desktop mgmt app on F3
 - F4 as an ion3 managed desktop

with the whole concert of things managed by Ion3. Good to know that
the Ion3 Lua part is doable and relatively easy. The visual apps
needed for F1/2 are probably a ton of work.

H. A weekend project for next time I have a weekend (next one up:
Feb 2010 I think ;-) ). Maybe next time I'm in Cambridge we can
explore it together if you have time+inclination...

cheers,



m



-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [sugar] sugar roadmap

2008-04-16 Thread Marco Pesenti Gritti
On Wed, Apr 16, 2008 at 2:52 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
 On Tue, Apr 15, 2008 at 8:29 PM, Benj. Mako Hill [EMAIL PROTECTED] wrote:
 On Sun, Apr 13, 2008 at 10:02 PM, Martin Langhoff

  Personally, I have been dreaming of a mix between ion3 and Sugar's
   4-zoom-stages. Talking with some hard-core ion3 friends, they seemed
   to be convinced that it was doable as a special configuration, 
 binding
   the F1-F3 keys to full screen apps, and having a nested X in F4.
  
Yes. This would be pretty simple. I'd be happy to help someone hack
this up. Ion3 is extensible in Lua and a little bit of Lua will get
tihs up and running pretty quickly.

  The whole plan would look like

   - Network-pane visual app on F1
   - Network-local-resources+Friends visual app on F2
   - Desktop mgmt app on F3
   - F4 as an ion3 managed desktop

What is the goal exactly? I can only spot two real differences from
how the Sugar shell currently works:

* In Sugar F1-F3 are a single window (hinted as a
_NET_WM_WINDOW_TYPE_DESKTOP), which avoids to have to use a nested X
for applications.
* With this approach activities would be managed by whatever controls
ion3 provides.

Is there anything I'm missing? Is the point to be able to run desktop
applications?

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


Re: [Server-devel] [sugar] sugar roadmap

2008-04-16 Thread Benj. Mako Hill
quote who=Marco Pesenti Gritti date=Wed, Apr 16, 2008 at 03:22:46PM +0200
 Is there anything I'm missing? Is the point to be able to run desktop
 applications?

Ion has the ability to launch different types of workspaces. There are
three by default (although we could add to that). One of these is a
floating workspace. It's rather bad, but it works, and I think it would
be pretty cool to have as an option.

Regards,
Mako


-- 
Benjamin Mako Hill
[EMAIL PROTECTED]
http://mako.cc/

Creativity can be a social contribution, but only in so far
as society is free to use the results. --GNU Manifesto
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel