Latest Questions

Symfony- Error ocurred when I try to make an entity

When I use: php bin/console make:entity to create a new db entity, I get the following error: In DoctrineHelper.php line 180: Class "Doctrine\Persistence\Mappin

Bar chart with two sets of labels in Quickchart

I am trying to create a bar chart for tracking a budget with quickchart. I want the chart to have one set of labels on top of the bars (for % remaining), and a

Create a new Date for any specific timezone

I am using Google Apps Script to check and re-format date data from some Google Sheets. But the problem is the result shows the times for the user who run the c

sort unique values on the same line

If I have a list of items like this in any text-area, I can use a bookmarklet to sort the unique values. a b d c c I click on the bookmarklet and the list is c

BigQuery DENSE_RANK

I posted something similar to this but without the full code and I don't think people understood what I was looking for... I'm writing a query to examine bus st

Avoiding a Loop to Extract Vectors From Rows in Dataframe in R

I have data in a text file in which the cases are stacked in a single column. I need to extract selected lines from each case into vectors. I know how to do t

ASSERT: "i >= 0 && i < size()" in file Qt/6.2.4/mingw_64/include/QtCore/qstring.h

i am a noob in Qt, when a push a particular push button, the project window closes and shows this error: ASSERT: "i >= 0 && i < size()" in file Q

Constructor __init__ is written to take two position arguments, but when used, reports the error that only 1 is allowed

I have a class and constructor I'm working on, and I added an extra parameter to __init__, and now I get the error, TypeError: FeatureDataset() takes 1 position

Integrate Phaser Game with React as component

I'm new to React, I want to make a component for my phaser game to insert it into a react project. My Game component: import React, { Component } from 'react' i

RabbitMQ - Sending the same message more than once to the queue (Some fail)

So guys, I'm using RabbitMQ and when I send the same message more than once per second of difference, I notice that some are not arriving. Does anyone know if R

Comparison of file system packages for Expo/EAS project?

What is the current preferred package for saving files from an Expo app? I've come across expo-file-system react-native-fs, and Async Storage but don't understa

Flutter/Firebase: build page depending on database

I'm trying to build a simple card game app to play online with friends using Flutter and Firebase. The way it works (for now), is we have lobbies which players

is there a code or function in excel to: If F8=blank, cut and paste text in G8 in G7 next to text separated by semi-colon

Is there a code or function in excel to do the following: If F8=blank, cut and paste text in G8 in G7 next to text separated by semi-colon.

Gmail Error Action: failed Final-Recipient: Status: 5.0.0 Remote-MTA: dns; gmail-smtp-in.l.google.com Messages missing a valid address in From: header

I am getting this error attempting to send emails to gmail. Any thoughts on what it means or how i can fix? This message was created automatically by mail deliv

regexp_matches, array per row

In PostgreSQL, I have a table as follow. | id | mycolumn | | -------- | -------------- | | 1 | /1/2/8/ | | 2 | /1/40/22/11/ |

Issue with Generating Random Numbers using Laravel contains vs foreach loop [duplicate]

Hey guys I come across this strange issue where if I use the foreach it does not generate a unique random number wheres if I use laravel funct

Passing action to a component optionally

I've learnt that it's possible to pass action to a component: https://stackoverflow.com/a/66142037/15943057. Now I wonder if it would be possible to pass one op

Use of Maps Chart from Ant Design

I'm using ANT DESIGN CHARTS on an example project in React. I try to add two differents types of charts a line chart and a map chart for the moment only a copy

Azure Devops Pipeline - Angular 13 to Azure App Service Error

I am trying to build a pipeline for a simple angular project in Azure Devops but I keep getting an error that "no such file or directory: D:/a/1/s/dist" Here is

I want to highlight the Specific word in my ajax response loop

I want to highlight the word which user has searched. I am getting an array in response which will shows the occurrence of that word. I want to highlight that w

io.grpc.StatusRuntimeException: INTERNAL: Received unexpected EOS on empty DATA frame from server

We use firestore several years, and have some SnapshotListener works perfectly till recently caught this exception: com.google.cloud.firestore.FirestoreExceptio

Check if two arrays have an object with the same property

Here's my goal: compare two objects and figure out if there is 1 or more items in common. If there are 1 or more in common, return true otherwise (no items in

Difference in jsonb and jsonb[] in postgresql

I have been working over jsonb columns in postgresql. My problem statement is to store array of json objects, so i thought of jsonb[] datatype as it is a viable

How do I change the font size and color of a TreeView?

Give style like this: const style = { overflow: "auto", backgroundColor: "#292929", color: "blue", height: 650, width: 1, flexGrow: 1, fontFamily:

Getting Uncaught Type Error from mapjs.bundle.js in React app

Greetings HERE Developer Support, I'm seeing numerous Uncaught TypeErrors in the browser console coming from mapjs.bundle.js as I interact with the map in my Re

Nested object needs to be modified

This is the input json which i am reading and trying to change the structure as per requirement .But unable to do so countries i am able to put inside object bu

Failed building wheel for scikit-learn. Encountered error while trying to install package

I am trying to run a project from github. While installing its requirements, I get the following error: note: This error originates from a subprocess, and is li

How to fix pandoc (error 1) in rmarkdown for html output?

I'm using pandoc version 2.18 and R version 4.1.3. I'm using rmarkdown to knit a document into an html format, but repeatedly receive the following error: pando

Python - Find fewest number of rectangles that enclose a list of rectanges (while avoiding others)

I have lists of coordinates for "good" rectangles and "bad" rectangles. Rectangles may or may not be adjacent to others from either list, but will never overlap

how to deal with inline assembly

why sum2 result is 6?? ,here is the code #if defined(__aarch64__) int tmp=0; int sum2=0; int a1=2; __asm__ __volatile__