Latest Questions

bundle.js TypeError: Cannot read propertied of undefined (reading PriceIndexationDataControlStandard)

I am developing a React component via Microsoft PCF Framework and I have encountered a very strange error out of nowhere. I was changing only typescript, not ev

How can I make the annotation follow the rotation or random crop of the photo in Python?

I want to make datasets of my images for an object detection model. However, I want to try to use random crop and rotating the images to make more datasets but

SDL2 make pixel array into texture

I trying to render a special image which is just a bunch of pixels with no format. It is a sort of a raw image with 42x 42 pixels. The images are palettes so I

CSRF throwing 403 only in cloud

The Configuration for CSRF works locally just as it should, however once it is deployed in a Cloud System i get a 403 for the Post requests. These are the essen

How to make a non-observable class's methods available to SwiftUI views?

I have a pretty complicated UI so I broke my view models into multiple observable object classes that manage each part of the UI. The 2 view model instances are

How do I fix the "The given key was not present in the dictionary"?

I am running a MySql 8 DB and using Visual Studio 2017. Here is my VB code. Try With prm .Direction = ParameterDirection.Input .MySqlDbType

Dividing a large file into smaller ones for training

I have a very large file and I want to divide it into smaller ones for training. I've read about pickle files, so I split the large file into training-validatio

SOAP Faults <detail> in http response not visible

I have one issue. I've generated a WS server from a wsdl and i'm am trying to understand the exceptions handiling. Basically in the WSDL is defined a custom exc

Android firebase dynamic link opens browser before launching the app

I've been using firebase dynamic links for my app and recently encountered the issue where when clicking on the link, instead of opening a choice view for what

What is the endian order of the host machine/device?

Actually the initial question was: "What exactly the kCGBitmapByteOrderDefault is?" Because sometimes CGImageGetByteOrderInfo(CGImageRef image) returns kCGBitma

Integrate google ads in google sheets using apps script

Really sorry if this is the basic question. I have been searching for two days to find the documentation/sample function to use in apps script that fetches goog

Add a button with functionality in c++ using Visual Studio

I am a newbie to c++ and the IDE I am using is Visual Studio '22. I have written a code to detect a face (eyes and mouth too) and save the roi to a folder on th

Are string literals immutable

I am following the Rust book to learn Rust and currently learning about ownership. Here it mentions, We’ve already seen string literals, where a string v

Defining an atomic<> as a static variable inside a function

C++11 mandates that static variables inside a function are atomically initialized for the first run of the function. The only way to do that efficiently is doub

rm is not working and outputs mv: illegal option -- b

I'm using Monterey and ohmyzsh in iterm2 and rm -rf (nor -Rf) is not working and outputs mv: illegal option -- b. What is a good cli way to do this? Edit: I hav

How to get AppSetting values in startup by using services in asp.net core?

I want to get value of appsetting inside StartUp and also using services for saving them. I create a static IServiceCollection method for AddTransient my custom

how to use single child scroll view properly

I used the Single child scroll view on my homepage which is I'm Implementing. but seems like it's not working. my page is not scrolling. Is there any other way

Branch Instruction Inline ARM Assembly Causes Seg Fault [duplicate]

I wrote the following code based of off Confusion about different clobber description for arm inline assembly and it works fine: #include <

Flutter Amplify - Cannot run appsync code gen for existing api

I have an existing AppSync API that I need to use in a new flutter app. After initializing amplify in my project, i run the command "amplify add codegen --apiI

HTTP Response Error - Firebase + Node JS 16

I've reduced my code to the bare minimum to troubleshoot why I receive a response error when I put a HTTP request in. I first receive a status 200 message upon

Issue with mounting Google drive with colab

Following code worked fine for mounting google drive with colab until yesterday. But it is not working today ( January 20). It shows the error shown below. Any

How to run a compare though multiple sheets?

I'm trying to run a compare though multiple sheets. I get Runtime error 9 subscript out of range Sub Comp_TEST() Dim ar As Variant Dim var() Dim i As Long Dim

How to repeat event for every 2 weeks on multi selection days upto 3 Occurances (times)

I want to repeat the event for every 2 weeks on multi selection days and that event will be repeat upto 3 occurances(times) from start date. tried below code. p

Excel Custom Function return WebImage not showing

I am trying Excel.WebImageCellValue interface in Excel Script Lab. Here is my test code /** * show image * @customfunction * @param {string} imagePath * @re

Getting error trying to use TinyMCE cloud in my Angular 13 app - Module 'tinymce' has no exported member 'RawEditorSettings'

I have created a new angular app and have installed these: npm install --save @tinymce/tinymce-angular npm install --save @types/tinymce I've included the Edito

Yup validation for nested form elements in formik

I have a nested Formik form which has checkbox in every new set of form fields added. I am trying to add validation in Yup to achieve: Atleast one checkbox to b

Attempt to recreate AWS Demo ends up recreating error within demo

I started following the demo at https://youtu.be/NLN-q47uPo0 and ran into the (almost) identical error shown at https://youtu.be/NLN-q47uPo0?t=2880 . Anyone kno

How to get session id in static method while making callout

I am working on something which includes LWC with tooling API. I wrote this below method which makes a callout. but when I call this method this method from lwc

Disclosure group open/close animation

I'm trying to animate the opening and closing of a disclosure group. I've tried several attempts without being able to get any sort of animation. This code synt