library

PHP library or command line?

I have run into two situations lately where I have chosen to use the command line for doing something rather than the PHP library. For example, in PHP doing this: `curl http://someplace.com` instead of this: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec(...

Java GraphViz

Is there an Open Source java alternative to GraphViz? I'm aware of the existence of Grappa which basically wraps the Graph interface to GraphViz as an JavaAPI. However the layouting is still done by the GraphViz binaries. I'm looking for a pure-java, open source library providing the same functions and layouting algorithms as GraphViz. ...

Convert a Static Library to a Shared Library

I have a third-party library which consists mainly of a large number of static (.a) library files. I can compile this into a single .a library file, but I really need it to be a single .so shared library file. Is there any way to convert a static .a file into a shared .so file? Or more generally is there a good way to combine a huge n...

Good TCP connection library for Java?

I am looking for a good TCP connection library from Java with the following facilities: 1. Retry on failed publishes 2. Multiple connections Which library have you sucessfully used. EDIT: Based on the comment changed the question to reflect which type of connection library. ...

SetCompatibleTextRenderingDefault in .NET Class Library containing a form

Hi I have a .net class library with a com class that calls a form. I want to to SetCompatibleTextRenderingDefault(false) to ensure the form fonts look nice. If I run the command in the class constructor I get the following error: SetCompatibleTextRenderingDefault must be called before the first IWin32Window object is created in the app...

Linking to Python import library in Visual Studio 2005

I have a C++ application that has embedded Python. I'm building with Visual Studio 2005. When I try to link to python26.lib, I get a number of unresolved symbols, all of which begin with "__imp": error LNK2019: unresolved external symbol __imp__Py_Initialize referenced in function _main python26.lib is an import library (installed by t...

UNIX symbol referencing error

Greetings Everyone. I'm currently trying to compile a multiple-language program (C, C++ and FORTRAN) using GNU compilers in UNIX (g++, gcc & f77 respectively). All my sources are compiling into objects with no errors however I encounter a symbol referencing error as they are linked as shown below: f77 -L/usr/sfw/lib -R/usr/sfw/lib -lg...

Most useful free .NET libraries?

I have used a lot of free .NET libraries, some from Microsoft itself! Which ones have you found the most useful? Package managers for external libraries NuGet (formerly known as NuPack) - Microsoft (developer-focused package management system for the .NET platform intent on simplifying the process of incorporating third party librarie...

i need to implement a Butterworth filter in C. Is it easier get a library with this functionality or write the code?

My project is in C, CodeBlocks is my IDE and i´m running on windows Vista. I need to apply a Butterworth Filter to my data. I could do this automatically with Matlab as it had this (and other) Filter as a built in function. Computers and programming aren´t exactly my area and i have never "imported" a new library, and dont know how to do...

OpenMicroBlogging-library for Java?

Can anyone recommend to me a library to communicate via OpenMicroBlogging? It should be in Java and Open Source. Update: As there seem to be no OMB-library for Java, I have created a request on cofundos. So if you are able to create such a library, go catch the money. ...

Looking for a generic library for interacting with a JPA model

I'm building an application using a JPA object model, and creating several Data Access Objects to interact with that model. I'm finding that I'm repeating a lot of code (essentially CRUD) between different Data Access Objects. The only thing that differs are the targeted JPA classes. I was wondering if anybody knows of an abstraction li...

Image Resize C#,VB.NET Opensource Library

Any one point me on good direction on how to resize a jpg image to exactly particular size (Both File size and pixel size Ex. 148 x 72 px , 300 KB ). To Acheive this, Quality of images can be adjusted. It may a .NET library /code but it should be free for commercial use / open source. I want it in either C# or VB.NET as library. ...

Are there any open source C libraries with common data structures?

I'm looking for a C library with common reusable data structures like linked lists, hash tables etc. Something like the source distributed with Mastering Algorithms with C (Paperback) by Kyle Loudon. ...

creating shared library using other library in linux

I have a shared library say "libeval.so". I am using this in my project to create on more shared library called say "lidpi.so". The library called "libdpi.so" is used by a tool. Now, this tool cannot see any other library other than "libdpi.so". I am using few function calls that are present in "libeval.so", and these are not present in ...

Javascript focus measurement

I'm looking for a Javascript library to be able to measure the time a div (or any other object) has been in "focus" (as in: the browser is showing and the window is focused; not the normal Javascript focus event). Do you know if something like that exists ? or something similar I can tweak? Edit: Ok. Rephrased to avoid misunderstandin...

A Simple, 2d cross-platform graphics library for c or c++?

As in title, i need a 2d graphics library that is cross-platform, and provides simple functions, like in Basic; essentially, i only need to paint a pixel a certain color-I do not need hardware acceleration, or any kind of 3d support. I've found a couple ones, but they're not cross-platform. Anyone knows a solution for me? ...

Entlib Cache.Contains NULL problem

Hi, I have a combined authorization and menustructure system on our backend. For performance reasons EntLib caching is used in the frontend client (MVC rel 1.0 website, IIS 5.1 local, IIS 6.0 server, no cluster). Sometimes 'Cache.Contains' will return true, but the contents of the cache is NULL. I know for certain that I filled it corr...

Using send-to in MOSS document library

Hi I want to use the send-to option inside a MOSS document library to move the file to a folder in the same document library. If I select the url to the folder and then try the send-to option, it tells me the folder name is too long. All the best ...

Which JavaScript graphics library has the best performance?

I'm doing some research for a JavaScript project where the performance of drawing simple primitives (i.e. lines) is by far the top priority. The answers to this question provide a great list of JS graphics libraries. While I realize that the choice of browser has a greater impact than the library, I'd like to know whether there are a...

Data corruption when threading Vector Statistical Library-Math Kernel Library

I've just parallelized a fortran routine that simulates individuals behavior and I've had some problems when generating random numbers with Vector Statistical Library (a library from the Math Kernel Library). The structure of the program is the following: program example ... !$omp parallel do num_threads(proc) default(none) private(...)...