Latest Questions

Metro has encountered an error: While trying to resolve module `@apollo/client`

I am trying to install GraphQL into my React Native app and in doing so, I was given this error message. I have confirmed that the file actually exists and have

How to integrate hubspot chat on electron app

I'm trying to integrate hubspot chat on an electron app. For example: <!DOCTYPE html> <html lang="en"> <head> <meta charset="ut

data column not recognized in the ggplot geom_hline

I was wondering why variable mean_y is not recognized by my geom_hline(yintercept = unique(mean_y)) call? library(tidyverse) set.seed(20) n_groups <- 2 n_in

what should be the default value of file in react-typescript in useState

How do I initialize a file through useState in React Typescript? const [images, setImages] = useState<File>(); const [formData, setFormData] = useSt

Ubuntu 20.04 VM cc linker errors

During using cc linker and cargo, I am repeatedly running into = note: collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated.. My

get a dictionary of an attribute in all instances

class Players: def __init__(self, username, score): self.username = username self.score = score If I create a class and some instances of it with diffe

Kalman filter system/measurement noise covariance

This may be a bit of a dumb question, but the textbook I'm using doesn't do a deep dive into the intuition on each parameter of the Kalman filter. When I am dev

Postgresql offset optimization in partitions

I created a table: create table test (id serial, name varchar(20), rownumber serial) partition by range (id); then I created index create index "test_rownumber

How to reference image in an array?

I have some data im using in an array that looks like: import image from "./image.jpg"; export const data = [ { id: 1, title: "kevin", content: `G

Got a java.lang.IllegalArgumentException when sending a Java object by the dynamic TCP/IP integration flow?

Gary Russell helped me some time ago with the following 'DynamicTcpServer' flow (see Building a TCP/IP server with SI's dynamic flow registration) having now a

Order Number formatter

i want to make Stored procedure to get event number count and order number count in ordernumber column of order table .... event number count cames from Event T

SQL: how to convert timestamp to datetime? [closed]

I need to convert "2022-04-29T07:20:32.727Z" to "2022-04-29 07:20:32". I am quite new to SQL and haven't found the solution.

Material-Table columns not resizable with more than 5 columns

I am displaying data using material-table. I have 19 columns to display and I want to set a fixed size for each column. Using width: 45% is not making any vis

The data couldn’t be read because it isn’t in the correct format error

Hi guys I am trying get request when my model class like first I can get data but with second model I can get this error message "The data couldn’t be re

Create a Powershell ListBox Sticky Notes Backup Utility

I'm building a PowerShell utility that will backup and restore sticky notes using a powershell script to pull the Get-localuser command from a local device into

vega-lite show all x-axis values

I have a vega-lite bar chart with years as the x-axis (counts as the y). The user selects a range of years to show. When the data is sparse, some years have a

How set active condition on subrequest?

As Product model has many to many relations with Category (using ProductCategory model). I try to add an additive condition in the request. $productsWithActiveC

how to Show All the users information from firebase to website

I am trying to show all the user's images on my react website. But I can only find the current user information using react-firebase-hooks/auth hooks. How can I

Can't install nodejs in Termux on Android

When I do pkg install nodejs or pkg install nodejs-lts it gives me a this message: Checking availability of current mirror: ok Ign:1 https://dl.bintray.com/gri

Using Terraform's helm_release, how do I set array or list values?

For example, per the helm chart documentation for Drupal, the default value for accessModes is ["ReadWriteOnce"] which translates to the following in the YAML:

Azure Devops Apple App Store Release.Missing value for the attribute 'whatsNew'

I have tried to submit it for review and release it automatically to App Store Connect. I used to Apple App Store Release stage from the marketplace. For Testfl

When observed object data changes, UI temporarily is empty

Whenever ONE conversation row changes, all of them are updated and it becomes empty for a split second. Why? https://gyazo.com/a81d437fd92e236389acdd211ff83ad3

Can you connect a controller to Pygame Zero?

I have programming as a subject in school, and this is our last project of the semester. For our last task we are going to use replit.com, which use PygameZero.

Boost async_pipe not showing all child process output

I ran into a roadblock. The code below has issues, but this is just a demo; I want to get the high level logic correct first. The two startup application output

How to make default of parent function run if not specified in a wrapper function

I am writing a wrapper function where I am linking multiple steps of a pipeline. I would like to make it so the user can input multiple options where the value

How to add arc for rounded corner for cut off area in jetpack compose?

I wanted the rounded curve around the corner of triangle in left and right. I tried to add arc but I don't know it's not working maybe the coordinate are wrong

SignatureDoesNotMatch when sending data with presigned put object link on Minio

On the server side, I have an endpoint that uses the nodejs client of minio to generate a pre-signed URL successfully. minioclient.presignedPutObject('my_bucket

Throwing java.lang.IllegalAccessException module java.base does not open java.util.concurrent when running Corretto on Java

I have 2 microservices: serviceBFF, serviceCore. Stack Spring Boot 2.6.6 Amazon Corretto 17 (Docker) OpenJDK 17 (local) Docker (latest) serviceBFF calls a REST

Django 4: Product.objects.get(id=1) returns an error "DoesNotExist" but I already have 7 products listed

I already have 7 products listed in my DB and I can check them by Product.objects.all() but when I do Product.objects.get(id=1) or pass any id as a parameter it

numba: underlying object has vanished

I am experiencing the following exception when using Numba. What does it mean, and how can it be avoided? It occurs in the middle of a convoluted function, so u