Latest Questions

c# how to add Button to array and set text of all buttons

Hi my problem is i want to add buttons to array size: 65 and there is a problem here's my code: Button[] buttonsa = new Button[65]; for (int d = 0; d <= but

Error validating formula for calculated column

I'm trying to make up a calculated column that evaluates an existing column with a CASE statement. The following code works fine: CASE WHEN Technician_Produc

IndexedDB Database version change not triggering onupgradeneeded

I have a function that basically grabs a bunch of delivery jobs from the remote database and saves them to the indexeddb for offline backup. After each download

Convert Json file to a serializable string using python

I have a json file like below {"a": "a_value", "b": "b_value" } I would like to convert it to the below using python3 {\"a\": \"a_value\", \"b\": \"b_value\"}

Error when importing numpy in Pycharm and Spyder under MacOS Monterrey

I'm trying to set up Pycharm with python 3.9.10 under MacOS Monterrey, but when I try to import numpy I got the following error, the same happens with Spyder. I

Print object key/values in a csv format

I'm trying to print a object in comma seperated strings format. but I'm unable to understand how to concat keys for objects. Here is an example. let obj = {

Foreach for Categories

i have this data, I want to loop with categories for each question. Right now all I can do is loop by displaying sequentially for each question (as in the image

Express routes working with url params but not with specific sub routes

I'm building an API for my web app and I was able to successfully send requests to the routes in Post.js when they only had url params. But when I try to create

Exception has occurred: ValueError too many values to unpack (expected 3) when attempting to unpack an array

I'm trying to speed up keypoint detection by pre-generating the keypoints of the objects I want to detect before passing them into FLANN for detection. I'm gett

Strapi V4 how to modify data response for a component (dynamic zone)

Imagine a case where an editor adds a “Latest Products” component to a page using dynamic zone: they add a title, a summary, and then the latest pro

oracle insert o into timestamp column

I am having a csv file which contains 0 in timestamp column in source , when it is being inserted into oracle through informatica it is populated as NULL values

How to call the same angular component multiple times using querySelector

So I have a component called custom-modal.component. The HTML file looks like this: <dialog id="custom-modal"> <ng-content></ng-content> <

How do I set Authorization Header for my HttpClient across all pages?

After contacting API in a login page with a successful login, I receive a JWT. And I want to set the AuthorizationHeader ONCE to use across all pages when navig

Background Image is not showing from a figma design

below is a figma desing im trying to convert to a react component , the issue that i have is the blue background (which is an image) is not displaying , please

How to handle multiple api calls in flutter

I'm trying to call multiple api's but i can't really figure out how to format the results in json for both endpoints. Future<List<dynamic>> fetchM

WinUI HyperlinkButton is not displayed underlined

I am using the WinUI technology. I would like to display a HyperlinkButton in my XAML. The problem is that the HyperlinkButton is not displayed underlined. But

print the distribution in python using dashes

Here's my code right now. So I would like to visualize a normal distribution graph in python only using these dashes (no import) I am not sure how I should conv

How to get generic types of subclass in Python

I have a generic parent class and a child class that implements the parent with a specific type: T = TypeVar("T") class Parent(ABC, Generic[T]): def get_im

Calculating image of a Set in Clojure includes nil value?

(defn image-of "computes the image of the element x under R" [R x] (set (for [r R] (when (= (first r) x) (second r))))) Func

I can not subscribe on mergeMap observable in angular 13

I want to implement a connexion senario based on Roles in angular. When the user click on CONNEXION button after filling in the form ( username - password), two

Old spreadsheets have wrong time and timezone .getValue() from cell

Problem: wrong time and timezone .getValue() from cell with format timeThe bug occurs in old spreadsheets from 2017, but not a spreadsheet from 2022 january or

ValueError: Input 0 of layer lstm_14 is incompatible with the layer: expected ndim=3, found ndim=4. Full shape received: [None, 12, 12, 64]

I am using CNN-LSTM network for image classification. My image size is (224, 224, 3) and batch size is 90. I m getting this error when i passing input to LSTM l

How to fill in row value based on previous and subsequent rows in pandas

I have the following data. There are consecutive runs of True per day, however sometimes there's the odd False for a day followed by True. Due to the nature of

Android project can't find net.sourceforge.jtds.jdbc.Driver

I want to connect database to android project using android studio and sql server management studio. I add dependencie in build.gradle, but when I try to login

HTTPS for Golang API

I am new to Golang and I did set up a "hello world!" test message for a Golang API on our VPS. It works just fine at http://www.example.com:8080/hello. I would

Problems with the type of cloud DB HMS

I have a problem with the Cloud DB Message:{"defaultName":"AGCError","name":"database-server","errorCode":{"code":"2052","message":"the input object is invalid.

Problem with a recyclerview adapter in android?

I am working on a game called Space Mines. I am trying to get a list of planets on the screen, but am having trouble and do not know why. I try to debug the app

How do you select a range of indexes in a dask dataframe?

this documentation says that iloc is inefficient to select rows in the dask dataframe, but there must be some other way to select a range of rows.

Text not updating when variable updates in SwiftUI (Swift 5, Xcode 13)

I have this variable, timeRemaining and when a button is pressed it should subtract one from timeRemaining. I want the Text to update whenever the user clicks t

Setup failed..0x80070643-Fatal error during installation

I'm trying to install python.. but it shows an error like.. Setup failed One or more issues caused the setup to fail. Please fix the issues and then retry setup