library

Library for maintaining cluster membership over broadcast network with master election?

I am looking for a library that will allow an arbitrary group of computers to participate in a "cluster", where I'm using that term to mean a group of systems in which: the systems are able to automatically discover each other, the systems engage in a master election process to determine the cluster master the systems will re-elect a n...

CMake: How to generate different shared library names depending on build type

This is my first time using CMake and I'm trying to build QJSon, a JSON parser for Qt 4.x. What I want basically is to build different output library names depending on the build configuration. I'm using ${CMAKE_BUILD_TYPE} macro to generate different targets (qjson.lib/qjson.dll and qjsond.lib/qjsond.dll). Seems that the VS 2008 solutio...

Ruby charting library?

I need to display some charts/graphs based upon user inputs on my web aplication built using Ruby on Rails. Are there any charting libraries out there that I could use with ROR for displaying simple bar, line and pie graphs? ...

What Linux Full Text Indexing Tool Has A Good C++ API?

Hi, I'm looking to add full text indexing to a Linux desktop application written in C++. I am thinking that the easiest way to do this would be to call an existing library or utility. This article reviews various open source utilities available for the Gnome and KDE desktops; metatracker, recoll and stigi are all written in C++ so they...

Ruby Support for SVG

Is there some library or helper to produce SVG graphics with Ruby? I googled a bit and found many, but all seem to be dusty and very incomplete… Does anyone know about some nice, reliable alternative? ...

how can I integrate the existing project written in C with the iphone view-based application project?

I would like to ask that if I have a project written in C and another project of view-based iphone application. How can I access that C methods, properties from the C library while I am working in the iphone project, I mean, how can I use the C project in iphone app? Any help would be appreciated, Thanks. ...

Non-linear video editing tool/API?

Can anyone recommend a good library that would enable me to write an application that can blend multiple input videos into one output video (for example into a split screen). I don't care about the programming language (C, C++, Java, Ruby and Python are fine). The only one I found is GStreamer with the non-linear plugins. But I can't f...

How to share global variables in a shared library(.so) across instances of the same process that use the shared library in Linux?

I have a shared library(.so) that I preload before executing an application and I have a few global data structures in the shared library that the application uses. The application can create other processes say using fork() and these processes can update the global data structures in the shared library. I would like to keep a consistent...

Haskell minimum/maximum Double Constant

Is there any way in Haskell to get the constant that is the largest and smallest possible positive rational number greater than zero that can be represented by doubles? ...

Is there any API in C# or .net to edit pdf documents?

Hi, Is there any API in C# or .net to edit pdf documents? Like I need to retrieve particular text and replace it with my own text. Thanks nRk ...

Force library linking with Qt and google test

Hi, I'm trying to write a test suit for my Qt(c++) application using google test, the main problem is that my application consists of one main program and various shared libs. Everything was working just fine, until I tried to do some code coverage using gcov/lcov (which don't operate on dynamic libs), so I modified all my .pro file to ...

Most useful ActionScript packages / libraries

What are some useful plug-ins, packages or source-code for ActionScript? Please include ActionScript version, name, link and description. ...

Qt library event loop problems

I'm writing a DLL that is used as a plugin by another application and would like to leverage Qt's abilities. I have all of the classes set up, compiling and running, but no signals are being emitted. So it seems as though there's no QEventLoop. Attempt 1: I modified my main class to subclass QThread instead of QObject, and in the run() ...

C#: Library for editing photo tags, et cetera, compatible with Live Photo Gallery

Are there any good .net libraries I can use to read and write tags, people tags, date take, et cetera that are compatible with Windows Live Photo Gallery? ...

target conditional library search paths xcode

I'm trying to condtionally link in. .a static libraries by defines. Is this possible in xcode? Basically trying to wrap library specific code in ifdefs so it can be excluded at compile time by setting flags. ...

How to thumbnail faster in c#

I'm trying to thumb an image as fast as possible regardless of the usage of resources to be used in my ImageList and listview and this is currently how i'm doing it but it seems to be slow: public Image toThumbs(string file, int width, int height) { image = null; aspectRatio = 1; fullSizeImg =...

Best Practices for how to include unit tests in a library

I'm working on a general code library for ActionScript 3.0 called as3lib which includes several extensions to the core API and some useful functions. I've written several unit tests (using FlexUnit) to make sure everything is working correctly. What is the best way to organize these tests in the library? Currently, I have all my code in...

Ruby web spider & search engine library

I'm looking for a Ruby library or gem (or set of gems) which will not only do spidering, but also collect the data into, say, a database, and allow basic searches on the data (i.e. a typical web search). I've found several spidering libraries, so that part seems well covered (I was going to try Anemone first), but I can't find anything ...

Cross Platform C++ IMAP Library

Are there any cross-platform (only interested in Windows and OS X) IMAP libraries which I can use from C++? Preferably open source as well. I am currently using the IMAP library from Chilkat, but this is Windows only. I've found libEtPan and VMime and just wondered if there were any others I could look at to compare. ...

Any better way to tailor a library than inheritance?

Most likely an OO concept question/situation: I have a library that I use in my program with source files available. I've realized I need to tailor the library to my needs, say I need to modify the behavior of a single functions F in class C, while leaving the original library's source intact, to be able to painlessly upgrade it when ne...