Check out my first novel, midnight's simulacra!

Interesting libraries: Difference between revisions

From dankwiki
No edit summary
No edit summary
Line 9: Line 9:
* [https://sourceforge.net/projects/translate/ Pootle's python-Levenshtein] ([[Debian]] package: python-levenshtein)
* [https://sourceforge.net/projects/translate/ Pootle's python-Levenshtein] ([[Debian]] package: python-levenshtein)
** "The Levenshtein module computes Levenshtein distances, similarity ratios, generalized medians and set medians of Unicode or non-Unicode strings...The Levenshtein distance is the minimum number of single-character insertions, deletions, and substitutions to transform one string into another. It is useful for spell checking, or fuzzy matching of gettext messages."
** "The Levenshtein module computes Levenshtein distances, similarity ratios, generalized medians and set medians of Unicode or non-Unicode strings...The Levenshtein distance is the minimum number of single-character insertions, deletions, and substitutions to transform one string into another. It is useful for spell checking, or fuzzy matching of gettext messages."
* [http://perfmon2.sourceforge.net/ libpfm] (No [[Debian]] package) (Linux only)
* [http://perfmon2.sourceforge.net/ libpfm] ([[Debian]] package: libpfm3) (Linux only)
** An analogue to [[libpmc]] for Linux? "The goal of the project is to design and implement, on all major architectures, a standard Linux kernel interface, to access the hardware performance counters of modern processors. The project also developed a user library,libpfm, and a tool, pfmon." Appears to require a kernel patch, even against 2.6.25.
** An analogue to [[libpmc]] for Linux? "The goal of the project is to design and implement, on all major architectures, a standard Linux kernel interface, to access the hardware performance counters of modern processors. The project also developed a user library,libpfm, and a tool, pfmon." Appears to require a kernel patch, even against 2.6.25.
* [http://oss.sgi.com/projects/cpusets/ libcpusets] ([[Debian]] package: http://packages.debian.org/search?keywords=libcpuset)
* [http://oss.sgi.com/projects/cpusets/ libcpusets] ([[Debian]] package: http://packages.debian.org/search?keywords=libcpuset)

Revision as of 04:11, 17 June 2009

Libraries I ought check out, for possible use in my code (hopefully replacing bitrotting code I'm no longer interested in) or just to learn from:

  • ssdeep (Debian package: ssdeep)
    • Context-triggered hashing for fuzzy content matching. Could be used for ctxdiff.
  • liboil (Debian package: liboil-dev)
    • Simple functions optimized for various CPU's. Could replace libdank's magic.c.
  • cxxtools (Debian package: libcxxtools-dev)
    • Utility functionality for C++ beyond the standard libraries.
  • Pootle's python-Levenshtein (Debian package: python-levenshtein)
    • "The Levenshtein module computes Levenshtein distances, similarity ratios, generalized medians and set medians of Unicode or non-Unicode strings...The Levenshtein distance is the minimum number of single-character insertions, deletions, and substitutions to transform one string into another. It is useful for spell checking, or fuzzy matching of gettext messages."
  • libpfm (Debian package: libpfm3) (Linux only)
    • An analogue to libpmc for Linux? "The goal of the project is to design and implement, on all major architectures, a standard Linux kernel interface, to access the hardware performance counters of modern processors. The project also developed a user library,libpfm, and a tool, pfmon." Appears to require a kernel patch, even against 2.6.25.
  • libcpusets (Debian package: http://packages.debian.org/search?keywords=libcpuset)
    • Library for cpuset management from userspace, courtesy of SGI (useful for NUMA)

I've discovered most of these via aptitude's "New Packages" functionality.

See also