york lottery
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 18
metaf2xml 1.27
metaf2xml parses and decodes METAR and TAF messages and stores them as XML. more>>
metaf2xml project parses and decodes aviation routine weather reports (METAR, SPECI), aerodrome forecasts (TAF), and synoptic observations (SYNOP) and stores the components in XML (all done in Perl). There are also XSLT style sheets to convert the XML to plain language (text, HTML), or XML with different schemas, and a command line and a web-based (CGI) user interface.
All parts of the messages are parsed, some common format errors are corrected or tolerated.
METAR and SPECI (weather observation) and TAF (weather forecast) information is essential for flight planning and in-flight decisions (real flight and simulation). It is regularily compiled by meteorologists at about 3,500 airports worldwide and distributed via reliable, non-public networks. Information for SYNOP is collected by more than 11,000 manned and unmanned meteorological stations around the world and is used for weather forecasting and climatic statistics. The raw format is abbreviated, some items are coded. Here are some METAR, TAF, and SYNOP messages from Rio (SBGL, 83746), New York (KJFK, 74486), and Tokyo (RJTT, 47662):
SBGL 300600Z 33002KT 9999 SCT015 BKN070 14/11 Q1027
SBGL 300300Z 300606 33005KT 8000 SCT020 BECMG 0810 5000 BR SCT013 BECMG 1113 27005KT
8000 NSW SCT018 BECMG 1517 21010KT SCT020 BECMG 2123 17005KT BECMG 0002 00000KT SCT015 TN17/09Z TX22/16Z RMK PGY
KJFK 300551Z 00000KT 5SM HZ BKN030 BKN048 OVC130 23/20 A2996
AMD KJFK 300255Z 300324 VRB04KT 5SM BR SCT020 BKN060 TEMPO 0406 BKN020 FM0600 VRB03KT
3SM BR OVC009 FM1300 VRB05KT 6SM HZ SCT025 BKN100 FM1700 17008KT P6SM SCT040CB BKN100
RJTT 300630Z 08012KT 9999 -SHRA FEW010 BKN040 23/20 Q1008
RJTT 300552Z 300615 05014KT 9000 FEW010 SCT030 TEMPO 1215 3000 TSRA FEW008 SCT010 FEW015CB BKN020
RJTT 300249Z 301206 04015KT 7000 FEW008 SCT020 BKN030 TEMPO 1218 3000 TSRA BKN008
BKN020 SCT020CB TEMPO 1821 4000 BR BECMG 0306 14006KT
AAXX 30034 83746 41462 73404 10136 20115 40291 58005 71022 84530
AAXX 30064 74486 31558 80000 10228 20200 30134 40144 58003 705// 90551 333 10250 20222 555 93006
AAXX 30064 47662 11/70 70706 10231 20180 30043 40085 50000 60151 70298 8527/
The intended users are flight simmers, private pilot (students) who want to extend their knowledge about the message formats, and everyone who just wants to know what the weather is/will be at some station in plain language.
Enhancements:
- This release brings changes to the user interface and a few smaller improvements and bugfixes.
<<lessAll parts of the messages are parsed, some common format errors are corrected or tolerated.
METAR and SPECI (weather observation) and TAF (weather forecast) information is essential for flight planning and in-flight decisions (real flight and simulation). It is regularily compiled by meteorologists at about 3,500 airports worldwide and distributed via reliable, non-public networks. Information for SYNOP is collected by more than 11,000 manned and unmanned meteorological stations around the world and is used for weather forecasting and climatic statistics. The raw format is abbreviated, some items are coded. Here are some METAR, TAF, and SYNOP messages from Rio (SBGL, 83746), New York (KJFK, 74486), and Tokyo (RJTT, 47662):
SBGL 300600Z 33002KT 9999 SCT015 BKN070 14/11 Q1027
SBGL 300300Z 300606 33005KT 8000 SCT020 BECMG 0810 5000 BR SCT013 BECMG 1113 27005KT
8000 NSW SCT018 BECMG 1517 21010KT SCT020 BECMG 2123 17005KT BECMG 0002 00000KT SCT015 TN17/09Z TX22/16Z RMK PGY
KJFK 300551Z 00000KT 5SM HZ BKN030 BKN048 OVC130 23/20 A2996
AMD KJFK 300255Z 300324 VRB04KT 5SM BR SCT020 BKN060 TEMPO 0406 BKN020 FM0600 VRB03KT
3SM BR OVC009 FM1300 VRB05KT 6SM HZ SCT025 BKN100 FM1700 17008KT P6SM SCT040CB BKN100
RJTT 300630Z 08012KT 9999 -SHRA FEW010 BKN040 23/20 Q1008
RJTT 300552Z 300615 05014KT 9000 FEW010 SCT030 TEMPO 1215 3000 TSRA FEW008 SCT010 FEW015CB BKN020
RJTT 300249Z 301206 04015KT 7000 FEW008 SCT020 BKN030 TEMPO 1218 3000 TSRA BKN008
BKN020 SCT020CB TEMPO 1821 4000 BR BECMG 0306 14006KT
AAXX 30034 83746 41462 73404 10136 20115 40291 58005 71022 84530
AAXX 30064 74486 31558 80000 10228 20200 30134 40144 58003 705// 90551 333 10250 20222 555 93006
AAXX 30064 47662 11/70 70706 10231 20180 30043 40085 50000 60151 70298 8527/
The intended users are flight simmers, private pilot (students) who want to extend their knowledge about the message formats, and everyone who just wants to know what the weather is/will be at some station in plain language.
Enhancements:
- This release brings changes to the user interface and a few smaller improvements and bugfixes.
Download (0.13MB)
Added: 2007-08-22 License: GPL (GNU General Public License) Price:
794 downloads
WWW::Mechanize::Examples 1.30
WWW::Mechanize::Examples is a Perl module with sample programs that use WWW::Mechanize. more>>
SYNOPSIS
Plenty of people have learned WWW::Mechanize, and now, you can too!
Following are user-supplied samples of WWW::Mechanize in action.
You can also look at the t/*.t files in the distribution.
Please note that these examples are not intended to do any specific task. For all I know, theyre no longer functional because the sites they hit have changed. Theyre here to give examples of how people have used WWW::Mechanize.
Note that the examples are in reverse order of my having received them, so the freshest examples are always at the top.
Starbucks Density Calculator, by Nat Torkington
Heres a pair of scripts from Nat Torkington, editor for OReilly Media and co-author of the Perl Cookbook.
Rael [Dornfest] discovered that you can easily find out how many Starbucks there are in an area by searching for "Starbucks". So I wrote a silly scraper for some old census data and came up with some Starbucks density figures. Theres no meaning to these numbers thanks to errors from using old census data coupled with false positives in Yahoo search (e.g., "Dodie Starbuck-Your Style Desgn" in Portland OR). But it was fun to waste a night on.
Here are the top twenty cities in descending order of population, with the amount of territory each Starbucks has. E.g., A New York NY Starbucks covers 1.7 square miles of ground.
New York, NY 1.7
Los Angeles, CA 1.2
Chicago, IL 1.0
Houston, TX 4.6
Philadelphia, PA 6.8
San Diego, CA 2.7
Detroit, MI 19.9
Dallas, TX 2.7
Phoenix, AZ 4.1
San Antonio, TX 12.3
San Jose, CA 1.1
Baltimore, MD 3.9
Indianapolis, IN 12.1
San Francisco, CA 0.5
Jacksonville, FL 39.9
Columbus, OH 7.3
Milwaukee, WI 5.1
Memphis, TN 15.1
Washington, DC 1.4
Boston, MA 0.5
Download (0.10MB)
Added: 2007-07-20 License: Perl Artistic License Price:
828 downloads
JAL 2 2.3
JAL is a rewrite of Wouter van Ooijens famous Just Another Language. more>>
JAL project is a rewrite of Wouter van Ooijens famous Just Another Language.
JAL adds the following enhancements to the original:
More variable types:
- BIT - 1 bit
- BYTE - 8 bit, unsigned
- SBYTE - 8 bit, signed
- WORD - 16 bit, unsigned
- SWORD - 16 bit, signed
- DWORD - 32 bit, unsigned
- SDWORD - 32 bit, signed
- user defined : [S]BYTE*n, creates an n-BYTE signed or unsigned
- Allow an index in FOR loops (FOR expr USING var...)
- Built-in multiply and divide
- Variables automatically placed on any page
- CASE statement for flow control
- Co-operative multi-tasking
Enhancements:
- 12 bit support was added.
- It can generate .COD files for use with MPLAB or others.
- Files for MPLAB 5.x integration are included.
- Flexible arrays are now supported.
- Numerous bugs were fixed.
<<lessJAL adds the following enhancements to the original:
More variable types:
- BIT - 1 bit
- BYTE - 8 bit, unsigned
- SBYTE - 8 bit, signed
- WORD - 16 bit, unsigned
- SWORD - 16 bit, signed
- DWORD - 32 bit, unsigned
- SDWORD - 32 bit, signed
- user defined : [S]BYTE*n, creates an n-BYTE signed or unsigned
- Allow an index in FOR loops (FOR expr USING var...)
- Built-in multiply and divide
- Variables automatically placed on any page
- CASE statement for flow control
- Co-operative multi-tasking
Enhancements:
- 12 bit support was added.
- It can generate .COD files for use with MPLAB or others.
- Files for MPLAB 5.x integration are included.
- Flexible arrays are now supported.
- Numerous bugs were fixed.
Download (0.40MB)
Added: 2007-07-02 License: BSD License Price:
857 downloads
Statistics::Hartigan 0.01
Statistics::Hartigan is a Perl extension for the stopping rule proposed by Hartigan J. Hartigan, J. (1975). more>>
Statistics::Hartigan is a Perl extension for the stopping rule proposed by Hartigan J. Hartigan, J. (1975). Clustering Algorithms. John Wiley and Sons, New York, NY, US.
SYNOPSIS
use Statistics::Hartigan;
&hartigan(InputFile, "agglo", 6, 10);
Input file is expected in the "dense" format -
Sample Input file:
6 5
1 1 0 0 1
1 0 0 0 0
1 1 0 0 1
1 1 0 0 1
1 0 0 0 1
1 1 0 0 1
Hartigan J. uses the Within Cluster/Group Sum of Squares (WGSS) to estimate the number of clusters a given data naturally falls into. The is goal is to minimize WG.
<<lessSYNOPSIS
use Statistics::Hartigan;
&hartigan(InputFile, "agglo", 6, 10);
Input file is expected in the "dense" format -
Sample Input file:
6 5
1 1 0 0 1
1 0 0 0 0
1 1 0 0 1
1 1 0 0 1
1 0 0 0 1
1 1 0 0 1
Hartigan J. uses the Within Cluster/Group Sum of Squares (WGSS) to estimate the number of clusters a given data naturally falls into. The is goal is to minimize WG.
Download (0.006MB)
Added: 2007-05-23 License: Perl Artistic License Price:
884 downloads
GraphViz 2.02
GraphViz is a Perl interface to the GraphViz graphing tool. more>>
GraphViz is a Perl interface to the GraphViz graphing tool.
SYNOPSIS
use GraphViz;
my $g = GraphViz->new();
$g->add_node(London);
$g->add_node(Paris, label => City ofnlurve);
$g->add_node(New York);
$g->add_edge(London => Paris);
$g->add_edge(London => New York, label => Far);
$g->add_edge(Paris => London);
print $g->as_png;
This module provides an interface to layout and image generation of directed and undirected graphs in a variety of formats (PostScript, PNG, etc.) using the "dot", "neato", "twopi", "circo" and "fdp" programs from the GraphViz project (http://www.graphviz.org/ or http://www.research.att.com/sw/tools/graphviz/).
What is a graph?
A (undirected) graph is a collection of nodes linked together with edges.
A directed graph is the same as a graph, but the edges have a direction.
What is GraphViz?
This module is an interface to the GraphViz toolset (http://www.graphviz.org/). The GraphViz tools provide automatic graph layout and drawing. This module simplifies the creation of graphs and hides some of the complexity of the GraphViz module.
Laying out graphs in an aesthetically-pleasing way is a hard problem - there may be multiple ways to lay out the same graph, each with their own quirks. GraphViz luckily takes part of this hard problem and does a pretty good job in a couple of seconds for most graphs.
Why should I use this module?
Observation aids comprehension. That is a fancy way of expressing that popular faux-Chinese proverb: "a picture is worth a thousand words".
Text is not always the best way to represent anything and everything to do with a computer programs. Pictures and images are easier to assimilate than text. The ability to show a particular thing graphically can aid a great deal in comprehending what that thing really represents.
Diagrams are computationally efficient, because information can be indexed by location; they group related information in the same area. They also allow relations to be expressed between elements without labeling the elements.
A friend of mine used this to his advantage when trying to remember important dates in computer history. Instead of sitting down and trying to remember everything, he printed over a hundred posters (each with a date and event) and plastered these throughout his house. His spatial memory is still so good that asked last week (more than a year since the experiment) when Lisp was invented, he replied that it was upstairs, around the corner from the toilet, so must have been around 1958.
Spreadsheets are also a wonderfully simple graphical representation of computational models.
<<lessSYNOPSIS
use GraphViz;
my $g = GraphViz->new();
$g->add_node(London);
$g->add_node(Paris, label => City ofnlurve);
$g->add_node(New York);
$g->add_edge(London => Paris);
$g->add_edge(London => New York, label => Far);
$g->add_edge(Paris => London);
print $g->as_png;
This module provides an interface to layout and image generation of directed and undirected graphs in a variety of formats (PostScript, PNG, etc.) using the "dot", "neato", "twopi", "circo" and "fdp" programs from the GraphViz project (http://www.graphviz.org/ or http://www.research.att.com/sw/tools/graphviz/).
What is a graph?
A (undirected) graph is a collection of nodes linked together with edges.
A directed graph is the same as a graph, but the edges have a direction.
What is GraphViz?
This module is an interface to the GraphViz toolset (http://www.graphviz.org/). The GraphViz tools provide automatic graph layout and drawing. This module simplifies the creation of graphs and hides some of the complexity of the GraphViz module.
Laying out graphs in an aesthetically-pleasing way is a hard problem - there may be multiple ways to lay out the same graph, each with their own quirks. GraphViz luckily takes part of this hard problem and does a pretty good job in a couple of seconds for most graphs.
Why should I use this module?
Observation aids comprehension. That is a fancy way of expressing that popular faux-Chinese proverb: "a picture is worth a thousand words".
Text is not always the best way to represent anything and everything to do with a computer programs. Pictures and images are easier to assimilate than text. The ability to show a particular thing graphically can aid a great deal in comprehending what that thing really represents.
Diagrams are computationally efficient, because information can be indexed by location; they group related information in the same area. They also allow relations to be expressed between elements without labeling the elements.
A friend of mine used this to his advantage when trying to remember important dates in computer history. Instead of sitting down and trying to remember everything, he printed over a hundred posters (each with a date and event) and plastered these throughout his house. His spatial memory is still so good that asked last week (more than a year since the experiment) when Lisp was invented, he replied that it was upstairs, around the corner from the toilet, so must have been around 1958.
Spreadsheets are also a wonderfully simple graphical representation of computational models.
Download (0.082MB)
Added: 2007-05-15 License: Perl Artistic License Price:
908 downloads
Open Tax Solver 4.07
OpenTaxSolver (OTS) project is a free program for calculating Tax Form entries. more>>
OpenTaxSolver (OTS) project is a free program for calculating Tax Form entries and tax-owed or refund-due, such as Federal or State personal income taxes.
An optional graphical front-end, OTS_GUI, has been added. Currently, TaxSolver has been updated for the 2005 tax-year for the following forms: US 1040 and Schedules A, B, C, & D.
As well as for California, Massachusetts, New Jersey, and Pennsylvania State Taxes for 2005 tax-year, thanks to contributors. Updates for the following additional states are expected to be posted soon: North Carolina, New York, Ohio, and Virginia. Preliminary versions for Canada and the United Kingdom were posted in previous years and may be updated with help from volunteers.
Motivations:
- To make tax preparation software available for all platforms.
- To provide insight into how our taxes are calculated in clear unambiguous equations/code.
- To avoid invasive, bloated commercial software packages.
- To avoid rewriting our own individual programs each year by combining efforts.
- To provide a simple reliable tax-package requiring only rudimentary knowledge to maintain.
Enhancements:
- Automatic phone credit was added to US1040.
- It will automatically calculate standard one-time phone credit, if not otherwise specified on US1040 line 71.
- The NJ State form F line 5 was fixed.
<<lessAn optional graphical front-end, OTS_GUI, has been added. Currently, TaxSolver has been updated for the 2005 tax-year for the following forms: US 1040 and Schedules A, B, C, & D.
As well as for California, Massachusetts, New Jersey, and Pennsylvania State Taxes for 2005 tax-year, thanks to contributors. Updates for the following additional states are expected to be posted soon: North Carolina, New York, Ohio, and Virginia. Preliminary versions for Canada and the United Kingdom were posted in previous years and may be updated with help from volunteers.
Motivations:
- To make tax preparation software available for all platforms.
- To provide insight into how our taxes are calculated in clear unambiguous equations/code.
- To avoid invasive, bloated commercial software packages.
- To avoid rewriting our own individual programs each year by combining efforts.
- To provide a simple reliable tax-package requiring only rudimentary knowledge to maintain.
Enhancements:
- Automatic phone credit was added to US1040.
- It will automatically calculate standard one-time phone credit, if not otherwise specified on US1040 line 71.
- The NJ State form F line 5 was fixed.
Download (0.36MB)
Added: 2007-03-15 License: GPL (GNU General Public License) Price:
953 downloads
System.FilePath 0.11
System.FilePath is a Haskell library from Yhc originally, now with added tweaks. more>>
System.FilePath is a Haskell library from Yhc originally, now with added tweaks. Pure Haskell 98 (with Hierarchical libraries), no preprocessor. It has a nice interface for doing file manipulations, and works portably between Windows and Unix. [Not the same as http://darcs.haskell.org/~lemmih/FilePath/]
The interface is still changing, for that reason please use System.FilePath.Version_0_10 or System.FilePath.Version_0_11 which will be guaranteed to work unmodified in future releases.
I have written a System.FilePath module in part based on the one in
Yhc, and in part based on the one in Cabal (thanks to Lemmih). The aim
is to try and get this module into the base package, as FilePaths are
something many programs use, but its all too easy to hack up a little
function that gets it right most of the time on most platforms, and
there lies a source of bugs.
This module is Posix (Linux) and Windows capable - just import
System.FilePath and it will pick the right one. Of course, if you
demand Windows paths on all OSs, then System.FilePath.Windows will
give you that (same with Posix). Written in Haskell 98 + Heirarchical
Modules.
Haddock:
http://www-users.cs.york.ac.uk/~ndm/projects/filepath/System-FilePath.html
Darcs: darcs get http://www.cs.york.ac.uk/fp/darcs/filepath
Source: http://www.cs.york.ac.uk/fp/darcs/filepath/System/FilePath.hs
Homepage: http://www-users.cs.york.ac.uk/~ndm/projects/libraries.php
If you go to the haddock page there are a few little examples at the
top of the file.
Acknowledgements
Thanks to Marc Webber, shapr, David House, Lemmih, others...
Competitors
System.FilePath from Cabal, by Lemmih
FilePath.hs and NameManip.hs from MissingH
The one from Cabal and FilePath.hs in MissingH are both very similar, I
stole lots of good ideas from those two.
NameManip seems to be more unix specific, but all functions in that module
have equivalents in this new System.FilePath module.
Hopefully this new module can be used without noticing any lost functions,
and certainly adds new features/functions to the table.
Should FilePath by an abstract data type?
The answer for this library is no. This is a deliberate design decision.
In Haskell 98 the definition is type FilePath = String, and all functions
operating on FilePaths, i.e. readFile/writeFile etc take FilePaths. The
only way to introduce an abstract type is to provide wrappers for these
functions or casts between Strings and FilePathAbstracts.
There are also additional questions as to what constitutes a FilePath, and
what is just a pure String. For example, "/path/file.ext" is a FilePath. Is
"/" ? "/path" ? "path" ? "file.ext" ? ".ext" ? "file" ?
With that being accepted, it should be trivial to write
System.FilePath.ByteString which has the same interface as System.FilePath
yet operates on ByteStrings.
<<lessThe interface is still changing, for that reason please use System.FilePath.Version_0_10 or System.FilePath.Version_0_11 which will be guaranteed to work unmodified in future releases.
I have written a System.FilePath module in part based on the one in
Yhc, and in part based on the one in Cabal (thanks to Lemmih). The aim
is to try and get this module into the base package, as FilePaths are
something many programs use, but its all too easy to hack up a little
function that gets it right most of the time on most platforms, and
there lies a source of bugs.
This module is Posix (Linux) and Windows capable - just import
System.FilePath and it will pick the right one. Of course, if you
demand Windows paths on all OSs, then System.FilePath.Windows will
give you that (same with Posix). Written in Haskell 98 + Heirarchical
Modules.
Haddock:
http://www-users.cs.york.ac.uk/~ndm/projects/filepath/System-FilePath.html
Darcs: darcs get http://www.cs.york.ac.uk/fp/darcs/filepath
Source: http://www.cs.york.ac.uk/fp/darcs/filepath/System/FilePath.hs
Homepage: http://www-users.cs.york.ac.uk/~ndm/projects/libraries.php
If you go to the haddock page there are a few little examples at the
top of the file.
Acknowledgements
Thanks to Marc Webber, shapr, David House, Lemmih, others...
Competitors
System.FilePath from Cabal, by Lemmih
FilePath.hs and NameManip.hs from MissingH
The one from Cabal and FilePath.hs in MissingH are both very similar, I
stole lots of good ideas from those two.
NameManip seems to be more unix specific, but all functions in that module
have equivalents in this new System.FilePath module.
Hopefully this new module can be used without noticing any lost functions,
and certainly adds new features/functions to the table.
Should FilePath by an abstract data type?
The answer for this library is no. This is a deliberate design decision.
In Haskell 98 the definition is type FilePath = String, and all functions
operating on FilePaths, i.e. readFile/writeFile etc take FilePaths. The
only way to introduce an abstract type is to provide wrappers for these
functions or casts between Strings and FilePathAbstracts.
There are also additional questions as to what constitutes a FilePath, and
what is just a pure String. For example, "/path/file.ext" is a FilePath. Is
"/" ? "/path" ? "path" ? "file.ext" ? ".ext" ? "file" ?
With that being accepted, it should be trivial to write
System.FilePath.ByteString which has the same interface as System.FilePath
yet operates on ByteStrings.
Download (0.014MB)
Added: 2007-03-09 License: GPL (GNU General Public License) Price:
959 downloads
Geography::States 2.1
Geography::States is a Perl module with map states and provinces to their codes, and vice versa. more>>
Geography::States is a Perl module with map states and provinces to their codes, and vice versa.
SYNOPSIS
use Geography::States;
my $obj = Geography::States -> new (COUNTRY [, STRICT]);
EXAMPLES
my $canada = Geography::States -> new (Canada);
my $name = $canada -> state (NF); # Newfoundland.
my $code = $canada -> state (Ontario); # ON.
my ($code, $name) = $canada -> state (BC); # BC, British Columbia.
my @all_states = $canada -> state; # List code/name pairs.
This module lets you map states and provinces to their codes, and codes to names of provinces and states.
The Geography::States - new ()> call takes 1 or 2 arguments. The first, required, argument is the country we are interested in. Current supported countries are USA, Brazil, Canada, The Netherlands, and Australia. If a second non-false argument is given, we use strict mode. In non-strict mode, we will map territories and alternative codes as well, while we do not do that in strict mode. For example, if the country is USA, in non-strict mode, we will map GU to Guam, while in strict mode, neither GU and Guam will be found.
The state() method
All queries are done by calling the state method in the object. This method takes an optional argument. If an argument is given, then in scalar context, it will return the name of the state if a code of a state is given, and the code of a state, if the argument of the method is a name of a state. In list context, both the code and the state will be returned.
If no argument is given, then the state method in list context will return a list of all code/name pairs for that country. In scalar context, it will return the number of code/name pairs. Each code/name pair is a 2 element anonymous array.
Arguments can be given in a case insensitive way; if a name consists of multiple parts, the number of spaces does not matter, as long as there is some whitespace. (That is "NewYork" is wrong, but "new YORK" is fine.)
<<lessSYNOPSIS
use Geography::States;
my $obj = Geography::States -> new (COUNTRY [, STRICT]);
EXAMPLES
my $canada = Geography::States -> new (Canada);
my $name = $canada -> state (NF); # Newfoundland.
my $code = $canada -> state (Ontario); # ON.
my ($code, $name) = $canada -> state (BC); # BC, British Columbia.
my @all_states = $canada -> state; # List code/name pairs.
This module lets you map states and provinces to their codes, and codes to names of provinces and states.
The Geography::States - new ()> call takes 1 or 2 arguments. The first, required, argument is the country we are interested in. Current supported countries are USA, Brazil, Canada, The Netherlands, and Australia. If a second non-false argument is given, we use strict mode. In non-strict mode, we will map territories and alternative codes as well, while we do not do that in strict mode. For example, if the country is USA, in non-strict mode, we will map GU to Guam, while in strict mode, neither GU and Guam will be found.
The state() method
All queries are done by calling the state method in the object. This method takes an optional argument. If an argument is given, then in scalar context, it will return the name of the state if a code of a state is given, and the code of a state, if the argument of the method is a name of a state. In list context, both the code and the state will be returned.
If no argument is given, then the state method in list context will return a list of all code/name pairs for that country. In scalar context, it will return the number of code/name pairs. Each code/name pair is a 2 element anonymous array.
Arguments can be given in a case insensitive way; if a name consists of multiple parts, the number of spaces does not matter, as long as there is some whitespace. (That is "NewYork" is wrong, but "new YORK" is fine.)
Download (0.006MB)
Added: 2007-02-14 License: Perl Artistic License Price:
982 downloads
libxnm 0.1.1
libxnm project is a library for parsing and retrieving data from the XNM file format. more>>
libxnm project is a library for parsing and retrieving data from the XNM file format.
The prevailing meta-format used today for serialization is XML. XML was originally written as a markup language, and as such its original intent was to add additional information to free flowing text.
This is indeed what is needed in the context of text markup, e.g. for a web page or a word processor program. But using XML for general purpose object serialization generates very verbose serialization that are way larger than necessary.
Another shortcoming of XML is that there still is no support for binary objects. This again is partly based in its markup roots.
Main features:
- Recursively defined.
- Map to the scalar/table/hash structures of perl/python/ruby
- Not limited by preexisting language formats (JSON).
- Short, consise, visually appealing. Low signal to noise.
- No need to quote keys or one word values.
- Support binary data.
- Tables are enclosed by { } , arrays by [ ].
Examples of XNM
The following example shows a simple program configuration file:
fontsize: 16
fonts: { roman: Sans
italic: "Sans Italic"
bold: "Sans bold"
}
path: ["/usr/bin" "/bin" "/usr/local/bin"]
Here is another example copied from the wikipedia json page:
firstName: John
lastName: Smith
address: {
city: "New York, NY"
zipCode: 10021
streetAddress: "21 2nd Street"
}
phoneNumbers: [
"212 732-1234"
"646 123-4567"
]
The main (only) differences to JSON are:
Single words dont need quotes
Commas are not used between key/value pairs
Here is a third example translated from the gaim prefs file:
core => {
away => {
idle_reporting=>system
away_when_idle=>0
mins_before_way=>10
auto_reply=>awayidle
report_idle=>1
}
buddies => {}
contact => {
last_match => 0
offline_score => 2
away_score => 2
idle_score => 1
}
gaim => {
gtk=> {
browsers=> {
place=>F
command=>"xterm -e lynx %s"
browser=>firefox
new_window=>F
}
plugins => [
/usr/lib/gaim/gaimrc.so
/usr/lib/gaim/ssl-nss.so
/usr/lib/gaim/ssl.so
]
}
}
}
Note that the separater character used between keys and values is => combination like in perl.
<<lessThe prevailing meta-format used today for serialization is XML. XML was originally written as a markup language, and as such its original intent was to add additional information to free flowing text.
This is indeed what is needed in the context of text markup, e.g. for a web page or a word processor program. But using XML for general purpose object serialization generates very verbose serialization that are way larger than necessary.
Another shortcoming of XML is that there still is no support for binary objects. This again is partly based in its markup roots.
Main features:
- Recursively defined.
- Map to the scalar/table/hash structures of perl/python/ruby
- Not limited by preexisting language formats (JSON).
- Short, consise, visually appealing. Low signal to noise.
- No need to quote keys or one word values.
- Support binary data.
- Tables are enclosed by { } , arrays by [ ].
Examples of XNM
The following example shows a simple program configuration file:
fontsize: 16
fonts: { roman: Sans
italic: "Sans Italic"
bold: "Sans bold"
}
path: ["/usr/bin" "/bin" "/usr/local/bin"]
Here is another example copied from the wikipedia json page:
firstName: John
lastName: Smith
address: {
city: "New York, NY"
zipCode: 10021
streetAddress: "21 2nd Street"
}
phoneNumbers: [
"212 732-1234"
"646 123-4567"
]
The main (only) differences to JSON are:
Single words dont need quotes
Commas are not used between key/value pairs
Here is a third example translated from the gaim prefs file:
core => {
away => {
idle_reporting=>system
away_when_idle=>0
mins_before_way=>10
auto_reply=>awayidle
report_idle=>1
}
buddies => {}
contact => {
last_match => 0
offline_score => 2
away_score => 2
idle_score => 1
}
gaim => {
gtk=> {
browsers=> {
place=>F
command=>"xterm -e lynx %s"
browser=>firefox
new_window=>F
}
plugins => [
/usr/lib/gaim/gaimrc.so
/usr/lib/gaim/ssl-nss.so
/usr/lib/gaim/ssl.so
]
}
}
}
Note that the separater character used between keys and values is => combination like in perl.
Download (0.37MB)
Added: 2007-01-17 License: LGPL (GNU Lesser General Public License) Price:
1011 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
xword 0.07
xword is a GTK AcrossLite crossword puzzle application. more>>
xword project is a GTK AcrossLite crossword puzzle application.
xword is a crossword puzzle application that allows users to open and solve AcrossLite puzzle format files (such as The New York Times and The Washington Post).
<<lessxword is a crossword puzzle application that allows users to open and solve AcrossLite puzzle format files (such as The New York Times and The Washington Post).
Download (0.12MB)
Added: 2006-12-20 License: GPL (GNU General Public License) Price:
611 downloads
OpenEXR 1.4.0a
OpenEXR project is a high dynamic-range (HDR) image file format for use in computer imaging applications. more>>
OpenEXR project is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
OpenEXR is used by ILM on all motion pictures currently in production. The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become ILMs main image file format.
Main features:
- Higher dynamic range and color precision than existing 8- and 10-bit image file formats.
- Support for 16-bit floating-point, 32-bit floating-point, and 32-bit integer pixels. The 16-bit floating-point format, called "half", is compatible with the half data type in NVIDIAs Cg graphics language and is supported natively on their new GeForce FX and Quadro FX 3D graphics solutions.
- Multiple lossless image compression algorithms. Some of the included codecs can achieve 2:1 lossless compression ratios on images with film grain.
- Extensibility. New compression codecs and image types can easily be added by extending the C++ classes included in the OpenEXR software distribution. New image attributes (strings, vectors, integers, etc.) can be added to OpenEXR image headers without affecting backward compatibility with existing OpenEXR applications.
Enhancements:
- This release added support for multithreaded reading and writing of files, Intel-based Mac OS X, and Visual Studio 2005.
- Building against OpenEXR headers was cleaned up.
- Handling of incomplete or damaged files was improved. IRIX, OSF/1, SunOS, Mac OS X prior to 10.3, and GCC prior to 3.3 were deprecated.
- New features were added to the documentation, and many bugs in the code, build system, and documentation were fixed.
<<lessOpenEXR is used by ILM on all motion pictures currently in production. The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become ILMs main image file format.
Main features:
- Higher dynamic range and color precision than existing 8- and 10-bit image file formats.
- Support for 16-bit floating-point, 32-bit floating-point, and 32-bit integer pixels. The 16-bit floating-point format, called "half", is compatible with the half data type in NVIDIAs Cg graphics language and is supported natively on their new GeForce FX and Quadro FX 3D graphics solutions.
- Multiple lossless image compression algorithms. Some of the included codecs can achieve 2:1 lossless compression ratios on images with film grain.
- Extensibility. New compression codecs and image types can easily be added by extending the C++ classes included in the OpenEXR software distribution. New image attributes (strings, vectors, integers, etc.) can be added to OpenEXR image headers without affecting backward compatibility with existing OpenEXR applications.
Enhancements:
- This release added support for multithreaded reading and writing of files, Intel-based Mac OS X, and Visual Studio 2005.
- Building against OpenEXR headers was cleaned up.
- Handling of incomplete or damaged files was improved. IRIX, OSF/1, SunOS, Mac OS X prior to 10.3, and GCC prior to 3.3 were deprecated.
- New features were added to the documentation, and many bugs in the code, build system, and documentation were fixed.
Download (9.2MB)
Added: 2006-10-27 License: BSD License Price:
1097 downloads
PHPlottery 0.1a
PHPlottery is a script for running a simple lottery without requiring users to register. more>>
PHPlottery project is a script for running a simple lottery without requiring users to register. This is simply done by creating a key-pair.
This pair is then known by the user and by the application for later use. To prevent simple abuse, the script can use IP-store/block and cookies. When the lottery should decide the winner, a key-pair will selected out of the database.
The public key of this pair will be sent out to everybody who is supposed to know the result of the lottery. Winners have to submit the correct private key to prove their identity.
<<lessThis pair is then known by the user and by the application for later use. To prevent simple abuse, the script can use IP-store/block and cookies. When the lottery should decide the winner, a key-pair will selected out of the database.
The public key of this pair will be sent out to everybody who is supposed to know the result of the lottery. Winners have to submit the correct private key to prove their identity.
Download (0.013MB)
Added: 2006-10-13 License: GPL (GNU General Public License) Price:
1108 downloads
PBS::GraphViz 0.35
GraphViz is a Perl interface to the GraphViz graphing tool. more>>
GraphViz is a Perl interface to the GraphViz graphing tool.
SYNOPSIS
use GraphViz;
my $g = GraphViz->new();
$g->add_node(London);
$g->add_node(Paris, label => City ofnlurve);
$g->add_node(New York);
$g->add_edge(London => Paris);
$g->add_edge(London => New York, label => Far);
$g->add_edge(Paris => London);
print $g->as_png;
This module provides an interface to layout and image generation of directed and undirected graphs in a variety of formats (PostScript, PNG, etc.) using the "dot", "neato", "twopi", "circo" and "fdp" programs from the GraphViz project (http://www.graphviz.org/ or http://www.research.att.com/sw/tools/graphviz/).
<<lessSYNOPSIS
use GraphViz;
my $g = GraphViz->new();
$g->add_node(London);
$g->add_node(Paris, label => City ofnlurve);
$g->add_node(New York);
$g->add_edge(London => Paris);
$g->add_edge(London => New York, label => Far);
$g->add_edge(Paris => London);
print $g->as_png;
This module provides an interface to layout and image generation of directed and undirected graphs in a variety of formats (PostScript, PNG, etc.) using the "dot", "neato", "twopi", "circo" and "fdp" programs from the GraphViz project (http://www.graphviz.org/ or http://www.research.att.com/sw/tools/graphviz/).
Download (0.33MB)
Added: 2006-08-25 License: Perl Artistic License Price:
1155 downloads
X-word 1.0
X-word is a GTK program for doing crosswords. more>>
X-word is a GTK program for doing crosswords.
Xword is a GTK crossword puzzle program. It reads and writes puzzles in the AcrossLite format used by The New York Times.
It has printing, a clock, a word list, auto-saving, and options to check and reveal letters of the puzzle.
<<lessXword is a GTK crossword puzzle program. It reads and writes puzzles in the AcrossLite format used by The New York Times.
It has printing, a clock, a word list, auto-saving, and options to check and reveal letters of the puzzle.
Download (0.018MB)
Added: 2006-07-24 License: BSD License Price:
1191 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 2
- 1
- 2
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above york lottery 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