Re: Emulating 8.2-767
This is great. Thank you so much for making this work in VMWare again. Most of the stuff I tried worked just like on my XO. Record sort of works with the iSight on my iMac (the full preview is black, but it still records video). Also, olpcgames seems confused about the screen size, so Maze is rendered too large. I'll see if I can track this down. It would be great if VMware hosted this image on their Virtual Appliance Marketplace http://www.vmware.com/appliances/index.html They already have pre-made images for Ubuntu, Fedora, openSUSE, OpenSolaris, etc. I didn't see a way to upload new images, but maybe I missed it. -josh On Dec 3, 2008, at 8:43 AM, Bert Freudenberg wrote: Hi everyone, even with XOs readily available now there are quite a lot of reasons why one would want to emulate it on another machine. One being to hook up a projector. Unfortunately there are quite a number of hoops (*) one has to jump through to make it work. Anyway, I made a virtual machine that allows me to emulate the XO on my Mac, running Sugar in the XO's native 1200x900 resolution, scaled down to a nice physical size in a window an my regular screen (fullscreen works too). Sound works (even Tam Tam), Browse works (so networking is good, although I don't see anyone in the neighborhood). Camera and mic are not working (Measure crashes, Record shows blank picture), and a Sugar restart does not actually restart Sugar, but apart from that it seems fully functional, and much nicer than the emulations I had used to date. These are live-sized screenshots (calibrated using the Ruler activity): http://dev.laptop.org/~bert/Ruler-emulated.png http://dev.laptop.org/~bert/Home-emulated.png http://dev.laptop.org/~bert/Journal-emulated.png http://dev.laptop.org/~bert/TamTamMini-emulated.png And here you can get that virtual machine (665 MB, 2 GB unzipped): http://dev.laptop.org/~bert/VMWare-Fusion-8.2-767-bf.zip This is for VMWare Fusion on the Mac, which I found to be much better at running Linux clients than Parallels (I had been using that for 2 years). Give it a try, it's free as in beer for 30 days. No I don't get paid if you buy it. If you extract the disk image from the zip file it might work in VMWare on Windows. Maybe someone can make an appliance from that. (*) Now to the hoops: * I started with the 767/ext3 image from http://download.laptop.org/xo-1/os/official/ * extended to 2 GB by appending /dev/zero (jffs2 compression gives roughly 2 GB too) * enlarged the partition to full 2 GB (using fdisk and ext2resize) * mounted that in a Fedora 10 virtual machine * copied over the F10 kernel, initrd, and modules (olpc kernel wanted AMD instructions) * edited grub.conf to use that kernel * and appended a root=/dev/sda1 kernel arg (the fedora kernel wants to use LVM otherwise) * unmounted * created new virtual machine (that disk, 1 CPU, 256 MB RAM, NAT networking) * booted into that new system * installed Perl (for vmware tools installer) * installed vmware tools (to get the X driver) (but none of the kernel modules, would need make/gcc/etc.) * deleted Perl (to restore the default sw environment) * copied the existing xorg-vmware.conf to xorg.conf (to get 1200x900 resolution w/ 200 dpi) * booted into Sugar (looks really nice so scaled down) * installed activities (took a long time, maybe it's my DSL) * tested a bit * rm -r ~olpc/.sugar (to remove my personal data) * should have deleted sshd host keys, too, but didn't * shut down * zip * upload * ... * ... * ... * still no profit? ;) Enjoy. And maybe remove some of the obstacles in future releases (a disk image with headroom and a standard kernel would be simple to do and go a long way). - Bert - ___ 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: XO full
On Nov 12, 2008, at 11:33 PM, C. Scott Ananian wrote: On Thu, Nov 13, 2008 at 2:14 AM, Joshua Minor [EMAIL PROTECTED] wrote: My daughter's XO is full, but mine has over 400 GB free. Both laptops are running 767. I ran 'du -sk|sort -n' in various places starting at / and as far as I can tell the difference is that her /versions/ pristine is twice as large as mine (roughly 1GB instead of 500MB). How can I free up some space for her? /versions/pristine is filled with hardlinks, so I'd take the results of du -sk with a huge grain of salt. I would expect that /home/olpc/.sugar would be the big size difference between the two. Can you post the results of 'ls /versions/pristine'? --scott Hers (full): 0c3deafeab44a959a0e2e18c5c2092e9 60ab7dd13168405e4f9207c48a452a5a Mine (not full): 5cb011fd465a5793ce12df8064f6790d 60ab7dd13168405e4f9207c48a452a5a Her /home/olpc/ is actually smaller than mine (350MB vs 435MB) My theory is this: I have run olpc-update more often on my machine, so there are fewer differences between the active OS and the fallback one. On hers, for instance, the fallback OS still has /usr/share/ activities/ with a full set of G1G1 2007 activities while mine doesn't. If my theory is correct, then maybe she can run olpc-update to go back to something just prior to 767 and then forward to 767 again... does olpc-update let you go backwards? -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO full
On Nov 15, 2008, at 10:23 AM, [EMAIL PROTECTED] wrote: joshua wrote: On Nov 12, 2008, at 11:33 PM, C. Scott Ananian wrote: On Thu, Nov 13, 2008 at 2:14 AM, Joshua Minor [EMAIL PROTECTED] wrote: My daughter's XO is full, but mine has over 400 GB free. Both laptops are running 767. I ran 'du -sk|sort -n' in various places starting at / and as far as I can tell the difference is that her /versions/ pristine is twice as large as mine (roughly 1GB instead of 500MB). How can I free up some space for her? /versions/pristine is filled with hardlinks, so I'd take the results of du -sk with a huge grain of salt. I would expect that /home/olpc/.sugar would be the big size difference between the two. Can you post the results of 'ls /versions/pristine'? --scott Hers (full): 0c3deafeab44a959a0e2e18c5c2092e9 60ab7dd13168405e4f9207c48a452a5a Mine (not full): 5cb011fd465a5793ce12df8064f6790d 60ab7dd13168405e4f9207c48a452a5a Her /home/olpc/ is actually smaller than mine (350MB vs 435MB) My theory is this: I have run olpc-update more often on my machine, so there are fewer differences between the active OS and the fallback one. On hers, for instance, the fallback OS still has /usr/share/ activities/ with a full set of G1G1 2007 activities while mine doesn't. If my theory is correct, then maybe she can run olpc-update to go back to something just prior to 767 and then forward to 767 again... does olpc-update let you go backwards? yes. and that might work fine. i assume she also has a full complement of activities under /home/olpc/Activities. if she doesn't anticipate going back to the fallback, then free free to do an rm -rf of the usr/share/Activities under her fallback tree. they're not needed to run the fallback OS, and she's not using them now. if you're worried, you could remove everything but Terminal. (and maybe Journal, if that's in there, but i don't think it is. i can't remember.) paul Thanks that worked great. Yay! -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
XO full
My daughter's XO is full, but mine has over 400 GB free. Both laptops are running 767. I ran 'du -sk|sort -n' in various places starting at / and as far as I can tell the difference is that her /versions/ pristine is twice as large as mine (roughly 1GB instead of 500MB). How can I free up some space for her? -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC-Games] Computer vision on the XO: what it is. what should it be?
On Jul 22, 2008, at 7:43 PM, Nirav Patel wrote: 2. Play pong with your hand: Have the user step out of the field of view of the camera, save the image. Now threshold between the saved image and the images currently being captured. This results in just showing the differences between the two (like the user, who has now stepped back into the field of view). Turn the image into a bitmask and check it for collisions with the bitmask of the ball in pong. Actually, now that I'm thinking about it, I'll probably write this game when I get home. I wrote a pong game that does this. You don't even need to step out of the frame first. I just look at differences from one frame to the next. This has the advantage that it continues to work when the camera is bumped (often the case when jumping around playing pong in front of a laptop) or when the lighting conditions change. The only drawback is that the ball won't bounce off of you when you are absolutely still. This rarely happens when actually playing. http://lux.vu/blog/2006/07/30/video-pong/ -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: ssh key update IMPORTANT security advisory please read
Can you clarify whether keys generated on an XO need to be regenerated or not. -josh On May 15, 2008, at 6:40 AM, Dennis Gilmore wrote: On Thursday 15 May 2008, Henry Hardy wrote: Debian has published a recent security advisory regarding a documented weakeness in the Debian openssl key generation procedure: [DSA 1571-1] New openssl packages fix predictable random number generatorhttp://news.gmane.org/find-root.php?message_id=% 3c87od7az9v4.fsf% 5f%5f2780.18743633783%241210681384%24gmane%24org% 40mid.deneb.enyo.de%3e http://article.gmane.org/gmane.linux.debian.security.announce/1614 Accordingly we are changing the host keys on all Ubuntu and Debian systems. Users should be prepared to accept the new host keys. Additionally, ALL USERS MUST generate new private/public keypairs using the patched ssl-keygen or equivalent (such as putty-keygen) and replace the public key in their ~/.ssh/authorized_keys file. This applies to users with accounts on crank, pedal, teach, grinch and all other Debian or Ubuntu boxes. If you need help, please open a ticket by emailing [EMAIL PROTECTED] with your new pub key or a link to it. Please specify which machines on which you have accounts in the message. thanks, --HH. users only need to create new keys if you created your key using a debian based system. keys generated on Fedora or other linux's or unix's are not susceptible and don't need replacing. This also brings up the need to use something like fas https://fedorahosted.org/fas/ which would easily allow users to change their own passwords and ssh keys. as well as simplify user management and make it easy to grant access to different hosts. Dennis ___ 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: More Planning Thoughts
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
Re: New Activity Proposal -- Your voice on XO
This is an awesome idea. A couple of people have contacted me to ask how to add new voices to Speak. It would be great to make this process easier. Have you actually tried the existing process for adding a voice? -josh On Apr 4, 2008, at 5:58 PM, Alex Escalona wrote: Hi Everyone, I just created a page on the OLPC wiki detailing my activity proposal--Your voice on XO. I hope to develop this activity via GSoC 2008. A brief abstract of my proposal follows. This is a proposal for the creation of a new activity for the XO that would advance localization efforts in TTS development, as well as promote the involvement of the local community overall. Your voice on XO would consist of a long-term, community-based project to build and/or further development of a synthetic voice for the language used locally (for more on synthetic-voice building, see http://www.festvox.org/bsv/p710.html , and http://espeak.sourceforge.net/add_language.html). This activity would entail integrating the voice-building capabilities of eSpeak, or perhaps Festival, into Sugar on the XO, as well as working to facilitate synthetic-voice building in a classroom, or community setting (for an overall view of how the voice building process might proceed, see http://www.cstr.ed.ac.uk/emasters/summer_school_2005/tutorial3/tutorial.html) . Your feedback and comments are much appreciated! Best, Alex Escalona (vergueishon on OLPC wiki, IRC) ___ 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: Project name : Maze is finally set up!
Yay! Thanks Henry. On Mar 25, 2008, at 8:54 AM, Henry Hardy wrote: Tue, 11 Dec 2007 23:56:17 -0800 (! --HH), Joshua Minor [EMAIL PROTECTED] wrote: 1. Project name : Maze Done (finally! sorry this got buried at bottom of old tickets!!) Your tree is here: git+ssh://[EMAIL PROTECTED]/git/activities/maze Please follow instructions here for importing your project: http://wiki.laptop.org/go/Importing_your_project Let us know if you have any problems with your tree. Happy hacking. Cheers, -- Henry Edward Hardy [EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Opening Browse programatically
Thanks. It works now. In case anyone else wants to do this, here's what I ended up with: def open_url(self, url): Ask the journal to open an URL for us. from sugar import profile from shutil import rmtree from sugar.datastore import datastore from sugar.activity.activity import show_object_in_journal from tempfile import mkdtemp tmpfolder = mkdtemp('.tmp', 'url', os.path.join(self.get_activity_root(), 'instance')) tmpfilepath = os.path.join(tmpfolder, 'url') try: tmpfile = open(tmpfilepath, 'w') tmpfile.write(url) tmpfile.close() os.chmod(tmpfolder, 0755) os.chmod(tmpfilepath, 0755) jobject = datastore.create() metadata = { 'title': url, 'title_set_by_user': '1', 'buddies': '', 'preview': '', 'icon-color': profile.get_color().to_string(), 'mime_type': 'text/uri-list', } for k, v in metadata.items(): jobject.metadata[k] = v # the dict.update method is missing =( jobject.file_path = tmpfilepath datastore.write(jobject) show_object_in_journal(jobject.object_id) jobject.destroy() finally: rmtree(tmpfilepath, ignore_errors=True) # clean up! -josh On Mar 9, 2008, at 3:27 PM, C. Scott Ananian wrote: On Sun, Mar 9, 2008 at 1:18 PM, Joshua Minor [EMAIL PROTECTED] wrote: I made an activity wrapper for the interactive fiction interpreter Frotz. I want to have a button in the toolbar called Get More Games that opens a web page where you can download z-machine files. It looks like Chat lets you copy links to the clipboard and you can open them from there. I'll try that for now. You can also ask the journal to open a link for you. Look at how Pippy/Browse handle the 'show source' key. For security reasons, we don't let activities directly invoke other activities. Mediating the interaction with the journal ensures that the child's interaction is involved. --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC-Games] Physics with Python and Pygame (Chipmunk 2D Physics Engine)
Chris, this is most excellent! I have a demo activity written in C/C++ that uses the same underlying engine, box2d, and SDL for drawing. I wanted to port it to python, so I spent several hours over the past week trying to use SWIG to make some python bindings for box2d - with minimal success - so I am very relieved to see that this hard work has already been done :) It should be easy to port the activity over to use pymunx. In fact I've just bundled together a starting point using olpcgames this evening. Here is the C/C++ based one: http://lux.vu/olpc/physics-sdl.xo press 'w' to toggle wireframe for speed press 1, 2 or 3 for different scenes (mixer, piston, pong) click and drag to move stuff around press escape to quit Here is the pymunx-based starting point: http://lux.vu/olpc/physics.xo click to make circles This should give everyone an idea of what sort of frame rates are possible. -josh On Mar 9, 2008, at 7:35 PM, Chris Hager wrote: Hey all. Recently I did some research on 2D (SDL) physic engines, and found that one of the most popular (called Chipmunk) with python bindings (pymunk) recently got an update. I had a look into it, and am totally amazed :) The chipmunk engine is easy, stable, fast, fun, open-source -- and now it's getting really possible to use it with python and especially pygame. To support these efforts I've started writing a little API class (called pymunx), to make it even easyier to implement pymunk physics in pygame. Screenshots of the examples and a documentation I've put in the wiki: http://wiki.laptop.org/go/Pymunx http://wiki.laptop.org/go/Pymunx/Documentation It supports x,y gravity, elasticity, mass, density, friction, inertia -- it is possible to draw polygons by hand, ... And it is real fun to try :) (especially demo6 and demo7). So, long talk little action... let's have a look now: svn checkout http://pymunk.googlecode.com/svn/trunk pymunk-read-only This download includes: - precompiled chipmunk libs - pymunk bindings - pymunx api class - lot of demos I think this physics implementation could be interesting for a variety of purposes. Games (of course), Screensavers, but also for Simulations and in educational and playful-learning meanings. I'm quite hooked on playing with demo6 and 7 (elasticity) -- and learned a lot about physics in the last days :) Any feedback is welcome! Chris ___ Games mailing list [EMAIL PROTECTED] http://lists.laptop.org/listinfo/games ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Opening Browse programatically
I want to make a button in my activity that opens a particular URL with Browse. I found some code like this: activityfactory.create_with_uri('org.laptop.WebActivity', url) but that doesn't seem to work properly. It tries to open Browse, but throws an exception when trying to create a log file. Oddly, this does work if I run my activity via sugar-launch, but not from the frame. Is there another way to do this? -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Opening Browse programatically
I made an activity wrapper for the interactive fiction interpreter Frotz. I want to have a button in the toolbar called Get More Games that opens a web page where you can download z-machine files. It looks like Chat lets you copy links to the clipboard and you can open them from there. I'll try that for now. -josh On Mar 9, 2008, at 8:06 AM, Tomeu Vizoso wrote: On Sun, Mar 9, 2008 at 10:41 AM, Joshua Minor [EMAIL PROTECTED] wrote: I want to make a button in my activity that opens a particular URL with Browse. I found some code like this: activityfactory.create_with_uri('org.laptop.WebActivity', url) but that doesn't seem to work properly. It tries to open Browse, but throws an exception when trying to create a log file. Oddly, this does work if I run my activity via sugar-launch, but not from the frame. Is there another way to do this? As Marco said, we cannot do this currently. But perhaps you could explain what you are trying to do and perhaps someone could think of some alternative? Thanks, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Detecting the native locale
I'm trying to make Speak pick its default accent based on the native language of the laptop (per Walter's request http://dev.laptop.org/ticket/6656 ) This is a bit different from normal localization - although I need to do that also - because it is not just replacing strings. My guess is that I can just look at the environment variable $LANG and pick an accent with a similar ISO 639 language code. Can anyone confirm that using $LANG is appropriate for this? Also, aside from just setting $LANG to something else, how can I test that this actually works? -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Detecting the native locale
Great. This seems to be working. I've updated Speak to v5. -josh On Mar 8, 2008, at 8:47 AM, Walter Bender wrote: $LANG should do the trick. If you want to experiment, try using sugar-control-panel to set the language. -walter On Sat, Mar 8, 2008 at 10:42 AM, Joshua Minor [EMAIL PROTECTED] wrote: I'm trying to make Speak pick its default accent based on the native language of the laptop (per Walter's request http://dev.laptop.org/ticket/6656 ) This is a bit different from normal localization - although I need to do that also - because it is not just replacing strings. My guess is that I can just look at the environment variable $LANG and pick an accent with a similar ISO 639 language code. Can anyone confirm that using $LANG is appropriate for this? Also, aside from just setting $LANG to something else, how can I test that this actually works? -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Walter Bender One Laptop per Child http://laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Detecting the native locale
There is a pulldown menu that lets you pick any accent that espeak supports (minus a few that don't produce sound). If you want to select one of those as your default, you can configure Speak any way you want (eyes, mouth, etc) and then press Keep. Resuming that entry in the Journal will restore those settings. -josh On Mar 8, 2008, at 11:50 AM, Ixo X oxI wrote: Although.. :) I would be really neat if this was settable as a user option, inside speak too. Example, In locale of US or UK, tune to speak with French accent or vice versa . :) Or in non-english locales, tune to english to learn english speaking ? -Ixo 2008/3/8 Joshua Minor [EMAIL PROTECTED]: Great. This seems to be working. I've updated Speak to v5. -josh On Mar 8, 2008, at 8:47 AM, Walter Bender wrote: $LANG should do the trick. If you want to experiment, try using sugar-control-panel to set the language. -walter On Sat, Mar 8, 2008 at 10:42 AM, Joshua Minor [EMAIL PROTECTED] wrote: I'm trying to make Speak pick its default accent based on the native language of the laptop (per Walter's request http://dev.laptop.org/ticket/6656 ) This is a bit different from normal localization - although I need to do that also - because it is not just replacing strings. My guess is that I can just look at the environment variable $LANG and pick an accent with a similar ISO 639 language code. Can anyone confirm that using $LANG is appropriate for this? Also, aside from just setting $LANG to something else, how can I test that this actually works? -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Walter Bender One Laptop per Child http://laptop.org ___ 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: storing Activity parameters
I implemented the save/load feature of Speak without fully understanding the other options. Now that I've seen the recent discussion about data vs instance vs the journal I think it would make more sense to have Speak save its state in a different way. On the other hand, the new frame redesign makes it much easier to resume an Activity, which would mean that parameters saved to the Journal, like Speak does now, would naturally be restored when you resume the Activity. A nice best practices document would be very handy. -josh On Mar 1, 2008, at 11:23 AM, Mikus Grinbergs wrote: There has been discussion of the use of the Journal, versus other places, to store information associated with an Activity. What I've noticed is that some Activities are now storing their parameters in the Journal. For instance, I prefer to change the shape of the eyes in 'Speak'. If I launch 'Speak' from the menu frame, it shows the default eye shape. If I launch 'Speak' from the Journal, it shows the eye shape I specified earlier. Personally, I would prefer having Activities store user-specified overrides someplace other than in the Journal. Then when a new 'instance' of the Activity gets invoked, it can come up looking the way the user likes it, not just with its built-in appearance. mikus ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Open Simulator with Physics Engine
I have played with PyODE, but not on the XO. http:// pyode.sourceforge.net/ I suspect that the XO would not be able to handle a realistic 3D simulation with a large number of objects. This is partially due to the lack of GL for rendering. Simpler things, like wireframe rendering, 2D simulation or small numbers of objects are certainly possible. Someone could port something like these: http://arkitus.com/Play/?id=22 http://arkitus.com/Play/?id=18 Soda or Moovl would make a *great* XO activity: http://sodaplay.com/ http://www.moovl.co.uk/ -josh On Feb 14, 2008, at 12:33 PM, Edward Cherlin wrote: Has anybody looked at this for the XO? http://opensimulator.org/wiki/PhysicsEngines The physics is not very realistic yet. Presumably we could manage simple statics and dynamics, with graphs of position, velocity, and acceleration. I would like to have a simulation engine available for integration into e-textbooks. What other candidates are there? -- Edward Cherlin End Poverty at a Profit by teaching children business http://www.EarthTreasury.org/ The best way to predict the future is to invent it.--Alan Kay ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 3 activities with system-name maze
It looks like this has been fixed now. http://wiki.laptop.org/index.php? title=Activitiesdiff=103441oldid=103206 I went to look to see how this happened, for fear that I had somehow done this by mistake. It looks like someone named Golfscout checked in a new version of the JigsawPuzzle-1_20071030.xo file on December 23rd with the Maze.activity bundle in it. http://wiki.laptop.org/go/Media:JigsawPuzzle-1_20071030.xo#filehistory The wiki says that person has no contributions: http:// wiki.laptop.org/go/Special:Contributions/Golfscout so I'm not sure what happened or why. As for the name conflict between Maze and GCompris-Maze... I picked the name Maze naively. Since GCompris pre-dates Maze I'm happy to rename Maze to Labyrinth or something like that, but I'd like to understand the details of the name conflict before I do. I thought that only bundle_id needed to be unique. -josh On Jan 30, 2008, at 12:22 PM, Walter Bender wrote: I think that the JigSaw bundle linked to from the activity page is altogether wrong. It should be Jigsaw, not Maze. I'll try to find the proper link. -walter On 1/29/08, Chris Hager [EMAIL PROTECTED] wrote: Hey all, I just wanted to inform you, that we have 3 Activities with the system name maze (specified in activity.info). They are: 1. Maze 2. Jigsaw Puzzle 3. GCompris-Maze I'm not sure what impact it may have on Journal, Sugar or removing the bundles, there are some issues with xo-get, as it removes activities by their system names. Maybe it's possible to give them more distinct names than just maze (except for 'maze' of course :)... Regards from Vienna, Chris http://xo-get.olpc.at/repository/ http://xo-get.olpc.at/repository/xoget.xml ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Walter Bender One Laptop per Child http://laptop.org ___ 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: Speak activity and speech synthesisor
Speak uses the speech synthesizer espeak which includes support for adding languages. Here is a place to start: http://espeak.sourceforge.net/add_language.html You may want to contact the espeak developers directly. Their contact info is at the top of this page: http://espeak.sourceforge.net/ -josh On Jan 28, 2008, at 9:36 PM, David Leeming wrote: I am interested in how to localise the XO for our Pacific Islands region in terms of the Speak activity and speech synthesis generally. Most languages here are phonetic with each letter being pronounced, so it should be simple. Any pointers to how to do this would appreciated. David Leeming Technical Advisor, People First Network Honiara, Solomon Islands, South Pacific ___ 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: multilingual googletalk
This is awesome. Coincidentally, I just spent a few hours last night experimenting with adding machine translation to Speak via Moses ( http://www.statmt.org/moses/ ) but I was frustrated by the size of the phrase tables. Having a service on the network for translation would be an excellent alternative. I wonder about their terms of service, and whether they would be willing to provide this as a free service to all XO users. -josh On Jan 25, 2008, at 11:29 AM, Todd Kelsey wrote: Hi - you may already know about this but evidently as of mid december you can now invite chat bots into googletalk, in order to have instant messaging conversations with people in different languages. (widget version also supports group chat). --- http://www.worldwidelexicon.org/original/2080.html --- http://googletalk.blogspot.com/2007/12/merry-christmas-god-jul- and.html --- I do not have the technical expertise to know how to implement gtalk on the xo but would be interested in doing some tests or participating in a multilingual classroom connection as part of my phd dissertation. Multilingual IM on the xo would be a dream come true. Perhaps it might work through the integrated gtalk in gmail or iGoogle. (I don't know as I don't have my g1g1 yet). -- Todd Kelsey Sunflower seed harvest time: http://sunflowerreport.blogspot.com 1000 Year Reunion (Poem) | http://welcome.cftw.com Free Music by Me for You (mp3): http://www.cftw.com/music About Me/CFTW | http://docs.google.com/Doc? docid=dhbxftbn_35f5b46bhl=en Fascinating for me to sit here and realize the interplay and influence that music can have -- it is a part of my life, yet I haven't continued as I could, partly out of thinking there are more important things. but it has it's place. i am sitting at olpc offices, and someone is playing pink floyd, and I think music is a gift of creativity that can inspire an atmosphere of creativity, and the range of such echoes is infinite. - Me ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
New activity: Speak
Hi everyone, I made a new activity called Speak. It is a talking face for the XO laptop. Anything you type will be spoken aloud using the XO's speech synthesizer, espeak. You can adjust the accent, rate and pitch of the voice as well as the shape of the eyes and mouth. This is a great way to experiment with the speech synthesizer, learn to type or just have fun making a funny face for your XO. I hope you like it. http://wiki.laptop.org/go/Speak Thanks to Arjun Sarwal, Hemant Goyal and Bernardo Innocenti for their advice while making this. Also, if anyone has experience or ideas on how to get access to espeak's per-phoneme timing data from python, please let me know. -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New activity: Speak
On Jan 10, 2008, at 11:23 AM, Edward Cherlin wrote: On Jan 10, 2008 1:27 AM, Joshua Minor [EMAIL PROTECTED] wrote: Hi everyone, I made a new activity called Speak http://wiki.laptop.org/go/Speak This is wonderful, because it will allow children to experiment with language, not just type in normal text. :) In espeak, phoneme sets and orthographies can be added for any language. Do you support this? Speak calls the espeak command line tool to query the available languages as well as to generate the audio, so any new or changed voices in espeak will show up in Speak automatically. It does filter out the Mbrola voices because they don't actually produce sound. I plan to experiment with calling espeak via their API but I will make sure to avoid any limitation on the set of languages. Can this or the Screen Reader project be adapted to reading content, such as the children's picturebooks provided in the Library? (We would presumably need a text file to go with each document.) I think that it would be a great boost for child and adult literacy both if little children could sit on their parents' or grandparents laps and have the XO read them both a story. XO is the new Teddy Ruxpin :) I was thinking of adding a toolbar tab to allow for some sort of game/ story/lesson modes. It would be cool if someone could write a plugin/ extension for a guessing game, story reader, spelling game (ala TalknType) or something like that. I have also considered wrapping Speak into a reusable component so other activities could add a talking face easily. I'm not sure of the best way to do this. In that same vein, would anybody be interested in creating a karaoke activity? Same-language captioning of Bollywood musicals is claimed to be the most effective literacy measure in India. That would be awesome! Also, if anyone has experience or ideas on how to get access to espeak's per-phoneme timing data from python, please let me know. -josh Do you want to do that while running, or would a precomputed table meet your needs? I would like to get callbacks for each phoneme while the voice is playing, so that I can shape the mouth correctly for each one. If done well, this could be a nice visual cue to help understand the voice. I would also have to rework how espeak is wired up to gstreamer. Right now I have espeak write out a wav file and then I play that back via the gst module. I wasn't able to get them piped together in a reliable way. Specifically when I run espeak --stdout and then attach that to a gst pipeline that starts with an fdsrc, it only works once. I was not able to restart or rebuild a new pipeline to speak another sentence. -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New activity: Speak
On Jan 10, 2008, at 8:57 AM, Eben Eliason wrote: This is pretty fantastic. I've enjoyed playing around with it. I'm glad you like it :) One simple change that I think would add a lot is some color. More specifically, the XO uses a two-tone (stroke fill) color scheme as a form of visual identity. ... Another nice touch would be to make the eyes follow the carat while typing, instead of remaining focused on the mouse Two great ideas. Adding color will be super easy. I can make a toggle between black/white and the user's colors. Is there a kid- friendly sugar or gtk color picker, like the box-of-crayons one on the Mac? That would let them play with the colors too. I'll see if I can get access to the carat location easily. Finally, a subtle but wonderfully effective technique that a professor of mine often used for characters with eyes is to periodically return the pupils to the center of the eyeball. This creates a sort of dialogue between the character and the child, as it appears that the he is interested both in the movement of the cursor and in the individual moving it. Neat! I want to make the eyes blink at random also. -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO emulation?
I have had great success using vmware. Download an image file from here: http://dev.laptop.org/pub/virtualbox/ (I have been using build 653) and then open it with vmware. I also tried qemu and virtualbox, but vmware was by far the easiest to get going. -josh On Jan 9, 2008, at 10:31 AM, Kent Loobey wrote: My XO is on order and I don't know when it will arrive. I have filled my main system up with crap trying to get an XO emulator to work. I now have a system just for XO emulation. So which OS/QEMU/VM works best. I am really tired of working on this problem. I want to get on with XO development. Any suggestions will be appreciated. ___ 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: Project hosting application - TalknType
On Jan 3, 2008, at 7:16 AM, Tom Hannen wrote: 1. Project name : TalknType 2. Existing website, if any : http://wiki.laptop.org/go/TalknType Tom, this is very cool. I might be able to help out also. I made this toy that might go well with your spelling game. It is a front end to espeak that looks like a face. You can type and it will speak back to you. The mouth is the audio waveform (borrowed from Measure). http://wiki.laptop.org/images/7/7e/Speak-1.xo -josh ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Clock?
Great. This will be perfect. For now I've set mine manually via ntpdate and hwclock. Thanks everyone. -josh On Dec 22, 2007, at 4:49 AM, C. Scott Ananian wrote: On Dec 22, 2007 3:07 AM, Bernardo Innocenti [EMAIL PROTECTED] wrote: Joshua Minor wrote: Is it reasonable to assume that the XO's clock is set correctly? Specifically I'd like to use python's time.time() to determine which participant of an activity has been using it the longest. A NetworkManager callout could set it, but it seems we're not doing it yet. It's done in joyride and will be done in update.1, but not in ship.2 builds. trac #3359. --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Project Hosting request: Maze
1. Project name : Maze 2. Existing website, if any : http://lux.vu/blog/2007/12/11/one-maze-per-child/ 3. One-line description : A multiplayer maze game. 4. Longer description : A multiplayer maze game that uses the olpcgames : module and pygame. : : 5. URLs of similar projects : 6. Committer list Please list the maintainer (lead developer) as the first entry. Only list developers who need to be given accounts so that they can commit to your project's code repository, or push their own. There is no need to list non-committer developers. Username Full name SSH2 key URLE-mail - -- #1 jminor Joshua Minor [EMAIL PROTECTED] #2 #3 ... If any developers don't have their SSH2 keys on the web, please attach them to the application e-mail. 7. Preferred development model [X] Central tree. Every developer can push his changes directly to the project's git tree. This is the standard model that will be familiar to CVS and Subversion users, and that tends to work well for most projects. [ ] Maintainer-owned tree. Every developer creates his own git tree, or multiple git trees. He periodically asks the maintainer to look at one or more of these trees, and merge changes into the maintainer- owned, main tree. This is the model used by the Linux kernel, and is well-suited to projects wishing to maintain a tighter control on code entering the main tree. If you choose the maintainer-owned tree model, but wish to set up some shared trees where all of your project's committers can commit directly, as might be the case with a discussion tree, or a tree for an individual feature, you may send us such a request by e-mail, and we will set up the tree for you. 8. Set up a project mailing list: [ ] Yes, named after our project name [ ] Yes, named __ [X] No When your project is just getting off the ground, we suggest you eschew a separate mailing list and instead keep discussion about your project on the main OLPC development list. This will give you more input and potentially attract more developers to your project; when the volume of messages related to your project reaches some critical mass, we can trivially create a separate mailing list for you. If you need multiple lists, let us know. We discourage having many mailing lists for smaller projects, as this tends to stunt the growth of your project community. You can always add more lists later. 9. Commit notifications [ ] Notification of commits to the main tree should be e-mailed to the list we chose to create above [ ] A separate mailing list, projectname-git, should be created for commit notifications [X] No commit notifications, please 10. Shell accounts As a general rule, we don't provide shell accounts to developers unless there's a demonstrated need. If you have one, please explain here, and list the usernames of the committers above needing shell access. 11. Translation [X] Set up the laptop.org Pootle server to allow translation commits to be made [ ] Translation arrangements have already been made at ___ 12. Notes/comments: This game might fill the role of a Maze Game Template as mentioned here: http://wiki.laptop.org/go/Game_templates Also, there is no text in the game by design, so only the title of the activity would need to be translated. I have only tested it under emulation. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel