Latest Questions

Airspy and RTLSDR on same Raspberry pi4 with USB SSD - I/O Error

This is my setup Raspberry PI4 with 8 GB RAM; boot via Sata SSD (in enclosure) connected via USB3 1 USB2 extension cable + Hub which goes to 1 RTLSDR dongle (f

Unable to name a Mongo database in Docker compose

Can anyone tell me where I am going wrong. All I am trying to do is name a Mongo database using docker compose. I have a docker compose file that looks like thi

how to create a websocket client in mule

I'm trying to create a websocket client in mule which connect to external server websocket. Also I want to send the headers and body to external websocket at th

Discord bot, deleting messages

I'm new to discord bots. I have a script that gives members a role if the join a VC, that way they can see a Text channel. I want the channel to be cleared out.

React native IOS getting error after adding firebase

I got this error when running IOS project. After adding firebase in my project that I got this error Error Failed to build iOS project. We ran "xcodebuild" comm

How to use vsomeip with multiple VLANs

I have multiple VLANs in which different services over vsomeip are offered/requested. How would I setup vsomeip to achieve that? Is it possible to use one vsome

Why I am getting this error: Error: failed to process internal error: entered unreachable code: assign property in object literal is invalid

during writing code for JSX file I got an error: Error: failed to process internal error: entered unreachable code: assign property in object literal is invalid

How to resolve expected declaration error in swift?

I am new to swift and am trying to build an app. I am receiving "Expected Declaration" error on Xcode when I type the following code. .edgesIgnoring

Amazon SP-API How To Get All Variations Including Out Of Stock amazon-sp-api

I'm trying to take an ASIN and get all the variations but, currently, it only returns the in-stock items. Anything else is excluded. Is there a way to get all v

Automata and Strings

Can anyone help me with this exercise ? L = {w | w ends with a and does not contain bb} I do not know what I am doing wrong... I have tried creating a automato

add div element dynamically in same form

I have a div element which should add itself when the image plus sign is clicked. Can someone please suggest the way to implement it? I am not experienced in we

Got error 'Primary script unknown' with Apache alias outside document root

I've setup an Apache alias on a subdomain, which points to a directory outside the document root like this: Alias / /home/keyhelp/www/webmail/plugins/xcalendar/

Cloud Fusion Pipeline works well in Preview mode but throws error in Deployment mode

I have the below pipeline which ingests news data from RSS Feeds. Pipeline is contructed using HTTPPoller, XMLMultiParser Transorm, Javascript and MongoDB Sink.

It shows, Field 'id' expected a number but got ''

When I submit then shows this error. views.py: class userINFOupdate(View): def get(self,request): userid = request.GET.get("user_up_id") u

Set "selected" tag in responsive dropdown and select using Flask and jinja2

I have a flask server which sends a dictionary of options to a dropdown or selection (in form). Here is the Python code: @app.route("/", methods=['GET']) def in

React-Native: i got new "Expo" app update then I found <TextInput/> is not working

When I run the app along with through expo it is showing- attempt to invoke virtual method 'boolean abi44_0_0.com.face... got this error after install new "exp

OpenIddict front & back channel logout

Can someone point me in the right direction about OpenIddict and https://openid.net/specs/openid-connect-backchannel-1_0.html https://openid.net/specs/openid-co

Export is not recognize

I would like to install dot.net package but the export is not recognized in Azure App Service. wget -q -O - https://dot.net/v1/dotnet-install.sh | bash -s -- --

Is using @Nonnull (javax) on entities with Hibernate a bad idea?

We are using Hibernate in our Spring Boot application. Whenever we can, we use @javax.annotation.Nonnull and @javax.annotation.Nullable annotations to help us a

Fluent Validation with conditions in asp.net core

I am working in asp. net core 6.0 web API project (clean architecture (CQRS)). I am using fluent validation for validate command and queries. public class Creat

button only clicks once, at one div element

this is the onclick function export function changeColorButton() { document.getElementById("friendDiv").style.background = "grey"; } this is the output file.

What "appropriate source of randomness" in php random_int means?

I was writing some PHP code when I came to an warning in my coding saying "Unhandled Exception" pointing to the use of random_int in some part of my algorithm.

How to select record in the database using BETWEEN in sql?

How to select record in the database using BETWEEN in sql? what I want here is to select record within the startDate and endDate. if the record is exists within

When sending a get request to api, I get an error: has been blocked by CORS policy: No 'Access-Control-Allow-Origin'

When sending a get request to api, I get an error: has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Pandas groupby mean - into a dataframe?

Say my data looks like this: date,name,id,dept,sale1,sale2,sale3,total_sale 1/1/17,John,50,Sales,50.0,60.0,70.0,180.0 1/1/17,Mike,21,Engg,43.0,55.0,2.0,100.0 1

react native pdf view error resolving dependency

I have been stuck with this problem in react native version 0.64 latest. pdf view is throwing an error while configuring. I don't understand and not found the

How to style the cell edit component in material table?

So the thing is that I am trying to create an editable table using material-table library and when I click on a cell to edit its content, an edit component show

For Loop in R to find duplicates in single vector WITHOUT built-in functions

I found this as an interview question and can't seem to work a solution. You can't use any built in R functions. x <- c(77, 12, 4, 8, 77, 2, 4, 12) answer &

Python - find pattern in file in max 4 lines of code

i have the following task. I have to find a specific pattern(word) in my file.txt(is a song centered on page) and to print out the row number + the row which ha

Kafkajs - `The group is rebalancing, so a rejoin is needed` error causes message to be consumed more than once

I have an edge in Kafkajs consumer, where at times I get a rebalancing error: The group is rebalancing, so a rejoin is needed [Connection] Response Heartbeat(ke