Latest Questions

Vite outDir outside of the project root

I am building Vue3 project with Vite and I am using Vite build.outDir option to build the project outside of the Vue3 app root. This is my project structure, wh

Adding a column of totals using dplyr in a dataframe

how would you add a column to this dataset showing the number of individuals of each species?. install.packages("ggplot") library(ggplot) library(ggplot2) star

Google Coral Dev Linux kernel v5.x support

Currently Google coral dev runs on Mendel OS which supports Linux kernel v4.14 https://coral.googlesource.com/linux-imx/ linux-imx already support v5.4 for i.M

Pinia: $reset alternative when using setup syntax

I have a pinia store created with setup syntax like: defineStore('id', () => { const counter = ref(0) return { counter } }) Everything has been worki

Why I am getting "unbalanced parenthesis" error in flex

I was testing something with lexer, and wrote this regex rule:[0-9([a-b])[c-f]] ; According this docs, this is equivalent to:[0-9a-f()] ; For example, the foll

DataInputStream stuck when initialized

I have been trying to send a byte[] array across my client / server application using Sockets, DataInputStream and DataOutputStream, but on the server side, the

get list of lists from dict of lists by grouping elements at same index in every key-value pair [duplicate]

I have a dictionary a = {'a':[1,2,3],'b':[4,5,6]} Now, I wish to convert it into a list of lists such that [[1,4],[2,5],[3,6]] i.e. the

Whats missing on my Ruby 'Inverse Of' relationship

I know this topic has been addressed, but I have been at this for 2 days and I'm just stuck. I know inverse of does not create a new query, so should I use anot

Google Sign-In button > How to logout user if he clicks on the google buttons

I'm new here I'm stuck on a functionality that I want to implement into my website : the Sign-In button using Google For now, the following code add the Google

How to find double data type in range.find

Input: Sub RangeFindWithDoubleType() Dim strResult As range With ActiveSheet.range("A2:A11") On Error Resume Next Set str

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