Latest Questions

Upgrading laravel into 8 I got illuminate/support support?

I try to upgrade my laravel 8 as I read here https://laravel.com/docs/9.x/upgrade But after I applyid some changes in composer.json I got error : $ composer up

continuous center of user with Mapkit

Good afternoon, I am having trouble displaying a map where it only centers around the user and will stay on the user with movement. My error is in my view file

Head (next/head) throwing error in NextJS

I am trying to add head to a page in NextJS. As per the documentation I have used next/head to add <head>. However, the code block for using next/head is

Create rectangle from given words by some rules

i got this task to make, but i am completely lost. I don't know how to make this... Could you please give me some ideas? I started making it and only thing i ma

Getting out of a loop, but it needs to remain running?

I've made a circle move around (in a circle), but now my application won't move on to the other tasks as I got myself caught in a loop. How do I get out of this

Getting out of a loop, but it needs to remain running?

I've made a circle move around (in a circle), but now my application won't move on to the other tasks as I got myself caught in a loop. How do I get out of this

Android TextInputEditText default context menu, dismiss programmatically

I would like to as if there is a way to programmatically dismiss the context menu of android . The menu shows whenever I long press the TextInputEditText. "Cut"

I am trying to get data from my sql database to my react page, but my api returns an empty array

http://chucklets.no/getOnlineTime When I click this I can see the JSON and it looks fine. But when using fetch it API Node.js code: app.get('/getOnlineTime', (r

How can I plot a model, which is trained with a scaled dataset?

I have a major problem with XAI, Shap, Lime you name it in general. Here is a basic example for shap. My problem is that when I use a real tuned model, which is

How can I plot a model, which is trained with a scaled dataset?

I have a major problem with XAI, Shap, Lime you name it in general. Here is a basic example for shap. My problem is that when I use a real tuned model, which is

In javascript, why doesn't await return an error when a promise catches?

I like async/await but I don't understand why we have to wrap our await in a try/catch block to catch errors. Why not make it so await returns some type of sta

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

flask_sqlalchemy keeps trying to connect to localhost database instead of the remote one

I'm trying to use the flask_sqlalchemy library in order to connect to a PostgreSQL server on my remote Ubuntu machine, but my app keeps trying to connect to the

Force-Directed Graph, nodes are not moving and stuck in the center of the map

I have a force graph where my nodes are actually a "g" element with an appended circle and an appended text element. I am having trouble with my nodes as they d

flask_sqlalchemy keeps trying to connect to localhost database instead of the remote one

I'm trying to use the flask_sqlalchemy library in order to connect to a PostgreSQL server on my remote Ubuntu machine, but my app keeps trying to connect to the

VSCode C/C++ IntelliSense automatic opening brackets

I'm coding in VSCode and while it isn't really necessary, sometimes i would find it useful if auto completion would add an opening bracket when for example auto

VSCode C/C++ IntelliSense automatic opening brackets

I'm coding in VSCode and while it isn't really necessary, sometimes i would find it useful if auto completion would add an opening bracket when for example auto

What is the default scheduler in Project Reactor?

Is there a "default" scheduler in the Project Reactor? Which one is it? By "default" I mean the one used when no subscribeOn() nor publishOn() are called for th

What is the default scheduler in Project Reactor?

Is there a "default" scheduler in the Project Reactor? Which one is it? By "default" I mean the one used when no subscribeOn() nor publishOn() are called for th

Cast Complex JSON Dart

the dart code below allows you to decode a json that comes from a backend inside resultValue, I have the response of the rest call with the json shown below, wh

Version strings to "System.Version" too long (or short) in PowerShell

How can I force conversion to type System.Version in PowerShell, or more likely, better understand why I cannot arbitrarily assign number strings type System.Ve

subprocess.run produces different result if launched from Python, versus Matlab

I have a Python 3 class that creates input to send to a fortran program (xfoil). I am using subprocess.run to launch the fortran binary and send the command inp

How to use PdfStamper for Itext c#

I need help: I have the same problem as here: How to fill XFA form using iText? "This document enabled extended features. This document was changed since it was

How to uninstall Chained .msi packages

Recently we added a chained .msi package to our installshield code. This .msi package is created in WIX installer. When installing our product, this msi setup i

DateTime without time / only data? It is possible in Prisma?

I can in Prisma create columns without data, without time? my model at the moment: model modelName { id Int @id @default(autoincrement()) creat

non-static method openConnection() cannot be referenced from a static context [duplicate]

The problem appears in openConnection(). I've tried all solutions and they didn't work. Can someone save me and write the solution in details

Why is onReceive called multiple times?

I am running a worker in a glance composable on android. why is onReceive being continuously called in an infinite loop? What am I missing here? class MyWidget

Creating A Stored Procedure That Truncates A Table With Foreign Keys

I would like to make a stored procedure in SSMS that will truncate a table that has foreign keys. Here is what I have right now but when I pass a table with for

How to instantiate a prefab with AI pathfinder?

My problem is everytime I will instantiate the prefab with AI pathfinder, the spawning prefab is not moving. enter image description here