keygens and serial numbers
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3623
Linux Letters and Numbers 0.1.95
Linux Letters and Numbers project is an educational childrens game for linux. more>>
Linux Letters and Numbers project is an educational childrens game for linux.
Linux Letters and Number is a fun and educational learning game intended for children 2 and up.
It helps children learn or improve their letters, numbers, spelling, and vocabulary skills through the use of interesting pictures.
It also helps them develop important computer skills too.
It is written in C using the GTK and GDK_Imlib libraries.
Main features:
- Extensible - add new images yourself without having to make changes to the program. With support for gdk_imlib, you can now use common image formats, including common formats like gif, jpeg, xpm, png, and tiff.
- Dynamic - each letter or number can be represented by numerous pictures, each being displayed randomly.
- Flexible - you can even have more than one picture for a given word, by using a simple versioning scheme (ie Apple.1.xpm, Apple.2.xpm)
- Interesting - because you can change the game, its different every time!
<<lessLinux Letters and Number is a fun and educational learning game intended for children 2 and up.
It helps children learn or improve their letters, numbers, spelling, and vocabulary skills through the use of interesting pictures.
It also helps them develop important computer skills too.
It is written in C using the GTK and GDK_Imlib libraries.
Main features:
- Extensible - add new images yourself without having to make changes to the program. With support for gdk_imlib, you can now use common image formats, including common formats like gif, jpeg, xpm, png, and tiff.
- Dynamic - each letter or number can be represented by numerous pictures, each being displayed randomly.
- Flexible - you can even have more than one picture for a given word, by using a simple versioning scheme (ie Apple.1.xpm, Apple.2.xpm)
- Interesting - because you can change the game, its different every time!
Download (0.17MB)
Added: 2006-10-27 License: GPL (GNU General Public License) Price:
1097 downloads
Tiny serial terminal 1.1
Tiny serial terminal is a simple and dumb tool to access serial ports. more>>
Tiny serial terminal is a simple and dumb tool to access serial ports. Mainly intended for use to access serial consoles of various hardware.
Usage:
Download: com.c
Version : 1.1
Size : 4607 bytes
MD5 : 73a394b6d5ad333c2bf542315e1a0b73
SHA1 : 53c8ea8a1d5450ac4237a20c843e1462acaaa96e
Building: cc -o com com.c
Usage : ./com /dev/device [speed]
Example : ./com /dev/ttyS0 [115200]
Keys : Ctrl-A - exit, Ctrl-X - display control lines status
Darcs : darcs get http://tinyserial.sf.net/
Scr.shot: screenshot.png (8862 bytes)
<<lessUsage:
Download: com.c
Version : 1.1
Size : 4607 bytes
MD5 : 73a394b6d5ad333c2bf542315e1a0b73
SHA1 : 53c8ea8a1d5450ac4237a20c843e1462acaaa96e
Building: cc -o com com.c
Usage : ./com /dev/device [speed]
Example : ./com /dev/ttyS0 [115200]
Keys : Ctrl-A - exit, Ctrl-X - display control lines status
Darcs : darcs get http://tinyserial.sf.net/
Scr.shot: screenshot.png (8862 bytes)
Download (0.005MB)
Added: 2006-08-21 License: BSD License Price:
1208 downloads
Free Unlisted Phone Numbers Lookup Tool 2.0
With the Free Unlisted Phone Numbers Lookup Tool, You Can Input Unknown Numbers and Run them Across Databases of Phone Numbers to See if the Owners I... more>> <<less
Download (532KB)
Added: 2009-04-14 License: Freeware Price: Free
195 downloads
Serial Over IP 1.0
Serial Over IP is a tool for the transport of serial interfaces over UDP/IP. more>>
Serial Over IP is a tool for the transport of serial interfaces over UDP/IP. It is very usefull for connecting distant equipment that run via a serial interfaces to a local computer.
One linux will be server and one will be client. On the server you can start the program typing the following command:
bash# serialoverip -d /dev/ttyS0 9600-8n1 -s 127.0.0.1 3000
... and on the client:
bash# serialoverip -c 127.0.0.1 3000 -d /dev/ttyS1 9600-8n1
In both commands the IP address is the server IP. Note that you have to start the server first, and it will be efectively be running only after the first packet received from the client.
<<lessOne linux will be server and one will be client. On the server you can start the program typing the following command:
bash# serialoverip -d /dev/ttyS0 9600-8n1 -s 127.0.0.1 3000
... and on the client:
bash# serialoverip -c 127.0.0.1 3000 -d /dev/ttyS1 9600-8n1
In both commands the IP address is the server IP. Note that you have to start the server first, and it will be efectively be running only after the first packet received from the client.
Download (0.16MB)
Added: 2006-07-05 License: GPL (GNU General Public License) Price:
1218 downloads
Serial Line Sniffer 0.4.4
slsnif is a serial port logging utility. more>>
slsnif is a serial line sniffer. It listens to the specified serial port and logs all data coming through it. slsnif works transparently for both the device connected to the serial port and the controlling software for this device. It operates by opening a pseudo tty (pty) and linking it to the actual serial port.
slsnif operates by opening a pty and linking it to the serial port. These are following parameters / options:
1. Serial port to open (required).
2. Name of the file to direct output to (optional, defaults to stdout).
3. Desired baudrate (optional, defaults to 9600 baud).
4. Timestamp On/Off (optional, defaults to Off).
5. Print ascii values in hex On/Off (optional, defaults to Off)
6. Print number of bytes transmitted On/Off (optional, defaults to Off).
7. Optional colors for timestamp, number of bytes transmitted and normal output.
8. Lock port On/Off (optional, defaults to On).
9. Use Unix98 ptys instead of BSD ptys (optional, defaults to BSD style).
10. Second serial port to open. If specified, this port will be used instead of a pty, thus providing an ability to log data between two serial ports.
Enhancements:
- Added ability to resynchronize ports at any time by sending a SIGUSR1 signal to slsnif. Useful for debugging applications that change port parameters mid-way, after starting the transmission. One example is pppd daemon, which sets initial parameters in the chat script, and changes them later, after chat script terminates.
- Added ability to use SYSV (Unix98) ptys instead of BSD ones (see -u and --unix98 parameters). This option can also be turned on/off from rc-file.
<<lessslsnif operates by opening a pty and linking it to the serial port. These are following parameters / options:
1. Serial port to open (required).
2. Name of the file to direct output to (optional, defaults to stdout).
3. Desired baudrate (optional, defaults to 9600 baud).
4. Timestamp On/Off (optional, defaults to Off).
5. Print ascii values in hex On/Off (optional, defaults to Off)
6. Print number of bytes transmitted On/Off (optional, defaults to Off).
7. Optional colors for timestamp, number of bytes transmitted and normal output.
8. Lock port On/Off (optional, defaults to On).
9. Use Unix98 ptys instead of BSD ptys (optional, defaults to BSD style).
10. Second serial port to open. If specified, this port will be used instead of a pty, thus providing an ability to log data between two serial ports.
Enhancements:
- Added ability to resynchronize ports at any time by sending a SIGUSR1 signal to slsnif. Useful for debugging applications that change port parameters mid-way, after starting the transmission. One example is pppd daemon, which sets initial parameters in the chat script, and changes them later, after chat script terminates.
- Added ability to use SYSV (Unix98) ptys instead of BSD ones (see -u and --unix98 parameters). This option can also be turned on/off from rc-file.
Download (0.14MB)
Added: 2006-06-28 License: GPL (GNU General Public License) Price:
1248 downloads
Scalar::Number 0.001
Scalar::Number is a Perl module with numeric aspects of scalars. more>>
Scalar::Number is a Perl module with numeric aspects of scalars.
SYNOPSIS
use Scalar::Number qw(scalar_num_part);
$num = scalar_num_part($scalar);
use Scalar::Number qw(sclnum_is_natint sclnum_is_float);
if(sclnum_is_natint($value)) { ...
if(sclnum_is_float($value)) { ...
use Scalar::Number qw(sclnum_val_cmp sclnum_id_cmp);
@sorted_nums = sort { sclnum_val_cmp($a, $b) } @floats;
@sorted_nums = sort { sclnum_id_cmp($a, $b) } @floats;
This module is about the numeric part of plain (string) Perl scalars. A scalar has a numeric value, which may be expressed in either the native integer type or the native floating point type. Many values are expressible both ways, in which case the exact representation is insignificant. To fully understand Perl arithmetic it is necessary to know about both of these representations, and the differing behaviours of numbers according to which way they are expressible.
This module provides functions to extract the numeric part of a scalar, classify a number by expressibility, and compare numbers across representations.
<<lessSYNOPSIS
use Scalar::Number qw(scalar_num_part);
$num = scalar_num_part($scalar);
use Scalar::Number qw(sclnum_is_natint sclnum_is_float);
if(sclnum_is_natint($value)) { ...
if(sclnum_is_float($value)) { ...
use Scalar::Number qw(sclnum_val_cmp sclnum_id_cmp);
@sorted_nums = sort { sclnum_val_cmp($a, $b) } @floats;
@sorted_nums = sort { sclnum_id_cmp($a, $b) } @floats;
This module is about the numeric part of plain (string) Perl scalars. A scalar has a numeric value, which may be expressed in either the native integer type or the native floating point type. Many values are expressible both ways, in which case the exact representation is insignificant. To fully understand Perl arithmetic it is necessary to know about both of these representations, and the differing behaviours of numbers according to which way they are expressible.
This module provides functions to extract the numeric part of a scalar, classify a number by expressibility, and compare numbers across representations.
Download (0.009MB)
Added: 2007-05-21 License: Perl Artistic License Price:
886 downloads
LibSerial 0.0.3
LibSerial provides a collection of C++ classes that allow one to access serial ports on POSIX systems. more>>
LibSerial provides a collection of C++ classes that allow one to access serial ports on POSIX systems like standard C++ iostream objects.
Member functions are provided for setting various parameters of the serial ports such as the baud rate, character size, flow control and others. LibSerials idea is to simplify serial port programming on POSIX systems.
When you have installed the above tools, run the following commands:
Installation:
./configure
make
make install
Note: The html documentation will not be installed by "make install". I will fix this in the future release.
<<lessMember functions are provided for setting various parameters of the serial ports such as the baud rate, character size, flow control and others. LibSerials idea is to simplify serial port programming on POSIX systems.
When you have installed the above tools, run the following commands:
Installation:
./configure
make
make install
Note: The html documentation will not be installed by "make install". I will fix this in the future release.
Download (0.35MB)
Added: 2006-05-18 License: GPL (GNU General Public License) Price:
1260 downloads
ImageServer 0.5
ImageServer is a software for maintaining archives of images. more>>
ImageServer is a software for maintaining archives of images. Theres much software available to manually view, categorize and search images. ImageServer was designed to solve a different problem:
Imagine being a photographer or photo agency: You have a lot of images in many formats, all stored in a directory structure - your archive.
This creates at least two problems:
- The archive may contain different images with the same name. What do you do when a customer orders "flowers.tif" and this name exists in twenty different subfolders in your archive?
- The customer doesnt need your original 22megapixel 16-bit tiff file for his powerpoint presentation or layouting, he wants a small jpeg instead.
The first problem can be managed by assigning unique names to images every time an image is put into the archive.
The second problem is a little more difficult. Youll have to convert the requested images to smaller JPEGs. After doing that for too many times, you start caching the small JPEGs so you wont have to convert again for the next customer asking for that image. But then, you edit the original image and forget to update the JPEGs. Furthermore, its not enough to keep these resized jpegs for presentations, your customers graphics department also wants correctly downsampled eps images for layouting advertisements in QuarkXPress. So you start having two slaveArchives - one with JPEG and one with EPS images - and spend half of your day trying to synchronize the three.
ImageServer solves both problems automatically. It is a program with a nice GUI, configured to watch your masterArchive. As soon as images are put into any subfolder, theyll be assigned unique names if necessary. Afterwards, each image is read, and for each defined slaveArchive, a preview is created and saved. The same happens when an image in the masterArchive is altered. All this works completely automatically, theres nothing youll have to do; the GUI is just for being able to watch whats happening.
Main features:
- Input file checking: as soon as an image is put into the archive, ImageServer checks the extension to see whether it really is an image. If not, it is put into a specified folder outside of the archive.
- If configured to do so, an image without a suiting name is assigned a new name which is constructed of both the subfolders it resides in and a unique-per-subfolder serial number of arbitrary length.
- When detecting a change in the masterArchive, ImageServer can play a sound.
- When starting to convert an image, ImageServer can play a sound.
- ImageServer can remember the names it has already assigned to images in the past. This way, names assigned to an image A will never be assigned to another image B after A has been deleted.
- Any number of slaveArchives can be defined, and they can be in any location.
- Each defined slaveArchive can have completely different settings for the images that will populate it. Resizing or resampling? RGB or CMYK? Jpeg, EPS, PNG or TIFF?
- You can choose whether each slaveArchive should inherit the exact same directory structure from the masterArchive or whether the slaveArchives images should all be put into the same folder.
- In case dazuko missed something, you can tell imageserver to manually look into a folder. It can then either process all images in that folder or only those where slaveArchive-images are missing.
<<lessImagine being a photographer or photo agency: You have a lot of images in many formats, all stored in a directory structure - your archive.
This creates at least two problems:
- The archive may contain different images with the same name. What do you do when a customer orders "flowers.tif" and this name exists in twenty different subfolders in your archive?
- The customer doesnt need your original 22megapixel 16-bit tiff file for his powerpoint presentation or layouting, he wants a small jpeg instead.
The first problem can be managed by assigning unique names to images every time an image is put into the archive.
The second problem is a little more difficult. Youll have to convert the requested images to smaller JPEGs. After doing that for too many times, you start caching the small JPEGs so you wont have to convert again for the next customer asking for that image. But then, you edit the original image and forget to update the JPEGs. Furthermore, its not enough to keep these resized jpegs for presentations, your customers graphics department also wants correctly downsampled eps images for layouting advertisements in QuarkXPress. So you start having two slaveArchives - one with JPEG and one with EPS images - and spend half of your day trying to synchronize the three.
ImageServer solves both problems automatically. It is a program with a nice GUI, configured to watch your masterArchive. As soon as images are put into any subfolder, theyll be assigned unique names if necessary. Afterwards, each image is read, and for each defined slaveArchive, a preview is created and saved. The same happens when an image in the masterArchive is altered. All this works completely automatically, theres nothing youll have to do; the GUI is just for being able to watch whats happening.
Main features:
- Input file checking: as soon as an image is put into the archive, ImageServer checks the extension to see whether it really is an image. If not, it is put into a specified folder outside of the archive.
- If configured to do so, an image without a suiting name is assigned a new name which is constructed of both the subfolders it resides in and a unique-per-subfolder serial number of arbitrary length.
- When detecting a change in the masterArchive, ImageServer can play a sound.
- When starting to convert an image, ImageServer can play a sound.
- ImageServer can remember the names it has already assigned to images in the past. This way, names assigned to an image A will never be assigned to another image B after A has been deleted.
- Any number of slaveArchives can be defined, and they can be in any location.
- Each defined slaveArchive can have completely different settings for the images that will populate it. Resizing or resampling? RGB or CMYK? Jpeg, EPS, PNG or TIFF?
- You can choose whether each slaveArchive should inherit the exact same directory structure from the masterArchive or whether the slaveArchives images should all be put into the same folder.
- In case dazuko missed something, you can tell imageserver to manually look into a folder. It can then either process all images in that folder or only those where slaveArchive-images are missing.
Download (0.82MB)
Added: 2005-05-30 License: GPL (GNU General Public License) Price:
1608 downloads
Pauls Train Tracker 1.0
Pauls Train Tracker allows you to create folders to organize your model train inventory more>>
Pauls Train Tracker is a Zope application. I wrote it for my father, thats Paul, while I was learning to develop for the Zope application server. Since hes found it useful, I thought Id share it with the Open Source community via the GPL.
Pauls Train Tracker allows you to create folders to organize your model train inventory. Pauls Train Tracker uses the Zope Database to store the following inforamtion about each item:
- name
- description
- brand
- model
- serial number
- comments
- picture
While this application is far from mature, it is still quite useful. Hopefully as time passes, this application will gain additional features as development continues.
<<lessPauls Train Tracker allows you to create folders to organize your model train inventory. Pauls Train Tracker uses the Zope Database to store the following inforamtion about each item:
- name
- description
- brand
- model
- serial number
- comments
- picture
While this application is far from mature, it is still quite useful. Hopefully as time passes, this application will gain additional features as development continues.
Download (0.35MB)
Added: 2006-06-22 License: GPL (GNU General Public License) Price:
1220 downloads
Media Library 0.6
Media Library is a management software for a CD catalog and media library. more>>
MediaLibrary is a multi-platform free software that lets you catalog your media files ( CD-Rs, DVDs...)
Its main purpose is to reference your media files in a category tree with any comment. You can then easily find any file you are looking for.
MediaLibrary is Free Software available under the terms of the GNU/GPL running on Java.
Main features:
- Status Bar with Current Selection Management & Monitored Task Stacking
- Catalog Load Tracing (options/trace menu)
- Recent files list
- Automatic backup & Warning if saving on an already existing different Catalog
- Graphical file category change
- Browsable help & documentation
- Numerous switchable gui icon sets (through setting the medialib.icons.directory property in the resources/medialib.prop file)
- 2 GUI loading & indexing refresh politics: continuous or on action end only (customizable in resources/medialib.prop by setting the medialib.gui.refresh property either to "OnModelEvent" or to "OnActionEndOnly"). The last one is 6 times faster.
- XML format:
- Read & write catalogs in XML and gzip XML
- Full ADC catalog 1.15b format compliance:
- Minus: media drive "free size" field
- Read & write (catalog, medias, dirs & files, categories, dates, comments, sizes...)
- Adc uses a nonstandard date storage format, so there may be up to 4 min delay between adc dates loaded from pure adc and stored by MediaLibrary
- Indexed media & file tree sorted view:
- Shows full indexed filesystem & file properties (name, size...)
- Directory properties (full size, files number...) autocomputing
- Media can be renamed & removed (media tree popup or Edit menu)
- Media & directories can be sorted (media tree popup or Edit menu)
- Customizable sort strategies (in resources/medialib.prop)
- Select Subtree action (media tree popup or Edit menu)
- Media indexation:
- Any drive or directory may be indexed in the current catalog
- MediaLibrary on Windows guesses drives label, type & serial number
- Indexed MP3 files ID3s are parsed as file comments
- Hierarchical categorization model:
- Compliant with pure ADC file format
- The / slash character is used as categories level separator
- Features a tree categories view showing categorized files
- Navigation from categorized files to media view by double click
"new", "add","move" and "remove" categories tree popup & Edit menu actions
- All selected files may be recategorized at the same time
- File & media search feature:
- Toolbar search textfield & launch button
- Google like behaviour for the search entries : spaces are understood as AND operators
- Category cross searching
- Satistics tab providing information on found files
- Stats:
- Toolbar statistics launch button to compute statistics on the current catalog
- An increasing panel of statistics for now : basic statistics on files, statistics on multimedia files
- An "easy to extend" stats computing architecture. Develop your own statistics algorithm
- Preferences Edition:
- Edits the reources/medialib.prop, saves on exit
- Single and multi properties handled
- Report:
- HTML output
- Reports missing serial episodes in the subcategories of the Preferences chosen top serial Category
<<lessIts main purpose is to reference your media files in a category tree with any comment. You can then easily find any file you are looking for.
MediaLibrary is Free Software available under the terms of the GNU/GPL running on Java.
Main features:
- Status Bar with Current Selection Management & Monitored Task Stacking
- Catalog Load Tracing (options/trace menu)
- Recent files list
- Automatic backup & Warning if saving on an already existing different Catalog
- Graphical file category change
- Browsable help & documentation
- Numerous switchable gui icon sets (through setting the medialib.icons.directory property in the resources/medialib.prop file)
- 2 GUI loading & indexing refresh politics: continuous or on action end only (customizable in resources/medialib.prop by setting the medialib.gui.refresh property either to "OnModelEvent" or to "OnActionEndOnly"). The last one is 6 times faster.
- XML format:
- Read & write catalogs in XML and gzip XML
- Full ADC catalog 1.15b format compliance:
- Minus: media drive "free size" field
- Read & write (catalog, medias, dirs & files, categories, dates, comments, sizes...)
- Adc uses a nonstandard date storage format, so there may be up to 4 min delay between adc dates loaded from pure adc and stored by MediaLibrary
- Indexed media & file tree sorted view:
- Shows full indexed filesystem & file properties (name, size...)
- Directory properties (full size, files number...) autocomputing
- Media can be renamed & removed (media tree popup or Edit menu)
- Media & directories can be sorted (media tree popup or Edit menu)
- Customizable sort strategies (in resources/medialib.prop)
- Select Subtree action (media tree popup or Edit menu)
- Media indexation:
- Any drive or directory may be indexed in the current catalog
- MediaLibrary on Windows guesses drives label, type & serial number
- Indexed MP3 files ID3s are parsed as file comments
- Hierarchical categorization model:
- Compliant with pure ADC file format
- The / slash character is used as categories level separator
- Features a tree categories view showing categorized files
- Navigation from categorized files to media view by double click
"new", "add","move" and "remove" categories tree popup & Edit menu actions
- All selected files may be recategorized at the same time
- File & media search feature:
- Toolbar search textfield & launch button
- Google like behaviour for the search entries : spaces are understood as AND operators
- Category cross searching
- Satistics tab providing information on found files
- Stats:
- Toolbar statistics launch button to compute statistics on the current catalog
- An increasing panel of statistics for now : basic statistics on files, statistics on multimedia files
- An "easy to extend" stats computing architecture. Develop your own statistics algorithm
- Preferences Edition:
- Edits the reources/medialib.prop, saves on exit
- Single and multi properties handled
- Report:
- HTML output
- Reports missing serial episodes in the subcategories of the Preferences chosen top serial Category
Download (5.1MB)
Added: 2005-05-10 License: GPL (GNU General Public License) Price:
1634 downloads
number 2.30
number is a perl script that will print the English name of a number. more>>
number is a perl script that will print the English name of a number. One can print names of extremely large numbers (e.g. 1e1234567). Number can be run on the command line, or as a CGI script when run as number.cgi.
Number prints names in both the American and European naming system. It can also print the decimal expansion of a number in either naming system.
<<lessNumber prints names in both the American and European naming system. It can also print the decimal expansion of a number in either naming system.
Download (0.028MB)
Added: 2006-09-19 License: Freely Distributable Price:
1130 downloads
Destiney Scripts Lottery 0.1.0
Destiney Scripts Lottery is a powerball lottery number analyzer and quick picker. more>>
Destiney Scripts Lottery project is a powerball lottery number analyzer and quick picker.
Destiney Scripts Lottery script is a Web application that helps to pick your "lucky" Powerball Lottery numbers.
Random quick picks use statistical logic based on previous winning numbers to inversely weight the results for better "random" picks.
The latest winning Powerball results can be imported as well.
Main features:
- Automated Powerball quick pick.
- Weighted picks based on previous winning numbers
- Import system for latest winning numbers
<<lessDestiney Scripts Lottery script is a Web application that helps to pick your "lucky" Powerball Lottery numbers.
Random quick picks use statistical logic based on previous winning numbers to inversely weight the results for better "random" picks.
The latest winning Powerball results can be imported as well.
Main features:
- Automated Powerball quick pick.
- Weighted picks based on previous winning numbers
- Import system for latest winning numbers
Download (0.008MB)
Added: 2007-01-10 License: GPL (GNU General Public License) Price:
1027 downloads
Test::Number::Delta 1.03
Test::Number::Delta is a Perl module to compare the difference between numbers against a given tolerance. more>>
Test::Number::Delta is a Perl module to compare the difference between numbers against a given tolerance.
SYNOPSIS
# Import test functions
use Test::Number::Delta;
# Equality test with default tolerance
delta_ok( 1e-5, 2e-5, values within 1e-6);
# Inequality test with default tolerance
delta_not_ok( 1e-5, 2e-5, values not within 1e-6);
# Provide specific tolerance
delta_within( 1e-3, 2e-3, 1e-4, values within 1e-4);
delta_not_within( 1e-3, 2e-3, 1e-4, values not within 1e-4);
# Compare arrays or matrices
@a = ( 3.14, 1.41 );
@b = ( 3.15, 1.41 );
delta_ok( @a, @b, compare @a and @b );
# Set a different default tolerance
use Test::Number::Delta within => 1e-5;
delta_ok( 1.1e-5, 2e-5, values within 1e-5); # ok
# Set a relative tolerance
use Test::Number::Delta relative => 1e-3;
delta_ok( 1.01, 1.0099, values within 1.01e-3);
At some point or another, most programmers find they need to compare floating-point numbers for equality. The typical idiom is to test if the absolute value of the difference of the numbers is within a desired tolerance, usually called epsilon. This module provides such a function for use with Test::Harness. Usage is similar to other test functions described in Test::More. Semantically, the delta_within function replaces this kind of construct:
ok ( abs($p - $q) < $epsilon, $p is equal to $q ) or
diag "$p is not equal to $q to within $epsilon";
While theres nothing wrong with that construct, its painful to type it repeatedly in a test script. This module does the same thing with a single function call. The delta_ok function is similar, but either uses a global default value for epsilon or else calculates a relative epsilon on the fly so that epsilon is scaled automatically to the size of the arguments to delta_ok. Both functions are exported automatically.
Because checking floating-point equality is not always reliable, it is not possible to check the equal to boundary of less than or equal to epsilon. Therefore, Test::Number::Delta only compares if the absolute value of the difference is less than epsilon (for equality tests) or greater than epsilon (for inequality tests).
<<lessSYNOPSIS
# Import test functions
use Test::Number::Delta;
# Equality test with default tolerance
delta_ok( 1e-5, 2e-5, values within 1e-6);
# Inequality test with default tolerance
delta_not_ok( 1e-5, 2e-5, values not within 1e-6);
# Provide specific tolerance
delta_within( 1e-3, 2e-3, 1e-4, values within 1e-4);
delta_not_within( 1e-3, 2e-3, 1e-4, values not within 1e-4);
# Compare arrays or matrices
@a = ( 3.14, 1.41 );
@b = ( 3.15, 1.41 );
delta_ok( @a, @b, compare @a and @b );
# Set a different default tolerance
use Test::Number::Delta within => 1e-5;
delta_ok( 1.1e-5, 2e-5, values within 1e-5); # ok
# Set a relative tolerance
use Test::Number::Delta relative => 1e-3;
delta_ok( 1.01, 1.0099, values within 1.01e-3);
At some point or another, most programmers find they need to compare floating-point numbers for equality. The typical idiom is to test if the absolute value of the difference of the numbers is within a desired tolerance, usually called epsilon. This module provides such a function for use with Test::Harness. Usage is similar to other test functions described in Test::More. Semantically, the delta_within function replaces this kind of construct:
ok ( abs($p - $q) < $epsilon, $p is equal to $q ) or
diag "$p is not equal to $q to within $epsilon";
While theres nothing wrong with that construct, its painful to type it repeatedly in a test script. This module does the same thing with a single function call. The delta_ok function is similar, but either uses a global default value for epsilon or else calculates a relative epsilon on the fly so that epsilon is scaled automatically to the size of the arguments to delta_ok. Both functions are exported automatically.
Because checking floating-point equality is not always reliable, it is not possible to check the equal to boundary of less than or equal to epsilon. Therefore, Test::Number::Delta only compares if the absolute value of the difference is less than epsilon (for equality tests) or greater than epsilon (for inequality tests).
Download (0.018MB)
Added: 2007-01-18 License: Perl Artistic License Price:
1015 downloads
Math::Numbers 0.000000001
Math::Numbers is a Perl module that contains methods for mathematical approaches of concepts of the number theory. more>>
Math::Numbers is a Perl module that contains methods for mathematical approaches of concepts of the number theory.
SYNOPSIS
use Math::Numbers;
my $a = 123;
my $b = 34;
my $numbers = Math::Numbers->new($a, $b [, ...]);
print "They are coprimes (relatively primes)!n" if $numbers->are_coprimes;
print "The greatest common divisor of these at least two numbers is ", $numbers->gcd;
my $number = Math::Numbers->new($a);
print "It is prime!n" if $number->is_prime;
my @divisors = $number->get_divisors;
print "$a is divisor of $b!n" if $number->is_divisor_of($b);
Math::Numbers is quite a simple module on matters of programming. What its interesting is the focus and approach it is intended to be made from the Number Theory basis for Perl beginners (like me) and also for young mathematicians (like me).
The normal topics of Number Theory include divisibility, prime numbers (which is separately intended to be covered by Math::Primes), congruences, quadratic residues, approximation for Real numbers, diophantine equations, etc. and all this is intended to be convered by the module on the concept on getting and setting values and also retriving the proof methods.
METHODS
new
# Some methods require more than only one argument.
my $numbers = Math::Numbers->new($p, $q, ...);
# Some methods require only one.
my $number = Math::Numbers->new($p);
Create a Math::Numbers object. Note that some of the methods will require objects created with only one or a defined numbers of arguments.
gcd
my $gcd = $numbers->gcd;
Calculation of the Greatest Common Divisor. This is made by two different methods which are described below: Blutos algorithm and Euclidean algorithm: The former is used when computing GCD for more than two integers; the latter is used when getting the GCD for two numbers to improve speed. See below for information on each.
Bluto_algorithm
You will mostly not require to call this method, but directly gcd(). Blutos algorithm uses a brute force calculation used by mathematicians to get divisors and then GCD also called Primality Test. Bluto takes some spinaches stolen from Popeye and starts dividing m all the way through 2 to m/2.
Euclidean_algorithm
Euclid rocks. I have a very nice Budgerigar (http://en.wikipedia.org/wiki/Budgerigar) called the same in honor of him (have to upload a pic of him).
As of now, this algorithm is only computed on two integers. From the Wikipedia entry: Given two natural numbers a and b: check if b is zero; if yes, a is the gcd. If not, repeat the process using (respectively) b, and the remainder after dividing a by b. This is exactly what our method does.
is_divisor_of
print "Yes, $p is divisor of $a...n" if $number->is_divisor_of($a);
Lets see if the number from the object is a divisor of $a, which means that the division $number/$a will return an integer (not necesarily a natural). If it does, itll return 1; 0, otherwise.
get_divisors
my @divisors = $number->get_divisors;
What are the divisors of the number brought by the object? This only includes the Natural numbers.
is_prime
print "$p is not prime!n" unless $number->is_prime
Returns 0 or 1 if the number from the object is prime or not, respectively. This method uses the, a bit slow, primality test.
are_coprimes
print "They are coprimes because their GCD is 1!n" if $numbers->are_coprimes;
Are the numbers from the object coprimes (relatively primes)? This means, the GCD is 1; (a, b, c, ...) = 1. Returns 1 or 0.
<<lessSYNOPSIS
use Math::Numbers;
my $a = 123;
my $b = 34;
my $numbers = Math::Numbers->new($a, $b [, ...]);
print "They are coprimes (relatively primes)!n" if $numbers->are_coprimes;
print "The greatest common divisor of these at least two numbers is ", $numbers->gcd;
my $number = Math::Numbers->new($a);
print "It is prime!n" if $number->is_prime;
my @divisors = $number->get_divisors;
print "$a is divisor of $b!n" if $number->is_divisor_of($b);
Math::Numbers is quite a simple module on matters of programming. What its interesting is the focus and approach it is intended to be made from the Number Theory basis for Perl beginners (like me) and also for young mathematicians (like me).
The normal topics of Number Theory include divisibility, prime numbers (which is separately intended to be covered by Math::Primes), congruences, quadratic residues, approximation for Real numbers, diophantine equations, etc. and all this is intended to be convered by the module on the concept on getting and setting values and also retriving the proof methods.
METHODS
new
# Some methods require more than only one argument.
my $numbers = Math::Numbers->new($p, $q, ...);
# Some methods require only one.
my $number = Math::Numbers->new($p);
Create a Math::Numbers object. Note that some of the methods will require objects created with only one or a defined numbers of arguments.
gcd
my $gcd = $numbers->gcd;
Calculation of the Greatest Common Divisor. This is made by two different methods which are described below: Blutos algorithm and Euclidean algorithm: The former is used when computing GCD for more than two integers; the latter is used when getting the GCD for two numbers to improve speed. See below for information on each.
Bluto_algorithm
You will mostly not require to call this method, but directly gcd(). Blutos algorithm uses a brute force calculation used by mathematicians to get divisors and then GCD also called Primality Test. Bluto takes some spinaches stolen from Popeye and starts dividing m all the way through 2 to m/2.
Euclidean_algorithm
Euclid rocks. I have a very nice Budgerigar (http://en.wikipedia.org/wiki/Budgerigar) called the same in honor of him (have to upload a pic of him).
As of now, this algorithm is only computed on two integers. From the Wikipedia entry: Given two natural numbers a and b: check if b is zero; if yes, a is the gcd. If not, repeat the process using (respectively) b, and the remainder after dividing a by b. This is exactly what our method does.
is_divisor_of
print "Yes, $p is divisor of $a...n" if $number->is_divisor_of($a);
Lets see if the number from the object is a divisor of $a, which means that the division $number/$a will return an integer (not necesarily a natural). If it does, itll return 1; 0, otherwise.
get_divisors
my @divisors = $number->get_divisors;
What are the divisors of the number brought by the object? This only includes the Natural numbers.
is_prime
print "$p is not prime!n" unless $number->is_prime
Returns 0 or 1 if the number from the object is prime or not, respectively. This method uses the, a bit slow, primality test.
are_coprimes
print "They are coprimes because their GCD is 1!n" if $numbers->are_coprimes;
Are the numbers from the object coprimes (relatively primes)? This means, the GCD is 1; (a, b, c, ...) = 1. Returns 1 or 0.
Download (0.004MB)
Added: 2007-07-13 License: Perl Artistic License Price:
833 downloads
DNS::ZoneParse 0.95
DNS::ZoneParse is a Perl module to parse and manipulate DNS Zone Files. more>>
DNS::ZoneParse is a Perl module to parse and manipulate DNS Zone Files.
SYNOPSIS
use DNS::ZoneParse;
my $zonefile = DNS::ZoneParse->new("/path/to/dns/zonefile.db", $origin);
# Get a reference to the MX records
my $mx = $zonefile->mx;
# Change the first mailserver on the list
$mx->[0] = { host => mail.localhost.com,
priority => 10,
name => @ };
# update the serial number
$zonefile->new_serial();
# write the new zone file to disk
open NEWZONE, ">/path/to/dns/zonefile.db" or die "error";
print NEWZONE $zonefile->output();
close NEWZONE;
INSTALLATION
perl Makefile.PL
make
make test
make install
<<lessSYNOPSIS
use DNS::ZoneParse;
my $zonefile = DNS::ZoneParse->new("/path/to/dns/zonefile.db", $origin);
# Get a reference to the MX records
my $mx = $zonefile->mx;
# Change the first mailserver on the list
$mx->[0] = { host => mail.localhost.com,
priority => 10,
name => @ };
# update the serial number
$zonefile->new_serial();
# write the new zone file to disk
open NEWZONE, ">/path/to/dns/zonefile.db" or die "error";
print NEWZONE $zonefile->output();
close NEWZONE;
INSTALLATION
perl Makefile.PL
make
make test
make install
Download (0.009MB)
Added: 2007-04-16 License: Perl Artistic License Price:
925 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 keygens and serial numbers 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