Re: [IAEP] Looking for Montreal XO/Sugar users

2010-01-21 Thread Tabitha Roder
2010/1/21 Gerald Ardito 

> I have a classroom of 5th grade XO users and their teacher who are looking
> to become electronic pen pals with students in Montreal.
>

Hi Gerald
Any reason Montreal?
Tabitha
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] [SLOBS] [SLOBs] prep for Friday's meeting

2010-01-21 Thread Sean DALY
Per the last SLOBs meeting, and this mail
(http://lists.sugarlabs.org/archive/marketing/2010-January/002621.html)
cc'd to the SLOBs, I had reflected for some time on this and come to
the conclusion that it can't be done the way we want to do it without
approval - abuse will be too simple.

Aside from Walter, none of the SLOBs cc'd on that mail responded, I
ask the other SLOBs to please try to understand my position so we can
wrap this up. i will have new text to propose as well.

thanks

Sean


On Thu, Jan 21, 2010 at 4:58 AM, Chris Ball  wrote:
> Hi,
>
>   > Chris, not sure how well this matches up with your understanding,
>   > but my reading of what you wrote makes it appear to me as if
>   > they're the same.
>
> I like it!
>
> I don't think you need to ask_SLOBs() about any ",  with> " formulation -- my reading of 2(b) is that such a
> formulation (regardless of which  or  words
> are used) would not require written permission.
>
> So, here's a patch.  :)
>
> --- old 2010-01-20 22:56:35.0 -0500
> +++ new 2010-01-20 22:56:41.0 -0500
> @@ -1,6 +1,7 @@
>
>  if SL_software_bundled_as_distinct_component == True:
> - if name in acceptable_list:
> + if name in acceptable_list ||
> + name.matches(",  "):
>  return "Yes, you have clearance to use the marks."
>  else:
> - ask_SLOBs(",  ")
> + ask_SLOBs("")
>
>
> (I think the way to apply both patches to the draft is just to change
> "with prior written" back to "without prior written" in the preamble
> of §2.)
>
> Thanks,
>
> - Chris.
> --
> Chris Ball   
> One Laptop Per Child
> ___
> SLOBs mailing list
> sl...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/slobs
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] Looking for Montreal XO/Sugar users

2010-01-21 Thread Gerald Ardito
Tabitha,

One of the teachers has an affinity for the city, and Canada is part of the
5th grade social studies curriculum.
Did you have somewhere else in mind?

Thanks.
Gerald

On Thu, Jan 21, 2010 at 4:29 AM, Tabitha Roder wrote:

> 2010/1/21 Gerald Ardito 
>
>> I have a classroom of 5th grade XO users and their teacher who are looking
>> to become electronic pen pals with students in Montreal.
>>
>
> Hi Gerald
> Any reason Montreal?
> Tabitha
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] Looking for Montreal XO/Sugar users

2010-01-21 Thread Tabitha Roder
> One of the teachers has an affinity for the city, and Canada is part of the
> 5th grade social studies curriculum.
> Did you have somewhere else in mind?
>
> No where else in mind, just having the reasons helps people decide if they
should put their hand up with alternatives - would you like to be contacted
by other XO using schools if they are interested in a penpal arrangement?
(what age is 5th grade? is that 10 year olds? we have different terminology
here).
Thanks
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] Looking for Montreal XO/Sugar users

2010-01-21 Thread Gerald Ardito
Tabitha,

I would like to be contacted by other XO using schools interested in pen pal
arrangements. And yes, 5th graders are about 10 years old.
Thanks for your help with this.

Gerald

On Thu, Jan 21, 2010 at 4:50 AM, Tabitha Roder wrote:

>
> One of the teachers has an affinity for the city, and Canada is part of the
>> 5th grade social studies curriculum.
>> Did you have somewhere else in mind?
>>
>> No where else in mind, just having the reasons helps people decide if they
> should put their hand up with alternatives - would you like to be contacted
> by other XO using schools if they are interested in a penpal arrangement?
> (what age is 5th grade? is that 10 year olds? we have different terminology
> here).
> Thanks
>
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

[IAEP] Small SoaS Disaster

2010-01-21 Thread Caryl Bigenho

Hi All,
I was playing in "PC Land" yesterday, trying to get a working SoaS Blueberry. 
Downloaded the live usb maker from the net. Made the stick.  Put it in 
daughter-in-law's medium-sized hp netbook and tried it.  After we finally got 
it booted (she insisted it wouldn't work, only Windows would) she pushed some 
button or clicked some icon and there it was!  
Tried Speak... great... spoke reasonably good Spanish.  Tried paint... 
beautiful. Checked the Journal... working fine. Checked out TamTam Mini... it 
froze. Did a force quit.  Started it up again and tried to make another stick 
with Strawberry. Totally crashed the PC!  

It kept trying to start up, said it was fixing the system software, shut down, 
started up again...etc over and over and over! Finally, after more than an hour 
of this, she did a force quit and put it away. 
Is it possible that there is a virus in:
http://fedorahosted.org/liveusb-creator  ??
While she has other computers, this is a very bad disaster!  My son, the PC 
guru says not to worry, "you can't break a PC."  I sort of doubt him.
Any ideas about what could have happened, how to fix it, and how to avoid it 
next time?
Thanks,Caryl

  ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

[IAEP] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback

2010-01-21 Thread Jim Simmons
I just finished writing another chapter of the book, this one on
adding Text to Speech to your Activities.  I've also made various
additions and corrections to the rest of it.  If you want to check out
what I have a PDF created with OBJAVI! is available here:

http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.01.21-18.33.56.pdf

I'm going to start working on code samples for a Collaboration chapter
next, and I want to do a chapter on debugging Sugar Activities after
that.  I think Walter had developed some code to let you run Sugar
Activities outside of the Sugar environment and that would be a good
fit for the debugging chapter.  For collaboration I'm going to try to
put together a sort of half-finished game called "Battle Royale Tic
Tac Toe".  I'll also write about file sharing as used by Read Etexts.

Once I have this material added I think I'll have enough to make it
worth putting on the front page of the site.  That won't mean it's
finished, but enough of it will be that the book could be considered
complete.

I welcome collaborators as well as editors on this.  There are many
topics you could put in a book like this that I'm not qualified to
write.

I'm up to 87 pages now.

James Simmons
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


[IAEP] Free Culture X (FC X): We've got an invite.

2010-01-21 Thread Kevin Cole
(I gotta remember the wisdom of "Be careful what you ask for...")

For anyone who might be in DC Feb 14 or there-abouts:

-- Forwarded message --
From: Kevin Donovan 
Date: Thu, Jan 21, 2010 at 16:46
Subj: Re: [Board] FC X: OLPC Learning Club DC, SugarLabs DC, Ubuntu DC LoCo
To:   SFC Board 

Hi Kevin,

We'd love to have you join. Sunday, the 14th, is going to be an
unconference, so we'd love to have you organize a workshop for people
then. We're trying to get tables, as well, for the first day, so if
that happens it would be great to have you demonstrate the XOs there,
as well.

Thanks,
Kevin

On Tue, Jan 19, 2010 at 3:56 PM, Kevin Cole  wrote:

> Hi,
>
> I attended WFUD last week, but was unfamiliar with FC X until visiting the 
> site
> today.  I am the team contact for the Ubuntu DC Local Community ("LoCo"),
> and a host of the OLPC Learning Club DC, as well as a minor contributor to
> SugarLabs DC. (See signature links for more info.) We are now an official
> Lending Library as well, with up to 25 XO laptops at our disposal (depending
> upon how many are on loan at the time). I note the pictures on your site from
> 2008 seem right up our alley.  I have just informed my colleagues of the 
> event.
>
> I realize it's a wee bit late to be asking, but is there a place for us other 
> than
> normal registration, i.e. a table with XO's and possibly Ubuntu CD's?  (I'm 
> not
> sure how many troops I'll be able to rally, but if it's not too late to try, 
> I'll give it
> a go.)
>
> Thanks for any info.
> --
> Kevin Cole
> Sugar Labs DC - http://dc.sugarlabs.org/
> OLPC Learning Club DC - http://olpclearningclub.org/
> Ubuntu DC - http://dc.ubuntu-us.org/ - http://launchpad.net/~dcteam/
> ___
> Board mailing list
> bo...@freeculture.org
> http://freeculture.org/cgi-bin/mailman/listinfo/board

--
Kevin Donovan
Georgetown '11: SFS
630.849.8285
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback

2010-01-21 Thread Aleksey Lim
On Thu, Jan 21, 2010 at 10:24:50AM -0600, Jim Simmons wrote:
> I just finished writing another chapter of the book, this one on
> adding Text to Speech to your Activities.  I've also made various
> additions and corrections to the rest of it.  If you want to check out
> what I have a PDF created with OBJAVI! is available here:
> 
> http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.01.21-18.33.56.pdf

Thanks for your efforts!

just minor cleanups you can consider to make code less verbose and
easily understandable(perhaps), see attached speech.py

> I'm going to start working on code samples for a Collaboration chapter
> next, and I want to do a chapter on debugging Sugar Activities after
> that.  I think Walter had developed some code to let you run Sugar
> Activities outside of the Sugar environment and that would be a good
> fit for the debugging chapter.  For collaboration I'm going to try to
> put together a sort of half-finished game called "Battle Royale Tic
> Tac Toe".  I'll also write about file sharing as used by Read Etexts.
> 
> Once I have this material added I think I'll have enough to make it
> worth putting on the front page of the site.  That won't mean it's
> finished, but enough of it will be that the book could be considered
> complete.
> 
> I welcome collaborators as well as editors on this.  There are many
> topics you could put in a book like this that I'm not qualified to
> write.
> 
> I'm up to 87 pages now.
> 
> James Simmons
> 

-- 
Aleksey
import gst

voice = 'default'
pitch = 0

rate = -20
highlight_cb = None

def _create_pipe():
pipeline = 'espeak name=source ! autoaudiosink'
pipe = gst.parse_launch(pipeline)

def stop_cb(bus, message):
pipe.set_state(gst.STATE_NULL)

def mark_cb(bus, message):
if message.structure.get_name() == 'espeak-mark':
mark = message.structure['mark']
highlight_cb(int(mark))

bus = pipe.get_bus()
bus.add_signal_watch()
bus.connect('message::eos', stop_cb)
bus.connect('message::error', stop_cb)
bus.connect('message::element', mark_cb)

return (pipe.get_by_name('source'), pipe)

def _speech(source, pipe, words):
source.props.pitch = pitch
source.props.rate = rate
source.props.voice = voice
source.props.text = words;
pipe.set_state(gst.STATE_PLAYING)

info_source, info_pipe = _create_pipe()
play_source, play_pipe = _create_pipe()

# track for marks
play_source.props.track = 2

def voices():
return info_source.props.voices

def say(words):
_speech(info_source, info_pipe, words)
print words

def play(words):
_speech(play_source, play_pipe, words)

def is_stopped():
for i in play_pipe.get_state():
if isinstance(i, gst.State) and i == gst.STATE_NULL:
 return True
return False

def stop():
play_pipe.set_state(gst.STATE_NULL)

def is_paused():
for i in play_pipe.get_state():
if isinstance(i, gst.State) and i == gst.STATE_PAUSED:
 return True
return False

def pause():
play_pipe.set_state(gst.STATE_PAUSED)

def rate_up():
global rate
rate = min(99, rate + 10)

def rate_down():
global rate
rate = max(-99, rate - 10)

def pitch_up():
global pitch
pitch = min(99, pitch + 10)

def pitch_down():
global pitch
pitch = max(-99, pitch - 10)

def prepare_highlighting(label_text):
i = 0
j = 0
word_begin = 0
word_end = 0
current_word = 0
word_tuples = []
omitted = [' ', '\n', u'\r', '_', '[', '{', ']', '}', '|', '<',\
'>', '*', '+', '/', '\\' ]
omitted_chars = set(omitted)
while i < len(label_text):
if label_text[i] not in omitted_chars:
word_begin = i
j = i
while j < len(label_text) and label_text[j] not in omitted_chars:
 j = j + 1
 word_end = j
 i = j
word_t = (word_begin, word_end, label_text[word_begin: word_end].strip())
if word_t[2] != u'\r':
 word_tuples.append(word_t)
i = i + 1
return word_tuples

def add_word_marks(word_tuples):
"Adds a mark between each word of text."
i = 0
marked_up_text = ' '
while i < len(word_tuples):
word_t = word_tuples[i]
marked_up_text = marked_up_text + '' + word_t[2]
i = i + 1
return marked_up_text + ''
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

[IAEP] [SLOBS] meeting reminder

2010-01-21 Thread Walter Bender
We will be holding a Sugar Labs oversight board meeting on Friday, 22
January at 16UTC (11EST) in #sugar-meeting on irc.freenode.net

There are an agenda and extensive notes in the wiki (thanks Mel):

http://wiki.sugarlabs.org/go/Oversight_Board/Meeting_Minutes-2010-01-22

Please join us.

-walter

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback

2010-01-21 Thread Aleksey Lim
On Thu, Jan 21, 2010 at 10:41:59PM +, Aleksey Lim wrote:
> On Thu, Jan 21, 2010 at 10:24:50AM -0600, Jim Simmons wrote:
> > I just finished writing another chapter of the book, this one on
> > adding Text to Speech to your Activities.  I've also made various
> > additions and corrections to the rest of it.  If you want to check out
> > what I have a PDF created with OBJAVI! is available here:
> > 
> > http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.01.21-18.33.56.pdf
> 
> Thanks for your efforts!
> 
> just minor cleanups you can consider to make code less verbose and
> easily understandable(perhaps), see attached speech.py

and also, could be useful to mention words tracking feature of espeak,
like 
http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak#Simple_TTS_example

Yes, some espeak versions(at least old ones) could miss some words but
its getting better(I didn't check last espeak version but at least
espeak developers are working on track improvements) and in case of
simple tts usage, just reusing espeak native feature would be more
useful than coding marking stuff.

> 
> > I'm going to start working on code samples for a Collaboration chapter
> > next, and I want to do a chapter on debugging Sugar Activities after
> > that.  I think Walter had developed some code to let you run Sugar
> > Activities outside of the Sugar environment and that would be a good
> > fit for the debugging chapter.  For collaboration I'm going to try to
> > put together a sort of half-finished game called "Battle Royale Tic
> > Tac Toe".  I'll also write about file sharing as used by Read Etexts.
> > 
> > Once I have this material added I think I'll have enough to make it
> > worth putting on the front page of the site.  That won't mean it's
> > finished, but enough of it will be that the book could be considered
> > complete.
> > 
> > I welcome collaborators as well as editors on this.  There are many
> > topics you could put in a book like this that I'm not qualified to
> > write.
> > 
> > I'm up to 87 pages now.
> > 
> > James Simmons
> > 
> 
> -- 
> Aleksey

> import gst
> 
> voice = 'default'
> pitch = 0
> 
> rate = -20
> highlight_cb = None
> 
> def _create_pipe():
> pipeline = 'espeak name=source ! autoaudiosink'
> pipe = gst.parse_launch(pipeline)
> 
> def stop_cb(bus, message):
> pipe.set_state(gst.STATE_NULL)
> 
> def mark_cb(bus, message):
> if message.structure.get_name() == 'espeak-mark':
> mark = message.structure['mark']
> highlight_cb(int(mark))
> 
> bus = pipe.get_bus()
> bus.add_signal_watch()
> bus.connect('message::eos', stop_cb)
> bus.connect('message::error', stop_cb)
> bus.connect('message::element', mark_cb)
> 
> return (pipe.get_by_name('source'), pipe)
> 
> def _speech(source, pipe, words):
> source.props.pitch = pitch
> source.props.rate = rate
> source.props.voice = voice
> source.props.text = words;
> pipe.set_state(gst.STATE_PLAYING)
> 
> info_source, info_pipe = _create_pipe()
> play_source, play_pipe = _create_pipe()
> 
> # track for marks
> play_source.props.track = 2
> 
> def voices():
> return info_source.props.voices
> 
> def say(words):
> _speech(info_source, info_pipe, words)
> print words
> 
> def play(words):
> _speech(play_source, play_pipe, words)
> 
> def is_stopped():
> for i in play_pipe.get_state():
> if isinstance(i, gst.State) and i == gst.STATE_NULL:
>  return True
> return False
> 
> def stop():
> play_pipe.set_state(gst.STATE_NULL)
> 
> def is_paused():
> for i in play_pipe.get_state():
> if isinstance(i, gst.State) and i == gst.STATE_PAUSED:
>  return True
> return False
> 
> def pause():
> play_pipe.set_state(gst.STATE_PAUSED)
> 
> def rate_up():
> global rate
> rate = min(99, rate + 10)
> 
> def rate_down():
> global rate
> rate = max(-99, rate - 10)
> 
> def pitch_up():
> global pitch
> pitch = min(99, pitch + 10)
> 
> def pitch_down():
> global pitch
> pitch = max(-99, pitch - 10)
> 
> def prepare_highlighting(label_text):
> i = 0
> j = 0
> word_begin = 0
> word_end = 0
> current_word = 0
> word_tuples = []
> omitted = [' ', '\n', u'\r', '_', '[', '{', ']', '}', '|', '<',\
> '>', '*', '+', '/', '\\' ]
> omitted_chars = set(omitted)
> while i < len(label_text):
> if label_text[i] not in omitted_chars:
> word_begin = i
> j = i
> while j < len(label_text) and label_text[j] not in omitted_chars:
>  j = j + 1
>  word_end = j
>  i = j
> word_t = (word_begin, word_end, label_text[word_begin: 
> word_end].strip())
> if word_t[2] != u'\r':
>  word_tuples.append(word_t)
> i = i + 1
> return word_tuples
> 
> def add_word_marks(word_tuples):
> "Adds a mar

Re: [IAEP] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback

2010-01-21 Thread Aleksey Lim
On Thu, Jan 21, 2010 at 10:53:30PM +, Aleksey Lim wrote:
> On Thu, Jan 21, 2010 at 10:41:59PM +, Aleksey Lim wrote:
> > On Thu, Jan 21, 2010 at 10:24:50AM -0600, Jim Simmons wrote:
> > > I just finished writing another chapter of the book, this one on
> > > adding Text to Speech to your Activities.  I've also made various
> > > additions and corrections to the rest of it.  If you want to check out
> > > what I have a PDF created with OBJAVI! is available here:
> > > 
> > > http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.01.21-18.33.56.pdf
> > 
> > Thanks for your efforts!
> > 
> > just minor cleanups you can consider to make code less verbose and
> > easily understandable(perhaps), see attached speech.py
> 
> and also, could be useful to mention words tracking feature of espeak,
> like 
> http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak#Simple_TTS_example
> 
> Yes, some espeak versions(at least old ones) could miss some words but

s/some words/some symbols/

> its getting better(I didn't check last espeak version but at least
> espeak developers are working on track improvements) and in case of
> simple tts usage, just reusing espeak native feature would be more
> useful than coding marking stuff.
> 
> > 
> > > I'm going to start working on code samples for a Collaboration chapter
> > > next, and I want to do a chapter on debugging Sugar Activities after
> > > that.  I think Walter had developed some code to let you run Sugar
> > > Activities outside of the Sugar environment and that would be a good
> > > fit for the debugging chapter.  For collaboration I'm going to try to
> > > put together a sort of half-finished game called "Battle Royale Tic
> > > Tac Toe".  I'll also write about file sharing as used by Read Etexts.
> > > 
> > > Once I have this material added I think I'll have enough to make it
> > > worth putting on the front page of the site.  That won't mean it's
> > > finished, but enough of it will be that the book could be considered
> > > complete.
> > > 
> > > I welcome collaborators as well as editors on this.  There are many
> > > topics you could put in a book like this that I'm not qualified to
> > > write.
> > > 
> > > I'm up to 87 pages now.
> > > 
> > > James Simmons
> > > 
> > 
> > -- 
> > Aleksey
> 
> > import gst
> > 
> > voice = 'default'
> > pitch = 0
> > 
> > rate = -20
> > highlight_cb = None
> > 
> > def _create_pipe():
> > pipeline = 'espeak name=source ! autoaudiosink'
> > pipe = gst.parse_launch(pipeline)
> > 
> > def stop_cb(bus, message):
> > pipe.set_state(gst.STATE_NULL)
> > 
> > def mark_cb(bus, message):
> > if message.structure.get_name() == 'espeak-mark':
> > mark = message.structure['mark']
> > highlight_cb(int(mark))
> > 
> > bus = pipe.get_bus()
> > bus.add_signal_watch()
> > bus.connect('message::eos', stop_cb)
> > bus.connect('message::error', stop_cb)
> > bus.connect('message::element', mark_cb)
> > 
> > return (pipe.get_by_name('source'), pipe)
> > 
> > def _speech(source, pipe, words):
> > source.props.pitch = pitch
> > source.props.rate = rate
> > source.props.voice = voice
> > source.props.text = words;
> > pipe.set_state(gst.STATE_PLAYING)
> > 
> > info_source, info_pipe = _create_pipe()
> > play_source, play_pipe = _create_pipe()
> > 
> > # track for marks
> > play_source.props.track = 2
> > 
> > def voices():
> > return info_source.props.voices
> > 
> > def say(words):
> > _speech(info_source, info_pipe, words)
> > print words
> > 
> > def play(words):
> > _speech(play_source, play_pipe, words)
> > 
> > def is_stopped():
> > for i in play_pipe.get_state():
> > if isinstance(i, gst.State) and i == gst.STATE_NULL:
> >  return True
> > return False
> > 
> > def stop():
> > play_pipe.set_state(gst.STATE_NULL)
> > 
> > def is_paused():
> > for i in play_pipe.get_state():
> > if isinstance(i, gst.State) and i == gst.STATE_PAUSED:
> >  return True
> > return False
> > 
> > def pause():
> > play_pipe.set_state(gst.STATE_PAUSED)
> > 
> > def rate_up():
> > global rate
> > rate = min(99, rate + 10)
> > 
> > def rate_down():
> > global rate
> > rate = max(-99, rate - 10)
> > 
> > def pitch_up():
> > global pitch
> > pitch = min(99, pitch + 10)
> > 
> > def pitch_down():
> > global pitch
> > pitch = max(-99, pitch - 10)
> > 
> > def prepare_highlighting(label_text):
> > i = 0
> > j = 0
> > word_begin = 0
> > word_end = 0
> > current_word = 0
> > word_tuples = []
> > omitted = [' ', '\n', u'\r', '_', '[', '{', ']', '}', '|', '<',\
> > '>', '*', '+', '/', '\\' ]
> > omitted_chars = set(omitted)
> > while i < len(label_text):
> > if label_text[i] not in omitted_chars:
> > word_begin = i
> > j = i
> > while j < len(label_text) and label_

Re: [IAEP] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback

2010-01-21 Thread Jim Simmons
Aleksey,

Thanks for your feedback.  I'll check out your new code when I get
home.  Offhand I can't tell what you changed, but I'll make sure to
test everything before I update the chapter.  I was hoping that
speech.py could be a file that new developers could drop into their
Activities without fully understanding it.  Your work has made speech
easy to add to an Activity, so maybe after the book is out we'll start
seeing more Activities that use it.

James Simmons


On Thu, Jan 21, 2010 at 4:41 PM, Aleksey Lim  wrote:
> On Thu, Jan 21, 2010 at 10:24:50AM -0600, Jim Simmons wrote:
>> I just finished writing another chapter of the book, this one on
>> adding Text to Speech to your Activities.  I've also made various
>> additions and corrections to the rest of it.  If you want to check out
>> what I have a PDF created with OBJAVI! is available here:
>>
>> http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.01.21-18.33.56.pdf
>
> Thanks for your efforts!
>
> just minor cleanups you can consider to make code less verbose and
> easily understandable(perhaps), see attached speech.py
>
> Aleksey
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback

2010-01-21 Thread Jim Simmons
Aleksey,

I did consider mentioning the word tracking feature you put in your
example.  However, when I tried your example with actual book text
rather than letting it speak the source code of the program it seemed
to actually skip speaking some of the words.  The markup version was
more robust.

The machine I used for that test was running Fedora 10, and it may be
that in 11 or 12 it would work better.  I have another box running 11
and I could try it there.  I do have your examples in the Git project
for the book so readers could discover them on their own.

I could see word tracking being useful in the core Read Activity.
Actually highlighting text in place in PDF documents and scanned page
images is not as simple as what I'm doing with plain text, but perhaps
in Read you could have the spoken words appear in a text crawl at the
top of the screen.

Right now I want to work on collaboration examples but I may revisit
this chapter and add something on word tracking.

James Simmons


On Thu, Jan 21, 2010 at 4:53 PM, Aleksey Lim  wrote:
> On Thu, Jan 21, 2010 at 10:41:59PM +, Aleksey Lim wrote:
>>
>> Thanks for your efforts!
>>
>> just minor cleanups you can consider to make code less verbose and
>> easily understandable(perhaps), see attached speech.py
>
> and also, could be useful to mention words tracking feature of espeak,
> like 
> http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak#Simple_TTS_example
>
> Yes, some espeak versions(at least old ones) could miss some words but
> its getting better(I didn't check last espeak version but at least
> espeak developers are working on track improvements) and in case of
> simple tts usage, just reusing espeak native feature would be more
> useful than coding marking stuff.
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback

2010-01-21 Thread Aleksey Lim
On Thu, Jan 21, 2010 at 10:24:50AM -0600, Jim Simmons wrote:
> I just finished writing another chapter of the book, this one on
> adding Text to Speech to your Activities.  I've also made various
> additions and corrections to the rest of it.  If you want to check out
> what I have a PDF created with OBJAVI! is available here:
> 
> http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.01.21-18.33.56.pdf
> 
> I'm going to start working on code samples for a Collaboration chapter
> next, and I want to do a chapter on debugging Sugar Activities after
> that.

Could be useful to mention groupthink library in collaboration part
http://wiki.sugarlabs.org/go/Summer_of_Code/2009/Groupthink

> I think Walter had developed some code to let you run Sugar
> Activities outside of the Sugar environment and that would be a good
> fit for the debugging chapter.  For collaboration I'm going to try to
> put together a sort of half-finished game called "Battle Royale Tic
> Tac Toe".  I'll also write about file sharing as used by Read Etexts.
> 
> Once I have this material added I think I'll have enough to make it
> worth putting on the front page of the site.  That won't mean it's
> finished, but enough of it will be that the book could be considered
> complete.
> 
> I welcome collaborators as well as editors on this.  There are many
> topics you could put in a book like this that I'm not qualified to
> write.
> 
> I'm up to 87 pages now.
> 
> James Simmons
> 

-- 
Aleksey
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


[IAEP] Very Old SoaS Works on Mac

2010-01-21 Thread Caryl Bigenho

Well...
I tried my very old (in software terms... 9+ months) version of Strawberry that 
is still installed on my Mac via virtual box (also an old version).  It still 
works.  Limited activities but if I don't get the newer versions figured out, 
at least I will have something to show the folks in Buenos Aires when I visit 
their school on Monday.
We are still trying to get the Blueberry file on a CD that people down there 
can use to make usb sticks and maybe a liveCD they can play.
Caryl ___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] [SLOBS] [SLOBs] prep for Friday's meeting

2010-01-21 Thread Mel Chua
On 01/21/2010 04:30 AM, Sean DALY wrote:
> Per the last SLOBs meeting, and this mail
> (http://lists.sugarlabs.org/archive/marketing/2010-January/002621.html)
> cc'd to the SLOBs, I had reflected for some time on this and come to
> the conclusion that it can't be done the way we want to do it without
> approval - abuse will be too simple.
>
> Aside from Walter, none of the SLOBs cc'd on that mail responded, I
> ask the other SLOBs to please try to understand my position so we can
> wrap this up. i will have new text to propose as well.

Thanks for writing that email, Sean - I did read it, and learned a lot 
from it (thanks in particular for putting in links to 
examples/references!) but was quiet because didn't have anything to add 
to the conversation at the time, beyond "wow, thanks for writing this!"

Trying to pull discussion questions from the email here, let me know if 
I'm misreading something - all these questions center around the aim to 
promote and grow the SL brand, which means both protecting the brand and 
making it so that others can and will spread it.

* What conditions must the licensee respect in order to be allowed to 
use a SL mark? (Broad question covered by other points in our trademark 
discussion for tomorrow, I believe - this is basically the entire question.)

* There is an assumption (or proposal) in the email that trademark usage 
of all SL marks will be free. Is this something we agree on, and should 
explicitly state?

* When would licensing not be routine, i.e. require consideration before
licensing?

* What formulation(s) of the SL marks should we provide as options? This 
is the label text - our "circled intel inside sticker", if you will.

* What could motivate us to revoke a license?

* What graphical specifications on mark usage do we want to set forth? 
(must have this much whitespace, must use these colors, must not be 
distorted, etc)

(Am I missing anything?)

--Mel
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep