Main > Free Download Search >

Free async 0.05 software for linux

async 0.05

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 147
HTTP::Async 0.05

HTTP::Async 0.05


HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking. more>>
HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking.

SYNOPSIS

Create an object and add some requests to it:
use HTTP::Async;
my $async = HTTP::Async->new;

# create some requests and add them to the queue.
$async->add( HTTP::Request->new( GET => http://www.perl.org/ ) );
$async->add( HTTP::Request->new( GET => http://www.ecclestoad.co.uk/ ) );
and then EITHER process the responses as they come back:
while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}
OR do something else if there is no response ready:
while ( $async->not_empty ) {
if ( my $response = $async->next_response ) {
# deal with $response
} else {
# do something else
{
}
OR just use the async object to fetch stuff in the background and deal with the responses at the end.
# Do some long code...
for ( 1 .. 100 ) {
some_function();
$async->poke; # lets it check for incoming data.
}

while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}

Although using the conventional LWP::UserAgent is fast and easy it does have some drawbacks - the code execution blocks until the request has been completed and it is only possible to process one request at a time. HTTP::Async attempts to address these limitations.

It gives you a Async object that you can add requests to, and then get the requests off as they finish. The actual sending and receiving of the requests is abstracted. As soon as you add a request it is transmitted, if there are too many requests in progress at the moment they are queued. There is no concept of starting or stopping - it runs continuously.

Whilst it is waiting to receive data it returns control to the code that called it meaning that you can carry out processing whilst fetching data from the network. All without forking or threading - it is actually done using select lists.

<<less
Download (0.015MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1011 downloads
Aften 0.05

Aften 0.05


Aften is a simple, open-source, A/52 (AC-3) audio encoder. more>>
Aften project is a simple, open-source, A/52 (AC-3) audio encoder.
Main features:
- Implemented my own wav reader
- Converted the fixed-point algorithms to floating-point
- Rearranged the methods and structures
- Added stereo rematrixing (mid/side)
- Added short block MDCT and block switching
- Added VBR encoding mode
- Added variable bandwidth
- Added more complete WAV format support
- Added support for using the alternate bit stream syntax
- Created separate library and frontend
- Added input filters
Enhancements:
- Bit allocation speedups, a compile-time choice of using floats or doubles internally, an internal restructuring of MDCT functions, and bugfixes. quality=0 is now a valid setting.
<<less
Download (0.046MB)
Added: 2006-08-22 License: GPL (GNU General Public License) Price:
1165 downloads
Prelaunch 0.05

Prelaunch 0.05


Prelaunch is a utility for the Linux desktop which significantly decrease the time to launch programs. more>>
Prelaunch is a utility for the Linux desktop which significantly decrease the time to launch programs.

Pre- launch start the respective program during login not visible to the user. With this trick the real launch needs no time. It is written in C and GTK.

*Prelaunch will work with every desktop environment but only Gnome is supported at the moment (Adding new apps...).
<<less
Download (0.032MB)
Added: 2005-09-28 License: GPL (GNU General Public License) Price:
1489 downloads
Coy 0.05

Coy 0.05


Coy is a Perl module like Carp only prettier. more>>
Coy is a Perl module like Carp only prettier.

SYNOPSIS

# In your application:
# ====================

use Coy;

warn "There seems to be a problem";

die "Looks like it might be fatal";


# You can add vocab in the $HOME/.coyrc file:
# ===========================================

noun {
wookie =>
{
category => [ Sentient ],
sound => [ "roars", "grunts", "bellows" ],
act =>
{
sits => { location => Arborial },

fights => { minimum => 2,
association => "argument",
},
},
},

};

category {
Sentient =>
{
act =>
{
quarrels =>
{
associations => "argument",
location => Terrestrial,
minimum => 2,
synonyms => [qw(bickers argues)],
},
laughs =>
{
associations => "happy",
location => Terrestrial,
non_adjectival => 1,
},
},
}
};

personage "R2D2";
personage "Darth Vader";

place "Mos Eisley";
place "the Death Star";

tree "Alderaan mangrove";
fruit_tree "Wookie-oak";


# You can also select a different syllable counter via .coyrc
# ===========================================================

use Lingua::EN::Syllables::syllable;
syllable_counter "Lingua::EN::Syllables::syllable";

# or

use Lingua::EN::Syllables::syllable;
syllable_counter &Lingua::EN::Syllables::syllable;

# or

syllable_counter sub { return 1 }; # FAST BUT INACCURATE

<<less
Download (0.020MB)
Added: 2007-05-08 License: Perl Artistic License Price:
899 downloads
wlan-ui 0.05

wlan-ui 0.05


wlan-ui is a very small Linux GUI tool for connecting to wireless networks. more>>
wlan-ui is a very small Linux GUI tool for connecting to wireless networks. It is written in perl, and is a basic example of using perl with Gtk and Glade.

There is also some simple process handling (forking off a process, collecting output, killing the process if cancelled).

<<less
Download (0.048MB)
Added: 2005-07-28 License: GPL (GNU General Public License) Price:
1556 downloads
Async::Group 0.3

Async::Group 0.3


Async::Group is a Perl class to deal with simultaneous asynchronous calls. more>>
Async::Group is a Perl class to deal with simultaneous asynchronous calls.

SYNOPSIS

use Async::Group ;
use strict ;

sub sub1
{
print "Dummy subroutine n";
my $dummy = shift ;
my $cb = shift ;

&$cb(1);
}

sub allDone
{
print "All done, result is ", shift ,"n" ;
}
my $a = Async::Group->new(name => aTest, test => 1) ;

$a->run(set => [ sub {⊂1( callback => sub {$a->callDone(@_)} )},
sub {⊂1( callback => sub {$a->callDone(@_)} )} ],
callback => &allDone
)

# or another way which avoids the clumsy nested subs
my $cb = $a->getCbRef();
$a->run(set => [ sub {⊂1( callback => $cb)},
sub {⊄1( callback => $cb )} ],
callback => &allDone
)

If you sometimes have to launch several asynchronous calls in parrallel and want to call one call-back function when all these calls are finished, this module may be for you.

Async::Group is a class which enables you to call several asynchronous routines. Each routine may have their own callback. When all the routine are over (i.e. all their callback were called), Async::Group will call the global callback given by the user.

Note that one Async::Group objects must be created for each group of parrallel calls. This object may be destroyed (or will vanish itself) once the global callback is called.

Note also that Async::Group does not perform any fork or other system calls. It just run the passed subroutines and keep count of the call-back functions called by the aforementionned subroutines. When all these subs are finished, it calls another call-back (passed by the user) to perform whatever function required by the user.

Using fork or threads or whatever is left to the user.

<<less
Download (0.004MB)
Added: 2007-04-12 License: Perl Artistic License Price:
925 downloads
syslog-async 0.1

syslog-async 0.1


syslog-async project is a non-blocking syslog() replacement. more>>
syslog-async project is a non-blocking syslog() replacement.

It is not widely known that the standard Unix syslog() library routine can block waiting for the syslog daemon, but it is generally true. On some systems, using a datagram socket for /dev/log avoids endless waits, but on Linux, even this does not work. Try typing

killall -STOP syslogd

into a root terminal on a non-critical box: Eventually, everything will stop.

This library provides a version of syslog() which never blocks: the code was originally written for dnsmasq, to fix a deadlock between syslod and dnsmasq where syslogd uses dnsmasq for DNS, and dnsmasq uses syslogd for logging. It should be generally useful for any daemon where its more important that the daemon continue to function than that it continue to log.

The code has been tested on Linux 2.6, OpenBSD 4.0 and FreeBSD 6.0. It has been run with syslogd and syslog-ng. Note that it is not, currently, threadsafe.

The header file, syslog_async.h is extensively commented, and details how to use the library. It is, as far as possible, API compatible with the POSIX-standard syslog.
<<less
Download (0.012MB)
Added: 2007-03-14 License: GPL (GNU General Public License) Price:
955 downloads
ulogipac 0.05

ulogipac 0.05


ulogipac is a powerful IP traffic accounting tool for Linux routers and hosts. more>>
ulogipac is a powerful IP traffic accounting tool for Linux routers and hosts. You can use the power of iptables rules to specify which traffic you want to account and which *not*. The size of IP packets sent to ulogipac through iptables is counted and buffered. After a configurable timeperiod you can submit the traffic information to your database servers (currently only MySQL is supported). You can specify 1 to N servers to send traffic information to.

Once ulogipac is installed you can start using it in combination with iptables rules. Normally you want to account traffic, which is routed to a linux router from one network interface to another or others (for example ppp devices terminating PPTP/PPPOE/DIALIN sessions).

<<less
Download (0.032MB)
Added: 2006-06-29 License: GPL (GNU General Public License) Price:
1212 downloads
GPS::PRN 0.05

GPS::PRN 0.05


GPS::PRN is a package for PRN - Object ID conversions. more>>
GPS::PRN is a package for PRN - Object ID conversions.

SYNOPSIS

use GPS::PRN;
my $obj = GPS::PRN->new();
print "PRN: ", $obj->prn_oid(22231), "n";
print "OID: ", $obj->oid_prn(1), "n";

This module maps GPS PRN number to Satellite OID and vice versa.

Object Identification Number (OID)

The catalog number assigned to the object by the US Air Force. The numbers are assigned sequentially as objects are cataloged. This is the most common way to search for TLE data on this site.

Object numbers less then 10000 are always aligned to the right, and padded with zeros or spaces to the left.

Pseudo Random Numbers (PRNs)

GPS satellites are identified by the receiver by means of PRN-numbers. Real GPS satellites are numbered from 1 - 32. WAAS/EGNOS satellites and other pseudolites are assigned higher numbers. The PRN-numbers of the satellites appear on the satellite view screens of many GPS receivers.

METHODS

prn_oid

PRN given Object ID.

my $prn=prn_oid(22231);

oid_prn

Object ID given PRN.

my $oid=oid_prn(1);

listprn

List all known PRNs.

my @prn=$obj->listprn;
my $prn=$obj->listprn;

listoid

List all known OIDs.

my @oid=$obj->listoid;
my $oid=$obj->listoid;

data

OID to PRN hash reference

my $data=$self->data;

overload

Adds or overloads new OID/PRN pairs.

$obj->overload($oid=>$prn);

reset

Resets overloaded OID/PRN pairs to package defaults.

$obj->reset;

<<less
Download (0.004MB)
Added: 2007-05-17 License: Perl Artistic License Price:
893 downloads
Aorta 0.05

Aorta 0.05


Aorta project is a load-balancing clustered P2P application. more>>
Aorta project is a load-balancing clustered P2P application.
It executes Tasklets (which have the ability to split themselves into sub tasks that can be executed in pararell).
A typical cluster contains of a LAN with 1-256 computers, each one running aorta.
A Tasklet can be of any type ranging from encoding MP3s, Genomic DNA Alignment, or simply to rendering Web pages for high speed/heavily loaded Web sites.
You can make functions calls to C/C++, applications like Matlab, etc.
Main features:
- PingTasklet simply traversers your net of aortas.
- ImageTasklet , simply rescale imagecolours.
- EncodeTasklet, spreads out mp3 encode in your LAN.
- SimpleSort , Merge sort by Gretsam.
Enhancements:
- Refactored to one base class Moblet,the smalles code and data entity moving around
- Improved Moblet Receiver and executing. Minimizing worker idle time
- startup script aorta.sh improved now can start with remote debug params
- Aorta core can now be used as an API to emit/delegete Moblets from an user created application
- Preferences stuff should work on a MS platform now
- Herve added DocBook to buildsystem
- Gretsam added a MergeSorter Tasklet
<<less
Download (2.2MB)
Added: 2006-10-09 License: GPL (GNU General Public License) Price:
1110 downloads
Tie::Trace 0.05

Tie::Trace 0.05


Tie::Trace can easy print debugging with tie. more>>
Tie::Trace can easy print debugging with tie.

SYNOPSIS

use Tie::Trace;

my %hash;
tie %hash, "Tie::Trace";

$hash{hoge} = hogehoge; # warn Hash => Key: hoge, Value: hogehgoe at ...

my @array;
tie @aray, "Tie::Trace";
push @array, "array"; # warn Array => Point: 0, Value: array at ...

my $scalar;
tie $scalar, "Tie::Trace";
$scalar = "scalar"; # warn Scalar => Value: scalar at ...

This is usefull for print debugging. Using tie mechanism, you can see sotred value for the specified variable.

If the stored value is scalar/array/hash ref, this can check recursively.

for example;
tie %hash, "Tie::Trace";

$hash{foo} = {a => 1, b => 2}; # warn ...
$hash{foo}->{a} = 2 # warn ...

But This ignores blessed reference and tied value.

<<less
Download (0.008MB)
Added: 2007-08-10 License: Perl Artistic License Price:
807 downloads
mod_arm 0.05

mod_arm 0.05


mod_arm provides a simple, seamless, and application independent interface to ARM (Application Response Measurement). more>>
mod_arm provides a simple, seamless, and application independent interface to ARM (Application Response Measurement).

mod_arm allows system administrators to get an accurate idea of how long an application takes on a running server - for a single instance or as a step in a multi-tier transaction. This is definitely a work in progress.

Configuration Directives

Arm

Syntax: Arm state
When state is on, ARM measurements will be taken for this directory
When state is application, ARM measurements will be controlled by the application scripting language such as PHP (not yet implemented)
When state is off, no measurements are taken for this directory

ArmApplication

Syntax: ArmApplication application_name
Specifies the application name to use for this directory. If non is specified, the default value of "Apache" is used.

ArmUser

Syntax: ArmUser user_name
Specifies the user name for the transaction. If none is specified, the default value of "*" is used

ArmTransaction

Syntax: ArmTransaction transaction_name
Specifies the name of the transaction. If none is specified, the default value will be the URI of the object requested.

ArmTransactionInfo

Syntax: ArmTransactionInfo transaction_info
This is an informational string used to descibe the transaction, primarily for use by transaction correlators. If not specifed, the default value is "Apache web page".

<<less
Download (0.015MB)
Added: 2006-05-26 License: The Apache License Price:
1247 downloads
AI::FuzzyInference 0.05

AI::FuzzyInference 0.05


AI::FuzzyInference is a Perl module to implement a Fuzzy Inference System. more>>
AI::FuzzyInference is a Perl module to implement a Fuzzy Inference System.

SYNOPSYS

use AI::FuzzyInference;

my $s = new AI::FuzzyInference;

$s->inVar(service, 0, 10,
poor => [0, 0,
2, 1,
4, 0],
good => [2, 0,
4, 1,
6, 0],
excellent => [4, 0,
6, 1,
8, 0],
amazing => [6, 0,
8, 1,
10, 0],
);

$s->inVar(food, 0, 10,
poor => [0, 0,
2, 1,
4, 0],
good => [2, 0,
4, 1,
6, 0],
excellent => [4, 0,
6, 1,
8, 0],
amazing => [6, 0,
8, 1,
10, 0],
);

$s->outVar(tip, 5, 30,
poor => [5, 0,
10, 1,
15, 0],
good => [10, 0,
15, 1,
20, 0],
excellent => [15, 0,
20, 1,
25, 0],
amazing => [20, 0,
25, 1,
30, 0],
);

$s->addRule(
service=poor & food=poor => tip=poor,
service=good & food=poor => tip=poor,
service=excellent & food=poor => tip=good,
service=amazing & food=poor => tip=good,

service=poor & food=good => tip=poor,
service=good & food=good => tip=good,
service=excellent & food=good => tip=good,
service=amazing & food=good => tip=excellent,

service=poor & food=excellent => tip=good,
service=good & food=excellent => tip=excellent,
service=excellent & food=excellent => tip=excellent,
service=amazing & food=excellent => tip=amazing,

service=poor & food=amazing => tip=good,
service=good & food=amazing => tip=excellent,
service=excellent & food=amazing => tip=amazing,
service=amazing & food=amazing => tip=amazing,

);

$s->compute(service => 2,
food => 7);

<<less
Download (0.010MB)
Added: 2007-07-14 License: Perl Artistic License Price:
832 downloads
Wx::ActiveX 0.05

Wx::ActiveX 0.05


Wx::ActiveX provides the ActiveX interface. more>>
Wx::ActiveX provides the ActiveX interface.

It loads ActiveX controls for wxWindows.

SYNOPSIS

use Wx::ActiveX ;
my $activex = Wx::ActiveX->new( $this , "ShockwaveFlash.ShockwaveFlash" , 101 , wxDefaultPosition , wxDefaultSize ) ;

$activex->Invoke("LoadMovie",0,"file:///F:/swf/test.swf") ;

$activex->PropSet("Quality",Best) ;

my $frames_n = $activex->PropVal("TotalFrames") ;

$activex->Invoke("Play") ;

... or ...

$activex->Play ;

<<less
Download (0.053MB)
Added: 2007-03-30 License: Perl Artistic License Price:
951 downloads
HTML::Myasp 0.05

HTML::Myasp 0.05


HTML::Myasp can generate HTML pages based on Templates. JATP (Just Another Template Parser). more>>
HTML::Myasp can generate HTML pages based on Templates. JATP (Just Another Template Parser).

This library is another template module for the generation of HTML pages. Why ?. Well primarily i wanted a module: light, that keeps mod_perl power and flow control like HTML::Template, good interaction with external contents administrators, have the chance of using naturally the print statement for generating web content, but, for some situations have the chance of directly replace keywords in the template with values. In some way this module centralizes the feature of a hash with values for replacing that you find in HTML::Template and the XMLSubsMatch feature of Apache::ASP.

This module keeps the basic mod_perl flow, and permits the replacing with dynamic content using two forms of marking. Is very well suited for working in parallel with the designers team, living each group advance on its own.

HTML::Myasp export the send_page function by default, you can attach the dynamic content using:

A callback style for special tags delimiting zones.
Direct replacing of keywords by values.
In order to improve performance it uses a global pages CACHE hash, avoiding parsing files unless modified.

<<less
Download (0.006MB)
Added: 2006-08-01 License: GPL (GNU General Public License) Price:
1179 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5