Questions tagged [third-party-libraries]

Filter by
Sorted by
Tagged with
3
votes
1answer
175 views

DDD: Viable approaches to integrating with external systems (Adapters, ACLs, Bounded Contexts)

Our team have been debating approaches to integrating external or third party systems when using DDD. The literature is extensive, but sometimes contradictory. Just like a UL helps us better ...
4
votes
3answers
158 views

Should you use popular(e.g. OpenCV,boost, Eigen, Tensorflow) types on your interfaces?

Suppose you are writing a software where there is a popular existing library that does not have all the algorithms/features you want but provides some "vocabulary" (equivalents of std::vector/std::...
2
votes
4answers
153 views

Wrapping 3rd party library - avoiding leaking abstraction

I'm currently developing an application using SFML. My biggest concern at the moment is making a layer of abstraction over the library, so I can easily change it to something else if needed. What I'm ...
0
votes
1answer
106 views

How to avoid messy code when working with different libraries

I'm planning to work with different libraries that use different conventions. One uses snake_case, another one uses camelCase. This leads to code that looks like I can't make up my mind: Some_Result ...
1
vote
2answers
167 views

Should we include the entire sources of the libraries used in our project?

I'm used to using static link libraries in my projects. This doesn't make the solution heavier and allows to be updated more easily. However, I see some GitHub repos providing in their sources the ...
-1
votes
1answer
74 views

How to handle third-party licenses of indirectly used packages [closed]

We develop an application using npm with several third-party packages. Now we want to release our app to the public. That we have to reference the licenses of the packages should be self-evident. But ...
54
votes
5answers
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
107 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
133 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 ...
3
votes
1answer
307 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
69 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
80 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
65 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
47 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 ...
4
votes
1answer
137 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. ...
9
votes
4answers
6k 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
341 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
355 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
155 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
922 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
901 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
130 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
420 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 ...
2
votes
2answers
741 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 ...
12
votes
2answers
850 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 ...
3
votes
3answers
300 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
166 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 ...
3
votes
1answer
4k 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
172 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 ...
4
votes
1answer
3k 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
555 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 ...
15
votes
4answers
902 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
2answers
335 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 ...
3
votes
1answer
2k 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
219 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
9k 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
182 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
346 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
102 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
589 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
410 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
111 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 ...
2
votes
1answer
2k 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
111 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
212 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 ...
14
votes
6answers
12k 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....