[Festival-libestools]Can someone show me the magic to compile the libestools?

2008-10-22 Thread yueyu lin
Hi, dear developers,
  I'm a voice application developer. Recently I use the Festival in our
project. First, I downloaded the festival and speech tools source codes and
compile them in my Ubuntu8.04. Then I wrote a test C++ application which can
run well to invoke the libFestival as part of the application. Then I use
JNI to wrap them to a Java interface. Unfortunately the same native codes
implementation crashed JVM every time. Thanks to the open source codes, I
can track it's because of the libestools crashed the JVM--- but the native
application runs well. When I finally plan to give up and try to use the
festival client, I installed the festival and the libest from Ubuntu
repository. Actually, they have the same newest version. When I recompile
the native codes after removing the -L option, the magic happened-- it
works, no codes change at all!  I really got confused I even use the same
configuration in speech_tools-- enable SHARED, why my homebrewed library
will always crash the JVM? BTW: the JVM indicates the libestools use invalid
memory address.
  I really want get the answer from the maintainer of the Ubuntu
Festival-libestools. Can you give me some clues about how you set the
compilation options? Since Ubuntu is only my work station, our real
production platform is RHEL and CentOS(sadly, our Ops think they are
enterprise level Linux, although I don't agree it that much...), I want to
use the same compilation options for our production boxes so my application
can run in these boxes well.
  Thanks a lot!

-- 
--
Yueyu Lin
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


How about to patch synapatic to make it actively download packages using multiple threads?

2007-10-21 Thread yueyu lin
As you noticed, sometimes, synaptic downloads packages slowly. I noticed
that apt-get in fact can use multiple threads to download sometimes. But
synaptic seems seldom to do this.
I wanna know why? In fact, it will not be difficult to modify codes to
support active multiple threads downloading. But it doesn't appear. I guess
developers think it's impolite to fork a lot of threads to download things
from server. The server may only serve for a few *rude* people. If it's
true, I will stop any attempts to do so. If it's not,I can have a try to do
this.

-- 
--
Yueyu Lin
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How about to patch synapatic to make it actively download packages using multiple threads?

2007-10-21 Thread yueyu lin
The problem to download from multiple server is that multiple servers may
not be synchronized at the same time.
Data synchronization is a serious problem. But I guess this should be better
if we can make sure that multiple servers have the same package files.

On 10/22/07, Nicolas Alvarez <[EMAIL PROTECTED]> wrote:
>
> On 10/21/07, yueyu lin <[EMAIL PROTECTED]> wrote:
> > As you noticed, sometimes, synaptic downloads packages slowly. I noticed
> > that apt-get in fact can use multiple threads to download sometimes. But
> > synaptic seems seldom to do this.
> > I wanna know why? In fact, it will not be difficult to modify codes to
> > support active multiple threads downloading. But it doesn't appear. I
> guess
> > developers think it's impolite to fork a lot of threads to download
> things
> > from server. The server may only serve for a few *rude* people. If it's
> > true, I will stop any attempts to do so. If it's not,I can have a try to
> do
> > this.
>
> Using multiple connections to a single server is a sure way to "make
> things worse", that is, overloading the server more. What does help is
> making multiple connections to *different* servers. That actually
> lowers load, since your download bandwidth is now dispersed between
> servers, so you're using up less upstream bandwidth from each server.
> I have been doing so to download the .iso's via HTTP (torrents go
> slowly for me).
>
> --
> Nicolas
>



-- 
--
Yueyu Lin
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


How about to patch synapatic to make it actively download packages using multiple threads?

2007-10-21 Thread yueyu lin
I'm going to do so. The first assumption is that a set of repository servers
have synchronized data correctly. But that will be ok after the md5sum
verification.

On 10/22/07, Nicolas Alvarez <[EMAIL PROTECTED]> wrote:
>
> On 10/21/07, yueyu lin <[EMAIL PROTECTED]> wrote:
> > On 10/22/07, Nicolas Alvarez <[EMAIL PROTECTED]> wrote:
> > > On 10/21/07, yueyu lin <[EMAIL PROTECTED]> wrote:
> > > > As you noticed, sometimes, synaptic downloads packages slowly. I
> noticed
> > > > that apt-get in fact can use multiple threads to download sometimes.
> But
> > > > synaptic seems seldom to do this.
> > > > I wanna know why? In fact, it will not be difficult to modify codes
> to
> > > > support active multiple threads downloading. But it doesn't appear.
> I
> > guess
> > > > developers think it's impolite to fork a lot of threads to download
> > things
> > > > from server. The server may only serve for a few *rude* people. If
> it's
> > > > true, I will stop any attempts to do so. If it's not,I can have a
> try to
> > do
> > > > this.
> > >
> > > Using multiple connections to a single server is a sure way to "make
> > > things worse", that is, overloading the server more. What does help is
>
> > > making multiple connections to *different* servers. That actually
> > > lowers load, since your download bandwidth is now dispersed between
> > > servers, so you're using up less upstream bandwidth from each server.
> > > I have been doing so to download the .iso's via HTTP (torrents go
> > > slowly for me).
> > >
> > The problem to download from multiple server is that multiple servers
> may
> > not be synchronized at the same time.
> > Data synchronization is a serious problem. But I guess this should be
> better
> > if we can make sure that multiple servers have the same package files.
> >
>
> File gives 404 => try another server. Server times out because of load
> => try another server. Server is downloading way too slowly compared
> to the other connections => disconnect from it and try another server.
>
> --
> Nicolas
>



-- 
--
Yueyu Lin

-- 
--
Yueyu Lin
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Help!Can anyone be so nice to share the Purevoice Linux SDK?

2008-02-27 Thread yueyu lin
Hi, all
If you're the voice codec developers, you may know Qualcomm closed the
Purevoice SDK downloads since Dec 31,2007. As I don't save a copy of that
and cannot see any signs Qualcomm will re-open it soon, can anyone who has
the SDK to share with me? I don't think it will violate any laws cause
Qualcomm used to open downloads and even Qualcomm's brew SDK is free. Thanks
in advance. Any help will be highly appreciated!
-- 
--
Yueyu Lin
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss