Latest Questions

The code signature version is no longer supported

An app signed with a codesign version provided on an older macOS, like Catalina (10.15) will not run on iOS 15 because the lastest version you can install is Xc

TypeScript failes to infer return type of constrained generic function in some cases, why is this happening?

I have this code, which works just fine in a simple case, meaning the "permissionList" const is type inferred, VSCode can suggest me the properties, such as "pe

The argument type 'double' can't be assigned to the parameter type 'VisualDensity?'

IconButton(//... visualDensity: VisualDensity.minimumDensity,), // The argument type 'double' can't be assigned to the parameter type 'VisualDensity?'. Why can'

Laravel - Method Illuminate\\Support\\Collection::makeHidden does not exist

I want to hide the columns password & OTP ,that is included in $uses result. Actually these 2 columns are part of the users table. I've tried like below. B

ClientAuthenticationException using MS Graph API and Java

I have an issue with sending mails using MS Graph API. Here`s my code: public GraphMailUtil(){ getConfiguration(); this.graphClient = configureG

Ambiguous because multiple kinds of members with this name exist in interface

this is the Interface: Namespace IBasBS100 Public Interface IBasBSMoedas <DispId(0)> <Obsolete("This method is obsolete. Use Actualiza(BasBE100.Bas

changes in java code do not appear, program runs from a shell script

I cloned a GitHub repository (https://github.com/tomergreenwald/tac-adx) and did some changes in the code. But if i run the application with the runServer scrip

np.histogram outputs?? - Python

Trying to understand what kind of output do I get from the histogram function. phase = mod(phase,Nper*2*pi) cl_phase = arange(0,Nper*2*pi+step,step) c,p = histo

Testing span appearance using testing library

I'm quite newbie for the testing library. I already find out how to test the span appearance with the element but seems there's no answer of it. I have an examp

Laravel pass view field input data to controller and then return calculated value in disabled field

So what i want to do is take values from user input, then do some calculation with it inside the controller with method and that method return value to be displ

Why does my return statement give undefined as the value when the console.log gives proper value?

I'm just trying to get the first object in the returned array from the database fetch and return the .class_name value of that object. In the getClassName(), th

Kafka streams change thread count based on replica count

I have a relatively simple setup where I'm running a dynamic number of instances of my stateless Kafka streams app based on my consumer group lag. This is achie

I/Counters: exceeded sample count in FrameTime log

I recently started to see this logs I/Counters: exceeded sample count in FrameTime multiple times in my app logcat, I understood it comes from Google Maps. Any

Value error trying to fit a logistic regression with SentenceTransformer output (embeddig)

My code: model = SentenceTransformer('hiiamsid/sentence_similarity_spanish_es') I apply the model to the text column of the data frame prueba['encoder'] = prueb

Efficient parallelization of two tasks

I have two tasks that take a fairly short time to compute (around half a second each). These two tasks (say A and B) are called repeatedly a large number of tim

Invalid classes inferred from unique values of `y`. Expected: [0 1 2 3 4 5], got [1 2 3 4 5 6]

I've trained dataset using XGB Classifier, but I got this error in local. It worked on Colab and also my friends don't have any problem with same code. I don't

activate 2 Edge windows with powershell

I'm trying to write a simple script which automatically cycles tabs on 2 different edge windows, I have it working on one window in the code below while(1 -eq 1

Unable to pass variable to downstream pipeline on GitLab CI

For over a week I've been fighting with passing a variables between jobs in multi-project pipeline in GitLab CI and got lots of weird errors. The mechanism look

How to change value in a Map Datatype

I have a dataframe having a column of type MapType<StringType, StringType>. |-- identity: map (nullable = true) | |-- key: string | |-- value: st

Grafana email alerts configuration

I'm using currently Grafana version: v7.1.1 I would like to configure the email alerts in the config folder of Grafana, I followed the steps I found online but

Blob version information in blob trigger

I currently work on a blobtrigger that gets triggered everytime a blob has been created, a new version of a blob has been uploaded (so a blob has changed) or an

How to write a custom FastAPI middleware class

I have read FastAPI's documentation about middlewares (specifically, the middleware tutorial, the CORS middleware section and the advanced middleware guide), bu

Pylance Intellisense not working as expected with Django

I'm trying to understand how to configure Pylance to make it work correctly in my Django project. Below is one of many examples where Pylance is not able to fin

jsdoc error ENOENT: no such file or directory, open './readme/readme.md'

I have already installed jsdoc with npm i -D jsdoc command and created jsdoc.json file. In package.json file there is script called doc and after doing npm run

What is wrong with code - Trying to batch agent with similar account ID?

I am trying to batch Sales Invoice per customer . My agents are Invoice. I am looping through each of the account and checking how many invoices are there for e

How do I print programatically on android without the prompt where you have to choose a printer?

I've been trying to find a solution to this issue all day but I haven't come across anything and android has no documentation related to this. Normally when you

how to add data to database in django

I send the data I get from websocket with javascript to the view.py section of python-django with var xhr = new XMLHttpRequest() ///. my question is; The data c

Render a react component in a new window

I am developing a Certificate Management System where after all the processes have been done, the user may print a certificate. I am struggling to implement suc

Make a method both static and instance [closed]

I have a class called Foo and a static method - Bar (Foo instance) - inside it. But instead of only being able to call it like Foo.Bar(new Foo

geopandas doesn't find point in polygon even though it should?

I have some lat/long coordinates and need to confirm if they are with the city of Atlanta, GA. I'm testing it out but it doesn't seem to work. I got a geojson f