segment
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 128
Geo::Google::Segment 0.02
Geo::Google::Segment is an annotated segment of a path. more>>
Geo::Google::Segment is an annotated segment of a path.
SYNOPSIS
use Geo::Google::Segment;
# you shouldnt need to construct these yourself,
# have a Geo::Google object do it for you.
Google Maps is able to serve up directions between two points. Directions consist of two types of components:
1. a series of points along a "polyline".
2. a series of annotations, each of which applies to a contiguous
range of points.
In the Geo::Google object model, directions are available by calling path() on a Geo::Google instance. The return value is a Geo::Google::Path object, which is a composite of Geo::Google::Segment objects, which are in turn composites of Geo::Google::Location objects.
<<lessSYNOPSIS
use Geo::Google::Segment;
# you shouldnt need to construct these yourself,
# have a Geo::Google object do it for you.
Google Maps is able to serve up directions between two points. Directions consist of two types of components:
1. a series of points along a "polyline".
2. a series of annotations, each of which applies to a contiguous
range of points.
In the Geo::Google object model, directions are available by calling path() on a Geo::Google instance. The return value is a Geo::Google::Path object, which is a composite of Geo::Google::Segment objects, which are in turn composites of Geo::Google::Location objects.
Download (0.010MB)
Added: 2006-11-24 License: Perl Artistic License Price:
1064 downloads
Lingua::Phonology::Segment 0.32
Lingua::Phonology::Segment is a module to represent a segment as a bundle of feature values. more>>
Lingua::Phonology::Segment is a module to represent a segment as a bundle of feature values.
SYNOPSIS
use Lingua::Phonology;
$phono = new Lingua::Phonology;
# Define a feature set
$features = $phono->features;
$features->loadfile;
# Make a segment
$segment = $phono->segment;
# Set some values
$segment->labial(1);
$segment->continuant(0);
$segment->voice(1);
# Segment is now voiced labial stop, i.e. [b]
# Reset the segment
$segment->clear;
A Lingua::Phonology::Segment object provides a programmatic representation of a linguistic segment. Such a segment is associated with a Lingua::Phonology::Features object that lists the available features and the relationships between them. The segment itself is a list of the values for those features.
This module provides methods for returning and setting these feature values. A segment may also be associated with a Lingua::Phonology::Symbols object, which allows the segment to return the symbol that it best matches.
OVERLOADING
As of Lingua::Phonology v0.32 (Lingua::Phonology::Segment v0.4), string conversion of segments is overloaded. When you use a Lingua::Phonology::Segment in string context, the spell() method is automatically called, and the representation of the segment from the current symbolset is returned. String comparison operators (cmp eq ne lt le gt ge) are also overloaded. Therefore, the following work correctly, assuming that you have a Lingua::Phonology object correctly set up in $phono.
my ($b, $k) = $phono->symbols->segment(b, k);
print "Segments: $b, $kn"; # Prints "Segments: b, k";
print "$b is greater than $kn" if $b gt $k; # Wont print
print "$b is less than $kn" if $b lt $k; # Prints b is less than k;
print "$b is equal to $kn" if $b eq $k; # Wont print
my $b2 = $b->duplicate;
print "$b is equal to $b2n" if $b eq $b2 # Prints b is equal to b;
Note that stringification is not overloaded if the symbolset is not properly set. However, it turns on as soon as a symbolset is available:
my $b = Lingua::Phonology::Segment->new($features);
$b->voice(1);
$b->labial(1);
print "$bn"; # Prints Lingua::Phonology::Segment=HASH(0x88af598)
# or something similar, because there is no symbolset
# defined for spelling the segment.
$b->symbolset($symbols);
print "$bn"; # Prints b
Number conversion is not overloaded.
<<lessSYNOPSIS
use Lingua::Phonology;
$phono = new Lingua::Phonology;
# Define a feature set
$features = $phono->features;
$features->loadfile;
# Make a segment
$segment = $phono->segment;
# Set some values
$segment->labial(1);
$segment->continuant(0);
$segment->voice(1);
# Segment is now voiced labial stop, i.e. [b]
# Reset the segment
$segment->clear;
A Lingua::Phonology::Segment object provides a programmatic representation of a linguistic segment. Such a segment is associated with a Lingua::Phonology::Features object that lists the available features and the relationships between them. The segment itself is a list of the values for those features.
This module provides methods for returning and setting these feature values. A segment may also be associated with a Lingua::Phonology::Symbols object, which allows the segment to return the symbol that it best matches.
OVERLOADING
As of Lingua::Phonology v0.32 (Lingua::Phonology::Segment v0.4), string conversion of segments is overloaded. When you use a Lingua::Phonology::Segment in string context, the spell() method is automatically called, and the representation of the segment from the current symbolset is returned. String comparison operators (cmp eq ne lt le gt ge) are also overloaded. Therefore, the following work correctly, assuming that you have a Lingua::Phonology object correctly set up in $phono.
my ($b, $k) = $phono->symbols->segment(b, k);
print "Segments: $b, $kn"; # Prints "Segments: b, k";
print "$b is greater than $kn" if $b gt $k; # Wont print
print "$b is less than $kn" if $b lt $k; # Prints b is less than k;
print "$b is equal to $kn" if $b eq $k; # Wont print
my $b2 = $b->duplicate;
print "$b is equal to $b2n" if $b eq $b2 # Prints b is equal to b;
Note that stringification is not overloaded if the symbolset is not properly set. However, it turns on as soon as a symbolset is available:
my $b = Lingua::Phonology::Segment->new($features);
$b->voice(1);
$b->labial(1);
print "$bn"; # Prints Lingua::Phonology::Segment=HASH(0x88af598)
# or something similar, because there is no symbolset
# defined for spelling the segment.
$b->symbolset($symbols);
print "$bn"; # Prints b
Number conversion is not overloaded.
Download (0.098MB)
Added: 2006-06-02 License: Perl Artistic License Price:
1239 downloads
sget 0.1
SGet is a GTK+ application to download files over the Internet by segments. more>>
SGet is a GTK+ application to download files over the Internet by segments, which makes the download process more efficient in most cases.
On this project, the final objective is to write a program to download files over the net by segments, wich offers a improved speed for downloads.
<<lessOn this project, the final objective is to write a program to download files over the net by segments, wich offers a improved speed for downloads.
Download (0.20MB)
Added: 2006-06-20 License: GPL (GNU General Public License) Price:
1222 downloads
Aget 0.4
Aget is a multi-threaded download accelerator. more>>
Aget is a multi-threaded download accelerator. It supports HTTP downloads and can be run from the console.
This program is aim to like Flashget in unix
Tests show that Aget is successfull in realizing its objectives. A file of size 36.347.010 bytes was downloaded in 14 minutes 28 secs via wget; whereas it was downloaded in 3 minutes and 15 seconds via aget.
Aget is an acronym for two Turkish words "Acele Getir". (Eng.: Get it fast!)
If youre downloading a file of size less than 512K, I suggest using small segments, i.e 4-5 however, if you are downloading large files, you can increase the segmentation Aget first sends a HEAD request to retrieve the length of the file, and divides it into equal segments according to the number user has requested. Then for each segment, it connects to the server and gets only the part, which it is to download. Therefore, if youre downloading a small file, it is suggested that you decrease the number of segmentation, likewise, if its a large file, youre urged to increase the number of threads.
<<lessThis program is aim to like Flashget in unix
Tests show that Aget is successfull in realizing its objectives. A file of size 36.347.010 bytes was downloaded in 14 minutes 28 secs via wget; whereas it was downloaded in 3 minutes and 15 seconds via aget.
Aget is an acronym for two Turkish words "Acele Getir". (Eng.: Get it fast!)
If youre downloading a file of size less than 512K, I suggest using small segments, i.e 4-5 however, if you are downloading large files, you can increase the segmentation Aget first sends a HEAD request to retrieve the length of the file, and divides it into equal segments according to the number user has requested. Then for each segment, it connects to the server and gets only the part, which it is to download. Therefore, if youre downloading a small file, it is suggested that you decrease the number of segmentation, likewise, if its a large file, youre urged to increase the number of threads.
Download (0.010MB)
Added: 2006-06-20 License: GPL (GNU General Public License) Price:
1225 downloads
ELF Encrypter 0.12
The ELF-Encrypter program suite is a collection of programs to encrypt ELF binaries. more>>
The ELF-Encrypter program suite is a collection of programs to encrypt ELF binaries using various algorithms, including the ones provided by GPG.
One can choose a lot of methods to obtain the encryption key, such as hashing a list of PCI peripheals, MAC addresses of ethernet cards, file inode numbers, passphrases and passwords.
Here is the complete list:
8-bit fixed mask (used only for testing)
32-bit user selectable mask (used only for testing)
Password
Cast5 (using GPG)
GPG - Encrypt (using GPG)
GPG - Sign (using GPG)
Ethernet MAC
Ethernet MAC and file inode
File inode
PCI binding
Executable files can be encrypted using the crypt-7lib program, then decrypted at runtime by a shared library (libdecrypt), directly linked to the binary or listed in LD_PRELOAD.
Users are strongly encouraged to use gpg-agent; however a special support for quintuple-agent is available at compilation time.
The suite also contains programs to manipulate and inject plain or encrypted code into ELF binaries.
This project is written in C and assembly for the x86 platform.
Enhancements:
- changed the data segment infection technique
- added the code to correct section table offsets
<<lessOne can choose a lot of methods to obtain the encryption key, such as hashing a list of PCI peripheals, MAC addresses of ethernet cards, file inode numbers, passphrases and passwords.
Here is the complete list:
8-bit fixed mask (used only for testing)
32-bit user selectable mask (used only for testing)
Password
Cast5 (using GPG)
GPG - Encrypt (using GPG)
GPG - Sign (using GPG)
Ethernet MAC
Ethernet MAC and file inode
File inode
PCI binding
Executable files can be encrypted using the crypt-7lib program, then decrypted at runtime by a shared library (libdecrypt), directly linked to the binary or listed in LD_PRELOAD.
Users are strongly encouraged to use gpg-agent; however a special support for quintuple-agent is available at compilation time.
The suite also contains programs to manipulate and inject plain or encrypted code into ELF binaries.
This project is written in C and assembly for the x86 platform.
Enhancements:
- changed the data segment infection technique
- added the code to correct section table offsets
Download (0.079MB)
Added: 2005-10-17 License: GPL (GNU General Public License) Price:
1475 downloads
Argante 1.1b
Argante provides a secure, distributed, and fast VS machine. more>>
Argante provides a secure, distributed, and fast VS machine.
Argante is a fully operational, virtual environment for effective, secure, and accurate development of network appliances and other solutions (distributed routers, heterogenic, and self-adapting clusters).
Argante is a fully virtual environment for running applications on Unix
systems. This makes many people think about Java and its sandbox for example, although the technical reasons Argante is based on were totally different.
For one thing, Argante is a complete operating system. It has its own
implementation of processes, inter-process communication, filesystem,
access control... All built on the top of basic real OS low-level
implementation, but with own control mechanisms, own semantics and so on.
Why all this? I will try to explain:
The standard architecture of operating systems and hardware (e.g processors) falls flat when it comes to security and stability of the software.
To be short: it lacks low lewel support for general access control, error
handling (primitive techniques existing in, say, the 80386 series are not
enough), and the architecture of stack or data segment usage is based on
some mistaken assumptions.
<<lessArgante is a fully operational, virtual environment for effective, secure, and accurate development of network appliances and other solutions (distributed routers, heterogenic, and self-adapting clusters).
Argante is a fully virtual environment for running applications on Unix
systems. This makes many people think about Java and its sandbox for example, although the technical reasons Argante is based on were totally different.
For one thing, Argante is a complete operating system. It has its own
implementation of processes, inter-process communication, filesystem,
access control... All built on the top of basic real OS low-level
implementation, but with own control mechanisms, own semantics and so on.
Why all this? I will try to explain:
The standard architecture of operating systems and hardware (e.g processors) falls flat when it comes to security and stability of the software.
To be short: it lacks low lewel support for general access control, error
handling (primitive techniques existing in, say, the 80386 series are not
enough), and the architecture of stack or data segment usage is based on
some mistaken assumptions.
Download (0.49MB)
Added: 2007-02-28 License: LGPL (GNU Lesser General Public License) Price:
968 downloads
Filelight 1.0
Filelight allows you to understand exactly where your diskspace is being used. more>>
Filelight allows you to understand exactly where your diskspace is being used by graphically representating your filesystem as a set of concentric segmented-rings.
Filelight creates a complex, but data-rich graphical representation of the files and directories on your computer. An example of Filelights representation of KDEs disk usage is shown below. It is important to understand that the full circle represents 143MB, and there are 143MB of files contained recursively in the directory.
Segments are sized relative to the files they represent. Directories have child-segments that represent the files in that directory. Hovering over any segment gives you details about the file it represents, such as its size.
The net-result is something similar to KDirStat, however the data is more dense, and the representation more informative. Most people tend to use Filelight to find out where their diskspace is concentrated, and this is what it is mostly designed to do.
Filelight is released under the GNU General Public License.
<<lessFilelight creates a complex, but data-rich graphical representation of the files and directories on your computer. An example of Filelights representation of KDEs disk usage is shown below. It is important to understand that the full circle represents 143MB, and there are 143MB of files contained recursively in the directory.
Segments are sized relative to the files they represent. Directories have child-segments that represent the files in that directory. Hovering over any segment gives you details about the file it represents, such as its size.
The net-result is something similar to KDirStat, however the data is more dense, and the representation more informative. Most people tend to use Filelight to find out where their diskspace is concentrated, and this is what it is mostly designed to do.
Filelight is released under the GNU General Public License.
Download (0.65MB)
Added: 2006-09-02 License: GPL (GNU General Public License) Price:
1148 downloads
SafeCache 0.9
SafeCache is an extension which segments the cache on the basis of the document origin, defending against web-privacy attacks. more>>
SafeCache is an extension which segments the cache on the basis of the document origin, defending against web-privacy attacks.
Segments the cache on the basis of the originating document, defending against web privacy attacks that remote sites can use to determine your browser history at other sites.
For example, a b.com image appearing on an a.com page would have a separate cache entry from the same image appearing on a b.com page, so a.com cannot use timing techniques to determine if you have visited b.com before.
Checks cookie settings (allow, originating site only, deny) to determine your desired privacy level (segmented cache, cache originating site only, or never cache).
<<lessSegments the cache on the basis of the originating document, defending against web privacy attacks that remote sites can use to determine your browser history at other sites.
For example, a b.com image appearing on an a.com page would have a separate cache entry from the same image appearing on a b.com page, so a.com cannot use timing techniques to determine if you have visited b.com before.
Checks cookie settings (allow, originating site only, deny) to determine your desired privacy level (segmented cache, cache originating site only, or never cache).
Download (0.013MB)
Added: 2007-04-18 License: MPL (Mozilla Public License) Price:
924 downloads
Firelight 1.0
Filelight creates an interactive map of concentric segmented-rings that helps visualize disk usage on your computer. more>>
Filelight creates an interactive map of concentric segmented-rings that helps visualize disk usage on your computer.
It is like a pie-chart, but the segments nest, allowing you to see not only which directories take up all your space, but which directories and files inside those directories are the real culprits.
Remote Filesystems
If you want to have a filelight-style map prerendered at set times during the week, and then controlled in a web browser, take a look at Philesight, an excellent utilty that is also open source.
You can also browser remote servers using the fish:// or ftp:// KIO slave inside FIlelight, but for a system administrator I think philesight is more useful, check it out.
Installing From Source
You should be able to just copy and paste the following into a terminal:
cd ~
wget http://methylblue.com/filelight/packages/filelight-1.0.tar.bz2
tar xjf filelight-1.0.tar.bz2
cd filelight-1.0
./configure --disable-debug && make
su -c make install
<<lessIt is like a pie-chart, but the segments nest, allowing you to see not only which directories take up all your space, but which directories and files inside those directories are the real culprits.
Remote Filesystems
If you want to have a filelight-style map prerendered at set times during the week, and then controlled in a web browser, take a look at Philesight, an excellent utilty that is also open source.
You can also browser remote servers using the fish:// or ftp:// KIO slave inside FIlelight, but for a system administrator I think philesight is more useful, check it out.
Installing From Source
You should be able to just copy and paste the following into a terminal:
cd ~
wget http://methylblue.com/filelight/packages/filelight-1.0.tar.bz2
tar xjf filelight-1.0.tar.bz2
cd filelight-1.0
./configure --disable-debug && make
su -c make install
Download (0.51MB)
Added: 2007-02-28 License: GPL (GNU General Public License) Price:
971 downloads
PHP Running Management 1.0.2
PHP Running Management or phpRunMan is a set of scripts for runners. more>>
PHP Running Management or phpRunMan is a set of scripts for runners. Users can enter intermediate times of their training or race performance for calculating various statistics (distance, avg speed, time/km, projection on different distance, etc.). In PHP Running Management you can enter comments for the whole run or every intermediate segment so the data can be used as a logbook.
Every run (training or competition) is entered as a list of segments and times. You can specify the number of laps and the "offset" (manual correction) of the distance.
Several views are proposed:
- Year view: displays all the runs with their distance, time, average speed, etc.
- Detail view: shows the profile of a run by segment (time, speed, cumulated distance and other indicators).
- Month view: aggregates runs per month over the selected year, shows every months distance, time, average speed.
All the scripts are written in PHP (requires GD lib activated too) and the data is stored in MySQL database.
<<lessEvery run (training or competition) is entered as a list of segments and times. You can specify the number of laps and the "offset" (manual correction) of the distance.
Several views are proposed:
- Year view: displays all the runs with their distance, time, average speed, etc.
- Detail view: shows the profile of a run by segment (time, speed, cumulated distance and other indicators).
- Month view: aggregates runs per month over the selected year, shows every months distance, time, average speed.
All the scripts are written in PHP (requires GD lib activated too) and the data is stored in MySQL database.
Download (0.49MB)
Added: 2006-06-26 License: GPL (GNU General Public License) Price:
1215 downloads
omega t+ 1.4.6
omega t+ is a computer assisted translation (CAT) tool suite. more>>
omega t+ is a computer assisted translation (CAT) tool suite.
omega t+ currently includes omegat, a translation editor tool with numerous features, extspell, an Apsell spell checker user interface, sentseg, for sentence segmenting of documents, and OmegaT packages, from which omegat is derived.
<<lessomega t+ currently includes omegat, a translation editor tool with numerous features, extspell, an Apsell spell checker user interface, sentseg, for sentence segmenting of documents, and OmegaT packages, from which omegat is derived.
Download (0.64MB)
Added: 2006-05-30 License: GPL (GNU General Public License) Price:
1243 downloads
Chemtool 1.6.10
Chemtool is a X11/GTK-based chemical formula drawing program. more>>
Chemtool project is a small program for drawing chemical structures on Linux and Unix systems using the GTK toolkit under X11.
Chemtool relies on transfig by Brian Smith for postscript printing and exporting files in PicTeX and EPS formats. Its companion program, XFig, is recommended for enhancing the output of chemtool, and for creation of 2D diagrams and schematics in general.
Both are included with most distributions of Linux, and are available through a number of websites including www.xfig.org. If you want to import chemtool drawings into word processing programs other than LaTeX, you will probably want to add a preview bitmap to them, as neither StarOffice/OpenOffice nor that software from Redmond seem to be able to display postscript inserts on screen without them.
For this purpose, using either ps2epsi, which comes with ghostscript, or epstool, a part of gsview is recommended. Since chemtool-1.6, this option is supported directly (through the equivalent function offered by recent versions of transfig).
Chemtool was originally written by Thomas Volk, then a student of chemistry and biology at the university of Ulm, Germany. His version, which was described in an article in the german periodical LinuxMagazin, was using plain X11.
The bond types available in chemtool are:
- a single bond
- a double bond (with one line shorter than the other)
- a double bond (having the shorter line on the opposite side)
- a centered double bond
- a triple bond (with the flanking lines shorter than the center)
- a wedge-shaped bond
- a dashed wedge-shaped bond
- a wavy line
- a dashed wide line
- a half arrow
- an arrow
- a wide bond
- a circle
- a dotted line
- a single bond that cuts out a segment from any bond it crosses
- a triple bond (with equal line lengths)
- a quadruple bond
Enhancements:
- PNG export, kprinter support, and a few new template structures were added.
- Screen rendering of complex labels was improved.
- Several problems with text input in UTF8-enabled locales were fixed.
- Arrowhead size in EPS output and the appearance of arrowheads, superscripts, and national characters in SVG output were fixed.
<<lessChemtool relies on transfig by Brian Smith for postscript printing and exporting files in PicTeX and EPS formats. Its companion program, XFig, is recommended for enhancing the output of chemtool, and for creation of 2D diagrams and schematics in general.
Both are included with most distributions of Linux, and are available through a number of websites including www.xfig.org. If you want to import chemtool drawings into word processing programs other than LaTeX, you will probably want to add a preview bitmap to them, as neither StarOffice/OpenOffice nor that software from Redmond seem to be able to display postscript inserts on screen without them.
For this purpose, using either ps2epsi, which comes with ghostscript, or epstool, a part of gsview is recommended. Since chemtool-1.6, this option is supported directly (through the equivalent function offered by recent versions of transfig).
Chemtool was originally written by Thomas Volk, then a student of chemistry and biology at the university of Ulm, Germany. His version, which was described in an article in the german periodical LinuxMagazin, was using plain X11.
The bond types available in chemtool are:
- a single bond
- a double bond (with one line shorter than the other)
- a double bond (having the shorter line on the opposite side)
- a centered double bond
- a triple bond (with the flanking lines shorter than the center)
- a wedge-shaped bond
- a dashed wedge-shaped bond
- a wavy line
- a dashed wide line
- a half arrow
- an arrow
- a wide bond
- a circle
- a dotted line
- a single bond that cuts out a segment from any bond it crosses
- a triple bond (with equal line lengths)
- a quadruple bond
Enhancements:
- PNG export, kprinter support, and a few new template structures were added.
- Screen rendering of complex labels was improved.
- Several problems with text input in UTF8-enabled locales were fixed.
- Arrowhead size in EPS output and the appearance of arrowheads, superscripts, and national characters in SVG output were fixed.
Download (0.41MB)
Added: 2007-04-24 License: GPL (GNU General Public License) Price:
914 downloads
X12::Parser::Readme 0.08
X12::Parser::Readme is a Perl module for understanding configuration (cf) files for X12::Parser. more>>
X12::Parser::Readme is a Perl module for understanding configuration (cf) files for X12::Parser.
X12 transactions
ASC X12 standards define commonly used EDI transactions. The standards define a structure/format for exchange of EDI data.
Each transaction type is called a "transaction set". The smallest data item in a transaction is called an "element". Groups of related elements form a data segment. A data element separator separates the elements within a segment. A segment starts with a element which is called the segment ID, and ends with a segment terminator.
Logical groups of segments are called loops. There are some segments, which are used only to identify the beginning of a loop, these are called as control segments. A logical set of loops together form a "transaction set".
Similar transaction sets can be lumped together by enclosing them in data segments that are known as functional group headers and trailers. Functional groups are grouped together using interchange control headers and trailers.
Parsing
Unlike XML/HTML parsers which relies on "" tags to determine start and end of data blocks, X12 transactions rely on pre-defined values (segment IDs) to indicate start and end of related data blocks (loops). Developing a parser that would work for all X12 transactions poses a challenge in this respect, as each transaction has its own hierarchy of loops and start/end indicators.
This lead to the development of the X12 configuration file (cf) specification. The cf specification is created to specify details regarding the blocks/loops and start/end information in a common format. Cf files can be created for the different transaction sets. (see section Building a cf file).
Now you can parse your EDI data file by invoking the X12::Parser specifying the cf file to use. This allows you to parse any X12 transaction data files just by building the cf file for that transaction type.
Cf file specification for X12::Parser
The cf file specifies any transaction in a hierarchical form. It identifies the loops and segments in a transaction. This information is used to parse the transaction file. The X12::Parser uses the X12::Parser::Cf module to read the cf file information before parsing a transaction file. Since the X12::Parser parses files based on the cf file it allows the user to parse different X12 transaction types just by using the appropriate cf file. The user can use the cf files that are bundled with this package or create new cf files. The cf provided with this package is for the HIPAA X12 Ver 4010 X12 transactions.
A cf file has two types of information: section and key=value pairs. A section contains information in key=value pairs.
<<lessX12 transactions
ASC X12 standards define commonly used EDI transactions. The standards define a structure/format for exchange of EDI data.
Each transaction type is called a "transaction set". The smallest data item in a transaction is called an "element". Groups of related elements form a data segment. A data element separator separates the elements within a segment. A segment starts with a element which is called the segment ID, and ends with a segment terminator.
Logical groups of segments are called loops. There are some segments, which are used only to identify the beginning of a loop, these are called as control segments. A logical set of loops together form a "transaction set".
Similar transaction sets can be lumped together by enclosing them in data segments that are known as functional group headers and trailers. Functional groups are grouped together using interchange control headers and trailers.
Parsing
Unlike XML/HTML parsers which relies on "" tags to determine start and end of data blocks, X12 transactions rely on pre-defined values (segment IDs) to indicate start and end of related data blocks (loops). Developing a parser that would work for all X12 transactions poses a challenge in this respect, as each transaction has its own hierarchy of loops and start/end indicators.
This lead to the development of the X12 configuration file (cf) specification. The cf specification is created to specify details regarding the blocks/loops and start/end information in a common format. Cf files can be created for the different transaction sets. (see section Building a cf file).
Now you can parse your EDI data file by invoking the X12::Parser specifying the cf file to use. This allows you to parse any X12 transaction data files just by building the cf file for that transaction type.
Cf file specification for X12::Parser
The cf file specifies any transaction in a hierarchical form. It identifies the loops and segments in a transaction. This information is used to parse the transaction file. The X12::Parser uses the X12::Parser::Cf module to read the cf file information before parsing a transaction file. Since the X12::Parser parses files based on the cf file it allows the user to parse different X12 transaction types just by using the appropriate cf file. The user can use the cf files that are bundled with this package or create new cf files. The cf provided with this package is for the HIPAA X12 Ver 4010 X12 transactions.
A cf file has two types of information: section and key=value pairs. A section contains information in key=value pairs.
Download (0.019MB)
Added: 2006-09-23 License: Perl Artistic License Price:
1134 downloads
cPige 1.5
cPige is a tool for webradios that want to backup their stream on a 1 day period. more>>
cPige is a tool for webradios that want to backup their stream on a 1 day period. cPige is listening to an icecast/shoutcast webradio, and write the stream using 2 different methods: Artist - Title.mp3, or in Pige mode, cPige write files like 0.mp3 1.mp3 .. corresponding to the current hour. Each mp3 should be 60 min long. Existing files are overwriten. So you can keep 1 day streaming 24/7.
Usage:
./cpige -h http://stream-hautdebit.frequence3.net:8000/ -h http://fallback.stream:8000/fallback -d .
-h host to connect to.
-V show cpige Version.
-d directory save stream to this directory.
-P Pige mode (takes no argument), save stream by hour.
-M Use pige Meta: will write id3v1 tag (only usefull with pige mode).
-q Quite mode, does not output stream status.
-b Background mode (UNIX only) use cPige as a daemon.
-l Path to logfile.
-I [h|m] pige mode will cut on a hour by hour basis or min by min basis.
-i nb how many "nb" hour(s) or minute(s) we should wait before cutting.
-n cPige will append xxxx to file in non pige mode, where xxxx is a number.
-h is the stream URL (not a .m3u or .pls playlist).
-d select where data should be written.
-P Pige mode, keeps 24h of data, by 1h segment, overwriting existing files.
-b Background mode. (UNIX only)
-l path to the logfile.
-q Quiet mode, does not output stream status on stdout
-M Use pige Meta: will write id3v1 tag (only usefull with pige mode)
-I [h|m] pige mode will cut on a hour by hour basis or min by min basis.
-i nb how many "nb" hour(s) or minute(s) we should wait before cutting.
Practical example:
If you have a stream url like http://stream-hautdebit.frequence3.net:8000/ you can use this command line:
./cpige -h http://stream-hautdebit.frequence3.net:8000/ -d /where/to/store/data [ -P ] [ -b ] [ -l cpige.log ]
Parameters in brackets are OPTIONAL. Brackets should not be given to the command line.
Enhancements:
- A Gtk2 GUI was added.
- Metaint changes during reconnections are correctly handled.
- Non-printable characterss are no longer used in filenames created in non pige mode.
- Directly starts recording without waiting for a new interval.
- A memory leak has been fixed.
- A potential bug in getHeaders() has been fixed.
- The ability to stop cPige after a certain amount of time has been added.
- NULL strings are not printed.
- There are some fixes for the Win32 platform.
<<lessUsage:
./cpige -h http://stream-hautdebit.frequence3.net:8000/ -h http://fallback.stream:8000/fallback -d .
-h host to connect to.
-V show cpige Version.
-d directory save stream to this directory.
-P Pige mode (takes no argument), save stream by hour.
-M Use pige Meta: will write id3v1 tag (only usefull with pige mode).
-q Quite mode, does not output stream status.
-b Background mode (UNIX only) use cPige as a daemon.
-l Path to logfile.
-I [h|m] pige mode will cut on a hour by hour basis or min by min basis.
-i nb how many "nb" hour(s) or minute(s) we should wait before cutting.
-n cPige will append xxxx to file in non pige mode, where xxxx is a number.
-h is the stream URL (not a .m3u or .pls playlist).
-d select where data should be written.
-P Pige mode, keeps 24h of data, by 1h segment, overwriting existing files.
-b Background mode. (UNIX only)
-l path to the logfile.
-q Quiet mode, does not output stream status on stdout
-M Use pige Meta: will write id3v1 tag (only usefull with pige mode)
-I [h|m] pige mode will cut on a hour by hour basis or min by min basis.
-i nb how many "nb" hour(s) or minute(s) we should wait before cutting.
Practical example:
If you have a stream url like http://stream-hautdebit.frequence3.net:8000/ you can use this command line:
./cpige -h http://stream-hautdebit.frequence3.net:8000/ -d /where/to/store/data [ -P ] [ -b ] [ -l cpige.log ]
Parameters in brackets are OPTIONAL. Brackets should not be given to the command line.
Enhancements:
- A Gtk2 GUI was added.
- Metaint changes during reconnections are correctly handled.
- Non-printable characterss are no longer used in filenames created in non pige mode.
- Directly starts recording without waiting for a new interval.
- A memory leak has been fixed.
- A potential bug in getHeaders() has been fixed.
- The ability to stop cPige after a certain amount of time has been added.
- NULL strings are not printed.
- There are some fixes for the Win32 platform.
Download (0.19MB)
Added: 2006-08-20 License: GPL (GNU General Public License) Price:
1160 downloads
Image::MetaData::JPEG 0.15
Image::MetaData::JPEG is a Perl extension for showing/modifying JPEG (meta)data. more>>
Image::MetaData::JPEG is a Perl extension for showing/modifying JPEG (meta)data.
SYNOPSIS
use Image::MetaData::JPEG;
# Create a new JPEG file structure object
my $image = new Image::MetaData::JPEG(somepicture.jpg);
die Error: . Image::MetaData::JPEG::Error() unless $image;
# Get a list of references to comment segments
my @segments = $image->get_segments(COM, INDEXES);
# Get the JPEG picture dimensions
my ($dim_x, $dim_y) = $image->get_dimensions();
# Show all JPEG segments and their content
print $image->get_description();
# Retrieve a specific value from Exif meta-data
my $image_data = $image->get_Exif_data(IMAGE_DATA, TEXTUAL);
print $image_data->{DateTimeOriginal}->[0], "n";
# Modify the DateTime tag for the main image
$image->set_Exif_data({DateTime => 1994:07:23 12:14:51},
IMAGE_DATA, ADD);
# Delete all meta-data segments (please, dont)
$image->drop_segments(METADATA);
# Rewrite file to disk after your modifications
$image->save(new_file_name.jpg);
# ... and a lot more methods for viewing/modifying meta-data, which
# are accessed through the $file or $segments[$index] references.
The purpose of this module is to read/modify/rewrite meta-data segments in JPEG (Joint Photographic Experts Group format) files, which can contain comments, thumbnails, Exif information (photographic parameters), IPTC information (editorial parameters) and similar data.
Each JPEG file is made of consecutive segments (tagged data blocks), and the actual row picture data. Most of these segments specify parameters for decoding the picture data into a bitmap; some of them, namely the COMment and APPlication segments, contain instead meta-data, i.e., information about how the photo was shot (usually added by a digital camera) and additional notes from the photograph. These additional pieces of information are especially valuable for picture databases, since the meta-data can be saved together with the picture without resorting to additional database structures. See the appendix about the structure of JPEG files for technical details.
This module works by breaking a JPEG file into individual segments. Each file is associated to an Image::MetaData::JPEG structure object, which contains one Image::MetaData::JPEG::Segment object for each segment. Segments with a known format are then parsed, and their content can be accessed in a structured way for display. Some of them can even be modified and then rewritten to disk.
$JPEG::show_warnings
This package variable must be used to inhibit the printing of warnings: if it is false, warnings are silently ignored. Otherwise, warning messages come with a detailed back-trace and description of the warning location.
$Image::MetaData::JPEG::show_warnings = undef;
<<lessSYNOPSIS
use Image::MetaData::JPEG;
# Create a new JPEG file structure object
my $image = new Image::MetaData::JPEG(somepicture.jpg);
die Error: . Image::MetaData::JPEG::Error() unless $image;
# Get a list of references to comment segments
my @segments = $image->get_segments(COM, INDEXES);
# Get the JPEG picture dimensions
my ($dim_x, $dim_y) = $image->get_dimensions();
# Show all JPEG segments and their content
print $image->get_description();
# Retrieve a specific value from Exif meta-data
my $image_data = $image->get_Exif_data(IMAGE_DATA, TEXTUAL);
print $image_data->{DateTimeOriginal}->[0], "n";
# Modify the DateTime tag for the main image
$image->set_Exif_data({DateTime => 1994:07:23 12:14:51},
IMAGE_DATA, ADD);
# Delete all meta-data segments (please, dont)
$image->drop_segments(METADATA);
# Rewrite file to disk after your modifications
$image->save(new_file_name.jpg);
# ... and a lot more methods for viewing/modifying meta-data, which
# are accessed through the $file or $segments[$index] references.
The purpose of this module is to read/modify/rewrite meta-data segments in JPEG (Joint Photographic Experts Group format) files, which can contain comments, thumbnails, Exif information (photographic parameters), IPTC information (editorial parameters) and similar data.
Each JPEG file is made of consecutive segments (tagged data blocks), and the actual row picture data. Most of these segments specify parameters for decoding the picture data into a bitmap; some of them, namely the COMment and APPlication segments, contain instead meta-data, i.e., information about how the photo was shot (usually added by a digital camera) and additional notes from the photograph. These additional pieces of information are especially valuable for picture databases, since the meta-data can be saved together with the picture without resorting to additional database structures. See the appendix about the structure of JPEG files for technical details.
This module works by breaking a JPEG file into individual segments. Each file is associated to an Image::MetaData::JPEG structure object, which contains one Image::MetaData::JPEG::Segment object for each segment. Segments with a known format are then parsed, and their content can be accessed in a structured way for display. Some of them can even be modified and then rewritten to disk.
$JPEG::show_warnings
This package variable must be used to inhibit the printing of warnings: if it is false, warnings are silently ignored. Otherwise, warning messages come with a detailed back-trace and description of the warning location.
$Image::MetaData::JPEG::show_warnings = undef;
Download (0.28MB)
Added: 2006-07-13 License: GPL (GNU General Public License) Price:
1199 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 segment 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