Rails & Windows

Is Rails development really this hard on Windows? I'm a PHP developer looking forwards to using Rails (mainly because every single PHP framework I've tried has some quirk that I just hate). I...

Apache server keeps crashing, "caught SIGTERM, shutting down"

This just started happening three weeks or so ago. The content of my website hasn't changed, it's just a phpBB forum using MySQL as a backend. Nothing has changed in well over a year but...

Cross-platform graphics 3D with .NET

I'd like to program a .NET app that provides a 3D render of an animated world. I'm coding on a Windows PC, but many of my target audience will be on Linux. There are a bunch of frameworks out...

How do I make cloud-init startup scripts run every time my EC2 instance boots?

I have an EC2 instance running an AMI based on the Amazon Linux AMI. Like all such AMIs, it supports the cloud-init system for running startup scripts based on the User Data passed into every...

OpenAL Segmentation Fault Before Main

I'm writing a game engine in C++ that utilizes SDL for graphics and OpenAL for audio. I'm developing on Windows XP compiling with MinGW and debugging with GDB. I discovered the problem when I ran...

Bi-directional sniffing/snooping on an ALSA MIDI SysEx exchange

Does anyone know of a good way to get a bi-directional dump of MIDI SysEx data on Linux? (between a Yamaha PSR-E413 MIDI keyboard and a copy of the Yamaha MusicSoft Downloader running in Wine) I'd...

How I can find all unused import programmatically?

In my case there are two reason for doing that: Sometimes people by mistake import classes which present in macbooks JDKs but absent in Linux. That causes build to fail on ci servers which are...

COM in the non-Windows world?

Hope this question isn't going to be too vague. Reading through the COM spec and Don Box's Essential COM book, there is plenty of talk of the "problems that COM solves" - and they all sound...

Reading a CSV file with SQL querys from linux shell

I would like to read a CSV file from the shell as if it was an SQL Database table. Is this possible without having to import the CSV file content to a SQL enviroment? Maybe there is some kind of...

R install packages from Shell

I am trying to implement a reducer for Hadoop Streaming using R. However, I need to figure out a way to access certain libraries that are not built in R, dplyr..etc. Based on my research seems...

How to add i2c devices on the Beaglebone Black using device tree overlays?

Why should I read this? If you have a Beaglebone Black (BBB) and you want to wire up your own devices to it (not capes), you might already have heard about the device tree. In my case I wanted to...

ALSA capture causes high CPU usage

I write a full-duplex ALSA program and run it on a linux-based embedded system. Its sound configurations are: Sample rate: 16Hz Channels: 1 (mono) Format: S16_LE min avail: 160 (frames) For...

Audio recording using PortAudio: Pa_GetStreamReadAvailable not work?

I make realtime data processing application (spectrum analyzer using fftw3 lib) using C and Linux. My incoming data is currently taken from h/w audio line input. I use PortAudio libs to talk to...

How devices in device tree and platform drivers were connected

I read some articles about this topic. but none of them describes the details. What I know is: declare "compatible" property in Device tree: gpio0: [email protected] { compatible =...

How to solve "port is already allocated" error when running two docker-compose files at the same time?

I have many project based on docker-compose files with different settings. If I wanna start another project I will docker-compose stop current project and docker-compose up another. But my issue...

Is it possible to run RSelenium in ShinyApp on the RStudio server?

I faced such an issue: i have Rscript that uses RSelenium to navigate pages, click buttons and collect data. I included this script as a function in my shinyApp. When I run it from my machine...

How to access mac os x microphone inside docker container?

I am running a docker container with the python code that records the sound for few seconds using the host MacBook Pro build in microphone. Part of my challenge is to determine how to provide...

AF_XDP: No packets from multicast although steered on RX-Queue 0

I am still playing with the AF_XDP socket and my program is still largely based on: https://github.com/xdp-project/xdp-tutorial/tree/master/advanced03-AF_XDP I now want to receive multiple...

Conda dependent packages(rdkit) will not install properly for use in web servers(importError:DLL load failed). Is there an alternative install method?

UPDATE 1: PIL and RDKIT produced import errors because the .dll files were not placed in <BASE_PATH>/venv/<env_name>/Lib/site-packages I removed both packages from environment and commented out...

VirtualBox import Error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value

I am trying to import exported virtual machine on my using VirtualBox but while importing I am getting the following error: Progress state: NS_ERROR_INVALID_ARG VBoxManage: error: Appliance import...

g_audio module : How does it works?

If we enable gadget_only_mode under CONFIG_USB_MUSB_GADGET in our kernel or linux based device. if it will work as a gadget. Gadget means if I connect my device to my system then my device will...

How to test a dockerized application in an Azure DevOps (Server) pipeline?

I have a simple python dockerized application whose structure is /src - server.py - test_server.py Dockerfile requirements.txt in which the docker base image is Linux-based, and server.py...

Can USB-OTG be used for U-Boot and Linux consoles?

I have a custom i.MX6Q-based board with working U-Boot and Linux (Ubuntu) setups. The micro and board have support for USB-OTG and one serial port; currently, the serial port serves the console...

Android USB audio as primary audio

I am building an Android device based on the Qualcomm sdm845 SoC. For audio, I use a simple USB audio codec. On the development kit that came with the sdm845 SOM module however, they used the...

No sound on a fresh Ubuntu 18.04.5 system with Windows 10 dual boot

I've had some trouble with sound for a few weeks already, it just doesn't produce any output on my system. I've tried submitting a bug report, but there is no answer from launchpad, the bug...

Compile Go for windows/arm and arm64 with buildmode=c-shared

I need to compilet a go library via C to a DLL that can be used through PInvoke on ARM/ARM64 Windows. I find many open issues, topics and discussions about this and it sounds like it might...

Cannot find "$libdir/postgis-3" in PostGIS Docker image itself

It sounds like PostGIS itself cannot be found in... the PostGIS Docker image. Therefore, I guess I must be wrong somewhere but I cannot figure it out. Here's the error I face each time I build and...

Set up one instance of ChromeDriver for Panther, rather than creating one for each request

I am using Symfony Panther for web scraping (not testing) in a PHP project that does not use Symfony. I installed via Composer. Each time I need to scrape a link submitted by a user, I start a new...

Problem during installation PostgreSQL 12 and PgAdmin4 on Linux Mint 20.1 Ulyssa 64-bit

I want to install PostgreSQL and PgAdmin4 on my Linux Mint 20.1 Ulyssa 64-bit My inxi info System: Kernel: 5.4.0-58-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0 info:...

How to add trusted root CA to Docker alpine

Suppose I am at network where there is MITM SSL swaping firewall (google.com is not issued by Google, but reissued by custom CA root authority) some more details here...