Questions tagged [libraries]

Use this tag for questions about software libraries. This tag is NOT for questions about computer programs used in public lending libraries or other brick-and-mortar libraries. Questions asking us to recommend or find a library are off-topic.

A library is a collection of non-volatile resources used by programs on a computer, often to develop software.

Libraries contain code and data that provide services to independent programs. This encourages the sharing and changing of code and data in a modular fashion, and eases the distribution of the code and data. Library files are not executable programs. They are either static libraries that are merged with an executable when the executable is being compiled and linked, making them "statically linked", or they are dynamic libraries that are loaded by a dynamic linker while the executable is running, making them "dynamically linked". The dynamic linker may also allow an application to explicitly request that a module be loaded and to obtain references to routines in the module; this can be used to implement plug-ins.

The above was taken from the Wikipedia entry Library (computing).


Questions asking us to recommend or find a library, documentation or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

3395 questions
41
votes
5 answers

How do I use external crates in Rust?

I'm trying to work with the rust-http library, and I'd like to use it as the basis for a small project. I have no idea how to use something that I can't install via rustpkg install . In fact, I found out today that rustpkg is now…
lucperkins
  • 768
  • 1
  • 7
  • 15
40
votes
4 answers

Does being a competent scala programmer require you to be a competent java programmer?

I am a big fan of Scala aesthetically, and of a lot of the conceptual work put into things like its typing system and libraries. However, as I have begun tinkering with Scala (and seen some of my coworkers tinker with it) i find myself having to dig…
knowtheory
  • 1,035
  • 7
  • 13
39
votes
2 answers

The abbreviation impl is used in a lot of libraries; What does it mean?

I've seen impl used as namespaces and as a class suffix in a number of different .net and Java libraries. I just want to know what it means and why it is used.
keithwill
  • 1,964
  • 1
  • 17
  • 26
39
votes
3 answers

Web Scraping with Scala

Just wondering if anyone knows of a web-scraping library that takes advantage of Scala's succinct syntax. So far, I've found Chafe, but this seems poorly-documented and maintained. I'm wondering if anyone out there has done scraping with Scala and…
Michael Tingley
  • 843
  • 2
  • 9
  • 9
36
votes
6 answers

How to include libraries in Java without using an IDE

How do I import libraries in my Java program without using an IDE, like NetBeans? In NetBeans I do it this way: How can I achieve the same thing by just using Notepad++ or Programmer's Notepad. As much as possible I don't want to use NetBeans…
user225269
  • 10,743
  • 69
  • 174
  • 251
34
votes
3 answers

What module(s) do I need to include to get 5.seconds to work in Ruby?

Because apparently require 'date' doesn't include the method hours or seconds etc: undefined method `hours' for 5:Fixnum (NoMethodError) Am I missing something? Is 5.seconds only something you can do in Rails? If so, what is the require statement I…
aarona
  • 35,986
  • 41
  • 138
  • 186
33
votes
2 answers

Could not get unknown property 'config' for type com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig

I'm trying to upgrade my libraries from : classpath 'com.google.gms:google-services:4.2.0' to classpath 'com.google.gms:google-services:4.3.0' and I'm getting below error :
Solanki Zeel
  • 548
  • 1
  • 7
  • 18
33
votes
2 answers

Using two different versions of the same NuGet package

I wanted to use two different version same library (OpenCVSharp 2.x and OpenCVSharp 3.x). I downloaded those two packages both to the separate project (let's call it OCV2Wrapper and OCV3Wrapper) and reference both wrappers in my project. I had to…
LightCZ
  • 695
  • 1
  • 8
  • 20
32
votes
7 answers

Library design: allow user to decide between "header-only" and dynamically linked?

I have created several C++ libraries that currently are header-only. Both the interface and the implementation of my classes are written in the same .hpp file. I've recently started thinking that this kind of design is not very good: If the user…
Vittorio Romeo
  • 90,666
  • 33
  • 258
  • 416
32
votes
16 answers

What programming languages are good for statistics?

I'm doing a bit more statistical analysis on some things lately, and I'm curious if there are any programming languages that are particularly good for this purpose. I know about R, but I'd kind of prefer something a bit more general-purpose (or is…
Jason Baker
  • 192,085
  • 135
  • 376
  • 510
32
votes
4 answers

python libraries for ssh handling

I'm going to write first code for handling ssh commands on python and I did search over the stackoverflow and can see that there are several python libraries that can be used for handling commands passed through ssh, like paramiko, pexpect and…
yart
  • 7,515
  • 12
  • 37
  • 37
32
votes
13 answers

fatal error LNK1104: cannot open file 'kernel32.lib'

I've been getting this error ever since I installed the .NET Framework SDK for 64-bit programming on my Visual C++ 2010 Express compiler. I can't compile even a simple program at all because of this single error I'm getting. My platform is x86. Here…
David G
  • 94,763
  • 41
  • 167
  • 253
31
votes
4 answers

Angular 6 library shared stylesheets

How can you setup a index.scss and import global stylesheets for variables, mixins, etc, to an angular 6 library? Angular CLI generates a lib with a root component & component scss, but the styles added or imported to the root component are not…
xaunlopez
  • 439
  • 1
  • 4
  • 13
31
votes
4 answers

Check if Library is used in Android app

I received some legacy code of app (not developed by me, but by some other team, with no documentation), which has almost 20+ dependencies, in build.gradle. Now, I wanted to clean up unused Libraries/dependencies, by removing them from build.gradle…
30
votes
2 answers

Installing Eigen on Mac OS X for XCode

A while back it was a nightmare for me trying to get Eigen up and running on my mac for XCode, but a friend managed to figure it out and shared the instructions with me. I don't want anyone to go through what I went through, so here's an…
Maria-Andersado
  • 777
  • 1
  • 9
  • 18