Latest Questions

"npx react-native run-ios" is picking non existing simulator

As per https://reactnative.dev/docs/environment-setup, I'm trying to run sample project on iOS simulator When I ran command npx react-native run-ios getting err

why i have to refresh/rewrite my code to make it work while trying to save the state for a specific user in react native

I am trying to make a test sheet for user. If he passes the test, he is directed to a pass screen and even after totally closing the app, when that specific use

The code works but not for all of the inputs

I have an assignment in recursion. The problem: A game board is defined by a list. Each list index, (0: n-1) is a row in the board, and the int value in each li

Python - a custom range where after add +1 to max then return minimum

I wonder if there is any function in python like that. Example 01: For example, if I specify the range from (1,12) integer. Then: if current value is 12 and I a

jetpack compose: scroll to bottom listener (end of list)

I am wondering if it is possible to get observer inside a @Compose function when the bottom of the list is reached (similar to recyclerView.canScrollVertically(

How do I make a .NET Core 6 Top-Level statement template async?

I'm follwoing this guide: https://docs.microsoft.com/en-us/dotnet/core/extensions/configuration and I don't understand how to make my application work as an asy

How to purge any persisted state using react tool kit with redux-persist

In the official documentation it says to add an extra reducer in order to purge the state of the current slice, however there is no a clear example everywhere i

Issues with IPython magics [TerminalIPythonApp] WARNING unrecognised alias

I recently got my code to function and was so proud of myself for figuring out the challenges experienced then. However, I reviewed some stuff in connecting wit

Excel Time Conditional Formatting

I have exported a csv list with start tine and end time. After that I have created a new column with the duration differences. How can I make the cell red for &

Telegram Web Bots data validation in JavaScript

I've tried to do user verification script for telegram web app for bots. I have no idea how to fix it. import sha256 from 'js-sha256' const telegram = window.T

Pytorch: Finetuning the inputs to a non-pytorch model

I want to finetune the inputs to a XGBClassifier model using pytorch. I have an XGB classifier model which takes in a vector comprised of floats and integer val

Monad Transformer with recursion

when I want to load a bmp file I do this with: loadBMP :: String -> IO Picture If it isn't certain if the given path exists one could do something as follow

SpringBoot Sleuth/Zipkin Tracing: Issue adding a client, for Zipkin Server

Small question regarding a Java 11 + SpringBoot 2.6.7 web application, in the context of Zipkin please. I have a very simple micro services architecture SpringB

Shiny Apps, ioslides (or just Rmarkdown), and Github

I have an ioslides/rmarkdown file with an embedded Shiny app. I was hoping to put this presentation on my github account but when I do the app stops running.

How to add a PuLP constraint that involves two variables that are subject to be optimized

I am a newbie with PuLP and trying to solve a potentially trivial problem. I have some projects that required employees with a certain skillset per project, def

Tensorflow migration problem regardless defining the operations tensorflow.python.framework.ops

I am running a model from github and I already encountered several errors with pathing etc. After fixing this, I think the main error for now is tensorflow. Thi

How to use BootstrapVue's layout and grid system to arrange these checkboxes?

I have a BootstrapVue table like this; Here's the code for the table; window.onload = () => { new Vue({ el: '#app', computed: { visibleField

Sort according to two columns and extract top two based on last column

I have a file with three columns. I would like to extract rows with top two values in column 3 for each unique value in column 2. cat file.list run1/xx2/x2c1.tx

EvoPdf.HtmlToPdf isn't rendering foreign languages (Hindi, Bengali)

I'm using EvoPdf.HtmlToPdf with paid license, however, I have noticed that when I'm converting HTML to PDF and downloading, some languages like Hindi, Bengali a

Azure Synapse: Upload directory of py files in Spark job reference files

I am trying to pass a whole directory of python files that are referenced in the main python file in Azure Synapse Spark Job Definition but the files are not ap

Npm install error. 'npm ERR! gyp ERR! find Python, stack Error'

Whenever I try to run npm install or npm update in my nuxt.js(vue.js) project, error below appears. npm ERR! code 1 npm ERR! path /Users/kyeolhan/ForWork/BackOf

How to convert value of optional type Binding<T?>? to Binding<T?> in SwiftUI?

I have an init like so: @Binding var height: Double? init(height: Binding<Double?>? = nil) { self._height = height } I am getting an error: Value of

How to use this keyword inside eval in javascript?

Having this: const person = { name: "James Smith", hello: function (x) { console.log(this.name + " says hello " + x); } } function newContext() { t

How can I get instagram Direct Messages

I was working on Facebook Graph api and created a website on react that sends and receives messages from my business page which is connected it to my business a

How can I make the text and image be on the same level?

I am trying to make the text and image be on the same level but when I add the text the image moves, I am unsure on how to fix it and looking for help. I though

TFS Form fields not working in Visual Studio 2019 but work on web

I will start by saying that I am not a developer, I use Visual Studio only for TFS as a means of contributing to Work Items in our project (I am a product owner

microsoft.insights/components/ProactiveDetectionConfigs in arm template force to multiple deploy

I'm deploying an ARM template that take care of creating an app service plan. I've exported the template from the existing plan and parametrized for our needs.

Azure Automation power shell

I am running the power shell script below in Azure Automation runbook , the script goes to on prem file share and rename file names replace strings. Script runs

AWS MediaConvert - HLS only-audio stream

I'm struggling a long time now for setting up the following AWS MediaConvert job and I hope I can get some help. I want to create an HLS stream without any vide

Set Java/JRE default settings which can be overridden by JAVA_TOOL_OPTIONS

I have multiple java spring boot services, which are running in docker containers and are configured via docker-compose. Each of those services need several jav