Latest Questions

REACT JS FIREBASE FIRESTORE- how can i update my field in a document?

here is my manageexam.jsx file this is where the update happen when i click the manage button on the table. i want to update a specific document id (3BelYq7lMxR

How Can I Run Commands in a Python Environment Over SSH from a Python Script?

I am currently working with Create2 Roombas. They are connected through serial to USB connections to Raspberry Pis that I control from my laptop through SSH. I

For a KivyMD BottomNavigation, is it possible to apply Material Design 3?

https://kivymd.readthedocs.io/en/latest/components/bottomnavigation I tried to apply material design 3 in KivyMD project. I ran the example code on the KivyMD

Why I get an error when including sdl image?

I set SDL2 and SDL_image 2 in Code::Blocks and now I get an error: "fatal error: SDL.h: No such file or directory" Can someone help, everything seems okay. My i

I'm trying to write tis code in spring boot way, how to write prepared statement in spring

I'm trying to write tis code in spring boot way, how to write prepared statement in spring public static TechInfo getTechInfo(final Connection ttdb, fi

Mongoose data Writing issue in Javascript

Just started with a javascript couple of days back. I am trying to use MongoDB with mongoose to write the data but it is not writing even though the connection

Lowering the clock frequency for my circuit in Vivado

I have a circuit like this module control(input clk, output out); reg [63:0] r0 = 1, r1 = 2, r2 = 3, r3 = 4, r4 = 5; always @ (posedge clk) begin

pod mysql mount azure files failed

wanna deploy a mysql in cluster, and pod need a persistent storage, here are yaml & pictures: The pod: apiVersion: v1 kind: Pod metadata: name: mypod spec

Github Action Unity Build Automation, cant run

Always got this result on running gitlab actions for building unity Show Image it is not that its error actually, just stopped on progress, i've tried on my dev

How to convert (aa)^* U (bb)^* to regex in python?

I am doing a textbook problem and I am trying to understand how regex works with Python. In python, I tried doing: "(aa)*|(bb)*" I seem to be accepting any stri

Nuxt 3 with Vuetify Icons

I am trying to get Vuetify 3 to work with Nuxt 3. I have a plugin for Vuetify: // plugins/vuetify.ts import { defineNuxtPlugin } from '#app' import { createVuet

How to access an element in a list in Proplog?

In prolog, how do I access an element in a list with an index? For example, I'm writing a rule get_i(List, I, X) where List is the list I'm passing in, I is the

Check if item is not in a Firebase document

I have a field in my Firestore documents that happens to be an array of user IDs, this field is called "tempID", I want to run a query that return all documents

Stream Analytics: Best parameters to choose for the autopause of a day wise TUMBLINGWINDOW stream job and best trigger time to set for that function

Context I have a daywise TUMBLINGWINDOW (similar to the one shown below) SELECT DATEADD(day, -1, System.Timestamp()) AS WindowStart System.Timestamp() A

Using LGSVL simulator, Do I have to use Apollo to use the ros2 bridge?

Using LGSVL simulator, I want use ROS1 Noetic or ROS2 Foxy. Do I have to use Apollo to use the ros2 bridge? At ROS1 Noetic, How to use rosbridge?(Autoware a.i.

Subscribing to firebase topic do not filter push message

Context I am developping an Angular web application using firebase messaging. I configured firebase successfully (I guess) and I now subscribe to a "users" topi

Earthquake simulation - finite elements method (Matlab)

do you know is there's a way to simulate a earthquake with the finite elements method using the Partial Differential Equation Toolbox on Matlab ? My goal is to

Correct understanding of T.() lambda

I'm having trouble understanding lambda. In particular, things like T.() -> R in the run() is more confusing. public inline fun <T, R> T.run(block: T.(

Make Form2 label text value change by combobox and update exactly when combobox was updated

In Form2 I set a public static string to form2text then I set label text value equal to form2text In Form1 under comboBox1_SelectedIndexChanged: Form2.form2text

Error: "ValueError: could not convert string to float: 'Private Sector/Self Employed' "

Output- "ValueError: could not convert string to float: 'Private Sector/Self Employed' ". I need help with this error as I get this error consistently import nu

Pycharm project not opening [closed]

I clicked opened pycharm and the 'Welcome to pycharm' screen opened this is the one I want to open ☝ but when I click it nothing happen

Flyout for autocomplete in WinUI 3 TextBox

Can anyone explain what the ProofingMenuFlyout is for in WinUI 3 on a TextBox? The documentation for it is bare with no example on how to use it. What I'm actua

manage Multiple back stacks when using bottom navigation and navigation component

I am using bottom navigation and I have 3 main fragment in it (fragment 1, 2 and 3 in image) and there is some other fragments that I manage them in navigation

Is it a bad practice to declare Completable.complete as variable?

In different places of my class I have to return Completable.complete. How bad will it be if I introduce variableCompletable someName = Completable.complete and

How the AudioManager receive productName for device? From sysfs? Where I can find example?

I want to know how AudioManager in AudioDeviceInfo receives the product name of the connected device.

is there a way to cluster tweets after vectorizing them?

I need to cluster tweets based on similarity between them, I am using dec2vec to vectorize them and now I need a way to cluster this vectors, also I tried kmean

Handle currency format in grid columns value

I'm trying to handle some currency values in my grid (us dollar, euro, etc.) I find a way to set it up into my grid, using grid column template for now I have t

Is it possible to iterate a list with index values in the Widget tree?

I have a List which is a list of image URLs, which I will then use to construct a series of Image widgets as part of a gallery. The images will be aligned next

AWS Cognito how to query for the JWT Token after receiving an authorization code

my application requires an authorization code grant flow integration with Cognito and the website responded to me that Auth-Code accordingly. https://<poolNa

button class with :focus does not show outline

I want to show that buttons have focus, especially when accessed by keyboard. I can tab to the buttons and Developer Tools shows that the button has focus. But,