discrete event
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1015
Discrete Event Calculus Reasoner 1.0
Discrete Event Calculus Reasoner is an open source program for performing automated commonsense reasoning. more>>
Discrete Event Calculus Reasoner is an open source program for performing automated commonsense reasoning using the event calculus, a comprehensive and highly usable logic-based formalism.
Discrete Event Calculus Reasoner solves problems efficiently by converting them into satisfiability (SAT) problems.
Main features:
- Comes with 99 examples
- Comes with 12-page users manual
- Supports deduction/temporal projection, abduction/planning, postdiction, and model finding
- Allows default reasoning about action, change, space, and mental states
- Useful for intelligent user interfaces, business systems, natural language understanding, and computer vision
- Helps applications understand the world, make inferences, adapt to unexpected situations, and be more flexible
- Released under the Common Public License v1.0
<<lessDiscrete Event Calculus Reasoner solves problems efficiently by converting them into satisfiability (SAT) problems.
Main features:
- Comes with 99 examples
- Comes with 12-page users manual
- Supports deduction/temporal projection, abduction/planning, postdiction, and model finding
- Allows default reasoning about action, change, space, and mental states
- Useful for intelligent user interfaces, business systems, natural language understanding, and computer vision
- Helps applications understand the world, make inferences, adapt to unexpected situations, and be more flexible
- Released under the Common Public License v1.0
Download (0.34MB)
Added: 2006-01-26 License: Common Public License Price:
1368 downloads
TigerEvents 0.7.1
TigerEvents is a web-based event announcement system. more>>
TigerEvents is a novel, Web-based event announcement system for promoting upcoming and ongoing events to large communities such as university campuses, companies, or the general public.
Enhancements:
- This release has several bugfixes and enhancements.
- New to this release is the exporting of several calendar formats, including iCal, hCal, and being able to import events into Google Calendar.
<<lessEnhancements:
- This release has several bugfixes and enhancements.
- New to this release is the exporting of several calendar formats, including iCal, hCal, and being able to import events into Google Calendar.
Download (1.9MB)
Added: 2007-01-25 License: GPL (GNU General Public License) Price:
1003 downloads
libevent 1.3d
libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor. more>>
libevent library provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.
It is meant to replace the asynchronous event loop found in event-driven network servers.
libevent is meant to replace the event loop found in event driven network servers. An application just needs to call event_dispatch() and then add or remove events dynamically without having to change the event loop.
Currently, libevent supports /dev/poll, kqueue(2), select(2), poll(2) and epoll(4). It also has experimental support for real-time signals. The internal event mechanism is completely independent of the exposed event API, and a simple update of libevent can provide new functionality without having to redesign the applications. As a result, Libevent allows for portable application development and provides the most scalable event notification mechanism available on an operating system.
More information about event notification mechanisms for network servers can be found on Dan Kegels "The C10K problem" web page. Another library that abstracts asynchronous event notification is liboop.
Enhancements:
- Bugs in libevents HTTP layer were fixed.
<<lessIt is meant to replace the asynchronous event loop found in event-driven network servers.
libevent is meant to replace the event loop found in event driven network servers. An application just needs to call event_dispatch() and then add or remove events dynamically without having to change the event loop.
Currently, libevent supports /dev/poll, kqueue(2), select(2), poll(2) and epoll(4). It also has experimental support for real-time signals. The internal event mechanism is completely independent of the exposed event API, and a simple update of libevent can provide new functionality without having to redesign the applications. As a result, Libevent allows for portable application development and provides the most scalable event notification mechanism available on an operating system.
More information about event notification mechanisms for network servers can be found on Dan Kegels "The C10K problem" web page. Another library that abstracts asynchronous event notification is liboop.
Enhancements:
- Bugs in libevents HTTP layer were fixed.
Download (0.34MB)
Added: 2007-08-16 License: BSD License Price:
805 downloads
Event 1.09
Event is an Event loop processing. more>>
Event is an Event loop processing.
SYNOPSIS
use Event qw(loop unloop);
# initialize application
Event->flavor(attribute => value, ...);
my $ret = loop();
# and some callback will call
unloop(ok);
The Event module provide a central facility to watch for various types of events and invoke a callback when these events occur. The idea is to delay the handling of events so that they may be dispatched in priority order when it is safe for callbacks to execute.
Events (in the ordinary sense of the word) are detected by watchers, which reify them as events (in the special Event module sense). For clarity, the former type of events may be called "source events", and the latter "target events". Source events, such as signals arriving, happen whether or not they are being watched. If a source event occurs which a watcher is actively watching then the watcher generates a corresponding target event. Target events are only created by watchers. If several watchers are interested in the same source event then each will generate their own target event. Hence, any particular source event may result in zero, one, two, or any number of target events: the same as the number of watchers which were actively watching for it.
Target events are queued to be processed in priority order (priority being determined by the creating watcher) and in FIFO order among events of the same priority. Queued ("pending") events can, in some cases, be cancelled before being processed. A queued event is processed by being passed to the callback function (or method on a particular object or class) which was specified to the watcher.
A watcher, once created, operates autonomously without the Event user having to retain any reference to it. However, keeping a reference makes it possible to modify most of the watchers characteristics. A watcher can be switched between active and inactive states. When inactive, it does not generate target events.
Some types of source event are not reified as target events immediately. Signals received, for example, are counted initially. The counted signals are reified at certain execution points. Hence, signal events may be processed out of order, and if handled carelessly, on the wrong side of a state change in event handling. A useful way to view this is that occurrence of the source event is not actually the arrival of the signal but is triggered by the counting of the signal.
Reification can be forced when necessary. The schedule on which some other events are created is non-obvious. This is especially the case with watchers that watch for a condition rather than an event. In some cases, target events are generated on a schedule that depends on the operation of the event loop.
<<lessSYNOPSIS
use Event qw(loop unloop);
# initialize application
Event->flavor(attribute => value, ...);
my $ret = loop();
# and some callback will call
unloop(ok);
The Event module provide a central facility to watch for various types of events and invoke a callback when these events occur. The idea is to delay the handling of events so that they may be dispatched in priority order when it is safe for callbacks to execute.
Events (in the ordinary sense of the word) are detected by watchers, which reify them as events (in the special Event module sense). For clarity, the former type of events may be called "source events", and the latter "target events". Source events, such as signals arriving, happen whether or not they are being watched. If a source event occurs which a watcher is actively watching then the watcher generates a corresponding target event. Target events are only created by watchers. If several watchers are interested in the same source event then each will generate their own target event. Hence, any particular source event may result in zero, one, two, or any number of target events: the same as the number of watchers which were actively watching for it.
Target events are queued to be processed in priority order (priority being determined by the creating watcher) and in FIFO order among events of the same priority. Queued ("pending") events can, in some cases, be cancelled before being processed. A queued event is processed by being passed to the callback function (or method on a particular object or class) which was specified to the watcher.
A watcher, once created, operates autonomously without the Event user having to retain any reference to it. However, keeping a reference makes it possible to modify most of the watchers characteristics. A watcher can be switched between active and inactive states. When inactive, it does not generate target events.
Some types of source event are not reified as target events immediately. Signals received, for example, are counted initially. The counted signals are reified at certain execution points. Hence, signal events may be processed out of order, and if handled carelessly, on the wrong side of a state change in event handling. A useful way to view this is that occurrence of the source event is not actually the arrival of the signal but is triggered by the counting of the signal.
Reification can be forced when necessary. The schedule on which some other events are created is non-obvious. This is especially the case with watchers that watch for a condition rather than an event. In some cases, target events are generated on a schedule that depends on the operation of the event loop.
Download (0.24MB)
Added: 2007-06-06 License: Perl Artistic License Price:
872 downloads
DateTime::Event::Cron 0.07
DateTime::Event::Cron is a DateTime extension for generating recurrence sets from crontab lines and files. more>>
DateTime::Event::Cron is a DateTime extension for generating recurrence sets from crontab lines and files.
SYNOPSIS
use DateTime::Event::Cron;
# DateTime::Set construction from crontab line
$crontab = */3 15 1-10 3,4,5 */2;
$set = DateTime::Event::Cron->from_cron($crontab);
$iter = $set->iterator(after => DateTime->now);
while (1) {
my $next = $iter->next;
my $now = DateTime->now;
sleep(($next->subtract_datetime_absolute($now))->seconds);
# do stuff...
}
# List of DateTime::Set objects from crontab file
@sets = DateTime::Event::Cron->from_crontab(file => /etc/crontab);
$now = DateTime->now;
print "Now: ", $now->datetime, "n";
foreach (@sets) {
my $next = $_->next($now);
print $next->datetime, "n";
}
# DateTime::Set parameters
$crontab = * * * * *;
$now = DateTime->now;
%set_parms = ( after => $now );
$set = DateTime::Event::Cron->from_cron(cron => $crontab, %set_parms);
$dt = $set->next;
print "Now: ", $now->datetime, " and next: ", $dt->datetime, "n";
# Spans for DateTime::Set
$crontab = * * * * *;
$now = DateTime->now;
$now2 = $now->clone;
$span = DateTime::Span->from_datetimes(
start => $now->add(minutes => 1),
end => $now2->add(hours => 1),
);
%parms = (cron => $crontab, span => $span);
$set = DateTime::Event::Cron->from_cron(%parms);
# ...do things with the DateTime::Set
# Every RTFCT relative to 12am Jan 1st this year
$crontab = 7-10 6,12-15 10-28/2 */3 3,4,5;
$date = DateTime->now->truncate(to => year);
$set = DateTime::Event::Cron->from_cron(cron => $crontab, after => $date);
# Rather than generating DateTime::Set objects, next/prev
# calculations can be made directly:
# Every day at 10am, 2pm, and 6pm. Reference date
# defaults to DateTime->now.
$crontab = 10,14,18 * * * *;
$dtc = DateTime::Event::Cron->new_from_cron(cron => $crontab);
$next_datetime = $dtc->next;
$last_datetime = $dtc->previous;
...
# List of DateTime::Event::Cron objects from
# crontab file
@dtc = DateTime::Event::Cron->new_from_crontab(file => /etc/crontab);
# Full cron lines with user, such as from /etc/crontab
# or files in /etc/cron.d, are supported and auto-detected:
$crontab = * * * * * gump /bin/date;
$dtc = DateTime::Event::Cron->new(cron => $crontab);
# Auto-detection of users is disabled if you explicitly
# enable/disable via the user_mode parameter:
$dtc = DateTime::Event::Cron->new(cron => $crontab, user_mode => 1);
my $user = $dtc->user;
my $command = $dtc->command;
# Unparsed original cron entry
my $original = $dtc->original;
<<lessSYNOPSIS
use DateTime::Event::Cron;
# DateTime::Set construction from crontab line
$crontab = */3 15 1-10 3,4,5 */2;
$set = DateTime::Event::Cron->from_cron($crontab);
$iter = $set->iterator(after => DateTime->now);
while (1) {
my $next = $iter->next;
my $now = DateTime->now;
sleep(($next->subtract_datetime_absolute($now))->seconds);
# do stuff...
}
# List of DateTime::Set objects from crontab file
@sets = DateTime::Event::Cron->from_crontab(file => /etc/crontab);
$now = DateTime->now;
print "Now: ", $now->datetime, "n";
foreach (@sets) {
my $next = $_->next($now);
print $next->datetime, "n";
}
# DateTime::Set parameters
$crontab = * * * * *;
$now = DateTime->now;
%set_parms = ( after => $now );
$set = DateTime::Event::Cron->from_cron(cron => $crontab, %set_parms);
$dt = $set->next;
print "Now: ", $now->datetime, " and next: ", $dt->datetime, "n";
# Spans for DateTime::Set
$crontab = * * * * *;
$now = DateTime->now;
$now2 = $now->clone;
$span = DateTime::Span->from_datetimes(
start => $now->add(minutes => 1),
end => $now2->add(hours => 1),
);
%parms = (cron => $crontab, span => $span);
$set = DateTime::Event::Cron->from_cron(%parms);
# ...do things with the DateTime::Set
# Every RTFCT relative to 12am Jan 1st this year
$crontab = 7-10 6,12-15 10-28/2 */3 3,4,5;
$date = DateTime->now->truncate(to => year);
$set = DateTime::Event::Cron->from_cron(cron => $crontab, after => $date);
# Rather than generating DateTime::Set objects, next/prev
# calculations can be made directly:
# Every day at 10am, 2pm, and 6pm. Reference date
# defaults to DateTime->now.
$crontab = 10,14,18 * * * *;
$dtc = DateTime::Event::Cron->new_from_cron(cron => $crontab);
$next_datetime = $dtc->next;
$last_datetime = $dtc->previous;
...
# List of DateTime::Event::Cron objects from
# crontab file
@dtc = DateTime::Event::Cron->new_from_crontab(file => /etc/crontab);
# Full cron lines with user, such as from /etc/crontab
# or files in /etc/cron.d, are supported and auto-detected:
$crontab = * * * * * gump /bin/date;
$dtc = DateTime::Event::Cron->new(cron => $crontab);
# Auto-detection of users is disabled if you explicitly
# enable/disable via the user_mode parameter:
$dtc = DateTime::Event::Cron->new(cron => $crontab, user_mode => 1);
my $user = $dtc->user;
my $command = $dtc->command;
# Unparsed original cron entry
my $original = $dtc->original;
Download (0.010MB)
Added: 2007-05-16 License: Perl Artistic License Price:
891 downloads
RwdSchedule 1.02
RwdSchedule is an event database program using RubyWebDialogs. more>>
RwdSchedule is an event database program using RubyWebDialogs.
It can list events, store events, and edit, rename, and delete events.
FTP can be used to sync events with multiple systems.
ICS files can be created. Context help is sent on some screens. It should run without changes on all platforms.
It is an rwdtinker program and can take additional plugins.
Enhancements:
- changed schedule configuration screen
- updated for rwdtinker 1.66
- new helpabout
- new documents list
<<lessIt can list events, store events, and edit, rename, and delete events.
FTP can be used to sync events with multiple systems.
ICS files can be created. Context help is sent on some screens. It should run without changes on all platforms.
It is an rwdtinker program and can take additional plugins.
Enhancements:
- changed schedule configuration screen
- updated for rwdtinker 1.66
- new helpabout
- new documents list
Download (0.12MB)
Added: 2006-09-27 License: GPL (GNU General Public License) Price:
1122 downloads
XML::Essex::Event 0.01
XML::Essex::Event is a base event class, also used for unknown event types. more>>
XML::Essex::Event is a base event class, also used for unknown event types. Stringifies as $event->type . "()" to indicate an event that has no natural way to represented in XML, or for ones that havent been handled yet in Essex.
Methods
new
XML::Event->new( a => 1, b => 2 );
XML::Event->new( { a => 1, b => 2 } );
## in a subclass:
sub new {
my $self = shift->SUPER::new( @_ );
...
return $self;
}
A generic constructor.
If a single value is passed in, a reference to it is kept. This must be a HASH for all builtin objects.
If an even number of parameters is passed in, treats them as key => value pairs and creates a HASH around them.
isa
Accepts shorthand; if the objects class starts with "XML::Essex::Event::", the parameter is checked against the string after "XML::Essex::Event::". So a XML::Essex::Event::foo->isa( "foo" ) is true (assuming it really is true; in other words, assuming that its @ISA is set properly).
clone
my $clone = $e->clone;
Does a deep copy of an event. Any events that require a deep copy must overload this to provide it, the default action is to just copy the main HASH.
type
Strips all characters up to the "::" and returns the remainder, so, for the XML::Essex::start_document class, this returns "start_document".
This must return a valid SAX event name, it is used to figure out how to serialize most event objects.
This is overloaded in most classes for speed and to allow subclasses to tweak the behavior of a class and still be reported as the proper type.
generate_SAX
$e->generate_SAX( $handler );
Emits the SAX event(s) necessary to serialize this event object and send them to $handler. $handler will always be defined.
Uses the type method to figure out what to send. Some classes (notably XML::Essex::characters) overload this for various reasons.
Assumes scalar context (which should not cause problems).
<<lessMethods
new
XML::Event->new( a => 1, b => 2 );
XML::Event->new( { a => 1, b => 2 } );
## in a subclass:
sub new {
my $self = shift->SUPER::new( @_ );
...
return $self;
}
A generic constructor.
If a single value is passed in, a reference to it is kept. This must be a HASH for all builtin objects.
If an even number of parameters is passed in, treats them as key => value pairs and creates a HASH around them.
isa
Accepts shorthand; if the objects class starts with "XML::Essex::Event::", the parameter is checked against the string after "XML::Essex::Event::". So a XML::Essex::Event::foo->isa( "foo" ) is true (assuming it really is true; in other words, assuming that its @ISA is set properly).
clone
my $clone = $e->clone;
Does a deep copy of an event. Any events that require a deep copy must overload this to provide it, the default action is to just copy the main HASH.
type
Strips all characters up to the "::" and returns the remainder, so, for the XML::Essex::start_document class, this returns "start_document".
This must return a valid SAX event name, it is used to figure out how to serialize most event objects.
This is overloaded in most classes for speed and to allow subclasses to tweak the behavior of a class and still be reported as the proper type.
generate_SAX
$e->generate_SAX( $handler );
Emits the SAX event(s) necessary to serialize this event object and send them to $handler. $handler will always be defined.
Uses the type method to figure out what to send. Some classes (notably XML::Essex::characters) overload this for various reasons.
Assumes scalar context (which should not cause problems).
Download (0.042MB)
Added: 2007-08-17 License: Perl Artistic License Price:
798 downloads
Tk::event 804.027
Tk::event contains miscellaneous event facilities: define virtual events and generate events. more>>
Tk::event contains miscellaneous event facilities: define virtual events and generate events.
SYNOPSIS
$widget->eventAction(?arg, arg, ...?);
The eventAction methods provides several facilities for dealing with window system events, such as defining virtual events and synthesizing events. Virtual events are shared by all widgets of the same MainWindow. Different MainWindows can have different virtual event.
The following methods are currently supported:
$widget->eventAdd(, sequence ?,sequence, ...?)
Associates the virtual event virtual with the physical event sequence(s) given by the sequence arguments, so that the virtual event will trigger whenever any one of the sequences occurs. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. If virtual is already defined, the new physical event sequences add to the existing sequences for the event.
$widget->eventDelete( ?,sequence, sequence, ...?)
Deletes each of the sequences from those associated with the virtual event given by virtual. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. Any sequences not currently associated with virtual are ignored. If no sequence argument is provided, all physical event sequences are removed for virtual, so that the virtual event will not trigger anymore.
$widget->eventGenerate(event ?,option => value, option => value, ...?)
Generates a window event and arranges for it to be processed just as if it had come from the window system. $window is a reference to the window for which the event will be generated. Event provides a basic description of the event, such as < Shift-Button-2 > or >. If Window is empty the whole screen is meant, and coordinates are relative to the screen. Event may have any of the forms allowed for the sequence argument of the bind method except that it must consist of a single event pattern, not a sequence. Option-value pairs may be used to specify additional attributes of the event, such as the x and y mouse position; see "EVENT FIELDS" below. If the -when option is not specified, the event is processed immediately: all of the handlers for the event will complete before the eventGenerate method returns. If the -when option is specified then it determines when the event is processed.
$widget->eventInfo(?>?)
Returns information about virtual events. If the argument is omitted, the return value is a list of all the virtual events that are currently defined. If is specified then the return value is a list whose elements are the physical event sequences currently defined for the given virtual event; if the virtual event is not defined then undef is returned.
<<lessSYNOPSIS
$widget->eventAction(?arg, arg, ...?);
The eventAction methods provides several facilities for dealing with window system events, such as defining virtual events and synthesizing events. Virtual events are shared by all widgets of the same MainWindow. Different MainWindows can have different virtual event.
The following methods are currently supported:
$widget->eventAdd(, sequence ?,sequence, ...?)
Associates the virtual event virtual with the physical event sequence(s) given by the sequence arguments, so that the virtual event will trigger whenever any one of the sequences occurs. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. If virtual is already defined, the new physical event sequences add to the existing sequences for the event.
$widget->eventDelete( ?,sequence, sequence, ...?)
Deletes each of the sequences from those associated with the virtual event given by virtual. Virtual may be any string value and sequence may have any of the values allowed for the sequence argument to the bind method. Any sequences not currently associated with virtual are ignored. If no sequence argument is provided, all physical event sequences are removed for virtual, so that the virtual event will not trigger anymore.
$widget->eventGenerate(event ?,option => value, option => value, ...?)
Generates a window event and arranges for it to be processed just as if it had come from the window system. $window is a reference to the window for which the event will be generated. Event provides a basic description of the event, such as < Shift-Button-2 > or >. If Window is empty the whole screen is meant, and coordinates are relative to the screen. Event may have any of the forms allowed for the sequence argument of the bind method except that it must consist of a single event pattern, not a sequence. Option-value pairs may be used to specify additional attributes of the event, such as the x and y mouse position; see "EVENT FIELDS" below. If the -when option is not specified, the event is processed immediately: all of the handlers for the event will complete before the eventGenerate method returns. If the -when option is specified then it determines when the event is processed.
$widget->eventInfo(?>?)
Returns information about virtual events. If the argument is omitted, the return value is a list of all the virtual events that are currently defined. If is specified then the return value is a list whose elements are the physical event sequences currently defined for the given virtual event; if the virtual event is not defined then undef is returned.
Download (5.7MB)
Added: 2007-08-21 License: Perl Artistic License Price:
795 downloads
AnyEvent 4.8
An identical interface to multiple event loops. more>> AnyEvent 4.8 is specifically designed to be an identical interface to multiple event loops. AnyEvent library allows module authors to utilize an event loop without forcing module users to use the same event loop (as only a single event loop can coexist peacefully at any one time).
The interface itself is vaguely similar but not identical to the Event module. On the first call of any method, the module tries to detect the currently loaded event loop by probing for an already-loaded event loop, such as Glib or Event. The first one found is used. If none is found, the module tries to load an event module.
Enhancements:
- This release adds an introductory tutorial.
- Also, many workarounds for Windows and Tk bugs have been implemented, to make AnyEvent behavior identical to Unix behavior.
- IPv6 support is only enabled when the OS actually supports it.
- BSD platforms implementing the socket structures incorrectly are now worked around. Unix domain sockets are now supported transparently.
- NAPTR and SRV handling has been improved. Lastly, a great many bugs and performance improvements have been applied, especially to AnyEvent:Handle and TLS support.
Requirements: Perl
Added: 2009-07-07 License: Perl Artistic License Price: FREE
14 downloads
Other version of AnyEvent
License:Perl Artistic License
@1 Know Your Events 1.0
Let your site visitors view or search events posted by you. more>> Let your site visitors view or search events posted by you. Support image upload.<<less
Download (12KB)
Added: 2009-04-11 License: Freeware Price: Free
195 downloads
Data::ICal::Entry::Event 0.12
Data::ICal::Entry::Event is a Perl module that represents an event in an iCalendar file. more>>
Data::ICal::Entry::Event is a Perl module that represents an event in an iCalendar file.
SYNOPSIS
my $vevent = Data::ICal::Entry::Event->new();
$vevent->add_properties(
summary => "my party",
description => "Ill cry if I want to",
# Dat*e*::ICal is not a typo here
dtstart => Date::ICal->new( epoch => time )->ical,
);
$calendar->add_entry($vevent);
$vevent->add_entry($alarm);
A Data::ICal::Entry::Event object represents a single event in an iCalendar file. (Note that the iCalendar RFC refers to entries as "components".) It is a subclass of Data::ICal::Entry and accepts all of its methods.
<<lessSYNOPSIS
my $vevent = Data::ICal::Entry::Event->new();
$vevent->add_properties(
summary => "my party",
description => "Ill cry if I want to",
# Dat*e*::ICal is not a typo here
dtstart => Date::ICal->new( epoch => time )->ical,
);
$calendar->add_entry($vevent);
$vevent->add_entry($alarm);
A Data::ICal::Entry::Event object represents a single event in an iCalendar file. (Note that the iCalendar RFC refers to entries as "components".) It is a subclass of Data::ICal::Entry and accepts all of its methods.
Download (0.10MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1011 downloads
WebService::Eventful 1.0
WebService::Eventful is a Perl interface to EVDB public API. more>>
WebService::Eventful is a Perl interface to EVDB public API.
SYNOPSIS
use WebService::Eventful;
my $evdb = WebService::Eventful->new(app_key => $app_key);
$evdb->login(user => harry, password => H0gwart$)
or die "Cant log in: $WebService::Eventful::errstr";
# call() accepts either an array ref or a hash ref.
my $event = $evdb->call(events/get, {id => E0-001-000218163-6})
or die "Cant retrieve event: $WebService::Eventful::errstr";
print "Title: $event->{title}n";
my $venue = $evdb->call(venues/get, [id => $event->{venue_id}])
or die "Cant retrieve venue: $WebService::Eventful::errstr";
print "Venue: $venue->{name}n";
The Eventful API allows you to build tools and applications that interact with Eventful. This module provides a Perl interface to that API, including the digest-based authentication infrastructure.
<<lessSYNOPSIS
use WebService::Eventful;
my $evdb = WebService::Eventful->new(app_key => $app_key);
$evdb->login(user => harry, password => H0gwart$)
or die "Cant log in: $WebService::Eventful::errstr";
# call() accepts either an array ref or a hash ref.
my $event = $evdb->call(events/get, {id => E0-001-000218163-6})
or die "Cant retrieve event: $WebService::Eventful::errstr";
print "Title: $event->{title}n";
my $venue = $evdb->call(venues/get, [id => $event->{venue_id}])
or die "Cant retrieve venue: $WebService::Eventful::errstr";
print "Venue: $venue->{name}n";
The Eventful API allows you to build tools and applications that interact with Eventful. This module provides a Perl interface to that API, including the digest-based authentication infrastructure.
Download (0.008MB)
Added: 2007-03-27 License: Perl Artistic License Price:
941 downloads
DateTime::Event::Sunrise 0.0501
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. more>>
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day.
SYNOPSIS
use DateTime;
use DateTime::Event::Sunrise;
my $dt = DateTime->new( year => 2000,
month => 6,
day => 20,
);
my $sunrise = DateTime::Event::Sunrise ->sunrise (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $sunset = DateTime::Event::Sunrise ->sunset (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $tmp_rise = $sunrise->next( $dt );
my $dt2 = DateTime->new( year => 2000,
month => 12,
day => 31,
);
# iterator
my $dt_span = DateTime::Span->new( start =>$dt1, end=>$dt2 );
my $set = $sunrise->intersection($dt_span);
my $iter = $set->iterator;
while ( my $dt = $iter->next ) {
print ,$dt->datetime;
}
# is it day or night?
my $day_set = DateTime::SpanSet->from_sets(
start_set => $sunrise, end_set => $sunset );
print $day_set->contains( $dt ) ? day : night;
my $dt = DateTime->new( year => 2000, month => 6, day => 20, time_zone => America/Los_Angeles, );
my $sunrise = DateTime::Event::Sunrise ->new( longitude =>-118 , latitude => 33, altitude => -0.833, iteration => 1
);
my $tmp = $sunrise->sunrise_sunset_span($dt); print "Sunrise is:" , $tmp->start->datetime , "n"; print "Sunset is:" , $tmp->end->datetime;
my $dt1 = $sunrise->sunrise_datetime( $dt ); print "Sunrise is:" , $dt1->datetime , "n"; my $dt2 = $sunrise->sunset_datetime( $dt ); print "Sunset is:" , $dt2->datetime , "n";
<<lessSYNOPSIS
use DateTime;
use DateTime::Event::Sunrise;
my $dt = DateTime->new( year => 2000,
month => 6,
day => 20,
);
my $sunrise = DateTime::Event::Sunrise ->sunrise (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $sunset = DateTime::Event::Sunrise ->sunset (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $tmp_rise = $sunrise->next( $dt );
my $dt2 = DateTime->new( year => 2000,
month => 12,
day => 31,
);
# iterator
my $dt_span = DateTime::Span->new( start =>$dt1, end=>$dt2 );
my $set = $sunrise->intersection($dt_span);
my $iter = $set->iterator;
while ( my $dt = $iter->next ) {
print ,$dt->datetime;
}
# is it day or night?
my $day_set = DateTime::SpanSet->from_sets(
start_set => $sunrise, end_set => $sunset );
print $day_set->contains( $dt ) ? day : night;
my $dt = DateTime->new( year => 2000, month => 6, day => 20, time_zone => America/Los_Angeles, );
my $sunrise = DateTime::Event::Sunrise ->new( longitude =>-118 , latitude => 33, altitude => -0.833, iteration => 1
);
my $tmp = $sunrise->sunrise_sunset_span($dt); print "Sunrise is:" , $tmp->start->datetime , "n"; print "Sunset is:" , $tmp->end->datetime;
my $dt1 = $sunrise->sunrise_datetime( $dt ); print "Sunrise is:" , $dt1->datetime , "n"; my $dt2 = $sunrise->sunset_datetime( $dt ); print "Sunset is:" , $dt2->datetime , "n";
Download (0.012MB)
Added: 2007-02-15 License: Perl Artistic License Price:
981 downloads
Flickr Upcoming.org event details 0.2
Flickr Upcoming.org event details is a Greasemonkey script for Firefox that will show details of the upcoming.org event. more>> <<less
Download (MB)
Added: 2006-12-26 License: GPL (GNU General Public License) Price:
1035 downloads
Statistics::Descriptive::Discrete 0.07
Statistics::Descriptive::Discrete is a Perl module to compute descriptive statistics for discrete data sets. more>>
Statistics::Descriptive::Discrete is a Perl module to compute descriptive statistics for discrete data sets.
SYNOPSIS
use Statistics::Descriptive::Discrete;
my $stats = new Statistics::Descriptive::Discrete;
$stats->add_data(1,10,2,0,1,4,5,1,10,8,7);
print "count = ",$stats->count(),"n";
print "uniq = ",$stats->uniq(),"n";
print "sum = ",$stats->sum(),"n";
print "min = ",$stats->min(),"n";
print "max = ",$stats->max(),"n";
print "mean = ",$stats->mean(),"n";
print "standard_deviation = ",$stats->standard_deviation(),"n";
print "variance = ",$stats->variance(),"n";
print "sample_range = ",$stats->sample_range(),"n";
print "mode = ",$stats->mode(),"n";
print "median = ",$stats->median(),"n";
This module provides basic functions used in descriptive statistics. It borrows very heavily from Statistics::Descriptive::Full (which is included with Statistics::Descriptive) with one major difference. This module is optimized for discretized data e.g. data from an A/D conversion that has a discrete set of possible values. E.g. if your data is produced by an 8 bit A/D then youd have only 256 possible values in your data set. Even though you might have a million data points, youd only have 256 different values in those million points. Instead of storing the entire data set as Statistics::Descriptive does, this module only stores the values its seen and the number of times its seen each value.
For very large data sets, this storage method results in significant speed and memory improvements. In a test case with 2.6 million data points from a real world application, Statistics::Descriptive::Discrete took 40 seconds to calculate a set of statistics instead of the 561 seconds required by Statistics::Descriptive::Full. It also required only 4MB of RAM instead of the 400MB used by Statistics::Descriptive::Full for the same data set.
<<lessSYNOPSIS
use Statistics::Descriptive::Discrete;
my $stats = new Statistics::Descriptive::Discrete;
$stats->add_data(1,10,2,0,1,4,5,1,10,8,7);
print "count = ",$stats->count(),"n";
print "uniq = ",$stats->uniq(),"n";
print "sum = ",$stats->sum(),"n";
print "min = ",$stats->min(),"n";
print "max = ",$stats->max(),"n";
print "mean = ",$stats->mean(),"n";
print "standard_deviation = ",$stats->standard_deviation(),"n";
print "variance = ",$stats->variance(),"n";
print "sample_range = ",$stats->sample_range(),"n";
print "mode = ",$stats->mode(),"n";
print "median = ",$stats->median(),"n";
This module provides basic functions used in descriptive statistics. It borrows very heavily from Statistics::Descriptive::Full (which is included with Statistics::Descriptive) with one major difference. This module is optimized for discretized data e.g. data from an A/D conversion that has a discrete set of possible values. E.g. if your data is produced by an 8 bit A/D then youd have only 256 possible values in your data set. Even though you might have a million data points, youd only have 256 different values in those million points. Instead of storing the entire data set as Statistics::Descriptive does, this module only stores the values its seen and the number of times its seen each value.
For very large data sets, this storage method results in significant speed and memory improvements. In a test case with 2.6 million data points from a real world application, Statistics::Descriptive::Discrete took 40 seconds to calculate a set of statistics instead of the 561 seconds required by Statistics::Descriptive::Full. It also required only 4MB of RAM instead of the 400MB used by Statistics::Descriptive::Full for the same data set.
Download (0.007MB)
Added: 2007-03-02 License: Perl Artistic License Price:
968 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above discrete event search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed