library

Temporal libraries for Java

I'm looking for temporal libraries for Java, i.e. libraries which allow to store multiple historical version of the same concept. I'm looking for a library which has an API to do something like: Instant i1 = Instant.valueOf("2010-01-01"); Instant i2 = Instant.valueOf("2010-01-02"); Attribute<String> a = .... a.setValue(i1, "String as ...

Build Boost and Exempi on a Mac

In order to install Python XMP Toolkit, I need to install Exempi on my Mac, but doing this is becoming a real nightmare... After a lot of trouble, i finally made it with boost, and had the fantastic The Boost C++ Libraries were successfully built! The following directory should be added to compiler include paths: /usr/loc...

How to create a library that wraps an object with a template function using minimal includes?

The goal of this project is to create a library for distribution. In the past, I used forward declares so I didn't have to distribute a bunch of header files along with the libraries. However, I'm now trying to eliminate code duplication by switching to templates and am running into some issues. First, a simple example project showi...

F is Undefined - Jquery

I have some jquery code that uses the live method of triggering events: $(document).ready(function() { $('.cross-link').live(function() { $('a[href=#2').click(); }); }); Where 'cross-link' elements can be generated after the DOM has loaded. Firebug reports that "F is undefined". It references the last line in ...

Sending image data from Flash to PHP GD, Will it take too much resources?

If i send bitmap data from Flash AS3, to PHP and then PHP turns the bitmap data into a image file and saves on server... Would it take too much resources? I mean, The Bitmap Data could contain too much pixels etc does that affect the resources? If 10-100 people send data simultaneously is it going to cause problems... What kind of spec...

Image processing on Android - what libraries can I use?

I need it specifically for image distortion (filters, blurring, etc also welcomed ;) ). Do you know some libraries with appropriate license (Apache, MIT, LGPL also), that I can use? Propriety libraries with reasonable prices - open to them also. Can be in C also. thanks in advance, danail ...

Enterprise Library DB Configuration

Hi there, I was using Entity Framework and connectionstring becomes a big hassle. In unit test, i have to add the connectionstring, ddl put the connectionstring, etc, any place where i reference the biz library, i had to add the connectionstring. I thought it might be time to begin use Enterprise library's shared configuration section, ...

Android: using SharedPreferences in a library

I made a library that I use across my app. I want it to access some settings that are stored in the shared preferences. This is a shortened version of my library: package com.android.foobar; import android.content.SharedPreferences; import android.preference.PreferenceManager; public class Lib { int now; public Lib() { ...

c++ simple shared library in linux

Hello experts, Is the STD library a shared library or what is it ? out of curiosity . Are there any books describe in detail the shared , static libraries development ? Are there any tutorial ? p.s (i'm using netbeans , eclipse, anjuta) and the tutorials aren't useful as I'm trying to understand what's actually going on. ...

Managed C++ Wrapper for Unmanaged Static Library with static variables hangs

The explanation of the problem is a little long-winded, please bear with me. I have an unmanaged C++ static library that is used for financial application. It has business day conventions, swap conventions, bond conventions, etc. Most of the conventions rely on static global variables, which are initialized on first use. The library als...

Linker problem in Release when trying to add GLUI library to project

Hi! I try to add the GLUI library to my project. Compiling in Debug mode runs fine. But if I compile in Release, it gives me a bunch of LNK2005 errors saying things like: error LNK2005: _realloc already defined in Libcmt.lib(realloc.obj) ok - i already got some similar Linker problems before because I use both CRT and MFC in my app b...

How to create CHM file using java?

I am planning to write a utility for me which will accept a directory having html files and then based on those html files it will create a CHM [Microsoft Compiled HTML Help] file. So is there any free library to create CHM file ? If not then please mention some tutorial or links for basic understanding on how to create CHM file. ...

capitalization of library class names

Why do collection.defaultdict and collection.OrderedDict have different capitalizations? Is there some subtle difference that I should be aware of? (P3K) ...

Android Library using Main Project Resources

I am not getting is this is right way to solve problem or not... Situation is... I am creating Library for Android project.. Activity is declared in the Library Project..As it will be reusable in different projects. Lets Name it ActivityA ActivityA is using images which are Project Specific.. I have added images in Main Project... I...

How can we create library from Application? (Deriving library/API from Applications)

Dear Experts, My intent is to create a library/API for small scale distributed multi-user game /simulation. i have created couple of applications using java RMI, i tried to keep them simple and to achieve decoupling and now i want to transform those or want to derive/extract from them a generic template. Can somebody please shed ligh...

In Xcode how do I specify the correct library in my project settings to avoid a link error?

I get a Undefined symbols error attempting to build an XCode project, and I'm pretty sure it is because the linker can't find a library (it's the library needed to use curses.h btw). I'm writing a terminal program. The errors I'm getting are: Undefined symbols: "_initscr", referenced from: _main in RogueSmackCmdLine.o "_wref...

What libraries does Google host (other than jQuery) ?

Hi fellow SOers, First, I apology if I used the wrong term in the question (Please feel free to edit if I'm wrong). I know Google hosts (almost) all version of jQuery, jQuery UI (js and css) For example : <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt; <script ty...

Is there an Java library for sending binary data over HTTP, HTTP Tunneling?

I would like to send quite large chunks of data in a binary format over HTTP, also called HTTP Tunneling. I would like to use this technique using Java for a few Java Swing applications and maybe an Android application. Is there any good Java libraries for HTTP Tunneling? ...

C++ input question

Hello! I am attempting to build a small local-purpose 3d engine, which has to be platform-independent and right now I'm looking for a way to handle different possible types of user input. This, obviously, includes mouse / keyboard events and possibly, another analogue controllers (joysticks, for example). I can think of several ways to...

How to include Openssl in my project?

I have openssl directory for whole openssl code. It has some folder hierarchy. I want to use for example RSA algorithm in openssl, how can I include open-sll in my project? If I just include that directory, program cannot find all files properly. Always error about cannot find some definition or something like that. Wish I expressed it...