Re: etoys now available in Debian's non-free repository

2008-06-27 Thread Gerard J. Cerchio
[EMAIL PROTECTED] wrote:
 learning how the code works _could_ be done on generated C code (although 
 not well). my Dad tought himself C by taking the KR book, typing in the 
 examples and examining the resulting binaries, but he came from a 
 mainframe systems background. most people won't go to that extreme.

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


Re: on Sugar

2008-04-23 Thread Gerard J. Cerchio
Nicholas Negroponte wrote:
  
 We are not a business, but need to be more business-like: meet 
 schedules, manage expectations and fulfill promises. To do that, we 
 need to hire more developers, work more together and spend less time 
 arguing. 
I am becoming available mid May and certainly would enjoy working with a 
more directed and focused OLPC team.

I was the software architect and implementor of the Jhai PC. You may see 
my credentials at www.CircleSoft.com

Best Regards,

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


OLPC seeks a CEO -- who was your favorite CEO elsewhere?

2008-03-11 Thread Gerard J. Cerchio
John Gilmore wrote:
 http://www.businessweek.com/technology/content/mar2008/tc2008035_429837.htm 


 OLPC is looking for a CEO. 
Hey folks, John is looking for an organizer not another M$ free-for all!

Tongue in cheek, I hear Vladmir Putin just lost his job, talk about 
someone that can make order out of chaos

I wish the organization the best of luck finding the best person for 
this job!  I have never worked under a CEO that I thought was worth half 
the salt hes taking from the company.

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


Re: Suggestions for a development environment?

2008-02-21 Thread Gerard J. Cerchio
I prefer IDE's too, and have been using Eclipse: http://www.eclipse.org 
I am pretty sure Ubuntu has it packaged.

Have you tried running your development environment in a virtual machine?

Here are a few notes on OLPC development: 
http://wiki.laptop.org/go/User:Gcerchio.diary
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Observing games

2008-02-06 Thread Gerard J. Cerchio


 I previously asked for volunteers to work on Connect. Despite some
 interest, it hasn't progressed further, so I'll reiterate: Patches
 welcome!

 Regards
 Morgan

   

Once I have more time, in say a month or two, I'll continue development 
on PlayGo again which is a direct descendant of Connect. I'll keep in 
mind that you would like enhancements to propagate up the tree.

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


Re: Observing games

2008-02-06 Thread Gerard J. Cerchio
Edward Cherlin wrote:
 On Feb 6, 2008 8:46 AM, Gerard J. Cerchio [EMAIL PROTECTED] wrote:
   
 I previously asked for volunteers to work on Connect. Despite some
 interest, it hasn't progressed further, so I'll reiterate: Patches
 welcome!

 Regards
 Morgan


   
 Once I have more time, in say a month or two, I'll continue development
 on PlayGo again which is a direct descendant of Connect. I'll keep in
 mind that you would like enhancements to propagate up the tree.

 - Gerard
 

 Thanks, Gerard.

 We have a good page on the Wiki for Activities, with links to
 individual projects. What would be a good way to share information on
 these more general development projects? Is there a page for it?

 Should we turn the observing functions into a shared library and have
 a Libraries page? We have the same issue with text-to-speech in the
 Speak activity. It started as a standalone activity, but makes sense
 to provide as an option for all activity development. Not in Draw or
 TamTam, perhaps, but certainly in Browse, Write, Calc, and others.

   
I am all for a collection of widgets that you cut and paste from a wiki 
page. This way there can be a lot of documentation around the code that 
does not bloat the git. Some functionality like a chat window would 
probably be moved un-modified into a framework built game application. 
However most of the game specific communication bits I feel must just be 
presented as a scaffold that the developer would drop into her code and 
modify to suit communication requirements of the individual project. As 
long as they don't break the framework, the standard widgets should be fine.

I started a general documentation of Activity basics, with the intention 
of finding an existing page to home it or coming up with a clever new 
page name.
http://wiki.laptop.org/go/PlayGo#PlayGo_Software

Alas, I still must work for a living

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


Re: Updated API documentation for everything.

2007-12-31 Thread Gerard J. Cerchio
C. Scott Ananian wrote:
 The subject line of my previous message should have been 'updated API
 documentation', not 'updates API documentation', sigh.
  --scott

   
Scott,

Is this going to be a more or less permanent location?  I am setting my 
link on my PlayGo activity page to the 
http://dev.laptop.org/~cscott/joyride-1477-api/sugar.activity-module.html.

Do you plan to move this into the wiki?

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


3rd Fedora disk curdle

2007-12-27 Thread Gerard J. Cerchio
In the short time I have been working with olpc I have had my Fedora 
VMware machines curdle their ext3 disks 3 times.

I have been running 2.4 and 2.6 Redhats and Debians for over a year with 
no such problems. Once the first Fedora 7 machine broke its disk I have 
been very careful to shutdown every time. I cannot point to any 
particular activity that has corrupted the disk image. Things will start 
to go wrong and a subsequent reboot with fschk will yield a disk 
hopelessly in trouble.

Does the jhbuild emulator do any exotic direct to disk IO that may be 
causing this?
Does Fedora aggressively modify its ext3, vfs or SCSI drivers?

I have built a third Fedora 8 VM this time using IDE disk IO in hopes 
that this problem will go away.

Has anyone else seen this kind of problem?

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


Re: Community Support website for users

2007-12-27 Thread Gerard J. Cerchio
 dig support.laptop.org

;  DiG 9.5.0b1  support.laptop.org
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 28879
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;support.laptop.org.IN  A

;; AUTHORITY SECTION:
laptop.org. 10800   IN  SOA bayer.media.mit.edu. 
net-request.media.mit.edu. 2007120702 900 600 36 86400

;; Query time: 114 msec
;; SERVER: 66.80.130.23#53(66.80.130.23)
;; WHEN: Thu Dec 27 08:36:52 2007
;; MSG SIZE  rcvd: 103

Did the media lab get the memo?

[EMAIL PROTECTED] wrote:
 several DNS - incl. openDNS - do not resolve the URL, yet.

 yokoy 

 On Thu, 27 Dec 2007 10:46:58 -0500
 Samuel Klein [EMAIL PROTECTED] wrote:

   
 That's funny.  support.laptop.org resolves for me just fine.(it's
 pointing to wiki.laptop.org/go/Support )

 SJ

 On Dec 27, 2007 10:37 AM, Gerard J. Cerchio [EMAIL PROTECTED] wrote:
 
 Michael Burns wrote:
   
 feel free to use the forum forum, web chat or the email list as a
 resource: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]

 Other support information can be found at http://support.laptop.org/
 
 support.laptop.org does not have a server listening as of Dec-27 07:37 PST
 ___
 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: Community Support website for users

2007-12-27 Thread Gerard J. Cerchio
Ivan Krstić wrote:
 On Dec 27, 2007, at 11:40 AM, Gerard J. Cerchio wrote:
 Did the media lab get the memo?


 ;; ANSWER SECTION:
 support.laptop.org.85028INCNAMEpedal.laptop.org.
 pedal.laptop.org.75072INA18.85.2.148

 New DNS records can take some time to propagate.


I agree, and I finally have the CNAME out here on the Left Coast :)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 3rd Fedora disk curdle

2007-12-27 Thread Gerard J. Cerchio
M. Edward (Ed) Borasky wrote:
 Yeah, VMware can't deal very well with host-side platform problems. :)

 How sure are you that VMware Server 1.04 works on Windows XP 64 SP2? I'm
 running VMware Workstation *6* on my AMD64 box -- I haven't messed with
 the free server in a while and I've never tried it on a 64-bit machine.
   

Weelll, the site states that it works for 64bit clients and hosts and 
the install did not balk when I lit it up the XP64 machine so I assume I 
am ok. If I do not get problems with the VM on the direct connect IDE.  
I may take the time to build a SCSI based VM planted on the IDE drive 
and see if that invokes the problem.  Ever see a compiler go crazy on 
the old HP mini's running HPDOS?  You know, the OS that had the 
compilers own a raw piece of disk for the object code, so they did 
physical IO to the platter for compiles? That must have been about a 
ga-zillion years ago :)

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


Re: Silly Question

2007-12-23 Thread Gerard J. Cerchio
Yuan Chao wrote:
 On Dec 24, 2007 2:21 AM, Jeffrey Kesselman [EMAIL PROTECTED] wrote:

   
 I was plugged into a USB slot on thr ight not the left.
 Interestingly enough, on the current software, if you do that the
 journal will still see the usb stick but not be able to open it.
 
 That's interesting... I used to use the USB slots on the right hand
 slide of my XO.
 They should be identical. Better make use that you don't have a broken
 hardware. :)
   
The lower right hand USB port has problems on one of my G1G1's
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Update of activities over the web

2007-12-22 Thread Gerard J. Cerchio
I have noticed that PlayGo is listed as an activity on the Austria 
download site. I think this great, but I have one problem: Updating the 
activity.

The browser called open routine that is connected to the open button 
does not update the activity to the latest version that is downloaded.

In fact, before the the update happens I must remove the activity from 
the start bar, delete the activity directory and reboot in order to get 
the new version of the activity to install.

Is the open button going to be more robust?

Should the activity check the git repository for updates and update 
itself? Is there a library for this?

-Gerard


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


Laptop debug

2007-12-20 Thread Gerard J. Cerchio
Hi All,

Do the XO's ship with the serial/USB debug adapter?

If not, how do I get one?

-Gerard


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


Re: Laptop debug

2007-12-20 Thread Gerard J. Cerchio
Rafael, I saw that page, you mean if I want one I build it from the PDF's??

Rafael Enrique Ortiz Guerrero wrote:


 On Dec 20, 2007 12:16 PM, Gerard J. Cerchio [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi All,

 Do the XO's ship with the serial/USB debug adapter?


 no


 If not, how do I get one?


 you can see this for reference.
  
 http://wiki.laptop.org/go/Serial_adapters

 HTH 


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




 -- 
 Rafael Enrique Ortiz Guerrero
 One Laptop Per Child
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

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


Re: Hippo Canvas

2007-12-20 Thread Gerard J. Cerchio
Benjamin M. Schwartz wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Gerard J. Cerchio wrote:
   
 Sorry to say that I am having a terrifically hard time trying to use the 
 hippo canvas.
 

 hippocanvas is sort of deprecated.  Initially, hippocanvas was to be the basic
 building block for all Activities, but it proved too immature to be used
 everywhere.  Instead activity developers are encouraged to use the standard 
 GTK
 components.  However, hippocanvas does provide some features that are 
 difficult
 or impossible with standard GTK, as used by Chat and a few other Sugar 
 elements.
  Therefore, it is included in the build.

 You should only use hippocanvas if you know that what you are doing would be
 more difficult without it.

 For your case, I recommend plain Cairo instead.

 - --Ben
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFHaqxEUJT6e6HFtqQRAjSTAJ9MM+pum4Vrc3JlAPltiElTl5UzuwCfYAw9
 flH6iLtdu4N+xw4ow6jsyL4=
 =tylP
 -END PGP SIGNATURE-


   
So now marked in the Wiki...
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Activity Icon design question

2007-12-15 Thread Gerard J. Cerchio
Hi all,

I am thinking about using 9 different icons for the PlayGo Activity.

The icon will reflect the number of handicap stones that the black 
player starts with.

The icon will have from 1 to 9 black dots on the board star points.

This could be used to offer people games in the neighborhood so that the 
joining person knows the limit if the handicap stones the initiator will 
offer.

Two questions:

   1. Is it possible for sugar to set and propagate a change in the
  activity icon?
   2. Is the concept of a morphing activity icon withing the HIG?

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


Re: Active activities as Widgets

2007-11-30 Thread Gerard J. Cerchio
Ties Stuij wrote:
 I must admit I didn't check your code but i found playing on a 19x19
 board in Hikaru no go on a GBA quite doable. And that has a 240x160
 screen!! I strongly suggest offering a 19x19 option, even if it is a
 bit less clear. The game gets a lot more interesting with the
 size-upgrade.

 /Ties
 

   
Thanks Ties, It comes up in 19x19.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Active activities as Widgets

2007-11-30 Thread Gerard J. Cerchio
Eben Eliason wrote:
 There are some activities where the chat is an integral part of the
 participants' experience. In my case, chatter during the Go game may be
 nonexistent to multiple lines of interactive tutorial per move to
 razzing and praise from any of the observers. This is why I plan to have
 a mute button that mutes all chat from observers. Unchecked, the button
 allows kibitzing from all XO's in the buddy panel that joined the PlayGo
 activity.
   

 Well, the exact implementation isn't well defined at this point.
 Obviously it's advantageous to be able to chat and work/play at the
 same time.  Doing this generically is hard because the screen is
 rather small and there is no place where such a chat window can always
 be positioned such that it isn't in the way.  The overlay idea,
 fullscreen or not, is the best general purpose solution we have so
 far.  Perhaps if we gain compositing support it can work somewhat like
 growl on OSX; perhaps a global keystroke will initiate a new chat
 bubble so to speak, so that joining in the conversation doesn't
 require clicking a button on screen or shifting contexts.  We're not
 sure the details yet, but the more seamless we can make it the better.

   
 Obviously you gain the most real-estate for the chat this way.
 However, this also cuts off the activity completely, if only
 temporarily, which may not be what we want in the end.  I think
 something slightly lighter would be desired.  The question remains as
 to whether or not it is repositionable, since we have yet to introduce
 the idea of windows.

 Obviously the push-to-talk method mitigates this problem, since the
 interface for such a system requires one onscreen button, or even
 one well known shortcut.
   
I would like to see the OLPC retain its non-windowed presentation style. 
I have run into people that have no idea how many windows are running. 
When they do not see the browser, they simply start another one, 
ignoring Z order and minimized applications. Don't laugh, my wife and I 
are the ISP for our condo complex and we have a few service calls along 
these lines. Given the OLPC environment, fixed frames and whole screen 
activity switching makes a lot of sense. So if I am performing an 
activity that does not require chat and wish to reference a colleague on 
line, hitting F3 and choosing the chat application is not offensive at all.

For those activities that require chat, the interaction should happen in 
the context of the application's display structure. I am lucky that my 
particular application is square, this lends the rest of the rectangle 
to the buddy panel, which has the list of the participants in the upper 
half with the lower half containing the chat window. I am just finishing 
the basic game communications and will be moving on to the game player 
negotiation and setups this weekend.  I am resisting tabbing the tool 
bar for these tasks if at all possible to prevent my square Go board 
from getting any smaller.

I have been reviewing the code in the chat application and given the 
abilities of the dbus do not feel that text messages will add all that 
much complexity to the application. My original query was not as much 
having a chat window in my activity but more of a Delphi like component 
that I could drop into the buddy panel weld into my existing tubes and 
be done with chat.
 I think there's something to be said for activities which don't
 require much oomf.  I think the do one thing, do it well mantra is a
 good one, and one that might apply here.  The screen is small, so
 dedicate as much space as possible to the board, which has a large
 number of squares.  There is very limited RAM and CPU on these
 machines, so just because your game doesn't eat too much doesn't mean
 you should assume it will be reasonable to consume a significant
 amount of these for add-ons, not to mention greatly increase network
 activity.  I'm not sure that a multi-way video conference is even
 feasible yet.

   
I have now become anxious about whether the 19x19 go board is feasible 
on the OLPC. The game does have 9x9 and 13x13 modes of play. But the Go 
world considers these less than optimal. There will be quite some time 
before I get my G1G1's and only have sugar-jhbuild to run on. Is it 
possible for anyone reading this to download the basic frame and report 
if the 19x19 grid is usable?  You may find it at 
https://dev.laptop.org/git?p=projects/PlayGo;a=tree

Thanks

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


Re: Active activities as Widgets

2007-11-30 Thread Gerard J. Cerchio
Yoshiki Ohshima wrote:
   Well, I know that I can make a user document with a running movie
 clip, real time view-finder of camera, spectrum analysis of audio
 input, and a user-scripted simulation going at the same time
 on B4 (4-5 fps is not so great though). 

   These widgets are running in the same address space but that is
 offset by some facts such as Etoys display model is not optimal, our
 code for playing movie, copying bits of video frames to make the
 player a real end-user scriptable object, FFT are not optimized, etc.
 It should be possible to provide an ok experience for most of the time
 and I was not talking unrealistic rant, I believe.

 -- Yoshiki
 ___
   

Yoshiki,

I am properly admonished and shall hold my performance speculations 
until my machines arrive.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Active activities as Widgets

2007-11-29 Thread Gerard J. Cerchio
Marco Pesenti Gritti wrote:
 On Nov 29, 2007 9:30 AM, Bert Freudenberg [EMAIL PROTECTED] wrote:
   
 On Nov 29, 2007, at 9:15 , Morgan Collett wrote:

 
 Sugar will gain a feature called overlay chat, once we've got higher
 priority collaboration stuff completed, which will automagically add
 chat functionality to any (sugarised, python) activity.
   
 I thought this was intended to be a feature similar to the frame (and
 actually summoned by the frame key), layered on top of the activity,
 so it actually would work for *all* activities, Python or not.
 

 Definitely, it would have to work for all the activities.
   

Not quite what I had in mind, so I'll go ahead with my chat widget and 
publish a wiki page on it.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [spam] Re: Active activities as Widgets

2007-11-29 Thread Gerard J. Cerchio
Eben Eliason wrote:


 Can you elaborate on the inadequacies you see in this design?  It
 would be useful as we move forward with considerations for the
 ubiquitous chat interface.  Unless specifically necessary to the
 activity in some fashion, we'd prefer to depend on this interface,
 preventing the need for individual activities to implement custom
 solutions which can come at a loss of consistency and a gain in
 activity size and duplicated code.

 - Eben


   
There are some activities where the chat is an integral part of the 
participants' experience. In my case, chatter during the Go game may be 
nonexistent to multiple lines of interactive tutorial per move to 
razzing and praise from any of the observers. This is why I plan to have 
a mute button that mutes all chat from observers. Unchecked, the button 
allows kibitzing from all XO's in the buddy panel that joined the PlayGo 
activity.

This is not the functionality that I interpreted from Bert's comment:

   I thought this was intended to be a feature similar to the frame (and
   actually summoned by the frame key), layered on top of the activity,
   so it actually would work for *all* activities, Python or not.

   - Bert -

I may be wrong in interpreting the ubiquitous chat interface as a full 
screen overlay on top of the application where the child must either 
chat into the overlay or switch modes to play the game. Are you 
suggesting that the ubiquitous chat can be relegated to its own panel on 
the activity's screen so there is no mode switching between chat and the 
underlayed activity?  Would either of the two (or more) participants 
in the activity be able to mute observers? I find both of these 
functionalities fundamental to the activity experience and the tutored 
activity experience.

Also, being that most of the video processing is offloaded in the Geode, 
I look forward to morphing the chat panel into a video call to my Go 
opponent. The PlayGo application takes very little resource, so there is 
plenty of ommf left over to run the video call. It would be the next 
best thing to playing in the same room.

- Gerard


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


OLPC's ready for delivery

2007-11-28 Thread Gerard J. Cerchio
I just got the email announcing that the G1G1 will arrive before XMAS eve.

Is it possible that the technically adept could get a machine sooner so 
I can participate in the release debug?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Patent infringement lawsuit against OLPC in Nigeria

2007-11-27 Thread Gerard J. Cerchio
Call me too wary, but discussing these things in the open on the 
developer's list may
provide information that lawyers may further find as fodder.

nick knouf wrote:
 On Nov 27, 2007, at 4:49 PM, Richard Dobson wrote:
   
 José Antonio wrote:
 
 There is no intelectual property.

 Patents and copyright are just monopoly granted by state. Period.

 As any monopoly, this kind of monopoly cause damages to society.

 Why Exxon and AtT can't do monopoly, and Micorsoft and Warner can?
   

 I definitely agree with you; unfortunately there are lawyers that can  
 make one's life very difficult because of these existing laws...

   
 In any case, I can't see what their case is. Their product (as clearly
 presented on their web site) uses two pairs of shift keys, left and
 right sides of the keyboard, to access multiple extra characters.  
 The XO
 does not do this, as far as I can see.
 

  From my reading of the press release, it seems as if they are  
 claiming infringement in drivers that come with the XO; that the XO  
 contains code that interfaces with their proprietary keyboard  
 design.  I don't know enough about the product to know if their extra  
 shift keys are simply coded as extra modifier keys, which would seem  
 to make their claim of intellectual property quite shaky indeed.   
 Even so, any case, if it were to go to trial, would likely be  
 draining in terms of financial resources for OLPC, not to mention the  
 potential for bad press.

 nick
 ___
 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: Consistent sound

2007-11-24 Thread Gerard J. Cerchio
Mike,

This looks like 1000% more than what I was suggesting and I am all for it.

I would like to make a implementation suggestion. To keep this all 
simple I suggest the student use a naming convention either directly to 
the sound files or as symbolic links to the sound files in a single 
sound localization directory. so emote( laugh, 6 ) would play the sound 
file linked to laugh.6.wav in the the localization directory. Of course, 
the type of media file would be able to vary to anything there are 
standard players for in the OLPC. So laugh.6.gif would be selected if 
the machine was in silent mode. Perhaps if the laugh.gif is just a 
single simple image the intensity can do a animation with the image to 
indicate the intensity.

Mike C. Fletcher wrote:
 The basic concept seems to be that of a system notification, as seen
 on all modern desktops.  We'd need to integrate with Sugar and Bitfrost,
 and implement the generic emotional notifications for games and the
 like, but otherwise the implementation should be quite familiar.  That
 should make it fairly straightforward to implement.  I have a request
 from a consulting course at U of T to act as a client on a project for
 one of their students.  I'll propose this as the project if people are
 amenable.

 Assumptions:

 * DBUS Interface
   o This lets non-python activities use the same interface
   o Python wrapper can be provided
   o A pipe-level interface might also be useful for games
 written by new coders (open pipe, write happy 2.5s\n)
 * Sugar Control Panel extensions to customise the sound-scape for
   each user (just think how quickly many people just *have* to shut
   off the Windows start sound)
   o Alternately, a GUI on the daemon that allows for customisation
 * Visual Notification options when muted
   o For the deaf/hard-of-hearing/classroom use
 * Severely restricted environment for the daemon/service
   o Access to sound files, preferably just those in the default
 set(s) plus those explicitly loaded by the user into the
 application's work-space via the configuration tool
   o Access to sound hardware
   o Access to current volume setting (read-only, likely)
 * Support Localisation for default sound-sets
 * Classic Notification Set (window actions, system
   startup/shutdown, that kind of thing)
   o Likely taken from an existing free-software system to start
 quickly
 * Emoticon Notification Set (emotional content, e.g. for games) with
   intensity setting
 * Sound implementation(s)
   o GStreamer sources
 + OGG files
 + Wav files
   o CSound scores
 * Visual notification implementation
   o Will require some coordination with the Sugar peoples to
 provide a non-obtrusive overlay notification mechanism

   

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


Vexed with an Eclipse PyDev problem

2007-11-24 Thread Gerard J. Cerchio
Are the any Eclipse Pydev users in the house? 

I have a problem with the Pydev not recognizing parts of the Python objects.

For instance:

if gtk.gdk.keyval_name(event.keyval)

yields the error:

Undefined variable from import: keyval_namePlayGo/src
widgettest.pyline 131195852124690178

Yet the program executes just fine. I system update tool updated my 
pyGTK on my stock Fedora 7 and when I ask the python 2.5 that comes up 
in the the shell for the method keyval_name, it is there in help(). This 
is the python 2.5 that I set  Pydev using in Window-preferences. Here 
are a few notes on how I setup eclipse: 
http://wiki.laptop.org/go/User:Gcerchio.diary

So why isn't PyDev finding all the parts of my stock objects? Could it 
be finding an older PyGTK on the machine for the IDE and using the newer 
one for execution?

Any Pointers would be greatly appreciated, my O'Reily Python library 
does not arrive till next week.

Gerard J. Cerchio



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


Re: Vexed with an Eclipse PyDev problem

2007-11-24 Thread Gerard J. Cerchio
Gerard J. Cerchio wrote:
 Are the any Eclipse Pydev users in the house? 

 I have a problem with the Pydev not recognizing parts of the Python objects.
   
As per the usual, public announcements of ignorance, immediately 
followed by RTFM discovery :(

http://wiki.laptop.org/go/User:Gcerchio.diary


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


wwj

2007-11-24 Thread Gerard J. Cerchio
I thought today's Wall Street Journal article was brutal, does Murdock 
already have control?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Consistent sound

2007-11-19 Thread Gerard J. Cerchio
Hi,

I am just beginning to get involved with the OLPC so please forgive me 
if this topic is already covered. I am also new to python so my learning 
curve is somewhat steep.  I am attempting to build a go game activity 
starting with the connect_activity. I would like to produce sounds for 
various game play events such as victory, loss, atari, etc.  I would 
also like the sounds the child hears from the OLPC be consistent and 
culturally appropriate. I would posit that if all the activities made 
consistent utterances to the child, the value of the OLPC learning 
experience would be enhanced.

I would like to suggest a way to give a this consistent localized sound 
personality to the OLPC through the csound object.

I propose that there be a simple csound method:

emote( emotion, intensity )

where

emotion is a string index into a table of localized sounds
intensity is an integer that regulates the degree of the emotion

Sample emotion strings would be:

win - produces a reward sound appropriate to the locale
lose - opposite of win
yes - indicate acceptance
no - opposite of no
warn - indicate more thought may be required
approval - encourage
disapproval - discourage

The intensity may select a different sound or if the table lacks 
multiple intensities may just adjust volume.

The goal of the object is to give activity designers a sound palate that 
is localized to the cultural of the child.

In c++ I would use an enumerator for the emotion parameter, however it 
appears python lacks enumerators. Is there a better python/sugar 
methodology that would simplify the interface to the sound selection?


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