gs
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 31
Anthem 0.0.17
Anthem is a KDE MIDI sequencer. more>>
Anthem is an advanced open source MIDI sequencer. Anthem allows you to record, edit and playback music using a sophisticated and acclaimed object oriented song technology. It runs under the KDE desktop environment, on Unix-based platforms.
It is based on the TSE3 sequencer engine and therefore provides a great deal of power, combining the innovative object oriented TSE3 song technology with a simple, intuitive interface.
This open source edition of Anthem is based on a previous commercial version which ran on Acorn RISC OS computers. This open source version of Anthem will only run on Unix-based platforms.
Anthem is still very much a work in progress, so keep coming back to see the latest developments. Anthem is developing fast.
Main features:
- Powerful linear sequencer
- Flexible object-oriented song structure
- Handles import and export of standard MIDI files (both type 0 and 1)
- Playback with real time effects (remapping, transpose, quantise, velocity window, repeat, offset, etc)
- GM/GS/XG support
- Synchro start of playback
- On screen gadgets, including:
- Studio clock
- Virtual keyboard
- VU bars
- Go to time
- MIDI panic facility
- Any number of tracks per song
- Highly configurable metronome
- MIDI echo facility
- MIDI command filters for incoming, outgoing and echoed MIDI streams
- Intuitive user interface
- Imports Cakewalk instrument definition files
- Playback of musical phrase being edited
- Additional facilities which will be incorporated shortly:
- Powerful music editors:
- Flexible list editor
- Piano roll editor with powerful controller maps
- Step editor
- Drum editor
- Innovative new stave roll editor
- Score editor
- Select voices and controllers by name
- MIDI mixing desk
- Power quantise supporting:
- Full, unresticted groove setting
- Windowing
- Intelligent snap point choosing
- Humanisation
- Phrase tools:
- Add/subtract
- Arpeggiate
- Explode
- DeMIDIfy utility.
Requierments:
- In order to use Anthem to its full potential you will need a soundcard, preferably with external MIDI device support. Anthem will work without such a card, but it will not provide any musical output.
- In order to use anthem you will need the KDE 2/3 libraries installed on your system and the TSE3 library. Anthem will produce MIDI output on any system that TSE3 supports - see the library pages for more information.
<<lessIt is based on the TSE3 sequencer engine and therefore provides a great deal of power, combining the innovative object oriented TSE3 song technology with a simple, intuitive interface.
This open source edition of Anthem is based on a previous commercial version which ran on Acorn RISC OS computers. This open source version of Anthem will only run on Unix-based platforms.
Anthem is still very much a work in progress, so keep coming back to see the latest developments. Anthem is developing fast.
Main features:
- Powerful linear sequencer
- Flexible object-oriented song structure
- Handles import and export of standard MIDI files (both type 0 and 1)
- Playback with real time effects (remapping, transpose, quantise, velocity window, repeat, offset, etc)
- GM/GS/XG support
- Synchro start of playback
- On screen gadgets, including:
- Studio clock
- Virtual keyboard
- VU bars
- Go to time
- MIDI panic facility
- Any number of tracks per song
- Highly configurable metronome
- MIDI echo facility
- MIDI command filters for incoming, outgoing and echoed MIDI streams
- Intuitive user interface
- Imports Cakewalk instrument definition files
- Playback of musical phrase being edited
- Additional facilities which will be incorporated shortly:
- Powerful music editors:
- Flexible list editor
- Piano roll editor with powerful controller maps
- Step editor
- Drum editor
- Innovative new stave roll editor
- Score editor
- Select voices and controllers by name
- MIDI mixing desk
- Power quantise supporting:
- Full, unresticted groove setting
- Windowing
- Intelligent snap point choosing
- Humanisation
- Phrase tools:
- Add/subtract
- Arpeggiate
- Explode
- DeMIDIfy utility.
Requierments:
- In order to use Anthem to its full potential you will need a soundcard, preferably with external MIDI device support. Anthem will work without such a card, but it will not provide any musical output.
- In order to use anthem you will need the KDE 2/3 libraries installed on your system and the TSE3 library. Anthem will produce MIDI output on any system that TSE3 supports - see the library pages for more information.
Download (0.78MB)
Added: 2005-05-10 License: GPL (GNU General Public License) Price:
2161 downloads
Hamster Font Manager 1.02
Hamster Font Manager is an easy GUI to manage fonts for X11/GS/TeX. more>>
HFM is a font manager for Unix systems. With it you can control the avaliability of fonts in all of the supported applications from a central place. Currently included are modules to support:
* X-Window
* Ghostscript
* TeX
A PostScript module handles PS Fonts. Other fonts remain untouched by this program.
HFM is distributed under the GPL (GNU Public License).
<<less* X-Window
* Ghostscript
* TeX
A PostScript module handles PS Fonts. Other fonts remain untouched by this program.
HFM is distributed under the GPL (GNU Public License).
Download (0.23MB)
Added: 2005-04-21 License: GPL (GNU General Public License) Price:
1647 downloads
Lpy 0.9.2.4
Lpy is a printing tool. more>>
Lpy is a printing tool with a GUI interface that was designed to support multi-function printer features such as duplex, n-up, staplers, and booklets.
Now many printers have a lot of functions(Duplex,Nup,Staple,Booklets,etc) and become more smallsized and more inexpensive.
But on Linux(UNIX-like OS) these functions are hardly avaliable. The aim of lpy is to make your Multifunction-Printer(a optional Finisher) avaliable.
Main features:
- independent of a spooler and a application software in user space.
- Any filter of a printing spooler isnt necessary. a frontend of GNU a2ps that converts a text-file to a PS-file.
- a printing filter which uses a GS(Ghostscript)
- written in Python and PyGTK
- uses SNMP(PrinterMIB) if possible for getting printer informations(Errors and Status)
- supports PJL commands if possible.
- Now some PJL commands are supported. available in UNIX-like OS(Linux,FreeBSD and Solaris,HP-UX,etc)
<<lessNow many printers have a lot of functions(Duplex,Nup,Staple,Booklets,etc) and become more smallsized and more inexpensive.
But on Linux(UNIX-like OS) these functions are hardly avaliable. The aim of lpy is to make your Multifunction-Printer(a optional Finisher) avaliable.
Main features:
- independent of a spooler and a application software in user space.
- Any filter of a printing spooler isnt necessary. a frontend of GNU a2ps that converts a text-file to a PS-file.
- a printing filter which uses a GS(Ghostscript)
- written in Python and PyGTK
- uses SNMP(PrinterMIB) if possible for getting printer informations(Errors and Status)
- supports PJL commands if possible.
- Now some PJL commands are supported. available in UNIX-like OS(Linux,FreeBSD and Solaris,HP-UX,etc)
Download (0.17MB)
Added: 2005-08-02 License: GPL (GNU General Public License) Price:
1545 downloads
ThingamaBlog 1.0.5
Thingamablog is a cross-platform, standalone blogging application that makes authoring and publishing your weblogs easy. more>>
Thingamablog is a cross-platform, standalone blogging application that makes authoring and publishing your weblogs almost effortless.
Unlike most blogging solutions, Thingamablog does NOT require a third-party blogging host, a cgi/php enabled web host, or a MySQL database.
In fact, all you need to setup, and manage, a blog with Thingamablog is FTP, SFTP, or network access to a web server.
Main features:
- Set up a blog in minutes via an intuitive wizard
- Maintain multiple blogs
- Effortlessly manage thousands of entries
- Dynamically update blog content
- Write entries offline (Dialup users)
- Publish your blog with a single click
- Read news with an integrated feed reader
- Make posts from your favorite feeds
- Create a unique layout with customizable templates
- Import entries from RSS/Atom feeds
- Set up flexible archiving options
- Organize your entries by category or date
- Save entries as drafts
- Define your own custom template tags
- Syndicate your blog via an RSS or Atom feed
- Ping services like weblogs.com, BlogRolling, and Blo.gs
- And much more...
<<lessUnlike most blogging solutions, Thingamablog does NOT require a third-party blogging host, a cgi/php enabled web host, or a MySQL database.
In fact, all you need to setup, and manage, a blog with Thingamablog is FTP, SFTP, or network access to a web server.
Main features:
- Set up a blog in minutes via an intuitive wizard
- Maintain multiple blogs
- Effortlessly manage thousands of entries
- Dynamically update blog content
- Write entries offline (Dialup users)
- Publish your blog with a single click
- Read news with an integrated feed reader
- Make posts from your favorite feeds
- Create a unique layout with customizable templates
- Import entries from RSS/Atom feeds
- Set up flexible archiving options
- Organize your entries by category or date
- Save entries as drafts
- Define your own custom template tags
- Syndicate your blog via an RSS or Atom feed
- Ping services like weblogs.com, BlogRolling, and Blo.gs
- And much more...
Download (3.8MB)
Added: 2005-11-29 License: GPL (GNU General Public License) Price:
1468 downloads
CAM::PDF::GS 1.07
CAM::PDF::GS is a PDF graphic state. more>>
CAM::PDF::GS is a PDF graphic state.
SYNOPSIS
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS();
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. Much of the functionality is actually based in the parent class, CAM::PDF::GS::NoText.
Subclasses that want to do something useful with text should override the renderText() method.
<<lessSYNOPSIS
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS();
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. Much of the functionality is actually based in the parent class, CAM::PDF::GS::NoText.
Subclasses that want to do something useful with text should override the renderText() method.
Download (0.72MB)
Added: 2006-07-28 License: Perl Artistic License Price:
1184 downloads
CAM::PDF::GS::NoText 1.07
CAM::PDF::GS::NoText is a PDF graphic state. more>>
CAM::PDF::GS::NoText is a PDF graphic state.
SYNOPSIS
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS(1);
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. This does not include the graphics state for text blocks. That functionality is in the subclass, CAM::PDF::GS.
FUNCTIONS
$pkg->new($hashref)
Create a new instance, setting all state values to their defaults. Stores a reference to $hashref and sets the property $hashref-{fm}> to undef.
$self->clone()
Duplicate the instance.
CONVERSION FUNCTIONS
$self->applyMatrix($m1, $m2)
Apply $m1 to $m2, save in $m2.
$self->dot($matrix, $x, $y)
Compute the dot product of a position against the coordinate matrix.
$self->userToDevice($x, $y)
Convert user coordinates to device coordinates.
$self->getCoords($node)
Computes device coordinates for the specified node. This implementation handles line-drawing nodes.
$self->nodeType($node)
Returns one of block, path, paint, text or (the fallback case) op for the type of the specified node.
<<lessSYNOPSIS
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS(1);
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. This does not include the graphics state for text blocks. That functionality is in the subclass, CAM::PDF::GS.
FUNCTIONS
$pkg->new($hashref)
Create a new instance, setting all state values to their defaults. Stores a reference to $hashref and sets the property $hashref-{fm}> to undef.
$self->clone()
Duplicate the instance.
CONVERSION FUNCTIONS
$self->applyMatrix($m1, $m2)
Apply $m1 to $m2, save in $m2.
$self->dot($matrix, $x, $y)
Compute the dot product of a position against the coordinate matrix.
$self->userToDevice($x, $y)
Convert user coordinates to device coordinates.
$self->getCoords($node)
Computes device coordinates for the specified node. This implementation handles line-drawing nodes.
$self->nodeType($node)
Returns one of block, path, paint, text or (the fallback case) op for the type of the specified node.
Download (0.72MB)
Added: 2006-07-28 License: Perl Artistic License Price:
1183 downloads
Zence 0.75
Zence is a small program written in Postscript that generates random text. more>>
Zence is a small program written in Postscript that generates random text.
Word morphology and the occurrence of certain letters or letter combinations are configurable.
It may be used for generating words to be used in artificial languages, but with the correct set of parameters can also generate text that resembles existing languages.
Usage:
cat zence-params- .ps zence- .ps | gv -
cat zence-params- .ps zence- .ps | gs -
cat zence-params- .ps zence- .ps | lp -d $PRINTER
<<lessWord morphology and the occurrence of certain letters or letter combinations are configurable.
It may be used for generating words to be used in artificial languages, but with the correct set of parameters can also generate text that resembles existing languages.
Usage:
cat zence-params- .ps zence- .ps | gv -
cat zence-params- .ps zence- .ps | gs -
cat zence-params- .ps zence- .ps | lp -d $PRINTER
Download (0.01MB)
Added: 2006-09-04 License: GPL (GNU General Public License) Price:
1147 downloads
a2ping.pl 2.77p
a2ping.pl is a tool to convert between PS, EPS, and PDF and other page description formats. more>>
a2ping.pl is a small tool written in Perl, used to convert between PS, EPS, and PDF and other page description formats.
a2ping is a Unix command line utility that converts many raster image and vector graphics formats to EPS or PDF and other page description formats.
Accepted input file formats are: PS (PostScript), EPS, PDF, PNG, JPEG, TIFF, PNM, BMP, GIF, LBM, XPM, PCX, and TGA.
Accepted output formats are: EPS, PCL5, PDF, PDF1, PBM, PGM, PPM, PS, markedEPS, markedPS, PNG, XWD, BMP, TIFF, JPEG, GIF, and XPM. a2ping delegates the low-level work to Ghostscript (GS), pdftops, and sam2p.
Only the first page of PDF and PS files are converted.
<<lessa2ping is a Unix command line utility that converts many raster image and vector graphics formats to EPS or PDF and other page description formats.
Accepted input file formats are: PS (PostScript), EPS, PDF, PNG, JPEG, TIFF, PNM, BMP, GIF, LBM, XPM, PCX, and TGA.
Accepted output formats are: EPS, PCL5, PDF, PDF1, PBM, PGM, PPM, PS, markedEPS, markedPS, PNG, XWD, BMP, TIFF, JPEG, GIF, and XPM. a2ping delegates the low-level work to Ghostscript (GS), pdftops, and sam2p.
Only the first page of PDF and PS files are converted.
Download (0.029MB)
Added: 2006-10-04 License: GPL (GNU General Public License) Price:
1120 downloads
Chart::EPS_graph 0.01d
Chart::EPS_graph creates line graphs in PostScript as *.eps format. more>>
Chart::EPS_graph creates line graphs in PostScript as *.eps format.
SYNOPSIS
# Create anew a 600 x 600 points (not pixels!) EPS file
my $eps = Chart::EPS_graph->new(600, 600);
# Choose minimum required display info
$eps->set(
label_top => Graph Main Title,
label_y1 => Y1 Axis Measure (Units),
label_y2 => Y2 Axis Measure (Units),
label_x => X Axis Measure (Units),
);
# Choose 6 of 13 named chans, 4 at left, 2 at right
$eps->set(
names => @all_13_name_strings,
data => @all_13_data_arefs,
y1 => [7, 8, 10, 11],
y2 => [9, 12],
);
# Choose optional graph features
$eps->set(
label_y1_2 => Extra Y1 Axis Info,
label_y2_2 => Extra Y2 Axis Info,
label_x_2 => Extra X Axis Info,
# Any common browser color no matter how hideous.
bg_color => DarkOliveGreen,
fg_color => HotPink,
web_colors => [Crimson, Lime, Indigo, Gold, Snow, Aqua],
# Any known I font no matter how illegible
font_name => ZapfChancery-MediumItalic,
font_size => 18,
# See POD about this one. But in brief:
# If set to "1" channel innumeration gaps will be closed.
# If set to "0" (the default) they will be left as they are.
close_gap => 0,
# If the 0th channel is not for the X axis (the default) then the
# data point count is used as the X axis, which you may scale.
# So if X were Time in seconds, with no 0th channel having acutally
# recorded it, but each data point were known to be 0.5 seconds...
$self->{x_is_zeroth} = 0; # Boolean, so 1 or 0.
$self->{x_scale} = 2; # Have 10th datapoint show as 20, etc.
);
# Write output as EPS
$eps->write_eps( cwd() . /whatever.eps ); # Write to a file.
# View, convert or edit the EPS output
$eps->display(); # Display in viewer (autodetects gv or gsview.exe).
$eps->display(GS); # Convert to PNG via Ghostscript.
$eps->display(GIMP); # Open for editng in The GIMP.
<<lessSYNOPSIS
# Create anew a 600 x 600 points (not pixels!) EPS file
my $eps = Chart::EPS_graph->new(600, 600);
# Choose minimum required display info
$eps->set(
label_top => Graph Main Title,
label_y1 => Y1 Axis Measure (Units),
label_y2 => Y2 Axis Measure (Units),
label_x => X Axis Measure (Units),
);
# Choose 6 of 13 named chans, 4 at left, 2 at right
$eps->set(
names => @all_13_name_strings,
data => @all_13_data_arefs,
y1 => [7, 8, 10, 11],
y2 => [9, 12],
);
# Choose optional graph features
$eps->set(
label_y1_2 => Extra Y1 Axis Info,
label_y2_2 => Extra Y2 Axis Info,
label_x_2 => Extra X Axis Info,
# Any common browser color no matter how hideous.
bg_color => DarkOliveGreen,
fg_color => HotPink,
web_colors => [Crimson, Lime, Indigo, Gold, Snow, Aqua],
# Any known I font no matter how illegible
font_name => ZapfChancery-MediumItalic,
font_size => 18,
# See POD about this one. But in brief:
# If set to "1" channel innumeration gaps will be closed.
# If set to "0" (the default) they will be left as they are.
close_gap => 0,
# If the 0th channel is not for the X axis (the default) then the
# data point count is used as the X axis, which you may scale.
# So if X were Time in seconds, with no 0th channel having acutally
# recorded it, but each data point were known to be 0.5 seconds...
$self->{x_is_zeroth} = 0; # Boolean, so 1 or 0.
$self->{x_scale} = 2; # Have 10th datapoint show as 20, etc.
);
# Write output as EPS
$eps->write_eps( cwd() . /whatever.eps ); # Write to a file.
# View, convert or edit the EPS output
$eps->display(); # Display in viewer (autodetects gv or gsview.exe).
$eps->display(GS); # Convert to PNG via Ghostscript.
$eps->display(GIMP); # Open for editng in The GIMP.
Download (0.024MB)
Added: 2006-10-27 License: Perl Artistic License Price:
1093 downloads
GnomeKiSS 2.0
GnomeKiSS project is a KiSS paper doll viewer for GNOME. more>>
GnomeKiSS project is a KiSS paper doll viewer for GNOME.
GnomeKiSS is an implementation of French-KiSS for the GNOME desktop environment, using GNOME, GTK+ and the X Window System. French KiSS is an enhanced KiSS/GS for scriptable dolls, where KiSS is an abbreviation for Kisekae Set System (or something).
GnomeKiSS apparently works on plenty of Linux systems (including Debian GNU/Linux and PLD Linux) and is available as a FreeBSD port. If you dont have one of these Free operating systems I have been told that GnomeKiSS compiles and runs on Mac OS X and Sun Solaris too. It should work on any modern Unix-like system with GNOME installed but obviously I cant test them all.
Enhancements:
- GNOME 2.x conversion aiming at GNOME 2.6 and later
- Many new compiler warnings fixed, e.g. sign and const fixes
- Further changes to event handling to ensure interactivity when stressed
- Fixed snprintf() call to stay strictly within the buffer
- Still warn, but dont ignore objects declared after @EventHandler
<<lessGnomeKiSS is an implementation of French-KiSS for the GNOME desktop environment, using GNOME, GTK+ and the X Window System. French KiSS is an enhanced KiSS/GS for scriptable dolls, where KiSS is an abbreviation for Kisekae Set System (or something).
GnomeKiSS apparently works on plenty of Linux systems (including Debian GNU/Linux and PLD Linux) and is available as a FreeBSD port. If you dont have one of these Free operating systems I have been told that GnomeKiSS compiles and runs on Mac OS X and Sun Solaris too. It should work on any modern Unix-like system with GNOME installed but obviously I cant test them all.
Enhancements:
- GNOME 2.x conversion aiming at GNOME 2.6 and later
- Many new compiler warnings fixed, e.g. sign and const fixes
- Further changes to event handling to ensure interactivity when stressed
- Fixed snprintf() call to stay strictly within the buffer
- Still warn, but dont ignore objects declared after @EventHandler
Download (0.16MB)
Added: 2006-11-10 License: GPL (GNU General Public License) Price:
1079 downloads
Baseball::Sabermetrics 0.03
Baseball::Sabermetrics is a baseball statistics module. more>>
Baseball::Sabermetrics is a baseball statistics module.
SYNOPSIS
Baseball::Sabermetrics provides an easy interface for calculating baseball statistics, given a data importer. In this package, Ive written CPBL.pm for (Chinese Professional Baseball League, http://www.cpbl.com.tw).
use Baseball::Sabermetrics;
use Baseball::Sabermetrics::CPBL;
my $league = Baseball::Sabermetrics->new(league => CPBL);
# Actually these are predefined.
# Those data with p_ or _allowed here are for seperating pitchers
# and batters.
$league->define(
rc => ab * obp,
babip => (h_allowed - hr_allowed) / (p_pa - h_allowed - p_so - p_bb - hr_allowed,
# what started with $ will be reserved.
# Players have team and league predefined, and team has league.
formula1 => hr / $_->team->hr;
formula2 => hr / $_->league->hr;
complex => sub {
print "You can write a sub directlyn";
$_->slg - $_->ba;
},
...
);
# Some formulas can be applied to players, teams, and league, depend on what
# columns are used in the formula. For example, ab and obp are defined for
# players, teams, and league, so that rc is available for all of them.
# top 5 obp of teams
$_->print qw/ team name ba obp slg isop / for $league->top(teams, 5, obp);
# top 10 obp of players
$_->print qw/ team name ba obp slg isop / for $league->top(players, 10, obp);
# show a players information
$league->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;
$league->teams(Yankees)->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;
# show team statistics data (accumulated from players)
$league->{Yankees}->print qw/ win lose ip so bb whip go_ao /;
# give a brief report for pitchers/batters of the team
$league->{Yankees}->report_pitchers qw/ name ip p_so p_bb whip go_ab /;
$league->{Yankees}->report_batters qw/ name ba obp slg isop /;
$league->report_teams qw/ name win lose era obp /;
# show all available formula
print join , $league->formula_list;
Data Structure
Baseball::Sabermetrics is aimed for providing a base class of your interested teams (a league, for example). Youll need to provide a data retriever to pull data out. The following example shows how you have to fill data into this structure.
$league = {
teams => {
Yankees => {
players => {
"Chien-Ming Wang" => {
bio => {
bats => right, # coule be left, switch
throws => right,
},
ip => 57.33333333333,
game => 9,
...
fielding => {
p => {
tc => 43,
pop => 4,
...
},
# b1 => { }, b2 => { }, b3 => { },
# first, second and thrid baseman should be
# b1, b2, and b3 respectively for convenient in
# fielding context. Because the initial of the
# name of subroutine cant be a number in perl.
},
};
...
}
},
Athletics => {
...
},
},
};
TERMS
Available terms of players (including teams and league, which are accumulated from players and could be treated as an abstract player) are:
# pitching
p_game win lose tie gs sv bs hld cg sho ip p_pa np h_allowed
hr_allowed sh_allowed sf_allowed p_bb p_ibb hb p_so wp bk ra er
# batting
pa ab rbi r h 1b 2b 3b hr tb dp sh sf ibb bb hbp so sb cs
tc po a e f_dp ppo tp pb c_cs c_sb
# fielding
pos fgame tc po a e f_dp tp pb c_cs c_sb
And there are additional terms for team:
game win lose tie
<<lessSYNOPSIS
Baseball::Sabermetrics provides an easy interface for calculating baseball statistics, given a data importer. In this package, Ive written CPBL.pm for (Chinese Professional Baseball League, http://www.cpbl.com.tw).
use Baseball::Sabermetrics;
use Baseball::Sabermetrics::CPBL;
my $league = Baseball::Sabermetrics->new(league => CPBL);
# Actually these are predefined.
# Those data with p_ or _allowed here are for seperating pitchers
# and batters.
$league->define(
rc => ab * obp,
babip => (h_allowed - hr_allowed) / (p_pa - h_allowed - p_so - p_bb - hr_allowed,
# what started with $ will be reserved.
# Players have team and league predefined, and team has league.
formula1 => hr / $_->team->hr;
formula2 => hr / $_->league->hr;
complex => sub {
print "You can write a sub directlyn";
$_->slg - $_->ba;
},
...
);
# Some formulas can be applied to players, teams, and league, depend on what
# columns are used in the formula. For example, ab and obp are defined for
# players, teams, and league, so that rc is available for all of them.
# top 5 obp of teams
$_->print qw/ team name ba obp slg isop / for $league->top(teams, 5, obp);
# top 10 obp of players
$_->print qw/ team name ba obp slg isop / for $league->top(players, 10, obp);
# show a players information
$league->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;
$league->teams(Yankees)->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;
# show team statistics data (accumulated from players)
$league->{Yankees}->print qw/ win lose ip so bb whip go_ao /;
# give a brief report for pitchers/batters of the team
$league->{Yankees}->report_pitchers qw/ name ip p_so p_bb whip go_ab /;
$league->{Yankees}->report_batters qw/ name ba obp slg isop /;
$league->report_teams qw/ name win lose era obp /;
# show all available formula
print join , $league->formula_list;
Data Structure
Baseball::Sabermetrics is aimed for providing a base class of your interested teams (a league, for example). Youll need to provide a data retriever to pull data out. The following example shows how you have to fill data into this structure.
$league = {
teams => {
Yankees => {
players => {
"Chien-Ming Wang" => {
bio => {
bats => right, # coule be left, switch
throws => right,
},
ip => 57.33333333333,
game => 9,
...
fielding => {
p => {
tc => 43,
pop => 4,
...
},
# b1 => { }, b2 => { }, b3 => { },
# first, second and thrid baseman should be
# b1, b2, and b3 respectively for convenient in
# fielding context. Because the initial of the
# name of subroutine cant be a number in perl.
},
};
...
}
},
Athletics => {
...
},
},
};
TERMS
Available terms of players (including teams and league, which are accumulated from players and could be treated as an abstract player) are:
# pitching
p_game win lose tie gs sv bs hld cg sho ip p_pa np h_allowed
hr_allowed sh_allowed sf_allowed p_bb p_ibb hb p_so wp bk ra er
# batting
pa ab rbi r h 1b 2b 3b hr tb dp sh sf ibb bb hbp so sb cs
tc po a e f_dp ppo tp pb c_cs c_sb
# fielding
pos fgame tc po a e f_dp tp pb c_cs c_sb
And there are additional terms for team:
game win lose tie
Download (0.030MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1025 downloads
GoldSeeker 0.32
GoldSeeker provides a small formatted data extraction application. more>>
GoldSeeker provides a small formatted data extraction application.
It was built to extract formatted data from HTML files, but can be used with all kind of files.
Its behaviour is defined by a rule-based configuration file. It can process files on the local server, or directly get web pages via http://.
GoldSeeker is still in development, its neither whole nor stable; nevertheless it can already be used for simple extractions.
Use
Edit GSParser.php and set your mysql connection parameters (if you dont want to use database export just comment out the "dbConnect();" line). Check that the include paths are correct, and run sample.php.
GS parameters:
include(GSparser.php);
$gs = new GSParser(config file path, data source path, data source type);
$gs->parse();
?>
Data source type: singleFile for... well, a single file; listOfFiles for an array of filenames; directory for a whole directory. Source path : file path or array of file paths.
Enhancements:
- Corrected some linkVariableValues bugs
- Optional (non-mandatory) variables support
- Added a set of unit tests to avoid further regressions (they also serve as a set of samples)
<<lessIt was built to extract formatted data from HTML files, but can be used with all kind of files.
Its behaviour is defined by a rule-based configuration file. It can process files on the local server, or directly get web pages via http://.
GoldSeeker is still in development, its neither whole nor stable; nevertheless it can already be used for simple extractions.
Use
Edit GSParser.php and set your mysql connection parameters (if you dont want to use database export just comment out the "dbConnect();" line). Check that the include paths are correct, and run sample.php.
GS parameters:
include(GSparser.php);
$gs = new GSParser(config file path, data source path, data source type);
$gs->parse();
?>
Data source type: singleFile for... well, a single file; listOfFiles for an array of filenames; directory for a whole directory. Source path : file path or array of file paths.
Enhancements:
- Corrected some linkVariableValues bugs
- Optional (non-mandatory) variables support
- Added a set of unit tests to avoid further regressions (they also serve as a set of samples)
Download (0.017MB)
Added: 2007-01-31 License: LGPL (GNU Lesser General Public License) Price:
999 downloads
PloneTestCase 0.9.2
PloneTestCase is a project developed to simplify testing of Plone and Plone-based applications and products. more>>
PloneTestCase is a project developed to simplify testing of Plone and Plone-based applications and products.
PloneTestCase is a thin layer on top of the ZopeTestCase package.
The PloneTestCase package provides:
- The function installProduct to install a Zope product into the test environment.
- The function setupPloneSite to create a Plone portal in the test db. Note: setupPloneSite accepts an optional products argument, which allows you to specify a list of products that will be added to the portal using the quickinstaller tool. Since 0.8.2 you can also pass an extension_profiles argument to import GS extension profiles.
- The class PloneTestCase of which to derive your test cases.
- The class FunctionalTestCase of which to derive your test cases for functional unit testing.
- The classes Sandboxed and Functional to mix-in with your own test cases.
- The constants portal_name, portal_owner, default_policy, default_products, default_base_profile, default_extension_profiles, default_user, and default_password.
- The constant PLONE21 which evaluates to true for Plone versions >= 2.1.
- The constant PLONE25 which evaluates to true for Plone versions >= 2.5.
- The constant PLONE30 which evaluates to true for Plone versions >= 3.0.
- The module utils which contains all utility functions from the ZopeTestCase package.
<<lessPloneTestCase is a thin layer on top of the ZopeTestCase package.
The PloneTestCase package provides:
- The function installProduct to install a Zope product into the test environment.
- The function setupPloneSite to create a Plone portal in the test db. Note: setupPloneSite accepts an optional products argument, which allows you to specify a list of products that will be added to the portal using the quickinstaller tool. Since 0.8.2 you can also pass an extension_profiles argument to import GS extension profiles.
- The class PloneTestCase of which to derive your test cases.
- The class FunctionalTestCase of which to derive your test cases for functional unit testing.
- The classes Sandboxed and Functional to mix-in with your own test cases.
- The constants portal_name, portal_owner, default_policy, default_products, default_base_profile, default_extension_profiles, default_user, and default_password.
- The constant PLONE21 which evaluates to true for Plone versions >= 2.1.
- The constant PLONE25 which evaluates to true for Plone versions >= 2.5.
- The constant PLONE30 which evaluates to true for Plone versions >= 3.0.
- The module utils which contains all utility functions from the ZopeTestCase package.
Download (0.012MB)
Added: 2007-02-14 License: GPL (GNU General Public License) Price:
982 downloads
CUPS-PDF 2.4.6
CUPS-PDF project is a PDF writer backend for CUPS. more>>
CUPS-PDF project is a PDF writer backend for CUPS. It is designed to produce PDF files in a heterogeneous network by providing a PDF printer on the central fileserver.
It will convert files printed to its queue in CUPS to PDF and put them in a per-user-based directory structure. It can execute post-processing scripts, e.g. to allow mailing the results to the user.
Important notes:
CUPS-PDF requires root privileges since it has to modify file ownerships. In recent distributions the "RunAsUser" option in cupsd.conf is set to "Yes" which removes these privileges. Please make sure to set "RunAsUser No" if you want to use CUPS-PDF.
make sure if any of CUPS-PDFs working directories (e.g. output) is a NFS mounted volume it is mounted without root_squash!
CUPS-PDF is known to fail if the gs (GhostScript) binary on a system is compressed by upx (Ultimate Packer for eXecutables).
if you are using SELinux make sure it does not interfere with CUPS-PDF
On MacOSX you will have to use pstopdf instead of AFPL GhostScript (see Readme).
<<lessIt will convert files printed to its queue in CUPS to PDF and put them in a per-user-based directory structure. It can execute post-processing scripts, e.g. to allow mailing the results to the user.
Important notes:
CUPS-PDF requires root privileges since it has to modify file ownerships. In recent distributions the "RunAsUser" option in cupsd.conf is set to "Yes" which removes these privileges. Please make sure to set "RunAsUser No" if you want to use CUPS-PDF.
make sure if any of CUPS-PDFs working directories (e.g. output) is a NFS mounted volume it is mounted without root_squash!
CUPS-PDF is known to fail if the gs (GhostScript) binary on a system is compressed by upx (Ultimate Packer for eXecutables).
if you are using SELinux make sure it does not interfere with CUPS-PDF
On MacOSX you will have to use pstopdf instead of AFPL GhostScript (see Readme).
Download (0.033MB)
Added: 2007-05-06 License: GPL (GNU General Public License) Price:
929 downloads
IPChains 0.5
IPChains is a Perl module to create and manipulate ipchains via Perl. more>>
IPChains is a Perl module to create and manipulate ipchains via Perl.
SYNOPSIS
use IPChains;
$fw = IPChains->new(-option => value, ... ); $fw->append(chain);
This module acts as an interface to the ipchains(8) userspace utility by Paul "Rusty" Russell (http://www.rustcorp.com/linux/ipchains/). It attempts to include all the functionality of the original code with a simplified user interface via Perl. In addition, plans for log parsing facilities, an integrated interface to ipmasqadm, and possibly traffic shaping are slated for up and coming versions.
The new() and attribute() methods support the following options:
Source
Specifies origination address of packet. Appending hostmask to this address using a / is OK, as well as specifying it separately (see SourceMask).
SourceMask
Hostmask for origination address. Can either be in 24 or 255.255.255.0 style.
SourcePort
Specific port or port range (use xxx:xxx to denote range), requires specific protocol specification.
Dest
Specifies destination address of packet. Appending hostmask to this address using a / is OK, as well as specifying it separately (see DestMask)
DestMask
Destination address, (see SourceMask).
DestPort
Destination Port, (see SourcePort).
Prot
Protocol. Can be tcp, udp, icmp, or all. Required for specifying specific port(s).
ICMP
ICMP Name/Code (in place of port when ICMP is specified as protocol).
Here is a small table of some of the most common ICMP packets:
Number Name Required by
0 echo-reply ping
3 destination-unreachable Any TCP/UDP traffic.
5 redirect routing if not running
routing daemon
8 echo-request ping
11 time-exceeded traceroute
Rule
Target. Can be ACCEPT, DENY, REJECT, MASQ, REDIRECT, RETURN, or a user-defined chain. Note: This is case sensitive.
Interface
Specify a specify interface as part of the criteria (ie, eth0, ppp0, etc.).
Fragment
Rule only refers to second and further fragments of fragmented packets (1 or 0).
Bidir
Makes criteria effective in both directions (1 or 0).
Verbose
Set verbose option for setting rules or list() (1 or 0).
Numeric
Show output from list() in numeric format. No DNS lookups, etc.. (1 or 0).
Log
Enable kernel logging (via syslog, kern.info) of matched packets (1 or 0).
Output
Copy matching packets to the userspace device (advanced).
Mark
Mark matching packets with specified number (advanced).
TOS
Used for modifying the TOS field in the IP header. Takes 2 args, AND and XOR masks, (ie, (TOS => ["0x01", "0x10"])). This feature is highly untested.
The first mask is ANDed with the packets current TOS, and the second mask is XORed with it. Use the following table for reference:
TOS Name Value Typical Uses
Minimum Delay 0x01 0x10 ftp, telnet
Maximum Throughput 0x01 0x08 ftp-data
Maximum Reliability 0x01 0x04 snmp
Minimum Cost 0x01 0x02 nntp
Exact
Display exact numbers in byte counters instead of numbers rounded in Ks, Ms, or Gs (1 or 0).
SYN
Only match TCP packets with the SYN bit set and the ACK and FIN bits cleared (1 or 0).
<<lessSYNOPSIS
use IPChains;
$fw = IPChains->new(-option => value, ... ); $fw->append(chain);
This module acts as an interface to the ipchains(8) userspace utility by Paul "Rusty" Russell (http://www.rustcorp.com/linux/ipchains/). It attempts to include all the functionality of the original code with a simplified user interface via Perl. In addition, plans for log parsing facilities, an integrated interface to ipmasqadm, and possibly traffic shaping are slated for up and coming versions.
The new() and attribute() methods support the following options:
Source
Specifies origination address of packet. Appending hostmask to this address using a / is OK, as well as specifying it separately (see SourceMask).
SourceMask
Hostmask for origination address. Can either be in 24 or 255.255.255.0 style.
SourcePort
Specific port or port range (use xxx:xxx to denote range), requires specific protocol specification.
Dest
Specifies destination address of packet. Appending hostmask to this address using a / is OK, as well as specifying it separately (see DestMask)
DestMask
Destination address, (see SourceMask).
DestPort
Destination Port, (see SourcePort).
Prot
Protocol. Can be tcp, udp, icmp, or all. Required for specifying specific port(s).
ICMP
ICMP Name/Code (in place of port when ICMP is specified as protocol).
Here is a small table of some of the most common ICMP packets:
Number Name Required by
0 echo-reply ping
3 destination-unreachable Any TCP/UDP traffic.
5 redirect routing if not running
routing daemon
8 echo-request ping
11 time-exceeded traceroute
Rule
Target. Can be ACCEPT, DENY, REJECT, MASQ, REDIRECT, RETURN, or a user-defined chain. Note: This is case sensitive.
Interface
Specify a specify interface as part of the criteria (ie, eth0, ppp0, etc.).
Fragment
Rule only refers to second and further fragments of fragmented packets (1 or 0).
Bidir
Makes criteria effective in both directions (1 or 0).
Verbose
Set verbose option for setting rules or list() (1 or 0).
Numeric
Show output from list() in numeric format. No DNS lookups, etc.. (1 or 0).
Log
Enable kernel logging (via syslog, kern.info) of matched packets (1 or 0).
Output
Copy matching packets to the userspace device (advanced).
Mark
Mark matching packets with specified number (advanced).
TOS
Used for modifying the TOS field in the IP header. Takes 2 args, AND and XOR masks, (ie, (TOS => ["0x01", "0x10"])). This feature is highly untested.
The first mask is ANDed with the packets current TOS, and the second mask is XORed with it. Use the following table for reference:
TOS Name Value Typical Uses
Minimum Delay 0x01 0x10 ftp, telnet
Maximum Throughput 0x01 0x08 ftp-data
Maximum Reliability 0x01 0x04 snmp
Minimum Cost 0x01 0x02 nntp
Exact
Display exact numbers in byte counters instead of numbers rounded in Ks, Ms, or Gs (1 or 0).
SYN
Only match TCP packets with the SYN bit set and the ACK and FIN bits cleared (1 or 0).
Download (0.050MB)
Added: 2007-05-10 License: Perl Artistic License Price:
897 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 gs 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