np
np 0.4-pre1
np is a terminal based NMEA parser written in Perl. more>>
np provides quick and flexible access to GPS data from various sources. Currently data can be read from devices, text files, STDIN or GPSD (raw mode).
The list of supported sentences includes $GPRMC, $GPGGA, $GPGSA, $GPGSV and Garmins proprietary $PGRME.
By employing user-definable stylesheets, the parser output can be adapted to numerous application scenarios.
np has been successfully tested on various flavours of Unix, as well as on Win32 Systems. However, since Microsoft does not support POSIX device files, data can only be read from text files, gpsd or STDIN on Win32 systems.
Enhancements:
- This release supports a significantly enhanced range of GPS receivers.
- The HTML interface was partly rewritten.
- New command line options for improved flexibility in the handling of NMEA data have been added to the parser.
NP Syndication 0.9.1
NP Syndication is a Wordpress plugin that shows syndication links on your weblog. more>>
Current version allow you to choose between five themes, and allows you to show links in sidebar or at the bottom of the page.
NP PPC Tracker 1.0
NPTracker is script to track keywords, clicks, codes and test performance of different types of advertising. Discover which keywords, search terms and referral sites actually make you money and which more>>
Free NP [KISS] Tracker Genially Simple Ad Performance Tracking
NPTracker is script to track keywords, clicks, codes and test performance of different types of advertising.
Discover which keywords, search terms and referral sites actually make you money and which ones part you with it. Simple and powerful.
NPTracker is a simple but powerful script to:
+ dynamically track performance of your PPC campaigns on a keyword level
+ reveal which keywords are profitable and which are not
+ discover what search keywords people are using when clicking on your ads
+ see exact referral sites people are coming from
+ capture traffic statistics in real-time, including IPs, browser and OS info
everything with a genuinely simple free NPTracker script.
More details about Free NP Tracker are available at http://NeoPerformancer.com/nptracker/
Requirements: PHP 4.3
<<lessNet-Policy 2.2
The Net-Policy project allows system administrators to configure and manage their entire network at once. more>>
Net-policy contains the following components:
net-policy:
This is the core network manager. It is a generic SNMP-based manager and is capable of managing any information configurable via SNMP. It is currently web based with a few more interfaces (Tk, CLI, ...) planned or partially implemented. Its SNMP engine is based on the OpenSNMP and Net-SNMP toolkits. It runs on top of a PostgreSQL database.
After checking out the SVN source code or downloading the tar ball for the net-policy project, run ./np-install as root to help guide you through a complete installation using our graphical installer.
Configurable optional pieces
The net-policy manager is capable of managing the following modules. The management system above is already capable of managing
np-cerberus: A IPsec implementation for linux based on the 2.4 kernel. This code is derived from NISTs IPsec reference project. We ported the code to the 2.4 kernel and added some IPtables specific pieces and re-released it here (with their permission).
np-plutoplus: A IKE implementation which runs on top of np-cerberus. This is code is derived from NISTs IKE reference project. It has been instrumented with SNMP support using the Net-SNMP toolkit.
AmaroK now playing 0.1
AmaroK now playing is a script that displays the song you are currently playing with amaroK. more>>
Add it to, /usr/share/apps/konversation/scripts
Then add it to command aliases
Konversation > settings > command aliases
For example: alias: np ;replacement: /exec np
PHPXref 0.7
PHPXref is a developer tool thats designed to ease the process of working on large PHP projects. more>>
PHPXref project works by scanning a project directory and translating the files it finds into readable cross-referenced HTML, simultaneously utilizing comments in the code to produce documentation to accompany it.
The result is a collection of plain HTML files that can be read using any browser, with no supporting software required.
PHPXref has very minimal requirements to run; just having a copy of Perl installed is all you need (and the Windows binary supplies that for you). Getting started requires editing two or three lines in the configuration file and running the program.
Main features:
- Minimal requirements, minimal setup.
- No web server required to view output.
- Cross-references PHP classes, functions, variables, constants and require/include usage.
- Extracts phpdoc style documentation from source files.
Javascript enhanced output provides:
- Mouse-over information for classes and functions in the source view.
- Hot-jump to the source of any class/function definition.
- Instant lookup of classes, functions, constants and tables by name.
- Search/lookup history.
- Pretty-prints PHP files from the browser.
- Stays crunchy in milk.
Enhancements:
- Parse static and final methods correctly
- Add support for PHP Interfaces
- Ignore functions defined in HTML comments ()
- Compress plain text view of source files if COMPRESS=1 in the cfg file
- Added new config option LINK_URI - Turning this on links email addresses and URLs used in documentation @tags
- Added new config option EXPLORE_SOURCE - Setting this to 1 makes links in the file explorer open the php source, rather than the summary page
- Added support for changing the content-type used on pages to support other character sets - Thanks to uno@venus.dti.np.jp - Configured using the CHARSET config parameter
- Fix javascript bug causing rollover links to function, class and constant directions to link to an invalid url
- Added a project stats page that contains the same information printed at the end of a phpxref run (_stats.html) - Linked from the project summary pages
mpg123-mysql 0.7
mpg123-mysql consists of some patches to mpg123 which make it support MySQL. more>>
In addition to that, mpg123-mysql offers the following facilities:
mpg123-mysql uses setproctitle(3) to show ps(1) which title it is playing at the moment. You can use this feature with the included "np" script. Unfortunately, this works on FreeBSD only at the moment.
by sending a SIGTSTP signal to mpg123-mysql, it stops playing and closes the audio device so that another process can open it temporarily. You can try this out with "killall -TSTP mpg123", for example.
Main features:
- rating support:
- When a file is played completely, it gets some (e.g. 2) points. When playing is interrupted by sending the usual "INT" signal to mpg123, the song gets less points. After a while, you can build your own "Top 10" or sort out those files you dont want
- to have any longer. Additionally, mpg123-mysql is able to skip titles with a bad (negative) rating
-
- playlist support:
- You can tell mpg123 to use your database as the source for your playlist. This also works in shuffle (-z) mode.
Qalculate! Units 0.9.4
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. more>>
Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface (KDE or GTK+).
Main features:
- Redesigned GUI with history view in the main window
- Display of as-you-type expression parsing and function hints
- Enhanced completion
- Scaling of result display to vertically fit the window
- Nicer history listing
- Enhanced result display with much nicer parentheses
- Meta modes
- 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
- Binary prefixes
- Some new variables and functions
- Fixed help display in new yelp
- Fixed compile with cln-1.1.10
- Fixed regressions in simplification
- Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
- ...and many more bug fixes and enhancements...
Qalculate! Currency 0.9.4
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. more>>
Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface (KDE or GTK+).
Main features:
- Redesigned GUI with history view in the main window
- Display of as-you-type expression parsing and function hints
- Enhanced completion
- Scaling of result display to vertically fit the window
- Nicer history listing
- Enhanced result display with much nicer parentheses
- Meta modes
- 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
- Binary prefixes
- Some new variables and functions
- Fixed help display in new yelp
- Fixed compile with cln-1.1.10
- Fixed regressions in simplification
- Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
- ...and many more bug fixes and enhancements...
Qalculate! Bases 0.9.4
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. more>>
Main features:
- Redesigned GUI with history view in the main window
- Display of as-you-type expression parsing and function hints
- Enhanced completion
- Scaling of result display to vertically fit the window
- Nicer history listing
- Enhanced result display with much nicer parentheses
- Meta modes
- 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
- Binary prefixes
- Some new variables and functions
- Fixed help display in new yelp
- Fixed compile with cln-1.1.10
- Fixed regressions in simplification
- Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
- ...and many more bug fixes and enhancements...
Qalculate! 0.9.6
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. more>>
Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface (KDE or GTK+).
Main features:
- Redesigned GUI with history view in the main window
- Display of as-you-type expression parsing and function hints
- Enhanced completion
- Scaling of result display to vertically fit the window
- Nicer history listing
- Enhanced result display with much nicer parentheses
- Meta modes
- 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
- Binary prefixes
- Some new variables and functions
- Fixed help display in new yelp
- Fixed compile with cln-1.1.10
- Fixed regressions in simplification
- Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
- ...and many more bug fixes and enhancements...
Enhancements:
- Use Lambert W to solve more equations and avoid infinite loop when solving some equations
- More data on elements
- Fix simplification of (1-1/x)^3 and similar
- Fix clumsy mistakes in with prefixes leading to crashes
- Fix parsing of unit expressions (when converting) such as W/(m K)
- Add more exact values for sin() and cos() and avoid floating point underflow by, in approximate mode, checking against the value of pi
- Always input decimal separator sign on keypad separator press
- New units: typographic units, pouce, pied du roi, grams of TNT and tons of TNT
- New functions: lambertW(), addDays(), addMonths(), addYear(), addTime(), isNumber(), isReal(), isRational(), isInteger(), representsNumber(), representsReal(), representsRational(), representsInteger()
- New variable: omega constant
- Other minor fixes and enhancements
artifacts 0.1.0
artifacts project is a is a text based project management and artifact (bugs, features etc), tracking suite. more>>
It is also the format specification which allows developers and users to read, understand and even modify existing artifacts without needing any tools installed. artifacts is aimed primarily at open source based projects for which time allocation and deadlines are mostly meaningless.
The artifacts themselves and the format they use are designed to exist inside a projects repository or even to be shipped within a tarball release at packaging time. This allows end users or remote developers instant access to changelogs, todo lists and all outstanding bugs.
Developers need not go online or even leave the comfort of the projects directory. artifacts can be updated alongside the code, enabling a developer to create a single patch which not only accomplishes development goals but also, for example, marks a bug as fixed and closed.
artifacts is the project management tool I use for all my tracking needs, for all my projects on and off this site.
Main features:
- artifact dependancies
- time/deadline independant tasks or milestones
- easily repositorised and human readable text based format
- no internet required
- no explicit artifact types, all user definable (ie bugs,features,milestone,packaging etc)
- artifacts must be easy to locate and edit, even by filtering those assigned to just me, with no software dependancies
- the ability to quickly and easily generate TODO (and others) lists in plain text, or as RSS feeds on the projects home page
- easily "plugged in" to the web allowing online users to add new bug notes directly into the repository
Downloading artifacts
- Using darcs:
# darcs get --partial http://usrsrc.org/darcs/artifacts
- Using
# wget: wget -m -np -P artifacts --cut-dirs=4 -nH http://usrsrc.org/darcs/artifacts/_darcs/current/
Enhancements:
- unstable, refactor readme
Mesh Viewer 0.3.1
Mesh Viewer is an easy to use lightweight application to display triangular meshes from a variety of file formats. more>>
Mesh Viewer uses the OpenGL API to render the models. The program was born under the need for quickly displaying reconstructed triangulated meshes. The Mesh Viewer based on an idea and an early elementary implementation from Craig Robertson.
The current version was developed by Helmut Cantzler. Triangular meshes can be displayed texture mapped (optional with bilinear filtering), solid or as a skeleton (full or just the front lines).
The surface normals of the triangles can be displayed optionally. Features (from a different data file) like edges and points can be displayed into the mesh. Loaded models can be rotated, translated and scaled (all done with the mouse). The model is lighted by multiple light sources.
Viewpoints can be saved. Screenshots of the model can be taken (as BMP, JPEG, PNG and so on). The program is able to calculate the texture map for the 3D model (experimental!).
It can read:
- PMesh files (used at the Vision group of the University of Edinburgh)
- GTS files (from the Gnu Triangulation Library)
- Geomview files (only format "OFF")
- PLY files (only ASCII format)
- VRML 1 files (no texture mapping)
- VRML 2 files
- Feature file
- List file
File format descriptions:
The PMesh format begins optional with a header. The first header line consists of "#pmesh". The header ends with the first line not starting with a "#". The data starts with nv lines of the format "v float float float" for the vertices. Follows nf lines of the format "p 3 int int int" for the triangles. Each line contains the three indices of the vertices. The index of the vertices starts at one.
The GTS format is describe shortly. The first line contains three unsigned integers separated by spaces. The first integer is the number of vertices, nv, the second is the number of edges, ne and the third is the number of faces, nf. Follows nv lines containing the x, y and z coordinates of the vertices. Follows ne lines containing the two indices (starting from one) of the vertices of each edge. Follows nf lines containing the three ordered indices (also starting from one) of the edges of each face.
The Geomview formal starts with a header consisting of the format line "OFF" and a second line with three integer numbers. The first integer is the number of vertices, nv, the second is the number of polygons, np, and the third number is typically "0". Following are the nv lines of vertices (each consists of three floats). The other part of the file are np lines of polygons. The first number of each line stands for the size of the polygon. Mesh Viewer just reads polygons consisting of 2 or 3 vertices. Following are a number of indices of the vertices depending on the size of the polygon. The index of the vertices starts at zero.
VRML is only supported partly. The Mesh Viewer extracts only vertices and triangles from VRML files and ignores all other shapes. Shapes in VRML 2.0 are rotated, scaled and translated if necessary. The file name for JPEG texture and texture coordinates are read from VRML 2.0 files if existent.
The Feature file is used to store vertices and edges. A feature file can be loaded beside the mesh to display vertices or edges into the mesh. The first header line consists of "#list". The header ends with the first line not starting with a "#". The lines consists of either vertices or edges. A vertex line consists of the format "fv float float float". A edge line starts with "fe" followed by the x, y and z coordinates for the start and the end vertex.
The List file is only a text file listing n mesh files, which a loaded subsequently as different shapes into one mesh. Lists are useful for displaying a segmentation of a mesh. The first header line consists of "#list". The header ends with the first line not starting with a "#". The following n lines consists of the names for the mesh files (one per line).
Baseball::Sabermetrics 0.03
Baseball::Sabermetrics is a baseball statistics module. more>>
SYNOPSIS
Baseball::Sabermetrics provides an easy interface for calculating baseball statistics, given a data importer. In this package, Ive written CPBL.pm for (Chinese Professional Baseball League, http://www.cpbl.com.tw).
use Baseball::Sabermetrics;
use Baseball::Sabermetrics::CPBL;
my $league = Baseball::Sabermetrics->new(league => CPBL);
# Actually these are predefined.
# Those data with p_ or _allowed here are for seperating pitchers
# and batters.
$league->define(
rc => ab * obp,
babip => (h_allowed - hr_allowed) / (p_pa - h_allowed - p_so - p_bb - hr_allowed,
# what started with $ will be reserved.
# Players have team and league predefined, and team has league.
formula1 => hr / $_->team->hr;
formula2 => hr / $_->league->hr;
complex => sub {
print "You can write a sub directlyn";
$_->slg - $_->ba;
},
...
);
# Some formulas can be applied to players, teams, and league, depend on what
# columns are used in the formula. For example, ab and obp are defined for
# players, teams, and league, so that rc is available for all of them.
# top 5 obp of teams
$_->print qw/ team name ba obp slg isop / for $league->top(teams, 5, obp);
# top 10 obp of players
$_->print qw/ team name ba obp slg isop / for $league->top(players, 10, obp);
# show a players information
$league->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;
$league->teams(Yankees)->players(Chien-Ming Wang)->print qw/ win lose ip so bb whip go_ao /;
# show team statistics data (accumulated from players)
$league->{Yankees}->print qw/ win lose ip so bb whip go_ao /;
# give a brief report for pitchers/batters of the team
$league->{Yankees}->report_pitchers qw/ name ip p_so p_bb whip go_ab /;
$league->{Yankees}->report_batters qw/ name ba obp slg isop /;
$league->report_teams qw/ name win lose era obp /;
# show all available formula
print join , $league->formula_list;
Data Structure
Baseball::Sabermetrics is aimed for providing a base class of your interested teams (a league, for example). Youll need to provide a data retriever to pull data out. The following example shows how you have to fill data into this structure.
$league = {
teams => {
Yankees => {
players => {
"Chien-Ming Wang" => {
bio => {
bats => right, # coule be left, switch
throws => right,
},
ip => 57.33333333333,
game => 9,
...
fielding => {
p => {
tc => 43,
pop => 4,
...
},
# b1 => { }, b2 => { }, b3 => { },
# first, second and thrid baseman should be
# b1, b2, and b3 respectively for convenient in
# fielding context. Because the initial of the
# name of subroutine cant be a number in perl.
},
};
...
}
},
Athletics => {
...
},
},
};
TERMS
Available terms of players (including teams and league, which are accumulated from players and could be treated as an abstract player) are:
# pitching
p_game win lose tie gs sv bs hld cg sho ip p_pa np h_allowed
hr_allowed sh_allowed sf_allowed p_bb p_ibb hb p_so wp bk ra er
# batting
pa ab rbi r h 1b 2b 3b hr tb dp sh sf ibb bb hbp so sb cs
tc po a e f_dp ppo tp pb c_cs c_sb
# fielding
pos fgame tc po a e f_dp tp pb c_cs c_sb
And there are additional terms for team:
game win lose tie
- Page: 1 of 1
- 1