to calculate
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 445
Date Calculator 0.1
Date Calculator is a date calculator application written in pyqt. more>>
Date Calculator is a date calculator application written in pyqt. You can add or subtract days to a date, or calculate the number of days between two dates.
You can also choose to run your calculations using only working days and/or calculate inclusive of the start/end dates. There is a comprehensive gui for setting holiday dates.
Holidays can be fixed annual dates, variable dates, such as "the 1st Monday in June" or "the closest Monday to 22 February". This utility could be useful for people who need to be able to calculate time critical deadlines, such as lawyers.
Date Calculator application is also available as a superkaramba theme. You can download both from the download link.
<<lessYou can also choose to run your calculations using only working days and/or calculate inclusive of the start/end dates. There is a comprehensive gui for setting holiday dates.
Holidays can be fixed annual dates, variable dates, such as "the 1st Monday in June" or "the closest Monday to 22 February". This utility could be useful for people who need to be able to calculate time critical deadlines, such as lawyers.
Date Calculator application is also available as a superkaramba theme. You can download both from the download link.
Download (0.19MB)
Added: 2006-04-03 License: GPL (GNU General Public License) Price:
1307 downloads
Veterinary Calculator 0.9.1 Beta
Veterinary Calculator was designed specifically for veterinary clinics. more>>
Veterinary Calculator was designed specifically for veterinary clinics, the purpose behind this application is to allow veterinarians to do the conversions necessary for their job quicker.
The calculator includes features to allow you to convert from various common units like pounds and kilograms, as well as convert weight to body surface area for cats and dogs. Ultimately this application will include everything necessary to calculate drug dosages for any animal, however for now its features are primarily limited to cats and dogs.
This calculator is now and always will be free. The reason for the decision to make this application free is to improve the welfare of all animals by reducing the costs associated with keeping them healthy.
Enhancements:
- This is a minor release to fix some text to make things easier to understand, and to fix building on Linux with nant.
- This is also likely the last GPL release; the next release will be LGPL or perhaps even BSD licensed.
<<lessThe calculator includes features to allow you to convert from various common units like pounds and kilograms, as well as convert weight to body surface area for cats and dogs. Ultimately this application will include everything necessary to calculate drug dosages for any animal, however for now its features are primarily limited to cats and dogs.
This calculator is now and always will be free. The reason for the decision to make this application free is to improve the welfare of all animals by reducing the costs associated with keeping them healthy.
Enhancements:
- This is a minor release to fix some text to make things easier to understand, and to fix building on Linux with nant.
- This is also likely the last GPL release; the next release will be LGPL or perhaps even BSD licensed.
Download (MB)
Added: 2006-12-12 License: GPL (GNU General Public License) Price:
1047 downloads
Calorie Burning Calculator 2.1
Calorie Burning Calculator can calculate how many calories they require a day to maintain their body weight. more>>
Calorie Burning Calculator project is a free, nicely-formatted online calculator to help your web site visitors calculate how many calories they require a day to maintain their body weight, or basal metabolic rate (BMR).
Main features:
- Calorie Burning Calculator is easy to install, just unzip, upload and youre done!
- Simple interface makes it easy for visitors to use the calculator, and will encourage them to come back to use it again and again!
- Adjust the Calorie Burning Calculator to fit the look and feel of your own site.
- A great way to add some extra content to your health related web site.
- Calorie Burning Calculator is completely free!
<<lessMain features:
- Calorie Burning Calculator is easy to install, just unzip, upload and youre done!
- Simple interface makes it easy for visitors to use the calculator, and will encourage them to come back to use it again and again!
- Adjust the Calorie Burning Calculator to fit the look and feel of your own site.
- A great way to add some extra content to your health related web site.
- Calorie Burning Calculator is completely free!
Download (0.025MB)
Added: 2006-03-17 License: Freeware Price:
1317 downloads

Numerology Calculator for Linux 1.0
Type in a name,and the program will display the numeric equivalent. more>> Numero is a program to assist numerologers to calculate the numerical equivalents of names in the Latin alphabet. Numero is free software.
You can download the Linux version. Numero is very easy to use. Type in a name, and the program will display the numeric equivalent for each letter. You can view the results according to the Chaldean or Pythagorean system with one click of the mouse.<<less
Download (830KB)
Added: 2009-04-21 License: Freeware Price:
190 downloads
Metroid Ultimate Sidebar 1.9
Metroid Ultimate Sidebar allows you to calculate your point change in mph. more>>
Metroid Ultimate Sidebar allows you to calculate your point change in mph.
Calculate your point change in mph or find out your rank and get on the front page of mphtools.com!
Just add the toolbar icon to a toolbar or open the bar using alt M.
<<lessCalculate your point change in mph or find out your rank and get on the front page of mphtools.com!
Just add the toolbar icon to a toolbar or open the bar using alt M.
Download (0.018MB)
Added: 2007-04-06 License: MPL (Mozilla Public License) Price:
564 downloads
Low Resolution Modeline Calculator 0.9.2
Low Resolution Modeline Calculator is a modeline calculator for legacy CRT displays. more>>
Low Resolution Modeline Calculator is a modeline calculator for legacy CRT displays, including TVs, arcade monitors, and VGA monitors.
Low Resolution Modeline Calculator can also be used to calculate low resolution modelines for modern multisync PC monitors.
As its name implies, it is not designed for calculating large resolutions, resolutions that operate over 65kHz.
Options:
-v, --vsync
Calculate the nearest mode in vertical synchronization.
-b, --bestscan
Calculate the nearest best scan mode.
-i, --interlace
Include support for interlaced calculations. Interlaced modes are not supported by many video cards. You should only enable this option if you know your video card supports them.
-d, --doublescan
Include support for doublescanned calculations. Doublescanned modes are not supported by many video cards. You should only enable this option if you know your video card supports them.
-n, --nostretch
Do not stretch modes that are out of range for your monitor. You should use this option if you know that your application does not support integer stretching.
-y, --ystretch
Assume fractional stretching of the y-resolution. You should use this option if you know that your application supports fractional stretching of the y-resolution and you want to stretch an underscanned mode so that it fills the entire screen.
-l, --lowpclock
Many video cards do not reliably support pixel clocks lower than 8mHz. If you know that your video card and its driver support pixel clocks lower than 8mHz, then you should use this option.
-h, --highpclock
Most X11 video card drivers do not support pixel clocks lower than 12mHz. In some cases your video card may not support pixel clocks lower than 12mHz either (rare). If you know that your video card (or your video card driver) does not support pixel clocks lower than 12mHz, then you should use this option.
-3x4
Stretch the horizontal resolution so that the mode has a 3:4 aspect ratio. You can use this option to correctly display vertical resolutions on a horizontal monitor.
-x, --X11R6
Print modeline in X11 format (default).
-f, --fb
Print modeline in fbset format.
-a, --advmame
Print modeline in AdvanceMAME format.
-s, --SDL
Print modeline in X11 format to stdout and print AdvanceMAME X11 configuration to stderr.
-p, --powerstrip
Print modeline in PowerStrip format.
-pal
Calculate modelines for a PAL Television (15.625kHz).
-ntsc
Calculate modelines for a NTSC Television (15.73426kHz).
-cga
Calculate modelines for a standard resolution arcade monitor (15.7500kHz).
-ega
Calculate modelines for a medium resolution arcade monitor (24.960kHz).
-vga
Calculate modelines for a standard VGA monitor (31.500kHz).
-d9200
Calculate modelines for a Wells-Gardner 9200 arcade monitor (15kHz, 25kHz, 31kHz).
-multi
Calculate modelines for a Multisync PC monitor (default)
Enhancements:
- The --reference option works correctly.
- The DOS version compiles with libxml.
<<lessLow Resolution Modeline Calculator can also be used to calculate low resolution modelines for modern multisync PC monitors.
As its name implies, it is not designed for calculating large resolutions, resolutions that operate over 65kHz.
Options:
-v, --vsync
Calculate the nearest mode in vertical synchronization.
-b, --bestscan
Calculate the nearest best scan mode.
-i, --interlace
Include support for interlaced calculations. Interlaced modes are not supported by many video cards. You should only enable this option if you know your video card supports them.
-d, --doublescan
Include support for doublescanned calculations. Doublescanned modes are not supported by many video cards. You should only enable this option if you know your video card supports them.
-n, --nostretch
Do not stretch modes that are out of range for your monitor. You should use this option if you know that your application does not support integer stretching.
-y, --ystretch
Assume fractional stretching of the y-resolution. You should use this option if you know that your application supports fractional stretching of the y-resolution and you want to stretch an underscanned mode so that it fills the entire screen.
-l, --lowpclock
Many video cards do not reliably support pixel clocks lower than 8mHz. If you know that your video card and its driver support pixel clocks lower than 8mHz, then you should use this option.
-h, --highpclock
Most X11 video card drivers do not support pixel clocks lower than 12mHz. In some cases your video card may not support pixel clocks lower than 12mHz either (rare). If you know that your video card (or your video card driver) does not support pixel clocks lower than 12mHz, then you should use this option.
-3x4
Stretch the horizontal resolution so that the mode has a 3:4 aspect ratio. You can use this option to correctly display vertical resolutions on a horizontal monitor.
-x, --X11R6
Print modeline in X11 format (default).
-f, --fb
Print modeline in fbset format.
-a, --advmame
Print modeline in AdvanceMAME format.
-s, --SDL
Print modeline in X11 format to stdout and print AdvanceMAME X11 configuration to stderr.
-p, --powerstrip
Print modeline in PowerStrip format.
-pal
Calculate modelines for a PAL Television (15.625kHz).
-ntsc
Calculate modelines for a NTSC Television (15.73426kHz).
-cga
Calculate modelines for a standard resolution arcade monitor (15.7500kHz).
-ega
Calculate modelines for a medium resolution arcade monitor (24.960kHz).
-vga
Calculate modelines for a standard VGA monitor (31.500kHz).
-d9200
Calculate modelines for a Wells-Gardner 9200 arcade monitor (15kHz, 25kHz, 31kHz).
-multi
Calculate modelines for a Multisync PC monitor (default)
Enhancements:
- The --reference option works correctly.
- The DOS version compiles with libxml.
Download (0.30MB)
Added: 2006-01-01 License: GPL (GNU General Public License) Price:
1395 downloads
Scalar::Defer 0.07
Scalar::Defer is a Perl module to calculate values on demand. more>>
Scalar::Defer is a Perl module to calculate values on demand.
SYNOPSIS
use Scalar::Defer; # exports defer and lazy
my ($x, $y);
my $dv = defer { ++$x }; # a deferred value (not memoized)
my $lv = lazy { ++$y }; # a lazy value (memoized)
print "$dv $dv $dv"; # 1 2 3
print "$lv $lv $lv"; # 1 1 1
my $forced = force $dv; # force a normal value out of $dv
print "$forced $forced $forced"; # 4 4 4
This module exports two functions, defer and lazy, for building values that are evaluated on demand. It also exports a force function to force evaluation of a deferred value.
defer {...}
Takes a block or a code reference, and returns a deferred value. Each time that value is demanded, the block is evaluated again to yield a fresh result.
lazy {...}
Like defer, except the value is computed at most once. Subsequent evaluation will simply use the cached result.
force $value
Force evaluation of a deferred value to return a normal value. If $value was already normal value, then force simply returns it.
NOTES
Deferred values are not considered objects (ref on them returns 0), although you can still call methods on them, in which case the invocant is always the forced value.
Unlike the tie-based Data::Lazy, this module operates on values, not variables. Therefore, assigning into $dv and $lv above will simply replace the value, instead of triggering a STORE method call.
Also, thanks to the overload-based implementation, this module is about 2x faster than Data::Lazy.
<<lessSYNOPSIS
use Scalar::Defer; # exports defer and lazy
my ($x, $y);
my $dv = defer { ++$x }; # a deferred value (not memoized)
my $lv = lazy { ++$y }; # a lazy value (memoized)
print "$dv $dv $dv"; # 1 2 3
print "$lv $lv $lv"; # 1 1 1
my $forced = force $dv; # force a normal value out of $dv
print "$forced $forced $forced"; # 4 4 4
This module exports two functions, defer and lazy, for building values that are evaluated on demand. It also exports a force function to force evaluation of a deferred value.
defer {...}
Takes a block or a code reference, and returns a deferred value. Each time that value is demanded, the block is evaluated again to yield a fresh result.
lazy {...}
Like defer, except the value is computed at most once. Subsequent evaluation will simply use the cached result.
force $value
Force evaluation of a deferred value to return a normal value. If $value was already normal value, then force simply returns it.
NOTES
Deferred values are not considered objects (ref on them returns 0), although you can still call methods on them, in which case the invocant is always the forced value.
Unlike the tie-based Data::Lazy, this module operates on values, not variables. Therefore, assigning into $dv and $lv above will simply replace the value, instead of triggering a STORE method call.
Also, thanks to the overload-based implementation, this module is about 2x faster than Data::Lazy.
Download (0.025MB)
Added: 2006-10-18 License: MIT/X Consortium License Price:
1101 downloads
OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius. more>>
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius.
<<less Download (0.003MB)
Added: 2007-03-01 License: Perl Artistic License Price:
968 downloads
Sonic Visualiser 0.9
Sonic Visualiser is an application for viewing and analysing the contents of music audio files. more>>
Sonic Visualiser is an application for viewing and analysing the contents of music audio files.
The aim of Sonic Visualiser is to be the program you reach for when you find a musical recording you want to study rather than simply hear.
As well as a number of features designed to make exploring audio data as revealing and fun as possible, Sonic Visualiser also has powerful annotation capabilities to help you to describe what you find, and the ability to run automated annotation and analysis plugins in the new Vamp analysis plugin format.
We hope Sonic Visualiser will be of particular interest to musicologists, archivists, signal-processing researchers and anyone else looking for a friendly way to take a look at what lies inside the audio file.
Main features:
- Load audio files in WAV, Ogg and MP3 formats, and view their waveforms.
- Look at audio visualisations such as spectrogram views, with interactive adjustment of display parameters.
- Annotate audio data by adding labelled time points and defining segments, point values and curves.
- Overlay annotations on top of one another with aligned scales, and overlay annotations on top of waveform or spectrogram views.
- View the same data at multiple time resolutions simultaneously (for close-up and overview).
- Run feature-extraction plugins to calculate annotations automatically, using algorithms such as beat trackers, pitch detectors and so on.
- Import annotation layers from various text file formats.
- Import note data from MIDI files, view it alongside other frequency scales, and play it with the original audio.
- Play back the audio plus synthesised annotations, taking care to synchronise playback with display.
- Select areas of interest, optionally snapping to nearby feature locations, and audition individual and comparative selections in seamless loops.
- Time-stretch playback, slowing it down to as little as 10% of the original speed while retaining a synchronised display.
- Export audio regions and annotation layers to external files.
The design goals for Sonic Visualiser are:
- To provide the best available core waveform and spectrogram audio visualisations for use with substantial files of music audio data.
- To facilitate ready comparisons between different kinds of data, for example by making it easy to overlay one set of data on another, or display the same data in more than one way at the same time.
- To be straightforward. The user interface should be simpler to learn and to explain than the internal data structures. In this respect, Sonic Visualiser aims to resemble a consumer audio application.
- To be responsive, slick, and enjoyable. Even if you have to wait for your results to be calculated, you should be able to do something else with the audio data while you wait. Sonic Visualiser is pervasively multithreaded, loves multiprocessor and multicore systems, and can make good use of fast processors with plenty of memory.
- To handle large data sets. The work Sonic Visualiser does is intrinsically processor-hungry and (often) memory-hungry, but the aim is to allow you to work with long audio files on machines with modest CPU and memory where reasonable. (Disk space is another matter. Sonic Visualiser eats that.)
<<lessThe aim of Sonic Visualiser is to be the program you reach for when you find a musical recording you want to study rather than simply hear.
As well as a number of features designed to make exploring audio data as revealing and fun as possible, Sonic Visualiser also has powerful annotation capabilities to help you to describe what you find, and the ability to run automated annotation and analysis plugins in the new Vamp analysis plugin format.
We hope Sonic Visualiser will be of particular interest to musicologists, archivists, signal-processing researchers and anyone else looking for a friendly way to take a look at what lies inside the audio file.
Main features:
- Load audio files in WAV, Ogg and MP3 formats, and view their waveforms.
- Look at audio visualisations such as spectrogram views, with interactive adjustment of display parameters.
- Annotate audio data by adding labelled time points and defining segments, point values and curves.
- Overlay annotations on top of one another with aligned scales, and overlay annotations on top of waveform or spectrogram views.
- View the same data at multiple time resolutions simultaneously (for close-up and overview).
- Run feature-extraction plugins to calculate annotations automatically, using algorithms such as beat trackers, pitch detectors and so on.
- Import annotation layers from various text file formats.
- Import note data from MIDI files, view it alongside other frequency scales, and play it with the original audio.
- Play back the audio plus synthesised annotations, taking care to synchronise playback with display.
- Select areas of interest, optionally snapping to nearby feature locations, and audition individual and comparative selections in seamless loops.
- Time-stretch playback, slowing it down to as little as 10% of the original speed while retaining a synchronised display.
- Export audio regions and annotation layers to external files.
The design goals for Sonic Visualiser are:
- To provide the best available core waveform and spectrogram audio visualisations for use with substantial files of music audio data.
- To facilitate ready comparisons between different kinds of data, for example by making it easy to overlay one set of data on another, or display the same data in more than one way at the same time.
- To be straightforward. The user interface should be simpler to learn and to explain than the internal data structures. In this respect, Sonic Visualiser aims to resemble a consumer audio application.
- To be responsive, slick, and enjoyable. Even if you have to wait for your results to be calculated, you should be able to do something else with the audio data while you wait. Sonic Visualiser is pervasively multithreaded, loves multiprocessor and multicore systems, and can make good use of fast processors with plenty of memory.
- To handle large data sets. The work Sonic Visualiser does is intrinsically processor-hungry and (often) memory-hungry, but the aim is to allow you to work with long audio files on machines with modest CPU and memory where reasonable. (Disk space is another matter. Sonic Visualiser eats that.)
Download (5.3MB)
Added: 2006-05-22 License: GPL (GNU General Public License) Price:
1251 downloads
BitRock InstallBuilder for Qt 4.5.2 (Pro)
BitRock InstallBuilder for Qt allows you to create easy-to-use installers for Unix, Windows and OS X. more>>
BitRock InstallBuilder for Qt allows you to create easy-to-use installers for Unix, Windows and OS X.
The generated installer for an application has a native look-and-feel and no external dependencies, and can be run in GUI, text, and unattended modes. In addition to self-contained installers, the installation tool is also able to generate standalone RPM packages.
This edition uses Qt as the default GUI toolkit. It offers free licenses for open source projects.
Enhancements:
- This release adds new actions to calculate md5 and specify the default user and group for installed files.
- It has improved error notification for external program execution.
- The ability to access standard Windows shell folder locations using installer variables has been added.
<<lessThe generated installer for an application has a native look-and-feel and no external dependencies, and can be run in GUI, text, and unattended modes. In addition to self-contained installers, the installation tool is also able to generate standalone RPM packages.
This edition uses Qt as the default GUI toolkit. It offers free licenses for open source projects.
Enhancements:
- This release adds new actions to calculate md5 and specify the default user and group for installed files.
- It has improved error notification for external program execution.
- The ability to access standard Windows shell folder locations using installer variables has been added.
Download (22.3MB)
Added: 2007-07-24 License: Free for non-commercial use Price:
832 downloads
Other version of BitRock InstallBuilder for Qt
License:Free for non-commercial use
Network Security Monitor Daemon 4.0
The Network Security Monitor Daemon is a lightweight network security monitor for TCP/IP LANs. more>>
The Network Security Monitor Daemon is a lightweight network security monitor for TCP/IP LANs. It will capture certain network events and record them in a relational database. The recorded data is available for analysis through a CGI-based interface.
You can run test version with ./Monitord, just to see how it works. Production version should be run in background, v.g. with nohup ./monitord &. Both versions will accept a device name as a parameter (default: eth0). You can send them SIGHUP at any time to print some stats. If you send SIGTERM, SIGQUIT or SIGINT, all threads will end gracefully.
Enhancements:
- Linux Kernel with "packet sockets" and "socket filtering" support.
- GNU C Library 2 (glibc2) with LinuxThreads support. (integrated in most recent versions).
- Full MySQL, including headers and libmysqlclient_r.
- GNU C Compiler (gcc).
- GNU Make (make).
- Perl (perl).
- Wget (wget).
Enhancements:
- Added chmod 4755 ... in Makefile
- Root should run make now, but not the daemon ;-)
- The daemon will drop root privileges as soon as possible
- (after creating the raw socket with an attached linux socket
- filter and putting the interface in promiscuous mode)
- No threads run with root privileges so its much safer
- (specially the new server thread which reads remote user input)
- Added stats thread
- To calculate/mantain exponential averages
- Added server thread
- It accepts HTTP requests and serves stats in XML
<<lessYou can run test version with ./Monitord, just to see how it works. Production version should be run in background, v.g. with nohup ./monitord &. Both versions will accept a device name as a parameter (default: eth0). You can send them SIGHUP at any time to print some stats. If you send SIGTERM, SIGQUIT or SIGINT, all threads will end gracefully.
Enhancements:
- Linux Kernel with "packet sockets" and "socket filtering" support.
- GNU C Library 2 (glibc2) with LinuxThreads support. (integrated in most recent versions).
- Full MySQL, including headers and libmysqlclient_r.
- GNU C Compiler (gcc).
- GNU Make (make).
- Perl (perl).
- Wget (wget).
Enhancements:
- Added chmod 4755 ... in Makefile
- Root should run make now, but not the daemon ;-)
- The daemon will drop root privileges as soon as possible
- (after creating the raw socket with an attached linux socket
- filter and putting the interface in promiscuous mode)
- No threads run with root privileges so its much safer
- (specially the new server thread which reads remote user input)
- Added stats thread
- To calculate/mantain exponential averages
- Added server thread
- It accepts HTTP requests and serves stats in XML
Download (0.033MB)
Added: 2006-07-12 License: GPL (GNU General Public License) Price:
1203 downloads
Score Rated 0.3
Score Rated is a rated scoring script that uses the rating as a factor in the scoring process. more>>
Score Rated is a rated scoring script which uses the rating as a factor in the scoring process. Higher ratings leds to higher score. The rating is factored in each play.
I make no promises but the script hasnt messed up my system yet.
Usage:
You must use ratings for this script to have any point. Run the script, and it will be used to calculate scores for your tracks from then on. The script can be tweek by editing the file.
Known flaws:
Script reads rating when the song starts playing. Changes made after that is not considered. To make sure a new rating is used you could stop and restart the script or pause and play the song.
I will be looking in this for a future version. Suggestions are welcome.
<<lessI make no promises but the script hasnt messed up my system yet.
Usage:
You must use ratings for this script to have any point. Run the script, and it will be used to calculate scores for your tracks from then on. The script can be tweek by editing the file.
Known flaws:
Script reads rating when the song starts playing. Changes made after that is not considered. To make sure a new rating is used you could stop and restart the script or pause and play the song.
I will be looking in this for a future version. Suggestions are welcome.
Download (0.030MB)
Added: 2007-03-05 License: GPL (GNU General Public License) Price:
966 downloads
JSmancala 1.1.0
JSmancala project is a Javascript/DHTML implementation of the strategy board game Mancala. more>>
JSmancala project is a Javascript/DHTML implementation of the strategy board game "Mancala". Runs in the browser with several challenging computer intelligence levels. Play human versus computer, human versus human or computer versus computer.
JSmancala is a Javascript/DHTML implementation of the board game "Mancala". Traditionally, Mancala is played with small stones on a wooden board with little cups scooped out.
Mancala is very easy to play. It is a two player game. The object is to collect as many of the stones as possible.
Each player controls one side of the board. On a traditional (real) board, the player controls the side closest to him. Each side of the board has six "cups" and one "jar". The "cups" are spaces along the length of the board and the "jar" is a larger space at the end of the board. When the game begins, each "cup" contains 4 stones and each "jar" is empty.
Play begins when one player selects a "cup" on his side of the board and removes all of the stones from it. The stones are then redistributed in the other "cups" on the players side, one stone at a time, moving toward the right. If any stones remain after the last "cup" has had a stone added to it, one stone is placed in the players "jar" and the redistribution continues on the opponents side of the board. Redistribution continues in a counterclockwise manner until all the stones have been placed. No stones are ever placed in the opponents jar when the player is making his move.
Once a stone is placed in a players "jar", it cannot be removed.
There are two twists. First, if the last stone being redistributed lands in the players "jar", the player gains an extra turn.
Second, if the last stone being redistributed lands in an empty "cup" on the players side of the board and the "cup" on the opposite side of the board is not empty, the stones in both "cups" are "captured". Captured stones are immediately removed from both "cups" and placed in the players "jar".
Play ends when there are no stones in any "cup" on one of the sides of the board, regardless of whose turn it is.
A players score is determined by totalling all of the stones in his "cups" and his "jar". The player with the highest score wins.
This version allows the user to play the computer, another human or watch the computer play itself. The computer players have five levels of "intelligence", rated from "foolish" to "wise". An "advice" button is also provided that the player may click at any time during his turn. It will use the "computer intelligence level" set for the player to calculate the best move. That move will be highlighted on the board.
<<lessJSmancala is a Javascript/DHTML implementation of the board game "Mancala". Traditionally, Mancala is played with small stones on a wooden board with little cups scooped out.
Mancala is very easy to play. It is a two player game. The object is to collect as many of the stones as possible.
Each player controls one side of the board. On a traditional (real) board, the player controls the side closest to him. Each side of the board has six "cups" and one "jar". The "cups" are spaces along the length of the board and the "jar" is a larger space at the end of the board. When the game begins, each "cup" contains 4 stones and each "jar" is empty.
Play begins when one player selects a "cup" on his side of the board and removes all of the stones from it. The stones are then redistributed in the other "cups" on the players side, one stone at a time, moving toward the right. If any stones remain after the last "cup" has had a stone added to it, one stone is placed in the players "jar" and the redistribution continues on the opponents side of the board. Redistribution continues in a counterclockwise manner until all the stones have been placed. No stones are ever placed in the opponents jar when the player is making his move.
Once a stone is placed in a players "jar", it cannot be removed.
There are two twists. First, if the last stone being redistributed lands in the players "jar", the player gains an extra turn.
Second, if the last stone being redistributed lands in an empty "cup" on the players side of the board and the "cup" on the opposite side of the board is not empty, the stones in both "cups" are "captured". Captured stones are immediately removed from both "cups" and placed in the players "jar".
Play ends when there are no stones in any "cup" on one of the sides of the board, regardless of whose turn it is.
A players score is determined by totalling all of the stones in his "cups" and his "jar". The player with the highest score wins.
This version allows the user to play the computer, another human or watch the computer play itself. The computer players have five levels of "intelligence", rated from "foolish" to "wise". An "advice" button is also provided that the player may click at any time during his turn. It will use the "computer intelligence level" set for the player to calculate the best move. That move will be highlighted on the board.
Download (MB)
Added: 2007-03-09 License: GPL (GNU General Public License) Price:
960 downloads
Scalar::Properties 0.12
Scalar::Properties is a Perl module package that contains run-time properties on scalar variables. more>>
Scalar::Properties is a Perl module package that contains run-time properties on scalar variables.
SYNOPSIS
use Scalar::Properties;
my $val = 0->true;
if ($val && $val == 0) {
print "yup, its true alright...n";
}
my @text = (
hello world->greeting(1),
forget it,
hi there->greeting(1),
);
print grep { $_->is_greeting } @text;
my $l = hello world->length;
Scalar::Properties attempts to make Perl more object-oriented by taking an idea from Ruby: Everything you manipulate is an object, and the results of those manipulations are objects themselves.
hello world->length
(-1234)->abs
"oh my god, its full of properties"->index(g)
The first example asks a string to calculate its length. The second example asks a number to calculate its absolute value. And the third example asks a string to find the index of the letter g.
Using this module you can have run-time properties on initialized scalar variables and literal values. The word properties is used in the Perl 6 sense: out-of-band data, little sticky notes that are attached to the value. While attributes (as in Perl 5s attribute pragma, and see the Attribute::* family of modules) are handled at compile-time, properties are handled at run-time.
Internally properties are implemented by making their values into objects with overloaded operators. The actual properties are then simply hash entries.
Most properties are simply notes you attach to the value, but some may have deeper meaning. For example, the true and false properties plays a role in boolean context, as the first example of the Synopsis shows.
Properties can also be propagated between values. For details, see the EXPORTS section below. Here is an example why this might be desirable:
pass_on(approximate);
my $pi = 3->approximate(1);
my $circ = 2 * $rad * $pi;
# now $circ->approximate indicates that this value was derived
# from approximate values
Please dont use properties whose name start with an underscore; these are reserved for internal use.
You can set and query properties like this:
$var->myprop(1)
sets the property to a true value.
$var->myprop(0)
sets the property to a false value. Note that this doesnt delete the property (to do so, use the del_props method described below).
$var->is_myprop, $var->has_myprop
returns a true value if the property is set (i.e., defined and has a true value). The two alternate interfaces are provided to make querying attributes sound more natural. For example:
$foo->is_approximate;
$bar->has_history;
<<lessSYNOPSIS
use Scalar::Properties;
my $val = 0->true;
if ($val && $val == 0) {
print "yup, its true alright...n";
}
my @text = (
hello world->greeting(1),
forget it,
hi there->greeting(1),
);
print grep { $_->is_greeting } @text;
my $l = hello world->length;
Scalar::Properties attempts to make Perl more object-oriented by taking an idea from Ruby: Everything you manipulate is an object, and the results of those manipulations are objects themselves.
hello world->length
(-1234)->abs
"oh my god, its full of properties"->index(g)
The first example asks a string to calculate its length. The second example asks a number to calculate its absolute value. And the third example asks a string to find the index of the letter g.
Using this module you can have run-time properties on initialized scalar variables and literal values. The word properties is used in the Perl 6 sense: out-of-band data, little sticky notes that are attached to the value. While attributes (as in Perl 5s attribute pragma, and see the Attribute::* family of modules) are handled at compile-time, properties are handled at run-time.
Internally properties are implemented by making their values into objects with overloaded operators. The actual properties are then simply hash entries.
Most properties are simply notes you attach to the value, but some may have deeper meaning. For example, the true and false properties plays a role in boolean context, as the first example of the Synopsis shows.
Properties can also be propagated between values. For details, see the EXPORTS section below. Here is an example why this might be desirable:
pass_on(approximate);
my $pi = 3->approximate(1);
my $circ = 2 * $rad * $pi;
# now $circ->approximate indicates that this value was derived
# from approximate values
Please dont use properties whose name start with an underscore; these are reserved for internal use.
You can set and query properties like this:
$var->myprop(1)
sets the property to a true value.
$var->myprop(0)
sets the property to a false value. Note that this doesnt delete the property (to do so, use the del_props method described below).
$var->is_myprop, $var->has_myprop
returns a true value if the property is set (i.e., defined and has a true value). The two alternate interfaces are provided to make querying attributes sound more natural. For example:
$foo->is_approximate;
$bar->has_history;
Download (0.010MB)
Added: 2007-05-21 License: Perl Artistic License Price:
886 downloads
Search::VectorSpace 0.02
Search::VectorSpace is a very basic vector-space search engine. more>>
Search::VectorSpace is a very basic vector-space search engine.
SYNOPSIS
use Search::VectorSpace;
my @docs = ...;
my $engine = Search::VectorSpace->new( docs => @docs, threshold => .04);
$engine->build_index();
while ( my $query = ) {
my %results = $engine->search( $query );
print join "n", keys %results;
}
This module takes a list of documents (in English) and builds a simple in-memory search engine using a vector space model. Documents are stored as PDL objects, and after the initial indexing phase, the search should be very fast. This implementation applies a rudimentary stop list to filter out very common words, and uses a cosine measure to calculate document similarity. All documents above a user-configurable similarity threshold are returned.
<<lessSYNOPSIS
use Search::VectorSpace;
my @docs = ...;
my $engine = Search::VectorSpace->new( docs => @docs, threshold => .04);
$engine->build_index();
while ( my $query = ) {
my %results = $engine->search( $query );
print join "n", keys %results;
}
This module takes a list of documents (in English) and builds a simple in-memory search engine using a vector space model. Documents are stored as PDL objects, and after the initial indexing phase, the search should be very fast. This implementation applies a rudimentary stop list to filter out very common words, and uses a cosine measure to calculate document similarity. All documents above a user-configurable similarity threshold are returned.
Download (0.004MB)
Added: 2007-04-06 License: Perl Artistic License Price:
933 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 to calculate 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