library

Pointers, books and documentation on writing proper libraries.

I know quite some rules-of thumbs, but would like to learn some (backed up) documentation on what makes a good library. Things such as "a library should probably not have a GUI" or "Libraries have stable, welldocumented APIs" make sense, but I miss the larger picture. Any books, online documentation or other pointers are more then wel...

The best way to abstract a JavaScript library?

What would be the best way to abstract away any given JavaScript framework (jQuery, MooTools etc.), that sits on the bottom of the framework stack? Essentially, I would like to have a situation where I could swap out the library, do changes only to one layer of the framework (not to every module, for example), and the whole thing could b...

Create library for Android development?

Hi, I'm pretty new to Android development, but I have some experience with Java and Eclipse. I'm looking for ways to create re-usable libraries (controls, helpers, "standard" activities, etc.) that I could use in my own projects, but that could also be distributed to other developers without disclosing the source code. Normally, I'd p...

using a different JSON library than org.json in the impl while stuck to it in the interface

Sorry if the title is not clear... couldn't find better org.json.JSONWriter has the strange limitation of 20 as a maximum nesting depth which is causing me troubles. I am stuck to the library as I have to implement a third-party interface having a method: void write(JSONWriter writer); the only workaround I can think of is to use a d...

Edit library in hex editor while preserving its integrity

I'm attempting to edit a library in hex editor, insert mode. The main point is to rename a few entries in it. If I make it in "Otherwrite" mode, everything works fine, but every time I try to add a few symbols to the end of string in "Insert" mode, the library fails to load. Anything I'm missing here? ...

How to know the location of the library that I load in Python?

import ABC loads ABC from somewhere. How can I know the 'somewhere'? I may be able to check the paths in sys.path one by one, but I wonder if I can find it in Python. More Questions When I load library with 'from ABC import *', how can I know where ABC is located? Can 'class xyz' know where it is located when it is called? ...

Python Torrent Library

Does anyone know of an existing python library that I can use for working with / downloading torrent files? I am working with a project where I need to download torrent files, and I would like to not have to implement the specification myself if there is something out there that would make it easier. ...

How to create a libJSON library?

I downloaded C++ libJSON from this link: And they suggest me to use it as a library. How can I create library using the code they have provided? ...

Including client files for shared file

Okay, so I have 2 projects for a game. One is the server and one is the client. I keep the shared units into a shared folder that I use to include in my client/server project. There is a problem however: I have a shared file that needs a different file for client / server. Example: mySharedLib needs to print to the console, however the c...

Hide control within a WPF User Control Library

Hi, I've a project made from the "WPF User Control Library" Template in Visual Studio. This project contains one main usercontrol plus additional Windows/Usercontrols. How can I "hide" these additional Windows/Usercontrols, so that the user can only import the main usercontrol from the assembly (I wanted to put a screen-shot to illustr...

C ++ using dcmtk library

I want to use dcmtk library in my project in C++. How should i add these libraries to the project? I tried : #include "dcmtk/ofstd/ofstdinc.h" and adding every file to 'Header file', but there are to many libraries to add. How can i add these shorter? . How can i convert it to .dll library for use it in C# project? ...

LGPL Licencing for Inclusion into other libraries.

There are quite a few LGPL Libraries that I use that have fallen out of maintenance and have no documentation. I found that a few of these libraries are extremely useful and they are all LGPL or MIT. Could I combine these libraries into my own library, released under LGPL and maintain those myself as a branch? Also, some of these librari...

How can I install httpclient and other libraries in Java so I can use them in Eclipse?

Hey there, I'm a new Java developer I've only ever done PHP in the past and all the functions I needed to use were built into PHP. This doesn't seem to be the case with Java though! I downloaded Eclipse and wrote a hello world and some other things and everything is working great for me! I downloaded httpclient (from http://hc.apache.o...

decode an mp3 to a stream of ints.

I'm looking for an easy to use lib that will convert an MP3 file to a sequence of int values (and the reverse), preferable without having to dump them all into RAM. A "decode the next 16kB into this buffer" like API would be ideal. I need C or simple C++ bindings. A MP3<->RAW filter CLI tool would work but I'd rather not have to keep u...

C# library to take screenshots?

Is there a good library I can use in c# to take a screenshot/snapshot? One where I can drag and drop a region of my screen, to take a screenshot/snapshot of it? ...

how can I use static library build by different version of mingw?

Greetings, I am facing a complicated situation about using a static library under windows. The static library is build by a specific version of mingw which is bundled with Eiffel studio. Since Eiffel studio uses mingw to create its output as a static lib, I have no control over this configuration. If I try to use this static library w...

ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error

RE: ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error Two Issues, apparently unrelated. I have subfolders like this /ApplicantDocuments/20 and /ApplicantDocuments/21 (where 20 and 21 are my subfolders and ApplicantDocuments is my library. The below function is erroring with file not ...

How do I get a precompiled binary for glu?

I have MinGW and MSys set up on a windows 7 machine, but the glu libraries that came with it are old, and dont support gluBuild3DMipmaps. I have searched everywhere for a precompiled glu library for MinGW that I can use, but I can't find anything... I can't even find documentation on how to build one. So where do I get the newest versio...

Duplicate symbol between two libraries

Hello, I have the following problem: I'm linking against the Admob library which contains some part of the GData API. But I also want to link with the GData static library to use it directly in my own application. Of course, I get duplicate symbols at link time. How can I avoid that? ...

Code from the Statically linked library not working.

I have made some changes in the static library, I don't see any difference in the code when I am debugging code. debugger is going through the new code but it's not doing anything. please help, Best wishes. ...