Latest Questions

XML file option not visible in select wizard

I have created a Java project in eclipse. Under that I have created a source folder naming "Resources". I want to create an XML file under that Resources folder

How do you add windowSoftInputMode to one item

I want to add android:windowSoftInputMode="adjustPan" only to recycler view. When I add it into the manifest file it adds it to everything which I don't want. W

error handling javascript (paypal sandbox platform)

I am trying to build a PayPal sandbox platform with JavaScript, but unfortunately I did not find any working (at least for me) content from PayPal for setting u

Data Grid and Angular

we are evaluating to migrate an windows app to Angular/SPA. The future app will be develop to be use on desktop because we need a lot of data inserted by keyboa

Object changes in child class widget traverse back to parent class widget where it was initialized

I am working on cart item in Flutter application. Right now I am working on editing cart item. The structure of my code is such that each cart item is a Statefu

How to realize a prompt dialog box when load a large file or other things using Qt?

I need to load a large file to parse and draw with OpenGL. The whole process is very time-consuming. So I want to realize a prompt dialog box before parse. But

How to do cartesian product with TypeScript?

Here's the type signature that I'm after: function cartesianProduct<T1, T2, T3, T4, T5, T6, T7, T8>([c1, c2, c3, c4, c5, c6, c7, c8]: [T1[], T2[], T3[], T

How can I use node.js to read multiple line from txt file and then perform calculation on it?

I have got a .txt files with few lines that contains numbers, such as 25 26 25 30 12 14 63 16 29 02 22 23 and I need to add all the numbers in the line, so the

Response with cached data, and how to refresh the cache form database, for a api application

Hi could someone guide me in the following problem, there must be tons of guides on this problem but for some reason I can't get google to find a nice how to, t

Flutter: when swipe - background hang off?

I have got a app with a tabbar and when I swipe from one tap to another, the background is hanging. On page two is the background the UI from page one??? I wrap

Testflight app review - probleme with two-factor authentication

I submitted my IOS app to TestFlight beta testing.. The application requires login with apple id account. but the review team rejected the version with reason:

CURL 403 Forbidden Error but working good in POST man request

Issue: Curl command not giving response with 200 status but If I send request from postman its working fine Here I have shared the CURL command. Any suggestion

How to traverse through azure subscriptions?

In the code below, I want to show blob properties by traversing through azure subscriptions. But I'm facing an error 'SUBSCRIPTION' object is not subscriptable.

How to retrieve data from previous 4 weeks (mySQL)

I am trying to write a query to get the last 4 weeks (Mon-Sun) of data. I want every week of data to be stored with an individual and shared table. every week d

How to make a C console app wait before exiting?

It seems that I can't find any solution to this problem, so I'm asking you. C doesn't support iostream and Console.Readkey unless i did something wrong, so plea

Testing new element shown when user scrolls (onWheel) RTL

Was trying to perform a unit test where if a user scrolls on a specific container, new information is shown as seen in the code below. test("'Confirm Design Te

How are you handling theme updates across multiple Shiny apps?

I have a general shiny question, rather than a specific call to help with code. I've just finished creating a branded shiny template using a mix of fresh and so

How can I use tsx in Vue Compostion setup function?

When I write tsx in @vue/composition-api setup(){}, just like <script lang="tsx"> import { defineComponent,} from '@vue/composition-api'; export defineC

np.max() error: TypeError: only integer scalar arrays can be converted to a scalar index

I'm trying to get the np.max() function to work like a relu() function but keep getting this error: >>>np.max(0, np.arange(-5, 5)) -------------------

Song doesn't play on queue

This is error TypeError: on_wavelink_track_end() missing 1 required positional argument: 'player' This is wavelink track end code @bot.event async def on_wave

how does $: in Svelte works

was reading a svelte tutorial, it's mentioned that $: this is regular in JavaScript, but don't understand it. let count = 0; $: doubled = count * 2; how would

How to automatically make an axis with a gradation from 1 to max(n) when using facet_wrap ggplot2

I have a data.frame(tt) with 3 columns: nazvReki - grouping variable (18 values); rang - axis X (443 entries from 1 to 70. It takes values from 1 to 70, but for

How to split string from a QR Code and inserting them into a login and password text form field

I'm trying to create a scanner that can insert string from a QR code. I've been researching to no avail. I managed to create a simple scanner that can setstate

Is it possible to reduce AzureDiagnostics logs (Log Analytics)?

Looking for a way to reduce AzureDiagnostics table in Azure Log Analytics. Is it possible to reduce log collecting time? For example, get CPU or Disk stats ever

Angular Testing and required input type="file" form validation

I have a case where I use NgForm validation on an input[type="file]. The code works fine in a real case scenario (browser usage). However on the testing part it

How to use xUnit for MAUI projects for platform specific code?

I am having MAUI project and platform specific code for Android and Windows. When I reference the MAUI project to xUnit project in Visual Studio 2022 Preview, i

Your server might not be configured to send mail using this method

I want to verify email when users register. I am using codeigniter3. When I run on the localhost I do not receive any mail. I get this message " Unable to send

Plot with circlize

I work with library circlize and I made plot. Below you can see code library(circlize) random_values<-c(500:100) random_sample<-sample(random_values,15)

for one member of list or tuple, why typeerror is given?

if x = [1,2] then print(x[0]) gives 1 but, when x = [1] or x = (1) then print(x[0]) gives int object is not subscriptable. I actually want to know why it gives

why do I get navigation.dangerouslyGetState isn't a function. when I change from createStackNavigator to createSharedElementStackNavigator

I have nested stack navigator inside tab navigator. but I get the above error when I change createStackNavigator to createSharedElementStackNavigator