Enable USB-OEM (HID POS) mode in a Datalogic barcode scanner on OS X

I am trying to use a Datalogic barcode scanner (Gryphon 44xx model) on a Mac, from an application (i.e. I am not writing a device driver). Instead of using the scanner's keyboard emulation I'd...

Change default kernel version in grub

This the content of the grub.cfg file of my arch linux. # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from...

Does C++17 provide a cross-platform scheme to record compiler version and options like Fortran?

Question Modern Fortran offers a few cross-platform mechanisms to record the compiler version and settings used to build an application. What methods does C++17 have to capture this information?...

C: Printf changing value of variable

I'm writing a Runge-Kutta ODE solver which takes in initial conditions, and 'events' and solves the equation. It starts and stops at these events to form 'patches'. These 'patches' are then put...

Azure VMSS Linux OS Upgrade

I was looking at https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade and seeing if we could change our VMSS (currently using a Manual...

Linux termios noncanonical read() timeout doesn't work

I'm currently trying to communicate with an external device using the serial port, and it works just fine... if the device is connected. However, since there is no guarantee that it is (and i have...

Grub can't find windows 10

I have made a dual boot with debian buster and windows 10 but impossible to put windows in grub menu then i can swith between the both in bios menu. I have already try sudo os-prober, sudo...

How can I use linux perf and interpret its output to understand CPU cache misses?

I am trying to measure the number of times memory references miss any CPU cache and need to fetch a cache line from memory. I have a very simple program that loads 100 million 4-byte integers into...

How to detect lost MySQL server but still allow for long running queries

I have a standard jdbc connection between a java application and a mysql server. There is a configured connection timeout of 5 seconds but whenever a connection as been created and is reused...

Custom built kernel produces non-bootable initramfs on Centos 7

I've been building my own kernel (4.19.37) and have no issues during build (make) or install (make install_modules + make install). Everything seems to go fine until I execute grub2-mkconfig -o...

Control USART RTS pin from driver on embedded board

I'm porting the lirc_serial kernel module to work on our embedded board. We only need to implement the IR transmitter function. For only the transmitter, the custom driver need only control the...

Issues porting libusb USB firmware over to Windows 10

I'm working with a custom USB firmware written in C utilizing the libusb API. The goal is to have this firmware compatible with Linux, Mac, and Windows. Thus far, testing w/a Beaglebone Black...

create tablespace problem in db2 HADR environment

We have Db2 10.5.0.7 on centos 6.9 and TSAMP 3.2 as our high availability solution, when we create a tablespace in primary database we encounter the following errors in the...

Improving packet sniffing/monitoring on raspberry pi

I have several raspberry pi's that are all the same model with the same build of raspbian and running the same code where I am simply using pyshark to sniff out probe requests and record them to a...

Mysql will not install due to mariadb install but mariadb is not installed

Been trying for hours to get mysql installed but it failed due to a conflict. This is a brand newly installed CentOS 8 x64 (latest) and it's fully updated. There are no custom packages installed...

Lazy-loading with Angular Ivy : No provider for InjectionToken ng-select-selection-model

Bug Description I'm using angular's new IVY compiler, along with the new lazy-loading functionality (lazy-loading with ivy tutorial here:...

IAR Embedded Workbench IDE - ARM 8.40.2 error

I am testing IAR in STM3210B-EVAL-OS-Probe-v5 mode. However, I am having a problem with the stm32f10x.h header file as follows. If you have this kind of experience, please help me how to solve...

Troubles understanding dmesg output on nodes with a Kubernetes Cluster on ESX VMs

I configured a Kubernetes test cluster running on VMs on a ESX thanks to kubespray. In the configuration file, I told Kubespray to configure my cluster with calico as CNI with the default...

Rediness & Livenesss failing at random interval

We are running flask microservices on GKE. The main application that accepts all traffic and divides it in other services is restarting. POD's readiness & liveness start going timeout at random...

libcurl: how does connection Keep-Alive work?

How do I keep connection alive with libcurl? The usage that I'd like is the following. I want to connect to a server that supports Keep-Alive but which closes the connection after 90 seconds of...

.Net Core project trying to conditionally reference 32/64 bit assembly but dotnet build always resolves 64bit

I have a .net core library project and another Asp.net core project referencing this library project. The library project references an assembly that has x64 and x86 versions and I want to...

Not getting ACTION_PACKAGE_REMOVED broadcast - Android 10/Settings

We want to know when apps are uninstalled from the Android device. We set up broadcast receivers (not in the manifest) concerning the device apps and process them when received. The problem: when...

SQL Error When Using ibm_db to Connect To Database

My Problem: When I attempt to connect to DB2 using the python package ibm_db, I receive the following error: SQLCODE=-30073][CLI Driver] SQL30073N "0x0000" Parameter value "0x0000" is not...

Kubernetes pod (Java) restarts with 137 TERMINATED

We are running Kubernetes (1.18) with Docker 1.19 & systemd on an on-prem deployment with 3 masters and 3 workers. OS is RedHat 7.8. Container is a Java 13 based spring boot app (using base image...

Is it a performance problem for TCP connection when too many zero window update packets occur?

We meet a performance problem (maybe not) recently. Our programs run in a cluster which has 8 nodes. Each one creates a TCP persistent connection to other ones including itself. The client...

Kubernetes Nginx Ingress controller Readiness Probe failed

I am trying to setup my very first Kubernetes cluster and it seems to have setup fine until nginx-ingress controller. Here is my cluster information: Nodes: three RHEL7 and one RHEL8 nodes Master...

Why do QProcess (Qt 5.15.1) and GDB lead to missing symbols?

I am currently having some trouble debugging a program that starts processes via QProcess. Simply executing the binary without dbg works just fine but when I try to debug the executable with gdb I...

Cant start Kubernetes cluster. etcd and api-server errors

I've got a broken kubernetes cluster as heritage and now need to start it somehow. I don't know how it was actually created, but suppose that it was done via kubeadm. So, by kubeadm alpha certs...

Kubernetes Kibana operator failures and Nginx ingress timeouts

I just started implementing a Kubernetes cluster on an Azure Linux VM. I'm very new with all this. The cluster is running on a small VM (2 core, 16gb). I set up the ECK stack using their tutorial...

Unable to bind intel NIC X710

I am trying to bind this nic I40E: Ethernet Controller X710 for 10GbE backplane 1581 my OS is ubuntu 18.04 kernel: 4.15.0-74-generic I used dpdk-setup.sh to Insert VFIO module. i also add iommu=on...