Latest Questions

Symfony 5 select QueryBuilder select object return soft deleted propery

I have object: Shipment with property Supplier of class Company App\Entity\Shipment id:1234 status:"wait" supplier:Proxies\__CG__\App\Entity\Company when $q

C# Convert Integer into Roman Numeral and Number in Words

I need a help because I've created a program wherein if the user inputs enter an integer number then it will convert the number into Roman Numerals and in Words

Spring cloud loadbalancer - Feign + SimpleDiscoveryClient with healthcheck/retry

I'm struggling to switch from Ribbon to Spring Cloud Loadbalancer after upgrading spring cloud versions. Setting up the SimpleDiscoveryClient with Feign was eas

How to get exact code coverage in sonarcloud for angular

I am trying to produce code coverage report in sonarcloud for angular-12. Could someone help me how to configure azure pipeline for generating correct code cove

Is there a way in typescript to type a string as JSON string and specify the parsed objects type?

{ key1: "{\"key2\": \"123\", \"key3\": \"ABC\"}" } In the above object the value of key1 is a JSON string that needs to be parsed. Is there a way in typescri

Multiple errors when importing Gradle project

I wanted to read the source code of a java project, so I cloned the project into a directory, and opened it in VSCode. The project used gradle as a dependency m

The getter 'documents' isn't defined for the type 'Object'

I have a collection called status in Firebase. I'm trying to pull data from here. However I am getting this error. I tried some solutions but I still get the sa

Explain what is the advantage of websocket over sending normal http requests at intervals?

I hope the question is clear. What prevents just sending a GET request every 1 second, for example, what will be the difference?

Custom hook not updating in component

I have a custom hook that looks roughly like this: export default function useMyHook() { const [foo, _setFoo] = useState([]); const [bar, setBar] = useState

Heroku and GitHub: "Items could not be retrieved, Internal server error"

I simply want to connect to my GitHub account. When I do it, I get this error message as a small red pop up on the upper right side of the pag

Is there other way to get the Microsoft Edge DevTools Preview without Microsoft store?

I always debug the WebView control with VS, I refer to the this official document Debug a WebView control in a UWP App. Recently, I found there is a best way to

Explain what is the advantage of websocket over sending normal http requests at intervals?

I hope the question is clear. What prevents just sending a GET request every 1 second, for example, what will be the difference?

Why I'm getting segmentation fault with python3 C-API and c FILE *

I get segmentation fault when i try to pass opened python 3 file object to c routine via FILE * pointer. I try porting a python 2 code to python 3 and as so far

Heroku and GitHub: "Items could not be retrieved, Internal server error"

I simply want to connect to my GitHub account. When I do it, I get this error message as a small red pop up on the upper right side of the pag

aws-sdk-go-v2 set custom header on PutObjectInput

I am in a situation where i need to set a custom header on putting an object to an s3 compatible storage system. _, err := uploader.Upload(ctx, &s3.PutO

How to deploy qt applications in raspberrypi 4

i want deploy qt applications in raspberrypi and share apps with other raspberrypi without instal qt. As an executable file. I tried linuxdeployqt but it error

Is there other way to get the Microsoft Edge DevTools Preview without Microsoft store?

I always debug the WebView control with VS, I refer to the this official document Debug a WebView control in a UWP App. Recently, I found there is a best way to

Another approach to create and form Tfrecord for training and testing data

I am currently using this command to create a train.record file !py generate_tfrecord.py -x C:/Users/Desktop/dataset/Workspace/images/train -l C:/User/Desktop/d

Bootstrap datatables - multi-filter column search CSS issue

What I am doing is to render table in HTML from Flask server. Bootstrap code I have referred to is from this link: Bootstrap multi-filter my HTML code: <tabl

Why I'm getting segmentation fault with python3 C-API and c FILE *

I get segmentation fault when i try to pass opened python 3 file object to c routine via FILE * pointer. I try porting a python 2 code to python 3 and as so far

Unable to add view to a window with TYPE_PHONE params android

I am trying to create a floating view which should appear on top of everything but notification panel and settings app hide my view I tried to use WindowManager

Android 11 Download File to Download Folder doesn't work

currently I'm trying to download a File with the DownloadManager but that doesn't work, the download starts but there is no File inside the Download Folder afte

How to distinguish two mat-table (Angular UI) in same component

I use two mat-table in the same component and now renderRows() not working for the second table. @ViewChild(MatTable) tagsTable: any; @ViewChild(MatTable) s

aws-sdk-go-v2 set custom header on PutObjectInput

I am in a situation where i need to set a custom header on putting an object to an s3 compatible storage system. _, err := uploader.Upload(ctx, &s3.PutO

Another approach to create and form Tfrecord for training and testing data

I am currently using this command to create a train.record file !py generate_tfrecord.py -x C:/Users/Desktop/dataset/Workspace/images/train -l C:/User/Desktop/d

Error in AWS DMS Endpoint using Oracle database as a source

I have tried to configure an AWS DMS Endpoint, but when I try to do the connection test it shows me the following error: Test Endpoint failed: Application-Stat

How to execute subscribe firstly before another subscribe angular 8?

I work on angular 8 i have two subscribe i need to execute first subscribe and after finish execute second subscribe . but i don't know how to execute subscribe

Unable to add view to a window with TYPE_PHONE params android

I am trying to create a floating view which should appear on top of everything but notification panel and settings app hide my view I tried to use WindowManager

How to fill data bellow last filled cell? VBA ComboBox

I have a combo box, and If I choose the first option I want "15" to be written in "A1", and when I enter another data for a second user I want the data to be in

printer.printFile prints empty string

I am using the compiler API to create Typescript code. After assigning const printer = createPrinter(), I can use printer.printNode and printer.printList to pri