library

How to make JS-library agnostic selector wrapper?

What is the best way to create library agnostic wrapper for JS library selectors? I have a custom JS framework, that aims to be as library-agnostic as possible. The problem I have is that for example Mootools enhances the returned DOM element with it's own specific methods (inject, adopt etc.), and I don't want these to be visible to the...

Converting various Seqs to CSV?

We have a number of Scala classes returning Map[String,String] (key,value) results for storage in a NoSQL database. Some of the results are actually Map[String, List] or Map[String, ArrayBuffer], so we are using .toString on those objects to convert. This gives us output that looks like: "ArrayBuffer(1,2,3,4)" or "List(1,2,4)" Rath...

Why can't I directly start a shared library in Linux?

$ chmod +x libsomelibrary.so $ ./libsomelibrary.so Segmentation fault $ gcc -O2 http://vi-server.org/vi/bin/rundll.c -ldl -o rundll $ ./rundll ./libsomelibrary.so main (application starts normally) Why can't I just start libsomelibrary.so if it has usable entry point? rundll.c is trivial: void* d = dlopen(argv[1], RTLD_LAZY); void* ...

Including a library or contribution into qooxdoo

I try to use the xqjqplot library within qooxdoo, but i still get a error message during generating with generate-source. Error: Unknown global symbol referenced: qxjqplot.Plot My config.json looks like "libraries" : { "library" : [{ "manifest" : "contrib://qxjqplot/trunk/Manifest.json", "uri" : "../QxJqPlot/t...

Should the WEB-INF/lib directory be versioned by a version control system?

Should the WEB-INF/lib directory and it's contents be versioned by a VCS? ...

Operating system agnostic C library

Is there a C library available for operations such as file operations, getting system information and the like which is generic, which can be used when compiled in different platforms and which behaves in a similar way? Edit: Something like Java or .NET platform abstracting the hardware. ...

IPv6 raw socket libraries? Any language...

Does anyone know of IPv6 raw socket libraries, and the associated languages? Specifically I am looking to be able to craft any arbitrary IPv6 package and put it on the wire. Does this exist yet? ...

Simplex solver Library Help

Hi I have to migrate some old code which used the c based LPPSolver library to solve a Simplex problem. My problem in Java is to find anon commercial JAVA based solver which can handle large number of variables. I have tried the Apache SimplexSolver. But in most of my cases I get not feasible solution. Please help. Thanks ...

Loading custom config file into a Codeigniter library

I know this is probably simple, but I'm not getting. I've created a library, and I want to load the parameters from a config file. So here's an example of what I have: // libraries/Mylib.php class Mylib { var $ci; var $key; public function _construct { $this->ci =& get_instance(); $this->ci->config->load('mylib'); ...

How should one distribute the Javadoc for a Library?

I am writing a custom library. It's build into a .jar archive. I am fully able to generate the javadoc, but I don't know how I should distribute it? Put it in the same .jar with the library Put it in a different .jar Some other way? And how to include the javadoc in another project that uses my lib? If I had put it in the same .jar...

Compile Ben Gottlieb's Twitter oAuth iPhone Library for 4.0 AND 3.1.X

Hey there, I need Ben Gottlieb's Twitter Engine running on both iOS 4.0 and 3.1.X - I tried to recompile the libOAuth.a Library with certain SDK Versions but I didn't got it to work. The Library compiled with 3.1.3 SDK works just on 3.1.3 SDK, and the 4.0 compiled Library only on the 4.0 SDK. Any ideas how to get the Library running on...

.net library to draw shapes images text etc, using GDI+

A stupid question here: is there such a library to do these stuff? I want a more advanced library than system.drawing namespace. ...

java pst library

hello, I'm wrinting Junit tests and for a specefic actions I need to give path the the java library "pst.dll" I set it from eclipse->run config->VM arguments and I set the path to pst.dll the problem is , I have to do it for each testcase otherwise I get : Exception in thread "Thread-13" java.lang.UnsatisfiedLinkError: no pst in java.lib...

ld: duplicate symbol. g++

Ok I'm trying to get my head around g++ and librarys. I have a few files that I've compiled into a library from the make file $(CC) -fPIC -c -o $@ $< -O2 -D__PS2 then $(CC) -shared -o $@ $(OBJ_FILES) -O2 -D__PS2 this compiles fine. from the program that uses the lib $(CC) -c -o $@ $< -I./ compiles fine $(CC) -o $@ $(OBJ_FILES...

How can a code in a library project call code in the application project?

In an effort to reduce duplication, I have my app's workspace split into 3 projects: Main (A library project, where all of the common code lives) Free (To make the free version) Paid (To make the paid version) Behavior in the free version and the paid version must differ sometimes. How can I "call into" the final projects from the l...

Best free library in .NET to handle data in SQL Server ?

What is the best free library in .NET to : select, insert, update data in SQL Server with best performance (low level) launch stored procedure generate automatically object layer (1 object = 1 table) without relationnal link (foreign key is only id - 'int') I don't want to use EF (very bad performance) Thank you ...

Are there easy way of installing lisp library such as rubygem(ruby) or easy_install(python)?

I find easy_install extremely useful for programming with Python, and the same as rubygem with Ruby. Does Lisp have similar feature? I understand that there are many Lisp implementations (clisp, sbcl, clozure cl ...), but I just wanted to know what would Lispers do when they need to find and use Lisp library functions. ...

What are some good websites that rate and review publicly available code libraries?

Preferably in C++, but code in all languages would be good to. Should be well categorized for different purposes, and have side by side comparisons. To clarify what I'm looking for. Let's say I wanted to find a graphics library. I would search for that, and it would give me a list: SDL OpenGL Ogre Allegro etc... Each one would be r...

Python audio library for simultaneous audio creation and playback

I'm working on an audio creation framework. It'll be generating large audio files, say 3 minute long audio files that take about 1 minute to generate. So what I want is a system much like streaming audio from the internet, where I play the sound as I generate it. Pygame's mixer allows me to edit the sound as it's playing. But I cannot fi...

need good sql library for php

hello, SO need library like crystal (crystal-project.net). at this time i use crystal, but this library not really for me at the moment (bad join and table prefix support, don't have function for get rows count). i don't need in ORM or abstraction library. i just need good mysql wrapper with chain method support (->order_by('-id')->li...