Latest Questions

How do I write SQL query for average?

I have recently attended an interview on SQL. Below is the question: Write a query to retrieve city name, state name, city population and return the following c

Why vuetify <v-list> doesn't produce <li> tags

Wasn't this component supposed to render lists? It produces only divs instead of more semantic elements, couldn't it be considered a bad practice? Should I use

How to use class object instead of using JObject in .NET Core

I want to return C# class object instead of using JObject in here. Could someone can tell me how to use it. private async Task<JObject> GetReceiptById(str

How to split a readLine but dont split values inside apostrophes?

Example txt file ADD 'Cordless Screwdriver' 30 1 2 COST 'Multi Bit Ratcheting' FIND 'Thermostat' FIND 'Hand Truck' SELL 'Hammer' 1 QUANTITY 'Paint Can' FIRE 'Jo

Can someone help? I want to do image classification using CNN while taking pose estimated as input

I hope you're all doing well. I'm new here for help. Basically, I have hand poses and labeled data for the image. for example image class is labeled as: 1: Hol

Comparison between object detection algorithm speeds

I am writing my final degree project and I am having trouble to compare different algorithms in the state of the art. I am comparing ResNet, MobileNet SSD, YOLO

why im getting this error Elements in iteration expect to have 'v-bind:key' directives

my code works perfectly but i still didnt manage to find out why am i getting this error message i looked it up and it seems that im missing. And another proble

ERROR: (gcloud.app.deploy): The App Engine appspot and App Engine flexible environment service accounts must have permissions on the image

I have the following error when I try to build my app on GCP App Engine, my app environment is ideed a flexible one. But I don't know if my App Engine environme

certbot modifies the default nginx config

I am following a mini-tutorial to install letsencrypt certificates. OS is ubuntu 22.04. I had already installed nginx, and my own example.com config file to /et

How do I capture the time a tcp socket is moving from ESTABLISHED TO WAIT state

I have a Java WebSocket server that uses Netty to establish WebSocket connections. This is basically a chat application where a few agents will be interacting w

How to observe the local db changes using getx in flutter

I am facing issue while observing the last changes in local database but without using the fetch query. I want the list to be updated automatically on ui whenev

How can I Delete an Item from a Data Grid View and Reflect the Deletion in the MySql Database

UPDATE There has been quite a few changes in the code, but the problem still persists. I was able to delete from the customer table (and the entire row on the D

Access bitnami/kafka running in minikube from local machine

I am trying to access a bitnami/kafka cluster deployed using helm. I need to be able to send messages to kafka from my local machine and then have my pods proc

Cloudformation sub function for cloudwatch dashboard body

I'm running into issues using the !Sub intrinsic cloudformation function with AWS::Region pseudoparameter within the body of my cloudwatch dashboard (to ensure

It Is possibile to map typescript object to another based on interface/or type [duplicate]

If i have an object in typescript const x = {a:1, b:2} And an interfacce interface MyInterface { a: number } It possibile to do something li

Best way to convert a List<Object> to List<Object.Property>

Consider the following use case: I have List<Song> which holds an ArrayList. I want to translate the above on-the-fly to List<String> which may be a

Interface for DjangoFilterConnectionField

I have two classes class RegisteredUser(graphene.ObjectType): class Meta: interfaces = (BaseClient, ) name = graphene.String() group = graphen

How to recheck setup.cfg after editing it in 'pip install -e .` mode

pip install -e . is a great feature. It allows you to work on your package without having to uninstall-reinstall constantly. It seemingly doesn't, however, keep

how to use list comprehension to subset the dataframe with the valuecounts

make year honda 2011 honda 2011 honda n/a toyota 2011 toyota 2022 Im trying to get list of the make that has value counts more than 2 below is

what is the most fundamental difference between SPIR-V and LLVM-IR?

Spir-v and LLVM IR have the same granularity and can be converted to each other. May I ask why SPir-V is still so popular with LLVM IR? The fundamental differen

react native expo webview crash application when open pdf uri android

Try to preview a file(pdf,word,doc),once select from document picker? using webview, but it crash the application in android How to read and preview file uri fr

Find multiple string matches from the original string batch script

I currently have a list of files in a folder that i need to iterate through and exclude the non production files that matches the pattern. how do i search for m

Null pointer exception in Jmeter report generation in Jenkins pipeline

I am running jmeter test in non-gui mode in Jenkins pipeline. Below are ther versions: Jenkins agent java vaerion : 11 Jmeter version : 5.3 The command I run i

Visual Studio C++ static lib function exposing problem

I have created example of using static libraries. The goal is this functionality: DllTestFunctDll.dll links static_lib.lib (contains fnStaticLibrary()) example.

How to find correct "json" parameters on Request POST?

I am new to webscrapping and am trying to access an employee database on a website. To do this, I noticed that when I hit the search field the site sends a requ

longest subsequence: missing last element

Hi guys I'm working on the longest subsequence algorithm, the idea is to find the subsequence of numbers from an array. I'm using Ruby, so far I'm missing the l

I have some problems with the Login (Laravel)

I'm doing an application and I need to do a Login. I already do it, and it was working until yesterday, but today it stops work and I don't know why. I was sear

Addressing polynomial multiplication and division "overflow" issue

I have a list of the coefficient to degree 1 polynomials, with a[i][0]*x^1 + a[i][1] a = np.array([[ 1. , 77.48514702], [ 1. , 0.

How to change the final array to the front in JavaScript?

The case is: function trocaPrimeiroEUltimo(array) { array.array[0] array.array[array.length - 1] return array } I did this way, but it didn't work.

Jetpack Nav-Graph navigation to current fragment itself also having it in stack

Fragment Structure Fragment Stack I want so that on back press I load fragment with my old data state A->B->C->C Fragment Stack, nav graph created even