Re: [Sugar-devel] #2389 resolution set to notsugar, fixed upstream

2010-10-01 Thread Tomeu Vizoso
On Thu, Sep 30, 2010 at 18:25, Simon Schampijer si...@schampijer.de wrote:
 Hi,

 is that the first sign [1] that Killing the PS was the right choice? :)

Could be, let's see :)

Regards,

Tomeu

 Regards,
    Simon

 [1] http://bugs.sugarlabs.org/ticket/2389#comment:2
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] favorite_activities bug or feature?

2010-10-01 Thread Tomeu Vizoso
On Thu, Sep 30, 2010 at 19:13, Gonzalo Odiard gonz...@laptop.org wrote:
 When I update a activity present in the favorite_activities file, in the
 file appears a new line with the activity and the new version number.
 I have tested it in 0.84 and sugar-jhbuild.
 I think it is a bug, but there any reason for this?

Part of the activity mechanisms can deal with several versions of an
activity installed at the same time. There was the intention to
support that in the UI as well, but a blocker was found with the
activity version not being transmitted across the network when
advertising an activity or inviting.

Regards,

Tomeu

 Thanks

 Gonzalo


 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Issue No. 2324. Implementing Copy/Paste using Clipboard in Abacus.

2010-10-01 Thread Shanjit Singh Jajmann
Hi,


I am working on issue #2324, implementing Copy/Paste in Abacus Activity. I
had some doubts on the functionality of copy and paste.

According to what i have done,

1. The copy button when clicked copies any  expression/number present in the
output(bar) to the clipboard.

2. The paste button can however only  paste single numbers and not
expressions, on the output(bar).



Would this functionality be sufficient?


Regards

Shan
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Issue No. 2324. Implementing Copy/Paste using Clipboard in Abacus.

2010-10-01 Thread Walter Bender
On Fri, Oct 1, 2010 at 3:42 AM, Shanjit Singh Jajmann
shan...@dev.seeta.in wrote:
 Hi,


 I am working on issue #2324, implementing Copy/Paste in Abacus Activity. I
 had some doubts on the functionality of copy and paste.

 According to what i have done,

 1. The copy button when clicked copies any  expression/number present in the
 output(bar) to the clipboard.

You'll want to check to make sure the copied text will convert to a number.

 2. The paste button can however only  paste single numbers and not
 expressions, on the output(bar).

I think you should only copy the result, not the entire expression.
This can be obtained by passing the sum_only=True flag to the method
that reads the value of the abacus.


 Would this functionality be sufficient?

Sounds good.

-walter



 Regards

 Shan

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Advice request: XO sound recording

2010-10-01 Thread tom.staub...@fhtw-berlin.de
On Oct 1, 2010, at 12:33 AM, Art Hunkins wrote:

 My new activity, FileMix, encourages children to create their own nature 
 recordings to mix and process in FileMix (i.e., create soundscapes). Files 
 can be mono or stereo, any sample rate and duration, and most file formats. 
 The files also need to be renamed and placed in the FileMix.activity folder.
 
 The Record activity is a natural for recording audio, and I had thought it 
 would be the appropriate vehicle. I've recently discovered that it only 
 produces Ogg Speex files, not the higher-quality Ogg Vorbis variety. 
 Unfortunately, Csound and libsndfile handle only Ogg Vorbis - not Speex. (It 
 would be very nice if Record *could* output Ogg Vorbis.)
 
 So I turned to eToys. I find it somewhat iffy to record in eToys (on an 
 XO-1.5); sometimes it works, sometimes not. The main obstacle I face is that 
 recordings seem embedded in projects, and I don't find where/how to access 
 the recording by itself. (The sound editor, and variety of output 
 resolutions [including WAV and VORBIS] are excellent.) The documentation 
 (floss) isn't helpful here either.
 
 I am able to record and save, but to where I don't know -not, it seems, to 
 the Sound Library. The Library location is not given. It seems you can take 
 something out of it, but not put something in? (Confusing.) I very much need 
 a simpler procedure to save and transfer/relocate individual recordings.

I'm currently working on a radio play production with Berlin based children's 
radio Radijojo[1].
We are planning to produce as much of the play as possible on the XO and 
currently are facing exactly the same problem.
Your new activity sounds pretty interesting. We considered recording with Etoys 
(if we find a way to access the audio files) 
and then do the mixing with Audacity. A tool that is easier to use than 
Audacity would be very much appreciated though.

Tom Staubitz

 So, my question: can someone please explain how to get eToys sound files 
 isolated and copied to other folders, and/or which other activities might 
 meet my needs at least as well as (or better than) eToys and Record?
 
 Art Hunkins 
 
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

[1] http://www.radijojo.de/


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Advice request: XO sound recording

2010-10-01 Thread Benjamin M. Schwartz
On 09/30/2010 06:33 PM, Art Hunkins wrote:
 The files also need to be renamed and placed in the FileMix.activity folder.

Don't do this.  Among other reasons, you shouldn't assume that the
activity has write permissions to its .activity/ folder.  There are a
hundred other reasons why this is considered bad form.

 The Record activity is a natural for recording audio, and I had thought it 
 would be the appropriate vehicle. I've recently discovered that it only 
 produces Ogg Speex files, not the higher-quality Ogg Vorbis variety. 
 Unfortunately, Csound and libsndfile handle only Ogg Vorbis - not Speex. (It 
 would be very nice if Record *could* output Ogg Vorbis.)

Making Record output Vorbis is a trivial one-line change.  Presumably you
would be best served by copying that portion of the Record code into
FileMix, with the alteration to record in Vorbis.

 So, my question: can someone please explain how to get eToys sound files 
 isolated and copied to other folders, and/or which other activities might 
 meet my needs at least as well as (or better than) eToys and Record?

Surely the activity that will suit your needs best is your own.  I
recommend you add the sound recording functionality there.

--Ben



signature.asc
Description: OpenPGP digital signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Advice request: XO sound recording

2010-10-01 Thread Bert Freudenberg
On 01.10.2010, at 00:33, Art Hunkins wrote:

 My new activity, FileMix, encourages children to create their own nature 
 recordings to mix and process in FileMix (i.e., create soundscapes). Files 
 can be mono or stereo, any sample rate and duration, and most file formats. 
 The files also need to be renamed and placed in the FileMix.activity folder.
 
 The Record activity is a natural for recording audio, and I had thought it 
 would be the appropriate vehicle. I've recently discovered that it only 
 produces Ogg Speex files, not the higher-quality Ogg Vorbis variety. 
 Unfortunately, Csound and libsndfile handle only Ogg Vorbis - not Speex. (It 
 would be very nice if Record *could* output Ogg Vorbis.)
 
 So I turned to eToys. I find it somewhat iffy to record in eToys (on an 
 XO-1.5); sometimes it works, sometimes not. The main obstacle I face is that 
 recordings seem embedded in projects, and I don't find where/how to access 
 the recording by itself. (The sound editor, and variety of output 
 resolutions [including WAV and VORBIS] are excellent.) The documentation 
 (floss) isn't helpful here either.
 
 I am able to record and save, but to where I don't know -not, it seems, to 
 the Sound Library. The Library location is not given. It seems you can take 
 something out of it, but not put something in? (Confusing.) I very much need 
 a simpler procedure to save and transfer/relocate individual recordings.
 
 So, my question: can someone please explain how to get eToys sound files 
 isolated and copied to other folders, and/or which other activities might 
 meet my needs at least as well as (or better than) eToys and Record?

Well, Etoys was not designed as editor for other formats. Sounds you record are 
just objects in memory. An Etoys project file is basically a memory dump of the 
objects used in one project. We have a variety of import options but few for 
file export. Squeak/Etoys is a thoroughly object-oriented system - files are so 
quaint ;)

I don't think there is a user interface for exporting sounds as files. The code 
is there, e.g. OggDriver example1 saves a Vorbis file and OggDriver 
example4 saves as Speex. But besides not being exposed in the UI, these only 
save to the file system, not to the Journal. That capability could be added of 
course. Patches welcome :)

Short of that, you could suggest the feature in our tracker at

http://tracker.squeakland.org/

- Bert -


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Advice request: XO sound recording

2010-10-01 Thread Daniel Drake
On 30 September 2010 23:33, Art Hunkins abhun...@uncg.edu wrote:
 The Record activity is a natural for recording audio, and I had thought it
 would be the appropriate vehicle. I've recently discovered that it only
 produces Ogg Speex files, not the higher-quality Ogg Vorbis variety.

Please double check this.

I'm pretty certain that it saves as vorbis and just confirmed that
with a glance at the code.

Daniel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugar-devel Digest, Vol 24, Issue 2

2010-10-01 Thread James Simmons
Art,

Really the best way to share data between Activities is to create and
read Journal entries.  The Make Your Own Sugar Activities! FLOSS
Manual explains how to do this.  Activities have only a few
directories they can write to, which are not shareable with other
Activities.  Sugar does this by design to prevent a malicious Activity
from trashing a kid's computer.  Using Journal entries isn't that
difficult.

James Simmons


 Date: Fri, 1 Oct 2010 13:56:33 +0200
 From: tom.staub...@fhtw-berlin.de tom.staub...@fhtw-berlin.de
 Subject: Re: [Sugar-devel] Advice request: XO sound recording
 To: Art Hunkins abhun...@uncg.edu
 Cc: sugar-devel@lists.sugarlabs.org
 Message-ID: 2380056b-83ce-491d-a4c0-38ae3a40b...@fhtw-berlin.de
 Content-Type: text/plain; charset=us-ascii

 On Oct 1, 2010, at 12:33 AM, Art Hunkins wrote:

 My new activity, FileMix, encourages children to create their own nature
 recordings to mix and process in FileMix (i.e., create soundscapes). Files
 can be mono or stereo, any sample rate and duration, and most file formats.
 The files also need to be renamed and placed in the FileMix.activity folder.

 The Record activity is a natural for recording audio, and I had thought it
 would be the appropriate vehicle. I've recently discovered that it only
 produces Ogg Speex files, not the higher-quality Ogg Vorbis variety.
 Unfortunately, Csound and libsndfile handle only Ogg Vorbis - not Speex. (It
 would be very nice if Record *could* output Ogg Vorbis.)

 So I turned to eToys. I find it somewhat iffy to record in eToys (on an
 XO-1.5); sometimes it works, sometimes not. The main obstacle I face is that
 recordings seem embedded in projects, and I don't find where/how to access
 the recording by itself. (The sound editor, and variety of output
 resolutions [including WAV and VORBIS] are excellent.) The documentation
 (floss) isn't helpful here either.

 I am able to record and save, but to where I don't know -not, it seems, to
 the Sound Library. The Library location is not given. It seems you can take
 something out of it, but not put something in? (Confusing.) I very much need
 a simpler procedure to save and transfer/relocate individual recordings.

 I'm currently working on a radio play production with Berlin based children's 
 radio Radijojo[1].
 We are planning to produce as much of the play as possible on the XO and 
 currently are facing exactly the same problem.
 Your new activity sounds pretty interesting. We considered recording with 
 Etoys (if we find a way to access the audio files)
 and then do the mixing with Audacity. A tool that is easier to use than 
 Audacity would be very much appreciated though.

 Tom Staubitz
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Fwd: making patches and sending email using git-email

2010-10-01 Thread Ishan Bansal
Team

Important steps to be completed before making and sending patches-

1. Do remember to keep the system updated as there are some packages which
might not be installed and later on will create problems.

2. To do the git email configuration for your system refer to
http://paste.ubuntu.com/488777/
After setting up git-email do send a test mail to any of the members to
check for its working.

3. Before making a patch always use command git diff. It would show you the
changes which you have made. This would give you a idea on whether there are
any undesired changes present
   since the same thing is reflected in the patch.

4. Once you send the patch at sugar-devel be quick in responding to the
suggestions and changes suggested by developers. Remember to add the correct
patch version to the email while
sending through git send-email.
For eg  git send-email --annotate --to ishanseeta.in
0001-Specified-bundle-id-for-read-activity-Ticket-2170.patch can be run to
edit the message being sent to sugar-devel
For the correct way to do add patch version refer to
http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026978.html.

Regards

ishan
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Pointers required for SL#1742 (after adding a friend the palette doesn't change) ,

2010-10-01 Thread Anurag Chowdhury
What I figured out for this bug is that the bug could be solved only if the
shell service has a D-Bus API for buddies. Untill then even the present
scenario of one time update during system restart has also been applied
through a hack place in sync_friends () in the jarabe.model.friends.pymodule
this bug will get wrapped itself when the said api for shell service will
get designed
then even this sync_friends function would be removed.

But I would need some pointers on how to create this dbus api for the
present scenario and how will that work through the process to solve this
defect.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)

2010-10-01 Thread Dipankar Patro
Hi,

Thanks Sascha for the patch.

Bernie,
I seem to be not getting the key pointers.
I think you are suggesting me to setup a School Server on my machine.

Martin,
I am following this site for XS installation:
http://wiki.laptop.org/go/XS_Installing_Software
Am I on correct path?
Also, after setting the server, how shall I proceed.

I have figured out the following steps so far:
- Download and install XS software from here:
http://wiki.laptop.org/go/XS_Installing_Software
- Monitor the traffic. (Not sure about idmgr, couldn't find the package for
Ubuntu too)
- ^^ For setting up XS I think I will have to setup a server Apache.

Dipankar

On Thu, Sep 30, 2010 at 10:18 PM, Sascha Silbe 
sascha-ml-reply-to-201...@silbe.org wrote:

 Excerpts from Bernie Innocenti's message of Thu Sep 30 17:42:17 +0200 2010:

  In the absense of a real test schoolserver, [...]

 It would be nice if somebody could prepare a VM image containing an XS
 installation.

  Note that the editable field for the collaboration server in the CP does
  not affect schoolserver registration on the XO. This is another bug in
  my opinion, feel free to submit a separate path providing a unified
  behavior for the XO and normal laptop cases.

 For reference: That's #1976 [1]. Tim already provided a patch several
 months ago, but it needs some minor polishing. [2]

 Sascha

 [1] https://bugs.sugarlabs.org/ticket/1976
 [2]
 http://lists.sugarlabs.org/archive/sugar-devel/2010-July/thread.html#25265
 --
 http://sascha.silbe.org/
 http://www.infra-silbe.de/

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)

2010-10-01 Thread Martin Langhoff
On Fri, Oct 1, 2010 at 3:00 PM, Dipankar Patro dipan...@seeta.in wrote:
 I am following this site for XS installation:

I thought you already had an XS. You have the right URLs but
installing an XS for this will be too much work. As Bernie suggested,
just install idmgr on a fedora box.

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ticket #2183 : To add more nouns to the speak activity

2010-10-01 Thread Ishan Bansal
Joshua

I an working on ticket http://bugs.sugarlabs.org/ticket/2183.

In this we have to add new nouns to speak activity but i am confused as to
which file should i add it since there are many files present in speak
activity with .aiml extension.

On researching i found that a pyaiml library and some of aiml dbs were
downloaded from the internet for the activity. Can you tell me the source of
these files and if there is any better alternative to the already existing
library.

Please provide some pointers on the above issue.

regards

ishan
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)

2010-10-01 Thread Bernie Innocenti
On Thu, 2010-09-30 at 18:48 +0200, Sascha Silbe wrote:
 Excerpts from Bernie Innocenti's message of Thu Sep 30 17:42:17 +0200 2010:
 
  In the absense of a real test schoolserver, [...]
 
 It would be nice if somebody could prepare a VM image containing an XS
 installation.

We already have one: schoolserver.sugarlabs.org. Unfortunately, the
schoolserver 0.6 is an old F-9.

We also have jabber-testing.sugarlabs.org which was intended to be our
new collaboration server, but nobody setup jabber on it yet. Dave, would
you have time to work on it?


 For reference: That's #1976 [1]. Tim already provided a patch several
 months ago, but it needs some minor polishing. [2]

Yes, in particular:
  http://lists.sugarlabs.org/archive/sugar-devel/2010-July/025739.html

Dipankar, could you work on this when you're done with sl#2152?

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel