I run a linux image (made with buildroot and the 4.11.2 kernel provided by the manufacturer) on a nanopi NEO air board with an IR sensor plugged directly on the IR pin. I want to use the sensor to get data from an IR remote control. I followed the procedure found here, with the same driver, and got the same
Tag: linux
Windows docker container vs Linux docker container
I am new to the Docker/Kubernetes world in general. As i am just starting with the whole architecture i have the following: Azure Container Service — up and running using Linux for master and agents Docker for windows on my machine — up and running automated build for a .NetCore application on VST…
Giving an executable more permissions than running user
I have a small C++ app to turn on and off lights for a BeagleBone Black board that runs on Debian 9.2. It does this by updating text files. If I run the program as a standard user it runs without error but none of the lights change. If I run the program with sudo everything works fine and the
Why does the permission expression 653 mean rw- r-x -wx [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Using netcat to issue a http get request in bash
I have written the following script (it does not support index yet). The issue I am having is regarding using netcat to load the page. I can do this manually using the command line but when I try to have my script issue the exact same commands I can it does nothing without error. The only possible thing I can
Not able to import pandas and numpy
I am trying to run following simple script on Debian Stable Linux: But it is giving following error: Following versions of pandas and numpy are installed through Debian Repositories: Where is the problem and how can it be solved? Edit: I find that the same above file works perfectly in another folder! I am us…
Understanding .Net Core and Mono
When developing an application in .Net Core, the .NET dependencies and DLLs are embedded in the application? does this mean that I do NOT need to install the .Net dependencies on the client PC? If I develop a .Net Core console application for Linux, is it necessary to install Mono on the PC with Linux (client…
Scanning numbers from a file in C
I tried to scan some coordinates [X, Y, Z] from a file, but always returned as segmentation fault. So, I’ve some questions to make: I don’t know how many points are in the file, but if I leave the struct arrays empty, there will be an error. There is a way to do this without defining a max number?…
how does getline read only up to a newline without seeking?
I’m imagining reading byte by byte would be very inefficient, but reading in bulks would almost always read more than needed, requiring to store the rest of the read input in a global context for all subsequent read operations to find. What am I missing? Answer The prototype is: So it’s clearly us…
Pycharm – how to turn on autocompletion for non-project files?
I have current version of Pycharm Community Edition 2017.2.4 installed on Linux and on Windows. In the one working on Windows, I open non-project files and while I write code in them, there is autocompletion for in-project modules, classes, etc. On the Linux (Debian) however, when I write code in non-project …