Re: Video Playback

2009-02-06 Thread Eduardo Silva
Hi Carlos,


 I can run the mplayer from the shell and it works like a charm. But in
 order to get it working with kids, the shell isnt exactly a solution.

 I want to try some codecs for  totem, coz ive seen some sites with totem
 compatibility but i just need to expand the codecs.


I don't have experience with codecs, we just tuned and sugarized mplayer
some time ago, i don't know how to expand codecs. :/

regards.-


-- 
Eduardo Silva
http://edsiper.linuxchile.cl
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Video Playback

2009-02-05 Thread Eduardo Silva


 1) Any idea on the Mplayer activity development? I cant get it to work as
 an activity, although i can make it happen through the console, which isnt
 the best idea, since it's meant for the kids to watch some videos on it.


Some time ago we did some work on that (we = Reynaldo Verdejo and I )
building an activity, the first version can be watched here:

http://edsiper.linuxchile.cl/blog/?p=16

the trick is to reparent the mplayer window in a gtk drawingarea or similar,
for that you need to call mplayer with:

   mplayer -wid PARENT_WINDOW_XID

I don't have the code here at this moment but is not difficult to do it...

cheers.

-- 
Eduardo Silva
http://edsiper.linuxchile.cl
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Broken links on Hacking_Sugar page

2008-02-21 Thread Eduardo Silva
Hi,

  Updated.

Thanks!


   At
   http://wiki.laptop.org/go/Hacking_Sugar#Simple_activity_bundle_example
   there is a wiki link to [[Hellokids-activity.tar.gz]].  This is intended
   as a download, but it is interpreted as a link to a non-existant page:
  
   http://wiki.laptop.org/index.php?title=Hellokids-activity.tar.gzaction
   =edit

  No idea about this one :/

Hmm, I pushed that file some time ago, is possible to see when it was deleted?

cheers.

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


Re: Broken links on Hacking_Sugar page

2008-02-21 Thread Eduardo Silva

 http://wiki.laptop.org/index.php?title=Hellokids-activity.tar.gzaction
 =edit
  
No idea about this one :/

  Hmm, I pushed that file some time ago, is possible to see when it was 
 deleted?

Now it fills like an image, I don't know why... well, the link works again

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


Re: Beyond Hello World

2008-02-20 Thread Eduardo Silva
  I have some reservations about the Hacking Sugar page.  First, the
  name could be improved.  To me, Hacking implies making something do

I chose that name meaning how to hack the sugar environment not just
related to create activities, also include how sugar works internally
and how a  developer can add new components to the UI... it was an
idea that was needing more time to be done.

  Second, you are mixing links to content with actual content.  In my
  experience with Wikis there is a finite size you can make a page, and
  you want pages that are a good size to print out.  If I was doing your
  page it would be all links with short abstracts, like most of it is
  already.  I'd move the Activity bundle example to its own page.  My page
  could be chapter 2, as Edward Cherlin suggested.  My EtextReader
  Activity, when it is hosted, could be the sample for that chapter.

You're right, that can be improved ...

As I said in the latest email I don't have time right now to continue
contributing with Hacking Sugar, I was just making suggestions...

cheers.

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


Re: Beyond Hello World

2008-02-20 Thread Eduardo Silva
Hi Samuel :D

 How about making hacking sugar a chapter or two in the developers
  manual?

that make sense..

 Eduardo: you can 'transclude' pages on the wiki if you want
  to share content across pages (something like {{:Developers Manual}}
  inside a page will include all of the text from [[Developers Manual]]
  at that point in the text.)

that would be a good solution, there's some info that can be merged...

cheers.

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


Re: AbiWord works nicely!

2008-01-24 Thread Eduardo Silva
Is the same abiword with a different UI were not all features are
visible in order to use it, if u miss something important and useful,
would be good if u provide this information in order to let know to
the author to include it. Is necessary to avoid people being
installing something twice.

cheers.

Ed.-


On Jan 24, 2008 3:57 AM, Ivo Emanuel Gonçalves [EMAIL PROTECTED] wrote:
 On 1/23/08, Eduardo Silva [EMAIL PROTECTED] wrote:
  Write activity is a sugarized abiword ;)

 What Eduardo meant is that the word processor in the XO is actually
 AbiWord slightly modified.

 -Ivo

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


Re: AbiWord works nicely!

2008-01-23 Thread Eduardo Silva
Write activity is a sugarized abiword ;)

On Jan 23, 2008 2:36 PM, Jeffrey Kesselman [EMAIL PROTECTED] wrote:
 The wordprocessor that ships with the OLPC was too limtied for my uses
 so I went  lookign for something stil lsmall but a bit more complete
 and compatible with my desktop, which is OpenOffice.

 I found Abi word.  After fixing one conflict it installed onto the XO
 and works great!

 I'll add it to the workarounds page.

 JK

 --
 ~~ Microsoft help desk says: reply hazy, ask again later. ~~
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

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


Re: Sugar on Slackware 12.0

2007-12-26 Thread Eduardo Silva
 Should I add this infos on the wiki?


That would be good, maybe you can follow this entry as a guide
http://wiki.laptop.org/go/Ubuntu

cheers.

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


Re: Oprofile, swap

2007-12-18 Thread Eduardo Silva
I've been doing some Psyco test. I'll post a new blog entry about it
and send the information to the ml.

thanks

Eduardo
http://edsiper.linuxchile.cl

On Dec 18, 2007 6:04 PM, John Richard Moser [EMAIL PROTECTED] wrote:



 Jameson Chema Quinn wrote:
 
 
  I suggest taking a look at PyPy for Python, which will dynamic
  recompile
  Python to native code and likely give some good performance benefits.  I
  really can't stand JIT compilation and would prefer something that takes
  advantage of Mono's own facilities, to centralize the effort in the JIT
  at least (Mono has nice stuff), but IronPython is Microsoft Permissive
  License which is not OSI approved.
 
 
  Has anyone looked at Psyco on the XO? The point is, no generic mono JIT
  is going to be as smart about guessing the 95% case for Python, as
  something written specifically for Python.
 

 The CIL dynamic re-compiler has a well-developed optimizer and a bunch
 of other stuff, including an awesome garbage collector.  The newer
 version use a compacting garbage collector IIRC; though Python might use
 reference counting internally (it might be better that way, but consider
 the interpreter itself would be in CIL and use reflection ...).

 It's basically Python - CIL - CIL optimizer, not Python - CIL - C#
 optimizer.  Granted, yes, an optimizer aware of specific language ABI
 specifics (like classes for C++, functions and structures for C, ect)
 can pre-optimize and then let the lower level optimizer re-optimize the
 code better (I think that's how GCC does it, optimizes a Gimple tree
 based on language and then does a general optimization based on
 hardware); but a CIL reflection compiler could compile Python into an
 internal tree, optimize it, emit optimized CIL, and let Mono generate
 optimized x86 code (as in, optimize the generated x86 code).

  Disclaimer: I have no experience to back this up.

 I have fuzzy understanding of compiler internals, nothing formal and
 nothing really great.  Ask a gcc guy and a Mono guy.
 
  Jameson


 --
 Bring back the Firefox plushy!
 http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good
 https://bugzilla.mozilla.org/show_bug.cgi?id=322367
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

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


Re: Help wanted: video demo!

2007-12-13 Thread Eduardo Silva
Hi Guys,

here's our cute XO playing a video in fullscreen mode thanks to mplayer :)

http://dev.laptop.org/~rverdejo/video_samples/MPlayerFullSize01_mpeg41000_mp2128_622x520.avi

cheers!

Reynaldo Verdejo and Eduardo Silva.

On Dec 12, 2007 4:17 AM, Sameer Verma [EMAIL PROTECTED] wrote:
 C. Scott Ananian wrote:
  We need a demo which shows off the full-screen video capabilities of
  the XO.  Unfortunately, Record compresses its input rather heavily, so
  it's not a great demo for video playback.  We bundle the Ogg Theora
  codecs, and Browse can play media files full-screen, so the first step
  is for someone to invest some time in transcoding an appropriate demo
  movie (I suggest
  http://www.elephantsdream.org/ -- some ogg transcoding linked from
  http://wiki.xiph.org/index.php/Elephants_Dream ) to an appropriate bit
  rate / size for the XO.  Make it look good!
 
 

 It looks like there are a couple of Ogg Theora versions of the
 Elephant's Dream at http://files.akl.lt/video/Elephants%20Dream/.
 Encoded in Stereo at 512x288 (52MB) and 1024x576 (161MB). What rate/size
 would be appropriate for the XO?

 Sameer

 --
 Dr. Sameer Verma, Ph.D.
 Associate Professor of Information Systems
 San Francisco State University
 San Francisco CA 94132 USA
 http://verma.sfsu.edu/
 http://opensource.sfsu.edu/

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

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


Re: ip4-address buddy property - still needed?

2007-10-30 Thread Eduardo Silva
  At this point in time, having as much debug info available in the
  developer console without having to remember which command-line tool
  provides what, is crucial for collecting problem reports from non-expert
  users and I would request that the IPv4 information remains where it is.

In analyze-acivity, I wrote a python file called netdevice.py which
return the network devices, IP, Netmask and MAC Address...


 Apparently the developer console is going away. Or at least it's not part of
 the latest joyride builds. So you can't collect your info anymore this way.

Yeah, we're killing the developer console...


cheers.

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


Re: ip4-address buddy property - still needed?

2007-10-30 Thread Eduardo Silva
Please check: http://wiki.laptop.org/go/Developer_Environment

On 10/30/07, Marco Pesenti Gritti [EMAIL PROTECTED] wrote:
 On 10/30/07, Sjoerd Simons [EMAIL PROTECTED] wrote:
  On Fri, Oct 26, 2007 at 01:18:17PM -0400, Michail Bletsas wrote:
   At this point in time, having as much debug info available in the
   developer console without having to remember which command-line tool
   provides what, is crucial for collecting problem reports from non-expert
   users and I would request that the IPv4 information remains where it is.
 
  Apparently the developer console is going away. Or at least it's not part of
  the latest joyride builds. So you can't collect your info anymore this way.

 It's on the build actually but it's not working. It will be replaced
 shortly by a couple of activities. (Log and Analyze).

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

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


Re: log-collect / log-send

2007-10-30 Thread Eduardo Silva
Hi Guys,

 I have been working on something similar. It is a console script that gather
 networks related logs, and will be available in the next joyride.

Would be better focus to develop just a main class to collect this
information and different front-ends as a console script and the UI
interface under the log activity. In this way we can avoid to
duplicate code.

Giannis, where is your source code?, can be cool if you and Pascal can
merge a final python class.

 I was planning to add the above features in my script, but a sugar activity
 is better than a console script.
 Since we are working on the same thing we can use each other's help, and
 create a single application.

both can be useful, but using just ONE collector ;)

cheers.

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


where's syslog file ?

2007-09-11 Thread Eduardo Silva
I'm trying build 566 and I can't find the syslog file, is syslog deprecated ?

cheers.

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


Project Hosting Application

2007-09-01 Thread Eduardo Silva
1. Project name : XOIRC
2. Existing website, if any : ---
3. One-line description :  Sugar Internet Relay chat.

4. Longer description   : A sugar IRC client based on URK/PURK
:
:
:

5. URLs of similar projects :

6. Committer list
   Please list the maintainer (lead developer) as the first entry. Only list
   developers who need to be given accounts so that they can commit to your
   project's code repository, or push their own. There is no need to list
   non-committer developers.

  Username   Full name SSH2 key URLE-mail
     - --
   #1 edsiper   Eduardo Silva Pereira   already on d.l.o
[EMAIL PROTECTED]
  ...

   If any developers don't have their SSH2 keys on the web, please attach them
   to the application e-mail.

7. Preferred development model

   [X] Central tree. Every developer can push his changes directly to the
   project's git tree. This is the standard model that will be familiar to
   CVS and Subversion users, and that tends to work well for most projects.

   [ ] Maintainer-owned tree. Every developer creates his own git tree, or
   multiple git trees. He periodically asks the maintainer to look at one
   or more of these trees, and merge changes into the maintainer-owned,
   main tree. This is the model used by the Linux kernel, and is
   well-suited to projects wishing to maintain a tighter control on code
   entering the main tree.

   If you choose the maintainer-owned tree model, but wish to set up some
   shared trees where all of your project's committers can commit directly,
   as might be the case with a discussion tree, or a tree for an individual
   feature, you may send us such a request by e-mail, and we will set up the
   tree for you.

8. Set up a project mailing list:

   [ ] Yes, named after our project name
   [ ] Yes, named __
   [X] No

   When your project is just getting off the ground, we suggest you eschew
   a separate mailing list and instead keep discussion about your project
   on the main OLPC development list. This will give you more input and
   potentially attract more developers to your project; when the volume of
   messages related to your project reaches some critical mass, we can
   trivially create a separate mailing list for you.

   If you need multiple lists, let us know. We discourage having many
   mailing lists for smaller projects, as this tends to
   stunt the growth of your project community. You can always add more lists
   later.

9. Commit notifications

   [ ] Notification of commits to the main tree should be e-mailed to the list
   we chose to create above
   [ ] A separate mailing list, projectname-git, should be created for commit
   notifications
   [X] No commit notifications, please

10. Shell accounts

   As a general rule, we don't provide shell accounts to developers unless
   there's a demonstrated need. If you have one, please explain here, and
   list the usernames of the committers above needing shell access.

11. Notes/comments:

thanks.

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