Re: XENified images for XO

2008-04-12 Thread Jeremy Fitzhardinge
Dennis Gilmore wrote:
 On Thursday 10 April 2008, Marcus Leech wrote:
   
 Has anyone done any work on building XENified images for XO?

 I'm interested in this for building a large-scale virtualized XO
 environment for testing purposes.

 The other option is to run the XO image in HVM mode, but that limits
 which processors
   I can use to host such a thing.

 Cheers
 

 The work to do this is not trivial. however,  im working on moving us to a 
 Fedora-9 base.  in doing so we should rebase the kernel.  I understand 
 dilinger has done alot of work to make sure we will be able to use 2.6.25  We 
 should work with him to make sure that paravirt support in 2.6.25  is turned 
 on.
   

I'm the maintainer of the paravirt-ops Xen support, so tell me if 
anything needs doing to make this work.

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


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

2008-03-10 Thread Jeremy Fitzhardinge
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.
   

Great!  I've been playing with chipmunk on the XO a little bit, but 
nothing really to show off.  I was a bit disappointed in the speed of 
the standard pymunk demo on the XO, but I wasn't sure if it was the 
physics or just rendering which was slow.  What kinds of frame rates are 
you seeing?

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


Re: Open Simulator with Physics Engine

2008-02-15 Thread Jeremy Fitzhardinge
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?

   

I've been looking at using Chipmunk (a 2D physics library: 
http://wiki.slembcke.net/main/published/Chipmunk) to do a simple 
activity which allows the user to draw shapes freehand, and then have 
them physically simulated.  By choosing different pens, you can draw 
either fixed, rigid or flexible shapes.  People have already developed 
similar programs using chipmunk, and the demo videos are very 
interesting.  Unfortunately they seem to be under closed licenses.  
Besides, a Sugar version would be most interesting with some kind of 
mesh multiuser component, which would probably significantly change how 
the program evolves.

I've done some very early prototypes on the XO, mostly by running the 
Chipmunk test program.  It was surprisingly slow; I looked at optimising 
chipmunk to use 3dnow, but I suspect the bottleneck is in actually 
rendering (I have not profiled it properly).  I was hoping to use Cairo 
for rendering, but it seems to be a bit too slow for smooth animated 
rendering.

I was hoping to put together and announce something simple for people to 
poke at in the next week or two.

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


Re: Open Simulator with Physics Engine

2008-02-15 Thread Jeremy Fitzhardinge
Gary C Martin wrote:
 Just wanted to chip in with a thought of a simpler activity sim type  
 that could be a low hanging fruit to port or code for the XO. I do  
 love the idea of 'crayon physics' and all the other physics sim  
 spinoffs that are all the fashion just now, but a lot of fun/ 
 exploration can be had with some the old school sandbox type  
 simulations.

Yes.  The thing I like about crayon is that its immediately accessible, 
and its obvious what's happening; a few minutes of experimentation will 
tell you everything you need to know about making things, and yet 
there's a fairly large range of interesting things you can achieve.  
There's no distinction between modelling and simulation, aside from 
having a pause button.  But from that base you can easily envisage 
adding more complex types of items like linkages and motors to allow 
more flexiblity.

  Some of the examples at the below URL are way over  
 developed/cluttered (too many material types, unnecessary additions  
 etc), but a more careful design would make a good, single and multi  
 user sharable activity:

   http://fallingsandgame.com/viewtopic.php?t=1875
   

Yes, these kinds of literal sandbox games are fun too...

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


Re: Update.1 testing

2008-01-20 Thread Jeremy Fitzhardinge
Jeremy Fitzhardinge wrote:
 ok flash n:\boot\q2d09.rom
 Reading n:\boot\q2d09.rom
 Got firmware version: CL1  Q2D09  Q2D
 Checking integrity ...
 AC not present
   

Duh.  I just realized this is referring to the fact that its not plugged 
into mains power rather than anything to do with the Checking 
integrity... line.  I guess there's always a way to misinterpret the 
plainest message.

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


Re: Update.1 testing

2008-01-20 Thread Jeremy Fitzhardinge
Mitch Bradley wrote:
 Jameson Chema Quinn wrote:
   
  
 Simple. Put the manual install instructions in 
 http://wiki.laptop.org/go/Manual_Firmware_Install and then, in
 each relnotes page add {{:Manual_Firmware_Install}}, which will
 include the text of that page in the one it is as a template in.

 If you want to be even cooler, in Manual_Firmware_Install, put the
 tags onlyinclude and /onlyinclude on the stuff that you want
 to be included.


 I've done this - and, even cooler, I used a template parameter so that 
 you can have the instructions refer to the right version, like this: 
 {{:Manual_Firmware_Install|version=q2d09}} .
 
 Thanks, that will make it easier to maintain new versions of the page.

I'm not having much success with these instructions.  I downloaded 
q2d09.rom into /versions/boot/current/boot, rebooted into OFW and typed 
flash n:\boot\q2d09.rom as the instructions say.  However I get:

ok flash n:\boot\q2d09.rom
Reading n:\boot\q2d09.rom
Got firmware version: CL1  Q2D09  Q2D
Checking integrity ...
AC not present
ok
  

Am I missing something here?  I also downloaded q2d09.rom.{sha1,md5,asc} 
to the same place just in case, but it didn't make a difference.

Thanks,
J

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