library

ASP.NET MVC: Where do library classes go?

I do have experience with Ruby on Rails, and am programming a project in ASP.NET currently. So having found ASP.NET MVC was awesome for me, since it seems to be a verbatim copy of Ruby on Rails in many respects. However, there are differences, and I have to re-learn quite some things. One such thing is the way additional (library) funct...

Generate random numbers distributed by Zipf

The Zipf probability distribution is often used to model file size distribution or item access distributions on items in P2P systems. e.g. "Web Caching and Zip like Distribution Evidence and Implications", but neither Boost or the GSL (Gnu Scientific Library) provide an implementation to generate random numbers using this distribution. I...

Determine if C library is installed on Unix

As a follow up question to my last one, is there any simple way to tell if a given C library is installed on a given machine (not programattically, just as a once off sort of thing)? I need to use libuuid, but I'm not sure if it's installed on the machines in question. The only two ways I can think of are: 1) Try to compile the code t...

authorize.net C# wrappers/library

Are there any good libraries or wrappers for Authorize.net? The code samples available from their site seem a little ... raw. I'm looking for an easy to use, object oriented API that I can simply set some properties, and it takes care of all the plumbing code under the hood. I've found a few random blog posts of people offering their ...

Are there any Java PDF creation alternatives to iText?

I am trying to render about 100,000 - 80 column records through FOP and it tanks pretty much everytime (OutOfMemoryException). I know iText could handle that kind of load but I can't use it because of the LGPL license. Are there any alternative Java libraries to iText that can handle rendering a high volume of data to PDF? ...

What are the most widely used C++ vector/matrix math/linear algebra libraries, and their cost and benefit tradeoffs?

It seems that many projects slowly come upon a need to do matrix math, and fall into the trap of first building some vector classes and slowly adding in functionality until they get caught building a half-assed custom linear algebra library, and depending on it. I'd like to avoid that while not building in a dependence on some tangenti...

Alternatives to the GNU Scientific Library

Are there any C libraries (preferably open source) which are comparable to the GNU Scientific Library (a large library of commonly science & math routines)? ...

Design principles for creating a domain-specific scientific library

What are good principles in designing a software library for the use of scientists in a specific discipline? By this I mean areas such as chemistry, physics, materials science, microscopy, bioassays, astronomy, etc. I exclude generic libraries such as SciPy, R, Matlab, JAMA, etc. which cover a range of disciplines or are specifically mat...

Are there libraries for Square Root over BigDecimal?

Are there any libraries for Square Root over BigDecimal in Java? ...

Reducing installation of libraries

I have a C++ project that have like 15+ external libraries installed with a package mananger. The problem is with the package change, the newest versions of some library break things (like libblob). I wanted to know if it exists a way to not relaying on some package manager for installing our library and to make sure we always have the v...

Library to create high-performance server applications

I remember finding a C++ (or maybe plain C) library which does thread pooling, socket polling and other stuff, needed to write a high-performance server on Linux. (And this library was not Boost itself but it could be that it used Boost.) As usual, I can't remember the name of the library. Any guesses? Update: that was not ACE. ...

Recommended math library for C#/.NET?

Hi, I'm currently evaluating different math libraries for my next .NET project, the decent one I found is Math.NET, which is free and open-source. Do you have any recommendation for good math libraries?, free ones are preferable of course, but that isn't a prerequisite. EDIT: To make the question a bit more clear, I need a math to do ...

How to save text in php as a pdf file?

I have textarea in my site(link shortening site) i want to user enter some kind of text and as a return i will give(shorten link) a pdf file which user can download.How can i do that with php do i need extra library or default php libraries are capable of doing that?(i am working on windows machine by the way)(site using php mysql apache...

how do I determine whether a python script is imported as module or run as script?

The question is rather straightforward but not answered by searching. How do I determine in a python script whether this script is imported as a module or run as a script? Is there a difference at all in python? The problem is, that I want to evaluate the command line parameters only if run as a script, but not if the module is only imp...

Library of interfaces for building decoupled things

I want open source assemblies with interfaces (but no implementations) of common things, such as logging, IoC/DI, etcetera. If this exists, it would be easier to mix and match bits and pieces of things together without having to write too much glue code. Example: If this existed, I would be able to for example create a asp.net mvc appli...

How to use my custom library apk file in other applications

Hi, I have my own custom library apk file (say lib.apk) & i want make it available to other applications. How to provide the uses-library in the android manifest.xml file in other apps so as to use my custom library. ...

Silverlight component vendors

I’m looking for Silverlight component libraries (preferably commercial). So far I’ve found these: ComponentOne Telerik DevExpress Vectorlight Infragistics Xceed Am I missing any? I previously posted this question, I’m (still) searching for a Silverlight Image Editor. As part of my exploration I have to document that I at least che...

What is the best library for generating visual object graphs in PHP (or JavaScript) (e.g. for depicting a social network)

I have a requirement to graphically depict relationships between a set of objects as well as their types in a PHP application. The relatinships would be previously generated. I am only looking for a tool, preferably free, that will display the nodes and their relations. I am open to PHP or JavaScript or any thing that will work as long...

What are the best practices regarding unit testing a library/framework ?

Context I'm struggling to write a set of unit-tests for a library/framework I'm designing. For context, please, think of my library as an object layer over a hierarchical set of related objects. Question Basically, I'm trying to adhere to the principles and best practices regarding unit testing as seen in some posts here, but they see...

Any good postscript drawing libraries?

I need to draw some pictures for my LaTeX documents, and I've found that hand-made PostScript seems to be a good fit (I want to do stuff programatically, need math functions, etc.). I've also tried TikZ but that just seemed overcomplicated and hard to use. However, using plain standard PostScript is a bit painful since there aren't real...