Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [third-party-libraries]

54
votes
6answers
13k views

How to deal with fear of taking dependencies

The team I'm in creates components that can be used by the company's partners to integrate with our platform. As such, I agree we should take extreme care when introducing (third-party) dependencies. ...
0
votes
1answer
90 views

Common methods for swapping out a library

I am trying to come up with a solution to replace joda-time with java 8 time in our product. The code-base encompasses many projects of which some import joda-time directly and some transitively. To ...
1
vote
2answers
100 views

Should you “rebrand” the exception of the library you're using?

Say your making a library Foo that depends on a 3rd-party library Bar. Bar throws a custom exception \OtherVendor\Bar\CustomException. Is it recommended to just throw that exact exception to your ...
2
votes
1answer
190 views

Bringing a large, complex legacy project under git control

I'm a newbie with respect to git, but not to version control in general — I've been using CVS and Subversion for years. I've read both the Progit and O'Reilly (Version Control with Git) books, ...
1
vote
1answer
54 views

Versioning hardware vendor SDK with git

We have n C projects which reference 4 different versions of a device SDK - 12.3, 13.1, 15.0, and 15.2. There is no public upstream repo for the SDK - it is released as a zip file. We need to patch ...
0
votes
1answer
74 views

Logic circuit simulation: homebrew or third party solution?

Software I'm working on requires simulation of logic circuits, both combination and sequential. Now the simulation doesn't need to be too detailed, in fact it could be detrimental to the function of ...
0
votes
1answer
61 views

Adapting third party conversions

I have a couple of pieces of functionality that are similar but not quite the same. They both involve converting a type that I own to other types that are owned by a third party library, so out of my ...
0
votes
1answer
45 views

Encrypted ID to 3rd party application

I would like to ask you a questions that arose these days with GDPR new rules. What I have is a payments service which use BrainTree to make the payments. In my side I store some information ...
3
votes
1answer
99 views

How do open source libraries like Apache Commons fit into the microservices architecture?

I'm reading about microservices, and one point I come across repeatedly, is, in order to achieve full indepencency, it's a bad idea to share libraries among microservices. Examples are here and here. ...
5
votes
4answers
2k views

What is the correct way of adding third-party code into a C or C++ project?

I want to incorporate some open source libraries into my C project. This is the first time I do that, so I don't know what is the right or most common way of doing it. I see two possible paths I can ...
-2
votes
1answer
303 views

Why are developers still using proprietary third-party libraries? [closed]

As the open source world is fairly advanced now and you can find an open source implementation of pretty much everything, why are people/developers still using the obscure/proprietary libraries? In ...
1
vote
1answer
193 views

Need to call private method in third party library. Copy all class or use reflection?

I need to call a method that is available in a third party library, but it is a private method. There is no direct or indirect way to obtain the same functionality via public methods available. I ...
3
votes
2answers
117 views

What are common/best practices for frameworks handling standard third-party exceptions?

Amongst other things in my life, I'm writing a framework in PHP to manage a slew of common problems I come up against in every project I tackle. The framework is currently very data-centric, with the ...
7
votes
2answers
440 views

What to do when third party won't fix bug [closed]

I've reported to a third party what I consider a very serious performance bug in a widely used product. Older versions worked fine. Newer versions are practically unusable except for what I consider ...
3
votes
3answers
657 views

How can I painlessly upgrade my team's codebase to Visual Studio 2017?

So our team has products that currently runs on Visual Studio 2013. Now we want to move to Visual Studio 2017. So I've been assigned the task to make the transition to Visual Studio 2017 as painless ...
3
votes
1answer
120 views

Put source code for dependencies within the project itself

I have a project that depends on external libraries that can be installed through a package manager (pip in this case). But I do not expect my users to have knowledge of installing these dependencies ...
2
votes
2answers
174 views

Third party dependencies management

I'm looking for a strategy to manage my third party dependencies. I don't mean package managers and vendor techs, I mean a process of making decisions about to add a third party lib or to write ...
51
votes
7answers
8k views

PM opting for an overly-complex setup which nobody has experience with [closed]

Recently I started a project which didn't seem too hard to make, the concept was a fairly simple application that had to accept input every now and then (maybe 10x a day), and try to perform some ...
1
vote
2answers
469 views

How should I access a third party API which requires a key?

I am accessing a third-party API. It requires a key, which is the same key for all of my users. Currently, my application includes that key in the client-side code, and calls the third party API ...
10
votes
2answers
557 views

If there are two ways of approaching a task, how should one choose between them?

I have a specific use case, and have found 3 ways of doing it across the internet, which are defined for vague usage cases. I am staring at these three wondering which to apply. I tend to sit there ...
4
votes
3answers
212 views

Best practices for when a 3rd party dependency breaks?

I am working in a php project, and our 3rd party dependencies are managed with packagist via composer.json. Pretty standard stuff. Sometimes we run into a situation where a given plugin has some issue,...
-1
votes
1answer
123 views

Three.js Screen Tear

Using Three.js Revision 51 (Yes I know the latest is 84) I am getting a screen tear at random times on the load of my page. It seems like it's 50% whether it's a hard refresh or a fresh load of the ...
2
votes
1answer
2k views

How do you use external libraries in git?

SFML, in this case, has a Git repo and a download page. Until now I have always downloaded from the download page, which came (at least for the compiler I use) with .a and .hpp files and could easily ...
5
votes
1answer
142 views

Framework logs on client application

We are currently building a framework (closed source static library) that will communicate with some Smart home devices via Wi-Fi. This framework will be used by 3rd party developer to build their own ...
3
votes
1answer
2k views

Should you include libraries and code-unrelated files in your git project and upload them to Github?

When you are working with an external library in git, should you add it to Git or should it be in gitignore? If you put it in gitignore, you run into the problem that if someone (or you yourself on ...
1
vote
1answer
490 views

Best approach to learn OpenCV to use with Swift? [closed]

I am trying to figure out how to use OpenCV with XCode's Swift. I need to do realtime video processing for the project I am working on, but I can't seem to find any good references on learning OpenCV ...
17
votes
4answers
693 views

How can I reduce the manual effort for wrapping third party libraries with a larger object model?

Like the author of this question from 2012 and this one from 2013, I have a 3rd party library that I need to wrap in order to properly test my application. The top answer states: You always want to ...
3
votes
1answer
232 views

Should third-party types be exposed in a public API?

tl;dr: Should I avoid exposing third-party types in a public interface? I'm working on a Kotlin-based project that relies heavily on data keyed with two values. It's just something I'm tinkering ...
2
votes
1answer
1k views

Is it a bad practice to subscribe to an event with an Action

I use a third party library for speech recognition. This library give me access to some classes ( SpeechRecognitionEngine, SpeechRecognitionConfiguration etc) which give me access to some events (...
1
vote
1answer
43 views

Can a library/plugin be based on other, common, libraries in that language?

Using JS as an example here, if I am creating a library/plugin, and intend to make it available to others, should I keep it in Javascript? Or would jQuery be an acceptable dependency? At what point ...
4
votes
2answers
213 views

How to VCS a large-scale, “atomic” refactoring?

When migrating a project from one heavily-used library X to another library Y which is essentially equivalent but doesn't have the same API, it may be necessary to make a lot of changes. In the case I'...
4
votes
1answer
5k views

What should I use for @Nullable if I used the lombok @NonNull?

I am using the lombok @NonNull annotation for some of my fields, parameters and methods, partly for null checking, and also partly for documentation purpose. It is then confusing if I added a @NonNull/...
-3
votes
1answer
179 views

What is my problem with third party tools and tools suggested by coworkers or friends? [closed]

I am a 4+ years experienced C#, ASP.NET MVC5, Flex, Actionscript, Html, css, jquery, php developer. I have a passion for developing and I'm not scared about learning new things. In fact I read ...
6
votes
5answers
342 views

How can a programmer know whether he has to program a method or search for it in a library? [closed]

I am a beginner programming in Java. And when confronted with a new task I wonder whether I should code the function or search for it. For example, if I want to calculate 10!, or cos A, I reckon that ...
1
vote
0answers
92 views

writing unit tests for 3rd party applications

Does anyone have any comments on how to write unit tests for 3rd party applications like kamailio...that allow you to write "configuration scripts"? https://www.kamailio.org/wiki/cookbooks/4.0.x/core/...
0
votes
1answer
98 views

Are there pitfalls to consider when integrating with third parties? [closed]

In many of my personal and professional projects inevitably comes the moment where we have to weight pros and cons of integrating third parties versus developping a home solution. I've always been a ...
3
votes
1answer
96 views

Editing Python libraries

I have been using Python for a fairly long time and now I want to modify a Python library to fit my needs. There are two ways to do this as far as I know. One is to modify the source code itself. ...
3
votes
1answer
361 views

What's a good way to manage my code's dependencies on libraries without releases?

I'm writing this small utility, FOSS but not intended for wide deployment, packaging in OS distributions etc. My utility depends on several libraries - some are header-only (it's C++), some are ...
0
votes
1answer
109 views

Who should I submit a bug to when two vendor libraries collide?

I found a bug. Yay for me. The bug is such a mix of technologies I am not sure who I should submit the bug to. The bug is a mix of Adobe Experience Manager and Angular Materials. Neither is really ...
1
vote
1answer
1k views

What is the difference between a 3rd party lib and a plugin

What is the difference between a 3rd party lib and a plugin? How do I choose what should be pushed to these repos? plugins-release-local = Your and 3rd party plugins (releases) plugins-snapshot-...
-3
votes
1answer
111 views

Deterministic function shows undeterministic behaviour, how is this possible?

How can a bug could occur on static, fixed input data only "sometimes"? The following is simply an example I have observed, but I am not interested in an answer specific to the GD library. I have ...
0
votes
1answer
97 views

Licensing, how to?

I'm currently developing an application that has quite a few dependencies. Now I want to release the code as open-source under the WTFPL (Do What the Fuck You Want to Public License). Of course this ...
5
votes
1answer
194 views

Including a library to use one function / utility classes

At my place of employment I have noticed a weird thing where developers will include largish libraries to do simple things. To be clear we're a Scala shop. Here are two examples that occured : 1) In ...
10
votes
6answers
9k views

Wrapping third party library is best practice [duplicate]

I came across with following statements while reading the Clean Code book of Robert C. Martin. Chapter : 7 : Error Handling Page No : 109 ..In fact, wrapping third-party APIs is a best practice....
3
votes
3answers
192 views

Should updating to a newer library be done incrementally or in one big leap? [closed]

The project that I am currently working on is using a library (well, sort of a library, it self-describes as a toolkit, Geant4), that is several versions out of date. As there are bugs in it, that ...
0
votes
1answer
706 views

Usage of github libraries

So far there had been a lot of external libraries provided for us to reduce our efforts on coding and utilising the time to provide quality apps to the play store. Now, I am keen to understand ...
3
votes
2answers
172 views

How to decide what library to use?

I'm faced with the question of what library to use in an Android app. For the sake of generality and objectivity, I'll avoid mentioning what the libraries actually do. I've narrowed the field down ...
-1
votes
1answer
190 views

Formal justification for use of third-party libraries [duplicate]

My team and I develop and application which uses a number of third-party libraries to fulfill certain common functions. (It's a Java application and uses a number of Apache Commons libs, Log4j, etc.) ...
1
vote
2answers
510 views

Implementing an anti-corruption layer with domain logic

I'm building an application that compiles a single PDF document from multiple source PDF documents as follows: it takes the first page of each source document, stamps certain information on top of ...
0
votes
2answers
1k views

What open source library licenses can I use in closed-source?

I like to create a closed-source program and sell it. I would like to make use of various open source libraries to make it easier to write this program. So how I will choose the libraries that I ...