Latest Questions

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

Mutex does not work as I expect. What is my mistake?

I was trying to figure out the data race theme, and I made this code. Here we work with the shared element wnd. I thought that by putting lock in the while loop

Working with a multiindex dataframe, to get summation results over a boolean column, based on a condition from another column

We have a multiindex dataframe that looks like: date condition_1 condition_2 item1 0 2021-06-10 06:30:00+00:00

Endless generating dSYM in Fastlane

I develop iOS application and I use fastlane to distribute ad-hoc *.ipa. then I'd like to use integrate with CircleCI pipeline but I stuck in this step too long

How to make program (c#, selenium) wait to periodically check if the 'if' condition is met

I intend to increment the counter by 1 when the url changes and return the final count, eg 10 if url changes 10 times. The program has to wait until the user cl

How to handle the CSRF when implementing Google Identity Services popup code model?

On my site I have implemented Google Identity Services using a popup code model. To prevent CSRF attacks the docs say this: With Popup mode, you add a custom H

How to attach a string on php variable [duplicate]

I am trying to attach a string on php variable this is my code if ($tipy = "2"){ $username = "dr_" + $username; } and output to b

Cannot reassign variable inside observer viewmodel

So I created MVVM app in kotlin to fetch movies from TMDB api, using injections and coroutines. My problem is that I cannot copy the list of returned movies int

Solving multiple equations using R's caracas package

I have multiple equations that I want to solve using caracas. I define my equations using sympy$Eq, then try to solve the equations using sympy$solve. But this

How to read value of custom options from protobuf.js generated code?

Similar to the example at: https://developers.google.com/protocol-buffers/docs/proto#extensions Suppose I have a proto like: import "google/protobuf/descriptor.

switch wget from macOS to windows

I'm using the following script to check if a new file was uploaded to a specific adress on my Mac. gotta switch to a windows PC Any idea how to have the same fu