Re: [OLPC-GSoC] [sugar] Summer of Code update, meeting tomorrow 2100 UTC

2008-03-24 Thread Chris Hager
Sorry, I forgot about it... Here it is :) http://linuxuser.at/download/irc_olpc_soc.txt - Chris Mel Chua wrote: I offered to clean up and post the notes if someone would email me a log (I was on web chat on a borrowed computer, and don't have logs of my own from the conversation).

Re: Face Detection and other Vision Processing (and some sample code)

2008-03-20 Thread Chris Hager
Nirav Patel wrote: I've been playing with vision processing stuff for the XO, mostly using OpenCV. I have some sample code up at http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face detection surprisingly quickly. It seems that the bottleneck isn't even the OpenCV Haar

physic engines speed tests

2008-03-18 Thread Chris Hager
Hey all, Josh and I now made some speed tests with both 2D physics engines - Box2D and Chipmunk - and here are some results. One warning though: The tests were made with Python, and for Box2D there's a library compiled with swig, whereas Chipmunk's interface is done with ctypes. This may

Re: physic engines speed tests

2008-03-18 Thread Chris Hager
Hey, I've now done speed tests with rectangles instead of balls, and here box2d is performing even better. http://wiki.laptop.org/go/Physic_Engines/Speed_Tests Jeremy Fitzhardinge wrote: Chris Hager wrote: Hey all, Josh and I now made some speed tests with both 2D physics engines

Re: physic engines speed tests

2008-03-18 Thread Chris Hager
Joshua Minor wrote: On Mar 18, 2008, at 9:48 AM, Chris Hager wrote: How do the physics models themselves compare? The only difference I noticed so far is that Box2D calculates in MKS (meter-kilo-seconds), and we have to do the translation to pixels by hand. I have noticed that Chipmunk

Image Recognition

2008-03-18 Thread Chris Hager
Hey all, The webcam on the XO sure has a lot of potential for cool killer apps. For example things with - Motion Tracking - Gesture Recognition - Face Recognition - Object Identification - ... Recently I came in touch with OpenCV (http://en.wikipedia.org/wiki/Opencv) -- it's a open source

Re: Update.1 activities download script

2008-03-17 Thread Chris Hager
Bert Freudenberg wrote: Xo-get does a lot more with its database of installed activities etc. Mine simply downloads and installs activities from the repository for supported activities. But I'd be happy if someone merged my script into xo-get, I do not intend to maintain it indefinitely.

Re: Update.1 activities download script

2008-03-17 Thread Chris Hager
Bert Freudenberg wrote: Xo-get does a lot more with its database of installed activities etc. Mine simply downloads and installs activities from the repository for supported activities. But I'd be happy if someone merged my script into xo-get, I do not intend to maintain it indefinitely.

Re: Update.1 activities download script

2008-03-17 Thread Chris Hager
/update-activities.py, and run it without parameters. Best, - Chris Chris Hager wrote: Sorry for posting twice here before, but somehow I didn't receive any devel and sugar mails for 2 days... Now seems to work again. :p I'm just about implementing the script into xo-get, and I was thinking

Re: New bible reading activity

2008-03-17 Thread Chris Hager
Todd Cranston-Cuebas wrote: Actually, I spent a good part of the weekend thinking about how I would respond to this thread. First, it's important to decide if OLPC want to be truly open. If open means sharing, collaborating, supporting, etc. then the BibleReader should definitely be

Re: [OLPC-Games] Phun source code [was: Re: Physics with Python and Pygame (Chipmunk 2D Physics Engine)]

2008-03-13 Thread Chris Hager
+ buoyancy and a more sophisticated solver. Another open-source alternative, Box2D, also has motors which Chipmunk does not. -josh On Mar 12, 2008, at 9:49 PM, Nicola Larosa wrote: Chris Hager wrote: PS: Phun seems to be interesting, but unfortunately it comes without source :( From

Re: [OLPC-Games] Physics with Python and Pygame (Chipmunk 2D Physics Engine)

2008-03-12 Thread Chris Hager
Hey, I've just finished making a xo bundle out of the physics thingy :) It's a selection of the 3 last demos (6, 7 and 8). With not too many objects, it's quite fun to play with :) Especially the drawing and behaviour of polygons is always again fascinating. The activity (and project) is now

Re: Physics with Python and Pygame (Chipmunk 2D Physics Engine)

2008-03-10 Thread Chris Hager
Hey. Chris Ball wrote: Hi, http://wiki.laptop.org/go/Pymunx Wow, how awesome! Do you have an XO to test on? Have you thought about releasing a standalone .xo, or throwing these into Pippy? What are the dependencies and disk usage like for the underlying chipmunk library Yeah, I

Re: drawing, structured graphics

2008-03-10 Thread Chris Hager
Victor Lazzarini wrote: Hi all, what would be the best bet for going about implementing structured graphics a-la Tkinter's canvas class in XO activities? Would it be PyCairo? or PyGTK (gtk/gdk)? also could anyone point to a PyGTK custom widget tutorial somewhere? I had a look at one in

Physics with Python and Pygame (Chipmunk 2D Physics Engine)

2008-03-09 Thread Chris Hager
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

3 activities with system-name maze

2008-01-29 Thread Chris Hager
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

Xo-get with GUI (pyGTK)

2008-01-21 Thread Chris Hager
Hey all! I am delighted to announce a graphical user interface for xo-get! Now it's possible to install, try and remove most available activities with a few simple clicks. Links: http://xo-get.olpc.at/xoget.xo http://wiki.laptop.org/go/Xo-get/Xo-get-gtk Xo-get is now using a central

Re: Xo-get with GUI (pyGTK)

2008-01-21 Thread Chris Hager
* Versioning I create a new bundle version at each release but how should I release the new bundles. How will your script handle that. As of currently, xo-get recognizes new gcompris activities with new urls. I could imagine some data-exchange as a way for better future interaction.

Re: Violent games on the OLPC Activities page

2008-01-18 Thread Chris Hager
Chris Hager wrote: Noah Kantrowitz wrote: I don't see why breaking this up by tags (some of which can be things like PG13) isn't a good enough solution. We all know kids will seek this stuff out no matter what, lets at least do it in a controlled way. The MPAA uses those

Re: Violent games on the OLPC Activities page

2008-01-18 Thread Chris Hager
Noah Kantrowitz wrote: I don't see why breaking this up by tags (some of which can be things like PG13) isn't a good enough solution. We all know kids will seek this stuff out no matter what, lets at least do it in a controlled way. The MPAA uses those ratings:

New PyGTK Tutorials

2008-01-17 Thread Chris Hager
Hey all. Jaume and I just had a pizza-and-beer coding session, and the outcome were two tutorials for creating Activities with PyGTK, one of them using Glade. = http://wiki.laptop.org/go/PyGTK/Hello_World_Tutorial We're using activity.py as a wrapper, which loads the code and GTK interface

Re: xo-get update

2008-01-16 Thread Chris Hager
Well, yes - that's a known problem... It was sort of related to an error in bundlebuilder, and that i haven't had enough time for hacking. Basically, xo-get can deinstall all Activities from which you have the source .xo file (exactly the one from the installation). Then you can pass the

Re: xo-get update

2008-01-15 Thread Chris Hager
gcompris' - Chris Walter Bender wrote: One could probably use xo-get to install all of the GCompris activities as well (See http://laptop.org/go/GCompris). regards. -walter On Jan 15, 2008 10:17 AM, Chris Hager [EMAIL PROTECTED] wrote: Hey all! I have updated xo-get to use http

Quantum cryptography on the xo laptop (24C3)

2008-01-01 Thread Chris Hager
Hey folks, crazy news: On Saturday 29.12.07, there was a successful 'entanglement based quantum key distribution' between two xo-laptops!! QKD is a quantum-cryptographic scheme to securely distribute correlated random numbers between the communicating parties. At the 24C3, we (sj and aaron,

Uniting the community's infrastructure

2008-01-01 Thread Chris Hager
Hi all! From now on, the channel #olpc-groups is open with the ambition to connect local communities from everywhere! I can imagine a lot of potential for collaborations, projects, problem solving and not-reinventing-the-wheel :) ! SJ and I have talked about the current status of the

xo-get news

2007-12-22 Thread Chris Hager
Hi, Here a few news about the latest xo-get updates: 1. Easy installation with 'wget xo-get.linuxuser.at' 2. Installation of the process watching tool with 'xo-get install pw' (http://wiki.laptop.org/go/Monitoring_System_Load) 3. 32 Activities ready to install

Re: Reducing pygame cpu-load to 4 %

2007-12-11 Thread Chris Hager
C. Scott Ananian wrote: I have patched Pippy's examples to follow best practices for pygame, so that the frame rate is limited to 20 FPS and games automatically pause and suspend after 20 seconds of inactivity. (These defaults can be overridden.) The patch is pullable from:

Reducing pygame cpu-load to 4 %

2007-12-09 Thread Chris Hager
Hi! Mcfletch and I have been talking about the heavy cpu-load of the wiki's pygame demo: 99%; and how to reduce it. We figured out, a combination of pygame.event.wait() and pygame.event.get() very good. That's the demo code; it takes less than 4% cpu (0.3% - 1.7% here): import sys import

.xo Package Manager, xo-get, xo_updater

2007-12-06 Thread Chris Hager
C. Scott Ananian wrote: On Dec 5, 2007 10:28 PM, Chris Hager [EMAIL PROTECTED] wrote: just finished a little coding session inspired by our olpc-austria meeting, and thought to share some news: 1. xo-get.py http://www.olpcaustria.org/mediawiki/index.php/Xo-get ... If you

change gettext language?

2007-12-03 Thread Chris Hager
hey! i'm working on the imagequiz, and have the following issue: * strings in the activity are translated via gettext * the questions themself are translated inside the database (it grows by submitted content) if a user chooses another language, i'd need to change the language gettext is

linkchecker script

2007-11-30 Thread Chris Hager
Hey! I've just written a simple linkchecker script in python, and thought someone could perhaps use it. It recurses through the links of a given domain and stays inside that domain. For found links it gives you the feedbacks: ok, outside, 404, https http://wiki.laptop.org/go/Linkchecker.py