Is there a standard file extension for gnuplot files?

I have seen .gnu, .plt, and .gplot as file extensions for gnuplot scripts. I know Linux doesn't care about file extensions, but what extension most universally declares to human beings "I am a...

Compiler support of GNU Statement Expression

Which modern compilers support the Gnu Statement expression (C and C++ languages). What versions should I have to use a statement expressions? Statement expression is smth like ({ code; code;...

How can I detect BSD vs. GNU version of date in shell script

I am writing a shell script that needs to do some date string manipulation. The script should work across as many *nix variants as possible, so I need to handle situations where the machine might...

Recipe for target `autoloads' failed while building Emacs in Cygwin

I am trying to build Emacs on 64-bit Windows 7 using Cyqwin: Emacs 23.3 or 23.4 CYGWIN_NT-6.1-WOW64 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin Some info from ./configure log: What compiler...

adb can list devices but adb shell/logcat doesn't work

Short version adb devices can list device, but adb shell or adb logcat just hang and don't work. Long version Here are various command outputs. /* system info */ $ uname -a Linux ubuntu-vm...

Does Instagram return HTTP 500 response due to rate limiting and/or some form of request filtering?

I'm developing a tool for checking the integrity of links in a web page. I've noticed that various Instagram URLs will return a HTTP 500 response in cases where if one were to visit the given URL...

_XReply() terminates app with _XIOError()

We're developing some complexed application which consists of linux binary integrated with java jni calls (from JVM created in linux binary) from our custom made .jar file. All gui work is...

Unable to compile any C++ Code

Whenever I try to compile a C++ file with IOStream , I get this error.. I've tried reinstalling GCC G++ (both 4.6 and 4.9) AND cpp.. It hasnt helped (or maybe I didnt do it the right way). How do...

cmake error : opencv2/opencv.hpp:opencv2/opencv.hpp:No such file or directory

I am compiling opencv programs with cmake. The code is as follows: DisplayImage.cpp: #include <stdio.h> #include <opencv2/opencv.hpp> using namespace cv; int main(int argc, char** argv ) { ...

Check Which operating system is installed ( CentOS, Ubuntu, Redhat, ... etc)

I have been given a server with OS installed. I want to check which Operating system is installed in it. I have used uname -a with ouput of Linux ctl 2.6.32-573.3.1.el6.x86_64 #1 SMP Mon Aug...

gnu-sort - what does manual mean when it says merge option does "not sort"

I am trying to sort a file that is too big to fit into memory. The man for gnu sort under option -m states: merge already sorted files; do not sort. I am struggling to understand the...

Ignore system headers in clang-tidy

tldr;> How do I hide warnings from system headers in clang-tidy? I have the following minimal example source file, which triggers a clang-tidy warning in the system headers: #include <future> int...

Boost stack-trace not showing function names and line numbers

I was exploring the boost::stacktrace by trying a simple example to print the call stack of a recursive function. #include "boost/stacktrace.hpp" int factorial(int x){ if (x < 2) { ...

Upgrade glibc 2.17 to 2.19+ on CentOS 7

First of all, Dropbox emailed me saying that I must upgrade glibc to 2.19+, otherwise Dropbox will not run.Then I follow the steps below to upgrade glibc. wget...

Locating iostream in Clang++: fatal error: 'iostream' file not found

I wrote the following simple C++ program: #include <iostream> using namespace std; int main() { cout << "Hello, World" << endl; return 0; } When I compile this with g++, it works...

How to fix arm-none-eabi-objcopy: error: the input file 'led' has no sections

makefile: led.hex: led @echo 'Invoking: GNU ARM Cross Create Flash Image' arm-none-eabi-objcopy -O ihex "led" "led.hex" @echo 'Finished building: [email protected]' @echo ' ' build message: Invoking: GNU ARM...

Access build-id at runtime

I am trying to figure out how to access the build-id generated by the linker at runtime. From this page, https://linux.die.net/man/1/ld When I build a test program like: % gcc test.c -o test...

Flutter run (syncing files) does not finish

The flutter build/sync process does not finish for me. It's stuck at Syncing files to device Android SDK built for x86.... The issue happens with every app and is not connected to the emulator...

clang-tidy - ignore third party headers code

I'm using CMake for my project and I wanted to introduce clang-tidy checks to the project. I'm using for this purpose CMAKE_CXX_CLANG_TIDY and .clang-tidy file for checks setup. I wanted to use...

certbort commands return ModuleNotFoundError: No module named '_cffi_backend'

I followed a guide to get my python flask app running and I am at the last step where I change http into https with certbot. But when I run my certbot command sudo certbot --nginx -d domainname -d...

Docker Alpine executable binary not found even if in PATH

I have an alpine running container which contains some binaries in usr/local/bin When I ls the content of usr/local/bin I got this output : /usr/local/bin # ls dwg2SVG dwg2dxf dwgadd ...

_ctypes.cpython-39-x86_64-linux-gnu.so: undefined symbol: PyFloat_Type in embedded Python loaded with dlopen

I am using embedded Python (3.9) in ubuntu 20.04 and trying to import ctypes which produces the error _ctypes.cpython-39-x86_64-linux-gnu.so: undefined symbol: PyFloat_Type. I am compiling a...

Zlib error when attempting to run npm install or yarn

I have just made some pulls from my library's from GitHub, I was using my windows computer to do the coding in VSCode. The code has no problem, although when I attempt to run npm install or yarn...

Facing error while running python azure function app: ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found

Facing below error while running python azure function app: ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found Also facing issue in ci pipeline 'install dependencies'...

error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory when trying to use clang as compiler

Setup I'm trying to install a python wrapper for a library called TA-LIB. I installed clang on ubuntu20 with apt-get install clang clang++ Before installing the python wrapper, you have to install...

wxPython not installing via PIP on Apple Silicon M1 Max

Have a project that is written in Python 3.8.x and wxPython. It was developed on an Apple MacBookPro (Intel-based). wxPython installed via PIP inside a virtual environment without problems. Life...

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...

Count trailing newlines with POSIX utilities or Perl

I'm looking for ways to count the number of trailing newlines from possibly binary data either: read from standard input or already in a shell variable (then of course the "binary" excludes at...

Installing compiler on Mac M1 Monterey for Rcpp and other tools

I'm trying to use packages that require Rcpp in R on my M1 Mac, which I was never able to get up and running after purchasing this computer. I updated it to Monterey in the hope that this would...

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....