What is a good network graph library for language X?

I have noticed that a recurring question is: “What is a good network graph library for language X”. I have played with quite a few of the libraries and I can share my experiences with...

How to debug an App on Android with GDBSERVER?

I'm trying to debug a native shared library that my App uses through JNI. I can attach to a running app just fine with "gdbserver --attach pid" but i need to actually launch my app when i launch...

Why do C++ libraries and frameworks never use smart pointers?

I read in a few articles that raw pointers should almost never be used. Instead they should always be wrapped inside smart pointers, whether it's scoped or shared pointers. However, I noticed that...

Stepping through the debbuger in qtcreator causes gdb crash after a couple seconds

After I step through any code in this file in particular in a static library, gdb crashes after a couple of seconds. I can step through other parts of the static library and shared libs that I...

What happens to global and static variables in a shared library when it is dynamically linked?

I'm trying to understand what happens when modules with globals and static variables are dynamically linked to an application. By modules, I mean each project in a solution (I work a lot with...

Program on ARM cannot find shared library while ldconfig finds it

I have compiled my own shared library "libgsttest.so" which I put in /usr/lib/test /usr/lib/test/libgsttest.so I added a file "test.conf" in /etc/ld.so.conf.d containing one...

How can I view the contents of the App Group Shared Container directory when debugging an iOS app?

Fairly self explanatory. We can view the app's documents, library, tmp directories via Window > Devices (this has been the case forever). But when app extensions came on the scene with iOS8, the...

cmake: how to keep path to libraries during installation

I have some executable which depends on config files which relative path are setup in the source. The executable links against a library, which is created in the same project. What I am hoping to...

Using Telegram bot webhook by pyTelegramBotAPI and Flask on pythonanywhere.com

The question is about using webhooks in a Telegram bot using the pyTelegramBotAPI module. I am using pythonanywhere.com to host the bot. The following code works fine: from flask import Flask,...

Passenger running Flask site returning 500 error on Dreamhost

I am having trouble getting Passenger to work with Flask. I am running the Flask site on DreamHost inside a virutalenv running Python 3.5.2. The application should receive input from a query...

Compiling and linking position independent code (PIC) for ARM M4

I'm working on making a bootloader and giving it the ability to update itself. This process involves copying the binary to a new location, jumping to it, and using it to flash the new bootloader...

NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

I've just recently moved my websites from apache2 to Nginx as my new web server backend. got to love problems aha. HTML files in the web host director work prior to php files making there way main...

Should I take ILogger, ILogger<T>, ILoggerFactory or ILoggerProvider for a library?

This may be somewhat related to Pass ILogger or ILoggerFactory to constructors in AspNet Core?, however this is specifically about Library Design, not about how the actual application that uses...

How to fix "Could not find toolchain file" "CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage" cmake libjpeg-turbo.so?

I am working on generating libjpeg-turbo.so files for different CPU architectures. If I execute the below cmake in my build folder I am getting this error even though the toolchain file is present...

Show only dates in the mentioned range for the month using FSCalendar

I am using FSCalendar. I am able to achieve everything except below point: I want to remove dates for the collection view which are not in the range of the calendar. For Eg. My calendar date...

Knex.js default max pool leads to Error: ER_CON_COUNT_ERROR: Too many connections

We have 30 DigitalOcean droplets, each one for web CRM user, they are sharing the same MySQL database with knex.js. With few additional users we getting errors: "ER_CON_COUNT_ERROR: Too many...

Facebook share button works but the post message shows me an error

I'm using a library called ngx-sharebuttons for Angular 8, the buttons are working fine, but when I try to share a link, the post message shows me the URL of my website and a description saying...

ASP.NET Core - Controllers in referenced assemblies

I got a common library for .NET Core 3.1, in which I created a WEB API controller intended for sharing with multiple applications. In order to add this to an application, I expected to something...

python3.5 error 'dyld library not loaded: CoreFoundation' after macOS Big Sur update

Process: Python [1593] Path: /Library/Frameworks/Python.framework/Versions/3.5/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: ...

LSTM for time-series prediction failing to learn (PyTorch)

I'm currently working on building an LSTM network to forecast time-series data using PyTorch. I tried to share all the code pieces that I thought would be helpful, but please feel free to let me...

PostGIS extension not installing

hello i was trying to install postgis to one of my database with the following command CREATE EXTENSION postgis; but it returned an error of ERROR: could not open extension control file...

PHP oci8 installation fails on Ubuntu 18

I'm trying to install oci8 through pecl, following this link. I successfully installed oci8 following these steps last year, before the release of php8.0. This is my configuration: Ubuntu...

Django - Two Factor Authentication Custom Login

After a quick search and reading documentation I implemented Django - Two Factor Authentication in one of my Django project [Reference Link]. It works great I am using Google Authenticator for...

Connecting to google Drive API v3 with a service account in Android java app

I'm developing an Android app for internal use in the company I work for. I need to save a text file on a shared drive, on Google Drive. I've done this several times before using a service...

Web Application build error with net6.0 framework, is already signed (NETSDK1177)

I am working on MAC and dotnet core 3.1, 5.0 and 6.0 versions are installed on my machine. I not able to build Web Application on my machine due to shared error in this ticket. I can build web...

How to fill in Google Play Data Safety form taking into account Firebase Analytics and Firebase Crashlytics libraries?

I have an app which does not push any data to any server except that it uses the Firebase Analytics and Firebase Crashlytics libraries to submit analytics and crash reports to my Firebase account....

Running OpenFOAM native compile on a non-admin Windows

I have downloaded and installed a Windows native compiled OpenFOAM from here. But when I try to run any of the OF commands (e.g., blockMesh, foamDictionary, ...) in the MSYS2 terminal I get the...

Building Assimp with Code::Blocks and MinGW

I am trying to build Assimp with Code::Blocks and MinGW as a static library. I have downloaded the latest available version (5.0.1) and created a makefile for Code::Blocks using cmake-gui. I am...

Tensorflow setup in R | Error: Failed to load the native TensorFlow runtime

For the last 5 days, I am trying to make Keras/Tensorflow packages work in R. I am using RStudio for installation and have used conda, miniconda, virtualenv but it crashes each time in the end....

Java build issues - Java 8 to Java 11 migration

We're migrating from Java 8 to Java 11. We have a legacy project Y which depends on another legacy project X. The project X has no sources, it's just a collection of about 300 jars. The build is...