Asaf Paris Mandoki | 1 Sep 03:03
Picon

Re: [Physics] New features

> I hope all that olpcgames/pygame wrapper stuff doesn't bite us too hard ;-)
From Mike C. Fletcher's email it seems we may be better of without it.
I'm not quite sure what real advantage does it give us.

> It's likely going to be the end of the week before I can spend much time on
> Physics.
Ok, don't worry.

>I can see the need for a "World" tab,
> and "Material" tab, so that we don't overload on too many features all at
> once (i.e a young kid could ignore World and Material tabs, and just get on
> with building things as they do now).
We could also think of a "Tools" tab were we can put all the data
acquisition tools such as the trail tool and maybe the save/clear
background options, also we could have the background "paper" move in
some direction so some sort of plots can be made. (This is just a soup
of ideas)

>
>> I was also thinking on another new feature. What about joint's
>> displaying the tension they're in by changing their color?
>
> Ooh, yes I like that one, colour would be good, black --> red? Have you had
> a look at the old Bridge Activity? It did this for the "rivet" colour.
I may have seen It. I also saw it in another Bridge Building Game.

http://www.crypticsea.com/images/bbg1.jpg

>
>> We could even break the joints if tension is too high.
(Continue reading)

Caroline Meeks | 1 Sep 03:09
Favicon

Fwd: [Question #81566]: Can't boot MacBooks at GPA from CD + USB

Has anyone seen a "Not Responding" error when booting with a CD helper?


Also, I'm trying out the LaunchPad Questions functionality to see if this could be a front door where people put in various issues then we triage them to bugs/FAQs etc.

---------- Forwarded message ----------
From: Caroline <question81566 <at> answers.launchpad.net>
Date: Mon, Aug 31, 2009 at 8:28 PM
Subject: [Question #81566]: Can't boot MacBooks at GPA from CD + USB
To: cmeeks <at> sugarlabs.org


New question #81566 on Sugar on a Stick:
https://answers.launchpad.net/soas/+question/81566

http://www.youtube.com/watch?v=ir1A3FH08kQ

I've been able to boot with a CD and USB other macbooks, such as those at LGF. I've never seen this error before.

Anurag is going to try a Sugar and Fedora CD tomorrow.

--
You received this question notification because you are a direct
subscriber of the question.



--
Caroline Meeks
Solution Grove
Caroline <at> SolutionGrove.com

617-500-3488 - Office
505-213-3268 - Fax
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Mike Lee | 1 Sep 03:40
Picon
Gravatar

Re: Local Collaboration with an ethernet bug 1113

Another small data point:

I just tried with a brand new Linksys 5-port Workgroup Switch cabled to an Intel Classmate 2 and Asus EeePC 701 running Sugar Strawberry from USB flash drives. There were no other connections to the hub, and I did not connect to wifi. I shared Write and Chat from the EeePC, but the shared activities did not come up on the Neighborhood view of the Classmate. Repeating same from the Classmate, showed nothing on the EeePC.

Connecting to my open wifi access point, the EeePC linked to the jabber server and I saw a lot of people in the neighborhood view. The Classmate 2 did not connect to the Jabber server, nor could it see my shared sessions of Write and Chat. Both laptops, however, could surf the web via Browse.

I have not tried all the diagnostics suggested earlier in this thread but will attempt some of them.

Mike


On Sun, Aug 2, 2009 at 9:16 PM, Caroline Meeks <caroline <at> solutiongrove.com> wrote:
Please point me to the documentation a sysadmin would need to read to know how to set up local collaboration and how it works.

Thanks,
Caroline


On Sun, Aug 2, 2009 at 12:25 PM, Tomeu Vizoso <tomeu <at> sugarlabs.org> wrote:
[re-adding sugar-devel to CC]

On Sun, Aug 2, 2009 at 17:09, Caroline Meeks<caroline <at> solutiongrove.com> wrote:
> Hi,
> I think anyone with 3 computers, 3 sticks and a cheap hub could try to
> replicate.  no need to be local.

Why do you think that any computers and any cheap hub will display the
same behavior? Collaboration on link-local (server-less) works for me
always on the limited networking setups I have available.
Even if it's the same product from the marketing POV, differences on
the parts, firmware and configuration can cause link-local
communication work or not work.

Without a local person who can use the same equipment you use, I don't
know how we are going to be able to help you with this, even if we buy
what we think is the same equipment.

> I was not connected to the internet.  My use case is classrooms and booths
> where no wired internet access is available but we want to allow people to
> collaborate locally.

This requires that the computers involved are in the same link-local
segment. Do you know if that setup fulfils this requirement?

Regards,

Tomeu

> Thanks,
> Caroline
>
>
> On Sun, Aug 2, 2009 at 10:08 AM, Tomeu Vizoso <tomeu <at> sugarlabs.org> wrote:
>>
>> On Sun, Aug 2, 2009 at 16:05, Caroline Meeks<caroline <at> solutiongrove.com>
>> wrote:
>> > Hi,
>> > This is an important priority for GPA for Sept.  Its also something we
>> > want
>> > to work for conferences and expos where we demo.  Any ideas?
>> > For the GPA School I would like to set up 4-6 computers in the back of
>> >  classrooms. We may well not have internet to the classroom so I'd like
>> > the
>> >  cluster to collaborate locally with each other.
>> >
>> >  I tested this at an Expo I went to recently. I had 4 laptop and I
>> >  connected them with ethernet cable to a netgear ethernet switch.  They
>> > did
>> >  not see each other :(
>> >
>> >  How can I make this work?
>>
>> We need someone with enough technical knowledge to communicate and
>> help with debugging. Do you have someone with such profile near you we
>> can work with?
>>
>> Regards,
>>
>> Tomeu
>>
>> > --
>> > Caroline Meeks
>> > Solution Grove
>> > Caroline <at> SolutionGrove.com
>> >
>> > 617-500-3488 - Office
>> > 505-213-3268 - Fax
>> >
>> > _______________________________________________
>> > Sugar-devel mailing list
>> > Sugar-devel <at> lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >
>> >
>
>
>
> --
> Caroline Meeks
> Solution Grove
> Caroline <at> SolutionGrove.com
>
> 617-500-3488 - Office
> 505-213-3268 - Fax
>



--
Caroline Meeks
Solution Grove
Caroline <at> SolutionGrove.com

617-500-3488 - Office
505-213-3268 - Fax

_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Art Hunkins | 1 Sep 04:05
Favicon

Re: Fwd: [Question #81566]: Can't boot MacBooks at GPAfrom CD + USB

FWIW, on a WinXP system of mine, a helper CD I made and booted from, completely ignored my SoaS and booted into Windows.
 
Not very encouraging. I'm finding that quite a few systems I have around here don't have a USB boot option. I've a feeling that most systems more than 4 years old or so fit into this category. 
 
Art Hunkins
----- Original Message -----
Sent: Monday, August 31, 2009 9:09 PM
Subject: [Sugar-devel] Fwd: [Question #81566]: Can't boot MacBooks at GPAfrom CD + USB

Has anyone seen a "Not Responding" error when booting with a CD helper?

Also, I'm trying out the LaunchPad Questions functionality to see if this could be a front door where people put in various issues then we triage them to bugs/FAQs etc.

---------- Forwarded message ----------
From: Caroline <question81566 <at> answers.launchpad.net>
Date: Mon, Aug 31, 2009 at 8:28 PM
Subject: [Question #81566]: Can't boot MacBooks at GPA from CD + USB
To: cmeeks <at> sugarlabs.org


New question #81566 on Sugar on a Stick:
https://answers.launchpad.net/soas/+question/81566

http://www.youtube.com/watch?v=ir1A3FH08kQ

I've been able to boot with a CD and USB other macbooks, such as those at LGF. I've never seen this error before.

Anurag is going to try a Sugar and Fedora CD tomorrow.

--
You received this question notification because you are a direct
subscriber of the question.



--
Caroline Meeks
Solution Grove
Caroline <at> SolutionGrove.com

617-500-3488 - Office
505-213-3268 - Fax

_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Gary C Martin | 1 Sep 04:16

Re: [Physics] New features

Hi Asaf,

On 1 Sep 2009, at 02:03, Asaf Paris Mandoki wrote:

>> I hope all that olpcgames/pygame wrapper stuff doesn't bite us too  
>> hard ;-)
> From Mike C. Fletcher's email it seems we may be better of without it.
> I'm not quite sure what real advantage does it give us.

I know what you mean –mental reminder I need to reply to his prompt  
email!. There's a heap of scary things going on in olpcgames I don't  
fully understand, and without knowing pygames well enough, I'm not too  
sure of all the fine points of how the wrapper is actually helping us,  
I'm sure it is helping in many... Could take us a while to untangle,  
but might well be worth it (at some point).

OT: Mikes original intention was (I think) to provide a library so  
that you could include it to quickly wrap any old pygame developed  
code into (and under) basic Sugar activity code. It might be better  
just to create a clean/simple (as possible) pygame template Activity,  
that anyone can then clone and drop their pygame code into (like Tomeu  
template efforts for Gnash and Qt). The current case of including of  
multiple layers and wrappers gets pretty confusing trying to track  
down who is actually doing what.

>> It's likely going to be the end of the week before I can spend much  
>> time on
>> Physics.
> Ok, don't worry.
>
>> I can see the need for a "World" tab,
>> and "Material" tab, so that we don't overload on too many features  
>> all at
>> once (i.e a young kid could ignore World and Material tabs, and  
>> just get on
>> with building things as they do now).
> We could also think of a "Tools" tab were we can put all the data
> acquisition tools such as the trail tool and maybe the save/clear
> background options, also we could have the background "paper" move in
> some direction so some sort of plots can be made. (This is just a soup
> of ideas)

We could likely get away with most of these in the "World" tab  
(treating the page canvas that gets drawn onto as part of the world).

> I was also thinking on another new feature. What about joint's
>>> displaying the tension they're in by changing their color?
>>
>> Ooh, yes I like that one, colour would be good, black --> red? Have  
>> you had
>> a look at the old Bridge Activity? It did this for the "rivet"  
>> colour.
> I may have seen It. I also saw it in another Bridge Building Game.
>
> http://www.crypticsea.com/images/bbg1.jpg

Have a quick look at:

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

It was another one of my "someone should really rescue this and  
actually finish it" list ;-) Maybe now we've sharpened our teeth on  
Physics...

>>> We could even break the joints if tension is too high.
>>
>> We could. But perhaps save this for when we have more material  
>> controls else
>> where, quick thought is that once we have a "Materials" tab, there  
>> would be
>> radio buttons for solid links (the default), and breakable links...  
>> (and
>> could we manage a 3rd elastic/stretchy links in the code? That's  
>> another
>> nice way to store potential energy in a contraption).
> I agree on this.
>
>> P.P.S. Did you like the attempt at illustrating longitudinal wave
>> prorogation? It's a but more tricky to set-up than the transverse  
>> wave
>> example, as you need to get the spacing right to see a nice  
>> longitudinal
>> wave propagate before the energy is too dissipated.
>>
>>        http://wiki.sugarlabs.org/go/File:Physics_longitudinal_waves.png
>
> Really nice, would like to see it moving. Maybe I haven't been paying
> enough attention to the mailing list but how can people share their
> creations? Is there a way we can put the data files on the wiki so
> they can be easily downloaded and opened with the activity?

Well if you are running Sugar 0.84 (or better), if I can catch your  
buddy name and "friend" it on jabber.sugarlabs.org I can send you any  
of these right from my Journal with just a couple of clicks! All  
thanks to Tomeu's wonderful "send to --> friend" feature. I now  
routinely round trip Journal objects from UK --> jabber.sugarlabs.org  
--> back to UK again, between 3 machines here. You can send .xo  
bundles like this to...

We might also be able to upload to a web server (if it knows about the  
physics MIME type, might have to ask Bernie about that for the  
SugarLabs wiki), but be warned, that upload/download path is fairly un- 
tested and needs a good thrash out before I'd recommend. Hopefully  
some improvements might land in 0.86 (Browse) but it's still a misty  
road.

Regards,
--Gary
Art Hunkins | 1 Sep 04:25
Favicon

Re: F11 for XO1 - Fonts

I've developed a way to handle fonts both on the XO-1 and on SoaS that fits 
text nicely, on fixed pages, to all-sized screens.

I've written up this material immediately below, and invite everyone's 
critique. I'd particularly be interested in any example cases in which it 
would not work. I'm assuming that all monitor ratios will fall in the range 
of from slightly less than 4:3 up to 16:9 (wide-screen format).

If the consensus is that the material would be worth posting on the Sugar 
wiki, I will do that - and I'd appreciate suggestions as to where would be 
the most appropriate place.

Also, if it would help for me to forward (to the sugarlabs list) one of the 
text-based .xo's I've developed, in order to facilitate testing, I'd be 
happy to do so.

Art Hunkins

Fixed-Screen Text Formatting for Sugar (XO-1 and SoaS)

Formatting text for the various-sized screens that are used with 
Sugar-on-a-Stick, is a tricky proposition. The activities I am developing 
are text-based, requiring only buttons, spinners, frames and boxes 
otherwise. They are intended to fit on a single screen, with no scrollbars. 
The challenge is to create a text layout that looks pretty much the same on 
all screens. (Typical screen ratios vary from slightly less that 4:3 up to 
16:9 [wide-screen].)

There are two problems: 1) choosing the right font size to fill screens 
similarly as width varies; 2) adjustment for different width-to-height 
ratios (4:3, 16-9 and everything in between). This latter boils down to a 
variable number of text rows.

The issue is complicated by the fact that while the XO-1 is a normal 4:3 
ratio, it doesn't count pixels the way SoaS does. As far as font size is 
concerned, the XO-1 must be treated as its own special case.

I have pretty much solved these knotty problems by incorporating the code 
below, as well as by following this plan:

1) Compose my basic screen (4:3) on the native XO-1.

2) Copy it to SoaS and make sure it looks good on a 4:3 non-XO system. (My 
desktop monitor is a bit less than 4:3, which is, I think, the lowest ratio 
you'll find.)

3) Add to the script a "16:9 alternative," reducing the number of text lines 
so that everything fits on this size screen. (I used an asus eeePC900 
netbook here.)

4) Test my SoaS script on other screen formats.

The code:

import os

width = gtk.gdk.screen_width() # determine screen dimensions

height = gtk.gdk.screen_height()

if not os.path.exists("/sys/power/olpc-pm"): # test for XO-1; leave XO-1 
alone

settings = gtk.settings_get_default() # non-XO code begins

size = width * .0125 # font size is a function of screen width

settings.set_property("gtk-font-name", " %s " % size) # set font size

if (height * 1.35) > width: # examine width-to-height ratio

# code for 4:3 (or less) ratio screen; same as native XO-1 (4:3)

else:

# code for > 4:3 up to 16:9 ratio screens (reduced number of lines)

----- Original Message ----- 
From: "Daniel Drake" <dsd <at> laptop.org>
To: "Art Hunkins" <abhunkin <at> uncg.edu>
Cc: "Martin Langhoff" <martin.langhoff <at> gmail.com>; 
<sugar-devel <at> lists.sugarlabs.org>; <fedora-olpc-list <at> redhat.com>
Sent: Tuesday, August 18, 2009 1:19 PM
Subject: Re: [Sugar-devel] F11 for XO1 - Fonts

> 2009/8/18 Art Hunkins <abhunkin <at> uncg.edu>:
>> I'm thoroughly confused and frustrated.
>>
>> My POV: I'm authoring an Activity *today*. I'd like it to look good on 
>> all
>> XO and (other) Sugar on a Stick screens (monitors) *today*.
>
> I think you're out of luck then.  You could detect the XO somehow and
> choose a good setting that works there, but as for all of the SoaS
> machines in the world, they all have different displays and there
> isn't going to be one default setting that looks good on them all
> (hence our discussion of making this customizable by deployers and
> users). Unless you want to place a personal guarantee that you'll
> purchase any display that any SoaS user is ever possibly going to use,
> before they use it. and even then you aren't considering the quality
> of the users eyesight or the distance they will sit from the monitor.
>
>> I am lukewarm at best to having a user option in Control Panel to make 
>> font
>> size smaller or larger. (Please count me as a -1 for this suggestion.) 
>> For
>> *my* activity, this would only allow kids to make text too small to read, 
>> or
>> possibly overflow the screen
>
> If the user clicks "make text smaller" to the point where the font is
> too small to read then that's their problem, not yours, and they'll
> hopefully realise that they can fix the situation by clicking the
> "make text bigger" button.
>
> If they make it so big that you run out of space in your activity, you
> could dynamically add scroll bars.
>
> If it really is important that you fill the screen with text without
> scroll bars, then your activity would be an exceptional case that
> ignores the Sugar font size setting, and instead dynamically
> calculates the font point size needed to make the text fill the screen
> nicely.
>
>> Basically, I strongly feel that *authors* - not users, not the system
>> (including upstream), nor even deployments - should determine their basic
>> screen layouts. "One size" certainly does *not* fit all; and any/all
>> defaults should be overridable by authors in their scripts. It should be 
>> the
>> *author's* responsibility to make their activities look right on various
>> monitors.
>
> I disagree. This is an impractical responsibility to pass on. However,
> activity authors can of course render any graphics that they like, at
> any size, including fonts. They do not have to obey the font sizes
> suggested by Sugar, as is the situation now (sugar provides one font
> size in the GTK+ RC and another in profile.py but you can actually use
> any font size that you want).
>
> Daniel 
Bill Bogstad | 1 Sep 04:52
Picon
Favicon

Re: Fwd: [Question #81566]: Can't boot MacBooks at GPAfrom CD + USB

On Mon, Aug 31, 2009 at 10:05 PM, Art Hunkins<abhunkin <at> uncg.edu> wrote:
> FWIW, on a WinXP system of mine, a helper CD I made and booted from,
> completely ignored my SoaS and booted into Windows.
>
> Not very encouraging. I'm finding that quite a few systems I have around
> here don't have a USB boot option. I've a feeling that most systems more
> than 4 years old or so fit into this category.

I've been working on a floppy boot helper which has its own USB stack.
 It should be adaptable to
a CD helper as well, if you are interested.

Bill Bogstad
Daniel Drake | 1 Sep 04:59
Favicon

Re: F11 for XO1 - Fonts

2009/9/1 Art Hunkins <abhunkin <at> uncg.edu>:
> I've developed a way to handle fonts both on the XO-1 and on SoaS that fits
> text nicely, on fixed pages, to all-sized screens.

It seems to me like you have this working on 2 screen sizes, but it
certainly won't apply to them all.
You seem to make assumptions like that if 50 characters at a specific
font size can fit on a screen that is 600 pixels wide, then 100
characters will fit on a screen that is 1200 pixels wide. And that's
not how displays and font sizes work.

The number of lines that can fit on a screen (at a certain font size)
does not depend on the aspect ratio, it depends on the physical size
of the screen.

The correct way to do this is to render the fonts and measure the
resultant number of pixels occupied by them, then dynamically adjust.
You can discover the approximate size of a character of a font (in
pixels) to seed the process. Pango provides you all you need to do
this.

Daniel
Picon

[Karma] "Karma" component on dev.sugarlabs.org

Hey everyone,


we recently started talking about the need to track some of the issues and proposed features in Karma and we were thinking that using dev.sugarlabs.org might be a good way to get us started.

So would it be possible to add a "Karma" component to d.s.o for that purpose?

Thanks,
Christoph

--
Christoph Derndorfer
co-editor, olpcnews
url: www.olpcnews.com
e-mail: christoph <at> olpcnews.com
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Asaf Paris Mandoki | 1 Sep 08:51
Picon

Re: [Physics] New features

On Mon, Aug 31, 2009 at 9:16 PM, Gary C Martin<gary <at> garycmartin.com> wrote:
> Hi Asaf,
>
> On 1 Sep 2009, at 02:03, Asaf Paris Mandoki wrote:
>
>>> I hope all that olpcgames/pygame wrapper stuff doesn't bite us too hard
>>> ;-)
>>
>> From Mike C. Fletcher's email it seems we may be better of without it.
>> I'm not quite sure what real advantage does it give us.
>
> I know what you mean –mental reminder I need to reply to his prompt email!.
> There's a heap of scary things going on in olpcgames I don't fully
> understand, and without knowing pygames well enough, I'm not too sure of all
> the fine points of how the wrapper is actually helping us, I'm sure it is
> helping in many... Could take us a while to untangle, but might well be
> worth it (at some point).
>
> OT: Mikes original intention was (I think) to provide a library so that you
> could include it to quickly wrap any old pygame developed code into (and
> under) basic Sugar activity code. It might be better just to create a
> clean/simple (as possible) pygame template Activity, that anyone can then
> clone and drop their pygame code into (like Tomeu template efforts for Gnash
> and Qt). The current case of including of multiple layers and wrappers gets
> pretty confusing trying to track down who is actually doing what.
>

This might be relevant:
http://wiki.sugarlabs.org/go/Development_Team/Project_Ideas#SugarGames_Pygame_wrapper

> Well if you are running Sugar 0.84 (or better), if I can catch your buddy
> name and "friend" it on jabber.sugarlabs.org I can send you any of these
> right from my Journal with just a couple of clicks! All thanks to Tomeu's
> wonderful "send to --> friend" feature. I now routinely round trip Journal
> objects from UK --> jabber.sugarlabs.org --> back to UK again, between 3
> machines here. You can send .xo bundles like this to...

I'll be paying attention to may neighborhood.

Greetings,
Asaf

Gmane