A library is a collection of resources providing data and/or services for developing independent software.

learn more… | top users | synonyms (1)

0
votes
0answers
53 views

Referencing a library in a project in a way that allows dependent libraries to reference classes in them as well?

In this specific case, I'm working with Bukkit and Forge for Minecraft. I have bukkit plugins that reference my bukkit library and forge mods that reference my forge library. Naturally, there are a ...
7
votes
3answers
1k views

Are there open-source JavaScript libraries addressing multiple browser tabs and client state for newer browsers?

There are a few new HTML5 features that have made it into recent browsers that allow sharing state among tabs, browser windows, same domain windows, etc. So it's probably gotten a little easier to ...
0
votes
1answer
34 views

External libraries licensing

The problem I have might seem trivial for some of you but in general I have a question about all those "free" software licenses (mainly for PHP libraries). Let's assume that I want to create project ...
1
vote
0answers
26 views

Android network Lib development

I have to develop an Android library that should frequently communicate with a server in the background. Access to the lib Object should be guaranteed everywhere in the Apps that will use it, so I ...
0
votes
3answers
178 views

How should I include jQuery in a library?

I'm writing a JavaScript graphing library using canvas which I am licensing under MIT, and I'm using jQuery, as well as a couple of other open sourced libraries, all under MIT. I'm also using bower to ...
2
votes
3answers
312 views

Choosing language to write general library in

I'm about to start writing a library to support machine learning algorithms (decision trees, ANNs, Bayes nets, etc.), and I'm planning on making this a very general library. By this, I mean I want to ...
0
votes
2answers
155 views

What is a class library? [closed]

I'm working on a lawsuit and I need a definition of a 'class library' that I can reference. Every book and all the documentation I can find seems to assume the reader already knows what a library is. ...
2
votes
2answers
181 views

Deny use of my library to compete a certain company

I'm developing a library for reading/writing a file format of a program created by a certain company. The guys from that company were so kind that they provided me with a documentation for their ...
-1
votes
0answers
47 views

Android Set Device DIscoverable (bluetooth) without any dialog [migrated]

How can I set the dialog to be hidden / suppress it to Yes when I try to execute the following code below? discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); ...
0
votes
1answer
86 views

Using GPL library in our software [duplicate]

Currently we're starting to work on a project for which we're going to need image processing libraries. The problem is some of the libraries are GPL licensed. I'm reading through GPL licence and ...
4
votes
3answers
467 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 ...
7
votes
2answers
1k 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 ...
0
votes
1answer
213 views

If a library doesn't provide all my needs, how should I proceed? [closed]

I'm developing an application involving math and physics models, and I'd like to use a Math library for things like Matrices. I'm using C#, and so I was looking for some libraries and found Math.NET. ...
1
vote
0answers
52 views

How do I manage a JavaScript library with TFS?

I know that I can share files between Visual Studio projects using linked files and assemblies using project references. Is there a good approach for JavaScripts? I'd rather not use linked files since ...
1
vote
2answers
242 views

In embedded, is there any difference between a device driver and a library?

Assuming a platform with no kernel mode, such as Atmel AVR, is there any difference between a device driver and a library, given that everything is user mode anyway? I ask because I'm thinking about ...
0
votes
0answers
137 views

Reusable and customizable charting library on top of d3js

I have started building a charting library on top of d3js using javascript's inheritance. My goal is to develop reusable and fully customizable chart components. I read the article: Towards Reusable ...
3
votes
2answers
168 views

How to manage memory in C interface for C++ implementation considering c++11?

I have a library implemented in C++ which has a C interface. This C interface is, for all intents and purposes, the only way to use this library. C++11 seems to discourage the use of raw pointers but ...
1
vote
1answer
85 views

How to organize repositories for a split library?

I have two libraries that implement a protocol: one provides tools for establishing a channel between two parts, and the other provides classes and tools for building and parsing the binary protocol ...
52
votes
3answers
4k views

Why do JavaScript frameworks/libraries have functions which already exist in pure JavaScript?

I wonder why frameworks/libraries have their own helpers although they exist natively already. Let's take jQuery and AngularJS. They have their own each iterator functions: jQuery.each() ...
2
votes
1answer
76 views

How to do an effective code review of library changes?

One of my projects just changed the version number of a supporting third-party library. Specifically, we changed a J2EE app from JPA 1.x to JPA 2.0. Our CI system has had this change for a week and ...
0
votes
2answers
124 views

Minified version of JavaScript library under LGPL used on a site without copyright notice

On this site hackfind.com the autor put minified version of my library without any copyright notice. Is this violation of the LGPL. Note that using on a site is not a copy.
1
vote
2answers
1k views

Why did javascript libraries like knockoutjs, backbonejs, and angularjs only come out in 2010?

Being a relatively new web-developer I am surprised that these libraries didn't exist before. Is there a particular technical or historical reason that at around Sep 2010, a sudden development and ...
1
vote
2answers
121 views

Is it okay to user other open source libraries when building your own or should that be avoided?

Seems like an odd question, but I've been questioning this myself for some time now. I've been told that, if you're working on a open source library/project, you should avoid adding dependencies for ...
1
vote
3answers
348 views

Should I pass array or pointer?

I am writing a C++ library (but prefer C style interface functions) and one of the function returns array of floats. I am not sure if I should pass pointer or fixed array to get this data? // in the ...
1
vote
7answers
128 views

How can I use different versions of an evolving library in different projects?

The problem I write a lot of exploratory code in my research. As I go along, I put functionality that I'd like to reuse in a central location. A project might look like this: ./mylib ./exploration ...
0
votes
1answer
44 views

Universal means of describing what functions a library should expose

I am busy with a hobby OS and I am planning on making the project open-source and eventually have support for multiple platforms. With this in mind I have taken the approach of putting all hardware ...
0
votes
1answer
117 views

Use of Unmodified AGPLv3 lib - am I AGPL too?

So, I've been reading the AGPL and here is my understanding (not being a lawyer and I'm not trying to look at it through the lens of "Since I WANT it to be ''free'', it therefore is.". In my case, I ...
0
votes
0answers
137 views

Where to put external libraries in a Qt project?

I create many small Qt Creator projects (.pro file based, not CMake) and sometimes need to use external libraries in them. Up until now I used to have a project structure like below: project folder ...
0
votes
1answer
146 views

Java has lots of libraries. How much more than other modern languages? [closed]

The only programming language I ever used 'seriously' to create relatively big applications, is Java. Thus, I'm very familiar with the fact that Java offers a lot of built-in libraries that help with ...
5
votes
3answers
460 views

Member functions vs. Non-member functions for math operators

I'm writing a linear algebra library (long story short, it's a school assignment) that involves matrices, vectors, etc. In the process of creating this library, I'm going to be creating functions ...
0
votes
0answers
89 views

Using web api or libraries

We currently have 1 domain and 4 subdomains using 5 different applications. We are programming in asp.net and we have 6 different solution project. 5 applications and 1 solution for shared back-end. ...
-2
votes
4answers
134 views

Algorithm/research on detecting language of text [closed]

I am interested in finding an approach that will detect what language a string of text is. As Google translate does.
5
votes
1answer
106 views

Dangers when implementing features as plugins [closed]

What kind of problems have you encountered when building plugin interfaces for your application? And how did you resolve them? Background I want to refactor an application so that various features ...
1
vote
2answers
148 views

When would you choose *not* to update a third-party library to a newer version?

Using third party libraries for productivity gains in software development is common. Unfortunately, along with the library's functionality we also import its bugs. Some of them get fixed in ...
1
vote
1answer
290 views

Using jTransforms for a commercial (non-free) android application?

I am developing an application which is using JTransforms to compute FFT and InverseFFT. I am planning to sell that application on Play Store. The JTransforms Library is covered under MPL/LGPL/GPL ...
6
votes
3answers
295 views

Should public code libraries I have written stay free and open after using them in a contract / commercial product?

I have written a small library of classes in my preferred language (PHP, but it doesn't really matter), and typically use them in most of my projects. Until now, the projects have been personal, or ...
2
votes
1answer
280 views

C# dynamically linking different libraries and/or external classes

tl;dr Is it possible to include an external library (and create instances of objects represented within that library) based on some condition? This must be done at compile-time, so separate builds? ...
3
votes
1answer
214 views

Proper way to “compile” a javascript project?

I'm developing a small open-source javascript library, and I was wondering about the proper method for compiling the source into one javascript file. It's easier to develop if the code is split into ...
1
vote
2answers
77 views

Can some LGPL library published upgrades use a commercial library?

I am using a LGPL v3 library and have made upgrades to it. Before using these upgrades, I understand I have to publish them. That's al-right. Is it legal if I perform upgrades that use a commercial ...
3
votes
3answers
324 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 ...
1
vote
4answers
249 views

Should timeout be a public static property or a parameter to every function?

TLDR: Should TIMEOUT be a public property on my static class, or a parameter to every function? Background: I am releasing a c# client-api library that facilitates communicating with our REST api. ...
1
vote
0answers
93 views

What are the tradeoffs involved in referencing Context in a library?

Context is one of the core classes of Android, and many functions it contains are useful in Android library projects, particularly accessing configuration. What are the trade offs involved in ...
4
votes
4answers
385 views

Should I fork for a major re-write that uses a small amount of the original code? [closed]

I'm writing a library. It's a completely rewritten version of another one, to suit my needs (PCL compatibility, mainly). However, the API will be completely rewritten, as I'll need to change a lot of ...
0
votes
0answers
50 views

In what situations do mutually dependent modules have an advantage?

Earlier today I created two mutually dependent, implicitly linked DLLs just to see if this was possible: http://i.imgur.com/GMACpnC.jpg I am just curious; in general, what advantages might this kind ...
1
vote
2answers
134 views

Where in computer science education does “reuse and integration” find comprehensive coverage?

This intro is only my naive attempt at a mile-high snapshot helping me to position my question. Any user trying to answer my question, that tries to nail down one aspect of programming, will have to ...
12
votes
14answers
920 views

Which library/framework did you ditch as being too complex for the problem it is solving? [closed]

... and coded the functionality "manually"? As a rather metaphorical example, you'd hardly need a library for solving quadratic equations, although such libraries do exist and someone takes them ...
0
votes
4answers
127 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 ...
2
votes
1answer
1k views

What is the difference between HaXe NME and OpenFL?

On http://en.wikipedia.org/wiki/NME_%28framework%29 there is an info: NME is an open-source game and application framework that supports iOS, Android, BlackBerry, Microsoft Windows, Mac OS X, ...
0
votes
3answers
819 views

What open source license is best when releasing a framework or library? [closed]

I am thinking of releasing libraries and frameworks which I have written in Java to other developers. I've spent a lot of time researching what open source licenses are available, and the differences ...
3
votes
2answers
165 views

How do I alter an open source library for my own use?

I'm programming in Objective-C. I want to include a camera library, DLCImagePicker, in my project. There is a variable I need to change, but it is private and I have no access to it. I've thought of ...