Latest Questions

count how many people who buy the same item at second time and how many people who did not buy the second item at second time (compare to firsttime)

Here is the question:count how many people who buy the same item at second time and how many people who did not buy the second item at second time (compare to b

How can I style option hover background?

I made select-option. But option:hover does not work. How can I fix it or what do you prefer? Style must be like this My codes <select> <optgrou

golang access values from map inside a map

I am leveraging Avi Go SDK to fetch avi healthmonitor configuration as below var healthmonitormap map[string]interface{} err = aviClient.AviSession.GetObjectByN

Content not from webpack is served from /opt/app/public directory

i have a simple application with react and typescript that display hello world on localhost:8080. When i run my application on command line it works and i see t

cls-hooked: AssertionError [ERR_ASSERTION]: context not currently entered; can't exit

I'm currently deploying an express app to Heroku. I'm using cls-hooked to set request ids for each request. This works perfectly on my local machine and inside

Create function that takes in IP or DNS name and pings it

Having trouble writing a python script that will ping an IP or DNS name from the command line. The function needs to return the IP and the time to ping it as a

Slow count query with group

I have a common aggregation query: SELECT products.type, count(products.id) FROM products INNER JOIN product_colors

Get Elements of a webpage in a webview

I'm trying to get the Elements of a webpage in a webview. These are actually values of an odometer. I'm using sketchware. I've tried getting the class values wi

how to add a table row that have different size and display compare to other row

in this excercise, i create a table with 5 row in tr and i put the last row (1 input and 2 button) in a div class btn. the display of last row is ok but i expec

Having an issue plotting: Columns must be same length as key

I'm new to Python and I'm trying to adjust this code to my data: import random import pandas as pd import numpy as np import matplotlib.pyplot as plt import mat

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