A library is a collection of resources providing data and/or services for developing independent software.
0
votes
1answer
48 views
Why doesn't libxml2 support XPath 2.0?
Libxml2 is the faster, stable and most popular "open DOM engine"... And the "XML C parser and toolkit of Gnome".
The initial release of Libxml2 was September 1999, 13 years ago. XPath v1.0 was also ...
-4
votes
0answers
47 views
Ideally, what should Javascript be like to program with? [on hold]
Hypothetical question here: If Javascript could include native implementations of any function/syntax/library (from, say, other programming languages) what would it/they be?
0
votes
2answers
34 views
Differences between different creative coding libraries
I've worked with Cinder previously under Windows, but have recently switched to Ubuntu. Since Cinder doesn't work on Linux (::sadface::) I've began looking for alternatives. With that in mind, could ...
4
votes
3answers
285 views
Why do some opensouce libraries lack comments?
I don't know if this happens to most Opensource libraries, but many of I know and use (for example OpenSSL, Webkit, ...) they all lack comments, or contain very few comments.
Not to mention their ...
1
vote
1answer
69 views
Type dependencies vs directory structure
Something I've been wondering about recently is how to organize types in directories/namespaces w.r.t. their dependencies.
One method I've seen, which I believe is the recommendation for both Haskell ...
5
votes
3answers
282 views
Coding Convention: C++ Header/Interface Files
I'm reading through a PDF on C++ programming from this page on Stanford's site. It says that when you're creating a C++ header file for a library interface, use a #ifndef preprocessor command to make ...
0
votes
0answers
74 views
What is good way to maintain library project without redundancy?
I am an Android developer, while I am developing a new project I often find I need to import a library project, so in every new project I need to to copy my library project and then I can add.
Is ...
0
votes
3answers
101 views
How could distribution and reuse flexibility be hurt by linking my program as a static or dynamic library?
I'm writing a small program that I want to be able to link with other programs. I also intend to run it from a command line interface, and maybe later with a GUI interface.
How could distribution ...
1
vote
0answers
57 views
Javascript library for Java source code reference
Could you suggest any JS lib, that will "recognize" all Java classes in specified text and create reference link to page with this class? (similar to Eclipse Ctrl+click)
There are plenty of good JS ...
2
votes
1answer
42 views
Branching library behavior based on 3rd party library existence
Someone proposed to me this pattern which I have never heard of before and can't find any information on it.
The basic idea is, when building a library for other developers to use; if the developer ...
2
votes
2answers
186 views
How to port cli c++ program with GNU libraries from windows to Linux
I need to implement some graph partitioning algorithms for my thesis. I have mostly Windows experience. I would like to know if it is hard to migrate c++ console program to Linux. I want to program it ...
1
vote
0answers
66 views
COM Interop & DI : Where to bind?
Recently I have "discovered" the virtues of dependency injection and I absolutely love the way it has affected my code - all the pieces are simple, focused and decoupled; I can now mock all the ...
8
votes
2answers
136 views
What guidelines should I follow while designing a library?
I am working on a Arduino project using the Uno. The project contains a significant amount of code. I would like to create a library and I may even share it later on. What guidelines should I follow ...
4
votes
4answers
348 views
Is it a good idea to build a library on top of somebody else's library?
Is it a good idea to use somebody else's library as a base and build your own library over that.
I want to make a JavaScript Canvas framework for a animation player on top of KineticJS. Should I do ...
2
votes
1answer
216 views
A simple C library filling the gaps in standard (C, POSIX) libraries?
I'm looking for a C function library, which would contain a collection of simple and plain utility functions "missing" from C or POSIX standards. I found this earlier question, but answers there list ...
2
votes
0answers
328 views
Is it bad to reuse other programmer's code libraries that can perform generic tasks? [duplicate]
Reusing large amount of helpful codes made by other programmers is very tempting for me. I specifically refer to codes that can perform generic tasks, such as Data Access Layer (DAL) codes.
I am ...
0
votes
1answer
255 views
Big project with many external libraries - source code organisation
I was wondering what is the best way to organize my source code. I was researching on SO and found http://stackoverflow.com/a/1398594/137261 but this source code layout is library specific and doesn't ...
6
votes
3answers
261 views
Few big libraries or many small libraries?
Over the course of some months I've created a little framework for game development that I currently include in all of my projects.
The framework depends on SFML, LUA, JSONcpp, and other libraries. ...
1
vote
2answers
205 views
Restrictions Calling DLLs Across Technologies?
I want to call a DLL in my programming language of 'choice'. The documentation surrounding this clearly states that it must be a 32-bit DLL written in C, C++ or Delphi. But I wanted to call a DLL ...
6
votes
1answer
283 views
Noda Time vs Joda Time?
In the Noda Time User's Guide, the rationale section states:
the public API has been largely rewritten, both to provide an API which is more idiomatic for .NET, and also to rectify some of the ...
13
votes
2answers
507 views
Should my small software library avoid using other libraries?
I've just released a small Java library that offers only a few classes and methods. Since I built the project with Maven, I immediately used several third-party libraries to achieve my goals, ...
-1
votes
4answers
308 views
Importing java.awt.* does not automattically imports java.awt.event.*?
In the Java programming language, why does importing of java.awt.* does not automatically import java.awt.event.* too?
Now, you guys may say that it's because it's java.awt.* and not something like ...
14
votes
5answers
1k views
Why don't modern libraries use OOP
I'm a beginner-level C++ programmer, but I understand the concepts of the language fairly well. When I began to learn external C++ libraries, like SDL, OpenGL (maybe something else too), to my great ...
7
votes
2answers
645 views
Why is using C++ libraries so complicated?
First of all, I want to note I love C++ and I'm one of those people who thinks it is easier to code in C++ than Java. Except for one tiny thing: libraries.
In Java you can simply add some jar to the ...
13
votes
3answers
870 views
Did C++11 address concerns passing std lib objects between dynamic/shared library boundaries? (ie dlls and so)?
One of my major complaints about C++ is how hard in practice it is to pass std library objects outside of dynamic library (ie dll/so) boundaries.
The std library is often header-only. Which is great ...
2
votes
1answer
72 views
Converting lib from other language to python and Rights issue
If I take a program, and basically translate its source from some language to python, with some small changes, can I do a entirely my new lib or I have to make a "version" of the old one?
would this ...
2
votes
2answers
309 views
Should unit test be in separated repository?
Should I put unit testing stuffs in a separate repository, not in the same repository as the programming library?
So I reference the programming library as submodule.
But most open source projects ...
0
votes
1answer
229 views
C++ Building Static Library Project with a Folder Structure
I'm working on some static libraries using visual studio 2012, and after building I copy .lib and .h files to respective directories to match a desired hierarchy such as:
...
1
vote
1answer
51 views
In GSL, why do some functions take a “workspace” argument?
In certain functions in GSL (GNU Scientific Library), some functions take a "workspace" environment as an argument. For example, gsl_poly_dd_taylor from this page. Why? Wouldn't it be easier for ...
3
votes
3answers
157 views
Library Organization in .NET
I've written a .NET bitwise operations library as part of my projects (stuff ranging from get MSB set to some more complicated bitwise transformations) and I mean to release it as free software. I'm a ...
2
votes
0answers
174 views
How best to implement HTML5 support for my validation library
I have created an annotation-based validation library called regula. There seems to be some amount of interest around the framework and the next thing I'd like to do is to support HTML5 validation. ...
5
votes
2answers
504 views
Questions about linking libraries in C
I am learning C (still very much a beginner) on Linux using the GCC compiler. I have noticed that some libraries, such as the library used with the math.h header, need to be linked in manually when ...
4
votes
1answer
137 views
Is there a standard for machine-readable descriptions of RESTful services?
I've interacted with a few RESTful APIs that provided excellent documentation for humans and descriptive URIs, but none of them seem to return machine-readable descriptions of themselves.
It's not ...
0
votes
2answers
322 views
LGPL License in commercial application
I have searched around but I don't seem to be able to get a clear answer on my questions that I understand.
I want to use the Xuggler library in my application, which is licensed either GPL or LGPL ...
3
votes
2answers
791 views
C++ Library API Design
I'm looking for a good resource for learning about good API design for C++ libraries, looking at shared objects/dlls etc. There are many resources on writing nice APIs, nice classes, templates and so ...
1
vote
2answers
207 views
Best approach for utility class library using Visual Studio
I have a collection of classes that I commonly (but not always) use when developing WPF applications. The trouble I have is that if I want to use only a subset of the classes, I have three options:
...
1
vote
3answers
196 views
Using a GPLv3 library in a freemium business model
I read several related questions about the use of GPLv3 in a commercial app but they don't say anything about a freemium app. I would like to use a GPLv3 library in two apps, a free one (with limited ...
6
votes
2answers
268 views
REST API Library Conventions
Most API libraries define one method for each endpoint. If there is an endpoint for getting user information, you might have a method like:
getUserInfo(userId);
That simple method is often a ...
6
votes
1answer
265 views
Can one edit a built-in Python module?
I'm currently learning Python and I'm at the point in the book about using the Math library. I looked on the Python website and noticed the library was a bit scarce and am writing some more useful ...
5
votes
3answers
299 views
Existing buggy code or a brand new one? (From time perspective)
I am facing some issues with a buggy library I currently have and it's used in my current project, I need to finish this project as soon as possible in order to deliver it to our client.
However, ...
1
vote
2answers
173 views
How to make custom libraries accessible?
I am trying to compile and install every custom module under it's own designated folder. (ex: /myApps/myLinux/compiled_app)
I had luck with Python so far, where my Python is compiled from source and ...
2
votes
2answers
351 views
What is the rationale behind Apache Jena's *everything is an interface if possible* design philosophy?
If you are familiar with the Java RDF and OWL engine Jena, then you have run across their philosophy that everything should be specified as an interface when possible. This means that a Resource, ...
1
vote
1answer
212 views
Should programmers prefer making wide libraries or thin libraries?
For classes and functions, it is clear cut: each should do only one thing.
For libraries though, this is less clear. If you have a library with collections, it might have multiple collections. It ...
7
votes
4answers
293 views
Licensing a JavaScript library
I am developing a free, open-source (duh) JavaScript library, and wondering how to license it.
I was considering the GNU GPL, but I heard that I must distribute the license with the software, and I'm ...
3
votes
2answers
272 views
Where should libraries be placed, in windows?
I have just moved from Linux to Windows, and I have to use the Zend Framework library. Where should the library be placed?
Directly on C drive
Create a lib folder like C:/lib/
Create a lib folder ...
2
votes
1answer
115 views
Is it possible to modify a video codec + distribute it?
this is my first question on this particular stackexchange node, not sure if it's the most appropriate place for this question (if not, guidance to the appropriate node would be appreciated).
the ...
2
votes
2answers
180 views
Want to use a lib for my project, confused with license (AGPL vs MIT License)
Im working on a Java Software and there is a need to use some extern libraries. I found two relevant libs. The one is on an AGPL and the other on the MIT License. Now Im asking my self, can I use ...
5
votes
1answer
105 views
When to use shared libraries for a web framework?
tl;dr:
I've found myself hosting a bunch of sites running on the same web framework (symfony 1.4). Would it be helpful if I moved all of the shared library code into the same directory and shared it ...
2
votes
1answer
177 views
How to encrypt data using the private key?
I understand that in asymmetric crypto systems:
The public key is generally used to encrypt data and only the private key can be used to decrypt that data.
It's trivial to derive a public key from ...
-1
votes
1answer
426 views
Client/Server App – Best online data storage/administration/communication library?
I work on some iphone/android apps and the “data stored on a centralized server” pattern seem fairly common.
So far, I have done one app like this, doing everything myself at a low level without ...