library

Creating a zip archive in C++

Is there a simple way to create a zip archive in C++? I'm writing a GPL app and I looked in to minizip but it seems too complicated. Is there a simple library to do this? I already have the files on the disk, I just want to make a zip from them. ...

Eigen max matrix size

So, I'm finding the Eigen package crashes when I try to declare a matrix larger than 10000x10000. I need to declare a matrix like this.. about 13000x13000 elements reliably. I ran a test like: for( int tortureEigen = 1 ; tortureEigen < 50000 ; tortureEigen++ ) { printf( "Torturing Eigen with %dx%d..\n", tortureEigen, tortureEigen ) ...

Multiple Hibernate configs

Good Morning everyone! I'm currently working on building a library to modularize some of my code and I'm running into a problem with Hibernate. In my main application I have a hibernate config to get information it needs to run but then I also have a need for hibernate in my library since some of the objects I want could be used in oth...

Are there any java library for thumbnails generation?

I need some smart enough thumbnail generation lib to use it in my java app. I've found appropriate code here but I'm not sure about possible licensing issues. Are there any free appropriate libraries? ...

c++ matrix template library need for neural networks computations

hi i'm implementing some neural network algorithms and i'll be needing a matrix library, I've looked and found that there are ones like ( boost::ublas ) , (blitz++), TNT... I need experts opinion which one is suitable for (simple , easy coding, high performance maybe ) ...

Extracting the outline (or bookmarks) from PDF files using Java

Hello Guys, I'm using PDFBox to extract the outline (bookmarks) information from PDF files, that's even explained in the same site. However, I've had problems not extracting but generating the qualified urls (foo.pdf#page=22777&zoom=2,2,777) to open the PDF in those bookmarks. Sometimes PDFBox is not able to find the page in which the ...

A tail of Javascript libraries, and my pondering about David Mark.

Hi, I'm an frontend developer, and as such I end up doing some amount of Javascript. I have an interest in the language, so I follow a number of blogs, hang out in forums, etc.. I have noticed a person going by the name of David Mark, going around places throwing shit at everybody's favorite library. Over time, a question has been sort...

Small AJAX Javascript Library

Hi! I'm looking for a very small (one liner) ajax javascript library to add on the first line of a small script to make some requests. I already tried: http://www.openjs.com/scripts/jx/ http://code.google.com/p/microajax/ But they do not work at all. Alternatives? ...

Unsafe to throw exceptions from statically linked C++ libraries?

I've heard that throwing exceptions in/from a C++ library could be potentially dangerous, particularly with DLLs, and particularly if the calling code and the library are compiled with different compilers. Is there any truth to this? Is it safe as long as I stick to static libraries? Note that I am not talking about internal use of excep...

Classpaths and reflection

In a project that makes heavy use of reflection to select classes based on environment, is there a way to determine what libraries to include in the build? At the moment, taking a library out of the project is a gamble, but sticking with the current plan of "include everything, it's the only way to be sure" makes the whole thing bloated...

Threading run time without adding extra lines in program

Is there any thread library which can parse through code and find blocks of code which can be threaded and accordingly add the required threading instructions. Also I want to check performance of a multithreaded program as compared to its single thread version. For this I would need to monitor the CPU usage(how much each processor is g...

Writing a library that needs to be object-orientated. Objective-C or C++ for the highest compatibility with C?

I am planning to write an open-source library which really needs to be written in an object-orientated language. One problem is that the library should be possible to use with C, where it doesn't matter of direct inclusion of source code or (dynamic) linking to a precompiled library. I know all three C++, C and Objective-C. Objective...

How do I add a shared library in Xcode?

Let's suppose that I enter Xcode, and select File>New Project...>Cocoa Application. I'll call this new project StupidTest. Now, once the project window opens up, I can select Build>Build and Run, and the project will build and run, creating a nice blank window. Now, lets suppose that I have a library, libStupid.so, or libStupid.dylib,...

AS3: Accessing External Library Symbols Dynamically

I am loading an external SWF containing uninstantiated MovieClip Symbols. I can get the SWF loaded, no problem. If I call: loader.contentLoaderInfo.applicationDomain.getDefinition( "TestClip" ) as Class I get the class of a Library symbol called "TestClip", which I can then instantiate. Jawesome. The issue I'm having is that basicall...

Using a C# library

I've made a C# class library and am trying to use it in another project. I followed these instructions but am getting the following errors: The type or namespace name 'TF2Reader' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'Log' could not be found (are you missing a...

Assembly does not allow partially trusted caller

How do I change my library to allow partially trusted callers? I get the following error: Server Error in '/' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator o...

Create static library in Visual C++ Express 2010

Hi, how to create static library in Visual C++ Express 2010? When creating project, I cant find static library option. Thanks. ...

Are there math libs for F#?

As far as I known, there are are numpy and scipy for python. Are there similar libs for F#? Thanks. ...

Javascript UI Library - CMS Rebuild

I am about to start rebuilding my company's CMS from the ground up, the DB structure and a lot of the functionality will remain the same concentrating on the UI. I was going to build it using JQuery UI as that is what we use on most of the sites, but I thought before I stated that it might be worth an ask around to if something like Moch...

Iphone QTVR (QuickTime Virtual Reality) support

I'm planning to write iPhone app which have to be able to play QTVR (QuickTime Virtual Reality) movies (it'll be one of its core features). I know there are couple of apps capable of doing it, thus I'm wondering if there is any library available that supports playing such content? ...